/* =========================================================================
   COOKED — endurance coaching & fueling · marketing site (cooked theme v4)
   Bone + burnt orange, matched to the app's approved "cooked" scheme:
   bg #E4E2DB · surface #EFEDE6 · inset #DAD7CD · ink #141210
   Action = cookedOrange #D8492B (text-on-bone uses #B53C20 for AA).
   CTAs: ink fill, bone text, orange accent glyph. Fraunces + Inter.
   ========================================================================= */

:root {
  /* ACTION — cookedOrange fills the brand role in this theme */
  --action: #D8492B;
  --action-deep: #AC3418;      /* AA text-orange on bone (5.5:1 surface, 4.97:1 bg) */
  --action-hi: #E8734F;
  --bone: #F7F5EE;             /* text/ring on orange & ink */
  --heat: #D8492B;             /* legacy aliases */
  --heat-hi: #AC3418;
  --heat-lo: #93301A;
  --heat-well: rgba(216, 73, 43, 0.08);
  --on-heat: #F7F5EE;
  --ember: linear-gradient(135deg, #E8734F 0%, #D8492B 45%, #B53C20 100%);
  --ember-soft: linear-gradient(135deg, #E2542F, #B53C20);

  /* Data accents — warm-light equivalents (AA on bone) */
  --brand: #1A6875;      /* fluid / teal role (5.46:1 on surface) */
  --perf: #6B4BC7;       /* performance violet */
  --berry: #A83250;      /* sodium / alerts */
  --lime: #446B33;       /* protein / ok (5.28:1 on surface) */
  --ok: #1E7D5C;
  --warn: #8A5F10;
  --over: #B4372A;

  /* Macro colors */
  --carbs: #8A5F10;      /* energy amber (4.81:1 on surface) */
  --protein: #446B33;
  --fat: #857E72;

  /* Bone-paper surfaces */
  --bg: #E4E2DB;
  --bg-2: #DAD7CD;
  --surface: #EFEDE6;
  --surface-2: #EAE7DE;
  --inset: #DAD7CD;
  --line: rgba(20, 18, 16, 0.12);
  --line-soft: rgba(20, 18, 16, 0.08);

  /* Text */
  --ink: #141210;
  --ink-mid: rgba(20, 18, 16, 0.62);
  --ink-low: rgba(20, 18, 16, 0.45);

  /* System */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --shadow: 0 26px 54px -26px rgba(20, 18, 16, 0.38);
  --shadow-soft: 0 12px 30px -18px rgba(20, 18, 16, 0.28);
  --shadow-heat: 0 16px 38px -14px rgba(216, 73, 43, 0.35);
  --edge-hi: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Warm ambient wash */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1000px 560px at 82% -10%, rgba(216, 73, 43, 0.08), transparent 60%),
    radial-gradient(760px 520px at -12% 12%, rgba(31, 122, 138, 0.05), transparent 55%),
    radial-gradient(700px 700px at 50% 120%, rgba(107, 75, 199, 0.05), transparent 60%);
}

/* Paper grain */
body::after {
  content: "";
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: multiply;
}

::selection { background: rgba(216, 73, 43, 0.25); color: var(--ink); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #B9B4A6; border-radius: 8px; border: 3px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: #A39D8D; }

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typography ---------- */
.overline {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 700; color: var(--action-deep);
  display: inline-flex; align-items: center; gap: 10px;
}
.overline::before { content: ""; width: 26px; height: 2px; background: var(--ember); border-radius: 2px; }
.overline.teal { color: var(--brand); }
.overline.teal::before { background: var(--brand); }
.overline.violet { color: var(--perf); }
.overline.violet::before { background: var(--perf); }
.overline.center-line { justify-content: center; }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.04; letter-spacing: -0.018em; color: var(--ink); }
.type-hero { font-size: clamp(2.9rem, 6.8vw, 5.5rem); }
.type-display { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.type-section { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.lede { font-size: clamp(1.06rem, 1.6vw, 1.32rem); color: var(--ink-mid); font-weight: 400; }
.muted { color: var(--ink-mid); }
.mono-num { font-variant-numeric: tabular-nums; }
.heat-text {
  background: var(--ember); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.type-hero .heat-text, .type-display .heat-text { font-style: italic; font-weight: 500; padding-right: 0.06em; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(228, 226, 219, 0.8);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(216,73,43,0.35) 30%, rgba(216,73,43,0.35) 70%, transparent) 1;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.nav.scrolled { background: rgba(232, 230, 223, 0.94); box-shadow: 0 14px 40px -22px rgba(20, 18, 16, 0.4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; }
/* Official lockup: heavy lowercase sans, square period, cookedOrange */
.brand .word {
  color: var(--action); font-family: var(--font-sans); font-weight: 800;
  letter-spacing: -0.045em; font-size: 1.5rem; text-transform: lowercase; line-height: 1;
  transition: color 0.15s ease;
}
.brand:hover .word { color: var(--action-deep); }
.wdot {
  display: inline-block; width: 0.17em; height: 0.17em; margin-left: 0.1em;
  background: var(--action); font-size: inherit; overflow: hidden; color: transparent;
}
.brand:hover .wdot { background: var(--action-deep); }
.tagline {
  font-family: var(--font-sans); font-weight: 800; font-style: italic;
  font-size: 0.66rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--action-deep); margin-top: 6px;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { position: relative; color: var(--ink-mid); font-size: 0.94rem; font-weight: 500; transition: color 0.15s; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--ember); border-radius: 2px; transition: right 0.22s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--action-deep); }
.nav-cta { display: inline-flex; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 0.98rem;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s, border-color 0.15s, color 0.15s;
}
.btn svg { width: 18px; height: 18px; }
/* CTA: ink fill · bone text · orange accent glyph */
.btn-primary { color: var(--bone); background: #141210; box-shadow: 0 16px 36px -14px rgba(20, 18, 16, 0.55), inset 0 1px 0 rgba(255,255,255,0.12); }
.btn-primary svg { stroke: var(--action-hi); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg); transition: left 0.45s ease; pointer-events: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -14px rgba(20, 18, 16, 0.6), inset 0 1px 0 rgba(255,255,255,0.12); }
.btn-primary:hover::after { left: 125%; }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { color: var(--ink); background: rgba(255,255,255,0.35); border-color: rgba(20, 18, 16, 0.25); }
.btn-ghost:hover { border-color: var(--action); color: var(--action-deep); background: rgba(216,73,43,0.06); transform: translateY(-1px); }
.btn-sm { padding: 9px 17px; font-size: 0.88rem; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* ---------- Sections ---------- */
section { padding: clamp(66px, 9vw, 128px) 0; }
.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head .lede { margin-top: 16px; }
.section-head .overline { margin-bottom: 14px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center.section-head { margin-left: auto; margin-right: auto; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(5px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1), filter 0.8s ease; }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal.d1 { transition-delay: 0.09s; }
.reveal.d2 { transition-delay: 0.18s; }
.reveal.d3 { transition-delay: 0.27s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; filter: none; transition: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(52px, 7vw, 96px); padding-bottom: clamp(52px, 7vw, 92px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.hero h1 { margin: 20px 0 22px; }
.hero .lede { max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero-meta .stat { position: relative; padding-left: 16px; }
.hero-meta .stat::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--ember); }
.hero-meta .stat b { font-family: var(--font-heading); font-size: 1.9rem; color: var(--ink); display: block; }
.hero-meta .stat span { font-size: 0.82rem; color: var(--ink-low); }

/* ---------- Ticker / marquee ---------- */
.ticker {
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background: var(--inset); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track { display: flex; gap: 44px; padding: 16px 0; white-space: nowrap; width: max-content; animation: scroll-x 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { color: var(--ink-mid); font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 44px; }
.ticker-track span::after { content: "·"; color: var(--action); }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Phone mockup (cooked-theme app screens) ---------- */
.phone {
  position: relative; width: 300px; max-width: 100%; margin: 0 auto; aspect-ratio: 300 / 620;
  border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #3a332b 0%, #191512 100%);
  border: 1px solid #4c4338; box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.14);
  animation: float 7s ease-in-out infinite;
}
.phone::after {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -40px; height: 70px; z-index: -1;
  background: radial-gradient(50% 100% at 50% 0%, rgba(216, 73, 43, 0.3), transparent 70%);
  filter: blur(20px);
}
.phone.tilt { animation-name: float-tilt; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float-tilt { 0%, 100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .phone { animation: none; } }
.phone-screen { width: 100%; height: 100%; border-radius: 33px; overflow: hidden;
  background: linear-gradient(180deg, #F1EFE8 0%, #E4E2DB 100%); border: 1px solid #D2CEC1;
  position: relative; display: flex; flex-direction: column; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 112px; height: 22px; background: #141210; border-radius: 0 0 14px 14px; z-index: 3; }
.scr-top { padding: 36px 18px 10px; }
.scr-eyebrow { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--action-deep); font-weight: 800; }
.scr-title { font-family: var(--font-heading); font-size: 1.34rem; margin-top: 3px; color: var(--ink); }
.scr-sub { font-size: 0.72rem; color: var(--ink-low); margin-top: 3px; }
.scr-body { padding: 6px 16px 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }

.fuel-card { background: #F7F5EE; border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: 0 2px 8px -4px rgba(20,18,16,0.15); }
.fuel-card .fc-label { font-size: 0.62rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-low); font-weight: 800; }
.fuel-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; }
.fuel-row + .fuel-row { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.fuel-row .fr-name { font-size: 0.82rem; color: var(--ink-mid); display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.fuel-row .fr-val { font-family: var(--font-heading); font-size: 1.18rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.fuel-row .fr-val small { font-size: 0.6rem; color: var(--ink-low); font-family: var(--font-sans); margin-left: 3px; }

.rings { display: flex; gap: 12px; justify-content: space-around; padding: 4px 2px; }
.ring { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ring svg { width: 58px; height: 58px; }
.ring .rl { font-size: 0.6rem; color: var(--ink-low); text-transform: uppercase; letter-spacing: 0.08em; }

.chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 0.66rem; padding: 5px 11px; border-radius: 999px; background: rgba(216,73,43,0.07); color: var(--action-deep); font-weight: 700; border: 1px solid rgba(216,73,43,0.4); }
.chip.teal { background: rgba(31,122,138,0.07); color: var(--brand); border-color: rgba(31,122,138,0.4); }
.chip.violet { background: rgba(107,75,199,0.07); color: var(--perf); border-color: rgba(107,75,199,0.4); }

.scr-note { font-size: 0.66rem; color: var(--ink-low); display: flex; align-items: center; gap: 6px; }
.scr-note svg { width: 12px; height: 12px; }

.tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 6px 16px; border-top: 1px solid var(--line-soft); background: #EAE7DE; }
.tabbar .tb { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 0.54rem; color: var(--ink-low); letter-spacing: 0.03em; }
.tabbar .tb svg { width: 18px; height: 18px; }
.tabbar .tb.on { color: var(--action-deep); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--edge-hi), 0 2px 10px -6px rgba(20,18,16,0.18);
  transition: transform 0.22s cubic-bezier(.2,.7,.2,1), border-color 0.22s ease, box-shadow 0.22s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(216, 73, 43, 0.07), transparent 60%);
  opacity: 0; transition: opacity 0.3s ease;
}
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-6px); border-color: rgba(216,73,43,0.5); box-shadow: var(--shadow-soft), var(--edge-hi); }
.card.teal:hover { border-color: rgba(31,122,138,0.5); }
.card.teal::before { background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(31,122,138,0.07), transparent 60%); }
.card.violet:hover { border-color: rgba(107,75,199,0.5); }
.card.violet::before { background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(107,75,199,0.06), transparent 60%); }
.card .ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(216,73,43,0.09); border: 1px solid rgba(216,73,43,0.3);
  transition: transform 0.22s cubic-bezier(.2,.7,.2,1); }
.card:hover .ic { transform: scale(1.07) rotate(-3deg); }
.card .ic svg { width: 24px; height: 24px; stroke: var(--action-deep); }
.card.teal .ic { background: rgba(31,122,138,0.09); border-color: rgba(31,122,138,0.3); }
.card.teal .ic svg { stroke: var(--brand); }
.card.violet .ic { background: rgba(107,75,199,0.09); border-color: rgba(107,75,199,0.3); }
.card.violet .ic svg { stroke: var(--perf); }
.card.berry .ic { background: rgba(168,50,80,0.09); border-color: rgba(168,50,80,0.3); }
.card.berry .ic svg { stroke: var(--berry); }
.card h3 { font-size: 1.26rem; margin-bottom: 8px; }
.card p { color: var(--ink-mid); font-size: 0.96rem; }
.card .tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; }

/* pillar card (bigger, for home) */
.pillar::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at 100% 0%, rgba(216,73,43,0.05), transparent 60%); pointer-events: none; }
.pillar .kicker { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--action-deep); font-weight: 700; }

/* ---------- Split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.split.rev .split-media { order: -1; }
.feature-list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 15px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-mid); }
.feature-list li svg { width: 20px; height: 20px; stroke: var(--action-deep); flex-shrink: 0; margin-top: 2px;
  background: rgba(216,73,43,0.08); border-radius: 50%; padding: 3px; border: 1px solid rgba(216,73,43,0.32); }
.feature-list li b { color: var(--ink); font-weight: 600; }

/* ---------- Panels / mock UI ---------- */
.panel {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px;
  box-shadow: var(--shadow-soft), var(--edge-hi);
}
.panel.glow { box-shadow: var(--shadow-soft), var(--edge-hi), 0 0 0 1px rgba(216,73,43,0.15), 0 24px 54px -26px rgba(216,73,43,0.35); }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.panel-head .ph-title { font-family: var(--font-heading); font-size: 1.12rem; color: var(--ink); }
.panel-head .ph-tag { font-size: 0.68rem; color: var(--ink-mid); text-transform: uppercase; letter-spacing: 0.1em;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; background: var(--inset); }

/* Charts sit on bone paper — grid lines are ink at 8% */
.bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; padding-top: 8px;
  background-image: repeating-linear-gradient(180deg, rgba(20,18,16,0.08) 0 1px, transparent 1px 34px); }
.bars .bar { flex: 1; border-radius: 6px 6px 0 0; background: var(--ember); opacity: 0.95;
  transform-origin: bottom; transition: transform 0.3s ease, opacity 0.3s ease; }
.panel:hover .bars .bar { opacity: 1; }
.bars .bar:hover { transform: scaleY(1.04); }
.bars .bar.teal { background: linear-gradient(180deg, #2A8FA1, #17606E); }
.bars .bar.violet { background: linear-gradient(180deg, #7B5CD6, #53389E); }
.legend { display: flex; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.legend span { font-size: 0.74rem; color: var(--ink-mid); display: flex; align-items: center; gap: 7px; }

/* line chart svg */
.linechart { width: 100%; height: auto; display: block; }

.statstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.statstrip .cell { background: var(--surface); padding: 24px; transition: background 0.2s ease; }
.statstrip .cell:hover { background: #F4F2EB; }
.statstrip .cell b { font-family: var(--font-heading); font-size: clamp(1.7rem, 3.2vw, 2.6rem); display: block; color: var(--ink); }
.statstrip .cell span { font-size: 0.8rem; color: var(--ink-mid); }
.statstrip .cell .u { color: var(--action-deep); font-size: 1rem; }

/* ---------- CTA band — the solid-orange hero-card moment ---------- */
.cta-band { position: relative; overflow: hidden;
  background:
    radial-gradient(700px 340px at 20% 0%, rgba(255, 255, 255, 0.12), transparent 60%),
    radial-gradient(520px 320px at 92% 110%, rgba(20, 18, 16, 0.18), transparent 65%),
    #D8492B;
  border: 1px solid #B53C20; border-radius: var(--radius-xl);
  padding: clamp(42px, 6vw, 72px); text-align: center;
  box-shadow: 0 30px 64px -28px rgba(216, 73, 43, 0.55), inset 0 1px 0 rgba(255,255,255,0.25);
}
.cta-band h2, .cta-band .pull, .cta-band h3 { color: var(--bone); }
.cta-band .lede { color: rgba(255, 247, 240, 0.88); }
.cta-band .overline { color: #FFDACB; }
.cta-band .overline::before { background: var(--bone); }
.cta-band .tag, .cta-band .tag.hot { border-color: rgba(247, 245, 238, 0.55); color: #FFF3EB; background: rgba(255, 255, 255, 0.08); }
.cta-band .tag:hover { border-color: var(--bone); color: var(--bone); }
.cta-band .btn-ghost { border-color: rgba(247, 245, 238, 0.6); color: var(--bone); background: rgba(255,255,255,0.08); }
.cta-band .btn-ghost:hover { border-color: var(--bone); color: var(--bone); background: rgba(255,255,255,0.16); }
.cta-band h2 { margin-bottom: 14px; }
.cta-band .lede { max-width: 54ch; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--edge-hi), 0 2px 10px -6px rgba(20,18,16,0.15);
  transition: transform 0.22s cubic-bezier(.2,.7,.2,1), border-color 0.22s ease; }
.step:hover { transform: translateY(-4px); border-color: rgba(216,73,43,0.45); }
.step .num { font-family: var(--font-heading); font-size: 3rem; line-height: 1; font-style: italic; }
.step .num.heat-text { display: inline-block; }
.step h3 { font-size: 1.18rem; margin: 12px 0 8px; }
.step p { color: var(--ink-mid); font-size: 0.95rem; }

/* ---------- Pull quote / tags ---------- */
.pull { font-family: var(--font-heading); font-size: clamp(1.5rem, 2.8vw, 2.15rem); line-height: 1.32; color: var(--ink); max-width: 26ch; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tag { font-size: 0.8rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-mid); background: var(--surface);
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease; }
.tag:hover { border-color: rgba(216,73,43,0.5); color: var(--action-deep); transform: translateY(-1px); }
.tag.hot { border-color: rgba(216,73,43,0.45); color: var(--action-deep); background: rgba(216,73,43,0.06); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 4px; transition: background 0.2s ease; }
.faq details:hover { background: rgba(20, 18, 16, 0.02); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.06rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--action-deep); font-size: 1.5rem; font-weight: 300; transition: transform 0.25s ease; }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq p { color: var(--ink-mid); margin-top: 12px; max-width: 70ch; }

/* ---------- Form ---------- */
.form { display: flex; gap: 12px; max-width: 500px; }
.form input { flex: 1; padding: 15px 18px; border-radius: 999px; background: #F7F5EE; border: 1px solid var(--line); color: var(--ink); font-size: 0.96rem; font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.form input::placeholder { color: var(--ink-low); }
.form input:focus { outline: none; border-color: var(--action); box-shadow: 0 0 0 4px rgba(216, 73, 43, 0.14); }
.form-note { font-size: 0.8rem; color: var(--ink-mid); margin-top: 12px; }

/* ---------- Model explainer ---------- */
.models { display: flex; flex-direction: column; gap: 20px; }
.model {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--edge-hi), 0 2px 10px -6px rgba(20,18,16,0.15);
  transition: border-color 0.22s ease, transform 0.22s ease;
}
.model::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--ember); transform: scaleY(0); transform-origin: top; transition: transform 0.3s cubic-bezier(.2,.7,.2,1); }
.model:hover { border-color: rgba(216,73,43,0.45); transform: translateX(4px); }
.model:hover::before { transform: scaleY(1); }
.model-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.model-head .mnum { font-family: var(--font-heading); font-size: 2.4rem; line-height: 1; font-style: italic; }
.model-head h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.model-head .mtag { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-mid); background: var(--inset); margin-left: auto; }
.model-head .mtag.fuel { color: var(--action-deep); border-color: rgba(216,73,43,0.45); background: rgba(216,73,43,0.06); }
.model-head .mtag.power { color: var(--brand); border-color: rgba(31,122,138,0.45); background: rgba(31,122,138,0.06); }
.model-head .mtag.load { color: var(--perf); border-color: rgba(107,75,199,0.45); background: rgba(107,75,199,0.06); }
.model-def { color: var(--ink); font-size: clamp(1.02rem, 1.5vw, 1.18rem); margin-top: 12px; max-width: 76ch; }
/* v2 model layout: visual + two short columns */
.model-body { display: grid; grid-template-columns: 0.95fr 1.35fr; gap: clamp(18px, 3vw, 36px); margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); align-items: center; }
.model-body .mock { margin: 0; }
.model-side { display: flex; flex-direction: column; gap: 14px; }
.mside .mslab { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--action-deep); display: block; margin-bottom: 3px; }
.mside p { color: var(--ink-mid); font-size: 0.93rem; }
.mside b { color: var(--ink); font-weight: 600; }
@media (max-width: 820px) { .model-body { grid-template-columns: 1fr; } }

/* segmented bar + range scale (science visuals) */
.seg { display: flex; height: 16px; border-radius: 999px; overflow: hidden; margin: 8px 0 6px; background: var(--inset); }
.seg i { height: 100%; }
.seg-lab { display: flex; justify-content: space-between; font-size: 0.64rem; color: var(--ink-low); }
.scale { position: relative; height: 10px; border-radius: 999px; margin: 16px 2px 10px; background: linear-gradient(90deg, #1A6875, #8A5F10, #B4372A); }
.scale i { position: absolute; top: 50%; width: 15px; height: 15px; border-radius: 50%; background: #F7F5EE; border: 3.5px solid var(--action); transform: translate(-50%, -50%); box-shadow: 0 1px 4px rgba(20,18,16,0.3); }
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.model-col .mlabel { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--action-deep); display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.model-col .mlabel svg { width: 15px; height: 15px; stroke: var(--action-deep); }
.model-col p { color: var(--ink-mid); font-size: 0.94rem; }
.model-col b { color: var(--ink); font-weight: 600; }
@media (max-width: 820px) { .model-grid { grid-template-columns: 1fr; gap: 18px; } .model:hover { transform: none; } }

/* ---------- Legal prose ---------- */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 14px 0 10px; }
.legal .updated { font-size: 0.82rem; color: var(--ink-low); margin-bottom: 36px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-mid); font-size: 0.98rem; }
.legal ul { margin: 10px 0 10px 22px; display: flex; flex-direction: column; gap: 8px; }
.legal a { color: var(--action-deep); font-weight: 600; }
.legal .callout { background: var(--surface); border: 1px solid rgba(216,73,43,0.35); border-left: 3px solid var(--action); border-radius: 12px; padding: 16px 18px; margin: 18px 0; }
.legal .callout p { color: var(--ink); }

/* ---------- Disclaimer ---------- */
.disclaimer { font-size: 0.8rem; color: var(--ink-mid); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }

/* ---------- Footer ---------- */
.footer { position: relative; border-top: 1px solid var(--line); padding: 60px 0 40px; margin-top: 44px; background: var(--inset); }
.footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216,73,43,0.55), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-low); margin-bottom: 14px; font-family: var(--font-sans); font-weight: 700; }
.footer a { display: block; color: var(--ink-mid); font-size: 0.92rem; padding: 5px 0; transition: color 0.15s ease, transform 0.15s ease; }
.footer a:hover { color: var(--action-deep); transform: translateX(3px); }
.footer .fbrand a:hover { transform: none; }
.footer .fbrand p { color: var(--ink-mid); font-size: 0.9rem; margin-top: 14px; max-width: 36ch; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; gap: 12px; }
.footer-bottom span { font-size: 0.84rem; color: var(--ink-mid); }

/* ---------- Demo scenes (mockups that play like video) ---------- */
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { 0% { opacity: 0; transform: scale(0.85); } 70% { transform: scale(1.04); } 100% { opacity: 1; transform: scale(1); } }
@keyframes grow-up { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ring-fill { from { stroke-dasharray: 0 94; } }
@keyframes dot-blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
@keyframes soft-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes draw-line { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }

/* Everything inside a mockup starts hidden, plays when scrolled into view (JS on only) */
.js .phone-screen .scr-body > * { opacity: 0; }
.phone-screen.play .scr-body > * { animation: rise-in 0.55s cubic-bezier(.2,.7,.2,1) forwards; }
.phone-screen.play .scr-body > *:nth-child(1) { animation-delay: 0.25s; }
.phone-screen.play .scr-body > *:nth-child(2) { animation-delay: 0.55s; }
.phone-screen.play .scr-body > *:nth-child(3) { animation-delay: 0.85s; }
.phone-screen.play .scr-body > *:nth-child(4) { animation-delay: 1.15s; }
.phone-screen.play .chip { opacity: 0; animation: pop-in 0.4s cubic-bezier(.2,.7,.2,1) forwards; }
.phone-screen.play .chip:nth-child(1) { animation-delay: 1.05s; }
.phone-screen.play .chip:nth-child(2) { animation-delay: 1.2s; }
.phone-screen.play .chip:nth-child(3) { animation-delay: 1.35s; }
.phone-screen.play .ring svg circle:nth-child(2) { animation: ring-fill 1.2s cubic-bezier(.2,.7,.2,1) 0.5s backwards; }
.phone-screen.play .scr-note svg { animation: soft-pulse 2.2s ease-in-out 2s infinite; }

/* Panels: chart bars grow, chart lines draw (JS on only) */
.js .panel .bars .bar { transform: scaleY(0); }
.panel.play .bars .bar { animation: grow-up 0.7s cubic-bezier(.2,.7,.2,1) forwards; }
.panel.play .bars .bar:nth-child(1) { animation-delay: 0.1s; }
.panel.play .bars .bar:nth-child(2) { animation-delay: 0.2s; }
.panel.play .bars .bar:nth-child(3) { animation-delay: 0.3s; }
.panel.play .bars .bar:nth-child(4) { animation-delay: 0.4s; }
.panel.play .bars .bar:nth-child(5) { animation-delay: 0.5s; }
.panel.play .bars .bar:nth-child(6) { animation-delay: 0.6s; }
.panel.play .bars .bar:nth-child(7) { animation-delay: 0.7s; }
.js .panel .linechart polyline[stroke] { stroke-dasharray: 900; stroke-dashoffset: 900; }
.panel.play .linechart polyline[stroke] { animation: draw-line 1.6s ease-out 0.2s forwards; }
.panel.play .linechart polyline[stroke]:nth-of-type(2) { animation-delay: 0.6s; }

/* Coach typing indicator */
.typing { display: inline-flex; gap: 5px; align-items: center; background: #F7F5EE; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; width: max-content; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--perf); animation: dot-blink 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.2s; }
.typing i:nth-child(3) { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .phone-screen .scr-body > *, .phone-screen.play .chip { opacity: 1; animation: none; }
  .panel .bars .bar { transform: none; animation: none !important; }
  .panel .linechart polyline[stroke] { stroke-dasharray: none; stroke-dashoffset: 0; animation: none !important; }
  .typing i, .phone-screen.play .scr-note svg, .phone-screen.play .ring svg circle:nth-child(2) { animation: none; }
}

/* ---------- Mock app UI bits (feature cards show the product) ---------- */
.mock { background: #F7F5EE; border: 1px solid var(--line-soft); border-radius: 16px; padding: 14px 16px; margin: 2px 0 18px;
  font-size: 0.78rem; text-align: left; box-shadow: 0 1px 4px -3px rgba(20,18,16,0.15); }
.mock .mrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; }
.mock .mrow:first-child { padding-top: 0; }
.mock .mrow:last-child { padding-bottom: 0; }
.mock .mrow + .mrow, .mock .mhead + .mrow { border-top: 1px solid var(--line-soft); }
.mock .mhead + .mrow { border-top: 0; }
.mock .mlab { color: var(--ink-mid); font-size: 0.74rem; }
.mock .mval { font-family: var(--font-heading); color: var(--ink); font-size: 0.98rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mock .mhead { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-low); font-weight: 800; margin-bottom: 8px; }
.mock .chip { font-size: 0.6rem; padding: 4px 9px; letter-spacing: 0.01em; }
.mock .chip-row { gap: 5px; }
.card h3 { margin-bottom: 6px; }

/* push notification */
.push { display: flex; gap: 10px; align-items: flex-start; }
.push .picon { width: 26px; height: 26px; border-radius: 7px; background: var(--action); color: #FFF3EB; display: grid; place-items: center; flex-shrink: 0; font-weight: 800; font-size: 0.72rem; font-family: var(--font-sans); }
.push b { display: block; font-size: 0.76rem; color: var(--ink); }
.push span { font-size: 0.72rem; color: var(--ink-mid); line-height: 1.45; display: block; }

/* chat bubbles */
.msg { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px 12px 12px 4px; padding: 8px 11px; color: var(--ink); font-size: 0.75rem; line-height: 1.5; margin-bottom: 7px; }
.msg.user { border-radius: 12px 12px 4px 12px; border-color: rgba(216,73,43,0.4); color: var(--action-deep); background: rgba(216,73,43,0.05); margin-left: 26px; }

/* plan diff + approve row */
.diff { display: flex; align-items: center; gap: 7px; font-size: 0.74rem; color: var(--ink-mid); padding: 4px 0; flex-wrap: wrap; }
.diff s { color: var(--ink-low); }
.diff .arr { color: var(--action-deep); font-weight: 700; }
.diff b { color: var(--ink); font-weight: 600; }
.approve { display: flex; gap: 7px; margin-top: 9px; }
.chip.solid { background: var(--action); color: #FFF3EB; border-color: var(--action); }

/* fuel gauge */
.gauge { position: relative; height: 12px; border-radius: 999px; background: var(--inset); overflow: hidden; margin: 9px 0 7px; }
.gauge i { position: absolute; top: 0; bottom: 0; left: 0; width: 64%; border-radius: inherit; background: var(--ember); }
.gauge.low i { width: 22%; background: linear-gradient(90deg, #B4372A, #8A5F10); }

/* timeline */
.tl { list-style: none; font-size: 0.74rem; margin: 0; }
.tl li { display: flex; gap: 9px; align-items: baseline; padding: 4px 0; color: var(--ink-mid); }
.tl li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--action); flex-shrink: 0; align-self: center; }
.tl li b { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 600; min-width: 46px; }

/* checklist */
.cl { list-style: none; font-size: 0.75rem; margin: 0; }
.cl li { display: flex; gap: 9px; align-items: center; padding: 4px 0; color: var(--ink-mid); }
.cl .box { width: 13px; height: 13px; border-radius: 4px; border: 1.5px solid rgba(20,18,16,0.3); flex-shrink: 0; }
.cl li.done .box { background: var(--ok); border-color: var(--ok); }
.cl li.done { text-decoration: line-through; color: var(--ink-low); }

/* streak + voice wave */
.streak-big { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-heading); font-size: 1.5rem; color: var(--ink); padding: 6px 0; }
.streak-big svg { width: 26px; height: 26px; stroke: var(--action); }
.streak-big small { font-family: var(--font-sans); font-size: 0.7rem; color: var(--ink-mid); }
.wave { display: flex; gap: 3px; align-items: center; justify-content: center; height: 30px; padding: 4px 0; }
.wave i { width: 3px; height: 12px; border-radius: 2px; background: var(--action); animation: wave-b 1.1s ease-in-out infinite; }
.wave i:nth-child(2n) { height: 22px; animation-delay: 0.15s; }
.wave i:nth-child(3n) { height: 17px; animation-delay: 0.3s; }
.wave i:nth-child(4n) { height: 26px; animation-delay: 0.45s; }
@keyframes wave-b { 0%, 100% { transform: scaleY(0.55); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .wave i { animation: none; } }

/* settings toggles */
.switch { width: 30px; height: 18px; border-radius: 999px; background: var(--ok); position: relative; flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.switch.off { background: #C9C5B8; }
.switch.off::after { right: auto; left: 2px; }

/* small charts in cards */
.bars.mini { height: 64px; gap: 5px; padding-top: 4px; }
.spark { width: 100%; height: 54px; display: block; }

/* W-prime battery */
.gauge.w i { width: 38%; background: linear-gradient(90deg, #53389E, #6B4BC7); }

/* barcode + camera viewfinder + typing caret (Log it fast) */
.barcode { height: 40px; border-radius: 6px; margin: 6px 0;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 9px, transparent 9px 11px, var(--ink) 11px 12px, transparent 12px 16px); }
.vf { position: relative; height: 58px; border-radius: 10px; background: var(--inset); margin: 6px 0; }
.vf::before { content: ""; position: absolute; top: 6px; left: 6px; width: 14px; height: 14px; border-top: 2.5px solid var(--action); border-left: 2.5px solid var(--action); border-radius: 3px 0 0 0; }
.vf::after { content: ""; position: absolute; bottom: 6px; right: 6px; width: 14px; height: 14px; border-bottom: 2.5px solid var(--action); border-right: 2.5px solid var(--action); border-radius: 0 0 3px 0; }
.vf i { position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--action); animation: soft-pulse 1.8s ease-in-out infinite; }
.caret::after { content: "|"; color: var(--action); animation: caret-blink 1s step-end infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vf i, .caret::after { animation: none; } }
.grade { font-family: var(--font-heading); font-style: italic; font-size: 1.9rem; color: var(--action-deep); line-height: 1; }
.theme-dots { display: flex; gap: 8px; justify-content: flex-start; padding: 4px 0; }
.theme-dots span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); }
.theme-dots .t-dark { background: #10141c; }
.theme-dots .t-light { background: #ffffff; }
.theme-dots .t-cooked { background: linear-gradient(135deg, #E4E2DB 50%, #D8492B 50%); border-color: var(--action); }

/* ---------- Mobile nav drawer ---------- */
.mobile-menu { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { max-width: none; margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-meta .stat { padding-left: 0; }
  .hero-meta .stat::before { display: none; }
  .phone { margin-top: 22px; }
  .phone.tilt { animation-name: float; }
  .split { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .statstrip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(232, 230, 223, 0.98); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line); padding: 8px 0; transform: translateY(-140%); transition: transform 0.28s cubic-bezier(.2,.7,.2,1); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px var(--gutter); width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .statstrip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form { flex-direction: column; }
}
