/* ============================================================================
   EduPlatter — design system v2 · "Open Campus"
   ----------------------------------------------------------------------------
   A light, wide, warm system for higher-education analytics. Paper and cream
   grounds, deep navy ink, one teal action colour. Colour is spent in two
   places: the soft mint marker that highlights the key word in a headline,
   and the gradient field behind the hero and closing panels.

   Type   Fraunces (display) · DM Sans (body) · DM Mono (labels, data)
   ========================================================================= */

:root {
  /* --- ground ---------------------------------------------------------- */
  --paper:       #FFFFFF;
  --cream:       #FBF7F1;   /* warm section band                          */
  --cream-2:     #F3EBDF;   /* one step deeper, wells and tracks          */
  --ink:         #0C1929;   /* navy: headings, primary buttons            */
  --ink-panel:   #0A1622;   /* the dark object: dashboards, ink bands     */
  --ink-panel-2: #12212F;
  --slate:       #47586B;   /* secondary text  — 7.4:1 on paper           */
  --slate-2:     #5C6E80;   /* labels, captions — 5.4:1 paper, 5.0:1 band */

  /* --- lines ----------------------------------------------------------- */
  --line:        rgba(12, 25, 41, 0.10);
  --line-strong: rgba(12, 25, 41, 0.18);
  --line-ink:    rgba(255, 255, 255, 0.13);

  /* --- action ---------------------------------------------------------- */
  --teal:        #0F766E;
  --teal-deep:   #0A5A54;   /* text-safe teal                             */
  --teal-lift:   #2DD4BF;   /* bright teal — on ink only                  */
  --teal-wash:   rgba(15, 118, 110, 0.08);
  --teal-edge:   rgba(15, 118, 110, 0.24);
  --mark:        #B7EFE4;   /* the highlight marker                       */
  --mark-ink:    rgba(45, 212, 191, 0.34);
  --amber:       #B45309;
  --amber-wash:  rgba(180, 83, 9, 0.08);
  --violet:      #5B54D6;

  /* --- on-ink text ----------------------------------------------------- */
  --bone:        #EEF3F6;
  --bone-70:     rgba(238, 243, 246, 0.74);
  --bone-55:     rgba(238, 243, 246, 0.54);

  /* --- status ---------------------------------------------------------- */
  --good:        #0E7A52;
  --good-ink:    #4ADE9A;
  --bad:         #B3402F;
  --bad-ink:     #FF9A8A;

  /* --- radius ---------------------------------------------------------- */
  --r-sm:   10px;
  --r:      16px;
  --r-lg:   22px;
  --r-xl:   30px;
  --r-pill: 999px;

  /* --- elevation ------------------------------------------------------- */
  --lift-1: 0 1px 2px rgba(12,25,41,0.05), 0 8px 22px -14px rgba(12,25,41,0.18);
  --lift-2: 0 2px 4px rgba(12,25,41,0.05), 0 24px 52px -24px rgba(12,25,41,0.26);
  --lift-3: 0 38px 84px -38px rgba(12,25,41,0.40), 0 8px 22px -16px rgba(12,25,41,0.28);

  /* --- type ------------------------------------------------------------ */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:    "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono:    "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* --- layout ---------------------------------------------------------- */
  --max:        1260px;
  --max-narrow: 780px;
  --gutter:     clamp(20px, 4.4vw, 56px);
  --nav-h:      72px;

  /* --- the gradient field --------------------------------------------- */
  --field:
    radial-gradient(48% 64% at 86% 14%, rgba(45, 212, 191, 0.46), transparent 66%),
    radial-gradient(52% 66% at 64% 6%,  rgba(120, 196, 255, 0.40), transparent 68%),
    radial-gradient(56% 70% at 96% 84%, rgba(180, 83, 9, 0.16), transparent 66%),
    radial-gradient(60% 76% at 56% 96%, rgba(16, 185, 129, 0.30), transparent 68%),
    radial-gradient(70% 90% at 2% 42%,  rgba(255, 255, 255, 0.94), transparent 62%),
    linear-gradient(122deg, #FFFFFF 0%, #F4F9FB 40%, #EEF7F4 74%, #FDF7EF 100%);
}

/* ── base ─────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); }
body {
  font-family: var(--font-sans);
  font-size: 17px; line-height: 1.62; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--mark); color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .cta-panel :focus-visible, .wb :focus-visible { outline-color: var(--teal-lift); }

.wrap        { max-width: var(--max);        margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 var(--gutter); }

section { position: relative; padding: clamp(60px, 8vw, 112px) 0; }
section.tight     { padding: clamp(38px, 5vw, 64px) 0; }
section.flush-top { padding-top: 0; }
section.soft      { background: var(--cream); }
.divide-top       { border-top: 1px solid var(--line); }

section.dark { padding: clamp(18px, 3vw, 32px) 0; background: transparent; }
section.dark > .wrap {
  background: var(--ink-panel); color: var(--bone);
  border-radius: var(--r-xl);
  padding: clamp(42px, 6vw, 80px) clamp(24px, 4.4vw, 62px);
  position: relative; overflow: hidden;
}
section.dark > .wrap::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 70%;
  background: radial-gradient(50% 100% at 22% 0%, rgba(45,212,191,0.16), transparent 70%),
              radial-gradient(46% 100% at 84% 6%, rgba(120,196,255,0.14), transparent 70%);
  pointer-events: none;
}
section.dark > .wrap > * { position: relative; }

/* ── typography ───────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  letter-spacing: -0.018em; line-height: 1.1; text-wrap: balance;
}
h1 { font-size: clamp(38px, 4.8vw, 62px); letter-spacing: -0.026em; line-height: 1.05; }
h2 { font-size: clamp(28px, 3.5vw, 46px); letter-spacing: -0.022em; }
h3 { font-size: clamp(19px, 2vw, 24px); line-height: 1.24; letter-spacing: -0.014em; }
h4 { font-size: 18px; line-height: 1.34; letter-spacing: -0.01em; }
p  { margin: 0; }

/* the signature: a soft marker behind the key word in a headline */
mark, .mk {
  background: linear-gradient(0deg, var(--mark) 0, var(--mark) 100%);
  background-repeat: no-repeat; background-size: 100% 42%; background-position: 0 82%;
  color: inherit; padding: 0 0.06em; border-radius: 3px;
}
section.dark mark, section.dark .mk, .cta-panel mark, .cta-panel .mk {
  background-image: linear-gradient(0deg, var(--mark-ink) 0, var(--mark-ink) 100%);
}

.lede {
  font-size: clamp(17px, 1.2vw, 19px); line-height: 1.64;
  color: var(--slate); max-width: 62ch;
}
section.dark .lede, .cta-panel .lede { color: var(--bone-70); }
.muted { color: var(--slate-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-2); line-height: 1.4;
}
section.dark .eyebrow, .cta-panel .eyebrow { color: var(--bone-55); }
.caps {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-2);
}
section.dark .caps { color: var(--bone-55); }

/* the step meter — four capsules, used as a quiet state glyph */
.meter { display: inline-flex; gap: 3px; flex: none; }
.meter i { width: 10px; height: 4px; border-radius: 999px; background: var(--line-strong); }
section.dark .meter i, .foot .meter i, .wb .meter i, .cta-panel .meter i { background: rgba(238,243,246,0.22); }
.meter.f1 i:nth-child(-n+1), .meter.f2 i:nth-child(-n+2),
.meter.f3 i:nth-child(-n+3), .meter.f4 i:nth-child(-n+4) { background: var(--teal); }
section.dark .meter.f1 i:nth-child(-n+1), section.dark .meter.f2 i:nth-child(-n+2),
section.dark .meter.f3 i:nth-child(-n+3), section.dark .meter.f4 i:nth-child(-n+4),
.wb .meter.f3 i:nth-child(-n+3), .wb .meter.f4 i:nth-child(-n+4),
.cta-panel .meter.f3 i:nth-child(-n+3), .cta-panel .meter.f4 i:nth-child(-n+4) { background: var(--teal-lift); }
.meter.f4 i:nth-child(4) { background: var(--violet); }

.sec-head { max-width: 780px; margin-bottom: clamp(32px, 4.2vw, 54px); display: grid; gap: 15px; }
.sec-head.centered { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.sec-head.centered .lede { margin-left: auto; margin-right: auto; }

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--r-pill);
  font-family: var(--font-sans); font-size: 15.5px; font-weight: 500;
  line-height: 1.1; border: 1px solid transparent; white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.btn .arr { transition: transform 200ms cubic-bezier(.2,.7,.3,1); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary, .btn-accent { background: var(--teal); color: #fff; }
.btn-primary:hover, .btn-accent:hover { background: var(--teal-deep); box-shadow: var(--lift-1); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1B2E42; box-shadow: var(--lift-1); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(12,25,41,0.04); }
section.dark .btn-accent, .cta-panel .btn-accent { background: var(--paper); color: var(--ink); }
section.dark .btn-accent:hover, .cta-panel .btn-accent:hover { background: #DCE4E9; }
section.dark .btn-ghost, .cta-panel .btn-ghost { color: var(--bone); border-color: rgba(238,243,246,0.34); }
section.dark .btn-ghost:hover, .cta-panel .btn-ghost:hover { border-color: var(--bone); background: rgba(255,255,255,0.08); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ── chips ────────────────────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px;
  border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  color: var(--slate); white-space: nowrap; line-height: 1.5;
}
.chip.accent { background: var(--teal-wash); border-color: var(--teal-edge); color: var(--teal-deep); }
.chip.warn   { background: var(--amber-wash); border-color: rgba(180,83,9,0.24); color: var(--amber); }
section.dark .chip, .wb .chip { background: rgba(255,255,255,0.06); border-color: var(--line-ink); color: var(--bone-70); }
section.dark .chip.accent, .wb .chip.accent { background: rgba(45,212,191,0.13); border-color: rgba(45,212,191,0.3); color: var(--teal-lift); }

/* ── announcement bar ─────────────────────────────────────────────────── */
.promo {
  background: var(--ink); color: var(--bone);
  font-size: 14px; text-align: center; padding: 11px var(--gutter);
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.promo a {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--teal-lift); font-weight: 500;
  border-bottom: 1px solid rgba(45,212,191,0.4); padding-bottom: 1px;
}
.promo a:hover { color: #fff; border-bottom-color: #fff; }

/* ── navigation ───────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.88);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  will-change: transform; transform: translateZ(0);
  transition: border-color 220ms ease, background 220ms ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,0.95); }
.nav-row { display: flex; align-items: center; gap: 20px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; }
.logo-text { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 14px; }
.nav-links > a, .nav-item > .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px;
  border-radius: var(--r-pill); font-size: 15px; color: var(--slate);
  background: none; border: 0; transition: color 150ms ease, background 150ms ease;
}
.nav-links > a:hover, .nav-item > .nav-trigger:hover { color: var(--ink); background: rgba(12,25,41,0.05); }
.nav-links a.is-active { color: var(--ink); font-weight: 500; }
.nav-trigger svg { transition: transform 200ms ease; opacity: .6; }
.nav-item { position: relative; }
.nav-panel {
  position: absolute; top: calc(100% + 12px); left: -14px; min-width: 470px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--lift-2); padding: 20px; display: grid; gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}
.nav-panel.one-col { grid-template-columns: minmax(0,1fr); min-width: 310px; }
.nav-item:hover .nav-panel, .nav-item:focus-within .nav-panel,
.nav-item.is-open .nav-panel { opacity: 1; visibility: visible; transform: none; }
.nav-item:hover .nav-trigger svg, .nav-item.is-open .nav-trigger svg { transform: rotate(180deg); }
.nav-item.is-open .nav-trigger { color: var(--ink); background: rgba(12,25,41,0.05); }
.nav-group { display: grid; gap: 3px; align-content: start; }
.nav-group > .caps { padding: 0 12px 8px; }
.nav-panel a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; transition: background 150ms ease; }
.nav-panel a:hover { background: var(--cream); }
.nav-panel a b { font-size: 14.5px; font-weight: 500; }
.nav-panel a span { font-size: 12.5px; line-height: 1.45; color: var(--slate-2); }
.nav-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav-plain { font-size: 15px; color: var(--slate); }
.nav-plain:hover { color: var(--ink); }
.burger {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
}
.mob-menu {
  display: none; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 55;
  background: var(--paper); padding: 12px var(--gutter) 48px;
  flex-direction: column; overflow: auto;
}
.mob-menu.is-open { display: flex; }
.mob-menu a {
  padding: 16px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 20px; font-weight: 500;
}
.mob-menu .mob-cta { margin-top: 24px; border: 0; justify-content: center; }

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero { padding: clamp(14px, 2.2vw, 28px) 0 0; }
.field {
  position: relative; border-radius: var(--r-xl); background: var(--field);
  padding: clamp(30px, 3.4vw, 52px) clamp(22px, 3.2vw, 46px);
  overflow: hidden; isolation: isolate;
}
.field::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.5) 34%, transparent 62%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.02fr); gap: clamp(26px,3.2vw,50px); align-items: center; }
.hero-copy { display: grid; gap: 17px; justify-items: start; max-width: 34rem; }
.hero-copy h1 { font-size: clamp(34px, 3.9vw, 56px); }
.hero-copy .lede { font-size: 16.5px; max-width: 44ch; color: #263646; }
.hero-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px;
  border-radius: var(--r-pill); background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.9);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 13.5px; color: #263646;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex: none; }
.pill .dot.ink { background: var(--ink); }
.pill .dot.v { background: var(--violet); }
.hero-visual { display: grid; gap: 11px; min-width: 0; }
.hero-cap {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--slate-2); line-height: 1.6; text-align: center;
}
.hero-proof {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px,2.4vw,34px);
  margin-top: clamp(22px,2.6vw,34px); padding-top: clamp(20px,2.4vw,30px);
  border-top: 1px solid var(--line);
}
.hero-proof .hp { display: grid; gap: 4px; align-content: start; }
.hero-proof b {
  font-family: var(--font-display); font-size: clamp(24px,2.6vw,32px);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1;
}
.hero-proof span { font-size: 12.5px; line-height: 1.5; color: var(--slate); }

/* ── dashboard panel (the one dark object) ───────────────────────────── */
.wb {
  background: var(--ink-panel); color: var(--bone); border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--lift-3);
  overflow: hidden; font-size: 13px;
}
.wb-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 18px; border-bottom: 1px solid var(--line-ink); background: var(--ink-panel-2);
}
.wb-file { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--bone-70); }
.wb-file .fdot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-lift); flex: none; }
.wb-concept { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone-55); }
.wb-body { padding: 17px; display: grid; gap: 12px; }
.wb-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.wb-kpi { background: rgba(255,255,255,0.05); border: 1px solid var(--line-ink); border-radius: 12px; padding: 12px 13px; display: grid; gap: 3px; }
.wb-kpi b { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.wb-kpi b.up { color: var(--good-ink); }
.wb-kpi span { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone-55); line-height: 1.4; }
.wb-rows { display: grid; gap: 7px; }
.wb-row {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-ink);
  border-radius: 10px; padding: 9px 12px; font-size: 12.4px; color: var(--bone-70);
}
.wb-row .who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wb-row .ini {
  width: 24px; height: 24px; border-radius: 7px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(45,212,191,0.14); color: var(--teal-lift);
  font-family: var(--font-mono); font-size: 9px; font-weight: 600;
}
.wb-row .risk { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.wb-row .risk.hi { background: rgba(255,154,138,0.14); color: var(--bad-ink); }
.wb-row .risk.md { background: rgba(180,83,9,0.2); color: #F5B678; }
.wb-row .risk.lo { background: rgba(74,222,154,0.14); color: var(--good-ink); }
.wb-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wb-verdict { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 10px; color: var(--bone-70); }
.wb-verdict .stamp {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px;
  border-radius: var(--r-pill); background: rgba(74,222,154,0.14); color: var(--good-ink);
  font-weight: 600; letter-spacing: 0.08em;
}
.wb-merge {
  padding: 9px 20px; border-radius: var(--r-pill); border: 1px solid var(--line-ink);
  background: transparent; color: var(--bone-55);
  font-family: var(--font-sans); font-size: 13px; pointer-events: none;
}

/* ── logo wall ────────────────────────────────────────────────────────── */
.logo-wall-head { display: grid; gap: 10px; justify-items: center; text-align: center; margin-bottom: 30px; }
.logo-wall {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.lw {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 78px; padding: 14px 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  font-family: var(--font-display); font-size: 14.5px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--slate); line-height: 1.28;
}
.soft .lw { background: var(--paper); }

/* ── gap tiles (the "student impact gap" grid) ────────────────────────── */
.gap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gap-tile {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; display: grid; gap: 11px; align-content: start;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.soft .gap-tile { background: var(--paper); }
.gap-tile:hover { border-color: var(--line-strong); box-shadow: var(--lift-1); }
.gap-ico {
  width: 42px; height: 42px; border-radius: 13px; margin-bottom: 3px;
  background: var(--amber-wash); border: 1px solid rgba(180,83,9,0.18);
  display: flex; align-items: center; justify-content: center; color: var(--amber);
}
.gap-tile h3 { font-size: 18.5px; }
.gap-tile p { font-size: 14.5px; line-height: 1.6; color: var(--slate); }

/* ── numbered steps ───────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: st; }
.step {
  position: relative; counter-increment: st;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px; display: grid; gap: 11px; align-content: start;
}
.soft .step { background: var(--paper); }
.step::before {
  content: "Step " counter(st);
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-deep);
}
.step h3 { font-size: 20px; }
.step p { font-size: 14.5px; line-height: 1.6; color: var(--slate); }

/* ── feature / mode cards ─────────────────────────────────────────────── */
.modes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mode-card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 28px 26px;
  display: grid; gap: 13px; align-content: start;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  contain: layout style;
}
.soft .mode-card { background: var(--paper); }
a.mode-card:hover, a.gap-tile:hover, a.contact-tile:hover, a.value-card:hover, a.byo-card:hover {
  transform: translateY(-3px); box-shadow: var(--lift-2); border-color: var(--line-strong);
}
div.mode-card:hover, div.byo-card:hover, div.value-card:hover { border-color: var(--line-strong); }
.mode-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mode-tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-2); }
.mode-card h3 { font-size: clamp(20px, 2vw, 24px); }
.mode-card p { font-size: 15px; line-height: 1.6; color: var(--slate); }
.mode-when {
  margin-top: 5px; padding-top: 15px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 10.5px; line-height: 1.7; color: var(--slate-2);
}
.mode-card.coach { background: var(--ink-panel); border-color: transparent; color: var(--bone); }
.mode-card.coach p { color: var(--bone-70); }
.mode-card.coach .mode-tag, .mode-card.coach .mode-when { color: var(--bone-55); }
.mode-card.coach .mode-when { border-color: var(--line-ink); }
.mode-card.coach .meter i { background: rgba(238,243,246,0.22); }
.mode-card.coach .meter.f4 i:nth-child(-n+4) { background: var(--teal-lift); }
.mode-card.coach .meter.f4 i:nth-child(4) { background: var(--violet); }
.card-more {
  margin-top: auto; padding-top: 13px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 500; color: var(--teal-deep);
}
.card-more .arr { transition: transform 200ms cubic-bezier(.2,.7,.3,1); }
a.mode-card:hover .card-more .arr, a.gap-tile:hover .card-more .arr,
a.contact-tile:hover .card-more .arr, a.byo-card:hover .card-more .arr { transform: translateX(4px); }
.mode-card.coach .card-more { color: var(--teal-lift); }
a.mode-card, a.gap-tile, a.byo-card, a.value-card { color: inherit; }

/* ── byo / four-up cards ──────────────────────────────────────────────── */
.byo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.byo-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px; display: grid; gap: 11px; align-content: start;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  contain: layout style;
}
.byo-ico {
  width: 42px; height: 42px; border-radius: 13px; margin-bottom: 3px;
  background: var(--cream); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--teal-deep);
}
.byo-card h3 { font-size: 17.5px; }
.byo-card p { font-size: 14.5px; line-height: 1.6; color: var(--slate); }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* ── stats ────────────────────────────────────────────────────────────── */
.stats { display: grid; gap: 14px; }
.stats.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stats.cols-4 { grid-template-columns: repeat(4, 1fr); }
.stat {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px; display: grid; gap: 13px; align-content: start; contain: layout style;
}
section.dark .stat { background: rgba(255,255,255,0.05); border-color: var(--line-ink); }
.stat .big { font-family: var(--font-display); font-size: clamp(34px,3.4vw,48px); font-weight: 600; letter-spacing: -0.032em; line-height: 1; }
.stat .big small { font-size: 15px; font-weight: 400; color: var(--slate-2); }
section.dark .stat .big small { color: var(--bone-55); }
.stat .lbl { font-size: 14.5px; line-height: 1.55; color: var(--slate); }
section.dark .stat .lbl { color: var(--bone-70); }
.teal-text { color: var(--teal-deep); }
section.dark .teal-text { color: var(--teal-lift); }

/* ── result cards (stat + institution) ───────────────────────────────── */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.result {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px; display: grid; gap: 8px; align-content: start; text-align: center;
  justify-items: center;
}
.soft .result { background: var(--paper); }
.result .rbig {
  font-family: var(--font-display); font-size: clamp(40px,4.4vw,58px); font-weight: 600;
  letter-spacing: -0.036em; line-height: 1; color: var(--teal-deep);
}
.result .rwhat { font-size: 15px; font-weight: 500; }
.result .rwho {
  margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); width: 100%;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--slate-2); line-height: 1.5;
}

/* ── tabbed section ───────────────────────────────────────────────────── */
.tabs { display: grid; gap: 22px; }
.tab-strip { display: flex; gap: 8px; flex-wrap: wrap; }
.tab-btn {
  padding: 11px 20px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: var(--paper);
  font-size: 14.5px; font-weight: 500; color: var(--slate);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.tab-btn:hover { border-color: var(--ink); color: var(--ink); }
.tab-btn[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.tab-inner {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr);
  gap: clamp(26px,3.6vw,54px); align-items: center;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(26px,3.4vw,46px);
}
.soft .tab-inner { background: var(--paper); }
.tab-inner .copy { display: grid; gap: 15px; justify-items: start; }
.tab-inner h3 { font-size: clamp(22px,2.4vw,30px); }
.tab-inner p { font-size: 15.5px; line-height: 1.66; color: var(--slate); }

/* ── feature rows ─────────────────────────────────────────────────────── */
.feature-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.06fr); gap: clamp(30px,4.6vw,72px); align-items: center; }
.feature-row > .copy { display: grid; gap: 17px; justify-items: start; align-content: center; }
.feature-row.flip > .copy { order: 2; }
.feature-row.flip > .visual { order: 1; }
.pts { display: grid; gap: 4px; margin-top: 6px; width: 100%; }
.pt { display: grid; gap: 6px; padding: 17px 0; border-top: 1px solid var(--line); }
.pt:first-child { border-top: 0; padding-top: 4px; }
.pt .num { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-deep); }
section.dark .pt { border-color: var(--line-ink); }
section.dark .pt .num { color: var(--teal-lift); }
.pt h3 { font-size: 18px; }
.pt p { font-size: 14.5px; line-height: 1.6; color: var(--slate); }
section.dark .pt p { color: var(--bone-70); }

/* ── platform architecture diagram ───────────────────────────────────── */
.arch { display: grid; gap: 12px; }
.arch-layer {
  border: 1px solid var(--line-ink); border-radius: var(--r);
  background: rgba(255,255,255,0.045); padding: 18px 20px; display: grid; gap: 12px;
}
.arch-layer .caps { color: var(--bone-55); }
.arch-items { display: flex; flex-wrap: wrap; gap: 7px; }
.arch-items span {
  padding: 7px 13px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.07); border: 1px solid var(--line-ink);
  font-size: 12.5px; color: var(--bone-70);
}
.arch-layer.core { background: rgba(45,212,191,0.1); border-color: rgba(45,212,191,0.3); }
.arch-layer.core .arch-items span { background: rgba(45,212,191,0.14); border-color: rgba(45,212,191,0.3); color: var(--teal-lift); }
.arch-flow { display: flex; justify-content: center; color: var(--bone-55); }

/* ── testimonials ─────────────────────────────────────────────────────── */
.t-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.t-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; display: grid; gap: 20px; align-content: space-between; contain: layout style;
}
.soft .t-card { background: var(--paper); }
.t-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--teal-deep); }
.t-card blockquote { margin: 0; font-size: 16.5px; line-height: 1.62; color: var(--ink); }
.t-author { display: flex; align-items: center; gap: 13px; }
.t-av {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-wash); border: 1px solid var(--teal-edge); color: var(--teal-deep);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
}
.t-name { font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.t-role { font-size: 13px; color: var(--slate-2); margin-top: 1px; line-height: 1.4; }
.t-note { margin-top: 22px; font-size: 13px; line-height: 1.6; color: var(--slate-2); max-width: 74ch; }
.t-case {
  display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr);
  border-radius: var(--r-lg); overflow: hidden; background: var(--cream); margin-bottom: 14px;
}
.soft .t-case { background: var(--paper); border: 1px solid var(--line); }
.t-case-quote { padding: clamp(28px,3.8vw,50px); display: grid; gap: 22px; align-content: space-between; }
.t-case-quote blockquote {
  margin: 0; font-family: var(--font-display); font-size: clamp(19px,2vw,25px);
  font-weight: 500; line-height: 1.4; letter-spacing: -0.016em;
}
.t-case-side { background: var(--ink-panel); color: var(--bone); padding: clamp(28px,3.8vw,50px) clamp(22px,3vw,36px); display: grid; gap: 20px; align-content: center; }
.t-case-side .row { display: grid; gap: 5px; padding-bottom: 17px; border-bottom: 1px solid var(--line-ink); }
.t-case-side .row:last-child { border: 0; padding-bottom: 0; }
.t-case-side .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-55); }
.t-case-side .v { font-size: 15px; font-weight: 500; }
.t-case-side .v em { color: var(--teal-lift); font-style: normal; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq-list { display: grid; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 23px 4px; list-style: none; cursor: pointer;
  font-family: var(--font-display); font-size: clamp(17px,1.5vw,20px); font-weight: 600; letter-spacing: -0.014em;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .ic {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center;
  color: var(--slate); transition: transform 260ms cubic-bezier(.2,.7,.3,1), background 220ms ease, color 220ms ease, border-color 220ms ease;
}
.faq-item[open] .faq-q .ic { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-a { padding: 0 52px 24px 4px; font-size: 15.5px; line-height: 1.68; color: var(--slate); max-width: 74ch; }
.faq-a a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ── closing CTA ─────────────────────────────────────────────────────── */
.cta-panel {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  padding: clamp(48px,6.6vw,96px) clamp(24px,4.6vw,72px); text-align: center;
  display: grid; gap: 21px; justify-items: center;
  background: var(--ink-panel); color: var(--bone);
}
.cta-panel::before {
  content: ""; position: absolute; inset: -50% -10% auto -10%; height: 150%;
  background: radial-gradient(38% 52% at 18% 24%, rgba(45,212,191,0.30), transparent 68%),
              radial-gradient(36% 50% at 78% 18%, rgba(120,196,255,0.24), transparent 68%),
              radial-gradient(40% 54% at 56% 88%, rgba(180,83,9,0.18), transparent 70%);
  pointer-events: none;
}
.cta-panel > * { position: relative; }
.cta-panel .lede { margin: 0 auto; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-fine { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-55); }

/* ── footer ───────────────────────────────────────────────────────────── */
.foot { background: var(--cream); color: var(--ink); padding: 0 0 40px; }
.foot a { color: var(--slate); transition: color 150ms ease; }
.foot a:hover { color: var(--ink); }
.foot-signup {
  border-bottom: 1px solid var(--line-strong); padding: clamp(42px,5.2vw,64px) 0;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px,4vw,60px); align-items: center;
}
.foot-signup h2 { font-size: clamp(23px,2.5vw,32px); }
.foot-signup p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--slate); max-width: 46ch; }
.signup-form { display: flex; gap: 10px; flex-wrap: wrap; }
.signup-form input {
  flex: 1 1 240px; min-width: 0; padding: 14px 20px; font: inherit; font-size: 15px;
  color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong);
  border-radius: var(--r-pill); outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.signup-form input::placeholder { color: var(--slate-2); }
.signup-form input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-wash); }
.signup-fine { margin-top: 12px; font-size: 12px; line-height: 1.55; color: var(--slate-2); max-width: 56ch; }
.signup-fine a { text-decoration: underline; text-underline-offset: 3px; }
.foot-top {
  display: grid; grid-template-columns: minmax(0,1.35fr) repeat(4, minmax(0,1fr));
  gap: clamp(24px,3vw,44px); padding: clamp(38px,5vw,60px) 0 42px; border-bottom: 1px solid var(--line);
}
.foot .logo-text { color: var(--ink); }
.foot .tag { margin-top: 15px; font-size: 14.5px; line-height: 1.6; color: var(--slate); max-width: 36ch; }
.foot .addr { margin-top: 17px; font-size: 13.5px; line-height: 1.7; color: var(--slate-2); }
.foot .cin { margin-top: 10px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--slate-2); }
.foot .foot-top h3 {
  margin: 0 0 15px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--slate-2);
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul a { font-size: 14.5px; }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 14px 32px; flex-wrap: wrap;
  padding-top: 24px; font-size: 12.5px; line-height: 1.6; color: var(--slate-2);
}
.foot-bottom .fb-right { max-width: 60ch; }
.foot .foot-social { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.foot .foot-social a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px 9px 13px;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  font-size: 13.5px; color: var(--slate);
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
.foot .foot-social a:hover { color: var(--ink); border-color: var(--ink); background: rgba(12,25,41,0.04); }
.foot .foot-social svg { width: 17px; height: 17px; flex: none; }

/* ── page hero (subpages) ─────────────────────────────────────────────── */
.page-hero { padding: clamp(48px,6.4vw,96px) 0 clamp(34px,4.6vw,62px); }
.page-hero .inner { display: grid; gap: 20px; justify-items: start; max-width: 900px; }
.page-hero h1 { font-size: clamp(34px,4.4vw,58px); }
.page-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.page-hero.on-field { padding: clamp(14px,2.2vw,28px) 0 clamp(38px,4.8vw,64px); }
.page-hero.on-field .field { padding: clamp(48px,6.4vw,92px) clamp(24px,4.4vw,66px); }
.page-hero.on-field .inner { max-width: 880px; }
.crumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--slate-2);
  transition: color 150ms ease;
}
.crumb:hover { color: var(--ink); }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 13px 20px;
  border-radius: var(--r-pill); font-weight: 500; transition: top 180ms ease;
}
.skip:focus { top: 14px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.foot-note { margin-top: 17px; font-size: 13px; line-height: 1.6; color: var(--slate-2); max-width: 74ch; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── tables ───────────────────────────────────────────────────────────── */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 700px; font-size: 14.5px; }
table.cmp th, table.cmp td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp thead th {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-2); background: var(--cream);
}
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody th { font-weight: 500; color: var(--ink); }
table.cmp td { color: var(--slate); }
table.cmp td .yes { color: var(--teal-deep); font-weight: 600; }
table.cmp td .no { color: var(--slate-2); opacity: .55; }

/* ── reveal on scroll ─────────────────────────────────────────────────── */
html.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 700ms cubic-bezier(.2,.7,.3,1), transform 700ms cubic-bezier(.2,.7,.3,1); }
html.js [data-reveal].in { opacity: 1; transform: none; }
html.js [data-reveal="2"] { transition-delay: 90ms; }
html.js [data-reveal="3"] { transition-delay: 180ms; }
html.js [data-reveal="4"] { transition-delay: 270ms; }

/* ── blog & research cards ────────────────────────────────────────────── */
.b-featured {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: var(--paper); contain: layout style;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.b-featured:hover { transform: translateY(-3px); box-shadow: var(--lift-2); border-color: var(--line-strong); }
.b-featured .txt { padding: clamp(26px,3.4vw,44px); display: flex; flex-direction: column; gap: 15px; }
.b-featured h3 { font-size: clamp(23px,2.6vw,34px); }
.b-featured .txt p { font-size: 15.5px; line-height: 1.62; color: var(--slate); }
.b-featured .thumb { background: var(--cream); display: flex; }
.b-featured .thumb img { width: 100%; height: 100%; object-fit: cover; min-height: 290px; }
.b-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.b-by { margin-top: auto; display: flex; align-items: center; gap: 11px; padding-top: 16px; font-size: 13.5px; color: var(--slate-2); }
.b-by .av { width: 34px; height: 34px; border-radius: 10px; background: var(--ink-panel); display: flex; align-items: center; justify-content: center; flex: none; }
.b-by b { color: var(--ink); font-weight: 500; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bpost {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  contain: layout style;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.bpost:hover { transform: translateY(-3px); box-shadow: var(--lift-2); border-color: var(--line-strong); }
.bpost .thumb { aspect-ratio: 8/5; background: var(--cream); overflow: hidden; }
.bpost .thumb img { width: 100%; height: 100%; object-fit: cover; }
.bpost .txt { padding: 21px 23px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bpost h3 { font-size: 18.5px; line-height: 1.28; }
.bpost .txt p { font-size: 14.5px; line-height: 1.58; color: var(--slate); }
.bpost .rd { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: var(--teal-deep); }
.bpost .rd .arr { transition: transform 200ms cubic-bezier(.2,.7,.3,1); }
.bpost:hover .rd .arr { transform: translateX(4px); }

/* ── article ──────────────────────────────────────────────────────────── */
.article-hero { padding: clamp(40px,5.6vw,76px) 0 0; }
.article-hero .inner { max-width: 820px; margin: 0 auto; display: grid; gap: 18px; }
.article-hero h1 { font-size: clamp(30px,4vw,50px); line-height: 1.08; }
.article-hero .dek { font-size: clamp(17px,1.5vw,20px); line-height: 1.6; color: var(--slate); }
.byline { display: flex; align-items: center; gap: 13px; }
.by-av {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-wash); border: 1px solid var(--teal-edge); color: var(--teal-deep);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
}
.by-av.lg { width: 58px; height: 58px; border-radius: 17px; font-size: 13px; }
.by-txt { display: grid; gap: 1px; min-width: 0; }
.by-txt b { font-size: 15px; font-weight: 500; }
.by-txt span { font-size: 13.5px; color: var(--slate-2); }
.paper-meta {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2px 24px;
  margin-top: 6px; padding: 19px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.paper-meta > div { display: grid; gap: 4px; align-content: start; }
.pm-k { font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.11em; text-transform: uppercase; color: var(--slate-2); }
.pm-v { font-size: 13.5px; font-weight: 500; color: var(--ink); word-break: break-word; }
.pm-v a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.pm-note { font-size: 12.5px; line-height: 1.55; color: var(--slate-2); }
.abstract {
  max-width: 820px; margin: 0 auto; background: var(--cream);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px,3.2vw,38px);
}
.abstract .caps { display: block; margin-bottom: 13px; }
.abstract p { font-size: 16px; line-height: 1.72; color: var(--slate); }
.rf-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.rf-stat { display: grid; gap: 6px; align-content: start; }
.rf-big { font-family: var(--font-display); font-size: clamp(24px,2.6vw,32px); font-weight: 600; letter-spacing: -0.032em; line-height: 1; color: var(--teal-deep); }
.rf-lbl { font-size: 13px; line-height: 1.5; color: var(--slate); }
.article { max-width: 730px; margin: 0 auto; padding: clamp(32px,4.6vw,56px) var(--gutter) 0; }
.article > * + * { margin-top: 21px; }
.article p { font-size: 17.5px; line-height: 1.76; color: #2E3E4D; }
.article p.intro { font-size: 20px; line-height: 1.68; color: var(--ink); }
.article h2 { font-size: clamp(23px,2.4vw,31px); margin-top: 50px; scroll-margin-top: calc(var(--nav-h) + 22px); }
.article h3 { font-size: 20px; margin-top: 34px; }
.article ul, .article ol { font-size: 17px; line-height: 1.72; color: #2E3E4D; padding-left: 24px; display: grid; gap: 10px; }
.article li::marker { color: var(--teal-deep); }
.article a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.article blockquote {
  margin: 36px 0; padding: 28px 32px; background: var(--cream); border-radius: var(--r-lg);
  font-family: var(--font-display); font-size: clamp(19px,2vw,25px); font-weight: 500;
  line-height: 1.4; letter-spacing: -0.016em; color: var(--ink);
}
.article code { font-family: var(--font-mono); font-size: 0.86em; background: var(--cream); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; color: var(--teal-deep); }
.article .note { font-size: 14px; line-height: 1.65; color: var(--slate-2); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 46px; }
.article .fig { margin: 38px 0; }
.article .fig-plot { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 20px 18px; }
.article .fig figcaption { margin-top: 13px; font-size: 13.5px; line-height: 1.62; color: var(--slate-2); max-width: 68ch; }
.article .fig .table-scroll { border-radius: var(--r); }
.article .fig table.cmp { min-width: 540px; font-size: 14px; }
.article .fig table.cmp th, .article .fig table.cmp td { padding: 12px 15px; }
.fig-plot svg { display: block; width: 100%; height: auto; }
@media (min-width: 1080px) { .article .fig { width: min(940px, calc(100vw - 2*var(--gutter))); margin-left: 50%; transform: translateX(-50%); } }
.kv { margin: 28px 0; border-top: 1px solid var(--line); }
.kv-row { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 8px 24px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.kv-k { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.11em; text-transform: uppercase; color: var(--slate-2); padding-top: 3px; }
.kv-v { font-size: 14.5px; line-height: 1.6; color: var(--slate); }
.artefacts { border-top: 1px solid var(--line); margin: 17px 0 8px; }
.art-row { display: grid; grid-template-columns: 96px minmax(0,1fr) minmax(0,1.15fr); gap: 6px 20px; padding: 14px 2px; border-bottom: 1px solid var(--line); align-items: baseline; }
.art-kind { font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-deep); }
.art-name { font-family: var(--font-mono); font-size: 14px; color: var(--ink); word-break: break-word; }
.art-meta { font-size: 13.5px; line-height: 1.55; color: var(--slate); }
ol.refs { counter-reset: ref; list-style: none; padding: 0; margin: 17px 0 0; display: grid; border-top: 1px solid var(--line); }
ol.refs li {
  counter-increment: ref;
  position: relative;
  padding: 13px 2px 13px 48px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px; line-height: 1.6; color: var(--slate);
  scroll-margin-top: calc(var(--nav-h) + 22px);
}
ol.refs li::before {
  content: "[" counter(ref) "]";
  position: absolute; left: 2px; top: 15px;
  font-family: var(--font-mono); font-size: 11px; color: var(--slate-2);
}
ol.refs li em { font-style: italic; color: var(--ink); }
.cite-box { margin-top: 46px; padding: 21px 23px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); }
.cite-box .caps { display: block; margin-bottom: 10px; }
.cite-box p { font-family: var(--font-mono); font-size: 13px; line-height: 1.65; color: var(--slate); }
.author-card { margin-top: 22px; padding: 25px; border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; grid-template-columns: auto minmax(0,1fr); gap: 20px; align-items: start; }
.author-card h3 { font-size: 19px; margin-bottom: 4px; }
.author-card .caps { display: block; margin-bottom: 11px; }
.author-card p { font-size: 14.5px; line-height: 1.65; color: var(--slate); }
.keep-reading { padding-top: clamp(44px,6.6vw,80px); }
.code-block { background: var(--ink-panel); border-radius: var(--r); padding: 22px 24px; overflow-x: auto; }
.code-block pre { margin: 0; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; color: var(--bone-70); white-space: pre; }

/* ── publication list ─────────────────────────────────────────────────── */
.pub-year { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.13em; color: var(--slate-2); margin: 40px 0 12px; }
.pub-year:first-child { margin-top: 0; }
.pub-list { border-top: 1px solid var(--line); }
.pub-row {
  display: grid; grid-template-columns: 118px minmax(0,1fr) 190px 22px; gap: 10px 24px;
  align-items: start; padding: 21px 4px; border-bottom: 1px solid var(--line);
  transition: background 160ms ease;
}
.pub-row:not(.static):hover { background: var(--cream); }
.pub-id { font-family: var(--font-mono); font-size: 10.5px; color: var(--slate-2); padding-top: 3px; }
.pub-main { display: grid; gap: 5px; }
.pub-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.34; }
.pub-row:not(.static):hover .pub-title { color: var(--teal-deep); }
.pub-row.static .pub-title a:hover { color: var(--teal-deep); }
.pub-sub { font-size: 13.5px; color: var(--slate-2); }
.pub-note { font-size: 13.5px; line-height: 1.55; color: var(--slate); max-width: 68ch; }
.pub-date { display: grid; gap: 7px; justify-items: start; font-size: 13px; color: var(--slate-2); padding-top: 2px; }
.pub-go { color: var(--slate-2); padding-top: 3px; transition: transform 200ms cubic-bezier(.2,.7,.3,1), color 160ms ease; }
.pub-row:hover .pub-go { transform: translateX(4px); color: var(--teal-deep); }

/* ── people ───────────────────────────────────────────────────────────── */
.people-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.person-card {
  display: grid; gap: 15px; align-content: start; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r); padding: 25px; contain: layout style;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.person-card:hover { transform: translateY(-3px); box-shadow: var(--lift-2); border-color: var(--line-strong); }
.person-txt { display: grid; gap: 5px; }
.person-txt b { font-size: 16px; font-weight: 500; }
.person-area { font-size: 13.5px; line-height: 1.5; color: var(--slate); }
.people-full-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.person-full { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 19px; align-content: start; }
.person-full .chip { white-space: normal; overflow-wrap: anywhere; }
.person-head { display: flex; align-items: center; gap: 15px; min-width: 0; }
.person-head > div { min-width: 0; }
.person-head h3 { font-size: 20px; margin-bottom: 4px; }
.person-full > p { font-size: 14.5px; line-height: 1.65; color: var(--slate); }
.person-full .caps { display: block; margin-bottom: 10px; }
.person-full .role-list li { font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
.person-full .role-list a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ── careers ──────────────────────────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.value-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; display: grid; gap: 10px; align-content: start; contain: layout style; }
.value-card .vnum { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.11em; text-transform: uppercase; color: var(--teal-deep); }
.value-card h3 { font-size: 18px; }
.value-card p { font-size: 14.5px; line-height: 1.6; color: var(--slate); }
.bens { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 32px; }
.ben { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.6; color: var(--slate); }
.ben::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--teal-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A5A54' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px 11px no-repeat;
}
.ben b { color: var(--ink); font-weight: 500; }
.role-list-wrap { display: grid; gap: 12px; }
.role { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 12px; overflow: hidden; transition: border-color 200ms ease, box-shadow 200ms ease; }
.role:hover { border-color: var(--line-strong); box-shadow: var(--lift-1); }
.role summary { list-style: none; cursor: pointer; padding: 25px 28px; }
.role summary::-webkit-details-marker { display: none; }
.role-top { display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; }
.role-top h3 { font-size: clamp(18px,1.8vw,22px); margin-right: auto; }
.role-meta { display: flex; gap: 7px; flex-wrap: wrap; }
.role-open { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; color: var(--slate); transition: transform 260ms cubic-bezier(.2,.7,.3,1), background 220ms ease, color 220ms ease, border-color 220ms ease; }
.role[open] .role-open { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.role-blurb { margin-top: 11px; font-size: 15px; line-height: 1.62; color: var(--slate); max-width: 80ch; }
.role-body { padding: 22px 28px 28px; display: grid; gap: 24px; border-top: 1px solid var(--line); }
.role-body h4 { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.11em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 11px; }
.role-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.role-list li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.6; color: var(--slate); }
.role-list li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); margin-top: 9px; }
.role-list.alt li::before { background: var(--slate-2); opacity: .5; }
.role-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

/* ── contact ──────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.contact-tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; display: grid; gap: 9px; align-content: start; contain: layout style; transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease; }
.contact-tile .addr-line { font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; color: var(--teal-deep); word-break: break-word; }
.contact-tile p { font-size: 13.5px; line-height: 1.6; color: var(--slate); }

/* ── pricing (negotiated) ─────────────────────────────────────────────── */
.tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; align-items: stretch; }
.tier { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 27px; display: grid; gap: 17px; align-content: start; contain: layout style; }
.soft .tier { background: var(--paper); }
.tier .tier-name { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--slate-2); }
.tier .tier-for { font-size: 13.5px; color: var(--slate-2); line-height: 1.5; min-height: 3em; margin-top: -6px; }
.tier .price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.tier .price b { font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.tier .price span { font-size: 14px; color: var(--slate-2); }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tier ul li { display: flex; gap: 11px; font-size: 14.5px; line-height: 1.5; color: var(--slate); }
.tier ul li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%;
  background: var(--teal-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A5A54' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px 10px no-repeat;
}
.tier .btn { width: 100%; margin-top: 6px; }
.tier.featured { background: var(--ink-panel); border-color: transparent; color: var(--bone); box-shadow: var(--lift-2); }
.tier.featured .tier-name, .tier.featured .tier-for, .tier.featured .price span { color: var(--bone-55); }
.tier.featured ul li { color: var(--bone-70); }
.tier.featured ul li::before { background: rgba(45,212,191,0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232DD4BF' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px 10px no-repeat; }
.tier.featured .btn-accent { background: var(--paper); color: var(--ink); }
.tier-flag { position: absolute; top: -12px; left: 27px; background: var(--teal-deep); color: #fff; font-family: var(--font-mono); font-size: 9.5px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; padding: 6px 13px; border-radius: var(--r-pill); }

/* ── legal / doc layout ───────────────────────────────────────────────── */
.doc-grid { display: grid; grid-template-columns: 236px minmax(0,1fr); gap: clamp(30px,4.6vw,72px); align-items: start; }
.doc-toc { position: sticky; top: calc(var(--nav-h) + 22px); display: grid; gap: 2px; }
.doc-toc .toc-label { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.11em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 11px; }
.doc-toc a { padding: 8px 14px; border-radius: var(--r-pill); font-size: 13.5px; color: var(--slate-2); transition: color 150ms ease, background 150ms ease; }
.doc-toc a:hover { color: var(--ink); background: var(--cream); }
.doc { max-width: 730px; }
.doc .meta-row { display: flex; gap: 7px; flex-wrap: wrap; margin: 17px 0 38px; }
.doc h2 { font-size: clamp(22px,2.2vw,28px); margin: 46px 0 13px; scroll-margin-top: calc(var(--nav-h) + 22px); }
.doc h3 { font-size: 18.5px; margin: 28px 0 10px; }
.doc p { font-size: 16px; line-height: 1.74; color: var(--slate); margin: 0 0 14px; }
.doc ul { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; }
.doc ul li { font-size: 16px; line-height: 1.65; color: var(--slate); }
.doc ul li::marker { color: var(--teal-deep); }
.doc .legal-callout { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 21px 23px; margin: 0 0 20px; font-size: 15px; line-height: 1.68; color: var(--slate); }
.doc a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ── 404 ──────────────────────────────────────────────────────────────── */
.nf { padding: clamp(76px,12vw,160px) 0; text-align: center; }
.nf .inner { display: grid; gap: 24px; justify-items: center; }
.nf h1 { font-size: clamp(52px,9vw,116px); }
.nf .meter i { width: 30px; height: 8px; }


/* ── feature reference ────────────────────────────────────────────────── */
.feat-list { display: grid; gap: 0; }
.feat-group { padding-bottom: 8px; }
.feat-group + .feat-group { padding-top: 42px; }
.feat-group-head { display: grid; gap: 13px; margin-bottom: 24px; }
.feat-group-head h2 { font-size: clamp(19px,1.9vw,24px); line-height: 1.34; font-weight: 500; color: var(--slate); max-width: 62ch; }
.feat {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px;
  margin-bottom: 14px; background: var(--paper);
  scroll-margin-top: calc(var(--nav-h) + 20px);
  transition: border-color 200ms ease, box-shadow 200ms ease; contain: layout style;
}
.feat:target { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-wash); }
.feat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.feat-head h3 { font-size: 20px; margin-bottom: 7px; }
.feat-summary { font-size: 15px; line-height: 1.55; color: var(--slate); max-width: 60ch; }
.feat-body { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: 30px; }
.feat-prose { display: grid; gap: 13px; align-content: start; }
.feat-prose p { font-size: 15px; line-height: 1.68; color: var(--slate); }
.feat-limits { margin-top: 4px; padding: 17px 19px; background: var(--cream); border-radius: var(--r-sm); }
.feat-limits .caps { display: block; margin-bottom: 8px; }
.feat-limits p { font-size: 14px; line-height: 1.62; }
.feat-papers { margin-top: 4px; padding-top: 15px; border-top: 1px solid var(--line); }
.feat-papers .caps { display: block; margin-bottom: 10px; color: var(--slate-2); }
.feat-papers .role-list li { font-size: 14px; }
.feat-papers a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.feat-spec { display: grid; gap: 15px; align-content: start; }
table.spec { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.spec th, table.spec td { padding: 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: 0; }
table.spec th {
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-2);
  width: 44%; padding-right: 14px;
}
table.spec td { color: var(--ink); font-weight: 500; }
.feat-ask { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--teal-deep); }
.feat-ask .arr { transition: transform 200ms cubic-bezier(.2,.7,.3,1); }
.feat-ask:hover .arr { transform: translateX(4px); }
a.inline-more {
  color: inherit; background-image: linear-gradient(0deg, var(--teal-edge) 0, var(--teal-edge) 100%);
  background-repeat: no-repeat; background-size: 100% 2px; background-position: 0 100%;
  transition: background-size 180ms ease, color 160ms ease;
}
a.inline-more:hover { color: var(--teal-deep); background-size: 100% 100%; }
@media (max-width: 1120px) { .feat-body { grid-template-columns: 1fr; gap: 22px; } .feat-spec { border-top: 1px solid var(--line); padding-top: 17px; } }
@media (max-width: 760px) { .feat { padding: 21px; } .feat-head { flex-direction: column; gap: 12px; } }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,0.88fr); gap: clamp(18px,2.4vw,28px); }
  .field { padding: clamp(22px,2.6vw,34px) clamp(18px,2.6vw,30px); }
  .hero-copy { max-width: none; gap: 14px; }
  .hero-copy h1 { font-size: clamp(29px,4vw,40px); }
  .hero-copy .lede { font-size: 15.5px; max-width: 40ch; }
  .hero-pills .pill { font-size: 12.5px; padding: 6px 12px; }
  .hero-visual .wb-body { padding: 13px; gap: 9px; }
  .hero-visual .wb-row:nth-child(n+4) { display: none; }
}
@media (max-width: 1120px) {
  .nav-links, .nav-plain { display: none; }
  .burger { display: flex; }
  .feature-row, .feature-row.flip { grid-template-columns: 1fr; }
  .feature-row.flip > .copy { order: 1; }
  .feature-row.flip > .visual { order: 2; }
  .modes-grid, .gap-grid, .steps, .results { grid-template-columns: 1fr 1fr; }
  .byo-grid, .stats.cols-4, .people-grid { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .values-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .doc-grid { grid-template-columns: 1fr; }
  .doc-toc { position: static; grid-template-columns: 1fr 1fr; gap: 2px 18px; margin-bottom: 10px; }
  .doc-toc .toc-label { grid-column: 1 / -1; }
  .foot-top { grid-template-columns: 1fr 1fr 1fr; }
  .foot-signup { grid-template-columns: 1fr; }
  .role-grid { grid-template-columns: 1fr; }
  .tab-inner { grid-template-columns: 1fr; }
  .paper-meta { grid-template-columns: 1fr 1fr; gap: 18px 24px; }
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .hero-copy { max-width: 40rem; }
  .hero-proof { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  section.dark > .wrap { border-radius: var(--r-lg); }
  .field { border-radius: var(--r-lg); padding: 22px 18px 26px; }
  .hero-copy { gap: 13px; }
  .hero-copy .lede { font-size: 15px; }
  .hero-visual .wb-row:nth-child(n+3) { display: none; }
  .hero-visual .wb-kpis { grid-template-columns: 1fr 1fr; }
  .stats.cols-3, .stats.cols-4 { grid-template-columns: 1fr; }
  .modes-grid, .gap-grid, .steps, .results, .byo-grid { grid-template-columns: 1fr; }
  .t-grid, .t-case { grid-template-columns: 1fr; }
  .values-grid, .bens, .contact-grid, .blog-grid, .grid-2 { grid-template-columns: 1fr; }
  .b-featured { grid-template-columns: 1fr; }
  .b-featured .thumb { order: -1; }
  .b-featured .thumb img { min-height: 0; aspect-ratio: 8/5; }
  .people-grid, .people-full-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: 1fr 1fr; }
  .hero-cta, .cta-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; }
  .foot-top { grid-template-columns: 1fr; gap: 34px; }
  .role summary, .role-body { padding: 21px; }
  .faq-a { padding-right: 8px; }
  .article blockquote { padding: 22px 24px; }
  .rf-stats { grid-template-columns: 1fr; gap: 17px; }
  .kv-row, .art-row { grid-template-columns: 1fr; gap: 4px; }
  .pub-row { grid-template-columns: 1fr; gap: 8px; }
  .pub-go { display: none; }
  .author-card { grid-template-columns: 1fr; }
  .paper-meta { grid-template-columns: 1fr; gap: 16px; }
  .article .fig-plot { padding: 16px 12px 12px; overflow-x: auto; }
  .article .fig-plot svg { min-width: 520px; }
  ol.refs li { padding-left: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .nav, .promo, .foot, .mob-menu, .doc-toc, .skip { display: none !important; }
  body { background: #fff; color: #000; }
  section.dark > .wrap { background: #fff; color: #000; }
}
