/* ReviewReplay site: light theme only. */
:root {
  --bg: #faf8f4;
  --bg-2: #f3efe8;
  --card: #ffffff;
  --ink: #17140f;
  --ink-2: #3b352d;
  --muted: #6c655b;
  --faint: #8a8276;
  --line: #e7e1d7;
  --line-2: #d9d1c4;
  --accent: #c2410c;
  --accent-2: #db2777;
  --accent-soft: #fff1e8;
  --ok: #047857;
  --ok-soft: #e7f6ef;
  --bad: #b42318;
  --bad-soft: #fdecea;
  --code-bg: #1b1814;
  --code-ink: #efe9df;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(23, 20, 15, .04), 0 8px 24px rgba(23, 20, 15, .06);
  --shadow-lg: 0 2px 4px rgba(23, 20, 15, .04), 0 30px 80px rgba(120, 60, 20, .14);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1160px;
  --gutter: 24px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
code, .mono { font-family: var(--mono); font-size: .9em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Background grid and glow */
.page-grid {
  position: absolute; inset: 0 0 auto 0; height: 1400px; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%);
  opacity: .55;
}
.glow {
  position: absolute; left: 50%; top: 520px; width: 1500px; height: 900px; transform: translateX(-50%);
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(234, 108, 48, .22), rgba(219, 39, 119, .08) 55%, transparent 75%);
  filter: blur(10px);
}
.page-top { position: relative; overflow: hidden; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -.01em; text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.nav__links {
  display: flex; gap: 2px; padding: 4px; list-style: none; margin: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
}
.nav__links a { display: block; padding: 7px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); text-decoration: none; transition: background .15s, color .15s; }
.nav__links a:hover { background: var(--bg-2); color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font: 550 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(23, 20, 15, .18); }
.btn--dark:hover { box-shadow: 0 10px 26px rgba(23, 20, 15, .24); }
.btn--light { background: var(--card); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow); }
.btn--light:hover { border-color: var(--faint); }
.btn--sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn svg { width: 16px; height: 16px; flex: none; }
.play { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.play svg { width: 10px; height: 10px; fill: #fff; margin-left: 2px; }

/* Hero */
.hero { position: relative; z-index: 1; text-align: center; padding: 56px 0 40px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; color: var(--ink-2); text-decoration: none; box-shadow: var(--shadow);
}
.pill b { font: 600 12px/1 var(--mono); color: #fff; padding: 5px 9px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.pill:hover { border-color: var(--line-2); }
.hero h1 {
  margin: 26px auto 0; max-width: 1120px;
  font: 600 clamp(38px, 5.6vw, 76px)/1.03 var(--sans); letter-spacing: -.035em;
}
.accent {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  background: linear-gradient(100deg, var(--accent) 10%, #e4572e 45%, var(--accent-2) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.hero__lead { margin: 24px auto 0; max-width: 660px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); line-height: 1.6; }
.hero__actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.install {
  display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 6px 0 16px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow);
  font: 13.5px/1 var(--mono); color: var(--ink-2); max-width: 100%; min-width: 0;
}
.install code { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13.5px; min-width: 0; }
.install code::before { content: "$ "; color: var(--faint); }
.copy {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg); color: var(--muted); font: 12.5px/1 var(--mono); cursor: pointer; flex: none;
}
.copy:hover { color: var(--ink); border-color: var(--line-2); }
.copy svg { width: 14px; height: 14px; }
.copy.is-done { color: var(--ok); border-color: #b7e3cf; background: var(--ok-soft); }
.hero__meta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.hero__meta b { color: var(--ink-2); font-weight: 550; }
.hero__meta .sep { width: 1px; height: 16px; background: var(--line-2); }
.hero__meta a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.hero__meta a:hover { color: var(--ink); }
.hero__meta svg { width: 16px; height: 16px; }

/* Tour (live artifact frame) */
.tour { position: relative; z-index: 1; padding: 20px 0 30px; }
.frame {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.frame__bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fdfcfa; }
.dots { display: flex; gap: 7px; padding: 0 6px; flex: none; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ef6a5e; }
.dots i:nth-child(2) { background: #f5bf4f; }
.dots i:nth-child(3) { background: #61c454; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 9px; flex: none;
  border: 1px solid transparent; background: none; color: var(--muted); font: 500 13.5px/1 var(--sans); cursor: pointer; white-space: nowrap;
}
.tab span { font: 500 11.5px/1 var(--mono); color: var(--faint); }
.tab:hover { color: var(--ink); background: var(--bg); }
.tab[aria-selected="true"] { background: var(--accent-soft); border-color: #f6d3bd; color: var(--ink); }
.tab[aria-selected="true"] span { color: var(--accent); }
.frame__open { flex: none; }
.frame__body { position: relative; height: clamp(460px, 64vw, 720px); background: var(--bg); }
.frame__panel { position: absolute; inset: 0; }
.frame__panel[hidden] { display: none; }
.frame__panel iframe { width: 100%; height: 100%; border: 0; }
.frame__shield {
  position: absolute; inset: 0; z-index: 1; border: 0; padding: 0; margin: 0; background: transparent; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: center;
}
.frame__shield span {
  margin-top: 64px; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff;
  font: 500 13px/1 var(--sans); opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s;
}
.frame__shield:hover span, .frame__shield:focus-visible span { opacity: .92; transform: none; }
.is-exploring .frame__shield { display: none; }
.caption {
  z-index: 2;
  position: absolute; left: 18px; bottom: 18px; width: min(360px, calc(100% - 36px));
  background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); pointer-events: none;
}
.caption__kicker { display: flex; align-items: center; gap: 8px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .live::before { animation: none; } }
.caption h3 { margin: 8px 0 4px; font-size: 17px; letter-spacing: -.01em; }
.caption p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.tour__note { margin: 14px 0 0; text-align: center; font-size: 13.5px; color: var(--faint); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(6, 1fr); margin: 56px 0 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); overflow: hidden; }
.stat { padding: 22px 20px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 600 34px/1 var(--sans); letter-spacing: -.03em; }
.stat span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }

/* Sections */
.section { position: relative; z-index: 1; padding: 112px 0 0; scroll-margin-top: 72px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.kicker b { display: inline-grid; place-items: center; min-width: 28px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--accent-soft); font-weight: 600; letter-spacing: 0; }
.section h2 { margin: 18px 0 0; max-width: 820px; font: 600 clamp(32px, 4.4vw, 54px)/1.06 var(--sans); letter-spacing: -.03em; }
.section__lead { margin: 18px 0 0; max-width: 700px; font-size: 18px; color: var(--muted); }
.section__lead a, .note a, .faq a, .foot a, .result p a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.section__lead a:hover, .note a:hover, .faq a:hover, .foot a:hover, .result p a:hover { text-decoration-color: var(--accent); }
.note { margin: 22px 0 0; font-size: 14.5px; color: var(--muted); max-width: 760px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* Results */
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.result { padding: 26px; }
.result__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.result__head h3 { margin: 0; font-size: 20px; letter-spacing: -.015em; }
.result__head span { font: 12.5px/1 var(--mono); color: var(--faint); }
.result__big { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 18px; }
.result__big div { padding: 16px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.result__big .win { background: var(--ok-soft); border-color: #bfe5d3; }
.result__big b { display: block; font: 600 38px/1 var(--sans); letter-spacing: -.03em; }
.result__big span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 9px 0; border-top: 1px solid var(--line); vertical-align: top; }
th { font-weight: 500; color: var(--muted); }
thead th { border-top: 0; font-size: 12.5px; }
td { font-variant-numeric: tabular-nums; }
td + td, th + th { padding-left: 12px; }
.result p { margin: 16px 0 0; font-size: 14.5px; color: var(--ink-2); }
.link { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--accent); text-decoration: none; }
.link:hover { text-decoration: underline; }
.missed { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; margin-top: 20px; padding: 22px 26px; }
.missed__num { font: 600 44px/1 var(--sans); letter-spacing: -.03em; color: var(--bad); }
.missed h3 { margin: 0; font-size: 18px; }
.missed p { margin: 4px 0 0; font-size: 14.5px; color: var(--muted); }

/* Cases grid */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 34px; }
.filter { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2); font: 500 13.5px/1 var(--sans); cursor: pointer; }
.filter:hover { border-color: var(--faint); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.case {
  display: flex; flex-direction: column; gap: 6px; padding: 16px; min-height: 172px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.case:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.case[hidden] { display: none; }
.case__top { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--faint); }
.lang { font: 500 11px/1 var(--mono); padding: 4px 7px; border-radius: 6px; background: var(--bg-2); color: var(--ink-2); }
.lang--python { background: #e8f0fb; color: #1d4f91; }
.lang--javascript { background: #fdf4d6; color: #6b4f00; }
.lang--go { background: #e2f5f8; color: #0b5f6d; }
.lang--typescript { background: #e6eefa; color: #24508c; }
.case__repo { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.case__title { font-size: 13.5px; color: var(--muted); line-height: 1.45; flex: 1; }
.case__foot { font-size: 11.5px; color: var(--faint); overflow-wrap: anywhere; }
.tag { align-self: flex-start; font: 500 11px/1 var(--mono); padding: 4px 7px; border-radius: 6px; }
.tag--miss { background: var(--bad-soft); color: var(--bad); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.step { padding: 24px; }
.step__n { font: 500 12px/1 var(--mono); color: var(--faint); }
.step h3 { margin: 14px 0 6px; font-size: 19px; letter-spacing: -.015em; }
.step p { margin: 0; font-size: 14.5px; color: var(--muted); }
.step code { font-size: 12.5px; padding: 2px 6px; border-radius: 5px; background: var(--bg-2); color: var(--ink-2); }

/* Gates + terminal */
.gates-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 20px; margin-top: 44px; align-items: start; }
.gates { display: grid; gap: 12px; }
.gate { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; padding: 18px 20px; }
.gate__n { font: 500 12px/1.6 var(--mono); color: var(--faint); }
.gate h3 { margin: 0; font: 600 14px/1.4 var(--mono); color: var(--accent); }
.gate h3 small { display: block; margin-top: 2px; font: 600 16px/1.4 var(--sans); color: var(--ink); }
.gate p { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.chip { font: 600 11px/1 var(--mono); padding: 5px 8px; border-radius: 6px; background: var(--ok-soft); color: var(--ok); letter-spacing: .04em; white-space: nowrap; }
.term { background: var(--code-bg); color: var(--code-ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; position: sticky; top: 92px; }
.term__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #2c2722; font: 12.5px/1 var(--mono); color: #a59c8e; }
.term pre { margin: 0; padding: 18px 20px; font: 12.5px/1.75 var(--mono); overflow-x: auto; white-space: pre; }
.term .p { color: #8b8275; }
.term .g { color: #6ee7b7; }
.term .o { color: #fdba74; }
.term .r { color: #fca5a5; }
.term__foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #2c2722; }
.term__foot div { padding: 14px 16px; border-left: 1px solid #2c2722; }
.term__foot div:first-child { border-left: 0; }
.term__foot b { display: block; font: 600 22px/1 var(--sans); color: #fff; }
.term__foot span { display: block; margin-top: 6px; font: 11.5px/1.3 var(--mono); color: #a59c8e; }

/* Feature tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.tile { padding: 24px; transition: transform .18s ease, box-shadow .18s ease; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tile__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); font: 600 14px/1 var(--mono); }
.tile h3 { margin: 16px 0 6px; font-size: 17px; letter-spacing: -.01em; }
.tile p { margin: 0; font-size: 14.5px; color: var(--muted); }
.tile--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: center; }
.tile--wide img { border-radius: 12px; border: 1px solid var(--line); width: 100%; height: auto; }

/* Reviewers */
.reviewers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.rv { padding: 20px; }
.rv__state { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.rv__state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.rv--tested .rv__state { color: var(--ok); }
.rv--tested .rv__state::before { background: var(--ok); }
.rv h3 { margin: 14px 0 4px; font-size: 16px; }
.rv p { margin: 0; font-size: 14px; color: var(--muted); }
.rv code { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--ink-2); overflow-wrap: anywhere; }

/* Quick start */
.qs { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; margin-top: 44px; align-items: start; }
.qs__panel { overflow: hidden; }
.qs__tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); background: #fdfcfa; overflow-x: auto; }
.qs__body { position: relative; background: var(--code-bg); }
.qs__body[hidden] { display: none; }
.qs__body pre { margin: 0; padding: 22px; color: var(--code-ink); font: 13px/1.8 var(--mono); overflow-x: auto; }
.qs__body .copy { position: absolute; top: 12px; right: 12px; background: #2a2520; border-color: #3a332c; color: #c8bfb2; }
.qs__body .c { color: #8b8275; }
.qs__body .k { color: #fdba74; }
.qs__steps { display: grid; gap: 12px; }
.qs__step { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 20px; }
.qs__step b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; font: 600 14px/1 var(--mono); }
.qs__step h3 { margin: 2px 0 4px; font-size: 16px; }
.qs__step p { margin: 0; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { margin-top: 40px; display: grid; gap: 10px; max-width: 880px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 550; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--sans); color: var(--faint); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

/* Closing CTA */
.cta { position: relative; overflow: hidden; margin-top: 120px; padding: 84px 24px; text-align: center; border-radius: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.cta::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(closest-side, rgba(234, 108, 48, .2), transparent 70%); pointer-events: none; }
.cta h2 { position: relative; margin: 0 auto; max-width: 760px; font: 600 clamp(34px, 5vw, 60px)/1.04 var(--sans); letter-spacing: -.035em; }
.cta__prompt { position: relative; display: inline-flex; gap: 10px; margin: 26px auto 0; padding: 12px 18px; max-width: 100%; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font: 14px/1.5 var(--mono); color: var(--ink-2); text-align: left; }
.cta__prompt span { color: var(--accent); }
.cta .hero__actions { position: relative; margin-top: 28px; }

/* Footer */
.foot { margin-top: 80px; padding: 34px 0 44px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot__row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot__links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot p { margin: 14px 0 0; max-width: 780px; font-size: 13px; color: var(--muted); }

/* Video dialog */
.dialog { border: 0; padding: 0; border-radius: 18px; background: #000; width: min(1000px, 94vw); box-shadow: var(--shadow-lg); overflow: hidden; }
.dialog::backdrop { background: rgba(23, 20, 15, .6); backdrop-filter: blur(4px); }
.dialog video { width: 100%; height: auto; }
.dialog__close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); font-size: 20px; line-height: 1; cursor: pointer; }

/* Simple pages (privacy, 404) */
.doc { position: relative; z-index: 1; max-width: 720px; padding: 72px 0 40px; }
.doc h1 { margin: 18px 0 0; font: 600 clamp(34px, 5vw, 52px)/1.06 var(--sans); letter-spacing: -.03em; }
.doc h2 { margin: 36px 0 0; font-size: 20px; letter-spacing: -.01em; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; }
.doc a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .btn, .case, .tile { transition: none; } }

/* Responsive */
@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .cases { grid-template-columns: repeat(3, 1fr); }
  .reviewers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .results, .gates-wrap, .qs { grid-template-columns: 1fr; }
  .term { position: static; }
  .steps, .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile--wide { grid-column: span 2; grid-template-columns: 1fr; }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .section { padding-top: 88px; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .nav__right .btn--light { display: none; }
  .hero { padding-top: 36px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .install { justify-content: space-between; }
  .hero__meta .sep { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0 !important; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .steps, .tiles, .cases, .reviewers { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .result { padding: 20px; }
  .result__big b { font-size: 30px; }
  .missed { grid-template-columns: 1fr; gap: 10px; }
  .frame__open { display: none; }
  .frame__body { height: 520px; }
  .caption { left: 10px; bottom: 10px; width: calc(100% - 20px); }
  .caption p { display: none; }
  .gate { grid-template-columns: 1fr; gap: 8px; }
  .gate__n { display: none; }
  .chip { justify-self: start; }
  .term__foot { grid-template-columns: 1fr; }
  .term__foot div { border-left: 0; border-top: 1px solid #2c2722; }
  .term__foot div:first-child { border-top: 0; }
  .cta { padding: 60px 18px; }
}
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
