/* 안내 글(lockscreen.html) 전용 — 한 열 글 + 번호 걸음 + 접는 질문.
   색·둥글기는 site.css 변수만 쓴다. 글자 크기는 13 · 15 · 16 · 20 · 제목 다섯 가지. */

.gd { max-width: 720px; margin-inline: auto; padding: 32px 24px 96px; }

/* 머리 — 넓으면 글 왼쪽, 폰 오른쪽 */
.gd-head { display: grid; gap: 32px; align-items: center; margin-bottom: 48px; }
.gd-eyebrow { font-size: 15px; margin-bottom: 8px; }
.gd h1 {
  margin: 0 0 16px; font-size: clamp(28px, 6.4vw, 40px); font-weight: 700;
  line-height: 1.25; letter-spacing: -0.03em; text-wrap: balance;
}
.gd-lead { margin: 0 0 12px; font-size: 16px; line-height: 1.7; color: var(--sub); max-width: 26em; }
.gd-meta { margin: 0; font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; }

/* 폰 그림 — 실제 잠금화면 그림 위에 시계만 얹는다 */
.gd-phone { margin: 0; justify-self: center; text-align: center; }
.gd-phone-f {
  position: relative; width: 208px; aspect-ratio: 1179 / 2556; margin-inline: auto;
  padding: 6px; border-radius: 34px; background: #0b0c10; box-shadow: var(--shadow);
}
.gd-phone-f img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.gd-clock { position: absolute; inset: 9% 0 auto; color: #fff; line-height: 1.1; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35); }
.gd-clock span { display: block; font-size: 10px; font-weight: 500; opacity: 0.85; }
.gd-clock b { display: block; font-size: 44px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.gd-phone figcaption { margin-top: 12px; font-size: 13px; color: var(--sub); }

/* 구역 */
.gd-sec { margin-top: 48px; }
.gd-sec h2 { margin: 0 0 16px; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
.gd-sec p { margin: 0 0 8px; }

/* 시작하기 전에 — 테두리 없이 옅은 바탕 한 장 */
.gd-pre { padding: 20px; background: var(--panel2); border-radius: var(--r-panel); }
.gd-pre ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.gd-pre li b { display: block; font-weight: 600; }
.gd-pre li span { display: block; font-size: 15px; color: var(--sub); }

/* 번호 걸음 — 걸음 사이는 가는 줄 하나 */
.gd-steps { margin: 0; padding: 0; list-style: none; counter-reset: gd; }
.gd-steps > li {
  counter-increment: gd; position: relative;
  padding: 20px 0 20px 44px; border-top: 1px solid var(--line2);
}
.gd-steps > li:first-child { border-top: 0; padding-top: 4px; }
.gd-steps > li::before {
  content: counter(gd); position: absolute; left: 0; top: 20px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent);
  font-size: 15px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums;
}
.gd-steps > li:first-child::before { top: 4px; }
.gd-steps h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; line-height: 28px; }
.gd-steps p { margin: 0 0 4px; font-size: 15px; color: var(--sub); }
.gd-steps p.gd-path { color: var(--ink); font-weight: 500; }
.gd-only {
  display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: var(--r-tick);
  background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; line-height: 1.5; vertical-align: 2px;
}
/* 아이폰 왼쪽 위 '◀ loglog' 자리 표시 */
.gd-back {
  display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: var(--r-tick);
  background: var(--panel2); color: var(--ink); font-weight: 600; white-space: nowrap;
}
.gd-back svg { width: 6px; height: 9px; fill: currentColor; }

/* 접는 질문 */
.gd-faq details { border-top: 1px solid var(--line2); }
.gd-faq details:last-child { border-bottom: 1px solid var(--line2); }
.gd-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; cursor: pointer; list-style: none; font-weight: 600;
}
.gd-faq summary::-webkit-details-marker { display: none; }
.gd-faq summary::after {
  content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px;
  border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint);
  transform: rotate(45deg); transition: transform 0.15s ease;
}
.gd-faq details[open] summary::after { transform: rotate(-135deg); }
.gd-faq summary:hover { color: var(--accent); }
.gd-faq .gd-a { padding: 0 0 20px; font-size: 15px; }
.gd-faq .gd-a ul { margin: 0; padding-left: 20px; }
.gd-faq .gd-a li { padding-block: 2px; }

/* 맺음 */
.gd-end { margin-top: 40px; }
.gd-end p { margin: 0 0 8px; }
.gd-contact { margin: 0 0 24px; padding: 0; list-style: none; font-size: 15px; color: var(--sub); }
.gd-contact li { padding-block: 2px; }
.gd-contact .link { white-space: nowrap; }

/* 앱 화면 캡처 — 가는 줄 하나로 바탕과 가른다 */
.gd-shot, .gd-mini { margin: 12px 0; }
.gd-shot img { width: min(100%, 360px); border: 1px solid var(--line); border-radius: var(--r-panel); background: #fff; }
.gd-mini figcaption { margin-top: 6px; font-size: 13px; color: var(--sub); }

/* 간단히 그린 그림 — 앱 안 자동화 안내 그림과 같은 방식(옅은 바탕 + 흰 줄) */
.gd-mini-b { width: min(100%, 360px); padding: 16px; display: grid; gap: 8px; background: var(--panel2); border-radius: var(--r-panel); }
.gd-steps .gd-mini-q, .gd-mini-q { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: var(--ink); }
.gd-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 8px 14px; background: var(--panel); border-radius: var(--r-ctl);
  font-size: 15px; color: var(--sub);
}
.gd-row.on { color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 2px var(--accent); }
.gd-ok { flex: none; width: 14px; height: 8px; margin-top: -4px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.gd-mini-btn {
  margin-top: 4px; min-height: 44px; display: grid; place-items: center; border-radius: var(--r-ctl);
  background: var(--accent); color: var(--on-accent); font-size: 15px; font-weight: 600;
}
.gd-tok { padding: 2px 8px; border-radius: var(--r-tick); background: var(--accent-soft); color: var(--accent); font-weight: 600; }

/* 배경 종류 — 되는 것 하나만 색, 나머지는 줄을 그어 둔다 */
.gd-pre .gd-kinds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.gd-kinds li { padding: 4px 10px; border-radius: var(--r-tick); background: var(--panel); font-size: 13px; color: var(--sub); text-decoration: line-through; }
.gd-kinds li.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; text-decoration: none; }

.gd-open { margin: 0 0 20px; font-size: 15px; color: var(--sub); }
.gd-open b { color: var(--ink); font-weight: 600; }

@media (max-width: 759px) {
  /* 좁은 화면 — 그림은 번호 들여쓰기 밖으로 빼 폭을 다 쓴다 */
  .gd-steps .gd-shot, .gd-steps .gd-mini { margin-left: -44px; }
  .gd-shot img, .gd-mini-b { width: 100%; }
}

@media (min-width: 760px) {
  .gd { padding-top: 56px; }
  .gd-head { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; }
}
