/* Bracket — marketing site.
   Editorial light system from docs/listing/src, stripped to the studs:
   one ruled frame, hairlines for structure, no shadows, no mockups.
   Inter is the voice, Geist Mono is the data accent, green means status. */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --paper: #f7f7f5;
  --surface: #ffffff;
  --ink: #0f0f10;
  --body: #52525b;
  --faint: #71717a;
  --line: #e4e4e0;
  --line-soft: #ececea;
  --leader: #d6d6d1;
  --green: #15803d;
  --green-neon: #4ade80;   /* dark surfaces only */
  --green-bg: #e9f4ed;
  --green-line: #d4e8dc;
  --mono: "Geist Mono", "SF Mono", Menlo, monospace;
  --sans: "Inter", -apple-system, "Helvetica Neue", sans-serif;
  --display: "Geist", "Inter", -apple-system, sans-serif;
  --pad-x: clamp(24px, 4.5vw, 56px);
  --frame: 1080px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--ink); color: var(--paper); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Frame: one ruled column, rails run the page ─────── */

.shell {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.frame {
  max-width: var(--frame);
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.frame > section { padding: 96px var(--pad-x); border-bottom: 1px solid var(--line); }
.frame > section:last-child { border-bottom: 0; }

/* ── Type roles ───────────────────────────────────────── */

.kicker {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.028em; line-height: 1.08; }
h1 { font-size: clamp(38px, 4.6vw, 56px); }
h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.024em; }

.green { color: var(--green); }

.lede { font-size: 17px; line-height: 1.6; color: var(--body); }

/* ── Actions: filled uppercase mono slugs (brand) ─────── */

.slug {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 10px 18px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.slug:hover { background: var(--ink); color: var(--paper); }
.slug.fill { background: var(--ink); color: var(--surface); }
.slug.fill:hover { background: #2c2c30; border-color: #2c2c30; }
.slug.quiet { border-color: var(--line); color: var(--body); }
.slug.quiet:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.slug.sm { padding: 8px 14px; font-size: 11px; }

/* ── Nav ──────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 247, 245, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 60px;
}
.nav-logo { display: flex; align-items: center; flex: none; }
.nav-logo img { height: 10px; display: block; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--faint); text-decoration: none;
  transition: color 0.12s ease;
}
.nav-links a:hover { color: var(--ink); }

/* ── Hero: full-bleed. The drift field breathes behind a
   console that plays the product loop. ─────────────────── */

.hero {
  position: relative;
  text-align: center;
  padding: 116px 0 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  /* light falls from above; the paper is lit, not flat */
  background:
    radial-gradient(120% 64% at 50% 0%, #ffffff 0%, rgba(255,255,255,0) 58%),
    var(--paper);
}
/* film grain over the whole hero, console included */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: multiply;
}

/* Theme code drifting upward, three columns, different speeds */
.hero-field {
  position: absolute; inset: -80px 0;
  display: flex; justify-content: space-between;
  padding: 0 3vw;
  pointer-events: none;
}
.hero-field pre {
  font-family: var(--mono);
  font-size: 13px; line-height: 2.5;
  color: #cbcbc2;
  text-align: left;
  white-space: pre; margin: 0;
  animation: drift linear infinite;
}
/* Each column holds 6 identical blocks; -50% lands exactly 3 blocks
   later, so the scroll never visibly resets. */
.hero-field .f1 { animation-duration: 84s; }
.hero-field .f2 { animation-duration: 116s; animation-delay: -60s; }
.hero-field .f3 { animation-duration: 98s; animation-delay: -25s; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* Live rewrites, driven by script.js: the ghost developer picks a line,
   backspaces the deprecated tag, retypes the fix, lets it settle green,
   then the line fades back into the stream. */
.rw { display: inline-block; }
.rw .txt { transition: color 0.6s ease; }
.rw.active .txt { color: var(--ink); transition: none; }
.rw.done .txt { color: var(--green); transition: none; }
.rw .cur {
  display: none;
  width: 0.55ch; height: 1.15em;
  background: var(--ink);
  vertical-align: text-bottom;
  margin-left: 1px;
}
.rw.active .cur { display: inline-block; animation: blink-cur 1s steps(1) infinite; }
@keyframes blink-cur { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }

/* Paper veil: keeps the centre clean, lets the margins speak */
.hero-veil {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(247,247,245,0.35) 0%, rgba(247,247,245,0) 14%,
      rgba(247,247,245,0) 46%, var(--paper) 82%),
    radial-gradient(ellipse 52% 44% at 50% 30%, var(--paper) 36%,
      rgba(247,247,245,0.78) 64%, rgba(247,247,245,0) 90%);
}

.hero-content { position: relative; }
.hero h1 {
  font-size: clamp(46px, 6.4vw, 80px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0 auto 24px;
  max-width: 840px;
}
.hero .lede {
  font-size: 18px;
  max-width: 480px; margin: 0 auto 36px;
  text-wrap: balance;
}
.hero-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* One orchestrated entrance, top to bottom */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.hero-content > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-content > h1 { animation-delay: 0.05s; }
.hero-content > .lede { animation-delay: 0.14s; }
.hero-content > .hero-actions { animation-delay: 0.22s; }
.hero-content > .console { animation-delay: 0.32s; animation-duration: 0.9s; }

/* The console: a lit object, not a flat panel. Rises out of the fold,
   loops a scan session (~14s). */
.console {
  width: min(880px, 100%);
  margin: 72px auto 0;
  text-align: left;
  background: linear-gradient(180deg, #131316 0%, #0a0a0b 34%);
  border: 1px solid #26262b;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  font-family: var(--mono);
  font-size: 13px; line-height: 2.2;
  color: #a1a1aa;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 -8px 28px rgba(15, 15, 16, 0.10),
    0 -36px 100px rgba(15, 15, 16, 0.16);
}
.console-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid #1d1d21;
}
.console-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c2c30; }
.console-bar .title {
  margin-left: 10px;
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #52525b;
}
.console-body { padding: 22px 28px 26px; min-height: 285px; }
.console .ok { color: #fafafa; font-weight: 600; }
.console .tick { color: var(--green-neon); font-weight: 700; }
.console .line { opacity: 0; animation: 14s linear infinite; }
.console .l1 { animation-name: cl1; }
.console .l2 { animation-name: cl2; }
.console .l3 { animation-name: cl3; }
.console .l4 { animation-name: cl4; }
.console .l5 { animation-name: cl5; }
.console .l6 { animation-name: cl6; }
.console .l7 { animation-name: cl7; }
.console .l8 { animation-name: cl8; }
.console .l9 { animation-name: cl9; }
@keyframes cl1 { 0%, 1.9% { opacity: 0; } 2.5%, 96% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes cl2 { 0%, 8.4% { opacity: 0; } 9%, 96% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes cl3 { 0%, 15.4% { opacity: 0; } 16%, 96% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes cl4 { 0%, 23.4% { opacity: 0; } 24%, 96% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes cl5 { 0%, 32.4% { opacity: 0; } 33%, 96% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes cl6 { 0%, 43.4% { opacity: 0; } 44%, 96% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes cl7 { 0%, 55.4% { opacity: 0; } 56%, 96% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes cl8 { 0%, 67.4% { opacity: 0; } 68%, 96% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes cl9 { 0%, 77.4% { opacity: 0; } 78%, 96% { opacity: 1; } 99%, 100% { opacity: 0; } }
.caret::after { content: "\258A"; color: #fafafa; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .hero-field pre, .rw .cur { animation: none; }
  .hero-content > * { animation: none; }
  .console .line { animation: none; opacity: 1; }
  .caret::after { animation: none; }
}

/* ── The change record (signature artifact) ───────────── */

.record {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 470px;
  justify-self: end;
  width: 100%;
}
.record-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line-soft);
}
.record-head .kicker { letter-spacing: 0.14em; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--body);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; }
.record-title {
  padding: 20px 22px 4px;
  font-size: 18px; font-weight: 600; letter-spacing: -0.016em; line-height: 1.35;
}
.record-rows { padding: 10px 22px 20px; }
.rrow {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 0;
  font-size: 13.5px;
}
.rrow .r-name { color: var(--ink); font-weight: 450; }
.rrow .r-fill { flex: 1; border-bottom: 2px dotted var(--leader); transform: translateY(-4px); }
.rrow .r-val {
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--faint);
}
.rrow .r-val.pass { color: var(--green); font-weight: 600; }
.rrow.pend .r-name { color: var(--faint); font-weight: 400; }
.record-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 22px;
  border-top: 1px solid var(--line-soft);
}
.record-foot .note {
  font-family: var(--mono);
  font-size: 10.5px; color: var(--faint); letter-spacing: 0.04em;
}

/* ── Drift: statement + terminal ──────────────────────── */

.drift-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.drift-grid h2 { margin: 20px 0 18px; max-width: 420px; }
.drift-grid p { color: var(--body); max-width: 460px; }

/* ── How it works: numbered top-rule columns ──────────── */

.how h2 { margin-top: 20px; max-width: 480px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 56px;
}
.step { border-top: 1px solid var(--ink); padding-top: 18px; }
.step .num {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  color: var(--faint);
  display: block; margin-bottom: 14px;
}
.step h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.step p { font-size: 13.5px; line-height: 1.6; color: var(--body); }

/* ── Features: spec table ─────────────────────────────── */

.spec-head { margin-bottom: 52px; }
.spec-head h2 { margin-top: 20px; max-width: 480px; }
.spec { border-top: 1px solid var(--line); }
.spec-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.spec-row .kicker { padding-top: 4px; }
.spec-row h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.014em; line-height: 1.4; }
.spec-row p { font-size: 14px; line-height: 1.65; color: var(--body); }

/* ── CTA ──────────────────────────────────────────────── */

.cta { text-align: center; padding-top: 120px !important; padding-bottom: 120px !important; }
.cta h2 { font-size: clamp(28px, 3.2vw, 38px); margin: 20px auto 16px; }
.cta p { color: var(--body); max-width: 420px; margin: 0 auto 32px; }
.cta .support {
  display: block; margin-top: 28px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em;
  color: var(--faint);
}
.cta .support a { color: var(--body); text-decoration: none; border-bottom: 1px solid var(--leader); }
.cta .support a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ── Evolution: pinned scroll story ───────────────────── */

.evo { background: #08080a; position: relative; }
.evo-track { height: auto; }
.evo-js .evo-track { height: 460vh; }
.evo-stage {
  position: relative;
  height: 80vh;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  --tilt: 0; --wipe2: 0; --wipe4: 0;
}
.evo-js .evo-stage { position: sticky; top: 0; height: 100vh; }

.evo-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(52% 46% at 50% 52%, rgba(255, 255, 255, 0.055), transparent 72%);
}

/* The window: a browser-framed object, not a background */
.evo-win {
  position: relative;
  width: min(52vw, 118vh);
  transform: perspective(1600px)
    rotateX(calc(var(--tilt) * 9deg))
    rotateY(calc(var(--tilt) * -7deg))
    translateY(calc(var(--tilt) * 16vh))
    scale(calc(1 + var(--tilt) * 0.05));
  will-change: transform;
}
.evo-bar {
  position: relative;
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: #131316;
  border: 1px solid #2a2a2f; border-bottom: 0;
  border-radius: 12px 12px 0 0;
}
.evo-bar i { width: 8px; height: 8px; border-radius: 50%; background: #2c2c30; }
.evo-bar .url {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: #71717a;
}
.evo-shot {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid #2a2a2f; border-top: 0;
  border-radius: 0 0 12px 12px;
  background: #131316;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.6);
}
.evo-l { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.evo-l4 { clip-path: inset(0 calc((1 - var(--wipe4)) * 100%) 0 0); }

/* The rebuild sweep: fires once when a change lands, at its own speed */
.evo-shine {
  position: absolute; top: -12%; bottom: -12%; left: 0; width: 34%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-140%) skewX(-14deg);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}
.evo-shine.play { animation: shine 0.85s cubic-bezier(0.3, 0, 0.4, 1); }
@keyframes shine {
  0% { transform: translateX(-140%) skewX(-14deg); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateX(330%) skewX(-14deg); opacity: 0; }
}

/* Overlay elements: hidden until the engine flips .on */
.evo [data-evo] {
  position: absolute;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  z-index: 2;
}
.evo [data-evo].on { opacity: 1; transform: none; }

/* Title: highlighter strips over the dark stage */
.evo-title { inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; }
.evo-title h2 { font-size: clamp(34px, 4.4vw, 58px); letter-spacing: -0.035em; line-height: 1.2; }
.evo-title .hl {
  display: inline-block;
  background: #fafafa; color: var(--ink);
  padding: 0.08em 0.45em 0.14em;
  border-radius: 5px;
}

/* Callouts: the recommendation card, CTA inside */
.evo-callout {
  font-family: var(--mono);
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 14px 16px;
  max-width: 295px;
}
.co-head {
  display: flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: #fafafa; line-height: 1.6;
}
.evo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-neon); flex: none; }
.co-fix {
  font-family: var(--sans);
  font-size: 12.5px; color: #c8c8cd; line-height: 1.55;
  margin: 8px 0 12px;
}
.evo .evo-callout .co-cta { position: static; opacity: 1; transform: none; transition: none; }
.co-cta .idle, .co-cta .donez {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  border-radius: 4px; padding: 8px 13px;
}
.co-cta .idle { background: #fafafa; border: 1px solid #fafafa; color: var(--ink); }
.co-cta .donez { display: none; background: rgba(74, 222, 128, 0.14); border: 1px solid rgba(74, 222, 128, 0.5); color: var(--green-neon); }
.co-cta.on .idle { display: none; }
.co-cta.on .donez { display: inline-flex; }

.evo-c1 { top: 13%; right: 2%; }
.evo-c2 { top: 28%; left: 3%; }
.evo-c3 { top: 50%; left: 26%; }

/* The change, built in HTML: sign-in dialog, part of the page below Account */
.evo .evo-dlg { top: 10.5%; right: 3.5%; width: 20.5%; min-width: 165px; }
.dlg-card {
  background: #fdfcfa; border-radius: 8px;
  padding: 1.5em 1.35em 1.2em;
  box-shadow: 0 14px 44px rgba(20, 16, 10, 0.28);
  font-family: Georgia, 'Times New Roman', serif; color: #1c1a17;
  font-size: clamp(9px, 0.85vw, 13px);
}
.dlg-h { font-size: 1.45em; text-align: center; margin-bottom: 1em; }
.dlg-f { border: 1px solid #ddd8d0; border-radius: 4px; padding: 0.65em 0.8em; font-size: 0.95em; color: #8a857c; margin-bottom: 0.7em; }
.dlg-b { background: #16130f; color: #fdfcfa; border-radius: 4px; text-align: center; padding: 0.75em; font-size: 1.05em; margin: 0.85em 0; }
.dlg-l { text-align: center; font-size: 0.9em; text-decoration: underline; color: #6b665e; }

/* The compliance notice, built in HTML, lands on the product page */
.evo .evo-notice {
  top: 62%; left: 58%; width: 34.3%;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(9px, 0.95vw, 14px); line-height: 1.55; color: #2e2a24;
  background: #fbf9f6;
  border: 1.5px solid var(--green-neon); border-radius: 8px;
  padding: 0.85em 1em;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.15), 0 14px 40px rgba(0, 0, 0, 0.18);
}
.evo-notice .warn { color: #a97f1d; }
.evo .evo-notice.on { animation: notice-settle 0.5s 0.9s forwards; }
@keyframes notice-settle {
  to { border-color: #e3ded4; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10); }
}

.evo-score { left: 3%; bottom: 6%; display: flex; flex-direction: column; gap: 7px; }
.chip-s {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: #d4d4d8;
  background: rgba(10, 10, 12, 0.78); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px; padding: 9px 13px;
  display: flex; justify-content: space-between; gap: 18px; min-width: 160px;
}
.chip-s .val { position: relative; }
.chip-s b { font-weight: 600; }
.chip-s .bad { color: #e8a33d; opacity: 1; transition: opacity 0.3s ease; }
.chip-s .good { position: absolute; right: 0; top: 0; color: var(--green-neon); opacity: 0; transition: opacity 0.3s ease; }
.chip-s.flip .bad { opacity: 0; }
.chip-s.flip .good { opacity: 1; }

.evo .evo-sum {
  bottom: 5%; left: 50%; transform: translate(-50%, 12px);
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #fafafa; white-space: nowrap;
}
.evo .evo-sum.on { transform: translate(-50%, 0); }

/* No JS / reduced motion: one flat frame with the title */
.evo:not(.evo-js) .evo-title, .evo-static .evo-title { opacity: 1; transform: none; }
.evo-static .evo-track { height: auto !important; }
.evo-static .evo-stage { position: relative !important; height: 80vh !important; }

/* ── Footer ───────────────────────────────────────────── */

.footer { border-top: 1px solid var(--line); }
.footer-inner {
  display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap;
  padding-top: 56px; padding-bottom: 48px;
}
.footer-brand img { height: 10px; display: block; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: var(--faint); max-width: 280px; }
.footer-cols { display: flex; gap: clamp(40px, 6vw, 80px); flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 {
  font-family: var(--mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 13.5px; color: var(--body); text-decoration: none;
  transition: color 0.12s ease;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  padding-top: 24px; padding-bottom: 40px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em;
  color: var(--faint);
}

/* ── Privacy page ─────────────────────────────────────── */

.legal { padding: 88px var(--pad-x) 112px; }
.legal-inner { max-width: 660px; }
.legal h1 { font-size: clamp(32px, 3.8vw, 44px); margin: 20px 0 12px; }
.legal .updated {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint);
}
.legal-body { margin-top: 56px; }
.legal-body section {
  margin-bottom: 48px; padding: 0; border: 0;
}
.legal-body h2 { font-size: 19px; letter-spacing: -0.014em; margin-bottom: 12px; }
.legal-body p { font-size: 14.5px; line-height: 1.7; color: var(--body); margin-bottom: 12px; }
.legal-body p strong { color: var(--ink); font-weight: 600; }
.legal-body ul { list-style: none; margin: 16px 0; border-top: 1px solid var(--line-soft); }
.legal-body ul li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px; line-height: 1.65; color: var(--body);
}
.legal-body ul li strong { color: var(--ink); font-weight: 600; }
.legal-body a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--leader); }
.legal-body a:hover { border-bottom-color: var(--ink); }

.sub-table {
  border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; margin: 20px 0; background: var(--surface);
}
.sub-row {
  display: flex; gap: 16px; align-items: baseline;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
}
.sub-row:last-child { border-bottom: 0; }
.sub-row.head {
  background: var(--paper);
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint);
}
.sub-row .sub-name { width: 150px; flex: none; font-weight: 550; color: var(--ink); }
.sub-row.head .sub-name { font-weight: 500; color: var(--faint); }
.sub-row .sub-role { color: var(--body); }

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 920px) {
  .hero { padding-top: 72px; }
  .hero-field .f3 { display: none; }
  .record { justify-self: start; }
  .drift-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .spec-row { grid-template-columns: 150px 1fr; }
  .spec-row p { grid-column: 2; }
}

@media (max-width: 640px) {
  .frame { border-left: 0; border-right: 0; }
  .frame > section { padding-top: 64px; padding-bottom: 64px; }
  .nav-links { display: none; }
  .hero { padding-top: 64px; }
  .hero-field .f2 { display: none; }
  .console { font-size: 12px; }
  .console-body { min-height: 235px; padding: 18px 20px 22px; }
  .evo-win { width: min(88vw, 118vh); }
  .evo-callout { max-width: 200px; padding: 10px 12px; }
  .co-head { font-size: 10px; }
  .co-fix { font-size: 11px; margin: 6px 0 10px; }
  .evo .evo-dlg { width: 26%; min-width: 140px; }
  .chip-s { font-size: 10px; min-width: 130px; padding: 7px 10px; }
  .evo .evo-sum { font-size: 10px; white-space: normal; text-align: center; width: 90%; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .spec-row { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .spec-row p { grid-column: auto; }
  .record-head { flex-wrap: wrap; }
  .footer-inner { flex-direction: column; gap: 36px; }
  .sub-row { flex-direction: column; gap: 2px; }
  .sub-row .sub-name { width: auto; }
}
