/* Clonary landing — styles. 8px grid, light + dark from the logo fills, transform/opacity motion only. */

@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-tight-400.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-tight-500.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-tight-600.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-tight-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  /* Brand fills (brand/logo): teal #0f6b5c on paper #f4f5f2, ink #14181a. */
  --bg: #f4f5f2;
  --surface: #ffffff;
  --surface-2: #eceeea;
  --line: #d9ddd7;
  --line-strong: #b9c0bb;
  --ink: #14181a;
  --ink-2: #2b3134;
  --muted: #4b5357;
  --accent: #0f6b5c;
  --accent-ink: #f4f5f2;
  --accent-soft: #dcebe6;
  --warn: #8a5a00;
  --warn-soft: #f6ebd3;
  --stop: #a3261f;
  --stop-soft: #f6dedb;
  --focus: #0f6b5c;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px; --s16: 128px;
  --r1: 8px; --r2: 16px;
  --max: 1136px;
  --nav-h: 72px;
  --sans: "Inter Tight", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Brand fills (brand/logo dark): teal #3fb59e on night #0d1112, ink #e8ecf0. */
    --bg: #0d1112;
    --surface: #131819;
    --surface-2: #192022;
    --line: #232c2e;
    --line-strong: #34403f;
    --ink: #e8ecf0;
    --ink-2: #c9d1d0;
    --muted: #9aa6a3;
    --accent: #3fb59e;
    --accent-ink: #0d1112;
    --accent-soft: #12302a;
    --warn: #e2b04a;
    --warn-soft: #2d2412;
    --stop: #f08a80;
    --stop-soft: #321a18;
    --focus: #3fb59e;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + var(--s2)); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.skip {
  position: absolute; left: var(--s2); top: var(--s2); z-index: 100;
  padding: var(--s1) var(--s2); border-radius: var(--r1);
  background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--s2); }
@media (min-width: 720px) { .wrap { padding: 0 var(--s4); } }

.theme-dark { display: none; }
@media (prefers-color-scheme: dark) { .theme-light { display: none; } .theme-dark { display: block; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: var(--s3); }
.brand { display: flex; align-items: center; height: 56px; margin-left: -8px; border-radius: var(--r1); }
.brand svg { height: 56px; width: auto; }
@media (min-width: 720px) { .brand { margin-left: -12px; } .brand svg { height: 64px; } }
.nav-in > nav { margin-left: auto; }
.nav-links { display: none; gap: var(--s1); margin: 0; padding: 0; list-style: none; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s2);
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; border-radius: var(--r1);
}
.nav-links a:hover { color: var(--ink); }
.nav .btn { margin-left: auto; }
@media (min-width: 960px) { .nav-links { display: flex; } .nav .btn { margin-left: 0; } }

/* ---------- Buttons, pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  min-height: 48px; padding: 0 var(--s3);
  border-radius: var(--r1); border: 1px solid transparent;
  font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .15s var(--ease), opacity .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { opacity: .92; }
.btn-ghost { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.nav .btn { min-height: 44px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.nav .sm-only { display: none; }
@media (max-width: 719px) {
  .nav .lg-only { display: none; }
  .nav .sm-only { display: inline; }
  /* Mobile: quiet outline button, 36px visual, 44px tap area. */
  .nav .btn { position: relative; min-height: 36px; padding: 0 12px; font-size: 13px; font-weight: 500; background: transparent; color: var(--ink); border-color: var(--line-strong); border-radius: 999px; }
  .nav .btn::after { content: ""; position: absolute; inset: -4px; }
}
.btn svg { width: 16px; height: 16px; }

.pill {
  display: inline-flex; align-items: center; gap: var(--s1);
  padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-strong);
  font: 500 13px/1.6 var(--mono); letter-spacing: .02em; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.eyebrow { margin: 0 0 var(--s2); font: 500 13px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(40px, 9vw, 80px); line-height: 1.02; letter-spacing: -.04em; }
h2 { font-size: clamp(32px, 5.2vw, 52px); line-height: 1.08; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.015em; font-weight: 600; }
p { margin: 0; }
.lead { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.55; color: var(--muted); max-width: 40em; text-wrap: pretty; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }

/* ---------- Sections ---------- */
main > section { padding: var(--s12) 0; border-top: 1px solid var(--line); }
main > section.hero { border-top: 0; }
@media (min-width: 960px) { main > section { padding: var(--s16) 0; } }
.sec-head { display: grid; gap: var(--s3); margin-bottom: var(--s8); max-width: 760px; }

/* ---------- Hero ---------- */
.hero { padding: var(--s8) 0 var(--s12); }
.hero-grid { display: grid; gap: var(--s6); align-items: center; }
.hero-copy { display: grid; gap: var(--s3); justify-items: start; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s1); }
.hero-claims { display: grid; gap: var(--s1); margin: var(--s2) 0 0; padding: 0; list-style: none; font: 400 14px/1.6 var(--mono); color: var(--muted); }
.hero-claims li { display: flex; gap: var(--s1); align-items: baseline; }
.hero-claims li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--accent); transform: translateY(-1px); }
.hero-art {
  position: relative; justify-self: center; width: min(76vw, 400px); aspect-ratio: 1;
  display: grid; place-items: center;
}
.hero-art::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed var(--line-strong);
}
.hero-art::after {
  content: ""; position: absolute; inset: 14%; border-radius: 50%;
  border: 1px solid var(--line);
}
.hero-mark { width: 62%; position: relative; z-index: 1; }
.hero-mark svg { width: 100%; height: auto; overflow: visible; }
.hero-label { position: absolute; z-index: 1; font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--muted); }
.hero-label.l1 { left: 4%; bottom: 10%; }
.hero-label.l2 { right: 4%; top: 10%; }
@media (min-width: 960px) {
  .hero { padding: var(--s12) 0 var(--s16); }
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: var(--s8); }
}

/* Hero mark: source and clone separate, the isolation wall appears, then both settle. Runs once, < 2 s. */
.hero-mark circle, .hero-mark rect { transform-box: fill-box; transform-origin: center; }
.motion .hero-mark circle:nth-of-type(1) { animation: mk-src 1.6s var(--ease) .15s both; }
.motion .hero-mark circle:nth-of-type(2) { animation: mk-clone 1.6s var(--ease) .15s both; }
.motion .hero-mark rect { animation: mk-wall 1.6s var(--ease) .15s both; }
@keyframes mk-src   { 0% { transform: translateX(16%); } 55% { transform: translateX(-5%); } 100% { transform: none; } }
@keyframes mk-clone { 0% { transform: translateX(-18%); opacity: .35; } 55% { transform: translateX(6%); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes mk-wall  { 0%, 25% { opacity: 0; transform: scaleY(.4); } 60% { opacity: 1; transform: scaleY(1.04); } 100% { opacity: 1; transform: none; } }

/* ---------- Problem ---------- */
.problem-list { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; }
.problem-list li { display: grid; grid-template-columns: 32px 1fr; gap: var(--s2); padding: var(--s3); background: var(--bg); }
.problem-list .n { font: 500 13px/1.9 var(--mono); color: var(--muted); }
@media (min-width: 720px) { .problem-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .problem-list { grid-template-columns: 1fr 1fr 1fr; } }

/* ---------- Pipeline ---------- */
.pipe { position: relative; display: grid; gap: var(--s2); margin: 0; padding: 0 0 0 var(--s5); list-style: none; }
.pipe > li[aria-hidden], .rail ol > li[aria-hidden] { position: absolute; inset: 0; pointer-events: none; }
.pipe-track, .pipe-fill { position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; }
.pipe-track { background: var(--line); }
.pipe-fill { background: var(--accent); transform-origin: top; transform: scaleY(0); will-change: transform; }
.step { position: relative; padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r2); background: var(--surface); }
.step::before {
  content: ""; position: absolute; left: calc(-1 * var(--s5) + 4px); top: var(--s3);
  width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong);
}
.step::after {
  content: ""; position: absolute; left: calc(-1 * var(--s5) + 4px); top: var(--s3);
  width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 2px solid var(--accent);
  opacity: 0; transform: scale(.4); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.step.lit::after { opacity: 1; transform: none; }
.step-k { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1); margin-bottom: var(--s1); font: 500 13px/1.6 var(--mono); color: var(--muted); letter-spacing: .06em; white-space: nowrap; }
.step h3 { margin-bottom: var(--s1); }
.step p { color: var(--muted); font-size: 16px; }
.step-glow { position: absolute; inset: -1px; border-radius: var(--r2); border: 1px solid var(--accent); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.step.lit .step-glow { opacity: 1; }
.tick {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
  padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
  font: 500 12px/1.6 var(--mono); letter-spacing: .04em;
  opacity: 0; transform: scale(.85); transition: opacity .4s var(--ease) .15s, transform .4s var(--ease) .15s;
}
.tick svg { width: 12px; height: 12px; }
.step.admitted .tick { opacity: 1; transform: none; }
.pipe-note { margin-top: var(--s4); font: 400 14px/1.6 var(--mono); color: var(--muted); }

@media (min-width: 1024px) {
  .pipe { grid-template-columns: repeat(5, 1fr); gap: var(--s2); padding: var(--s6) 0 0; }
  .pipe-track, .pipe-fill { left: 12px; right: 12px; top: 11px; bottom: auto; width: auto; height: 2px; }
  .pipe-fill { transform-origin: left; transform: scaleX(0); }
  .step::before, .step::after { left: var(--s3); top: calc(-1 * var(--s6) + 4px); }
  .step { display: flex; flex-direction: column; padding: var(--s3) var(--s2); }
  .step-k { font-size: 12px; letter-spacing: .04em; }
  .step-gate .tick { position: absolute; top: calc(-1 * var(--s6) - 6px); left: calc(var(--s3) + 24px); margin: 0; }
}

/* ---------- Verdicts ---------- */
.split { display: grid; gap: var(--s6); align-items: start; }
.split > *, .hero-grid > *, .arch > *, .council > *, .grid-cards > *, .cases > * { min-width: 0; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s10); } }
.verdicts { display: grid; gap: var(--s2); margin: 0; padding: 0; list-style: none; }
.verdict { display: grid; gap: var(--s1); padding: var(--s3); border-radius: var(--r2); border: 1px solid var(--line); background: var(--surface); }
.badge { justify-self: start; padding: 2px 10px; border-radius: 6px; font: 500 13px/1.7 var(--mono); letter-spacing: .02em; }
.badge.ok { background: var(--accent-soft); color: var(--accent); }
.badge.rev { background: var(--warn-soft); color: var(--warn); }
.badge.no { background: var(--stop-soft); color: var(--stop); }
.verdict p { color: var(--muted); font-size: 16px; }

.fig { margin: 0; }
.card-code {
  margin: 0; padding: var(--s3); border-radius: var(--r2); border: 1px solid var(--line); background: var(--surface);
  font: 400 14px/1.75 var(--mono); color: var(--ink-2); overflow-x: auto; white-space: pre;
}
.card-code .c { color: var(--muted); }
.card-code .k { color: var(--accent); }
.rules { display: grid; gap: var(--s2); margin: var(--s4) 0 0; padding: 0; list-style: none; }
.rules li { display: grid; grid-template-columns: 24px 1fr; gap: var(--s1); color: var(--ink-2); font-size: 16px; }
.rules svg { width: 18px; height: 18px; margin-top: 4px; color: var(--accent); }

/* ---------- Council ---------- */
.council { display: grid; gap: var(--s2); }
@media (min-width: 720px) { .council { grid-template-columns: repeat(3, 1fr); } }
.cell { padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r2); background: var(--surface); display: grid; gap: var(--s1); align-content: start; }
.cell p { color: var(--muted); font-size: 16px; }
.cell .k { font: 500 13px/1.6 var(--mono); letter-spacing: .06em; color: var(--accent); }
.council-flow { margin-top: var(--s4); display: grid; gap: var(--s2); padding: var(--s3); border: 1px dashed var(--line-strong); border-radius: var(--r2); font: 400 14px/1.7 var(--mono); color: var(--muted); }
.council-flow b { color: var(--ink); font-weight: 500; }

/* ---------- Security grid ---------- */
.grid-cards { display: grid; gap: var(--s2); margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .grid-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(4, 1fr); } }
.icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent); margin-bottom: var(--s1); }
.icon svg { width: 20px; height: 20px; }
.note { margin-top: var(--s4); font-size: 15px; color: var(--muted); }

/* ---------- Use cases ---------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--s1); margin: 0 0 var(--s4); padding: 0; list-style: none; }
.chip {
  min-height: 44px; padding: 0 var(--s2); border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink-2); font: 500 15px/1 var(--sans); cursor: pointer;
  transition: opacity .15s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.cases { display: grid; gap: var(--s2); margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case { display: grid; gap: var(--s1); align-content: start; padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r2); background: var(--surface); }
.case[hidden] { display: none; }
.case p { color: var(--muted); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s1); }
.tag { padding: 0 8px; border-radius: 6px; background: var(--surface-2); font: 400 12px/1.9 var(--mono); color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Architecture ---------- */
.arch { display: grid; gap: var(--s2); }
.zone { border: 1px solid var(--line); border-radius: var(--r2); padding: var(--s3); background: var(--surface); }
.zone-h { display: flex; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s2); font: 500 13px/1.6 var(--mono); letter-spacing: .06em; color: var(--muted); }
.zone-h b { color: var(--accent); font-weight: 500; }
.boxes { display: grid; gap: var(--s1); }
.box { padding: var(--s2); border-radius: var(--r1); border: 1px solid var(--line); background: var(--bg); }
.box strong { display: block; font-weight: 600; }
.box span { font: 400 13px/1.6 var(--mono); color: var(--muted); }
.arrow { text-align: center; font: 400 13px/1.6 var(--mono); color: var(--muted); }
@media (min-width: 720px) { .boxes { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) {
  .arch { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
  .arch .zone.wide { grid-column: 1 / -1; }
  .arch .boxes { grid-template-columns: 1fr; }
  .arch .zone.wide .boxes { grid-template-columns: repeat(4, 1fr); }
  .arrow { align-self: center; max-width: 88px; line-height: 1.5; }
}
.facts { display: grid; gap: 1px; margin: var(--s4) 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; }
.facts div { display: grid; gap: 4px; padding: var(--s2) var(--s3); background: var(--bg); }
.facts dt { font: 500 12px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s2);
  min-height: 64px; padding: var(--s2) 0; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 600; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 24px/1 var(--mono); color: var(--muted); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 var(--s3); color: var(--muted); max-width: 44em; }

/* ---------- Final CTA ---------- */
.cta { text-align: left; }
.cta-box { display: grid; gap: var(--s3); padding: var(--s6) var(--s3); border-radius: var(--r2); background: var(--ink); color: var(--bg); }
.cta-box h2 { color: var(--bg); }
.cta-box p { color: var(--bg); opacity: .82; max-width: 40em; }
.cta-box .btn-primary { justify-self: start; background: var(--bg); color: var(--ink); }
.cta-box .mono { font-size: 14px; }
@media (min-width: 720px) { .cta-box { padding: var(--s10) var(--s8); } }

/* ---------- Footer ---------- */
.foot { padding: var(--s6) 0 var(--s8); border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.foot-in { display: grid; gap: var(--s2); }
.foot a { color: var(--ink); }
@media (min-width: 720px) { .foot-in { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Side rail (desktop) ---------- */
.rail { display: none; }
@media (min-width: 1360px) {
  .rail { display: block; position: fixed; z-index: 40; left: var(--s4); top: 50%; transform: translateY(-50%); }
  .rail ol { position: relative; margin: 0; padding: 0 0 0 var(--s3); list-style: none; display: grid; gap: 2px; }
  .rail-track, .rail-fill { position: absolute; left: 3px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; }
  .rail-track { background: var(--line); }
  .rail-fill { background: var(--accent); transform-origin: top; transform: scaleY(0); will-change: transform; }
  .rail a {
    display: flex; align-items: center; min-height: 28px; font: 500 12px/1 var(--mono); letter-spacing: .04em;
    color: var(--muted); text-decoration: none; opacity: .7; transition: opacity .2s var(--ease);
  }
  .rail a:hover, .rail a[aria-current="true"] { opacity: 1; color: var(--ink); }
  .rail a[aria-current="true"]::before { content: ""; position: absolute; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
}

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.nf { min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; padding: var(--s8) 0; }
.nf-in { display: grid; gap: var(--s3); justify-items: start; max-width: 560px; }
.nf-code { font: 500 14px/1 var(--mono); letter-spacing: .12em; color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .pipe-fill { transform: none !important; }
  .rail-fill { transform: none !important; }
  .step::after, .step .step-glow { opacity: 1; transform: none; }
  .step-gate .tick { opacity: 1; transform: none; }
}

/* АННОТАЦИЯ (RU): стили лендинга Clonary — сетка 8px, цвета из заливок логотипа (тил #0f6b5c / #3fb59e) и нейтральная шкала,
   светлая и тёмная темы, анимации только transform/opacity, полный отказ от движения при prefers-reduced-motion.
   Путь: /home/claude/sites/ctx-clonary/next/app.css (после проверки — /home/claude/sites/ctx-clonary/public/app.css) */
/* Legal pages (aviso legal, privacidad, cookies) */
.legal { padding: var(--s6) 0 var(--s8); }
.legal-in { max-width: 760px; display: grid; gap: var(--s2); }
.legal-in h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; margin: 0 0 var(--s2); }
.legal-in h2 { font-size: 19px; margin: var(--s3) 0 0; }
.legal-in p { margin: 0; line-height: 1.6; color: var(--muted); max-width: 46em; }
.legal-in a, .foot-legal a { color: var(--ink); }
.legal-upd { margin-top: var(--s4) !important; font-size: 13px; }
@media (min-width: 720px) { .foot-in { grid-template-columns: 1fr auto auto; column-gap: var(--s4); } }
