/* 동행ON 사용 설명서 (guide-guardian.html · guide-manager.html) — 홈페이지(landing.css)와 같은 글꼴·색 위에 얹는다 (2026-11-19).
   넓은 화면: 왼쪽 고정 차례 + 오른쪽 장(章). 화면 하나 = 휴대폰 틀에 넣은 그림 + 설명 카드. */

/* 첫머리 */
.guide .g-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); position: relative; overflow: hidden;
  background: radial-gradient(55% 80% at 92% 0%, rgba(185,166,238,.36), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(233,137,107,.16), transparent 70%), linear-gradient(180deg, #F7F3FE, #fff);
  border-bottom: 1px solid var(--line); }
.guide .g-hero h1 { margin: 18px 0 0; font-size: clamp(36px, 5.6vw, 64px); line-height: 1.1; letter-spacing: -.045em; font-weight: 800; }
.guide .g-hero h1 .serif { font-weight: 700; color: var(--pri); }
.g-switch { display: inline-flex; gap: 4px; margin-top: 28px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px -16px rgba(30,20,70,.4); }
.g-switch a { padding: 9px 20px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.g-switch a:hover { color: var(--pri); }
.g-switch a[aria-current="page"] { background: var(--pri); color: #fff; }
.g-intro { max-width: 46em; margin-top: 28px; display: grid; gap: 10px; font-size: clamp(16px, 1.6vw, 18px); line-height: 1.8; color: var(--ink-2); }
.g-intro p { margin: 0; }
.g-intro strong { color: var(--ink); }
.guide .g-intro .note, .guide .note { margin: 6px 0 0; padding: 14px 18px 14px 16px; border-radius: 14px; border-left: 4px solid var(--warm);
  background: #FFF6F1; color: #6A3523; font-size: 15.5px; line-height: 1.7; }
.guide .note strong { color: #5A2A18; }

/* 본문 틀 */
.g-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-top: 48px; padding-bottom: 80px; align-items: start; }
@media (max-width: 960px) { .g-body { grid-template-columns: 1fr; gap: 36px; padding-top: 28px; } }
.g-aside { position: sticky; top: 88px; display: grid; gap: 16px; }
@media (max-width: 960px) { .g-aside { position: static; } }
.guide .toc { border: 0; padding: 0; background: none; margin: 0; }
.guide .toc h2 { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--muted); }
.guide .toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t -1; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.guide .toc li { counter-increment: t; }
.guide .toc a { display: flex; gap: 10px; padding: 7px 12px; margin-left: -1px; border-left: 2px solid transparent; font-size: 15px; line-height: 1.45; color: var(--ink-2); transition: color .15s, border-color .15s; }
.guide .toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--serif); font-weight: 700; font-size: 13px; color: #A89ECB; padding-top: 1px; font-variant-numeric: tabular-nums; }
.guide .toc li:last-child a::before { content: "?"; }
.guide .toc a:hover { color: var(--pri); }
.guide .toc a[aria-current="true"] { color: var(--pri-h); font-weight: 700; border-left-color: var(--pri); }
.guide .toc a[aria-current="true"]::before { color: var(--pri); }
@media (max-width: 960px) {
  .guide .toc { padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
  .guide .toc ol { border-left: 0; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
  .guide .toc a { border-left: 0; padding: 6px 0; }
}
.g-other { display: inline-flex; gap: 6px; align-items: center; font-size: 14.5px; font-weight: 700; color: var(--pri); padding-left: 12px; }
.g-other:hover span { transform: translateX(3px); }
.g-other span { transition: transform .2s; }
@media (max-width: 960px) { .g-other { padding-left: 4px; } }

/* 장 */
.guide section.chapter { padding: 48px 0 8px; scroll-margin-top: 80px; }
.guide section.chapter:first-of-type { padding-top: 0; }
.guide .chapter > h2 { display: flex; align-items: center; gap: 16px; margin: 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.25; letter-spacing: -.035em; }
.guide .chapter > h2 .no { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-family: var(--serif); font-weight: 800; font-size: 26px; color: #fff;
  background: linear-gradient(140deg, #8A72CC, #5B449A); box-shadow: 0 10px 22px -10px rgba(91,68,154,.8); }
.guide .chapter > p.lead { margin: 12px 0 0 68px; max-width: 40em; font-size: 16.5px; line-height: 1.75; color: var(--ink-2); }
@media (max-width: 600px) { .guide .chapter > p.lead { margin-left: 0; } .guide .chapter > h2 .no { width: 44px; height: 44px; font-size: 22px; border-radius: 14px; } }

/* 화면 하나 */
.guide .step { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; margin-top: 24px; padding: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 50px -40px rgba(30,20,70,.35); }
.guide .step.text-only { grid-template-columns: 1fr; background: var(--soft); box-shadow: none; }
@media (max-width: 720px) { .guide .step { grid-template-columns: 1fr; padding: 20px; gap: 18px; } }
.guide .step figure { margin: 0; }
.guide .step figure img { display: block; width: 100%; max-width: 250px; height: auto; margin: 0 auto; border-radius: 30px; border: 7px solid var(--ink); background: #fff;
  box-shadow: 0 24px 44px -22px rgba(30,20,70,.55); }
@media (max-width: 720px) { .guide .step figure img { max-width: 240px; } }
.guide .step figcaption { margin-top: 12px; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .01em; }
.guide .step .text { min-width: 0; display: grid; gap: 12px; align-content: start; padding-top: 4px; }
.guide .step h3 { margin: 0; font-size: clamp(20px, 2.2vw, 24px); font-weight: 800; letter-spacing: -.03em; line-height: 1.35; }
.guide .step p { margin: 0; font-size: 16.5px; line-height: 1.75; color: var(--ink-2); }
.guide .step strong { color: var(--ink); }
.guide .step ul, .guide .step ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.guide .step li { position: relative; padding-left: 34px; font-size: 16.5px; line-height: 1.75; color: var(--ink-2); }
.guide .step ol { counter-reset: s; }
.guide .step ol > li { counter-increment: s; }
.guide .step ol > li::before { content: counter(s); position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font: 800 13px/1 var(--font); color: var(--pri-h); background: var(--pri-soft); }
.guide .step ul > li::before { content: ""; position: absolute; left: 8px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--pri-line); box-shadow: 0 0 0 3px var(--pri-soft); }
.guide .btn-name { display: inline-block; padding: 1px 9px; border-radius: 8px; font-weight: 700; font-size: .94em; color: var(--pri-h); background: var(--pri-soft); border: 1px solid var(--pri-line); white-space: nowrap; }
.guide .tip { position: relative; margin-top: 4px; padding: 14px 16px 14px 44px; border-radius: 14px; background: var(--soft); font-size: 15px !important; line-height: 1.7 !important; color: var(--ink-2); }
.guide .tip::before { content: "TIP"; position: absolute; left: 12px; top: 15px; font: 800 10.5px/1 var(--font); letter-spacing: .08em; color: var(--warm-ink); }
.guide .step.text-only .tip { background: #fff; }

/* 자주 묻는 질문 (landing.css 의 .faq 모양을 그대로 쓰고 간격만) */
.guide section.chapter.faq { margin-top: 24px; border-top: 0; }
.guide .chapter.faq > h2 { margin-bottom: 20px; }
.guide .chapter.faq details:first-of-type { border-top: 1px solid var(--ink); }

.g-foot { margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* 홈페이지 첫 화면의 "사용 설명서" 구역 */
.guides-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
@media (max-width: 820px) { .guides-grid { grid-template-columns: 1fr; } }
.gcard { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 20px; align-items: end; padding: 30px 30px 0; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line); background: linear-gradient(160deg, #F6F2FE, #fff 70%); transition: transform .25s, box-shadow .25s; }
.gcard.mgr { background: linear-gradient(160deg, #FFF5F0, #fff 70%); }
.gcard:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(30,20,70,.4); }
.gcard .gc-txt { padding-bottom: 30px; align-self: stretch; display: flex; flex-direction: column; gap: 10px; }
.gcard .gc-en { font-size: 12px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--pri-h); }
.gcard.mgr .gc-en { color: var(--warm-ink); }
.gcard h3 { margin: 0; font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.035em; line-height: 1.25; }
.gcard h3 .serif { color: var(--pri); }
.gcard.mgr h3 .serif { color: var(--warm-ink); }
.gcard p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.gcard .gc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.gcard .gc-chips span { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.gcard .gc-go { margin-top: auto; padding-top: 8px; font-weight: 800; color: var(--pri); }
.gcard.mgr .gc-go { color: var(--warm-ink); }
.gcard img { display: block; width: 150px; height: auto; border-radius: 24px 24px 0 0; border: 6px solid var(--ink); border-bottom: 0; box-shadow: 0 -10px 30px -16px rgba(30,20,70,.5); }
@media (max-width: 480px) { .gcard { grid-template-columns: 1fr; padding-bottom: 0; } .gcard img { width: 160px; justify-self: center; } .gcard .gc-txt { padding-bottom: 8px; } }
@media (prefers-reduced-motion: reduce) { .gcard, .gcard:hover { transition: none; transform: none; } }
@media print { .g-aside, .g-switch, .top, .foot { display: none; } .g-body { display: block; } .guide .step { break-inside: avoid; box-shadow: none; } }

/* 0장 앱 설치 (2026-11-19) — 스토어 배지는 임시로 직접 그린 모양 (공개 전 공식 배지로) */
.guide .stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.guide .store { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px 22px; display: grid; gap: 12px; align-content: start; }
.guide .store h3 { margin: 0; font-size: 19px; }
.guide .store h3 .muted { font-size: 14px; font-weight: 500; color: var(--muted); }
.guide .store ol { margin: 0; padding-left: 1.3em; line-height: 1.8; color: var(--ink-2); }
.guide .store-badge { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 12px; background: #111; color: #fff;
  text-decoration: none; border: 1px solid #333; transition: transform .12s, background .12s; }
.guide .store-badge:hover { background: #2A2A2A; transform: translateY(-1px); }
.guide .store-badge .st-ic { width: 26px; height: 26px; flex: none; }
.guide .store-badge span { display: grid; line-height: 1.1; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.guide .store-badge small { font-size: 11px; font-weight: 500; opacity: .85; letter-spacing: 0; }
.guide .small { font-size: 14px; }
@media (max-width: 760px) { .guide .stores { grid-template-columns: 1fr; } }
.guide .muted { color: var(--muted); }
