/* hourlit.com 홈 · 대기 명단 쪽 — 어두운 편집실: 영상이 빛나는 숯 바탕 · 타임라인 · 불씨.
   바깥 글꼴 · 인라인 스타일 없음(CSP style-src 'self'). 모든 쪽(홈 · 대기 명단 · 법 · 404)이 이 파일 하나. */
/* 글꼴 · 브랜드 원색은 앱과 한 벌(화면 디자인 시스템 packages/ui) — 아래 두 칸은 그 정본에서 지어 넣는다. */
/* @hourlit/ui fonts — 지은 칸(packages/ui/src/tokens.ts) */
@font-face { font-family: "HourlitSans"; src: url("/fonts/hourlit-sans-medium.woff2?v=e1401ebf25e7") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "HourlitSans"; src: url("/fonts/hourlit-sans-bold.woff2?v=e1401ebf25e7") format("woff2"); font-weight: 700 800; font-display: swap; }
@font-face { font-family: "HourlitSans"; src: url("/fonts/hourlit-sans-black.woff2?v=e1401ebf25e7") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "HourlitMono"; src: url("/fonts/hourlit-mono-bold.woff2?v=e1401ebf25e7") format("woff2"); font-weight: 400 900; font-display: swap; }
/* @hourlit/ui fonts — 끝 */

:root {
  color-scheme: dark;
  /* @hourlit/ui brand — 지은 칸(packages/ui/src/tokens.ts) */
  --ink: #120f0b;
  --panel: #1b1712;
  --ash: #2a241d;
  --ash-2: #40382e;
  --paper: #f6efe3;
  --dim: #b9b0a3;
  --lamp: #ffb547;
  --ember: #ff6a2b;
  --bad: #ff9a7a;
  --mono: "HourlitMono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  /* @hourlit/ui brand — 끝 */
  --gutter: clamp(16px, 3.4vw, 64px);
  --reel: min(17vw, calc((100svh - 250px) * 0.6));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 500 1.0625rem/1.55 "HourlitSans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: clip;
}
a { color: inherit; text-underline-offset: 0.2em; text-decoration-color: var(--ash-2); }
a:hover { text-decoration-color: var(--lamp); }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; border: 0; }
main { display: block; max-width: none; margin: 0; padding: 0; }
details { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
ul, ol { list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; background: var(--paper); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* 머리 */
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.lockup img { width: 36px; height: 36px; display: block; }
.lockup span { font-weight: 900; font-size: 26.5px; letter-spacing: -0.02em; line-height: 1; }
.lockup-sm img { width: 24px; height: 24px; }
.lockup-sm span { font-size: 18px; }
.status { display: inline-flex; align-items: center; gap: 9px; font: 700 0.8125rem/1 var(--mono); color: var(--paper); }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ember); }

/* 첫 화면: 왼쪽 말과 폼 · 오른쪽 실제 영상 · 맨 아래 온 폭 타임라인 */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto;
  column-gap: clamp(28px, 4vw, 96px); padding: 0 var(--gutter); min-height: calc(100svh - 74px);
}
.pitch { align-self: center; padding: 8px 0 28px; max-width: 42rem; }
.brand-line { font: 700 0.9375rem/1 var(--mono); color: var(--lamp); margin-bottom: 20px; }
h1 { font-weight: 900; font-size: clamp(2.6rem, min(5.2vw, 10.4vh), 6.5rem); line-height: 0.98; letter-spacing: -0.035em; }
h1 em { display: block; font-style: normal; color: var(--lamp); }
.lede { margin-top: 22px; color: var(--dim); font-size: clamp(1.0625rem, 1.25vw, 1.3rem); line-height: 1.5; max-width: 36rem; }
.action { margin-top: 28px; max-width: 38rem; }

/* 폼 */
.wl-row { display: flex; align-items: stretch; padding: 6px; border-radius: 16px; background: var(--paper); transition: box-shadow 0.15s ease; }
.wl-row:focus-within { box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--lamp); }
.wl-row input[type="email"] {
  flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 14px; border: 0; background: transparent; color: var(--ink);
  font: 700 1.0625rem/1 "HourlitSans", system-ui, sans-serif; outline: none;
}
.wl-row input::placeholder { color: #6b6256; font-weight: 500; }
.wl-go {
  position: relative; flex: none; min-height: 52px; padding: 0 22px; border: 0; border-radius: 11px; background: var(--ink); color: var(--paper);
  font: 900 1.0625rem/1 "HourlitSans", system-ui, sans-serif; cursor: pointer; white-space: nowrap; transition: background-color 0.15s ease, color 0.15s ease;
}
.wl-go:hover { background: var(--ember); color: var(--ink); }
.wl-go:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.wl-go[aria-busy="true"] { color: transparent; pointer-events: none; }
.wl-go[aria-busy="true"]::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
  border: 3px solid var(--ash-2); border-top-color: var(--lamp); animation: turn 0.8s linear infinite;
}
@keyframes turn { to { transform: rotate(360deg); } }

.check { display: flex; gap: 10px; align-items: flex-start; }
.consent { margin-top: 14px; color: var(--dim); font-size: 0.9375rem; line-height: 1.4; cursor: pointer; min-height: 24px; }
.consent a { color: var(--paper); }
.consent input {
  appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 2px solid var(--dim); border-radius: 6px; background: transparent; cursor: pointer;
  display: grid; place-content: center; transition: background-color 0.12s ease, border-color 0.12s ease;
}
.consent input::after { content: ""; width: 11px; height: 6px; margin-top: -3px; border: solid var(--ink); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); opacity: 0; }
.consent input:checked { background: var(--lamp); border-color: var(--lamp); }
.consent input:checked::after { opacity: 1; }
.consent input:focus-visible { outline: 3px solid var(--lamp); outline-offset: 2px; }
.cf-turnstile:not([data-open]) { height: 0; overflow: hidden; } /* 봇 막기 칸은 도전 · 오류 · 만료 등 보일 것이 있을 때만 자리를 차지(site.js) */
.wl-err { margin-top: 10px; color: var(--bad); font-weight: 700; font-size: 0.9375rem; }
.wl-err[hidden] { display: none; }
.consent input[aria-invalid="true"] { border-color: var(--bad); }

.wl-more { margin-top: 10px; font-size: 0.9375rem; color: var(--dim); }
.wl-more summary { cursor: pointer; width: fit-content; padding: 6px 0; font-weight: 700; list-style-position: inside; }
.wl-more summary:hover { color: var(--paper); }
.wl-more fieldset { margin: 6px 0 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kinds-rail::-webkit-scrollbar { display: none; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--ash-2); border-radius: 999px; color: var(--paper); font-weight: 700; transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease; }
.chip:hover span { border-color: var(--dim); }
.chip input:checked + span { background: var(--lamp); border-color: var(--lamp); color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--lamp); outline-offset: 2px; }
.cf-turnstile { margin: 0; }

.follow { display: inline-block; margin-top: 16px; padding: 6px 0; font-weight: 700; color: var(--dim); }
.follow:hover { color: var(--paper); }
/* 폼이 없을 때(문 닫힘)는 구독이 주인공 */
.action:not(:has(form)) .follow { display: inline-flex; gap: 10px; align-items: center; margin: 0; min-height: 56px; padding: 0 24px; border-radius: 14px; background: var(--lamp); color: var(--ink); font-weight: 900; font-size: 1.0625rem; text-decoration: none; }
.action:not(:has(form)) .follow:hover { background: var(--paper); color: var(--ink); }

/* 실제 영상 */
.stage { align-self: center; display: flex; gap: clamp(10px, 1.1vw, 20px); align-items: flex-start; padding-top: 4px; }
.reel { position: relative; }
.nojs-poster { position: absolute; z-index: 1; inset: 0 0 auto 0; width: 100%; height: auto; aspect-ratio: 9 / 13; object-fit: cover; object-position: 50% 26%; border-radius: 16px; }
.reel video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 13; object-fit: cover; object-position: 50% 26%; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--ash-2); }
.reel figcaption { display: grid; gap: 2px; padding: 10px 2px 0; font-size: 0.8125rem; line-height: 1.25; }
.ch { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font-weight: 700; text-decoration: none; }
.ch:hover { text-decoration: underline; }
.ch img { width: 18px; height: 18px; flex: none; }
.len { font: 700 0.8125rem/1.2 var(--mono); color: var(--lamp); }
.credit { display: block; color: #8f877b; font-size: 0.6875rem; line-height: 1.3; }
.stage .reel { width: var(--reel); }
.stage .reel:nth-child(1) { margin-top: 44px; }
.stage .reel:nth-child(2) { width: calc(var(--reel) * 1.14); }
.stage .reel:nth-child(3) { margin-top: 20px; }

/* 온 폭 타임라인 — 긴 원본(눈금) 위에 불이 켜진 조각 셋 · 끝에 불씨 재생 머리 */
.track {
  grid-column: 1 / -1; position: relative; height: 52px; margin: 18px calc(var(--gutter) * -1) 0;
  background:
    repeating-linear-gradient(to right, var(--ash-2) 0 1px, transparent 1px 96px) 0 0 / 100% 14px no-repeat,
    repeating-linear-gradient(to right, var(--ash) 0 1px, transparent 1px 16px) 0 0 / 100% 7px no-repeat,
    linear-gradient(var(--ash), var(--ash)) 0 18px / 100% 8px no-repeat;
}
.track span { position: absolute; top: 30px; font: 700 0.6875rem/1 var(--mono); color: var(--dim); white-space: nowrap; }
.t-a { left: var(--gutter); }
.t-b { right: var(--gutter); color: var(--lamp) !important; }
.track i { position: absolute; top: 18px; height: 8px; background: var(--lamp); }
.track i:nth-of-type(1) { left: 58%; width: 5%; }
.track i:nth-of-type(2) { left: 70%; width: 8%; }
.track i:nth-of-type(3) { left: 86%; width: 6%; }
.track b { position: absolute; top: 15px; left: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--ember); animation: play 16s linear infinite; }
@keyframes play { from { transform: translateX(0); } to { transform: translateX(100vw); } }
.motion {
  position: fixed; right: var(--gutter); bottom: 66px; z-index: 5; min-height: 36px; padding: 0 12px; border: 1px solid var(--ash-2); border-radius: 10px; background: var(--ink); color: var(--dim);
  font: 700 0.75rem/1 var(--mono); cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.motion::before { content: ""; width: 9px; height: 11px; border: solid currentColor; border-width: 0 3px; }
.motion[data-paused]::before { width: 0; height: 0; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.motion:hover { color: var(--paper); border-color: var(--dim); }
.motion[hidden] { display: none; }
body[data-paused] .track b { animation-play-state: paused; }

/* 편집 기록 */
h2 { font-weight: 900; font-size: clamp(2rem, 3.8vw, 4rem); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.cut {
  display: grid; grid-template-columns: minmax(240px, 25vw) minmax(0, 1fr); gap: clamp(28px, 6vw, 120px); align-items: center;
  max-width: 1760px; margin: 0 auto; padding: clamp(64px, 9vw, 150px) var(--gutter);
}
.sub { margin-top: 16px; color: var(--dim); font-size: clamp(1.0625rem, 1.25vw, 1.3rem); max-width: 40rem; }
.big-len { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3em; margin-top: 34px; font: 700 clamp(2rem, 4.4vw, 4.75rem)/1 var(--mono); letter-spacing: -0.04em; color: var(--dim); }
.big-len i { font-style: normal; color: var(--ash-2); }
.big-len .lit { color: var(--lamp); }
.source { margin-top: 26px; }
.bar { display: block; width: 100%; height: 14px; border-radius: 3px; }
.bar-zoom { height: 30px; }
.b-off { fill: var(--ash); }
.b-on { fill: var(--lamp); }
.b-mark { fill: var(--ember); }
.zoom-lines { height: 24px; clip-path: polygon(71.2% 0, 80.9% 0, 100% 100%, 0 100%); background: var(--ash); }
.source figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font: 700 0.75rem/1.2 var(--mono); color: var(--dim); }
.log-head { display: grid; grid-template-columns: 5.2rem 5rem minmax(0, 1fr); gap: 10px; margin-top: 26px; padding-bottom: 8px; font: 700 0.6875rem/1.2 var(--mono); color: var(--dim); }
.log { border-top: 1px solid var(--ash); }
.log li { display: grid; grid-template-columns: 5.2rem 5rem minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--ash); }
.log .tc { font: 700 0.8125rem/1.2 var(--mono); color: var(--dim); }
.log b { font: 700 0.8125rem/1.2 var(--mono); color: var(--lamp); text-transform: uppercase; }

/* 장르 */
.kinds { max-width: 1760px; margin: 0 auto; padding: clamp(32px, 4vw, 64px) var(--gutter) clamp(64px, 8vw, 120px); }
.kinds h2 { max-width: 22ch; }
.kinds-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 32px); margin-top: clamp(28px, 4vw, 56px); }
.kind h3 { margin: 16px 0 6px; font-weight: 900; font-size: 1.3rem; letter-spacing: -0.015em; }
.kind p { color: var(--dim); }
.kind .meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; font-size: 0.875rem; }
.kind .meta a { color: var(--paper); }
.kind .credit { margin-top: 4px; }
.reel-live h3 { color: #ff6b81; }
.reel-gaming h3 { color: #4da3ff; }
.reel-talks h3 { color: #2fd3e0; }
.reel-space h3 { color: #c9d3e3; }

/* 만드는 것 */
.build { max-width: 1760px; margin: 0 auto; padding: 0 var(--gutter) clamp(64px, 8vw, 120px); }
.build ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 56px); margin-top: clamp(24px, 3vw, 44px); }
.build li { padding-top: 16px; border-top: 3px solid var(--lamp); color: var(--dim); font-size: clamp(1.0625rem, 1.2vw, 1.25rem); }
.build b { display: block; margin-bottom: 8px; color: var(--paper); font-weight: 900; font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.1; letter-spacing: -0.02em; }

/* 두 번째 폼 — 램프색 온 폭 */
.last { background: var(--lamp); color: var(--ink); padding: clamp(48px, 7vw, 110px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 80px); align-items: center; }
.last h2 { font-size: clamp(2.4rem, 5.5vw, 6rem); }
.last .action { margin: 0; max-width: none; }
.last .wl-note { margin-bottom: 14px; font-weight: 700; }
.last .wl-row { background: var(--ink); }
.last .wl-row input[type="email"] { color: var(--paper); }
.last .wl-row input::placeholder { color: var(--dim); }
.last .wl-row:focus-within { box-shadow: 0 0 0 3px var(--lamp), 0 0 0 6px var(--ink); }
.last .wl-go { background: var(--lamp); color: var(--ink); }
.last .wl-go:hover { background: var(--paper); }
.last .wl-go:focus-visible { outline: 3px solid var(--paper); outline-offset: 2px; }
.last .consent, .last .consent a, .last .wl-more, .last .wl-more summary { color: var(--ink); }
.last .consent input { border-color: var(--ink); }
.last .consent input:checked { background: var(--ink); border-color: var(--ink); }
.last .consent input::after { border-color: var(--lamp); }
.last .chip span { border-color: var(--ink); color: var(--ink); }
.last .chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.last .wl-err { color: #6a1500; }
.last :focus-visible:not(.wl-go), .last .chip input:focus-visible + span, .last .consent input:focus-visible { outline-color: var(--ink); }
.last .follow { color: var(--ink); }
.last .action:not(:has(form)) .follow { background: var(--ink); color: var(--paper); }

/* 채널 줄 · 바닥 */
.channels { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 24px; padding: 28px var(--gutter); border-bottom: 1px solid var(--ash); font-size: 0.9375rem; }
.channels h2 { font: 700 0.8125rem/1 var(--mono); letter-spacing: 0; color: var(--dim); }
.channels ul { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.channels a { display: inline-block; padding: 4px 0; text-decoration: none; }
.channels a:hover { color: var(--lamp); }
.channels .gap { margin-left: 12px; }
.foot { padding: 24px var(--gutter) 40px; color: var(--dim); font-size: 0.9375rem; }
.credits-note { font-size: 0.8125rem; }
.credits-note a { color: var(--dim); }
.credits { font-size: 0.8125rem; }
.credits summary { cursor: pointer; width: fit-content; padding: 4px 0; }
.credits ul { display: grid; gap: 10px; margin-top: 10px; max-width: 70rem; font-size: 0.875rem; }
.credits p { margin-top: 10px; font-size: 0.875rem; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 22px; color: var(--paper); }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-row nav a { padding: 4px 0; }
.foot-row nav a[aria-current="page"] { color: var(--lamp); }
.foot-row p { color: var(--dim); }

/* 좁은 노트북: 제목이 두 줄로 끊기지 않게 말 쪽에 자리를 더 */
@media (min-width: 1081px) and (max-width: 1400px) {
  :root { --reel: min(15.4vw, calc((100svh - 250px) * 0.6)); }
}

/* 낮은 노트북: 폼과 구독 링크가 접힘선 안에 */
@media (min-width: 1081px) and (max-height: 800px) {
  .pitch { padding: 0 0 12px; }
  .brand-line { margin-bottom: 12px; }
  .lede { margin-top: 14px; font-size: 1.0625rem; line-height: 1.42; }
  .action { margin-top: 16px; }
  .consent { margin-top: 10px; }
  .wl-more { margin-top: 4px; }
  .follow { margin-top: 2px; }
  .track { margin-top: 8px; }
}

/* 넓은 태블릿: 영상을 말 아래로 */
@media (max-width: 1080px) {
  :root { --reel: min(29vw, 300px); }
  .hero { display: block; min-height: 0; }
  .pitch { padding-bottom: 26px; }
  h1 { font-size: clamp(2.6rem, 8.2vw, 5rem); }
  .stage { justify-content: center; }
  .motion { right: 12px; bottom: 12px; }
  .cut { grid-template-columns: minmax(180px, 30vw) minmax(0, 1fr); align-items: start; }
  .kinds-rail { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 10px 0; }
  .kind { flex: 0 0 min(62vw, 290px); scroll-snap-align: start; }
  .build ul { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .last { grid-template-columns: minmax(0, 1fr); }
}

/* 휴대폰: 첫 화면 안에 말과 이메일 칸 · 영상이 바로 아래에서 고개를 든다 */
@media (max-width: 640px) {
  :root { --reel: 42vw; }
  body { font-size: 1rem; }
  .top { padding-top: 12px; padding-bottom: 12px; }
  .lockup img { width: 30px; height: 30px; }
  .lockup span { font-size: 22px; }
  .brand-line { display: none; }
  .pitch { padding-top: 6px; padding-bottom: 20px; }
  h1 { font-size: clamp(2.3rem, 11.4vw, 3.2rem); }
  .lede { margin-top: 14px; font-size: 1rem; line-height: 1.42; }
  .action { margin-top: 18px; }
  .wl-row { flex-direction: column; gap: 6px; }
  .wl-row input[type="email"] { min-height: 50px; text-align: left; }
  .wl-go { width: 100%; }
  .stage { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .stage .reel { flex: none; scroll-snap-align: center; }
  .stage .reel:nth-child(1), .stage .reel:nth-child(3) { margin-top: 0; }
  .stage .reel:nth-child(2) { width: var(--reel); }
  .motion { right: 12px; bottom: 12px; width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; }
  .motion span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .track { margin-top: 12px; }
  .cut { display: flex; flex-direction: column-reverse; align-items: stretch; }
  .reel-big { width: min(74vw, 320px); align-self: center; }
  .log li, .log-head { grid-template-columns: 4.6rem 3.9rem minmax(0, 1fr); gap: 8px; }
  .kind { flex-basis: 66vw; }
  .channels .gap { margin-left: 0; }
  .foot-row p { width: 100%; }
}

/* 가로 휴대폰: 말과 폼을 왼쪽에 · 영상은 오른쪽 작게 */
@media (max-height: 500px) and (orientation: landscape) {
  :root { --reel: 14vw; }
  .top { padding-top: 8px; padding-bottom: 8px; }
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; min-height: 0; }
  .brand-line { display: none; }
  .pitch { padding: 0 0 10px; }
  h1 { font-size: 2rem; line-height: 1.02; }
  h1 em { display: inline; }
  .lede { margin-top: 8px; font-size: 0.9375rem; line-height: 1.35; }
  .action { margin-top: 10px; }
  .wl-row { flex-direction: row; }
  .wl-row input[type="email"], .wl-go { min-height: 44px; }
  .wl-go { width: auto; }
  .stage { justify-content: flex-end; overflow: visible; margin: 0; padding: 0; }
  .stage .reel:nth-child(3) { display: none; }
  .stage .reel figcaption { display: none; }
}

/* 움직임 줄이기: 영상은 표지만(소스 media로 막음) · 타임라인 머리도 멈춤 */
@media (prefers-reduced-motion: reduce) {
  .track b { animation: none; left: 76%; transform: none; }
  .wl-go[aria-busy="true"]::after { animation-duration: 2.4s; }
  * { transition: none !important; }
}

/* 대기 명단 쪽 · 404 — 왼쪽 정렬로 로고와 같은 선 */
.state { max-width: calc(44rem + 2 * var(--gutter)); padding: clamp(40px, 12vh, 120px) var(--gutter); }
.state h1 { font-size: clamp(2.5rem, 7vw, 4.75rem); }
.state .lede { margin-top: 18px; }
.state .lede a { color: var(--paper); }
.state form, .state .next { margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border: 0; border-radius: 14px;
  background: var(--lamp); color: var(--ink); font: 900 1.0625rem/1 "HourlitSans", system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease;
}
.button:hover { background: var(--paper); }
.statepage { min-height: 100svh; display: flex; flex-direction: column; }
.statepage main { flex: 1; }
.statepage .foot .lockup { display: none; } /* 짧은 상태 쪽 — 위 머리에 로고가 이미 있음 */

/* 법 페이지 */
.doc { max-width: calc(44rem + 2 * var(--gutter)); padding-inline: var(--gutter); padding-block: clamp(24px, 5vh, 56px) 24px; }
.doc a { color: var(--lamp); text-decoration-color: currentColor; }
.doc h1 { margin: 0 0 6px; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; }
.doc h2 { margin: 40px 0 10px; font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.01em; }
.doc h3 { margin: 26px 0 8px; font-weight: 700; font-size: 1.1rem; }
.doc p { margin: 0 0 14px; }
.doc .updated { margin-bottom: 28px; color: var(--dim); }
.doc ul, .doc ol { margin: 0 0 14px; padding-left: 1.25rem; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc li + li { margin-top: 6px; }
.doc code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; overflow-wrap: anywhere; }
.doc .note { padding: 14px 16px; border-left: 4px solid var(--lamp); background: var(--panel); border-radius: 0 10px 10px 0; }
.doc .toc { padding: 14px 16px 14px 2rem; border: 1px solid var(--ash); border-radius: 12px; background: var(--panel); }
.table-wrap { overflow-x: auto; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: 0.98rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--ash); }
.doc th { font-weight: 700; }

/* 가입을 여는 날의 홈(launch/index.html — 여는 날 묶음이 public/index.html로 옮긴다 · 그 전에는 이 줄들을 쓰는 쪽이 없다) */
.top-nav { display: flex; align-items: center; gap: 8px 22px; font-weight: 700; }
.top-nav a { padding: 6px 0; text-decoration: none; }
.top-nav .button { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.cta .more { padding: 6px 0; font-weight: 700; color: var(--paper); }
.cta-note { margin-top: 14px; font: 700 0.8125rem/1.3 var(--mono); color: var(--dim); }
.layers ul, .open ul { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.layers b { font-size: clamp(1.25rem, 1.6vw, 1.6rem); }
.pair ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 32px); margin-top: clamp(24px, 3vw, 44px); }
.pair li, .more-kinds .kind { padding: 22px; border: 1px solid var(--ash); border-radius: 18px; background: var(--panel); color: var(--dim); }
.pair li b { display: block; margin-bottom: 8px; color: var(--lamp); font-weight: 900; font-size: clamp(1.4rem, 2vw, 2rem); letter-spacing: -0.02em; }
.pair .sub a, .suggest .sub a, .kits .sub a { color: var(--paper); }
.suggest .sub, .kits .sub { margin-top: 18px; }
.kit-samples { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: clamp(14px, 1.8vw, 32px); margin-top: clamp(24px, 3vw, 44px); }
.kit-samples:empty { display: none; }
.kit-samples img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px var(--ash-2); }
.kit-samples figcaption { padding-top: 10px; color: var(--dim); }
.kit-samples figcaption b { display: block; color: var(--paper); font-weight: 900; }
.more-kinds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 32px); margin-top: clamp(14px, 1.8vw, 32px); }
.more-kinds .kind h3 { margin-top: 0; }
.open li b { font-size: clamp(1.25rem, 1.6vw, 1.6rem); }
.last .cta { margin: 0; }
.last .cta .button { background: var(--ink); color: var(--paper); }
.last .cta .button:hover { background: var(--paper); color: var(--ink); }
.last .cta .more { color: var(--ink); }
@media (max-width: 1080px) {
  .pair ul, .more-kinds { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .top-nav { gap: 8px 14px; }
  .top-nav .button { min-height: 40px; padding: 0 14px; }
}
