/* ════════════════════════════════════════════════════════════
   Evolocity · evolocity.ai
   Design tokens lifted from the product app's stylesheet so the
   marketing site and the app read as one surface.
   Dark is the default palette; light is opt-in via [data-theme].
   ════════════════════════════════════════════════════════════ */

/* ── DARK (default) ─────────────────────────────────────── */
:root {
  --bg:            #030506;
  --bg2:           #080b0e;
  --bg3:           #121820;
  --surface:       #0c1014;
  --surface2:      #121820;
  --surface3:      #1a222c;

  --border:        rgba(255, 255, 255, 0.06);
  --border2:       rgba(255, 255, 255, 0.09);
  --border3:       rgba(255, 255, 255, 0.14);

  --t1:            #eef1f5;
  --t2:            #8ea0b0;
  --t3:            #738494;

  --accent:        #059669;  /* jade   · emerald-600 */
  --accent2:       #10b981;  /* emerald-500 */
  --accent3:       #34d399;  /* emerald-400 */
  --accent-deep:   #15803d;  /* forest · the brand period */
  --accent-amber:  #f59e0b;

  --adim:          rgba(5, 150, 105, 0.07);
  --adim2:         rgba(5, 150, 105, 0.14);
  --adim3:         rgba(5, 150, 105, 0.22);

  --grid-line:     rgba(255, 255, 255, 0.025);
  --glass-bg:      rgba(12, 16, 20, 0.72);
  --glass-border:  rgba(255, 255, 255, 0.08);
  --halo-jade:     rgba(5, 150, 105, 0.18);

  --glow-soft:     0 0 60px rgba(5, 150, 105, 0.18), 0 0 120px rgba(5, 150, 105, 0.06);
  --sh1:           0 2px 8px rgba(0, 0, 0, 0.5);
  --sh2:           0 8px 32px rgba(0, 0, 0, 0.6);

  --logo-mark:     #eef1f5;

  --radius-xs:     6px;
  --radius-sm:     10px;
  --radius-md:     14px;
  --radius-lg:     18px;
  --radius-pill:   999px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw:    1180px;
  --gutter:  clamp(20px, 5vw, 48px);

  color-scheme: dark;
}

/* ── LIGHT ──────────────────────────────────────────────── */
[data-theme="light"] {
  --bg:            #f4f7f5;
  --bg2:           #edf1ee;
  --bg3:           #e6ece8;
  --surface:       #ffffff;
  --surface2:      #f0f4f1;
  --surface3:      #e6ece8;

  --border:        rgba(17, 28, 23, 0.08);
  --border2:       rgba(17, 28, 23, 0.12);
  --border3:       rgba(17, 28, 23, 0.18);

  --t1:            #111c17;
  --t2:            #3d5c4e;
  --t3:            #5a7368;

  --accent:        #059669;
  --accent2:       #047857;
  --accent3:       #065f46;
  --accent-deep:   #15803d;
  --accent-amber:  #d97706;

  --adim:          rgba(5, 150, 105, 0.06);
  --adim2:         rgba(5, 150, 105, 0.12);
  --adim3:         rgba(5, 150, 105, 0.20);

  --grid-line:     rgba(17, 28, 23, 0.045);
  --glass-bg:      rgba(255, 255, 255, 0.85);
  --glass-border:  rgba(17, 28, 23, 0.08);
  --halo-jade:     rgba(5, 150, 105, 0.10);

  --glow-soft:     0 0 60px rgba(5, 150, 105, 0.10), 0 0 120px rgba(5, 150, 105, 0.04);
  --sh1:           0 2px 8px rgba(17, 28, 23, 0.06);
  --sh2:           0 8px 32px rgba(17, 28, 23, 0.10);

  --logo-mark:     #222627;

  color-scheme: light;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--t1);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

::selection { background: var(--adim3); color: var(--t1); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-xs);
  font: 500 14px/1 var(--font-sans);
}
.skip-link:focus { left: 8px; }

/* ── Type scale (mirrors the app's type-* classes) ───────── */
.type-display {
  font-size: clamp(40px, 7.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.type-h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.028em;
  font-weight: 600;
}
.type-h2 {
  font-size: clamp(23px, 2.7vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.type-h3 {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.32;
  letter-spacing: -0.012em;
  font-weight: 600;
}
.type-body {
  font-size: clamp(15.5px, 1.15vw, 17px);
  line-height: 1.68;
  color: var(--t2);
}
.type-lede {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.58;
  color: var(--t2);
  letter-spacing: -0.01em;
}
.type-caption {
  font-size: 14px;
  line-height: 1.55;
  color: var(--t3);
}
.type-mono-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--t2);
  font-weight: 500;
}
.type-mono-value {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--t2);
}
.type-metric {
  font-family: var(--font-mono);
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--t1);
}

/* Brand conventions: the forest period, the jade accent word, the ▸ kicker */
.period    { color: var(--accent-deep); }
.accent    { color: var(--accent2); }
.kicker::before { content: "\25B8\00a0"; color: var(--accent2); }

/* ── Layout ─────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { position: relative; }

.band {
  padding: clamp(72px, 10vw, 132px) 0;
  border-top: 1px solid var(--border);
}
.band--tint { background: var(--bg2); }

.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .type-mono-label { display: block; margin-bottom: 18px; }
.sec-head .type-lede { margin-top: 20px; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__mark {
  width: 29px;
  height: 29px;
  color: var(--logo-mark);
  /* The symbol's path inherits this. Without it SVG defaults to fill:black,
     which is invisible on the dark surface. */
  fill: currentColor;
  transition: color 0.3s ease, transform 0.5s var(--ease-out-expo);
}
.brand:hover .brand__mark { color: var(--accent2); transform: rotate(-14deg); }
.brand__name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--t1);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__link {
  padding: 8px 13px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 450;
  color: var(--t2);
  transition: color 0.16s ease, background 0.16s ease;
  white-space: nowrap;
}
.nav__link:hover { color: var(--t1); background: var(--surface2); }

.icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border2);
  background: transparent;
  border-radius: var(--radius-xs);
  color: var(--t2);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.icon-btn:hover { color: var(--t1); border-color: var(--border3); background: var(--surface2); }
.icon-btn svg { width: 17px; height: 17px; }
[data-theme="light"] .icon-sun  { display: none; }
.icon-moon { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.nav-toggle { display: none; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 21px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.18s var(--ease-out-expo), background 0.18s ease,
              border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}
.btn:active { transform: translateY(1px); }
.btn__arrow { transition: transform 0.24s var(--ease-out-expo); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--solid {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}
.btn--solid:hover { background: var(--accent2); box-shadow: var(--glow-soft); }

.btn--outline {
  border-color: var(--border3);
  color: var(--t1);
  background: transparent;
}
.btn--outline:hover { border-color: var(--accent2); color: var(--accent2); background: var(--adim); }

.btn--sm { padding: 9px 17px; font-size: 14px; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(72px, 11vw, 148px) 0 clamp(56px, 8vw, 104px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 68% 52% at 50% -8%, var(--halo-jade), transparent 68%),
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 64px 100%;
  mask-image: radial-gradient(ellipse 84% 76% at 50% 24%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 84% 76% at 50% 24%, #000 40%, transparent 100%);
}
/* No max-width here — .wrap owns the width so the hero left edge lines up
   with every section below it. Constrain the children instead. */
.hero__inner { position: relative; }
.hero .type-mono-label { display: block; margin-bottom: 26px; }
.hero__title { margin-bottom: 28px; max-width: 16ch; }
.hero__lede { max-width: 660px; margin-bottom: 40px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
.hero__note { margin-top: 22px; }

/* Proof strip */
.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(56px, 7vw, 84px);
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.proof__cell { background: var(--bg); padding: clamp(22px, 3vw, 32px); }
[data-theme="light"] .proof__cell { background: var(--surface); }
.proof__cell .type-metric { display: block; margin-bottom: 11px; color: var(--accent2); }
.proof__cell .type-mono-label { display: block; font-size: 11px; letter-spacing: 0.18em; }
.proof__cell .type-caption { margin-top: 7px; }

/* ── Cards ──────────────────────────────────────────────── */
.grid { display: grid; gap: clamp(16px, 2vw, 22px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(22px, 2.6vw, 30px);
  transition: border-color 0.22s ease, transform 0.28s var(--ease-out-expo),
              box-shadow 0.28s ease, background 0.3s ease;
}
.card:hover {
  border-color: var(--border3);
  transform: translateY(-3px);
  box-shadow: var(--sh1);
}
.card__eq {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--accent-amber);
  display: block;
  margin-bottom: 15px;
}
.card .type-h3 { margin-bottom: 11px; }

/* Numbered phase cards */
.phase { position: relative; padding-top: clamp(26px, 3vw, 34px); }
.phase__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent2);
  display: block;
  margin-bottom: 13px;
}
.phase__out {
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px dashed var(--border2);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--t2);
  font-style: italic;
}

/* Pillars with a leading rule */
.pillar {
  border-left: 2px solid var(--adim3);
  padding: 4px 0 4px clamp(20px, 2.4vw, 28px);
  transition: border-color 0.24s ease;
}
.pillar:hover { border-left-color: var(--accent2); }
.pillar .type-mono-label { display: block; margin-bottom: 13px; font-size: 11px; }
.pillar .type-h3 { margin-bottom: 11px; }

/* ── Stack (the 5 self-evolve layers) ───────────────────── */
.stack { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.stack__row {
  display: grid;
  grid-template-columns: 46px minmax(180px, 1.05fr) 152px minmax(0, 2fr);
  gap: clamp(14px, 2vw, 26px);
  align-items: baseline;
  padding: clamp(19px, 2.2vw, 25px) clamp(18px, 2.4vw, 28px);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  transition: background 0.2s ease;
}
.stack__row:last-child { border-bottom: 0; }
.stack__row:hover { background: var(--surface2); }
.stack__row--head {
  background: var(--bg3);
  padding-top: 15px;
  padding-bottom: 15px;
}
.stack__row--head span { font-size: 11px; letter-spacing: 0.18em; }
.stack__n {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent2);
  font-weight: 500;
}
.stack__layer { font-weight: 600; font-size: clamp(15px, 1.3vw, 17px); letter-spacing: -0.012em; }
.stack__cadence {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-amber);
  letter-spacing: 0.02em;
}
.stack__why { font-size: 14.5px; line-height: 1.6; color: var(--t2); }
.stack__foot { margin-top: 18px; }

/* ── Comparison table ───────────────────────────────────── */
.cmp {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 15px;
}
.cmp caption { text-align: left; margin-bottom: 20px; color: var(--t3); font-size: 14px; }
.cmp th, .cmp td {
  padding: clamp(15px, 1.9vw, 21px) clamp(14px, 1.8vw, 22px);
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.55;
}
.cmp thead th {
  background: var(--bg3);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--t2);
}
.cmp thead th:last-child { color: var(--accent2); }
.cmp tbody th {
  font-weight: 500;
  color: var(--t1);
  width: 22%;
  background: var(--surface);
}
.cmp tbody td { color: var(--t2); background: var(--surface); }
.cmp tbody td:last-child { color: var(--t1); background: var(--adim); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }

/* ── Wedge split ────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.io {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.io__cell { background: var(--surface); padding: clamp(19px, 2.4vw, 26px); }
.io__cell .type-mono-label { display: block; margin-bottom: 11px; font-size: 11px; }
.io__arrow {
  background: var(--bg3);
  text-align: center;
  padding: 9px;
  font-family: var(--font-mono);
  color: var(--accent2);
  font-size: 15px;
}

.ticks { list-style: none; display: grid; gap: 13px; }
.ticks li {
  position: relative;
  padding-left: 28px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--t2);
}
.ticks li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent2);
  font-family: var(--font-mono);
}
.ticks strong { color: var(--t1); font-weight: 550; }

/* ── Pricing ────────────────────────────────────────────── */
.tier { display: flex; flex-direction: column; }
.tier--mid { border-color: var(--adim3); background: var(--surface); position: relative; }
.tier--mid::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-md);
  border: 1px solid var(--adim3);
  pointer-events: none;
}
.tier__name { display: block; margin-bottom: 10px; }
.tier__line { font-size: 15px; color: var(--t2); margin-bottom: 20px; line-height: 1.55; }
.tier__list { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; }
.tier__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--t2);
  line-height: 1.5;
}
.tier__list li::before {
  content: "\00b7";
  position: absolute;
  left: 6px;
  color: var(--accent2);
  font-weight: 700;
}
.tier .btn { margin-top: auto; align-self: flex-start; }

.note {
  margin-top: clamp(26px, 3vw, 36px);
  padding: clamp(18px, 2.2vw, 24px);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent2);
  border-radius: var(--radius-sm);
  background: var(--adim);
  font-size: 15px;
  line-height: 1.62;
  color: var(--t2);
}
.note strong { color: var(--t1); font-weight: 550; }

/* ── CTA band ───────────────────────────────────────────── */
.cta {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
}
.cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, var(--halo-jade), transparent 70%);
}
.cta__inner { position: relative; max-width: 660px; margin: 0 auto; }
.cta .type-lede { margin: 22px auto 36px; }
.cta__row { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: clamp(40px, 5vw, 56px) 0 clamp(28px, 3vw, 36px);
  background: var(--bg2);
}
.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.site-footer__tag { margin-top: 13px; max-width: 340px; }
.site-footer__links { display: flex; gap: clamp(18px, 3vw, 32px); flex-wrap: wrap; }
.site-footer__links a {
  font-size: 14.5px;
  color: var(--t2);
  text-decoration: none;
  transition: color 0.16s ease;
}
.site-footer__links a:hover { color: var(--accent2); }
.site-footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ── Legal pages ────────────────────────────────────────── */
.legal { padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 104px); }
.legal__inner { max-width: 760px; }
.legal__head { margin-bottom: clamp(36px, 4vw, 52px); }
.legal__head .type-mono-label { display: block; margin-bottom: 20px; }
.legal__updated { margin-top: 18px; }
.legal__updated time { color: var(--t2); font-family: var(--font-mono); }
.legal h2 {
  font-size: clamp(18px, 1.7vw, 21px);
  font-weight: 600;
  letter-spacing: -0.014em;
  margin: clamp(34px, 4vw, 46px) 0 13px;
  color: var(--t1);
}
.legal h2:first-of-type { margin-top: 0; }
.legal p {
  font-size: 16px;
  line-height: 1.72;
  color: var(--t2);
  margin-bottom: 15px;
}
.legal a { color: var(--accent2); text-decoration: none; border-bottom: 1px solid var(--adim3); }
.legal a:hover { border-bottom-color: var(--accent2); }
.legal__back { margin-top: clamp(44px, 5vw, 60px); padding-top: 28px; border-top: 1px solid var(--border); }

/* ── 404 ────────────────────────────────────────────────── */
.nf {
  min-height: 74vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px var(--gutter);
}
.nf .type-mono-label { margin-bottom: 20px; }
.nf__code {
  font-size: clamp(88px, 14vw, 168px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 600;
  margin-bottom: 18px;
}
.nf .type-body { max-width: 400px; margin: 0 auto 32px; }
.nf__row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ── Reveal-on-scroll ───────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    translate: 0 18px;
    transition: opacity 0.62s var(--ease-out-expo), translate 0.62s var(--ease-out-expo);
    transition-delay: calc(var(--i, 0) * 0.055s);
  }
  .reveal.is-in { opacity: 1; translate: 0 0; }
}

/* ── Responsive ─────────────────────────────────────────── */
/* Four columns get too narrow a measure below ~1180px — drop to two early. */
@media (max-width: 1180px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1000px) {
  .stack__row {
    grid-template-columns: 34px 1fr;
    row-gap: 8px;
  }
  .stack__row--head { display: none; }
  .stack__cadence { grid-column: 2; }
  .stack__why { grid-column: 2; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 68px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px var(--gutter) 22px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh2);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--border); }
  .nav .btn { margin-top: 14px; justify-content: center; }
  .nav-toggle { display: grid; margin-left: auto; }
  .site-header__inner > .icon-btn:not(.nav-toggle) { margin-left: 0; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr; }
  .cmp { font-size: 14.5px; }
  .cmp tbody th { width: 34%; }
}

@media (max-width: 560px) {
  .cmp thead { display: none; }
  .cmp tbody th, .cmp tbody td { display: block; width: 100%; border-bottom: 0; }
  .cmp tbody td { padding-top: 0; }
  .cmp tbody td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--t3);
    margin-bottom: 6px;
  }
  .cmp tbody tr { display: block; border-bottom: 1px solid var(--border); }
  .cmp tbody tr:last-child { border-bottom: 0; }
}

@media print {
  .site-header, .nav, .cta, .hero__bg, .cta__bg { display: none; }
  body { background: #fff; color: #000; }
}
