/* ==========================================================================
   Certra — public landing page
   Same "Instrument" tokens as the app (see design/DESIGN.md), but this is the
   one marketing surface, so it is allowed what the workspace is not: ambient
   glows, scroll-driven reveals, a perspective entrance on the hero mockup and
   a pinned scroll-story for the analysis. Everything is CSS + one small
   module (js/landing.js); prefers-reduced-motion gets the finished page with
   no motion at all.
   ========================================================================== */

/* base.css locks the app shell to the viewport; a document page scrolls */
body.landing {
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: 14px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---- ambient glow blobs -------------------------------------------------- */
.fx {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(90px); opacity: 0.2;
  animation: fx-drift 22s ease-in-out infinite alternate;
}
.fx.teal   { background: radial-gradient(circle, #22c7b0 0%, transparent 65%); }
.fx.violet { background: radial-gradient(circle, #6c63f0 0%, transparent 65%); }
@keyframes fx-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(40px, -30px, 0) scale(1.12); }
}

/* ---- scroll reveals ------------------------------------------------------ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---- topbar -------------------------------------------------------------- */
.site-top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 15, 30, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med), background var(--t-med);
}
.site-top.scrolled { background: rgba(11, 15, 30, 0.75); border-bottom-color: var(--border); }
.site-top .wrap {
  height: 56px;
  display: flex; align-items: center; gap: 24px;
}
.site-brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.site-brand .brand-mark { width: 30px; height: 20px; }
.site-brand span {
  font-size: 13px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
}
.site-nav { display: flex; gap: 4px; margin-left: 12px; }
.site-nav a {
  color: var(--text-2); font-size: 13px; padding: 6px 10px; border-radius: var(--r-xs);
  transition: color var(--t-fast), background var(--t-fast);
}
.site-nav a:hover { color: var(--text); background: var(--surface-2); }
.site-top .cta { margin-left: auto; }

/* the primary action carries a quiet glow — the one place light is spent */
.btn.primary {
  box-shadow: 0 6px 28px rgba(34, 199, 176, 0.22);
  transition: background var(--t-fast), box-shadow var(--t-med), transform var(--t-med);
}
.btn.primary:hover:not(:disabled) {
  box-shadow: 0 10px 36px rgba(34, 199, 176, 0.34);
  transform: translateY(-1px);
}

/* ---- hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 24px 24px;
}
.hero .wrap { position: relative; padding-top: 96px; padding-bottom: 0; }
.hero-copy { max-width: 720px; margin: 0 auto; text-align: center; }
.kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.hero h1 {
  font-size: 54px; line-height: 1.06; letter-spacing: -0.02em; font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 .display {
  font-size: 1.04em; font-style: italic; color: var(--accent);
  text-shadow: 0 0 48px rgba(34, 199, 176, 0.45);
}
.hero .sub {
  font-size: 16px; color: var(--text-2); line-height: 1.65;
  max-width: 56ch; margin: 0 auto 30px;
}
.hero-actions { display: flex; gap: 10px; align-items: center; justify-content: center; }
.hero-note { margin-top: 14px; font-size: 12px; color: var(--text-3); }

/* entrance: copy rises line by line; the mockup fades in while landing.js
   tilts it flat. Opacity animates here, transform only ever in JS — the two
   never contend for the same property. */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
.hero-copy > * { opacity: 0; animation: rise 0.8s var(--ease) both; }
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.14s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.36s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.48s; }
.mock { opacity: 0; animation: appear 1s var(--ease) 0.4s both; }

/* ---- the workspace mockup ------------------------------------------------ */
.mock {
  position: relative;
  max-width: 1040px; margin: 56px auto -1px;
  border: 1px solid var(--border-strong);
  border-bottom: none;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--bg);
  box-shadow: 0 -12px 80px rgba(34, 199, 176, 0.07), var(--shadow-3);
  overflow: hidden;
  text-align: left;
  will-change: transform;
}
.mock-top {
  height: 44px; display: flex; align-items: center; gap: 12px;
  padding: 0 14px;
  background: var(--surface-1); border-bottom: 1px solid var(--border);
}
.mock-top .brand-mark { width: 26px; height: 17px; }
.mock-top .name {
  font-size: 12px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
}
.mock-sep { width: 1px; height: 18px; background: var(--border); }
.mock-pill {
  display: flex; align-items: center; gap: 8px;
  height: 26px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface-2);
  font-size: 12px;
}
.mock-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.mock-pill .meta { font-family: var(--mono); font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.mock-avatar {
  margin-left: auto;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--accent-ring);
  color: var(--accent); font-size: 10.5px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.mock-nav {
  display: flex; align-items: center; gap: 2px;
  height: 38px; padding: 0 10px;
  background: var(--surface-1); border-bottom: 1px solid var(--border);
  font-size: 12.5px;
}
.mock-nav span { padding: 4px 10px; border-radius: var(--r-xs); color: var(--text-3); white-space: nowrap; }
.mock-nav span.on { color: var(--text); background: var(--surface-3); }
.mock-nav.subnav { height: 34px; font-size: 12px; }
.mock-nav.subnav span.on { color: var(--accent); background: var(--accent-soft); }
.mock-body { padding: 16px; }

/* KPI tiles — the app's own design (components.css), scoped to the mockup */
.mock .kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px; margin-bottom: 12px;
}
.mock .kpi {
  position: relative; overflow: hidden;
  background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 12px 14px;
}
.mock .kpi-label {
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-3);
}
.mock .kpi-value {
  font-family: var(--mono); font-size: 26px; font-weight: 500; letter-spacing: -0.01em;
  margin: 6px 0 4px; font-variant-numeric: tabular-nums; line-height: 1.1; color: var(--text);
}
.mock .kpi-value small { font-family: var(--font); font-size: 11px; font-weight: 400; color: var(--text-3); margin-left: 4px; }
.mock .kpi-sub {
  font-family: var(--mono); font-size: 11px; color: var(--text-2);
  display: flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums;
}
.mock .kpi.accent::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--accent);
}
.delta {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; padding: 1px 6px;
  border-radius: var(--r-xs); font-variant-numeric: tabular-nums;
}
.delta.pos { background: var(--danger-soft); color: var(--danger); }
.delta.neg { background: var(--success-soft); color: var(--success); }

.mock-chart {
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface-1);
  padding: 14px 12px 6px;
}
.mock-chart .cap {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0 6px 8px;
}
.mock-chart .cap .t { font-size: 12.5px; font-weight: 600; }
.mock-chart .cap .m { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; }

/* art internals — same rules as auth.css, scoped to the landing */
.art-svg { width: 100%; display: block; }
.art-svg .ax { stroke: var(--border); stroke-width: 1; fill: none; }
.art-svg .grid { stroke: var(--border); stroke-width: 1; stroke-dasharray: 1 5; fill: none; }
.art-svg .det { stroke: var(--text-3); stroke-width: 1; stroke-dasharray: 4 4; }
.art-svg .curve { stroke: var(--accent); stroke-width: 2; stroke-linecap: round; fill: none; }
.art-svg .mark { stroke: var(--accent); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0.5; }
.art-svg .pt { fill: var(--accent); }
.art-svg .bar { fill: var(--border-strong); }
.art-svg text { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.art-svg .lbl { fill: var(--text-2); font-size: 11px; }
.art-svg .tick { fill: var(--text-3); font-size: 10px; }

.art-svg .bar { animation: mc-wave 5s ease-in-out infinite; }
@keyframes mc-wave {
  0%, 100% { opacity: 0.42; }
  50%      { opacity: 1; }
}
.art-svg .curve {
  stroke-dasharray: 610;
  stroke-dashoffset: 0;
  animation: mc-draw 2.2s var(--ease) both;
}
@keyframes mc-draw {
  from { stroke-dashoffset: 610; }
  to   { stroke-dashoffset: 0; }
}
.art-svg .det, .art-svg .det-lbl { animation: mc-fade 0.5s var(--ease) 0.2s both; }
.art-svg .pt, .art-svg .lbl { animation: mc-fade 0.5s var(--ease) 2.1s both; }
.art-svg .mark { animation: mc-fade-mark 0.5s var(--ease) 2.1s both; }
@keyframes mc-fade      { from { opacity: 0; } to { opacity: 1; } }
@keyframes mc-fade-mark { from { opacity: 0; } to { opacity: 0.5; } }
.art-svg .tracer { fill: var(--accent); }
.art-svg .tracer-g { opacity: 0; }
@supports (offset-path: path("M0 0")) {
  .art-svg .tracer-g { opacity: 1; }
  .art-svg .tracer {
    offset-path: path("M60 320C170 320 240 262 320 180C400 98 480 52 580 46");
    offset-rotate: 0deg;
    animation: mc-trace 7s linear 2.2s infinite;
  }
  @keyframes mc-trace {
    0%        { offset-distance: 0%;   opacity: 0; }
    10%       { opacity: 1; }
    90%       { opacity: 1; }
    100%      { offset-distance: 100%; opacity: 0; }
  }
}

/* ---- stats strip --------------------------------------------------------- */
.stats { border-bottom: 1px solid var(--border); background: var(--surface-1); }
.stats .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-top: 0; padding-bottom: 0;
}
.stat {
  padding: 22px 24px;
  border-left: 1px solid var(--border);
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat .v {
  font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: 19px; color: var(--text);
}
.stat .k { font-size: 12px; color: var(--text-3); margin-top: 3px; }

/* ---- sections ------------------------------------------------------------ */
.section { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.section .wrap { position: relative; padding-top: 84px; padding-bottom: 84px; }
.section-kicker {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.section-kicker::after { content: ""; height: 1px; flex: 1; max-width: 64px; background: var(--border-strong); }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head h2 {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: 32px; line-height: 1.15; letter-spacing: -0.005em;
  margin-bottom: 12px; color: var(--text);
}
.section-head p { font-size: 14.5px; color: var(--text-2); line-height: 1.65; }

/* ---- why: one date vs a distribution ------------------------------------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-panel {
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface-1); padding: 20px;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.why-panel:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35); }
.why-panel .tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 4px;
}
.why-panel.certra .tag { color: var(--accent); }
.why-panel h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.why-panel p { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }
.why-panel svg { width: 100%; display: block; }
.why-svg .base { stroke: var(--border-strong); stroke-width: 1.5; }
.why-svg .flag { stroke: var(--text-3); stroke-width: 1.5; }
.why-svg .flag-t { fill: var(--text-2); font-family: var(--mono); font-size: 11px; }
.why-svg .dist { stroke: var(--accent); stroke-width: 2; fill: none; }
.why-svg .fill { fill: var(--accent-soft); stroke: none; }
.why-svg .pmark { stroke: var(--accent); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0.6; }
.why-svg .ptext { fill: var(--accent); font-family: var(--mono); font-size: 11px; }
.why-svg .miss { fill: var(--danger); font-family: var(--mono); font-size: 11px; }
.why-svg .misspt { fill: var(--danger); }

/* how it works: the app's own three sections */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface-1); padding: 22px;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.step:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35); }
.step .n {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--accent); margin-bottom: 14px;
}
.step h3 { font-size: 15px; font-weight: 600; margin-bottom: 7px; }
.step p { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ---- the scroll-story: analysis ------------------------------------------ */
/* overflow must stay visible here: an ancestor with overflow:hidden turns
   position:sticky into position:relative. The glow blobs are clipped by
   .scrolly-sticky's own overflow instead. */
.scrolly { border-bottom: 1px solid var(--border); overflow: visible; }
.scrolly-track { height: 330vh; }
.scrolly-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.scrolly-sticky .wrap { width: 100%; }
.scrolly .section-head { margin-bottom: 28px; }

.scrolly-grid {
  display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: center;
}

/* stacked cross-fade: all children share one grid cell, tallest sets height */
.stack { display: grid; }
.stack > * {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(30px) scale(0.985);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  pointer-events: none;
}
.stack > .on { opacity: 1; transform: none; pointer-events: auto; transition-delay: 0.06s; }

.scopy h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.scopy p { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.scopy ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.scopy li { display: flex; gap: 10px; align-items: baseline; font-size: 13px; color: var(--text-2); }
.scopy li svg.i { width: 13px; height: 13px; color: var(--accent); position: relative; top: 2px; }

.spanel {
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface-1); padding: 18px;
}
.spanel .cap {
  display: flex; justify-content: space-between; align-items: baseline; padding: 0 2px 14px;
}
.spanel .cap .t { font-size: 12.5px; font-weight: 600; }
.spanel .cap .m { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; }

/* progress rail */
.scrolly-progress { display: flex; align-items: center; gap: 20px; margin-top: 30px; }
.pstep {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3); padding: 4px 0;
  transition: color var(--t-fast);
}
.pstep.on { color: var(--accent); }
.pbar { flex: 1; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.pbar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 2px; }

/* tornado stage */
.tornado { display: flex; flex-direction: column; gap: 10px; }
.trow { display: grid; grid-template-columns: 150px 1fr 52px; gap: 12px; align-items: center; }
.trow .tl { font-size: 12px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow .tb {
  height: 14px; border-radius: 3px; background: var(--accent); opacity: 0.85;
  width: 0; transition: width 0.9s var(--ease);
}
.trow:first-child .tb { opacity: 1; }
.spanel.on .tb { width: var(--w); }
.spanel.on .trow:nth-child(2) .tb { transition-delay: 0.08s; }
.spanel.on .trow:nth-child(3) .tb { transition-delay: 0.16s; }
.spanel.on .trow:nth-child(4) .tb { transition-delay: 0.24s; }
.spanel.on .trow:nth-child(5) .tb { transition-delay: 0.32s; }
.trow .tv { font-family: var(--mono); font-size: 11.5px; color: var(--text-2); text-align: right; font-variant-numeric: tabular-nums; }

/* criticality gantt stage */
.gantt { display: flex; flex-direction: column; gap: 9px; }
.grow { display: grid; grid-template-columns: 150px 1fr 44px; gap: 12px; align-items: center; }
.grow .gl { font-size: 12px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grow .gt { position: relative; height: 12px; border-radius: 3px; background: var(--inset); overflow: hidden; }
.grow .gbar {
  position: absolute; top: 0; bottom: 0;
  left: var(--l); width: var(--w);
  border-radius: 3px; background: var(--accent); opacity: var(--o, 0.8);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.grow.hot .gbar { background: var(--orange); opacity: 0.95; }
.grow .gv { font-family: var(--mono); font-size: 11px; color: var(--text-3); text-align: right; font-variant-numeric: tabular-nums; }
.grow.hot .gv { color: var(--orange); }
.spanel.on .gbar { transform: scaleX(1); }
.spanel.on .grow:nth-child(2) .gbar { transition-delay: 0.06s; }
.spanel.on .grow:nth-child(3) .gbar { transition-delay: 0.12s; }
.spanel.on .grow:nth-child(4) .gbar { transition-delay: 0.18s; }
.spanel.on .grow:nth-child(5) .gbar { transition-delay: 0.24s; }
.spanel.on .grow:nth-child(6) .gbar { transition-delay: 0.3s; }
.spanel.on .grow:nth-child(7) .gbar { transition-delay: 0.36s; }
.spanel.on .grow:nth-child(8) .gbar { transition-delay: 0.42s; }

/* AI analyst stage */
.ai-mock { display: flex; flex-direction: column; gap: 12px; }
.ai-q, .ai-a, .ai-scenario {
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.spanel.on .ai-q { opacity: 1; transform: none; transition-delay: 0.15s; }
.spanel.on .ai-a { opacity: 1; transform: none; transition-delay: 0.4s; }
.spanel.on .ai-scenario { opacity: 1; transform: none; transition-delay: 0.75s; }
.ai-q {
  align-self: flex-end; max-width: 85%;
  background: var(--surface-3); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 9px 12px; font-size: 13px;
}
.ai-a {
  align-self: flex-start; max-width: 95%;
  border-left: 2px solid var(--accent);
  padding: 2px 0 2px 12px;
  font-size: 13px; color: var(--text-2); line-height: 1.65;
}
.ai-a .num { font-family: var(--mono); color: var(--text); font-variant-numeric: tabular-nums; }
.ai-scenario {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--accent-ring); border-radius: var(--r-sm);
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--mono); font-size: 11px; padding: 5px 10px;
}
.ai-scenario svg.i { width: 12px; height: 12px; }

/* ---- feature grid -------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface-1); padding: 22px;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.feature:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35); }
.feature svg.i { width: 18px; height: 18px; color: var(--accent); margin-bottom: 14px; }
.feature h3 { font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.feature p { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ---- formats band -------------------------------------------------------- */
.formats { display: flex; flex-wrap: wrap; gap: 10px; }
.format-chip {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface-1); padding: 11px 15px;
  transition: border-color var(--t-fast), transform var(--t-med);
}
.format-chip:hover { border-color: var(--accent-ring); transform: translateY(-2px); }
.format-chip svg.i { width: 15px; height: 15px; color: var(--text-3); }
.format-chip .ext { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.format-chip .src { font-size: 12.5px; color: var(--text-2); }

/* ---- deployment note ------------------------------------------------------ */
.deploy .wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.deploy ul { list-style: none; display: flex; flex-direction: column; gap: 11px; padding-top: 46px; }
.deploy li { display: flex; gap: 10px; align-items: baseline; font-size: 13.5px; color: var(--text-2); }
.deploy li svg.i { width: 14px; height: 14px; color: var(--accent); position: relative; top: 2px; }

/* ---- closing CTA ---------------------------------------------------------- */
.closing { text-align: center; }
.closing .wrap { padding-top: 96px; padding-bottom: 96px; }
.closing h2 {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: 34px; margin-bottom: 12px;
}
.closing p { color: var(--text-2); margin-bottom: 26px; }

/* ---- footer -------------------------------------------------------------- */
.site-foot { background: var(--surface-1); }
.site-foot .cols {
  display: grid; grid-template-columns: 2fr 1fr; gap: 32px;
  padding-top: 44px; padding-bottom: 36px;
}
.site-foot .site-brand .brand-mark { width: 26px; height: 17px; }
.site-foot .about { max-width: 40ch; font-size: 12.5px; color: var(--text-3); line-height: 1.6; margin-top: 12px; }
.site-foot h4 {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3);
  margin-bottom: 12px;
}
.site-foot .col a { display: block; color: var(--text-2); font-size: 13px; padding: 4px 0; }
.site-foot .col a:hover { color: var(--text); }
.site-foot .legal {
  border-top: 1px solid var(--border);
  padding-top: 18px; padding-bottom: 22px;
  display: flex; align-items: center; gap: 16px;
  font-size: 12px; color: var(--text-3);
}
.site-foot .legal .right { margin-left: auto; font-family: var(--mono); font-size: 11px; }

/* ---- reduced motion: the finished page, no theatre ------------------------ */
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .mock { animation: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fx { animation: none; }
  .stack > * { transition: none; }
  .trow .tb, .grow .gbar, .ai-q, .ai-a, .ai-scenario { transition: none; }
  .spanel .tb { width: var(--w); }
  .spanel .gbar { transform: scaleX(1); }
  .why-panel, .step, .feature, .format-chip, .btn.primary { transition: none; }
  .why-panel:hover, .step:hover, .feature:hover, .format-chip:hover,
  .btn.primary:hover:not(:disabled) { transform: none; }
}

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
  .hero .wrap { padding-top: 64px; }
  .hero h1 { font-size: 36px; }
  .hero-actions { flex-wrap: wrap; }
  .mock { margin-top: 40px; }
  .mock-pill .meta { display: none; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat, .stat:first-child { border-left: none; padding-left: 0; }
  .why, .steps, .features { grid-template-columns: 1fr; }
  .scrolly-track { height: 360vh; }
  .scrolly-grid { grid-template-columns: 1fr; gap: 22px; }
  .scrolly-stage { order: -1; }
  .scrolly .section-head h2 { font-size: 24px; }
  .trow { grid-template-columns: 104px 1fr 46px; }
  .grow { grid-template-columns: 104px 1fr 40px; }
  .deploy .wrap { grid-template-columns: 1fr; gap: 28px; }
  .deploy ul { padding-top: 0; }
  .site-nav { display: none; }
  .site-foot .cols { grid-template-columns: 1fr; gap: 24px; }
}
