/*
  직괴프로 랜딩 스타일 (2026-10-30 개편: 다섯 개의 문서가 아니라 하나의 기록. 근거는 docs/2026-10-30-landing-research.md)
  - 흐름: 어두운 문(첫 화면) → 회색 축(한 사건의 기록, 앞으로) → 어두운 물길(원문 확인, 뒤로) → 흰 빈 마당(판단)
    → 어두운 금고(자료 보호) → 흰 접수대(신청) → 어두운 바닥글.
  - 글자: 모두 Pretendard. 큰 제목은 700, 리드는 500, 본문은 행간 1.65·자간 -1%.
    (2026-10-30 명조 제목을 팀 의견으로 되돌렸다.)
  - 먹 판: 제품 화면은 수묵 질감 위에 놓는다(public/media/ink-*.webp, scripts/ink-plate.py가 토큰 회색만으로 만든다).
    글자색은 거의 검정(#0F1115)과 본문 회색(#3A3F47) 두 단으로 또렷하게.
  - 색: 브랜드 파랑 #235BCB(밝은 바탕의 버튼·강조), 어두운 바탕의 강조는 앱 다크 브랜드 #7A9FEE.
  - 움직임: 넘치지 않는 감속 하나(--ease-out). 움직임 줄이기 설정이면 모두 멈춘 상태로 보인다(맨 아래).
  Tailwind를 거치지 않는 정적 파일이다. 빌드 결과가 미리보기와 같도록 public/에 둔다.
*/

@font-face { font-family: "Pretendard"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/pretendard-400.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/pretendard-500.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/pretendard-600.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/pretendard-700.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/pretendard-800.woff2") format("woff2"); }

:root {
  --ink: #0f1115;
  --text: #3a3f47;
  --sub: #6b7280;
  --faint: #9aa1ab;
  --line: #e6e8eb;
  --line-strong: #cfd4da;
  --bg: #ffffff;
  --band: #f4f5f7;
  --dark: #0b0d12;
  --dark-2: #141821;
  --dark-3: #1c212c;
  --dark-line: rgba(255,255,255,.1);
  --on-dark: #ffffff;
  --on-dark-2: rgba(255,255,255,.68);
  --on-dark-3: rgba(255,255,255,.42);
  --blue: #235bcb;
  --blue-press: #1d4fb3;
  --blue-pale: #edf3ff;
  --blue-bright: #7a9fee;
  --deep: #0033a0;
  --green: #226a4c;
  --danger: #b42318;

  --fs-hero: clamp(40px, 6.4vw, 76px);
  --fs-h2: clamp(30px, 4.4vw, 54px);
  --fs-h3: clamp(24px, 2.8vw, 34px);
  --fs-title: 20px;
  --fs-lead: clamp(17px, 1.6vw, 21px);
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-label: 13px;

  --r-btn: 12px;
  --r-card: 20px;
  --r-stage: 28px;
  --r-paper: 12px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms cubic-bezier(0.215, 0.61, 0.355, 1);
  --t-state: 220ms cubic-bezier(0.215, 0.61, 0.355, 1);

  --edge: 20px;
  --section: 96px;
  --wrap: 1200px;
  --shadow-paper: 0 1px 2px rgba(15,17,21,.05), 0 8px 24px rgba(15,17,21,.07), 0 24px 48px rgba(15,17,21,.06);
  --shadow-float: 0 2px 4px rgba(15,17,21,.06), 0 18px 40px rgba(15,17,21,.12), 0 40px 80px rgba(15,17,21,.10);

  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --edge: 40px; --section: 144px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 68px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.65; letter-spacing: -0.01em;
  word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
@media (min-width: 768px) { body { font-size: var(--fs-body); } }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4, h5, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: #d7e3ff; color: var(--ink); }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 8px 12px; background: var(--ink); color: #fff; border-radius: 8px; text-decoration: none; transition: top var(--t-state); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--edge) * 2); margin: 0 auto; padding: 0 var(--edge); }
.section { padding: var(--section) 0; }
.section.band { background: var(--band); }
.dark { background: var(--dark); color: var(--on-dark-2); }
.dark :focus-visible { outline-color: var(--blue-bright); }

/* ---------- 글자 ---------- */
.kicker { font-size: var(--fs-small); font-weight: 700; color: var(--blue); letter-spacing: -0.005em; }
.dark .kicker { color: var(--blue-bright); }
.h1, .h2, .h3 { font-weight: 700; color: var(--ink); text-wrap: balance; }
.h1 { font-size: var(--fs-hero); line-height: 1.14; letter-spacing: -0.042em; }
.h2 { font-size: var(--fs-h2); line-height: 1.24; letter-spacing: -0.036em; }
.h3 { font-size: var(--fs-h3); line-height: 1.32; letter-spacing: -0.03em; }
.h4 { font-size: var(--fs-title); line-height: 1.42; font-weight: 700; letter-spacing: -0.022em; color: var(--ink); }
.dark .h1, .dark .h2, .dark .h3, .dark .h4 { color: var(--on-dark); }
.h1 em, .h2 em { font-style: normal; color: var(--blue); }
.dark .h1 em, .dark .h2 em { color: var(--blue-bright); }
.lead { font-size: var(--fs-lead); line-height: 1.6; font-weight: 500; letter-spacing: -0.018em; color: var(--sub); }
.dark .lead { color: var(--on-dark-2); }
.body { line-height: 1.65; color: var(--text); }
.small { font-size: var(--fs-small); line-height: 1.6; color: var(--sub); }
.tiny { font-size: var(--fs-label); line-height: 1.5; color: var(--sub); letter-spacing: 0; }
.num { font-variant-numeric: tabular-nums; }
.head { max-width: 820px; }
.head.center { margin: 0 auto; text-align: center; }
.head .kicker + .h2 { margin-top: 16px; }
.head .lead { margin-top: 20px; }
.head.center .lead { margin-left: auto; margin-right: auto; max-width: 680px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r-btn); border: 1px solid transparent;
  font-size: 16px; font-weight: 700; letter-spacing: -0.015em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.btn:active { transform: scale(.98); }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 17px; border-radius: 14px; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-press); }
.btn-soft { background: var(--band); color: var(--ink); }
.btn-soft:hover { background: #e9ebef; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #e9edf5; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn[disabled] { opacity: .55; cursor: default; }
.text-link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.arrow-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--blue); text-decoration: none; }
.arrow-link::after { content: "›"; font-size: 1.2em; line-height: 1; transform: translateY(-1px); }

.chip {
  display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 8px;
  background: var(--band); border: 1px solid var(--line); font-size: var(--fs-label); font-weight: 600; color: var(--sub); white-space: nowrap; letter-spacing: 0;
}

/* ---------- 상단 탐색 (어두운 면, 스크롤해도 맨 위에 붙어 있다) ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11,13,18,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--dark-line); }
.nav-inner { display: flex; flex-wrap: wrap; align-items: center; min-height: 68px; gap: 0 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: #fff; flex: none; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--blue); flex: none; }
.brand-mark img { width: 78%; height: auto; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: -0.044em; line-height: 1; }
/* 좁은 화면: 구획 링크가 아래 한 줄로 내려온다(가는 선 위, 가로로 넘치면 밀어서 본다) */
.nav-links { order: 3; display: flex; gap: 2px; width: calc(100% + var(--edge) * 2); margin: 0 calc(var(--edge) * -1); padding: 0 calc(var(--edge) - 10px); border-top: 1px solid var(--dark-line); overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.72); text-decoration: none; white-space: nowrap; transition: color var(--t-fast), background-color var(--t-fast); }
.nav-links a:hover { color: #fff; }
/* 지금 보는 구획: 글자를 밝히고 아래에 강조 파랑 한 줄 */
.nav-links a[aria-current] { color: #fff; }
.nav-links a[aria-current]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 2px; border-radius: 1px; background: var(--blue-bright); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-text { padding: 8px 10px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.72); text-decoration: none; white-space: nowrap; }
.nav-text:hover { color: #fff; }
/* 신청 버튼: 평소에는 옅게, 첫 화면 버튼과 신청서가 모두 화면 밖이면 파랗게 채운다(site.js가 is-filled를 붙인다) */
.nav .btn.is-filled { background: var(--blue); }
.nav .btn.is-filled:hover { background: var(--blue-press); }
@media (max-width: 959px) {
  .nav-inner { min-height: 56px; }
  html { scroll-padding-top: 88px; }
}
@media (min-width: 960px) {
  .nav-links { order: 0; width: auto; margin: 0 0 0 16px; padding: 0; border-top: 0; overflow: visible; }
  .nav-links a { padding: 8px 14px; font-size: 15px; }
  .nav-links a:hover { background: rgba(255,255,255,.08); }
  .nav-links a[aria-current]::after { left: 14px; right: 14px; bottom: -13px; }
}

/* ---------- 첫 화면 (어두운 면) ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 32px; text-align: center; }
@media (min-width: 768px) { .hero { padding-top: 96px; } }
.hero .wrap { position: relative; }
.hero-copy { max-width: 1100px; margin: 0 auto; }
/* 문서 이름 다섯: 사이의 선이 이어져 한 줄이 된다 */
.hero-docs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 6px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.hero-docs li { display: inline-flex; align-items: center; color: #fff; }
.hero-docs li + li::before { content: ""; width: 14px; height: 2px; margin: 0 9px; border-radius: 1px; background: var(--blue-bright); }
@media (min-width: 768px) { .hero-docs { font-size: 17px; } .hero-docs li + li::before { width: 28px; margin: 0 14px; } }
/* 강조 줄 '판단에만 집중하세요.'(약 7.9em)가 좁은 폰에서도 한 줄에 들도록, 좁은 폭에서만 글자를 줄인다 */
.hero .h1 { margin-top: 28px; font-size: min(var(--fs-hero), calc((100vw - var(--edge) * 2) / 8.2)); }
.dark .h1 .dim { color: var(--on-dark-3); }
.hero .lead { margin: 24px auto 0; max-width: 660px; text-wrap: balance; }

/* 신청서로 가는 버튼 하나 */
.hero-go { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-note { font-size: 14px; color: var(--on-dark-3); }

.film { margin-top: 56px; }
@media (min-width: 768px) { .film { margin-top: 72px; } }
.film-stage { padding: 14px; border-radius: var(--r-stage); background: var(--dark-2) url("/media/ink-a.webp") 50% 40% / cover no-repeat; border: 1px solid var(--dark-line); box-shadow: 0 40px 120px rgba(0,0,0,.55); }
@media (min-width: 768px) { .film-stage { padding: clamp(28px, 4.6vw, 72px); } }
.film-frame { position: relative; border-radius: 14px; overflow: hidden; background: #eef0f3; aspect-ratio: 16 / 9; box-shadow: 0 2px 6px rgba(0,0,0,.3), 0 30px 80px rgba(0,0,0,.5); }
.film-frame video { width: 100%; height: 100%; object-fit: cover; }
.film-tabs { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 20px; }
.film-tab { position: relative; min-height: 44px; padding: 0 8px; border: 0; background: none; font-size: 15px; font-weight: 600; color: var(--on-dark-3); cursor: pointer; transition: color var(--t-fast); }
@media (min-width: 640px) { .film-tab { padding: 0 16px; } }
.film-tab:hover, .film-tab[aria-current="true"] { color: #fff; }
.film-tab-ind { position: absolute; left: 0; top: 0; height: 2px; border-radius: 1px; background: var(--blue-bright); opacity: 0; pointer-events: none; transition: transform 500ms var(--ease-out), width 500ms var(--ease-out), opacity var(--t-state); }
.film-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; margin-top: 12px; }
.film-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.film-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color var(--t-fast); }
.film-btn:hover { background: rgba(255,255,255,.12); }
.film-btn svg { width: 16px; height: 16px; }

/* ---------- 조사 흐름(축): 한 사건의 기록이 한 축을 따라 문서에서 문서로 바뀐다 ----------
   넓은 화면: 번호 레일 | 글 | 실물. 레일의 선은 다음 자리까지 이어진다. 좁은 화면: 글 위, 실물 아래. */
.rec-note { margin-top: 14px; font-size: var(--fs-label); color: var(--faint); letter-spacing: 0; }
.stations { --st-gap: 96px; margin-top: 72px; display: grid; gap: var(--st-gap); }
@media (min-width: 960px) { .stations { --st-gap: 152px; margin-top: 120px; } }
.st { display: grid; gap: 28px; }
.st > * { min-width: 0; }
.st-rail { display: none; }
.st-doc { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 700; color: var(--blue); }
.st-doc .n { font-variant-numeric: tabular-nums; color: var(--faint); letter-spacing: 0; }
.st-text .h3 { margin-top: 12px; }
.st-text .body { margin-top: 14px; max-width: 32em; color: var(--sub); }
.st-paper { padding: 20px; border-radius: var(--r-stage); background: var(--dark-2) url("/media/ink-b.webp") var(--px, 50%) var(--py, 50%) / 220% auto no-repeat; }
@media (min-width: 640px) { .st-paper { padding: 40px; } }
@media (min-width: 1100px) { .st-paper { padding: 56px; } }
.st-paper .paper { border-color: transparent; box-shadow: 0 2px 6px rgba(0,0,0,.25), 0 24px 64px rgba(0,0,0,.45); }
.st:nth-child(1) .st-paper { --px: 8%; --py: 20%; }
.st:nth-child(2) .st-paper { --px: 70%; --py: 80%; }
.st:nth-child(3) .st-paper { --px: 30%; --py: 60%; }
.st:nth-child(4) .st-paper { --px: 92%; --py: 30%; }
.st:nth-child(5) .st-paper { --px: 46%; --py: 10%; }
.st:nth-child(6) .st-paper { --px: 16%; --py: 92%; }
.st:nth-child(7) .st-paper { --px: 84%; --py: 52%; }
.st-stack { display: grid; gap: 16px; }
@media (min-width: 960px) {
  .st { grid-template-columns: 48px minmax(0, 5fr) minmax(0, 7fr); column-gap: 40px; align-items: start; }
  .st-rail { display: block; position: relative; align-self: stretch; }
  .st-doc .n { display: none; }
  .st-text { padding-top: 8px; }
  .st-stack .loop { margin-left: 48px; }
}
.st-no { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--blue); background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0; transition: background-color 500ms var(--ease-out), border-color 500ms var(--ease-out), color 500ms var(--ease-out); }
.st-no svg { width: 20px; height: 20px; }
/* 레일의 선: 바탕선(::before) 위로 파란 선(::after)이 다음 자리의 번호까지 내려간다 */
.st-rail::before, .st-rail::after { content: ""; position: absolute; left: 23px; top: 56px; bottom: calc(8px - var(--st-gap)); width: 2px; border-radius: 1px; }
.st-rail::before { background: var(--line-strong); }
.st-rail::after { background: var(--blue); transform-origin: top; }
.st:last-child .st-rail::before, .st:last-child .st-rail::after { display: none; }

/* ---------- 제품의 종이(합성 예시) ---------- */
.paper { background: #fff; border: 1px solid var(--line); border-radius: var(--r-paper); box-shadow: var(--shadow-paper); color: var(--ink); letter-spacing: -0.01em; }
.paper-pad { padding: 22px; }
.paper-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.paper-head .tiny { font-weight: 500; }
.paper-title { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.doc-title { text-align: center; font-size: 16px; font-weight: 700; letter-spacing: .5em; padding-left: .5em; }
.doc-text { margin-top: 16px; font-size: 14px; line-height: 1.85; color: var(--text); }
.code { white-space: nowrap; flex: none; display: inline-flex; align-items: center; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--band); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--sub); font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: 0; }
.bar { display: block; height: 9px; border-radius: 5px; background: #eceef1; }
.bars { display: grid; gap: 9px; }
.found { padding: 20px; }
.found h4 { font-size: 14px; font-weight: 600; color: var(--sub); }
.found-list { margin-top: 12px; display: grid; gap: 12px; font-size: 14px; }
.found-list li { display: flex; gap: 10px; align-items: baseline; }
.found-list .fl-t { display: block; font-weight: 700; }
.found-list .fl-s { display: block; font-size: 13px; color: var(--sub); line-height: 1.5; }
.found .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
/* 받아쓰기 조각: 사전에 든 이름이 정확히 받아써진 자리를 표시한다 */
.stt { padding: 16px 20px 4px; display: grid; gap: 10px; font-size: 14px; line-height: 1.6; }
.stt b { display: inline-block; min-width: 44px; margin-right: 8px; font-size: 12px; font-weight: 700; color: var(--sub); }
.stt mark { padding: 0 3px; border-radius: 4px; background: var(--blue-pale); color: var(--blue); font-weight: 700; }
.script-sec { padding: 14px 20px; }
.script-sec + .script-sec { border-top: 1px solid var(--line); }
.script-sec h5 { font-size: 13px; font-weight: 700; color: var(--sub); }
.script-sec ol { margin-top: 8px; display: grid; gap: 7px; font-size: 14px; }
.script-sec li { display: flex; gap: 10px; }
.script-sec .qn { color: var(--faint); font-variant-numeric: tabular-nums; min-width: 16px; font-size: 13px; padding-top: 1px; }
.prec { padding: 20px; }
.prec h4 { font-size: 14px; font-weight: 600; color: var(--sub); }
.prec-row { display: grid; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.prec-row:first-of-type { border-top: 0; }
.prec-type { font-size: 13px; font-weight: 600; color: var(--sub); }
.rec-top { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.rec-state { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.rec-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); }
.rec-time { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.rec-body { display: grid; }
.rec-body > * { min-width: 0; }
@media (min-width: 640px) { .rec-body { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.rec-list { padding: 14px 16px; display: grid; gap: 2px; font-size: 14px; }
.rec-list .h { font-size: 13px; font-weight: 700; color: var(--sub); padding: 8px 8px 4px; }
.rec-q { display: flex; align-items: flex-start; gap: 10px; padding: 7px 8px; border-radius: 8px; }
.rec-q svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.rec-q.done { color: var(--sub); }
.rec-q.now { background: var(--blue-pale); font-weight: 700; }
.rec-memo { padding: 14px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; align-content: start; font-size: 14px; }
@media (min-width: 640px) { .rec-memo { border-top: 0; border-left: 1px solid var(--line); } }
.rec-memo h4 { font-size: 13px; font-weight: 700; color: var(--sub); }
.memo { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.memo time { font-size: 13px; font-weight: 600; color: var(--sub); font-variant-numeric: tabular-nums; padding-top: 1px; }
.wave { display: flex; align-items: center; gap: 3px; height: 40px; padding: 0 20px 16px; overflow: hidden; }
.wave i { flex: 1 1 0; min-width: 1px; border-radius: 2px; background: #9aa3ad; }
.qa-row { display: grid; grid-template-columns: 26px 1fr; gap: 4px 8px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; }
.qa-row:first-of-type { border-top: 0; }
.qa-no { color: var(--faint); font-size: 13px; font-variant-numeric: tabular-nums; padding-top: 1px; }
.qa-q { font-weight: 700; }
.qa-a { grid-column: 2; color: var(--text); }
.qa-q b, .qa-a b { color: var(--sub); font-weight: 600; margin-right: 8px; }
.qa-listen { grid-column: 2; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--blue); }
.qa-listen svg { width: 14px; height: 14px; }
.sign { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.sign-box { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 13px; color: var(--sub); }
.sign-box svg { height: 28px; width: auto; margin-top: 4px; }
.signed { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--green); }
.signed span { display: inline-flex; align-items: center; gap: 6px; }
.signed svg { width: 16px; height: 16px; }
.formats { display: inline-flex; gap: 6px; }
.facts-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.facts-table th, .facts-table td { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; text-align: left; line-height: 1.6; }
.facts-table th { width: 30%; background: var(--band); font-weight: 600; color: var(--sub); font-size: 13px; }
.cite { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 4px; margin-left: 3px; border-radius: 6px; background: var(--blue-pale); color: var(--blue); font-size: 12px; font-weight: 700; vertical-align: 1px; font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: 0; }
.loop { padding: 20px; display: grid; gap: 10px; }
.loop-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; background: #fff; }
.loop-row .role { font-size: 13px; color: var(--sub); min-width: 44px; }
.loop-row .who { font-weight: 700; }
.loop-row .st-state { font-size: 13px; color: var(--sub); font-variant-numeric: tabular-nums; }
.loop-row.done .st-state { color: var(--green); font-weight: 700; }
.loop-row.next { border-color: #b8c9ee; background: var(--blue-pale); }
.loop-row.next .st-state { color: var(--blue); font-weight: 700; }
/* 진정서의 줄 번호와 신고행위 표시 */
.doc-lines { margin-top: 16px; display: grid; gap: 8px; font-size: 14px; line-height: 1.75; color: var(--text); }
.doc-lines li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.doc-lines .no { padding-top: 2px; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; text-align: right; letter-spacing: 0; }
.doc-lines .code { margin-top: 2px; }
.acts { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.acts h4, .checks h4 { font-size: 13px; font-weight: 700; color: var(--sub); }
.acts ul { margin-top: 10px; display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.acts li { display: flex; gap: 10px; align-items: center; margin: 0 -8px; padding: 6px 8px; border-radius: 8px; }
.acts li.is-hl, .script-sec li.is-hl { background: var(--blue-pale); }
.script-sec li.is-hl { margin: 0 -8px; padding: 4px 8px; border-radius: 8px; font-weight: 600; }
/* 질문의 근거 표시와 펼친 근거 */
.basis-chip { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; margin-left: 6px; border-radius: 6px; border: 1px solid var(--line); background: var(--band); font-size: 12px; font-weight: 700; color: var(--sub); vertical-align: 1px; white-space: nowrap; letter-spacing: 0; }
.is-hl .basis-chip { border-color: #c9d6f2; background: #fff; color: var(--blue); }
.basis { margin-top: 12px; padding: 12px 14px; border-radius: 10px; border-left: 3px solid var(--blue); background: var(--band); font-size: 13px; line-height: 1.7; color: var(--text); }
.basis-h { font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: 0; }
.basis-h + p { margin-top: 4px; }
.basis-note { margin-top: 6px; font-size: 12px; color: var(--sub); }
.basis-play { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--blue); }
.basis-play svg { width: 12px; height: 12px; }
.rec-q, .rec-q > span { min-width: 0; }
.rec-q.done > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* 사실관계의 '다음 면담에서 확인할 것' */
.checks { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.checks ul { margin-top: 8px; display: grid; gap: 6px; font-size: 14px; }
.checks li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); }
.checks li.is-hl { border-color: #c9d6f2; background: var(--blue-pale); font-weight: 600; }
.checks .to { flex: none; font-size: 12px; font-weight: 700; color: var(--blue); }
.checks-note { margin-top: 8px; font-size: 12px; color: var(--faint); }
/* 판정례 한 건: 연결 이유 · 다른 조건 · 확인할 점 · 인용 구절 */
.prec-dl { padding: 4px 20px 16px; }
.prec-dl > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.65; }
.prec-dl > div:first-child { border-top: 0; }
.prec-dl dt { padding-top: 1px; font-size: 13px; font-weight: 700; color: var(--sub); }
.prec-open { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--blue); }
/* 앞 문서에서 넘어온 것: 형광펜 */
.hl { padding: 0 1px; background-color: transparent; background-image: linear-gradient(transparent 56%, rgba(35,91,203,.2) 56%); background-repeat: no-repeat; background-size: 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; color: inherit; }

/* ---------- 원문 확인(물길, 어두운 면): 판결문에서 목소리까지 한 줄 ----------
   페이지에서 빛·소리 표시·움직임이 한데 모이는 곳은 여기뿐이다. */
.trace-sec { position: relative; overflow: hidden; }
.trace-sec::before { content: ""; position: absolute; left: 50%; bottom: -360px; width: 1200px; height: 720px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(35,91,203,.28), rgba(35,91,203,0)); pointer-events: none; }
.trace-sec .wrap { position: relative; }
.trace { max-width: 720px; margin: 72px auto 0; }
@media (min-width: 768px) { .trace { margin-top: 96px; } }
.trace-track { position: relative; }
.trace-track::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: var(--end, 12px); width: 2px; border-radius: 1px; background: rgba(255,255,255,.12); }
.trace-flow { position: absolute; left: 10px; top: 12px; width: 4px; height: calc(100% - 12px - var(--end, 12px)); border-radius: 2px; background: var(--blue-bright); box-shadow: 0 0 14px rgba(122,159,238,.75); transition: height 900ms var(--ease-out); }
.trace-line { display: grid; gap: 40px; }
.tn { position: relative; padding-left: 48px; }
.tn::before { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--blue-bright); background: var(--dark); box-shadow: 0 0 0 5px var(--dark); transition: border-color 400ms var(--ease-out), background-color 400ms var(--ease-out); }
.tn:last-child::before { background: var(--blue-bright); }
.tn-doc { font-size: 13px; font-weight: 700; line-height: 24px; color: var(--blue-bright); letter-spacing: 0; }
.tn-text { margin-top: 6px; font-size: clamp(18px, 2vw, 22px); line-height: 1.6; font-weight: 600; letter-spacing: -0.025em; color: #fff; }
.tn-qa { margin-right: 8px; color: var(--on-dark-3); }
.tn .hl { background-image: linear-gradient(transparent 56%, rgba(122,159,238,.34) 56%); }
.tn .cite { background: rgba(122,159,238,.18); color: var(--blue-bright); }
.tn-meta { margin-top: 6px; font-size: var(--fs-small); color: var(--on-dark-2); }
.tn-bars { display: grid; gap: 9px; margin-top: 12px; max-width: 420px; }
.tn-bars i { display: block; height: 9px; border-radius: 5px; background: rgba(255,255,255,.16); }
.tn-audio { margin-top: 10px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); }
.tn-play { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; }
.tn-play svg { width: 14px; height: 14px; margin-left: 2px; }
.tn-eq { display: none; align-items: flex-end; gap: 2px; height: 14px; }
.tn-eq i { width: 3px; height: 100%; border-radius: 1px; background: #fff; transform-origin: bottom; }
.tn-audio.is-playing .tn-play svg { display: none; }
.tn-audio.is-playing .tn-eq { display: flex; }
.tn-audio.is-playing .tn-eq i { animation: eq 520ms ease-in-out infinite alternate; }
.tn-audio.is-playing .tn-eq i:nth-child(2) { animation-delay: -180ms; }
.tn-audio.is-playing .tn-eq i:nth-child(3) { animation-delay: -360ms; }
@keyframes eq { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
/* 녹음 전체의 파형: 지나온 곳은 밝은 파랑, 인용한 구간은 흰색 */
.tn-wave { display: flex; align-items: center; gap: 2px; height: 36px; min-width: 0; overflow: hidden; }
.tn-wave i { flex: 1 1 0; min-width: 1px; border-radius: 2px; background: rgba(255,255,255,.22); }
.tn-wave i.on { background: var(--blue-bright); }
.tn-wave i.at { background: #fff; }
.tn-time { font-size: 17px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.trace-end { margin-top: 72px; text-align: center; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.5; font-weight: 700; letter-spacing: -0.03em; color: #fff; }
.trace-replay { display: flex; margin: 24px auto 0; }

/* ---------- 판단(빈 마당): 넓은 여백 위에 선언 한 줄 ---------- */
.yard { padding: calc(var(--section) * 1.2) 0; }

/* ---------- 자료 보호(금고, 어두운 면): 선언 한 줄, 원칙 넷, 그 밖의 약속 ---------- */
.vault-rule { display: block; width: 40px; height: 2px; margin: 32px auto 0; border-radius: 1px; background: var(--blue-bright); }
.head .vault-rule + .lead { margin-top: 28px; }
.vault { list-style: none; margin: 72px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 768px) { .vault { margin-top: 96px; grid-template-columns: 1fr 1fr; gap: 20px; } }
.vault-card { display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: var(--r-card); background: var(--dark-2); border: 1px solid var(--dark-line); }
@media (min-width: 768px) { .vault-card { padding: 40px 40px 36px; } }
.vault-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--dark-3); color: var(--blue-bright); }
.vault-icon svg { width: 26px; height: 26px; }
.vault-t { margin-top: 28px; font-size: var(--fs-title); line-height: 1.42; font-weight: 700; letter-spacing: -0.022em; color: var(--on-dark); }
.vault-d { flex: 1 0 auto; margin-top: 12px; font-size: 15px; line-height: 1.75; color: var(--on-dark-2); }
@media (min-width: 768px) { .vault-d { font-size: 16px; } }
/* 근거 칩: 조사 흐름의 '근거'와 같은 모양으로, 약속마다 처리방침의 조항을 붙인다 */
.vault-src { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; margin-top: 28px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--dark-line); font-size: var(--fs-label); font-weight: 600; color: var(--on-dark-2); text-decoration: none; letter-spacing: 0; transition: color var(--t-fast), border-color var(--t-fast); }
.vault-src:hover { color: #fff; border-color: rgba(255,255,255,.24); }
.vault-src-h { font-weight: 700; color: var(--blue-bright); }
.vault-src .out, .vault-all .out { width: 11px; height: 11px; flex: none; }
.vault-more { margin-top: 72px; text-align: center; }
@media (min-width: 768px) { .vault-more { margin-top: 96px; } }
.vault-more h3 { font-size: var(--fs-small); font-weight: 700; color: var(--on-dark); }
.vault-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.vault-chips li { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--dark-line); background: rgba(255,255,255,.04); font-size: 14px; font-weight: 600; color: var(--on-dark-2); }
.vault-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; font-size: 15px; font-weight: 700; color: var(--blue-bright); text-decoration: none; }
.vault-all:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 베타 신청: 이유 셋 + 짧은 신청서 ---------- */
.beta { display: grid; gap: 56px; }
@media (min-width: 1000px) { .beta { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; } }
.beta-info .kicker + .h2 { margin-top: 16px; }
.beta-info .lead { margin-top: 20px; }
.perks { margin-top: 40px; display: grid; gap: 4px; }
.perk { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.perk:last-child { border-bottom: 1px solid var(--line); }
.perk-key { font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -0.04em; color: var(--blue); }
.perk-t { font-size: 18px; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }
.beta-steps { margin-top: 32px; display: grid; gap: 8px; counter-reset: bs; }
.beta-steps li { counter-increment: bs; display: grid; grid-template-columns: 28px 1fr; font-size: var(--fs-small); color: var(--text); }
.beta-steps li::before { content: counter(bs); font-weight: 700; color: var(--faint); font-variant-numeric: tabular-nums; }

.form-card { padding: 28px 24px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-float); }
@media (min-width: 640px) { .form-card { padding: 40px; } }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--band); }
.seg button { min-height: 44px; border: 0; border-radius: 10px; background: transparent; font-size: 15px; font-weight: 700; color: var(--sub); cursor: pointer; transition: background-color var(--t-state), color var(--t-state), box-shadow var(--t-state); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15,17,21,.1); }
.form-intro { margin-top: 22px; font-size: var(--fs-small); color: var(--sub); }
.form-intro b { color: var(--ink); }
.fields { margin-top: 20px; display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.label { font-size: 14px; font-weight: 700; color: var(--ink); }
.label .opt { font-weight: 500; color: var(--faint); margin-left: 4px; font-size: 13px; }
.input, .textarea { width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; font-size: 16px; line-height: 1.5; color: var(--ink); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.textarea { min-height: 112px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:hover, .textarea:hover { border-color: var(--faint); }
.input:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(35,91,203,.14); }
.field.is-invalid .input, .field.is-invalid .textarea { border-color: var(--danger); }
.field-error { font-size: 14px; color: var(--danger); }
.field-error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; transition: border-color var(--t-fast), background-color var(--t-fast), color var(--t-fast); }
.choice span:hover { border-color: var(--faint); }
.choice input:checked + span { border-color: var(--blue); background: var(--blue-pale); color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.more { border-top: 1px solid var(--line); padding-top: 14px; }
.more summary { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: 15px; font-weight: 700; color: var(--sub); cursor: pointer; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 18px; font-weight: 500; line-height: 1; transition: transform var(--t-state); }
.more[open] summary::after { transform: rotate(45deg); }
.more-body { margin-top: 14px; display: grid; gap: 18px; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.55; color: var(--ink); font-weight: 600; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 0; accent-color: var(--blue); }
.consent-more { margin: 6px 0 0 34px; font-size: 13px; color: var(--sub); line-height: 1.6; }
.consent-more summary { cursor: pointer; font-weight: 600; color: var(--sub); text-decoration: underline; text-underline-offset: 3px; list-style: none; display: inline; }
.consent-more summary::-webkit-details-marker { display: none; }
.consent-more p { margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 26px; display: grid; gap: 12px; }
.form-actions .btn { width: 100%; }
.form-status { font-size: 15px; line-height: 1.6; }
.form-status.is-error { color: var(--danger); }
.form-done { display: none; padding: 12px 0; }
.form-done h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }
.form-done p { margin-top: 10px; font-size: 16px; color: var(--sub); }
.form-done .small { margin-top: 14px; font-size: var(--fs-small); }
.form-card.is-done form, .form-card.is-done .seg { display: none; }
.form-card.is-done .form-done { display: block; }
.mode-inquiry [data-beta-only] { display: none; }
.mode-beta [data-inquiry-only] { display: none; }

/* ---------- 바닥글 (어두운 면) ---------- */
.footer { background: var(--dark); color: var(--on-dark-2); padding: 72px 0 48px; }
.footer-top { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-top { grid-template-columns: 1fr auto; } }
.footer-tag { margin-top: 14px; font-size: var(--fs-small); color: var(--on-dark-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; font-weight: 600; }
.footer-links a { color: var(--on-dark-2); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.biz { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--dark-line); font-size: 13px; line-height: 1.9; color: var(--on-dark-3); letter-spacing: 0; }
.biz span + span::before { content: "·"; margin: 0 8px; color: rgba(255,255,255,.25); }
.biz a { color: inherit; }

/* ---------- 약관 페이지 ---------- */
.legal { padding: 64px 0 112px; color: var(--text); }
.legal .doc { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.036em; line-height: 1.25; color: var(--ink); }
.legal .meta { margin-top: 8px; font-size: var(--fs-small); color: var(--sub); }
.legal .doc > p { margin-top: 24px; line-height: 1.85; }
.legal section { margin-top: 36px; }
.legal h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.022em; color: var(--ink); }
.legal section p { margin-top: 8px; line-height: 1.85; }
.legal section p + p { margin-top: 2px; }
.legal .back { display: inline-flex; margin-bottom: 24px; font-size: var(--fs-small); font-weight: 600; color: var(--sub); text-decoration: none; }
.legal .back:hover { color: var(--ink); }

/* ---------- 움직임: html.motion(움직임 줄이기 꺼짐)일 때만 ----------
   움직임이 없을 때의 모습이 끝난 모습이다. .motion이 처음 모습을 덮고, 화면에 들어오면(.is-in, .is-on) 끝난 모습으로 돌아간다.
   [data-reveal]는 자식이 차례로(--i), [data-reveal-self]는 자신이 떠오른다. */
.motion [data-reveal] > *, .motion [data-reveal-self] {
  opacity: 0; transform: translateY(32px);
  transition: opacity 1000ms var(--ease-out), transform 1000ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger, 90ms));
}
.motion [data-reveal].is-in > *, .motion [data-reveal-self].is-in { opacity: 1; transform: none; }
.motion .film[data-reveal-self] { transform: translateY(56px) scale(.96); transition-duration: 1400ms; }
.motion .film[data-reveal-self].is-in { transform: none; }
/* 큰 제목: 줄마다 가림막 안에서 밀려 올라온다 */
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > * { display: inline-block; }
.motion [data-reveal] > .h1.lines { opacity: 1; transform: none; }
.motion [data-reveal] .ln > * { transform: translateY(110%); transition: transform 1100ms var(--ease-out); transition-delay: calc(120ms + var(--l, 0) * 130ms); }
.motion [data-reveal].is-in .ln > * { transform: none; }
/* 첫 화면: 문서 이름 다섯이 차례로 놓이고, 사이의 선이 한꺼번에 이어진 뒤 제목이 올라온다 */
.motion .hero-copy[data-reveal] > .hero-docs { opacity: 1; transform: none; }
.motion .hero-docs li { opacity: 0; transform: translateY(10px); color: var(--on-dark-2); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out), color 600ms var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms), calc(var(--d, 0) * 110ms), 760ms; }
.motion .hero-docs li + li::before { background: var(--on-dark-3); transition: background-color 600ms var(--ease-out) 760ms; }
.motion .is-in .hero-docs li { opacity: 1; transform: none; color: #fff; }
.motion .is-in .hero-docs li + li::before { background: var(--blue-bright); }
.motion .hero .ln > * { transition-delay: calc(900ms + var(--l, 0) * 150ms); }
.motion .hero-copy[data-reveal] > .lead { transition-delay: 1250ms; }
.motion .hero-copy[data-reveal] > .hero-go { transition-delay: 1350ms; }
.motion .hero .film[data-reveal-self] { transition-delay: 1100ms; }
/* 조사 흐름: 자리가 화면에 들어오면 글과 실물이 떠오르고, 번호가 채워지고, 형광펜이 그어지고, 다음 자리까지 선이 내려간다 */
.motion .st-text, .motion .st-paper { opacity: 0; transform: translateY(32px); transition: opacity 1000ms var(--ease-out), transform 1000ms var(--ease-out); }
.motion .st-paper { transform: translateY(56px); transition-delay: 120ms; }
.motion .st-paper > * { transform: translateY(28px); transition: transform 1200ms var(--ease-out) 360ms; }
.motion .st.is-on .st-paper > * { transform: none; }
.motion .st.is-on .st-text, .motion .st.is-on .st-paper { opacity: 1; transform: none; }
.motion .st:not(.is-on) .st-no { border-color: var(--line-strong); background: #fff; color: var(--sub); }
.motion .st-rail::after { transform: scaleY(0); transition: transform 1600ms var(--ease-out) 500ms; }
.motion .st.is-on .st-rail::after { transform: none; }
.motion .st .hl { background-size: 0% 100%; transition: background-size 900ms var(--ease-out) 700ms; }
.motion .st.is-on .hl { background-size: 100% 100%; }
/* 원문 확인: 줄이 지나간 마디만 밝다 */
.motion .trace .tn { opacity: .3; transition: opacity 700ms var(--ease-out); }
.motion .trace .tn.is-on { opacity: 1; }
.motion .trace .tn:not(.is-on)::before { border-color: rgba(255,255,255,.24); background: var(--dark); }
.motion .trace .hl { background-size: 0% 100%; transition: background-size 800ms var(--ease-out) 300ms; }
.motion .trace .tn.is-on .hl { background-size: 100% 100%; }
.motion .wave.is-live i { animation: wave-live 900ms ease-in-out infinite alternate; animation-delay: var(--d, 0s); transform-origin: center; }
@keyframes wave-live { to { transform: scaleY(.45); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}
