/* voice-roleplay landing page. Palette = the app's own tokens (apps/web/src/styles.css).
   Font = Pretendard subset, SIL OFL 1.1, renamed "VR Site Sans" (fonts/OFL.txt). */

@font-face {
  font-family: 'VR Site Sans';
  src: url('fonts/vr-site-sans.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --indigo: #3043c4;
  --indigo-strong: #22329a;
  --indigo-deep: #18236f;
  --indigo-weak: #eceefe;
  --indigo-line: #c9cffa;
  --on-indigo: #ffffff;
  --on-indigo-2: #d3d8ff;
  --paper: #f6f5f1;
  --surface: #ffffff;
  --ink: #1d1c1a;
  --ink-2: #57534c;
  --line: #e3e0d8;
  --line-strong: #cfcbc1;
  --amber-bg: #fffaf0;
  --amber: #fdf1d4;
  --amber-line: #ecd9a8;
  --amber-ink: #7f5200;
  --ok: #1d6f47;
  --ok-weak: #e2f2e8;
  --danger: #b0261d;
  --danger-weak: #fce8e6;
  --speak: #6a3fb5;

  --font: 'VR Site Sans', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(88px, 11vw, 150px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--paper);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: 'ss01', 'ss02';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:lang(ko) { word-break: keep-all; line-break: strict; }

html[data-lang='en'] [data-l='ko'],
html[data-lang='ko'] [data-l='en'] { display: none !important; }

h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
code { font-family: var(--mono); font-size: 0.88em; }
p code, li code, td code {
  padding: 0.08em 0.36em;
  border-radius: 6px;
  background: rgb(29 28 26 / 6%);
}
::selection { background: var(--indigo); color: #fff; }
:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 8px;
}
.hero :focus-visible,
.bar :focus-visible,
.privacy :focus-visible,
.cta :focus-visible { outline-color: #fff; }

html { scrollbar-color: var(--line-strong) var(--paper); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg:not(.sprite) { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--indigo-strong);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* ------------------------------------------------------------------ top bar */
.bar {
  display: flex;
  align-items: center;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 14px max(var(--gutter), calc((100% - var(--wrap)) / 2));
  background: var(--indigo);
  color: var(--on-indigo);
  box-shadow: 0 1px 0 rgb(255 255 255 / 10%);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #fff;
  color: var(--indigo);
  box-shadow: 0 4px 10px -4px rgb(0 0 0 / 35%);
}
.mark svg { width: 21px; height: 21px; stroke-width: 2.2; }
.brand-name { font-weight: 750; font-size: 1.0625rem; letter-spacing: -0.01em; }
.brand-ko { font-size: 0.9375rem; color: var(--on-indigo-2); }
.bar-link,
.lang,
.gh-small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--on-indigo);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.bar-link:hover,
.lang:hover,
.gh-small:hover { background: rgb(255 255 255 / 12%); }
.bar-actions { display: flex; align-items: center; gap: 8px; }
.lang {
  border: 1px solid rgb(255 255 255 / 38%);
  background: transparent;
  cursor: pointer;
}
.gh-small svg { width: 20px; height: 20px; flex: none; }
.mark, .bar-actions { flex: none; }
.rungs { min-width: 0; }

/* ------------------------------------------------------------------ hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  grid-template-areas: 'top video' 'rest video';
  grid-template-rows: auto 1fr;
  column-gap: clamp(40px, 5vw, 72px);
  padding: clamp(40px, 6vw, 88px) max(var(--gutter), calc((100% - var(--wrap)) / 2)) clamp(190px, 17vw, 260px);
  background-color: var(--indigo);
  background-image: radial-gradient(1100px 620px at 78% 18%, #3b50d3 0%, rgb(59 80 211 / 0%) 70%);
  color: var(--on-indigo);
}
.hero > * { min-width: 0; }
.hero-top { grid-area: top; align-self: end; }
.hero-rest { grid-area: rest; max-width: 560px; }
.hero-video { grid-area: video; align-self: center; }
.hero h1 {
  font-size: clamp(2.9rem, 5.6vw, 5.4rem);
  font-weight: 820;
  line-height: 0.98;
  letter-spacing: -0.038em;
}
:lang(ko) h1, h1:lang(ko), .hero h1 [lang='ko'] { letter-spacing: -0.03em; line-height: 1.08; }
.loud {
  position: relative;
  display: inline-block;
  padding: 0 0.14em 0.04em;
  margin-left: -0.04em;
  color: var(--indigo);
  isolation: isolate;
}
.loud::before {
  content: '';
  position: absolute;
  inset: 0.1em 0 -0.02em;
  z-index: -1;
  border-radius: 0.14em;
  background: #fff;
  box-shadow: 0 14px 30px -12px rgb(0 0 0 / 34%);
}
.hook {
  margin-top: 22px;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--on-indigo-2);
}
.pitch {
  margin-top: 22px;
  max-width: 34em;
  font-size: 1.0625rem;
  color: #e6e9ff;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.actions-center { justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), background-color 180ms;
}
.btn svg { width: 20px; height: 20px; }
.btn-star {
  background: #fff;
  color: var(--indigo-strong);
  box-shadow: 0 1px 1px rgb(0 0 0 / 14%), 0 12px 28px -10px rgb(0 0 0 / 30%);
}
.btn-star svg { fill: #f2b01e; stroke: #b27a06; stroke-width: 1.4; }
.btn-star:hover { transform: translateY(-1px); box-shadow: 0 1px 1px rgb(0 0 0 / 14%), 0 18px 34px -12px rgb(0 0 0 / 34%); text-decoration: none; }
.btn-star:active { transform: translateY(0); }
.star-count {
  margin-left: 2px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--indigo-weak);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}
.btn-ghost {
  border: 1px solid rgb(255 255 255 / 45%);
  color: #fff;
}
.btn-ghost:hover { background: rgb(255 255 255 / 10%); text-decoration: none; }

.cmd {
  display: flex;
  align-items: stretch;
  margin-top: 22px;
  border-radius: var(--radius-sm);
  background: var(--indigo-deep);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%);
}
.cmd code {
  flex: 1;
  padding: 14px 4px 14px 16px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #f1f2ff;
  overflow-wrap: anywhere;
}
.prompt { color: #9aa6ff; user-select: none; }
.copy {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  min-height: 44px;
  border: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: transparent;
  color: #c6ccff;
  cursor: pointer;
}
.copy:hover { color: #fff; background: rgb(255 255 255 / 8%); }
.copy svg { width: 18px; height: 18px; }
.copy-done {
  position: absolute;
  right: 6px;
  bottom: calc(100% + 6px);
  padding: 4px 10px;
  border-radius: 8px;
  background: #fff;
  color: var(--indigo-strong);
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
}
.copy-done:empty { display: none; }
.fine { margin-top: 16px; font-size: 0.875rem; color: var(--on-indigo-2); }

.hero-video { margin: 0; }
.video-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #1a2478;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 18%),
    0 40px 80px -30px rgb(0 0 0 / 42%),
    0 8px 20px -8px rgb(0 0 0 / 25%);
}
.video-frame video { width: 100%; object-fit: cover; }
.video-frame video { aspect-ratio: 16 / 9; height: auto; }
.video-controls {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: var(--indigo-deep);
}
.vbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px 0 14px;
  border: 0;
  border-radius: 12px;
  background: rgb(255 255 255 / 10%);
  color: #fff;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
}
.vbtn:hover { background: rgb(255 255 255 / 18%); }
.vbtn svg { width: 18px; height: 18px; }
.vbtn-icon { width: 42px; padding: 0; justify-content: center; }
.vbtn .ic-play { display: none; }
.is-paused .vbtn .ic-play { display: block; }
.is-paused .vbtn .ic-pause { display: none; }
html:not(.js) .video-controls { display: none; }
.hero-video figcaption { margin-top: 14px; font-size: 0.875rem; color: var(--on-indigo-2); }
.hero-video figcaption a { color: #fff; }

/* ------------------------------------------------------------------ app window */
.window {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin: calc(-1 * clamp(150px, 13vw, 210px)) auto 0;
  position: relative;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 44px;
  padding: 0 16px;
  border-radius: 16px 16px 0 0;
  background: #ecebe6;
  border: 1px solid var(--line-strong);
  border-bottom: 0;
}
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #d3d0c7; }
.url {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 auto;
  padding: 4px 16px;
  border-radius: 8px;
  background: #fff;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ink-2);
}
.url svg { width: 13px; height: 13px; color: var(--ok); }
.window img {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 50px 100px -40px rgb(29 28 26 / 45%), 0 18px 40px -20px rgb(29 28 26 / 30%);
}
.window figcaption {
  max-width: 62em;
  margin: 18px auto 0;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* ------------------------------------------------------------------ section scaffolding */
.section-head { max-width: 760px; }
.section-head h2,
.privacy h2,
.status h2,
.start h2,
.faq h2,
.credits h2,
.cta h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.034em;
}
h2 :lang(ko), h2:lang(ko) { letter-spacing: -0.025em; line-height: 1.15; }
.lead { margin-top: 18px; font-size: 1.1875rem; color: var(--ink-2); max-width: 40em; }
.note { margin-top: 22px; max-width: 64em; font-size: 0.9375rem; color: var(--ink-2); }
h3 { font-size: 1.125rem; font-weight: 750; letter-spacing: -0.01em; }

/* ------------------------------------------------------------------ features (tabs) */
.features { padding: var(--section) 0 calc(var(--section) * 0.8); }
.feat { margin-top: 48px; }
html.js .feat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 6vw, 96px);
  row-gap: 40px;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  min-height: 720px;
}
html.js .feat .chips { grid-column: 1; grid-row: 1; align-self: start; }
html.js .feat .panels { display: contents; }
html.js .feat .panel {
  grid-column: 1 / -1;
  grid-row: 1 / span 2;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
  gap: inherit;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  pointer-events: none;
}
html.js .feat .panel > * { pointer-events: auto; }
html.js .feat .panel-copy { grid-column: 1; grid-row: 2; align-self: start; }
html.js .feat .shot { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
html:not(.js) .chips { display: none; }
.chips [role='tab'] {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 160ms, border-color 160ms, color 160ms, box-shadow 160ms;
}
.chips [role='tab']:hover { border-color: var(--indigo); color: var(--indigo-strong); }
.chips [role='tab'][aria-selected='true'] {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
}
html:not(.js) .panels { margin-top: 36px; }
.panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  min-height: 640px;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
}
html:not(.js) .panel + .panel { margin-top: 24px; }
.panel[hidden] { display: none; }
.panel:focus-visible { outline-offset: 6px; border-radius: 28px; }
.panel-copy { max-width: 30em; }
.panel h3 {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.panel h3 :lang(ko) { letter-spacing: -0.02em; line-height: 1.2; }
.panel-copy p { margin-top: 18px; font-size: 1.0625rem; color: var(--ink-2); }
.shot { display: grid; place-items: center; }
.phone {
  width: min(310px, 100%);
  padding: 9px;
  border-radius: 48px;
  background: #15161b;
  box-shadow:
    0 0 0 1px #2a2c35,
    0 50px 80px -40px rgb(29 28 26 / 60%),
    0 16px 30px -18px rgb(29 28 26 / 45%);
}
.phone img { border-radius: 39px; aspect-ratio: 720 / 1558; object-fit: cover; background: var(--paper); }
.shot-hint { width: 100%; }
.ladder {
  display: grid;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ladder li {
  padding: 14px 16px 16px;
  border: 1px solid var(--amber-line);
  border-radius: 16px;
  background: var(--amber-bg);
}
.ladder li:nth-child(2) { margin-left: 5%; }
.ladder li:nth-child(3) { margin-left: 10%; }
.ladder li.on { border-color: #dcc07a; }
.rung-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--amber-ink);
  font-size: 0.875rem;
  font-weight: 750;
}
.rung-head svg { width: 17px; height: 17px; flex: none; }
.rung-body { margin-top: 8px; font-size: 0.9375rem; color: #4a3d1f; }
.ladder img { margin-top: 8px; width: auto; max-width: 100%; max-height: 64px; }
.ladder img + img { max-height: 44px; }
.ladder li.on img { max-height: 40px; }

.panel.is-entering .shot > * { animation: reveal 620ms var(--ease-out) both; }
.panel.is-entering .panel-copy { animation: rise 520ms var(--ease-out) both; }
@keyframes reveal {
  from { clip-path: inset(0 0 22% 0 round 48px); transform: translateY(18px); opacity: 0.35; filter: blur(6px); }
  to { clip-path: inset(0 0 0 0 round 48px); transform: none; opacity: 1; filter: blur(0); }
}
.panel.is-entering .shot-hint > * { animation-name: rise; }
@keyframes rise {
  from { transform: translateY(12px); opacity: 0.2; }
  to { transform: none; opacity: 1; }
}
.scenarios { margin-top: 28px; max-width: 60em; font-size: 0.9375rem; color: var(--ink-2); }

/* ------------------------------------------------------------------ privacy */
.privacy {
  padding: var(--section) 0;
  background: var(--indigo-strong);
  color: var(--on-indigo);
  overflow: hidden;
}
.privacy .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.privacy .lead { color: var(--on-indigo-2); }
.host {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  opacity: 0.16;
  user-select: none;
}
.facts {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.facts li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgb(255 255 255 / 18%);
}
.facts li:last-child { border-bottom: 1px solid rgb(255 255 255 / 18%); }
.facts svg { width: 24px; height: 24px; margin-top: 2px; color: #b9c1ff; }
.facts p { font-size: 1.0625rem; color: #eef0ff; }
.facts li:last-child p { color: var(--on-indigo-2); }
.facts code { background: rgb(255 255 255 / 12%); }

/* ------------------------------------------------------------------ how it works */
.how { padding: var(--section) 0 calc(var(--section) * 0.7); }
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-top: 48px;
}
.diagram { margin: 0; }
.diagram img {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
}
.diagram figcaption { margin-top: 14px; font-size: 0.9375rem; font-weight: 650; }
.diagram figcaption a { color: var(--indigo-strong); }
.diagram figcaption svg { display: inline-block; width: 16px; height: 16px; margin-left: 4px; vertical-align: -3px; }

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
caption {
  padding: 18px 20px 8px;
  text-align: left;
  caption-side: top;
  font-weight: 750;
  font-size: 1rem;
}
th, td { padding: 13px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
thead th { font-size: 0.8125rem; font-weight: 700; color: var(--ink-2); border-top: 0; }
tbody th { font-weight: 650; }
td { color: var(--ink-2); }
.models td:nth-child(2) { color: var(--ink); font-weight: 600; }
.models td, .models th { white-space: nowrap; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ------------------------------------------------------------------ numbers */
.numbers { padding: calc(var(--section) * 0.7) 0 var(--section); }
.numbers .table-scroll { margin-top: 40px; }
.bench td.num:nth-child(3) { color: var(--ink); font-weight: 750; font-size: 1.0625rem; }
.verdict {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 11px 3px 8px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.875rem;
  white-space: nowrap;
}
.verdict svg { width: 17px; height: 17px; }
.miss .verdict { background: var(--danger-weak); color: var(--danger); }
.met .verdict { background: var(--ok-weak); color: var(--ok); }

/* ------------------------------------------------------------------ status */
.status {
  padding: var(--section) 0;
  background: var(--amber-bg);
  border-block: 1px solid var(--amber-line);
}
.status-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
}
.status-grid > :first-child,
.faq-wrap > h2 { position: sticky; top: 40px; align-self: start; }
.status h2 { color: #3b2a06; }
.status .lead { color: #5c4a22; }
.status-lists h3 { color: var(--amber-ink); font-size: 1rem; }
.status-lists h3 + ul { margin-top: 14px; }
.status-lists ul + h3 { margin-top: 36px; }
.limits, .next { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.limits li, .next li {
  position: relative;
  padding-left: 26px;
  color: #3f3520;
}
.limits li::before,
.next li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  border: 2px solid var(--amber-ink);
}
.next li::before { border-radius: 50%; }

/* ------------------------------------------------------------------ quick start */
.start { padding: var(--section) 0 calc(var(--section) * 0.7); }
.start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.terminal {
  margin-top: 36px;
  border-radius: 18px;
  background: #15161b;
  color: #e9e9ef;
  box-shadow: 0 40px 70px -40px rgb(29 28 26 / 60%);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 0 0 16px;
  height: 46px;
  border-bottom: 1px solid #262833;
  font-size: 0.8125rem;
  color: #a1a3b3;
}
.terminal-bar .dots i { background: #3a3c48; }
.terminal-bar .copy { margin-left: auto; height: 46px; border-radius: 0; color: #a1a3b3; }
.terminal-bar .copy-done { bottom: auto; top: 50%; right: calc(100% + 4px); transform: translateY(-50%); }
.terminal pre {
  margin: 0;
  padding: 20px 22px 24px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.875rem;
  line-height: 1.85;
}
.c-cmd { color: #fff; }
.c-cmd::before { content: '$ '; color: #7f8cff; }
.c-com { color: #9ea1b5; }
.terminal pre::selection, .terminal pre *::selection { background: #4b5bd6; }
.reqs {
  padding: 28px 30px 30px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.reqs ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.reqs li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9875rem;
  color: var(--ink-2);
}
.reqs li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}

/* ------------------------------------------------------------------ faq */
.faq { padding: calc(var(--section) * 0.7) 0; }
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.faq-list { border-top: 1px solid var(--line-strong); }
details { border-bottom: 1px solid var(--line-strong); }
summary {
  position: relative;
  display: block;
  padding: 22px 48px 22px 0;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -8px;
  border-right: 2px solid var(--indigo);
  border-bottom: 2px solid var(--indigo);
  transform: rotate(45deg);
  transition: transform 220ms var(--ease-out);
}
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
summary:hover { color: var(--indigo-strong); }
details p { padding: 0 0 24px; max-width: 42em; color: var(--ink-2); }
details a { color: var(--indigo-strong); }

/* ------------------------------------------------------------------ credits */
.credits {
  padding: calc(var(--section) * 0.7) 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.credits h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.credits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: 32px;
}
.credits h3 { font-size: 0.9375rem; color: var(--ink); }
.credits p { margin-top: 10px; font-size: 0.9375rem; color: var(--ink-2); }
.credits a { color: var(--indigo-strong); }

/* ------------------------------------------------------------------ closing cta */
.cta {
  padding: var(--section) 0;
  background: var(--indigo);
  color: #fff;
  text-align: center;
}
.cta-inner { display: grid; justify-items: center; }
.cta h2 { max-width: 16em; }
.cta .lead { color: var(--on-indigo-2); margin-inline: auto; }
.cta .btn-ghost { border-color: rgb(255 255 255 / 45%); }

/* ------------------------------------------------------------------ footer */
.foot { padding: 36px 0 48px; background: var(--paper); font-size: 0.9375rem; color: var(--ink-2); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; }
.foot-brand { font-weight: 750; color: var(--ink); margin-right: 6px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; color: var(--ink); }

/* ------------------------------------------------------------------ hint ladder nav (in the sticky bar) */
.rungs {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 4px 4px 12px;
  border: 1px solid var(--amber-line);
  border-radius: 14px;
  background: var(--amber-bg);
  color: var(--amber-ink);
}
.rungs-ic { width: 18px; height: 18px; margin-right: 4px; flex: none; }
.rungs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 11px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.rungs a b { font-weight: 800; font-variant-numeric: tabular-nums; }
.rungs a:hover { background: rgb(253 241 212 / 80%); }
.rungs a[aria-current='step'] { background: var(--amber); box-shadow: inset 0 0 0 1px var(--amber-line); }
.bar :focus-visible { outline-color: #fff; }
.rungs a:focus-visible { outline-color: var(--amber-ink); outline-offset: 1px; }

/* ------------------------------------------------------------------ entrance: the brand box wipes in behind "loud." */
html.js .loud::before { animation: wipe 900ms 250ms var(--ease-out) both; }
html.js .loud { animation: ink 900ms 250ms var(--ease-out) both; }
@keyframes wipe { from { clip-path: inset(0 100% 0 0 round 0.14em); } to { clip-path: inset(0 0 0 0 round 0.14em); } }
@keyframes ink { from { color: #fff; } 40% { color: #fff; } to { color: var(--indigo); } }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .bar-link { display: none; }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'top' 'rest' 'video';
    grid-template-rows: auto;
    row-gap: 32px;
  }
  .hero-rest { max-width: 680px; }
  .hero-rest .pitch:first-child, .hero-rest > :first-child { margin-top: 0; }
  .how-grid, .start-grid, .privacy .wrap, .status-grid, .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .status-grid > :first-child, .faq-wrap > h2 { position: static; }
  html.js .feat {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    min-height: 0;
    row-gap: 28px;
  }
  html.js .feat .panel { grid-column: 1; grid-row: 2 / span 2; }
  html.js .feat .panel-copy { grid-column: 1; grid-row: 1; }
  html.js .feat .shot { grid-column: 1; grid-row: 2; }
  .host { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .brand-ko, .brand-name, .gh-small-label, .rungs-ic { display: none; }
  .rungs { padding: 3px; }
  .rungs a { padding: 0 9px; min-height: 34px; }
  .rungs a:not([aria-current='step']) .of { display: none; }
  .lang { padding: 0 10px; }
  .gh-small { padding: 0 8px; }
  .bar { padding-block: 14px; gap: 12px; }
  .hero { padding-top: 28px; }
  .hero h1 { font-size: clamp(2.6rem, 12.5vw, 3.4rem); }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
  .window { margin-top: calc(-1 * clamp(110px, 30vw, 150px)); }
  html.js .feat { padding: 20px 18px 28px; border-radius: 22px; }
  .window-bar { height: 34px; padding: 0 10px; border-radius: 12px 12px 0 0; }
  .window-bar .dots { display: none; }
  .url { font-size: 0.75rem; padding: 2px 10px; }
  .window img { border-radius: 0 0 12px 12px; }
  .window figcaption { text-align: left; }
  .panel {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 24px 20px 28px;
    border-radius: 22px;
    gap: 28px;
  }
  .chips { gap: 8px; }
  .chips [role='tab'] { min-height: 42px; padding: 0 14px; font-size: 0.9375rem; }
  .phone { width: min(270px, 82%); border-radius: 42px; }
  .phone img { border-radius: 34px; }
  .ladder li:nth-child(2), .ladder li:nth-child(3) { margin-left: 0; }
  .bench thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .bench tbody tr {
    display: grid;
    grid-template-columns: auto auto 1fr;
    column-gap: 18px;
    row-gap: 6px;
    padding: 14px 16px;
    border-top: 1px solid var(--line);
  }
  .bench tbody th { grid-column: 1 / -1; padding: 0; border: 0; }
  .bench tbody td { padding: 0; border: 0; text-align: left; align-self: end; }
  .bench tbody td:last-child { justify-self: end; }
  .bench tbody td[data-k]::before {
    content: attr(data-k);
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-2);
  }
  html[data-lang='ko'] .bench tbody td[data-k]::before { content: attr(data-k-ko); }
  .bench tbody td:last-child::before { display: none; }
  .credits-grid { grid-template-columns: 1fr; }
  th, td { padding: 12px 14px; }
  .rungs a:not([aria-current='step']) > span { display: none; }
  .foot { padding-bottom: 40px; }
  .models thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .models tbody tr { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 6px; padding: 14px 16px; border-top: 1px solid var(--line); }
  .models tbody th, .models tbody td { padding: 0; border: 0; white-space: normal; }
  .models tbody td[data-k] { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 8px; }
  .models tbody td[data-k]::before { content: attr(data-k); font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); }
  html[data-lang='ko'] .models tbody td[data-k]::before { content: attr(data-k-ko); }
}

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

@media (forced-colors: active) {
  .loud { color: CanvasText; }
  .loud::before { background: transparent; border: 2px solid CanvasText; }
  .verdict, .chips [role='tab'][aria-selected='true'] { border: 1px solid CanvasText; }
}

@media (max-width: 420px) {
  .bar { gap: 8px; }
  .gh-small { display: none; }
  .rungs .of { display: none; }
  .rungs a { padding: 0 8px; gap: 5px; }
}
