/* norijapanese.com — 앱과 같은 토큰(theme/index.ts): 크롬은 중성, 색은 뜻에. 鶯 노랑은 채움에만, 글자·선은 accentInk */
:root {
  color-scheme: light dark;
  --bg: #f1f4f0;
  --surface: #ffffff;
  --border: #e3e7e1;
  --divider: #edf0eb;
  --ink: #14161c;
  --muted: #5c6470;
  --faint: #6e7682;
  --accent: #f5c518;
  --accent-text: #14161c;
  --accent-ink: #7e6300;
  --accent-tint: #fbf6e4;
  --danger: #b91c1c;
  --n5: #318416; --n4: #127035; --n3: #0e5959; --n2: #143b7b; --n1: #2d1478;
  --h1: #5c9d2e; --h2: #008e5e; --h3: #09776f; --h4: #056270; --h5: #014c70; --h6: #0a2b87; --h7: #2e006f;
  --level-ink: #14161c;
  --sakura: #e0537a;
  --shadow: 0 1px 3px rgba(20, 22, 28, .07);
  --shadow-lg: 0 18px 50px rgba(20, 22, 28, .14);
  --radius: 16px;
  --font-ko: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
}
/* 번체 페이지(/zh-hant/) — 본문 글꼴만 번체 자형(Noto Sans TC, build.py 가 그 페이지에만 싣는다) */
html[lang="zh-Hant"] {
  --font-ko: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "PingFang TC", sans-serif;
  --font-ja: "BIZ UDPMincho", "Noto Serif JP", serif;
  --font-ja-gothic: "BIZ UDPGothic", "Noto Sans JP", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115; --surface: #191d24; --border: #2a3039; --divider: #232830;
    --ink: #f2f4f6; --muted: #a6aeb8; --faint: #8a929c;
    --accent-ink: #f5c518; --accent-tint: #2a2616;
    --danger: #f26262;
    --n5: #69b157; --n4: #4ea264; --n3: #4c8f8e; --n2: #4b75bb; --n1: #645ac1;
    --h1: #b7f296; --h2: #88e2b4; --h3: #80c9c1; --h4: #75b3c0; --h5: #6a9dbf; --h6: #5c82d5; --h7: #7464bd;
    --shadow: 0 1px 3px rgba(0, 0, 0, .4);
    --shadow-lg: 0 18px 50px rgba(0, 0, 0, .5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-ko); line-height: 1.7; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere; }
img, video { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
.ja { font-family: var(--font-ja); }
.ja-g { font-family: var(--font-ja-gothic); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── 머리 ── */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.site-head .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; display: block; object-fit: cover; }
.hero-mascot { display: block; width: 150px; height: auto; margin: 0 0 14px -6px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: var(--shadow); }
.head-cta { display: inline-flex; align-items: center; gap: 7px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 999px; white-space: nowrap; }
.head-learn { white-space: nowrap; text-decoration: none; font-size: 14px; font-weight: 800; color: var(--accent-text); background: var(--accent); padding: 9px 16px; border: 1px solid var(--accent-ink); border-radius: 999px; }
.head-learn:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
.head-learn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.menu-btn { display: none; margin-left: auto; border: 1px solid var(--border); background: var(--surface); color: var(--ink); border-radius: 999px; width: 40px; height: 40px; font-size: 18px; }
@media (max-width: 820px) {
  .site-head .wrap { gap: 12px; }
  .head-learn { margin-left: auto; min-height: 40px; display: inline-flex; align-items: center; }
  .menu-btn { margin-left: 0; }
  .nav, .head-cta { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .site-head.open .nav { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--bg); padding: 10px 16px 16px; border-bottom: 1px solid var(--border); }
  .site-head.open .nav a { padding: 12px 14px; font-size: 16px; }
}

/* ── 버튼 ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, opacity .15s ease; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: .9; }
.btn-accent { background: var(--accent); color: var(--accent-text); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }

/* ── 폰 틀 ── */
.phone { position: relative; width: 100%; max-width: 300px; aspect-ratio: 1206 / 2622; border-radius: 42px; padding: 10px; background: #0b0c10; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a2d35; margin: 0 auto; }
.phone > img, .phone > video { width: 100%; height: 100%; object-fit: cover; border-radius: 33px; background: var(--bg); }
.phone.small { max-width: 220px; border-radius: 32px; padding: 7px; }
.phone.small > img, .phone.small > video { border-radius: 26px; }
.phone .callout { line-height: 1; font-variant-numeric: tabular-nums; position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-weight: 800; font-size: 13px; display: grid; place-items: center; box-shadow: 0 0 0 3px rgba(245, 197, 24, .35), 0 4px 10px rgba(0, 0, 0, .25); }

/* ── 히어로 ── */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--accent-ink); background: var(--accent-tint); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); padding: 5px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.22; letter-spacing: -.025em; margin: 18px 0 16px; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 70%, transparent) 62%); }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 0 0 26px; max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cta-note { font-size: 13px; color: var(--faint); margin-top: 12px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 36px; } }

/* ── 섹션 ── */
section.block { padding: 64px 0; }
section.block.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 680px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.3; letter-spacing: -.02em; margin: 10px 0 10px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.kicker { font-size: 13px; font-weight: 800; color: var(--accent-ink); letter-spacing: .04em; }

/* 루프 다섯 걸음 */
.loop { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.loop li { list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 16px; box-shadow: var(--shadow); }
.alt .loop li { background: var(--bg); }
.loop li::before { line-height: 1; font-variant-numeric: tabular-nums; counter-increment: step; content: counter(step); width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-weight: 800; font-size: 14px; display: grid; place-items: center; margin-bottom: 10px; }
.loop h3 { margin: 0 0 4px; font-size: 16px; }
.loop p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.loop-list { padding: 0; margin: 0; }
@media (max-width: 900px) { .loop { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .loop { grid-template-columns: 1fr; } }

/* 기능 */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 28px 0; }
.feature + .feature { border-top: 1px solid var(--divider); }
.feature.flip .feature-media { order: 2; }
.feature h3 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.015em; line-height: 1.35; margin: 8px 0 12px; }
.feature p { color: var(--muted); font-size: 16px; margin: 0 0 12px; }
.feature ul { margin: 0; padding-left: 20px; color: var(--muted); }
.feature li { margin: 4px 0; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; gap: 24px; } .feature.flip .feature-media { order: 0; } }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.alt .card { background: var(--bg); }
.card h3 { margin: 10px 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.icon-chip { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent-ink); font-size: 19px; }

/* 한자어 브리지 예시 */
.bridge-demo { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; background: var(--accent-tint); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 12px; padding: 8px 14px; }
.chip b { font-family: var(--font-ja); font-size: 24px; line-height: 1.2; }
.chip span { font-size: 13px; color: var(--muted); }

/* 급수 알약 */
.lv { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 10px; color: #fff; font-size: 11px; font-weight: 800; }
.lv.n5 { background: var(--n5); } .lv.n4 { background: var(--n4); } .lv.n3 { background: var(--n3); } .lv.n2 { background: var(--n2); } .lv.n1 { background: var(--n1); }

/* ── 도움말 ── */
.help-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 36px 0 80px; }
.toc { position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 100px); overflow: auto; padding-right: 6px; }
.toc h2 { font-size: 13px; color: var(--faint); letter-spacing: .04em; margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; color: var(--muted); text-decoration: none; font-size: 14.5px; padding: 6px 12px; border-radius: 10px; border-left: 3px solid transparent; }
.toc a:hover { color: var(--ink); background: var(--surface); }
.toc a.on { color: var(--ink); font-weight: 700; background: var(--surface); border-left-color: var(--accent); }
.help-search { width: 100%; height: 44px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); padding: 0 16px; font: inherit; font-size: 15px; margin-bottom: 16px; }
.help-body { min-width: 0; }
.help-body h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -.02em; line-height: 1.25; margin: 0 0 10px; }
.help-body > p.lead { font-size: 17px; color: var(--muted); margin: 0 0 28px; }
.help-section { padding: 30px 0; border-top: 1px solid var(--divider); }
.help-section h2 { font-size: 26px; letter-spacing: -.015em; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.help-section h2 .num { font-size: 14px; background: var(--ink); color: var(--bg); border-radius: 8px; padding: 2px 8px; font-weight: 800; }
.help-section h3 { font-size: 18px; margin: 26px 0 8px; }
.help-section p, .help-section li { color: var(--muted); font-size: 16px; }
.help-section p strong, .help-section li strong { color: var(--ink); }
.help-section ol.steps { padding-left: 0; list-style: none; counter-reset: s; }
.help-section ol.steps > li { position: relative; padding-left: 38px; margin: 12px 0; }
.help-section ol.steps > li::before { line-height: 1; font-variant-numeric: tabular-nums; counter-increment: s; content: counter(s); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.shot-row { display: flex; flex-wrap: wrap; gap: 26px; margin: 20px 0 8px; align-items: flex-start; }
.shot { flex: 0 0 auto; width: 220px; }
.shot figcaption { font-size: 13px; color: var(--faint); text-align: center; margin-top: 10px; line-height: 1.5; }
.tip { background: var(--accent-tint); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 14px; padding: 14px 16px; margin: 16px 0; font-size: 15px; color: var(--ink); }
.tip b { color: var(--accent-ink); }
.note { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; margin: 16px 0; font-size: 15px; color: var(--muted); }
.kbd { display: inline-block; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 6px; padding: 0 6px; font-size: 13px; background: var(--surface); color: var(--ink); }
@media (max-width: 900px) {
  .help-layout { grid-template-columns: 1fr; gap: 10px; padding-top: 18px; }
  .toc { position: static; max-height: none; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px; }
  .toc ol { columns: 2; column-gap: 10px; }
  .shot { width: 46%; min-width: 150px; }
}

/* FAQ */
details.faq { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin: 10px 0; padding: 0 18px; }
details.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 700; font-size: 16px; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 22px; color: var(--faint); font-weight: 400; }
details.faq[open] summary::after { content: "−"; }
details.faq > div { padding: 0 0 16px; color: var(--muted); font-size: 15.5px; }

/* 공지 */
.tabs { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 20px; }
.tabs button { border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: 15px; padding: 8px 18px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--bg); color: var(--ink); box-shadow: var(--shadow); }
.notice-languages { display: flex; gap: 8px; margin: 0 0 24px; }
.notice-languages button { font: inherit; font-size: 14px; font-weight: 700; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; }
.notice-languages button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.notice-languages button:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.post { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; margin: 12px 0; overflow: hidden; }
.post > button { width: 100%; text-align: left; background: transparent; border: 0; color: inherit; font: inherit; padding: 18px 20px; cursor: pointer; display: flex; gap: 12px; align-items: center; }
.post .badge { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 10px; background: var(--bg); color: var(--muted); white-space: nowrap; }
.post .badge.live { background: var(--accent-tint); color: var(--accent-ink); }
.post .title { font-weight: 700; font-size: 17px; flex: 1; }
.post .title small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.post .date { font-size: 13px; color: var(--faint); white-space: nowrap; }
.post .body { padding: 0 20px 20px; color: var(--muted); font-size: 16px; white-space: pre-wrap; }
.post .body img { border-radius: 12px; margin: 12px 0; border: 1px solid var(--border); }
@media (max-width: 520px) {
  .post > button { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 8px 12px; }
  .post .badge { grid-column: 1; grid-row: 1; margin-top: 2px; }
  .post .title { grid-column: 2; grid-row: 1; }
  .post .date { grid-column: 2; font-size: 12px; }
}
.empty { text-align: center; color: var(--faint); padding: 40px 0; }

/* 문의 */
.form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.form label { font-weight: 700; font-size: 14px; display: grid; gap: 7px; }
.form label span.hint { font-weight: 400; color: var(--faint); font-size: 13px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 1px; }
.types { display: flex; flex-wrap: wrap; gap: 8px; }
.types input { position: absolute; opacity: 0; pointer-events: none; }
.types label { font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); cursor: pointer; display: inline-flex; }
.types input:checked + label { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.form .status { font-size: 15px; min-height: 22px; }
.form .status.ok { color: var(--n4); font-weight: 700; }
.form .status.err { color: var(--danger); font-weight: 700; }
.hp { position: absolute; left: -9999px; }

/* 법률 문서 */
.doc { padding: 40px 20px 80px; }
.doc h1 { font-size: 32px; letter-spacing: -.02em; margin: 0 0 6px; }
.doc .date { color: var(--faint); font-size: 14px; margin-bottom: 28px; }
.doc h2 { font-size: 19px; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--muted); font-size: 15.5px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 12px 0; background: var(--surface); border-radius: 12px; overflow: hidden; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--divider); }
.doc th { font-weight: 700; color: var(--ink); background: color-mix(in srgb, var(--bg) 60%, var(--surface)); }
.doc td { color: var(--muted); }
.doc .box { background: var(--accent-tint); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 12px; padding: 12px 14px; color: var(--ink); }
@media (max-width: 640px) { .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; } .doc tr { border-bottom: 1px solid var(--border); } .doc th { display: none; } .doc td { border: 0; padding: 6px 12px; } .doc td:first-child { padding-top: 12px; font-weight: 700; color: var(--ink); } }

/* 시험 안내(/exam-guide, 2026-10-25 시안 보드 10·12) — 탭 하나에 한 시험, 숫자 타일 → 급수 사다리 → 급수 한 장, 카드 간격 12 · 절 24 · 좌우 16, 데스크톱은 왼쪽 고정 탭·목차 */
.guide { padding: 36px 20px 80px; }
.guide h1 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.02em; line-height: 1.25; margin: 0 0 8px; }
.guide > p.lead { font-size: 16px; color: var(--muted); margin: 0 0 20px; max-width: 640px; }
.guide-layout { display: grid; grid-template-columns: 1fr; gap: 16px; }
.guide-tabs { display: flex; gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 4px; }
.guide-tabs a { flex: 1; text-align: center; text-decoration: none; color: var(--muted); font-weight: 700; font-size: 15px; padding: 10px 8px; border-radius: 9px; }
.guide-tabs a[aria-selected="true"] { background: var(--accent-tint); color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent); }
.guide-tabs a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.guide-side-title, .guide-side-list { display: none; }
.guide-main { display: flex; flex-direction: column; min-width: 0; }
.guide-section { display: flex; flex-direction: column; gap: 12px; }
.guide-section[hidden] { display: none; }
.guide-section h3 { font-size: 17px; margin: 12px 0 0; }
.guide-section p { color: var(--muted); font-size: 15.5px; line-height: 1.65; margin: 0; }
.guide-section p strong { color: var(--ink); }
.guide-section p.guide-note { font-size: 13.5px; color: var(--faint); }
.guide-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.guide-title h2 { margin: 0; font-size: 26px; letter-spacing: -.01em; line-height: 1.2; }
.guide-title small { font-size: 13px; color: var(--muted); }
.guide-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.guide-fact { display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 10px 9px; min-width: 0; }
.guide-fact-k { font-size: 11px; font-weight: 700; color: var(--faint); letter-spacing: .02em; }
.guide-fact-v { font-size: 16px; font-weight: 900; line-height: 1.2; color: var(--ink); overflow-wrap: anywhere; }
.guide-fact-s { font-size: 11px; color: var(--muted); line-height: 1.35; }
.guide-banner { background: var(--accent-tint); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 12px; padding: 0 12px; }
.guide-banner summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 13px; }
.guide-banner summary::-webkit-details-marker { display: none; }
.guide-banner summary strong { color: var(--ink); flex-shrink: 0; }
.guide-banner summary span { color: var(--muted); font-size: 12px; text-align: right; white-space: nowrap; }
.guide-banner summary span::after { content: ' ▾'; }
.guide-banner[open] summary span::after { content: ' ▴'; }
.guide-banner > div { padding: 0 0 12px; border-top: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); padding-top: 10px; }
.guide-section .guide-banner p { font-size: 14px; color: var(--ink); }
/* 급수 사다리 — 막대 높이가 난이도, 색은 급수 색. 누르면 급수 한 장·예시 문항이 바뀐다 */
.guide-ladder { display: flex; align-items: flex-end; gap: 6px; padding: 4px 2px 0; }
.guide-rung { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.guide-rung-bar { width: 100%; box-sizing: border-box; border-radius: 8px 8px 4px 4px; display: flex; align-items: flex-start; justify-content: center; padding-top: 6px; color: #fff; font-weight: 900; font-size: 13px; opacity: .55; transition: opacity .15s; }
.guide-rung-word { font-size: 10.5px; font-weight: 700; color: var(--faint); text-align: center; line-height: 1.2; max-width: 100%; overflow-wrap: anywhere; }
.guide-rung:hover .guide-rung-bar { opacity: .85; }
.guide-rung.on .guide-rung-bar { opacity: 1; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
.guide-rung.on .guide-rung-word { color: var(--ink); }
.guide-rung:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 8px; }
.guide-rung-bar.n5 { background: var(--n5); } .guide-rung-bar.n4 { background: var(--n4); } .guide-rung-bar.n3 { background: var(--n3); } .guide-rung-bar.n2 { background: var(--n2); } .guide-rung-bar.n1 { background: var(--n1); }
.guide-rung-bar.h1 { background: var(--h1); } .guide-rung-bar.h2 { background: var(--h2); } .guide-rung-bar.h3 { background: var(--h3); } .guide-rung-bar.h4 { background: var(--h4); } .guide-rung-bar.h5 { background: var(--h5); } .guide-rung-bar.h6 { background: var(--h6); } .guide-rung-bar.h7 { background: var(--h7); font-size: 11px; }
.guide-rung-bar.h1, .guide-rung-bar.h2 { color: var(--level-ink); }
/* 급수 알약 — 앱과 같이 밝은 채움은 진한 글자 */
.guide-pill { display: inline-block; color: #fff; font-weight: 800; font-size: 13px; border-radius: 999px; padding: 2px 10px; line-height: 1.5; vertical-align: 1px; }
.guide-pill.n5 { background: var(--n5); } .guide-pill.n4 { background: var(--n4); } .guide-pill.n3 { background: var(--n3); } .guide-pill.n2 { background: var(--n2); } .guide-pill.n1 { background: var(--n1); }
.guide-pill.h1 { background: var(--h1); } .guide-pill.h2 { background: var(--h2); } .guide-pill.h3 { background: var(--h3); } .guide-pill.h4 { background: var(--h4); } .guide-pill.h5 { background: var(--h5); } .guide-pill.h6 { background: var(--h6); } .guide-pill.h7 { background: var(--h7); }
.guide-pill.h1, .guide-pill.h2 { color: var(--level-ink); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .guide-pill.n5, :root:not([data-theme="light"]) .guide-pill.n4, :root:not([data-theme="light"]) .guide-pill.n3, :root:not([data-theme="light"]) .guide-pill[class*=" h"],
  :root:not([data-theme="light"]) .guide-rung-bar.n5, :root:not([data-theme="light"]) .guide-rung-bar.n4, :root:not([data-theme="light"]) .guide-rung-bar.n3, :root:not([data-theme="light"]) .guide-rung-bar[class*=" h"] { color: var(--level-ink); }
}
/* 급수 한 장 — 한 줄 수준 말 + 합격 미터 + 과목 칩 */
.guide-levelcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.guide-levelcard[hidden] { display: none; }
.guide-levelcard-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.guide-levelcard-head strong { font-size: 15.5px; color: var(--ink); }
.guide-section .guide-levelcard p { font-size: 14px; line-height: 1.55; }
.guide-meter { display: flex; flex-direction: column; gap: 4px; }
.guide-meter-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.guide-meter-row strong { color: var(--ink); font-size: 13px; }
.guide-meter-track { height: 8px; background: var(--divider); border-radius: 999px; overflow: hidden; }
.guide-meter-fill { height: 100%; border-radius: 999px; background: var(--n3); }
.guide-meter-fill.n5 { background: var(--n5); } .guide-meter-fill.n4 { background: var(--n4); } .guide-meter-fill.n3 { background: var(--n3); } .guide-meter-fill.n2 { background: var(--n2); } .guide-meter-fill.n1 { background: var(--n1); }
.guide-meter-fill.h1 { background: var(--h1); } .guide-meter-fill.h2 { background: var(--h2); } .guide-meter-fill.h3 { background: var(--h3); } .guide-meter-fill.h4 { background: var(--h4); } .guide-meter-fill.h5 { background: var(--h5); } .guide-meter-fill.h6 { background: var(--h6); } .guide-meter-fill.h7 { background: var(--h7); }
.guide-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.guide-chip { font-size: 11.5px; font-weight: 700; background: var(--bg); border-radius: 999px; padding: 4px 9px; color: var(--ink); }
.guide-chip.mute { color: var(--muted); font-weight: 500; background: transparent; border: 1px solid var(--border); }
/* 준비 흐름 — 선 아이콘 세 칸 */
.guide-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 4px; margin: 0; padding: 14px 10px; list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.guide-flow-step { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0; }
.guide-flow-ic { width: 40px; height: 40px; border-radius: 14px; background: var(--accent-tint); display: grid; place-items: center; }
.guide-flow-ic svg { width: 20px; height: 20px; stroke: var(--accent-ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.guide-flow-step strong { font-size: 13px; color: var(--ink); }
.guide-flow-step span { font-size: 11px; color: var(--muted); line-height: 1.4; }
.guide-flow-arrow { color: var(--border); font-size: 18px; padding-top: 10px; }
/* 어디서 시작하죠 — 두 갈래 */
.guide-starts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.guide-start { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.guide-start:hover { border-color: var(--accent); color: var(--ink); }
.guide-start-q { font-size: 12px; color: var(--faint); font-weight: 700; }
.guide-start-a { font-size: 14px; font-weight: 800; line-height: 1.35; }
.guide-start-a .guide-pill { font-size: 11.5px; padding: 1px 8px; }
.guide-start-go { font-size: 12px; color: var(--accent-ink); font-weight: 700; }
.guide-box { background: var(--accent-tint); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 12px; padding: 12px 14px; }
.guide-section p.guide-box { color: var(--ink); font-size: 14.5px; }
.guide-table { margin: 4px 0; }
.guide-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.guide-table caption { text-align: left; font-weight: 700; font-size: 14px; color: var(--ink); padding: 0 0 8px; }
.guide-table th, .guide-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--divider); }
.guide-table th { font-weight: 700; color: var(--ink); background: color-mix(in srgb, var(--bg) 60%, var(--surface)); white-space: nowrap; }
.guide-table td { color: var(--muted); }
.guide-table td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.guide-table tr:last-child td { border-bottom: 0; }
.guide-section p.guide-source { font-size: 13px; color: var(--faint); margin: 6px 0 0; }
.guide-steps { padding: 14px 16px; margin: 0; list-style: none; counter-reset: s; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; }
.guide-steps > li { position: relative; padding-left: 36px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.guide-steps > li::before { line-height: 1; font-variant-numeric: tabular-nums; counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-weight: 800; font-size: 12px; display: grid; place-items: center; }
.guide-steps > li:not(:last-child)::after { content: ''; position: absolute; left: 11px; top: 26px; bottom: -12px; width: 2px; background: var(--divider); }
.guide-details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 16px; }
.guide-details summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; font-weight: 700; font-size: 15px; }
.guide-details summary::-webkit-details-marker { display: none; }
.guide-details summary::after { content: '▾'; color: var(--muted); flex-shrink: 0; }
.guide-details[open] summary::after { content: '▴'; }
.guide-details summary small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.guide-details > div { display: flex; flex-direction: column; gap: 12px; padding: 0 0 16px; border-top: 1px solid var(--divider); padding-top: 12px; }
.guide-linkcard { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; }
.guide-linkcard:hover { border-color: var(--accent); color: var(--ink); }
.guide-linkcard small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.guide-linkcard-arrow { color: var(--accent-ink); font-size: 18px; }
/* 예시 문항 카드 — 급수 카드가 고른 급수 하나만 보인다(JS 없이는 다) */
.guide-samples { display: grid; gap: 12px; }
.guide-sample { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.guide-sample[hidden] { display: none; }
.guide-section .guide-sample p { margin: 0 0 6px; }
.guide-sample-head { font-size: 13px; color: var(--faint); font-weight: 700; }
.guide-sample-head strong { color: var(--accent-ink); }
.guide-section .guide-sample-inst { font-size: 14px; color: var(--muted); }
.guide-section .guide-sample-stem { font-size: 18px; line-height: 1.7; color: var(--ink); margin: 6px 0 10px; }
.guide-sample ruby { ruby-position: over; }
.guide-sample rt { font-size: 10px; color: var(--muted); }
.guide-sample .blank { display: inline-block; min-width: 2.2em; border: 1px solid var(--border); border-radius: 6px; text-align: center; line-height: 1.3; color: transparent; }
.guide-sample-choices { margin: 0 0 8px; padding-left: 1.6em; font-size: 16px; line-height: 1.8; color: var(--ink); }
.guide-sample-choices li::marker { color: var(--muted); font-size: 14px; }
.guide-sample details { border-top: 1px solid var(--divider); padding-top: 8px; }
.guide-sample summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--accent-ink); }
.guide-sample details p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 8px 0 0; }
.guide-sample details p strong { color: var(--ink); }
@media (min-width: 900px) {
  .guide-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
  .guide-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 6px; }
  .guide-tabs { flex-direction: column; background: none; border: 0; padding: 0; gap: 4px; }
  .guide-tabs a { text-align: left; padding: 9px 12px; border-radius: 10px; }
  .guide-tabs a[aria-selected="true"] { background: var(--surface); box-shadow: var(--shadow); }
  .guide-side-title { display: block; font-size: 12px; color: var(--faint); margin: 14px 12px 2px; font-weight: 700; }
  .guide-side-list { display: none; list-style: none; margin: 0; padding: 0 12px; }
  .guide-side-list.on { display: block; }
  .guide-side-list li { font-size: 13px; padding: 4px 0; }
  .guide-side-list a { color: var(--muted); text-decoration: none; }
  .guide-side-list a:hover { color: var(--ink); }
  .guide-section { gap: 14px; }
  .guide-title h2 { font-size: 30px; }
  .guide-fact-v { font-size: 20px; }
  .guide-ladder { gap: 10px; }
  .guide-rung-bar { font-size: 15px; }
  .guide-rung-word { font-size: 12px; }
  .guide-flow-ic { width: 44px; height: 44px; }
}
@media (max-width: 640px) {
  .guide-table table, .guide-table caption, .guide-table tbody, .guide-table tr, .guide-table td { display: block; }
  .guide-table thead { display: none; }
  .guide-table tr { border-bottom: 1px solid var(--border); padding: 6px 0; }
  .guide-table td { border: 0; padding: 4px 14px; white-space: normal; }
  .guide-table td:first-child { padding-top: 10px; font-size: 15px; }
  .guide-table td:not(:first-child)::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 700; color: var(--faint); }
}
.guide-foot { color: var(--faint); font-size: 14px; margin: 36px 0 0; padding-top: 20px; border-top: 1px solid var(--divider); }
@media (max-width: 640px) {
  .guide-table table, .guide-table caption, .guide-table tbody, .guide-table tr, .guide-table td { display: block; }
  .guide-table thead { display: none; }
  .guide-table tr { border-bottom: 1px solid var(--border); padding: 6px 0; }
  .guide-table td { border: 0; padding: 4px 14px; white-space: normal; }
  .guide-table td:first-child { padding-top: 10px; font-size: 16px; }
  .guide-table td:not(:first-child)::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 700; color: var(--faint); }
}

/* ── 바닥 ── */
.site-foot { border-top: 1px solid var(--border); padding: 36px 0 44px; margin-top: 20px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-foot a { color: var(--muted); text-decoration: none; font-size: 14px; }
.site-foot a:hover { color: var(--ink); }
.site-foot small { color: var(--faint); font-size: 13px; display: block; }

/* 인앱 브라우저(앱에서 연 도움말): 머리·바닥을 가볍게 */
body.in-app .site-head .head-cta { display: none; }
body.in-app .site-head .head-learn { display: none; }
body.in-app .menu-btn { margin-left: auto; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }


/* 스크린숏 여러 장 가로 */
.gallery { display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; }
.gallery figure { margin: 0; flex: 0 0 220px; scroll-snap-align: start; }
.gallery figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 12px; }
.help-body .gallery { margin: 8px -4px 0; }
.help-guide { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 28px; margin: 24px 0 32px; }
.help-guide figure { margin: 0; }
.help-guide h3 { margin: 0 0 16px; }
.help-guide figcaption, .help-answer-shot figcaption { margin-top: 12px; font-size: 12px; color: var(--faint); text-align: center; }
.help-answer-shot { max-width: 230px; margin: 28px auto 12px; }
@media (max-width: 520px) {
  .help-guide { grid-template-columns: 120px minmax(0, 1fr); gap: 18px; }
  .help-guide h3 { font-size: 16px; line-height: 1.5; }
  .help-guide ol.steps > li { font-size: 14px; line-height: 1.7; padding-left: 0; }
  .help-guide ol.steps > li::before { position: static; display: inline-grid; margin-right: 6px; width: 20px; height: 20px; }
}
.widget-shot { border-radius: 20px; box-shadow: var(--shadow-lg); max-width: 520px; width: 100%; }

/* 사업자 정보 — 버튼을 눌러야 보인다(site.js, /api/business) */
.biz { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.biz-btn { font: inherit; font-size: 12.5px; color: inherit; opacity: .8; background: none; border: 1px solid currentColor; border-radius: 999px; padding: 3px 12px; cursor: pointer; }
.biz-btn:hover { opacity: 1; }
.biz-btn:disabled { opacity: .45; cursor: wait; }
.biz-body { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0; font-size: 12.5px; opacity: .85; }
.biz-body[hidden] { display: none; }
.biz-body dt { font-weight: 700; }
.biz-body dd { margin: 0; }

/* ── 소개(홈) ── 앱 토큰을 그대로 쓰고, 노랑 띠(노래)와 먹색 띠(시험) 두 장면만 색을 크게 쓴다 */
:root {
  --tone1: #ac312a; --tone2: #9f5c0c; --tone3: #087736; --tone4: #1d60bc;
  --hsk1: #5c9d2e; --hsk2: #008e5e; --hsk3: #09776f; --hsk4: #056270; --hsk5: #014c70; --hsk6: #0a2b87; --hsk7: #2e006f;
  --band-ink: #14161c;
  --font-zh: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --tone1: #ed7668; --tone2: #feb16b; --tone3: #62c37a; --tone4: #74acff;
    --hsk1: #b7f296; --hsk2: #88e2b4; --hsk3: #80c9c1; --hsk4: #75b3c0; --hsk5: #6a9dbf; --hsk6: #5c82d5; --hsk7: #7464bd; }
}
.zh { font-family: var(--font-zh); }

.h { overflow-x: clip; }
.h p, .h h1, .h h2, .h h3, .h figure, .h ol, .h ul { margin: 0; }
.h-wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.h-section { padding: clamp(72px, 10vw, 136px) 0; }
.h-kicker { font-size: 14px; font-weight: 700; color: var(--accent-ink); margin-bottom: 14px; }
.h-title { font-size: clamp(30px, 4.6vw, 58px); line-height: 1.18; letter-spacing: -.045em; font-weight: 800; }
.h-sub { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.75; color: var(--muted); margin-top: 18px; max-width: 36em; }
.h-note { font-size: 13px; line-height: 1.7; color: var(--faint); }

/* 첫 화면 — 「듣다. 알다.」는 좁은 폭에서도 맨 위에서 가리지 않는다 */
.h-hero { padding: clamp(36px, 6vw, 88px) 0 clamp(48px, 6vw, 80px); text-align: center; }
.h-hero .h-kicker { color: var(--muted); font-size: 15px; margin-bottom: clamp(10px, 2vw, 22px); }
.h-display { font-size: clamp(84px, 15.4vw, 224px); line-height: 1; letter-spacing: -.07em; font-weight: 800; }
.h-display span { display: inline-block; padding: 0 .02em; }
.h-display .h-mark { position: relative; }
.h-display .h-mark::after { content: ""; position: absolute; left: .04em; right: .14em; bottom: -.04em; height: .08em; background: var(--accent); transform-origin: left; }
.js-motion .h-display .h-mark::after { animation: h-sweep 1.1s .35s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes h-sweep { from { transform: scaleX(0); } }
.h-hero-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin-top: clamp(32px, 4.4vw, 60px); text-align: left; }
.h-lead { font-size: clamp(17px, 1.45vw, 19px); line-height: 1.7; }
.h-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.h-cta .btn { min-height: 52px; }
.h-cue { justify-self: end; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.h-cue svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
@media (max-width: 900px) {
  .h-hero-foot { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .h-cue { justify-self: center; }
}

/* 노래 장면 — 기본은 장면 다섯을 나란히(동작 줄이기·스크립트 없음), 스크롤 장면은 스크립트가 켠다 */
.h-listen { background: var(--accent); color: var(--band-ink); padding: clamp(64px, 8vw, 112px) 0; }
.h-listen .h-kicker { color: rgba(20, 22, 28, .72); }
.h-listen .h-sub { color: rgba(20, 22, 28, .78); }
.h-listen-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.h-listen-nori { width: clamp(96px, 11vw, 150px); height: auto; margin-bottom: -8px; }
.h-phone { position: relative; box-sizing: content-box; width: calc(100% - 8px); aspect-ratio: 540 / 1174; border-radius: 13% / 6%; border: 4px solid #0b0c10; background: #0b0c10; box-shadow: 0 24px 60px rgba(20, 22, 28, .2); }
.h-phone img { width: 100%; height: 100%; object-fit: contain; border-radius: 12% / 5.5%; background: #f1f4f0; }
.h-phone::after { content: ''; position: absolute; top: 2.2%; left: 35%; width: 30%; height: 4.1%; border-radius: 999px; background: #000; pointer-events: none; }
/* 도움말 촬영본에는 상태 바와 아일랜드가 이미 들어 있다. */
.help-guide .h-phone::after, .help-answer-shot .h-phone::after { content: none; }
.h-touch { position: absolute; width: 15%; aspect-ratio: 1; border-radius: 50%; background: rgba(245, 197, 24, .55); box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 6px 16px rgba(0, 0, 0, .3); transform: translate(-50%, -50%); pointer-events: none; }
.h-scenes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: clamp(36px, 5vw, 56px); }
.h-scene figure { display: grid; gap: 16px; }
.h-scene .h-phone { max-width: 230px; margin: 0 auto; }
.h-scene figcaption strong { display: block; font-size: 17px; line-height: 1.4; letter-spacing: -.02em; }
.h-scene figcaption span { display: block; font-size: 14px; line-height: 1.6; color: rgba(20, 22, 28, .76); margin-top: 4px; }
.h-scene-no { display: block; font-size: 12px; font-weight: 800; color: rgba(20, 22, 28, .6); margin-bottom: 6px; }
.h-listen-foot { margin-top: clamp(28px, 4vw, 44px); font-size: 13px; color: rgba(20, 22, 28, .72); }
@media (max-width: 900px) {
  .h-scenes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-inline: calc(-1 * clamp(16px, 4vw, 40px)); padding: 0 clamp(16px, 4vw, 40px) 12px; }
  .h-scene { flex: 0 0 min(64vw, 240px); scroll-snap-align: start; }
}
/* 스크롤 장면: 장면 하나를 붙잡아 두고, 스크롤 위치로 장면을 바꾼다 */
.h-listen.is-scrolly { padding-bottom: 0; }
.is-scrolly .h-track { height: 460vh; position: relative; }
.is-scrolly .h-stage { position: sticky; top: 64px; height: calc(100vh - 64px); height: calc(100svh - 64px); display: grid; place-items: center; }
.is-scrolly .h-scenes { position: relative; display: block; width: 100%; height: 100%; margin: 0; padding: 0; overflow: visible; }
.is-scrolly .h-scene { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.is-scrolly .h-scene.is-on { opacity: 1; }
.is-scrolly .h-scene figure { height: 100%; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "cap phone"; align-items: center; gap: clamp(24px, 6vw, 96px); }
.is-scrolly .h-scene figcaption { grid-area: cap; }
.is-scrolly .h-scene .h-phone { grid-area: phone; height: min(calc(100vh - 150px), 640px); height: min(calc(100svh - 150px), 640px); width: auto; max-width: none; }
.is-scrolly .h-scene figcaption strong { font-size: clamp(30px, 4.2vw, 54px); line-height: 1.2; letter-spacing: -.045em; }
.is-scrolly .h-scene figcaption span { font-size: clamp(16px, 1.5vw, 19px); margin-top: 14px; }
.h-progress { display: none; }
.is-scrolly .h-progress { display: flex; gap: 6px; position: absolute; left: 0; bottom: clamp(24px, 6vh, 56px); }
.h-progress i { width: 28px; height: 4px; border-radius: 2px; background: rgba(20, 22, 28, .2); transition: background .3s; }
.h-progress i.is-on { background: var(--band-ink); }
.is-scrolly .h-touch { animation: h-press 1.2s ease-in-out infinite; }
@keyframes h-press { 0%, 100% { transform: translate(-50%, -50%) scale(1.25); opacity: .6; } 50% { transform: translate(-50%, -50%) scale(.9); opacity: 1; } }
.is-scrolly .h-listen-foot { display: none; }
@media (max-width: 900px) {
  .is-scrolly .h-scene figure { grid-template-columns: 1fr; grid-template-areas: "cap" "phone"; align-content: center; justify-items: center; text-align: center; gap: 18px; }
  .is-scrolly .h-scene .h-phone { height: min(calc(100vh - 230px), 560px); height: min(calc(100svh - 230px), 560px); }
  .is-scrolly .h-scene figcaption strong { font-size: 26px; }
  .is-scrolly .h-scene figcaption span { font-size: 15px; margin-top: 6px; }
  .is-scrolly .h-progress { left: 50%; transform: translateX(-50%); bottom: 14px; }
  .h-listen-nori { display: none; }
}

/* 담은 다음 — 네 걸음이 다시 노래로 돌아온다 */
.h-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(40px, 5vw, 64px); position: relative; }
.h-steps li { position: relative; padding-top: 34px; }
.h-steps li::before { content: ""; position: absolute; top: 9px; left: 0; right: calc(-1 * clamp(16px, 2.4vw, 32px)); height: 2px; background: var(--border); }
.h-steps li:last-child::before { right: 0; }
.h-steps li::after { content: ""; position: absolute; top: 2px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--bg); }
.h-step-no { font-size: 13px; font-weight: 800; color: var(--accent-ink); }
.h-steps h3 { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.03em; line-height: 1.35; margin: 6px 0 8px; }
.h-steps p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.h-return { margin-top: 26px; height: 46px; border: 2px solid var(--border); border-top: 0; border-radius: 0 0 22px 22px; position: relative; }
.h-return::before { content: ""; position: absolute; left: -7px; top: -10px; border: 6px solid transparent; border-bottom: 9px solid var(--border); }
.h-return span { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); background: var(--bg); padding: 0 14px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.h-today { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 22px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.h-today img { width: 72px; height: auto; }
.h-today strong { display: block; font-size: 18px; letter-spacing: -.02em; }
.h-today p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-top: 4px; }
.js-motion .h-steps li { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js-motion .h-steps.is-in li { opacity: 1; transform: none; }
.js-motion .h-steps.is-in li:nth-child(2) { transition-delay: .18s; }
.js-motion .h-steps.is-in li:nth-child(3) { transition-delay: .36s; }
.js-motion .h-steps.is-in li:nth-child(4) { transition-delay: .54s; }
@media (max-width: 860px) {
  .h-steps { grid-template-columns: 1fr; gap: 0; }
  .h-steps li { padding: 0 0 28px 40px; }
  .h-steps li::before { top: 10px; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .h-steps li:last-child::before { bottom: 18px; }
  .h-steps li::after { top: 3px; }
  .h-steps h3 { margin-top: 2px; }
  .h-return { margin: 0 0 0 7px; height: auto; border: 0; padding: 0 0 0 33px; }
  .h-return::before { display: none; }
  .h-return span { position: static; transform: none; padding: 0; white-space: normal; display: inline-flex; gap: 8px; align-items: center; }
  .h-return span::before { content: "↺"; font-size: 18px; color: var(--accent-ink); }
}

/* 두 언어 */
.h-courses { background: var(--surface); border-block: 1px solid var(--border); }
.h-course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(36px, 5vw, 56px); }
.h-course { border: 1px solid var(--border); border-radius: 24px; padding: clamp(22px, 3vw, 36px); background: var(--bg); display: flex; flex-direction: column; gap: 22px; }
.h-course-head { display: flex; align-items: center; gap: 14px; }
.h-course-mark { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: var(--ink); color: var(--bg); flex: none; }
.h-course-head h3 { font-size: 22px; letter-spacing: -.03em; line-height: 1.3; }
.h-range { font-size: 14px; color: var(--muted); font-weight: 600; }
.h-ramp { display: flex; gap: 3px; margin-top: 6px; width: 140px; }
.h-ramp i { flex: 1; height: 6px; border-radius: 3px; }
.h-ramp.jlpt i:nth-child(1) { background: var(--n5); }
.h-ramp.jlpt i:nth-child(2) { background: var(--n4); }
.h-ramp.jlpt i:nth-child(3) { background: var(--n3); }
.h-ramp.jlpt i:nth-child(4) { background: var(--n2); }
.h-ramp.jlpt i:nth-child(5) { background: var(--n1); }
.h-ramp.hsk i:nth-child(1) { background: var(--hsk1); }
.h-ramp.hsk i:nth-child(2) { background: var(--hsk2); }
.h-ramp.hsk i:nth-child(3) { background: var(--hsk3); }
.h-ramp.hsk i:nth-child(4) { background: var(--hsk4); }
.h-ramp.hsk i:nth-child(5) { background: var(--hsk5); }
.h-ramp.hsk i:nth-child(6) { background: var(--hsk6); }
.h-ramp.hsk i:nth-child(7) { background: var(--hsk7); }
.h-course-lede { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.04em; line-height: 1.3; }
.h-bridge { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px 22px; display: grid; gap: 10px; }
.h-bridge-row { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.h-bridge ruby { font-size: clamp(36px, 3.6vw, 46px); line-height: 1.1; }
.h-bridge rt { font-size: 13px; color: var(--muted); font-family: var(--font-ja-gothic); letter-spacing: .04em; }
.h-bridge .zh ruby rt { font-family: var(--font-ko); font-weight: 700; font-size: 15px; color: var(--tone2); }
.h-bridge-arrow { color: var(--faint); font-size: 22px; padding-bottom: 6px; }
.h-bridge-ko { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.03em; padding-bottom: 2px; }
.h-bridge-ko small { font-size: 14px; font-weight: 600; color: var(--muted); margin-right: 6px; letter-spacing: 0; }
.h-bridge figcaption { font-size: 14px; color: var(--muted); }
.h-tones { display: flex; gap: 8px; flex-wrap: wrap; }
.h-tones span { font-size: 15px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.h-course-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.h-course-list li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.65; }
.h-course-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.h-course-soon { margin-top: auto; font-size: 14px; color: var(--muted); border-top: 1px dashed var(--border); padding-top: 16px; }
.h-courses .h-switch { margin-top: 22px; font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .h-course-grid { grid-template-columns: 1fr; } }
/* 중국어 코스 실제 화면 세 장 — 좁으면 노래 장면처럼 옆으로 넘긴다 */
.h-zh-shots { margin-top: clamp(32px, 4.5vw, 52px); }
.h-zh-shots ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
.h-zh-shots figure { display: grid; gap: 16px; justify-items: center; text-align: center; }
.h-zh-shots .h-phone { max-width: 220px; }
.h-zh-shots figcaption strong { display: block; font-size: 17px; line-height: 1.4; letter-spacing: -.02em; }
.h-zh-shots figcaption span { display: block; font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 4px; }
.h-zh-shots .h-zh-shots-note { margin-top: 18px; font-size: 13px; color: var(--faint); text-align: center; }
@media (max-width: 720px) {
  .h-zh-shots ol { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: clamp(16px, 4vw, 40px); gap: 16px; margin-inline: calc(-1 * clamp(16px, 4vw, 40px)); padding: 0 clamp(16px, 4vw, 40px) 12px; }
  .h-zh-shots li { flex: 0 0 min(60vw, 220px); scroll-snap-align: start; }
}

/* 시험 — 먹색 띠 */
.h-exam { background: var(--band-ink); color: #f2f4f6; }
.h-exam .h-kicker { color: var(--accent); }
.h-exam .h-sub { color: #b9c0c9; }
.h-exam-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.h-exam-steps { list-style: none; padding: 0; margin-top: 32px; display: grid; gap: 4px; }
.h-exam-steps li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid #2a3039; color: #8d96a1; transition: color .3s; }
.h-exam-steps li strong { color: inherit; font-size: 16px; }
.h-exam-steps li span { font-size: 15px; line-height: 1.6; }
.h-exam-steps li.is-on { color: #f2f4f6; }
.h-exam-steps li.is-on strong { color: var(--accent); }
.h-board { background: #fafbf7; color: #14161c; border-radius: 26px; padding: clamp(20px, 3vw, 34px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.h-board-head { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 700; }
.h-example { font-size: 12px; font-weight: 700; border: 1px solid #c9cfc6; color: #4d5560; border-radius: 999px; padding: 3px 10px; }
.h-score { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.h-score strong { font-size: clamp(56px, 6vw, 84px); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.h-score span { color: #5c6470; font-size: 17px; }
.h-score em { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 700; color: #127035; background: #e5f1e8; border-radius: 999px; padding: 4px 10px; }
.h-bar { position: relative; height: 12px; border-radius: 6px; background: #dfe5dd; margin: 30px 0 8px; }
.h-bar i { position: absolute; inset: 0 auto 0 0; width: 70%; border-radius: 6px; background: #0e5959; transform-origin: left; }
.h-bar b { position: absolute; top: -8px; bottom: -8px; width: 2px; background: #14161c; }
.h-bar b span { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; white-space: nowrap; }
.h-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.h-stats div { border-top: 1px solid #e3e7e1; padding-top: 10px; }
.h-stats span { display: block; font-size: 12px; color: #5c6470; }
.h-stats strong { font-size: 26px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.h-chart { margin-top: 22px; }
.h-chart-head { display: flex; justify-content: space-between; font-size: 13px; color: #5c6470; }
.h-chart-head strong { color: #14161c; }
.h-chart svg { width: 100%; height: auto; display: block; margin-top: 8px; }
.h-chart .grid { stroke: #e3e7e1; stroke-width: 1; fill: none; }
.h-chart .pass { stroke: #14161c; stroke-dasharray: 5 6; stroke-width: 1.4; fill: none; }
.h-chart .band { fill: rgba(14, 89, 89, .12); }
.h-chart .line { stroke: #0e5959; stroke-width: 3; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.h-chart circle { fill: #0e5959; }
.h-chart-foot { display: flex; justify-content: space-between; font-size: 12px; color: #6e7682; }
.h-subjects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.h-subjects div { font-size: 13px; }
.h-subjects p { display: flex; justify-content: space-between; gap: 6px; }
.h-subjects b { font-variant-numeric: tabular-nums; }
.h-subjects i { display: block; height: 6px; border-radius: 3px; background: #dfe5dd; margin-top: 6px; overflow: hidden; }
.h-subjects i em { display: block; height: 100%; background: #0e5959; transform-origin: left; }
.h-board-note { margin-top: 16px; font-size: 12px; color: #5c6470; text-align: right; }
.h-exam-notes { margin-top: clamp(40px, 5vw, 56px); display: grid; gap: 6px; color: #8d96a1; font-size: 13px; line-height: 1.7; }
@media (max-width: 900px) { .h-exam-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .h-subjects { grid-template-columns: 1fr; gap: 8px; }
  .h-exam-steps li { grid-template-columns: 76px minmax(0, 1fr); }
}

/* 게임 */
.h-games-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(36px, 5vw, 56px); }
.h-game img { width: 100%; height: auto; aspect-ratio: 1000 / 424; object-fit: cover; border-radius: 16px; background: var(--surface); }
.h-game h3 { font-size: 18px; letter-spacing: -.02em; margin: 14px 0 4px; }
.h-game p { font-size: 15px; color: var(--muted); line-height: 1.6; }
@media (max-width: 1000px) { .h-games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .h-games-grid { grid-template-columns: 1fr; } }

/* 어디서든 */
.h-devices { background: var(--surface); border-block: 1px solid var(--border); }
.h-device-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(36px, 5vw, 56px); }
.h-device { border: 1px solid var(--border); border-radius: 20px; padding: 24px; background: var(--bg); }
.h-device svg { width: 30px; height: 30px; stroke: var(--ink); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.h-device h3 { font-size: 19px; letter-spacing: -.02em; margin: 14px 0 6px; }
.h-device p { font-size: 15px; color: var(--muted); line-height: 1.65; }
.h-device a { font-weight: 700; }
.h-devices .h-note { margin-top: 24px; font-size: 14px; }
@media (max-width: 860px) { .h-device-grid { grid-template-columns: 1fr; } }

/* 무료와 플러스 */
.h-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(36px, 5vw, 56px); align-items: start; }
.h-plan { border-radius: 24px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--border); background: var(--surface); }
.h-plan.is-plus { background: var(--band-ink); color: #f2f4f6; border-color: var(--band-ink); }
.h-plan h3 { font-size: 24px; letter-spacing: -.03em; }
.h-plan-sub { color: var(--muted); font-size: 15px; margin-top: 4px; }
.h-plan.is-plus .h-plan-sub { color: #b9c0c9; }
.h-plan ul { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 12px; }
.h-plan li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 16px; line-height: 1.55; }
.h-plan li svg { width: 20px; height: 20px; margin-top: 2px; stroke: var(--accent-ink); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.h-plan.is-plus li svg { stroke: var(--accent); }
.h-plan li.is-limit { color: var(--muted); }
.h-plan-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid #2a3039; font-size: 14px; color: #b9c0c9; line-height: 1.65; }
@media (max-width: 860px) { .h-plan-grid { grid-template-columns: 1fr; } }

/* 자주 묻는 질문 */
.h-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.h-faq-grid > div:first-child img { width: 120px; height: auto; margin-top: 28px; }
.h-faq-grid .h-more { display: inline-block; margin-top: 18px; font-weight: 700; }
.h-faq { padding-top: 0; }
.h-faq details { border-bottom: 1px solid var(--border); }
.h-faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 400; color: var(--muted); }
.h-faq details[open] summary::after { content: "−"; }
.h-faq details p { padding: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.75; }
@media (max-width: 860px) { .h-faq-grid { grid-template-columns: 1fr; } .h-faq-grid > div:first-child img { display: none; } }

/* 끝 */
.h-closing { background: var(--accent); color: var(--band-ink); padding: clamp(72px, 9vw, 120px) 0; }
.h-closing .h-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.h-closing h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.15; letter-spacing: -.05em; font-weight: 800; }
.h-closing p { margin-top: 14px; font-size: 16px; color: rgba(20, 22, 28, .78); }
.h-closing .h-cta { justify-content: flex-start; margin-top: 28px; }
.h-closing .btn-ink { background: var(--band-ink); color: #fff; }
.h-closing img { width: clamp(140px, 16vw, 220px); height: auto; }
@media (max-width: 760px) { .h-closing .h-wrap { grid-template-columns: 1fr; } .h-closing img { width: 120px; order: -1; } }

/* 다크: 먹색 띠·플러스 카드가 바탕에 묻히지 않게 한 단계 밝은 면 */
@media (prefers-color-scheme: dark) {
  .h-exam, .h-plan.is-plus { background: #191d24; border-color: #2a3039; }
}
@media (prefers-reduced-motion: reduce) {
  .h-display .h-mark::after { animation: none !important; }
}

/* 도움말과 공용 탐색 */
[hidden] { display: none !important; }
[id] { scroll-margin-top: 88px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 4px; }
.visually-hidden:focus { position: fixed; z-index: 30; top: 12px; left: 12px; width: auto; height: auto; clip: auto; padding: 12px 20px; background: var(--surface); }
.search-label { display: block; font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.support-eyebrow { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.help-layout { gap: 64px; padding-top: 56px; }
.help-search { border-radius: 9px; }
.help-section { padding: 38px 0; }
.help-section h2 { font-size: 23px; margin-bottom: 22px; }
.help-section details.faq { background: transparent; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; padding: 0; margin: 0; }
.help-section details.faq > div { line-height: 1.9; padding-right: 24px; }
.support-contact { margin-top: 28px; border-top: 1px solid var(--border); padding-top: 32px; }
.support-contact h2 { font-size: 23px; margin: 0 0 8px; }
.support-contact p { color: var(--muted); margin: 0 0 20px; }
@media (max-width: 900px) {
  .help-layout { gap: 32px; padding-top: 28px; }
  .toc { border: 0; padding: 0 0 24px; border-radius: 0; background: transparent; border-bottom: 1px solid var(--border); }
  .toc a { padding: 7px 4px; font-size: 13px; }
  .help-section h2 { font-size: 22px; }
  .form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
