/* 모두컷 · ModuCut 랜딩 — 컷 테이블 위의 한 줄 타임라인 */
:root {
  --paper: #eef0ea;
  --paper-2: #e3e6de;
  --card: #ffffff;
  --ink: #14181a;
  --muted: #4f5a53;
  --line: #cfd4cb;
  --line-strong: #aeb5ac;
  --stage: #101312;
  --stage-2: #1b201c;
  --stage-3: #262c27;
  --stage-line: #2e352f;
  --stage-text: #e6ebe4;
  --stage-muted: #a7b2a8;
  --lime: #cbfb67;
  --lime-ink: #3f6a00;
  --lime-soft: #e9f7c9;
  --focus: #3f6a00;

  --font-sans: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-latin: "Space Grotesk", "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", sans-serif;
  --font-mono: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-xs: 0.8125rem;
  --fs-s: 0.9375rem;
  --fs-m: 1.0625rem;
  --fs-l: clamp(1.25rem, 1rem + 0.8vw, 1.5rem);
  --fs-xl: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  --fs-display: clamp(2.5rem, 1.6rem + 4.4vw, 5rem);

  --space-section: clamp(64px, 5rem + 3vw, 120px);
  --gutter: clamp(20px, 3vw, 40px);
  --max: 1240px;
  --measure: 660px;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --shadow-1: 0 1px 2px rgba(16, 19, 18, 0.08);
  --shadow-2: 0 12px 32px -16px rgba(16, 19, 18, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 160ms;
  --t-reveal: 560ms;
  --t-story: 720ms;
}
@media (min-width: 800px) {
  :root { --fs-m: 1.125rem; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-m);
  line-height: 1.7;
  font-feature-settings: "ss01";
  text-wrap: pretty;
  word-break: keep-all;
  overflow-x: clip;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; word-break: keep-all; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 0.18em; }
a:hover { text-decoration-color: currentColor; }
img, picture, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
kbd, code, .mono, .tc {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
kbd {
  display: inline-block;
  padding: 0 0.45em;
  font-size: 0.86em;
  line-height: 1.6;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--card);
  white-space: nowrap;
}
code {
  font-size: 0.9em;
  padding: 0.05em 0.4em;
  background: var(--paper-2);
  border-radius: 5px;
}
.latin { font-family: var(--font-latin); font-weight: 700; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: #fff; border-radius: var(--radius-s);
}
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.measure { max-width: var(--measure); }
section { padding-block: var(--space-section); }

/* ── 헤더 ─────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand .ko { font-size: 1.125rem; letter-spacing: -0.02em; }
.brand .latin { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: var(--fs-s); font-weight: 500; text-decoration: none; border-radius: var(--radius-s);
  transition: background var(--t-fast) var(--ease);
}
.site-nav a:hover { background: var(--paper-2); }
.site-nav a[aria-current="page"] { font-weight: 700; }
@media (max-width: 640px) {
  .site-nav a.nav-hide { display: none; }
  .brand .latin { display: none; }
}

/* ── 버튼 ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: var(--fs-s); text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink); color: var(--lime); box-shadow: var(--shadow-1); }
.btn-primary:hover { background: #000; box-shadow: var(--shadow-1), var(--shadow-2); }
.btn-primary .arrow { transition: transform var(--t-fast) var(--ease); }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--card); border-color: var(--ink); }
.stage .btn-primary { background: var(--lime); color: var(--ink); }
.stage .btn-primary:hover { background: #d9ff85; }
.stage .btn-ghost { color: var(--stage-text); border-color: var(--stage-line); }
.stage .btn-ghost:hover { background: var(--stage-2); border-color: var(--stage-muted); }

/* ── 공통 타이포 조각 ─────────────────────────── */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.02em;
  color: var(--lime-ink); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.stage .eyebrow { color: var(--lime); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { font-size: var(--fs-xl); font-weight: 800; }
.section-head .lead { font-size: var(--fs-l); color: var(--muted); line-height: 1.55; }
.lead { color: var(--muted); }
.note { font-size: var(--fs-s); color: var(--muted); }
.tc { font-weight: 500; color: var(--lime-ink); font-size: var(--fs-s); letter-spacing: 0.02em; }
.stage .tc { color: var(--lime); }
.stage .note { color: var(--stage-muted); }

/* ── 모니터 프레임(실제 화면) ─────────────────── */
.monitor { margin: 0; }
.monitor .screen {
  background: var(--stage); border-radius: var(--radius-l); padding: 8px;
  border: 1px solid var(--stage-line); box-shadow: var(--shadow-1), var(--shadow-2);
}
.monitor .screen img { width: 100%; border-radius: calc(var(--radius-l) - 8px); }
.monitor.tight .screen { padding: 0; overflow: hidden; }
.monitor.tight .screen img { border-radius: 0; }
.monitor figcaption, .shot figcaption {
  margin-top: 12px; font-size: var(--fs-xs); color: var(--muted);
  display: flex; gap: 8px; align-items: baseline;
}
.monitor figcaption::before, .shot figcaption::before { content: "▸"; color: var(--lime-ink); font-size: 0.75em; }
.stage .monitor figcaption { color: var(--stage-muted); }
.shot { margin: 0; }
.shot img { border-radius: var(--radius-m); border: 1px solid var(--stage-line); box-shadow: var(--shadow-2); }

/* ── 히어로 ───────────────────────────────────── */
.hero { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(56px, 6vw, 88px); }
.ruler { position: relative; height: 34px; margin-bottom: clamp(32px, 4vw, 56px); color: var(--muted); }
.ruler svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ruler .labels { position: absolute; inset: 0; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; }
.ruler .labels span { transform: translateY(-2px); }
.ruler .labels span:first-child { transform: translate(-0.1em, -2px); }
.ruler .labels span:last-child { transform: translate(0.1em, -2px); }
.ruler .playhead {
  position: absolute; top: 12px; bottom: -6px; left: 0; width: 2px; background: var(--ink);
  transform: translateX(calc(var(--pos, 0) * 1px));
}
.ruler .playhead::before { content: ""; position: absolute; top: -8px; left: -5px; width: 12px; height: 12px; background: var(--lime); border: 2px solid var(--ink); border-radius: 3px; }
.hero-grid { display: grid; gap: clamp(32px, 4vw, 64px); grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; }
.hero h1 { font-size: var(--fs-display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; margin-top: 18px; }
.hero .lead { font-size: var(--fs-l); margin-top: 22px; max-width: 34em; line-height: 1.6; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.status { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; font-size: var(--fs-s); color: var(--muted); }
.status .dot { flex: none; width: 10px; height: 10px; margin-top: 0.55em; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); }
.hero-facts { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.hero-facts li { display: grid; grid-template-columns: 3.2em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-s); line-height: 1.5; }
.hero-facts strong { display: block; font-weight: 700; }
.hero-facts span { color: var(--muted); }
.hero-monitor { margin-top: clamp(40px, 5vw, 72px); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ruler .labels span:nth-child(even) { display: none; }
  .seg.cap .name { display: none; }
  .tl { grid-template-columns: 40px 1fr; }
}

/* 등장 모션(JS 있을 때만) */
html.js [data-reveal] { opacity: 0; transform: translateX(28px); }
html.js [data-reveal].in { opacity: 1; transform: none; transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); transition-delay: var(--d, 0ms); }
html.js [data-reveal="up"] { transform: translateY(24px); }
html.js .hero-monitor { opacity: 0; transform: translateY(24px); }
html.js .hero-monitor.in { opacity: 1; transform: none; transition: opacity 640ms var(--ease), transform 640ms var(--ease); }
html.js .ruler svg .tick { stroke-dasharray: 1600; stroke-dashoffset: 1600; }
html.js .ruler.in svg .tick { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease); }
html.js .ruler .playhead { transition: transform 900ms var(--ease) 200ms; }

/* ── 장면(누구를 위한) ────────────────────────── */
.scenes { padding-top: 0; }
.edl { list-style: none; border-top: 1px solid var(--line-strong); }
.edl li { display: grid; grid-template-columns: 5.5em minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(16px, 3vw, 40px); padding: clamp(22px, 3vw, 32px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.edl h3 { font-size: var(--fs-l); font-weight: 700; }
.edl p { color: var(--muted); }
.edl .tool { display: inline-block; margin-top: 10px; font-size: var(--fs-xs); font-weight: 600; color: var(--ink); background: var(--lime-soft); padding: 2px 10px; border-radius: 999px; }
@media (max-width: 760px) {
  .edl li { grid-template-columns: 4em 1fr; }
  .edl li p { grid-column: 2; }
}

/* ── 어두운 무대 ──────────────────────────────── */
.stage { background: var(--stage); color: var(--stage-text); }
.stage .section-head .lead { color: var(--stage-muted); }
.stage kbd { background: var(--stage-2); border-color: var(--stage-line); color: var(--stage-text); }
.stage code { background: var(--stage-2); }
.stage a { text-decoration-color: var(--stage-muted); }

/* 자동 컷 미리보기 */
.demo-layout { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
@media (max-width: 960px) { .demo-layout { grid-template-columns: 1fr; } }
.demo-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.demo-controls button {
  min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--stage-line); background: var(--stage-2); color: var(--stage-text); font-weight: 600; font-size: var(--fs-s);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.demo-controls button:hover { border-color: var(--stage-muted); }
.demo-controls button:active { transform: scale(0.98); }
.demo-controls button[aria-pressed="true"] { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.demo-controls button:focus-visible { outline-color: var(--lime); }
.demo-live { margin-top: 18px; min-height: 3.4em; font-size: var(--fs-s); color: var(--stage-text); border-left: 2px solid var(--lime); padding-left: 14px; }
.demo-live b { color: var(--lime); font-weight: 600; }
.demo-facts { list-style: none; margin-top: 28px; display: grid; gap: 8px; font-size: var(--fs-s); color: var(--stage-muted); }
.demo-facts li { display: flex; gap: 10px; }
.demo-facts li::before { content: "—"; color: var(--lime); flex: none; }
html:not(.js) .demo-controls, html:not(.js) .demo-live { display: none; }

.cut-demo { background: var(--stage-2); border: 1px solid var(--stage-line); border-radius: var(--radius-l); padding: clamp(16px, 2.5vw, 28px); }
.cut-demo + .cut-demo { margin-top: 20px; }
.cut-demo .bar { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--stage-muted); }
.cut-demo .bar b { color: var(--stage-text); font-weight: 500; }
.cut-demo .bar .total { color: var(--lime); font-weight: 500; transition: opacity 240ms var(--ease); }
.tl { display: grid; grid-template-columns: 56px 1fr; gap: 0 12px; }
.tl .lab { font-size: var(--fs-xs); color: var(--stage-muted); display: flex; align-items: center; }
.tl .row { position: relative; height: 56px; container-type: inline-size; border-bottom: 1px dashed var(--stage-line); }
.tl .row.caps { height: 40px; }
.tl .row.rul { height: 22px; border: 0; }
.tl .rul span { position: absolute; top: 0; font-family: var(--font-mono); font-size: 10px; color: var(--stage-muted); transform: translateX(-50%); }
.tl .rul span::after { content: ""; position: absolute; left: 50%; top: 14px; width: 1px; height: 6px; background: var(--stage-line); }
.tl .rul span:first-child { transform: none; }
.tl .rul span:first-child::after { left: 0; }
.seg {
  position: absolute; top: 8px; bottom: 8px;
  left: calc(var(--s) / 24 * 100%); width: calc(var(--d) / 24 * 100% - 2px);
  border-radius: 8px; overflow: hidden;
  background: #30402a; border: 1px solid #5c7a3b;
  transition: transform var(--t-story) var(--ease), opacity 400ms var(--ease);
}
.seg .wave { position: absolute; inset: 0; width: 100%; height: 100%; }
.seg .wave rect { fill: #9cc45a; }
.seg .name { position: absolute; left: 8px; top: 4px; max-width: calc(100% - 14px); overflow: hidden; text-overflow: ellipsis; font-size: 11px; color: #e3efcf; font-weight: 600; white-space: nowrap; padding: 0 4px; border-radius: 4px; background: rgba(16, 19, 18, 0.55); z-index: 1; }
.seg.piece { width: calc(var(--d) / 24 * 100%); border-radius: 0; transition: transform var(--t-story) var(--ease), opacity 400ms var(--ease), border-color 300ms var(--ease), border-radius 300ms var(--ease); }
.seg.piece:not(.first) { border-left-color: transparent; }
.seg.piece:not(.last) { border-right-color: transparent; }
.seg.piece.first { border-radius: 8px 0 0 8px; }
.seg.piece.last { border-radius: 0 8px 8px 0; }
.seg.piece.drop { background: #22291f; }
.cut-demo[data-state="after"] .seg.piece.keep, .static-after .seg.piece.keep { border-radius: 8px; border-color: #5c7a3b; width: calc(var(--d) / 24 * 100% - 2px); }
.seg.cap { background: #35304a; border-color: #6a5f94; top: 6px; bottom: 6px; }
.seg.cap .name { top: 50%; transform: translateY(-50%); color: #e6e0ff; }
.silence {
  position: absolute; top: 4px; bottom: 4px; left: calc(var(--s) / 24 * 100%); width: calc(var(--d) / 24 * 100%);
  border-radius: 6px; opacity: 0; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(203, 251, 103, 0.18) 0 4px, transparent 4px 9px);
  border: 1px solid var(--lime);
  transition: opacity 300ms var(--ease);
}
.silence::before, .silence::after { content: ""; position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--lime); left: -1px; }
.silence::after { left: auto; right: -1px; }
.silence i { position: absolute; left: 50%; top: -11px; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--lime); color: var(--ink); font-style: normal; font-size: 10px; line-height: 16px; text-align: center; font-weight: 700; }
.cut-demo[data-state="marked"] .silence { opacity: 1; }
.cut-demo[data-state="after"] .seg.drop { opacity: 0; transform: scaleX(0.6); }
.cut-demo[data-state="after"] .seg.keep { transform: translateX(calc(var(--x, 0) / 24 * -100cqw)); }
.cut-demo[data-state="after"] .seg.keep.k2, .cut-demo[data-state="after"] .seg.cap.c2 { transition-delay: 60ms; }
.cut-demo[data-state="after"] .seg.keep.k3, .cut-demo[data-state="after"] .seg.cap.c3 { transition-delay: 120ms; }
.cut-demo[data-state="after"] .seg.keep.k4 { transition-delay: 180ms; }
.cut-demo[data-state="after"] .seg.cap { transform: translateX(calc(var(--x, 0) / 24 * -100cqw)); }
.cut-demo .total[data-after] { font-weight: 500; }
.cut-demo .range-list { list-style: none; margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; font-family: var(--font-mono); font-size: 11.5px; color: var(--stage-muted); opacity: 0; transition: opacity 300ms var(--ease); }
.cut-demo[data-state="marked"] .range-list, .cut-demo[data-state="after"] .range-list, html:not(.js) .cut-demo .range-list { opacity: 1; }
.cut-demo .range-list li { padding: 8px 10px; background: var(--stage); border-radius: 8px; border: 1px solid var(--stage-line); }
.cut-demo .range-list b { color: var(--lime); font-weight: 500; margin-right: 6px; }
.cut-demo .caption { margin-top: 14px; font-size: var(--fs-xs); color: var(--stage-muted); }
html.js .cut-demo.static-after { display: none; }
html:not(.js) .cut-demo .silence { opacity: 1; }
html:not(.js) .cut-demo.static-after .seg.drop { display: none; }
html:not(.js) .cut-demo.static-after .seg.keep, html:not(.js) .cut-demo.static-after .seg.cap { transform: translateX(calc(var(--x, 0) / 24 * -100cqw)); }
html:not(.js) .cut-demo.static-after .silence { display: none; }

/* ── 기능 소개 ────────────────────────────────── */
.features { padding-bottom: 0; }
.feature { display: grid; gap: clamp(24px, 3vw, 48px); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature.wide { grid-template-columns: 1fr; }
.feature.flip > .feature-copy { order: 2; }
.feature-copy { position: sticky; top: 88px; }
.feature-copy h3 { font-size: var(--fs-xl); font-weight: 800; margin-top: 12px; }
.feature-copy .lead { margin-top: 16px; font-size: var(--fs-m); max-width: 30em; }
.spec { list-style: none; margin-top: 22px; display: grid; gap: 10px; font-size: var(--fs-s); }
.spec li { position: relative; padding-left: 1.5em; }
.spec li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 2px; background: var(--lime); border: 1.5px solid var(--ink); }
.spec b { font-weight: 700; }
.feature-media { display: grid; gap: 16px; }
.feature-media.pair { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
.feature-media.pair .shot:last-child { max-width: 300px; justify-self: end; }
.feature.wide .feature-copy { position: static; max-width: 720px; }
.wide-grid { display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip > .feature-copy { order: 0; }
  .feature-copy { position: static; }
  .feature-media.pair { grid-template-columns: 1fr; }
  .feature-media.pair .shot:last-child { justify-self: start; }
  .wide-grid { grid-template-columns: 1fr; }
}

/* 전환 겹침 일러스트 (설명용) */
.overlap { background: var(--stage); color: var(--stage-text); border-radius: var(--radius-m); padding: 18px 18px 14px; border: 1px solid var(--stage-line); }
.overlap .lane { position: relative; height: 48px; }
.overlap .clip { position: absolute; top: 6px; height: 36px; border-radius: 7px; display: flex; align-items: center; padding: 0 10px; font-size: 12px; font-weight: 600; color: #e3efcf; background: #2d3b28; border: 1px solid #5c7a3b; }
.overlap .clip.a { left: 0; width: 46%; }
.overlap .clip.b { left: 54%; width: 46%; background: #26403a; border-color: #3c7a68; transition: transform var(--t-story) var(--ease); }
.overlap .zone { position: absolute; left: 40%; width: 14%; top: 2px; height: 44px; border-radius: 6px; opacity: 0; background: repeating-linear-gradient(135deg, rgba(203, 251, 103, 0.22) 0 4px, transparent 4px 9px); border: 1px solid var(--lime); transition: opacity 300ms var(--ease) 500ms; }
.overlap .zone span { position: absolute; left: 50%; top: -20px; transform: translateX(-50%); font-family: var(--font-mono); font-size: 10px; color: var(--lime); white-space: nowrap; }
.overlap .meta { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--stage-muted); }
.overlap .meta b { color: var(--lime); font-weight: 500; }
.overlap.in .clip.b, html:not(.js) .overlap .clip.b { transform: translateX(-30.4%); }
.overlap.in .zone, html:not(.js) .overlap .zone { opacity: 1; }

/* 자막 스타일 표본(앱 preset 실제 값) */
.style-chips { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 18px; }
.style-chips li { background: var(--stage); border: 1px solid var(--stage-line); border-radius: 10px; padding: 12px 10px 8px; text-align: center; }
.style-chips b { display: block; font-size: 14px; line-height: 1.3; color: var(--c, #fff); }
.style-chips span { display: block; margin-top: 6px; font-size: 11px; color: var(--stage-muted); }

/* ── 사용 방법 요약(클립 스트립) ─────────────── */
.steps-strip { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; counter-reset: step; }
.steps-strip li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 18px 16px 20px; min-height: 100%; box-shadow: var(--shadow-1); }
.steps-strip li::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--lime); }
.steps-strip .tc { display: block; margin-bottom: 8px; }
.steps-strip h3 { font-size: var(--fs-m); font-weight: 700; }
.steps-strip p { margin-top: 8px; font-size: var(--fs-s); color: var(--muted); line-height: 1.55; }
.steps-strip kbd { font-size: 0.8em; }
@media (max-width: 1000px) { .steps-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps-strip { grid-template-columns: 1fr; } }
.steps-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ── 플랫폼 표 ─────────────────────────────────── */
.plat-grid { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
@media (max-width: 960px) { .plat-grid { grid-template-columns: 1fr; } }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-s); }
.table th, .table td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.table thead th { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; color: var(--muted); letter-spacing: 0.03em; border-bottom-color: var(--line-strong); }
.table td b { font-weight: 700; }
.table td .note { display: block; margin-top: 2px; }
@media (max-width: 640px) {
  .table thead { display: none; }
  .table tr { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .table td { display: block; padding: 0; border: 0; }
  .table td[data-l]::before { content: attr(data-l) " · "; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); }
  .table td:first-child::before { content: none; }
}
.limits { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.limits li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-s); }
.limits .mono { font-weight: 500; color: var(--ink); }
.limits .note { grid-column: 1 / -1; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-1); }
.card h3 { font-size: var(--fs-l); font-weight: 700; }
.card + .card { margin-top: 16px; }

/* ── 개인정보·가격 ───────────────────────────── */
.priv-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.priv { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; box-shadow: var(--shadow-1); }
.priv .tc { display: block; margin-bottom: 8px; }
.priv h3 { font-size: var(--fs-m); font-weight: 700; }
.priv p { margin-top: 8px; font-size: var(--fs-s); color: var(--muted); line-height: 1.6; }
.priv.off { background: var(--paper-2); }

/* ── FAQ ───────────────────────────────────────── */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; gap: 16px; align-items: center; min-height: 44px; padding: 18px 0; font-weight: 700; font-size: var(--fs-m); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; justify-self: center; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform var(--t-fast) var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq .answer { padding: 0 0 22px; color: var(--muted); max-width: var(--measure); }
.faq .answer p + p { margin-top: 10px; }

/* ── 마무리 CTA ─────────────────────────────────── */
.final { text-align: left; }
.final .wrap { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.final h2 { font-size: var(--fs-xl); font-weight: 800; }
.final p { margin-top: 12px; color: var(--stage-muted); max-width: 34em; }
@media (max-width: 760px) { .final .wrap { grid-template-columns: 1fr; } }

/* ── 푸터 ───────────────────────────────────────── */
.site-footer { background: var(--stage); color: var(--stage-muted); padding: 40px 0 48px; border-top: 1px solid var(--stage-line); font-size: var(--fs-s); }
.site-footer .wrap { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
.site-footer h4 { color: var(--stage-text); font-size: var(--fs-xs); font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.04em; margin-bottom: 10px; text-transform: uppercase; }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.site-footer a { color: var(--stage-text); text-decoration-color: var(--stage-line); }
.site-footer a:hover { text-decoration-color: var(--lime); }
.site-footer .copy { margin-top: 16px; font-size: var(--fs-xs); }
.site-footer .brand .ko { color: var(--stage-text); }
.site-footer .brand .latin { color: var(--stage-muted); }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ── 가이드 페이지 ──────────────────────────────── */
.guide-hero { padding: clamp(32px, 4vw, 56px) 0 clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.guide-hero h1 { font-size: var(--fs-xl); font-weight: 800; margin-top: 12px; }
.guide-hero .lead { margin-top: 14px; font-size: var(--fs-l); line-height: 1.55; max-width: 36em; }
.guide-layout { display: grid; gap: clamp(28px, 4vw, 64px); grid-template-columns: 240px minmax(0, 1fr); align-items: start; padding-top: clamp(24px, 3vw, 40px); }
.toc { position: sticky; top: 80px; }
.toc summary { list-style: none; cursor: pointer; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0.04em; min-height: 44px; display: flex; align-items: center; text-transform: uppercase; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; border-left: 1px solid var(--line); }
.toc li a { display: flex; gap: 10px; align-items: baseline; min-height: 40px; padding: 8px 0 8px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: var(--fs-s); text-decoration: none; color: var(--muted); transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.toc li a .tc { font-size: 11px; }
.toc li a:hover { color: var(--ink); }
.toc li a[aria-current="true"] { color: var(--ink); border-left-color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; }
  .toc { position: static; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 4px 16px; }
  .toc summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); }
  .toc[open] summary::after { transform: rotate(225deg); }
  .toc ol { border: 0; padding-bottom: 8px; }
  .toc li a { padding-left: 0; border-left: 0; }
}
.guide-main { min-width: 0; }
.guide-main > section { padding: 0 0 var(--space-section); }
.guide-main > section:first-child { padding-top: 0; }
.g-head { display: grid; gap: 10px; margin-bottom: 28px; padding-top: 8px; }
.g-head h2 { font-size: var(--fs-xl); font-weight: 800; }
.g-head .lead { max-width: var(--measure); }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.step:last-of-type { border-bottom: 1px solid var(--line); }
.step .num { font-family: var(--font-mono); font-size: var(--fs-s); font-weight: 500; color: var(--lime-ink); padding-top: 4px; }
.step h3 { font-size: var(--fs-l); font-weight: 700; }
.step .body { max-width: 720px; }
.step .body > p { margin-top: 8px; }
.step dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 14px 0 0; font-size: var(--fs-s); }
.step dt { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); padding-top: 3px; }
.step dd { margin: 0; }
.step .shot, .step .monitor { margin-top: 16px; max-width: 720px; }
.step .shot.small { max-width: 320px; }
.tip { margin-top: 14px; padding: 12px 16px; border-left: 3px solid var(--lime); background: var(--card); border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: var(--fs-s); }
.tip b { font-weight: 700; }
.tip.warn { border-left-color: var(--ink); background: var(--paper-2); }
@media (max-width: 640px) {
  .step { grid-template-columns: 1fr; gap: 6px; }
  .step dl { grid-template-columns: 1fr; gap: 2px 0; }
  .step dt { margin-top: 8px; }
}
.shortcuts { width: 100%; border-collapse: collapse; font-size: var(--fs-s); max-width: 560px; }
.shortcuts td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.shortcuts td:last-child { text-align: right; }
.mistakes { list-style: none; display: grid; gap: 12px; }
.mistakes li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 18px 20px; display: grid; gap: 6px; }
.mistakes b { font-weight: 700; }
.mistakes p { font-size: var(--fs-s); color: var(--muted); }
.back-top { margin-top: 24px; font-size: var(--fs-s); }

/* ── 404 ───────────────────────────────────────── */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.nf h1 { font-size: var(--fs-display); font-weight: 800; }
.nf .tc { font-size: var(--fs-l); }

/* ── 모션 감소 ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; transition-delay: 0ms !important; animation: none !important; }
  html.js [data-reveal], html.js .hero-monitor { opacity: 1; transform: none; }
  html.js .ruler svg .tick { stroke-dashoffset: 0; }
}
@media print {
  .site-header, .site-footer, .demo-controls, .final { display: none; }
  body { background: #fff; }
}
