/* ==========================================================================
   Kritik — getkritik.ai one-page site
   Direction: "Cool Editorial Instrument" (kritik-ui-handoff/docs/DESIGN_SYSTEM.md)

   The :root token blocks below are copied VERBATIM from
   kritik-ui-handoff/src/design-tokens.css so this site and the app at
   app.getkritik.ai stay in lockstep. Do not fork the values here — if the
   app's tokens change, re-copy the block. Some tokens go unused by this page;
   they are kept so the block stays a straight copy.

   Page-only additions are prefixed --p- and grouped at the end of the block.

   No build step. No CDN. No font binaries.
   Fonts: the stacks name Inter Variable and IBM Plex Mono, then fall back to
   system faces. To upgrade later, self-host WOFF2 files and add local
   @font-face rules with font-display:swap. Do not add a CDN font link.
   ========================================================================== */

:root {
  color-scheme: light;

  --bg: #F3F5F7;
  --bg-2: #FFFFFF;
  --bg-3: #E9EDF2;
  --bg-hover: #E6EBF1;
  --line: #748191;
  --line-2: #5D6B7C;

  --text: #17202A;
  --muted: #4B5868;
  --faint: #5D6B7C;

  --accent: #3157D5;
  --accent-2: #2445B8;
  --accent-soft: rgba(49, 87, 213, 0.11);
  --on-accent: #FFFFFF;
  --honey: #9B6500;
  --stone: #667386;

  --pass: #1F6F5B;
  --pass-bg: #E4F3EE;
  --warn: #8A5A00;
  --warn-bg: #FFF1D1;
  --fail: #A34841;
  --fail-bg: #FBE9E7;
  --pending: #5D6B7C;
  --pending-bg: #ECEFF3;
  --info: #2458A6;
  --info-bg: #E7F0FF;

  --role-admin: #6E46A2;
  --role-owner: #3157D5;
  --role-contrib: #53606F;
  --role-admin-bg: #F1EAF8;
  --role-owner-bg: #E8EDFF;
  --role-contrib-bg: #ECEFF3;

  --score-low: #9A413D;
  --score-low-bg: #FBE8E7;
  --score-developing: #7F5700;
  --score-developing-bg: #FFF0CC;
  --score-solid: #2458A6;
  --score-solid-bg: #E7F0FF;
  --score-strong: #146B5A;
  --score-strong-bg: #E3F4EF;

  --claim-supported: #146B5A;
  --claim-supported-bg: #E3F4EF;
  --claim-overstated: #815500;
  --claim-overstated-bg: #FFF0C7;
  --claim-understated: #2458A6;
  --claim-understated-bg: #E7F0FF;
  --claim-contradicted: #993E3A;
  --claim-contradicted-bg: #FBE8E7;
  --claim-hallucinated: #6E46A2;
  --claim-hallucinated-bg: #F1EAF8;
  --claim-missing: #53606F;
  --claim-missing-bg: #ECEFF3;

  --focus-ring: rgba(49, 87, 213, 0.32);
  --selection: rgba(49, 87, 213, 0.22);
  --comment-highlight: rgba(49, 87, 213, 0.18);
  --comment-highlight-active: rgba(49, 87, 213, 0.28);
  --overlay: rgba(15, 20, 27, 0.56);

  --shadow: 0 16px 40px rgba(23, 32, 42, 0.12);
  --shadow-sm: 0 2px 8px rgba(23, 32, 42, 0.08);
  --r: 10px;
  --r-sm: 7px;
  --r-lg: 14px;

  --mono: "IBM Plex Mono", "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Inter Variable", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ---- page-only additions ---- */
  --p-max: 1180px;      /* content measure */
  --p-gut: 148px;       /* left label gutter */
  --p-nav: 60px;        /* sticky bar height */
  --p-prose: 68ch;      /* reading measure */
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0F141B;
  --bg-2: #171D26;
  --bg-3: #222B37;
  --bg-hover: #273241;
  --line: #6E7D95;
  --line-2: #8A99B0;

  --text: #EEF2F7;
  --muted: #B7C1CD;
  --faint: #8D99A8;

  --accent: #8EA7FF;
  --accent-2: #A9B9FF;
  --accent-soft: rgba(142, 167, 255, 0.16);
  --on-accent: #101722;
  --honey: #E8B65B;
  --stone: #8D99A8;

  --pass: #7FD1B8;
  --pass-bg: #17362F;
  --warn: #F0C36A;
  --warn-bg: #3A2D16;
  --fail: #F1A39C;
  --fail-bg: #3B2325;
  --pending: #9AA6B5;
  --pending-bg: #2A313B;
  --info: #A8C7FF;
  --info-bg: #1F2D48;

  --role-admin: #C5A1F6;
  --role-owner: #9CB0FF;
  --role-contrib: #AAB4C0;
  --role-admin-bg: #2D2340;
  --role-owner-bg: #202B4A;
  --role-contrib-bg: #29313B;

  --score-low: #FFB4AD;
  --score-low-bg: #3C2325;
  --score-developing: #F4C66A;
  --score-developing-bg: #3A2E18;
  --score-solid: #A8C7FF;
  --score-solid-bg: #1F2D48;
  --score-strong: #8BD7C2;
  --score-strong-bg: #17352E;

  --claim-supported: #8BD7C2;
  --claim-supported-bg: #17352E;
  --claim-overstated: #F4C66A;
  --claim-overstated-bg: #3A2E18;
  --claim-understated: #A8C7FF;
  --claim-understated-bg: #1F2D48;
  --claim-contradicted: #FFB4AD;
  --claim-contradicted-bg: #3C2325;
  --claim-hallucinated: #D3B3FF;
  --claim-hallucinated-bg: #302442;
  --claim-missing: #B8C1CD;
  --claim-missing-bg: #2A313B;

  --focus-ring: rgba(142, 167, 255, 0.38);
  --selection: rgba(142, 167, 255, 0.30);
  --comment-highlight: rgba(142, 167, 255, 0.22);
  --comment-highlight-active: rgba(142, 167, 255, 0.32);
  --overlay: rgba(0, 0, 0, 0.68);

  --shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.30);
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--p-nav) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 27px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--selection); }

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }

[hidden] { display: none !important; }

/* Numerals are data: always tabular. */
.num, .gauge-n, .cnt { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Type scale — display in Inter at 680, utility voice in mono
   ========================================================================== */

.h1 {
  font-size: clamp(2.15rem, 5.2vw, 3.75rem);
  line-height: 1.07;
  font-weight: 680;
  letter-spacing: -0.023em;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.14;
  font-weight: 680;
  letter-spacing: -0.019em;
  text-wrap: balance;
}

.h3 {
  font-size: 1.06rem;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -0.008em;
}

/* The one uppercase treatment in the system: structural labels only. */
.lab {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--faint);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lede {
  font-size: 1.12rem;
  line-height: 1.62;
  color: var(--muted);
  max-width: var(--p-prose);
  text-wrap: pretty;
}

.small {
  font-size: 12.5px;
  line-height: 18px;
  font-weight: 500;
  color: var(--faint);
}

.mono { font-family: var(--mono); }

/* ==========================================================================
   Layout — measured column with a sticky label gutter (the proof-sheet margin)
   ========================================================================== */

.wrap {
  max-width: var(--p-max);
  margin: 0 auto;
  padding: 0 32px;
}

.band { border-top: 1px solid var(--line); }
.band-2 { background: var(--bg-2); }

.row {
  display: grid;
  grid-template-columns: var(--p-gut) minmax(0, 1fr);
  gap: 40px;
  padding: 84px 0;
}

.gut > .lab {
  position: sticky;
  top: calc(var(--p-nav) + 28px);
}

.col > * + * { margin-top: 20px; }
.col > .h2 + .lede { margin-top: 14px; }

/* ==========================================================================
   Controls
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.004em;
  white-space: nowrap; /* a button label must never wrap out of its own box */
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.btn:hover { background: var(--accent-2); color: var(--on-accent); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { background: var(--bg-3); border-color: var(--line-2); color: var(--text); }

.btn-sm { height: 34px; padding: 0 13px; font-size: 13.5px; }

.field {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.field::placeholder { color: var(--faint); }
.field:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.field[aria-invalid="true"] { border-color: var(--fail); }

/* Skip link: off-screen until focused, then parked over the app bar. */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 60; }
.skip:focus { left: 12px; }

/* ==========================================================================
   Brand mark
   ========================================================================== */

.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); }
.brand:hover { color: var(--text); }

.mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
  flex: none;
}

.brand-name { font-size: 16px; font-weight: 650; letter-spacing: -0.014em; }

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--p-nav);
  background: color-mix(in srgb, var(--bg-2) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-in {
  max-width: var(--p-max);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links { display: flex; align-items: center; gap: 22px; margin-left: 14px; }

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 120ms ease, border-color 120ms ease;
}
.nav-links a:hover { color: var(--text); border-bottom-color: var(--accent); }

.nav-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.icon-btn:hover { background: var(--bg-3); color: var(--text); border-color: var(--line-2); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { padding: 76px 0 12px; }

/* Wide enough that the first sentence of the headline holds one line and the
   <br> does the only break. The lede stays on its own reading measure. */
.hero-copy { max-width: 52rem; }
.hero .h1 { margin-top: 20px; }
.hero .lede { margin-top: 20px; max-width: 44rem; }

.hero-cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-note { margin-top: 14px; }

/* ---- The signature: the marked draft and what came back ---------------- */

.proof {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(340px, 33vw, 404px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.proof-doc { border-right: 1px solid var(--line); min-width: 0; }
.proof-rep { background: var(--bg); min-width: 0; }

/* stretch, not center: the tab runs the full height of the bar so its
   underline lands exactly on the bar's own border and covers it. */
.pane-bar {
  display: flex;
  align-items: stretch;
  gap: 14px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.proof-rep .pane-bar { background: var(--bg); }

.pane-tab {
  display: flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 2px solid var(--accent);
  margin-bottom: -1px;
}

.pane-meta { margin-left: auto; display: flex; align-items: center; }

.proof-body { padding: 26px 26px 30px; }

.doc-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.doc-title {
  font-size: 1.32rem;
  line-height: 1.28;
  font-weight: 680;
  letter-spacing: -0.017em;
  margin-bottom: 20px;
}

/* Draft prose is set at the app's rendered-article measure. */
.draft {
  font-size: 16px;
  line-height: 27px;
  color: var(--text);
  max-width: 60ch;
}
.draft p + p { margin-top: 14px; }

/* A marked range — the product's own comment highlight, behind live text. */
.mk {
  background: var(--comment-highlight);
  color: inherit;
  border-radius: 3px;
  padding: 1px 0;
  box-shadow: 0 1px 0 var(--accent);
  cursor: pointer;
  transition: background 120ms ease;
}
.mk[data-on="1"] { background: var(--comment-highlight-active); }

.mk-i {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  vertical-align: super;
  line-height: 1;
  margin-left: 2px;
  font-variant-numeric: tabular-nums;
}

/* Load sequence: the marks strike in, one after another.
   Scoped to [data-anim="1"], which the head script sets only when motion is
   allowed. Without it the marks are simply present — nothing is ever hidden
   behind a script that might not run. */
[data-anim="1"] .mk { background: transparent; box-shadow: 0 1px 0 transparent; }
[data-anim="1"] .mk .mk-i { opacity: 0; }

[data-anim="1"] .proof[data-struck="1"] .mk {
  animation: strike 240ms ease forwards;
  animation-delay: calc(var(--i) * 380ms + 200ms);
}
[data-anim="1"] .proof[data-struck="1"] .mk .mk-i {
  animation: fade 200ms ease forwards;
  animation-delay: calc(var(--i) * 380ms + 340ms);
}
@keyframes strike {
  from { background: transparent; box-shadow: 0 1px 0 transparent; }
  to   { background: var(--comment-highlight); box-shadow: 0 1px 0 var(--accent); }
}
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }

/* ---- The score ---------------------------------------------------------- */

.score-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 20px 4px;
}

.gauge {
  border: 1px solid var(--gauge-fg, var(--line));
  border-radius: var(--r-sm);
  background: var(--gauge-bg, var(--bg-2));
  padding: 6px 12px 8px;
  text-align: center;
  flex: none;
}
.gauge-n {
  display: block;
  font-size: 30px;
  line-height: 34px;
  font-weight: 720;
  color: var(--gauge-fg, var(--text));
  letter-spacing: -0.022em;
}
.gauge-band {
  display: block;
  font-size: 10px;
  line-height: 13px;
  font-weight: 600;
  color: var(--gauge-fg, var(--muted));
}

[data-band="low"]        { --gauge-fg: var(--score-low);        --gauge-bg: var(--score-low-bg); }
[data-band="developing"] { --gauge-fg: var(--score-developing); --gauge-bg: var(--score-developing-bg); }
[data-band="solid"]      { --gauge-fg: var(--score-solid);      --gauge-bg: var(--score-solid-bg); }
[data-band="strong"]     { --gauge-fg: var(--score-strong);     --gauge-bg: var(--score-strong-bg); }

.score-say { font-size: 13.5px; line-height: 20px; color: var(--muted); }

/* ---- Margin notes ------------------------------------------------------ */

.notes { padding: 16px 20px 24px; }
.notes > .lab { margin-bottom: 10px; }

.nt {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 12px 13px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  border-radius: var(--r-sm);
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease;
}
.nt + .nt { margin-top: 8px; }
.nt:hover { background: var(--bg-hover); }
.nt[data-on="1"] { border-left-color: var(--accent); background: var(--accent-soft); }

.nt-i {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}

.nt-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 5px; }
.nt-body { display: block; font-size: 13.5px; line-height: 20px; color: var(--text); }

.nt-fix {
  display: block;
  margin-top: 8px;
  padding: 7px 9px;
  background: var(--bg-3);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 18px;
  color: var(--text);
}

/* ---- Tags: label + shape + colour, never colour alone ------------------ */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border-radius: var(--r-sm);
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.tag::before { content: attr(data-glyph); font-weight: 700; }

.t-pass { color: var(--pass); background: var(--pass-bg); }
.t-warn { color: var(--warn); background: var(--warn-bg); }
.t-fail { color: var(--fail); background: var(--fail-bg); }

/* ==========================================================================
   Claims — hairline-ruled assertions
   ========================================================================== */

.claims { border-top: 1px solid var(--line); }
.claim { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.claim-h { font-size: 1.12rem; font-weight: 650; letter-spacing: -0.012em; }
.claim-b { font-size: 15px; line-height: 24px; color: var(--muted); max-width: 62ch; }

/* ==========================================================================
   What you get
   ========================================================================== */

.tracks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.track {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  border-top: 3px solid var(--accent);
  padding: 18px 20px 20px;
}
.band-2 .track { background: var(--bg); }

.track-h { font-size: 1.02rem; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 8px; }
.track-b { font-size: 14px; line-height: 22px; color: var(--muted); }

/* ---- The fix, shown rather than described ------------------------------ */

.fix {
  margin-top: 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.band-2 .fix { background: var(--bg); }

.fix-part { padding: 16px 20px 18px; border-left: 3px solid var(--line); }
.fix-part + .fix-part { border-top: 1px solid var(--line); }
.fix-part:first-child { border-left-color: var(--fail); }
.fix-part:nth-child(2) { border-left-color: var(--pass); }

.fix-text { font-size: 15.5px; line-height: 25px; margin-top: 8px; max-width: 66ch; }
.fix-was { color: var(--muted); }
.fix-now { color: var(--text); }

.fix-why {
  padding: 13px 20px 14px;
  border-top: 1px solid var(--line);
  background: var(--bg-3);
  font-size: 13.5px;
  line-height: 21px;
  color: var(--muted);
}

/* ==========================================================================
   The standard
   ========================================================================== */

.standard-b {
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--text);
  max-width: 70ch;
  text-wrap: pretty;
}

/* ==========================================================================
   Boundaries
   ========================================================================== */

.nots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }

.not {
  padding: 16px 18px;
  background: var(--bg-3);
  border-radius: var(--r);
  border-left: 3px solid var(--stone);
}
.not-h { font-size: 15px; font-weight: 650; letter-spacing: -0.008em; }
.not-b { font-size: 14px; line-height: 22px; color: var(--muted); margin-top: 4px; }

/* ==========================================================================
   Access
   ========================================================================== */

.access {
  margin-top: 30px;
  padding: 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  max-width: 40rem;
}
.band-2 .access { background: var(--bg); }

.wl { margin-top: 20px; }
.wl-row { display: flex; gap: 10px; align-items: flex-start; }
.wl-row .field { flex: 1; min-width: 0; }
.wl-note { margin-top: 12px; }

.wl-msg {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: var(--r-sm);
  border: 1px solid currentColor;
  font-size: 13.5px;
  line-height: 20px;
  display: flex;
  gap: 9px;
}
.wl-msg[data-kind="info"] { color: var(--info); background: var(--info-bg); }
.wl-msg[data-kind="fail"] { color: var(--fail); background: var(--fail-bg); }
.wl-msg[data-kind="pass"] { color: var(--pass); background: var(--pass-bg); }
.wl-msg b { color: inherit; }
.wl-msg a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.foot { border-top: 1px solid var(--line); background: var(--bg-2); }
.foot-in {
  max-width: var(--p-max);
  margin: 0 auto;
  padding: 28px 32px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
}
.foot-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 20px; }
.foot-links a { font-size: 13.5px; color: var(--muted); }
.foot-links a:hover { color: var(--accent); }

/* ==========================================================================
   Scroll reveal — one quiet gesture, opt-out respected

   Also scoped to [data-anim="1"]. Content is visible by default; it only
   starts hidden once the page has confirmed it can animate it back in, and
   site.js carries a timeout failsafe on top of that. A reveal effect must
   never be the reason a page renders empty.
   ========================================================================== */

[data-anim="1"] .rv {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 420ms ease, transform 420ms ease;
}
[data-anim="1"] .rv[data-in="1"] { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .proof { grid-template-columns: minmax(0, 1fr); }
  .proof-doc { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 980px) {
  .row { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 64px 0; }
  .gut > .lab { position: static; }
  .tracks { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* Below this the bar can't hold two CTAs plus the brand. Keep Sign in, since
   the hero's waitlist button is a few hundred pixels below it anyway. */
@media (max-width: 620px) {
  .nav-cta { display: none; }
  .nav-in { gap: 12px; }
}

@media (max-width: 720px) {
  .wrap, .nav-in, .foot-in { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 52px; }
  .proof-body { padding: 20px 18px 24px; }
  .score-head { padding: 16px 16px 4px; }
  .notes { padding: 14px 16px 20px; }
  .nots { grid-template-columns: minmax(0, 1fr); }
  .access { padding: 22px 18px; }
  .wl-row { flex-direction: column; }
  .wl-row .btn { width: 100%; }
  .fix-part, .fix-why { padding-left: 16px; padding-right: 16px; }
  .foot-links { margin-left: 0; width: 100%; }
}

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