/* Дела, промо-лендинг. Светлый «инженерный датащит»: токены ATI.SU,
   Inter + JetBrains Mono, плоские поверхности, границы вместо теней,
   синий как редкий акцент. См. ../../DESIGN.md. */

:root {
  /* Committed-палитра: тёплая бумага + терракота несёт поверхность; пурпур =
     осознанный холодный контр-акцент агента. Тёмные секции, тёплое эспрессо. */

  /* Тёплые бумажные нейтрали */
  --bg: #faf6f1;
  --card: #fffdfa;             /* тёплый белый для карточек/баров */
  --surface-1: #f1ebe2;
  --surface-2: #eae0d4;
  --line: #e7ddcf;
  --line-strong: #d8ccba;

  /* Текст (тёплый near-black) */
  --ink: #241813;
  --ink-body: #4d3c33;
  --ink-muted: #786456;
  --ink-faint: #a89589;

  /* Акценты */
  --primary: #c0552e;          /* терракота, доминанта */
  --primary-ink: #9f4220;      /* ссылка на бумаге, AA */
  --primary-soft: #f6e6dd;
  --purple: #6550bb;           /* агент, холодный контр-акцент */
  --teal: #2f9d9d;
  --warning: #946d00;
  --success: #1f9d5b;
  --error: #cc2f26;

  /* Тёмный дренч, тёплое эспрессо */
  --ink-dark: #1f120c;
  --ink-dark-2: #2c1c13;
  --on-dark: #f5ece5;
  --on-dark-muted: #b6a093;
  --on-dark-line: rgba(255, 246, 240, 0.12);
  --purple-on-dark: #a99ce8;   /* агент на тёмном */

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 12px;
  --radius-sm: 7px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-body);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: 'cv05' 1, 'ss01' 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.08; letter-spacing: -0.018em; font-weight: 600; }
p { margin: 0; }
a { color: var(--primary-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--primary-ink);
  margin: 0 0 14px;
}

/* ---- Header ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 60px;
}
.wordmark { display: flex; align-items: baseline; gap: 9px; font-weight: 600; color: var(--ink); font-size: 1.05rem; letter-spacing: -0.02em; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--ink-muted); font-size: 0.92rem; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-header__cta { margin-left: 6px; }

/* ---- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 140ms var(--ease-out), border-color 140ms var(--ease-out), color 140ms var(--ease-out);
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface-1); }
.btn--sm { padding: 8px 14px; font-size: 0.9rem; }

/* ---- Hero ------------------------------------------------------------ */
.hero { position: relative; padding-top: clamp(44px, 7vw, 96px); padding-bottom: clamp(24px, 4vw, 52px); }
/* Авторская абстрактная текстура: фаянтный изо-лоттис (системы/зависимости),
   уходящий в бумагу. Только в hero, очень слабо, за контентом. */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url(textures/grid.jpg) center top / cover no-repeat;
  opacity: 0.6; mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

/* ---- Live console: reasoner (B) + audit-log (A) ---------------------- */
.hero__console { display: flex; flex-direction: column; gap: 14px; }

.reasoner { margin: 0; border: 1px solid color-mix(in oklch, var(--purple) 26%, var(--line-strong)); border-radius: var(--radius); background: var(--surface-1); overflow: hidden; }
.reasoner__bar { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 14px; background: var(--card); border-bottom: 1px solid var(--line); }
.reasoner__who { font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500; color: var(--purple); }
.reasoner__state { font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-muted); display: inline-flex; align-items: center; gap: 6px; }
.reasoner__state::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); animation: reasonPulse 1s ease-in-out infinite; }
.reasoner__state.is-act { color: var(--primary-ink); }
.reasoner__state.is-act::before { background: var(--success); animation: none; }
.reasoner__body { padding: 12px 14px; min-height: 86px; display: flex; flex-direction: column; gap: 6px; justify-content: flex-end; }
.reasoner__line { font-family: var(--font-mono); font-size: 0.76rem; line-height: 1.4; color: var(--ink-muted); transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out); }
.reasoner__line:last-child { color: var(--ink); }
.reasoner__line.is-new { opacity: 0; transform: translateY(6px); }
@keyframes reasonPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.audit { margin: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface-1); overflow: hidden; box-shadow: 0 1px 2px rgba(7, 24, 41, 0.04), 0 26px 54px -34px rgba(7, 24, 41, 0.22); }
.audit__bar { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 15px; background: var(--card); border-bottom: 1px solid var(--line); }
.audit__title { font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-muted); }
.audit__live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-muted); }
.audit__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); animation: lbBlink 2.4s ease-in-out infinite; }
.audit__list { margin: 0; padding: 4px 6px; list-style: none; }
.audit__entry { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 11px 10px; align-items: start; transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out); }
.audit__entry + .audit__entry { border-top: 1px solid var(--line); }
.audit__entry.is-new { opacity: 0; transform: translateY(-10px); }
.audit__entry.is-synced { background: color-mix(in oklch, var(--purple) 9%, transparent); border-radius: 7px; transition: background 1200ms var(--ease-out), opacity 480ms var(--ease-out), transform 480ms var(--ease-out); }
.audit__time { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-faint); padding-top: 2px; }
.audit__body { min-width: 0; }
.audit__line { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 0.84rem; }
.audit__actor { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.audit__actor--agent { font-family: var(--font-mono); font-weight: 500; color: var(--purple); }
.audit__avatar { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-ink); font-size: 0.62rem; font-weight: 600; letter-spacing: 0; }
.audit__action { color: var(--ink-body); }
.audit__reason { margin: 4px 0 0; font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-muted); }
.hero h1 {
  font-size: clamp(2.1rem, 1.1rem + 3.6vw, 3.6rem);
  letter-spacing: -0.03em;
  max-width: 15ch;
}
.hero__sub { margin-top: 22px; font-size: clamp(1.02rem, 1rem + 0.35vw, 1.18rem); color: var(--ink-body); max-width: 44ch; }
.hero__meta { margin-top: 20px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-muted); letter-spacing: 0; }
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Live board (hero signature) ------------------------------------ */
.hero__board { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.lb {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-1);
  box-shadow: 0 1px 2px rgba(7, 24, 41, 0.04), 0 30px 60px -32px rgba(7, 24, 41, 0.24);
  overflow: hidden;
}
.lb__bar { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 14px; background: var(--card); border-bottom: 1px solid var(--line); }
.lb__route { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-muted); }
.lb__live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-muted); }
.lb__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); animation: lbBlink 2.4s ease-in-out infinite; }
.lb__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; position: relative; z-index: 1; }
.lb__col { display: flex; flex-direction: column; gap: 8px; }
.lb__col--wip { border-radius: 9px; animation: wipPulse 7s ease-in-out 1.4s infinite; }
.lb__ch { display: flex; align-items: center; justify-content: space-between; font-size: 0.74rem; font-weight: 600; color: var(--ink); padding: 2px 4px 4px; }
.lb__n { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; color: var(--ink-faint); }
.lb__n--warn { color: var(--warning); }
.lb__card { background: var(--card); border: 1px solid var(--line); border-radius: 7px; padding: 9px 10px; display: flex; flex-direction: column; gap: 6px; animation: lbIn 550ms var(--ease-out) backwards; }
.lb__t { font-size: 0.78rem; font-weight: 500; color: var(--ink); line-height: 1.3; }
.lb__m { font-family: var(--font-mono); font-size: 0.64rem; color: var(--ink-muted); }
.lb__who { color: var(--ink-muted); }
.lb__ag { color: var(--purple); }
.lb__blk { color: var(--error); }
.lb__card--blocked { border-color: color-mix(in oklch, var(--error) 32%, var(--line)); }
.lb__card--agent { position: relative; z-index: 4; border-color: color-mix(in oklch, var(--purple) 42%, var(--line)); box-shadow: 0 2px 6px rgba(7, 24, 41, 0.08); }
.lb__slot { border: 1px dashed var(--line-strong); border-radius: 7px; min-height: 58px; background: repeating-linear-gradient(135deg, transparent 0 9px, rgba(34, 119, 204, 0.03) 9px 10px); }
.lb__legend { display: flex; flex-wrap: wrap; gap: 7px 16px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-muted); padding-left: 2px; }
.lb__lg { display: inline-flex; align-items: center; gap: 6px; }
.lb__lg::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--ink-faint); }
.lb__lg--agent::before { background: var(--purple); }
.lb__lg--wip::before { background: var(--warning); }
.lb__lg--blk::before { background: var(--error); }

/* reveal stagger */
.lb__col:nth-child(1) .lb__card:nth-child(3) { animation-delay: 0.09s; }
.lb__col:nth-child(2) .lb__card:nth-child(3) { animation-delay: 0.22s; }
.lb__col:nth-child(2) .lb__card:nth-child(4) { animation-delay: 0.30s; }
.lb__col:nth-child(3) .lb__card { animation-delay: 0.40s; }
/* agent card: reveal, then glide loop (own delays; no nth-child override) */
.lb__card--agent { animation: lbIn 550ms var(--ease-out) 0.16s backwards, agentGlide 7s var(--ease-out) 1.5s infinite; will-change: transform; }

/* ---- Screenshot plate ------------------------------------------------ */
.plate {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-1);
  box-shadow: 0 1px 2px rgba(7, 24, 41, 0.04), 0 28px 56px -30px rgba(7, 24, 41, 0.22);
}
.plate__bar {
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.plate__route { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-muted); letter-spacing: 0; }
/* Тёплый wash на синие скриншоты продукта, чтобы не клацали с палитрой */
.plate__img { width: 100%; height: auto; filter: sepia(0.32) saturate(0.85) hue-rotate(-10deg) brightness(1.03) contrast(0.97); }
.plate__slot {
  aspect-ratio: 16 / 10;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 11px, rgba(34, 119, 204, 0.025) 11px 12px),
    var(--surface-1);
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
.plate__slot strong { color: var(--ink-muted); font-weight: 500; }

/* ---- Flagship features ----------------------------------------------- */
.features { padding-top: clamp(8px, 1.5vw, 20px); }
.features .feature:first-of-type { padding-top: clamp(8px, 2vw, 28px); }
.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(44px, 7vw, 88px) 0;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature--flip .feature__text { order: 2; }

@keyframes lbIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes lbBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes wipPulse {
  0%, 8%, 64%, 100% { box-shadow: inset 0 0 0 1px transparent; background: transparent; }
  20%, 50% {
    box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--warning) 34%, transparent);
    background: color-mix(in oklch, var(--warning) 7%, transparent);
  }
}
/* Агент перевозит карточку из «В работе» (col 2) в «Ревью» (col 3): вправо на
   одну колонку + gap, ack-пульс при приземлении, удержание, возврат. */
@keyframes agentGlide {
  0%, 10% { transform: translateX(0); }
  22% { transform: translateX(calc(100% + 10px)); }
  25% { transform: translateX(calc(100% + 10px)) scale(1.045); }
  28%, 62% { transform: translateX(calc(100% + 10px)) scale(1); }
  76%, 100% { transform: translateX(0); }
}
.feature__title { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.35rem); }
.feature__summary { margin-top: 16px; max-width: 46ch; color: var(--ink-body); }
.feature__points { margin-top: 24px; display: grid; gap: 11px; }
.feature__points li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 0.97rem; color: var(--ink-body); }
.feature__points svg { margin-top: 4px; color: var(--primary); flex: none; }

/* Compact flagship (low-rank): text-led, smaller supporting shot. Breaks the
   big/big/big rhythm of the flagship blocks into big, big, small. */
.feature--compact { grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr); gap: clamp(24px, 4vw, 56px); padding-block: clamp(34px, 5vw, 60px); }
.feature--compact .feature__title { font-size: clamp(1.4rem, 1.05rem + 1.2vw, 1.95rem); }
.feature--compact .feature__summary { max-width: 52ch; }

/* ---- Core specs ------------------------------------------------------ */
.specs { padding: clamp(48px, 8vw, 96px) 0; }
.specs__head { max-width: 56ch; margin-bottom: clamp(24px, 4vw, 44px); }
.specs__head h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); }
.specs__lead { margin-top: 14px; max-width: 58ch; color: var(--ink-body); }

/* Практики канбана: сетка 2-3 колонки, отлична от датащит-строк ниже */
.kp__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: clamp(26px, 3.5vw, 44px) clamp(28px, 4vw, 60px); margin-bottom: clamp(40px, 6vw, 72px); }
.kp__name { display: flex; align-items: baseline; gap: 12px; margin: 0 0 9px; font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.kp__n { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; color: var(--primary-ink); }
.kp__detail { margin: 0; color: var(--ink-body); font-size: 0.97rem; line-height: 1.55; max-width: 46ch; }
.specs__more { margin-bottom: clamp(20px, 3vw, 32px); padding-top: clamp(20px, 3vw, 30px); border-top: 1px solid var(--line-strong); }
.specs__more .eyebrow { margin: 0; }
.spec-row {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(20px, 2.6vw, 28px) 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.spec-row:last-child { border-bottom: 1px solid var(--line); }
.spec-row__title { font-size: 1.12rem; font-weight: 600; color: var(--ink); }
.spec-row__eyebrow { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-muted); margin-bottom: 5px; }
.spec-row__body { color: var(--ink-body); max-width: 62ch; }

/* ---- Agent-first (bold dark culmination) ----------------------------- */
.agentfirst { background: var(--ink-dark); color: var(--on-dark); }
.af__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: clamp(60px, 9vw, 116px) 0;
}
.af__eyebrow { font-family: var(--font-mono); font-size: 0.8rem; color: var(--purple-on-dark); margin: 0 0 18px; }
.af__title { color: var(--on-dark); font-size: clamp(2rem, 1.2rem + 3.4vw, 3.4rem); letter-spacing: -0.025em; line-height: 1.08; max-width: 16ch; }
.af__body { margin-top: 22px; color: var(--on-dark-muted); max-width: 46ch; font-size: clamp(1rem, 0.97rem + 0.3vw, 1.12rem); line-height: 1.6; }
/* Proof, not bragging: a real API exchange. access.reason proves agent-parity
   and permission-transparency at once. */
.af__code { margin: 0; border: 1px solid var(--on-dark-line); border-radius: 11px; background: var(--ink-dark-2); overflow: hidden; box-shadow: 0 26px 64px -38px rgba(0, 0, 0, 0.6); }
.af__code-bar { display: flex; align-items: center; gap: 9px; padding: 11px 16px; border-bottom: 1px solid var(--on-dark-line); font-family: var(--font-mono); font-size: 0.72rem; color: var(--on-dark-muted); }
.af__code-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--purple-on-dark); flex: none; }
.af__pre { margin: 0; padding: 18px 18px 20px; overflow-x: auto; }
.af__pre code { font-family: var(--font-mono); font-size: clamp(0.76rem, 0.72rem + 0.18vw, 0.9rem); line-height: 1.75; color: var(--on-dark-muted); }
.af__cl { display: block; white-space: pre; }
.af__cl--method { color: var(--on-dark); }
.af__cl--ok { color: var(--on-dark); font-weight: 500; }
.af__cl--hl { color: var(--purple-on-dark); }

/* ---- Coverage -------------------------------------------------------- */
.coverage { padding: clamp(48px, 8vw, 96px) 0; background: var(--surface-1); }
.coverage .chip { background: var(--card); }
.coverage__head { max-width: 56ch; margin-bottom: clamp(28px, 4vw, 48px); }
.coverage__head h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.3rem); }
.coverage__lead { margin-top: 14px; color: var(--ink-body); }
.coverage__groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(244px, 1fr)); gap: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 40px); }
.cov-group { display: block; }
.cov-group__label { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; color: var(--ink-muted); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cov-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 0.86rem;
  color: var(--ink-body);
  background: var(--surface-1);
  border: 1px solid var(--line);
  padding: 6px 11px;
  border-radius: var(--radius-sm);
}

/* ---- Closing band (peak-end) ----------------------------------------- */
/* Финал = второй пик: тёмная инверсия, рифмуется с agent-first, весит как hero. */
.closing { background: var(--ink-dark); }
.closing__inner { padding: clamp(76px, 11vw, 152px) 0; display: flex; flex-direction: column; gap: clamp(26px, 4vw, 38px); align-items: flex-start; }
.closing__title { color: var(--on-dark); font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.6rem); letter-spacing: -0.028em; line-height: 1.05; max-width: 19ch; }
.closing__body { color: var(--on-dark-muted); max-width: 48ch; font-size: clamp(1.02rem, 1rem + 0.3vw, 1.18rem); }
.closing__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.closing .btn--ghost { color: var(--on-dark); border-color: var(--on-dark-line); }
.closing .btn--ghost:hover { background: rgba(255, 255, 255, 0.06); }

/* ---- Footer ---------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 64px); }
.site-footer__note { max-width: 52ch; color: var(--ink-body); }
.site-footer__bottom { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.site-footer__owner { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-muted); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 22px; margin-left: auto; }
.site-footer__links a { color: var(--ink-muted); font-size: 0.92rem; }
.site-footer__links a:hover { color: var(--ink); }

/* ---- Reveal motion --------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---- Responsive ------------------------------------------------------ */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .site-nav { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .feature--flip .feature__text { order: 0; }
  .feature__text { order: 0; }
  .feature__shot { order: 2; }
  .spec-row, .cov-group { grid-template-columns: 1fr; gap: 8px; }
  .af__grid { grid-template-columns: 1fr; gap: 40px; align-items: start; }
}
@media (max-width: 520px) {
  .af__stat-row { gap: 24px; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, a { transition: none; }
  html { scroll-behavior: auto; }
  /* Live board: freeze into a composed static state, still legible. */
  .lb__card, .lb__card--agent, .lb__col--wip, .lb__live i, .audit__live i, .reasoner__state::before { animation: none !important; }
  .audit__entry, .reasoner__line { transition: none; }
  .lb__card--agent { transform: none; }
  .lb__col--wip {
    box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--warning) 30%, transparent);
    background: color-mix(in oklch, var(--warning) 6%, transparent);
  }
}

html { scroll-behavior: smooth; }
