/* Neutrino — website styles
   Brand: #FF5757 (coral). Contrast-checked tokens; light + dark themes. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;

  /* brand */
  --brand: #ff5757;          /* logo coral — decorative / large surfaces */
  --action: #d93838;         /* buttons: white text 4.59:1 */
  --action-hover: #c92f2f;
  --on-action: #ffffff;
  --link: #c92f2f;           /* 5.09:1 on --bg */

  /* surfaces */
  --bg: #fff8f6;
  --surface: #ffffff;
  --surface-2: #fff0ed;
  --surface-inverse: #2a1a18;
  --border: #f1deda;
  --border-strong: #e6c9c3;

  /* text */
  --ink: #2a1a18;            /* 15.9:1 */
  --muted: #6b5b57;          /* 6.1:1 */
  --on-inverse: #fff8f6;
  --on-inverse-muted: #d9c9c5;

  /* macros (always paired with text labels) */
  --carbs: #b45309;
  --protein: #0f766e;
  --fat: #6d28d9;
  --carbs-soft: #fef3c7;
  --protein-soft: #ccfbf1;
  --fat-soft: #ede9fe;

  /* shape + depth */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(42 26 24 / 0.06);
  --shadow: 0 1px 2px rgb(42 26 24 / 0.04), 0 8px 24px -8px rgb(42 26 24 / 0.12);
  --shadow-lg: 0 2px 4px rgb(42 26 24 / 0.04), 0 24px 60px -16px rgb(217 56 56 / 0.28);

  /* spacing (8pt rhythm) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  /* type */
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 200ms;

  --container: 1120px;
  --header-h: 68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #ff5757;
    --action: #ff5757;       /* dark ink on coral 6.2:1 */
    --action-hover: #ff7070;
    --on-action: #1a0b0a;
    --link: #ff8a80;         /* 8.2:1 */

    --bg: #17110f;
    --surface: #211917;
    --surface-2: #2a201e;
    --surface-inverse: #fff0ed;
    --border: #3a2d2a;
    --border-strong: #4d3b37;

    --ink: #f6eeec;
    --muted: #b8a9a5;
    --on-inverse: #2a1a18;
    --on-inverse-muted: #6b5b57;

    --carbs: #fbbf24;
    --protein: #2dd4bf;
    --fat: #c4b5fd;
    --carbs-soft: rgb(251 191 36 / 0.14);
    --protein-soft: rgb(45 212 191 / 0.14);
    --fat-soft: rgb(196 181 253 / 0.14);

    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px -8px rgb(0 0 0 / 0.5);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / 0.3), 0 24px 60px -16px rgb(255 87 87 / 0.25);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; font-weight: 800; }
h3, h4 { font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgb(255 87 87 / 0.25); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-4); }
@media (min-width: 768px) { .container { padding-inline: var(--s-5); } }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--surface); color: var(--ink); padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-sm); box-shadow: var(--shadow); font-weight: 600;
}
.skip-link:focus { top: var(--s-3); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  border-radius: var(--radius-pill); border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 0.975rem; text-decoration: none; white-space: nowrap;
  cursor: pointer; touch-action: manipulation;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--action); color: var(--on-action); box-shadow: 0 6px 20px -8px rgb(217 56 56 / 0.6); }
.btn-primary:hover { background: var(--action-hover); text-decoration: none; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--ink); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); min-height: 44px; padding: 0 var(--s-4); }
.btn-ghost:hover { background: var(--surface-2); text-decoration: none; }
.btn-sm { min-height: 44px; padding: 0 var(--s-4); font-size: 0.925rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--s-4); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; min-height: 44px; }
.brand:hover { text-decoration: none; }
.brand-tile { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.brand-tile img { width: 26px; height: 26px; }
.nav { display: flex; align-items: center; gap: var(--s-1); }
.nav-links { display: none; gap: var(--s-1); }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 0.95rem; text-decoration: none; padding: 10px 14px; border-radius: var(--radius-pill); transition: color var(--dur), background-color var(--dur); }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--ink); }
@media (min-width: 860px) { .nav-links { display: flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: var(--s-6) 0 var(--s-5); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; z-index: -1;
  background: radial-gradient(closest-side, rgb(255 87 87 / 0.18), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-7); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--s-7); } .hero { padding: var(--s-8) 0 var(--s-6); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2); flex-wrap: wrap;
  font-size: 0.85rem; font-weight: 700; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 6px 14px 6px 8px; box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; color: #fff; }
.eyebrow .dot .icon { width: 13px; height: 13px; stroke-width: 3; }

.hero h1 { font-size: clamp(2.5rem, 5.4vw, 3.9rem); margin-top: var(--s-5); }
.hero h1 .accent { color: var(--brand); }
.hero h1 .stop { margin-left: -0.07em; }
.lede { font-size: clamp(1.075rem, 1.6vw, 1.225rem); color: var(--muted); margin-top: var(--s-5); max-width: 36em; }
.lede strong { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-note { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-5); color: var(--muted); font-size: 0.925rem; font-weight: 600; padding: 0; list-style: none; }
.hero-note li { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .icon { color: var(--brand); }

/* ---------- Phone mockup ---------- */
.phone-wrap { position: relative; display: grid; place-items: center; margin: 0; }
.phone {
  position: relative; width: min(330px, 86vw); aspect-ratio: 9 / 19;
  border-radius: 44px; padding: 12px; background: #1c1413;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #3a2d2a;
}
.screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; }
.screen-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 4px; font-weight: 700; font-size: 12px; color: var(--ink); }
.screen-status .notch { width: 84px; height: 22px; border-radius: 12px; background: #1c1413; }
.screen-top { display: flex; align-items: center; gap: 10px; padding: 8px 16px 10px; }
.screen-top .back { width: 30px; height: 30px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; box-shadow: var(--shadow-sm); color: var(--ink); }
.screen-top .back .icon { width: 16px; height: 16px; }
.screen-top strong { font-size: 15px; }
.meal-photo { margin: 0 14px; border-radius: 20px; height: 150px; position: relative; overflow: hidden; background: linear-gradient(135deg, #f7d9c4, #f2c3a7); }
.meal-photo > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.meal-chip {
  position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px;
  background: rgb(255 255 255 / 0.92); color: #2a1a18; font-weight: 700; font-size: 11.5px;
  border-radius: 999px; padding: 5px 10px 5px 7px;
}
.meal-chip .icon { width: 14px; height: 14px; color: #d93838; }
.totals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 14px 4px; }
.total { background: var(--surface); border-radius: 12px; padding: 8px 6px; text-align: center; box-shadow: var(--shadow-sm); }
.total b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }
.total span { font-size: 10px; color: var(--muted); font-weight: 600; }
.total.carbs b { color: var(--carbs); }
.total.protein b { color: var(--protein); }
.total.fat b { color: var(--fat); }
.items { list-style: none; margin: 8px 14px 0; padding: 0; display: grid; gap: 6px; }
.item { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 12px; padding: 9px 10px; box-shadow: var(--shadow-sm); }
.item .sw { width: 30px; height: 30px; border-radius: 9px; flex: none; }
.item div { flex: 1; min-width: 0; }
.item b { display: block; font-size: 12.5px; }
.item small { color: var(--muted); font-size: 11px; }
.item .g { font-weight: 700; font-size: 12px; color: var(--carbs); font-variant-numeric: tabular-nums; }
.screen-cta { margin: auto 14px 16px; background: var(--action); color: var(--on-action); border-radius: 999px; text-align: center; padding: 12px; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.screen-cta .icon { width: 16px; height: 16px; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 14px; box-shadow: var(--shadow); font-size: 0.85rem; font-weight: 600; max-width: 230px;
}
.float-card .badge { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-card small { display: block; color: var(--muted); font-weight: 500; font-size: 0.78rem; }
.float-a { top: 12%; left: -4%; }
.float-b { bottom: 22%; right: -6%; }
.float-a .badge { background: var(--protein-soft); color: var(--protein); }
.float-b .badge { background: var(--surface-2); color: var(--brand); }
@media (max-width: 1100px) { .float-a { left: 0; } .float-b { right: 0; } }
@media (max-width: 520px) { .float-card { display: none; } }
.mock-caption { text-align: center; color: var(--muted); font-size: 0.8rem; margin-top: var(--s-4); }

/* ---------- Sections ---------- */
.section { padding: var(--s-8) 0; }
@media (min-width: 960px) { .section { padding: var(--s-9) 0; } }
.section-head { max-width: 680px; margin-bottom: var(--s-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-top: var(--s-3); }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-top: var(--s-4); }

/* steps */
.steps { display: grid; gap: var(--s-4); list-style: none; padding: 0; margin: 0; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-5); box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: var(--s-5); right: var(--s-5);
  font-weight: 800; font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums;
}
.step .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--link); margin-bottom: var(--s-4); }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin-top: var(--s-2); font-size: 0.975rem; }

/* privacy band */
.privacy-band { background: var(--surface-inverse); color: var(--on-inverse); border-radius: 32px; padding: var(--s-7) var(--s-5); position: relative; overflow: hidden; }
@media (min-width: 768px) { .privacy-band { padding: var(--s-8); } }
.privacy-band::after {
  content: ""; position: absolute; right: -160px; bottom: -160px; width: 460px; height: 460px;
  background: radial-gradient(closest-side, rgb(255 87 87 / 0.35), transparent 70%); pointer-events: none;
}
.privacy-band .kicker { color: #ff8a80; }
@media (prefers-color-scheme: dark) { .privacy-band .kicker { color: #c92f2f; } }
.privacy-band .section-head p { color: var(--on-inverse-muted); }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); position: relative; z-index: 1; }
@media (min-width: 960px) { .privacy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
.checklist li { display: flex; gap: var(--s-3); align-items: flex-start; }
.checklist .tick { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; margin-top: 1px; }
.checklist .tick .icon { width: 16px; height: 16px; stroke-width: 3; }
.checklist b { display: block; }
.checklist span { color: var(--on-inverse-muted); font-size: 0.95rem; }

/* data-flow diagram */
.flow { display: grid; gap: var(--s-3); }
.flow-node {
  display: flex; align-items: center; gap: var(--s-3);
  background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: var(--radius); padding: var(--s-4);
}
@media (prefers-color-scheme: dark) { .flow-node { background: rgb(42 26 24 / 0.05); border-color: rgb(42 26 24 / 0.14); } }
.flow-node .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.flow-node b { display: block; }
.flow-node small { color: var(--on-inverse-muted); font-size: 0.875rem; }
.flow-node.phone-node { border-color: var(--brand); }
.flow-arrow { display: flex; align-items: center; gap: var(--s-2); color: var(--on-inverse-muted); font-size: 0.8rem; font-weight: 600; padding-left: 22px; }
.flow-arrow .icon { width: 16px; height: 16px; }
.flow-node.blocked { opacity: 0.9; border-style: dashed; }
.flow-node.blocked .ic { background: transparent; color: var(--on-inverse-muted); border: 1.5px dashed currentColor; }

/* features */
.features { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-5); transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.feature:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: var(--s-4); background: var(--surface-2); color: var(--link); }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--muted); margin-top: var(--s-2); font-size: 0.975rem; }
.feature.wide { grid-column: 1 / -1; display: grid; gap: var(--s-5); }
@media (min-width: 768px) { .feature.wide { grid-template-columns: auto 1fr auto; align-items: center; } .feature.wide .ic { margin: 0; } }

.pill-row { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); list-style: none; padding: 0; }
.pill { font-size: 0.8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink); border: 1px solid var(--border); }

/* about / purpose */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-items: start; }
@media (min-width: 960px) { .about-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s-8); } }
.about-copy p { color: var(--muted); font-size: 1.075rem; }
.about-copy p + p, .about-copy p + ul { margin-top: var(--s-4); }
.purpose-list { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; gap: var(--s-3); }
.purpose-list li { position: relative; padding-left: 28px; color: var(--muted); }
.purpose-list li b { color: var(--ink); }
.purpose-list li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand); box-shadow: inset 0 0 0 4px var(--surface-2);
}
.google-use { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-6) var(--s-5); box-shadow: var(--shadow); }
@media (min-width: 768px) { .google-use { padding: var(--s-6); } }
.google-use .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--link); margin-bottom: var(--s-4); }
.google-use h3 { font-size: 1.3rem; }
.google-use > p { color: var(--muted); margin-top: var(--s-3); }
.google-use code { font-size: 0.85em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.google-use .fine { font-size: 0.95rem; margin-top: var(--s-5); }

/* backup timeline */
.backup { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-items: center; }
@media (min-width: 960px) { .backup { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.backup-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-5); box-shadow: var(--shadow); }
.backup-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--border); }
.backup-row:last-child { border-bottom: 0; padding-bottom: 0; }
.backup-row:first-child { padding-top: 0; }
.backup-row .label { display: flex; align-items: center; gap: var(--s-3); font-weight: 600; }
.backup-row .label .icon { color: var(--link); }
.backup-row .label small { display: block; color: var(--muted); font-weight: 500; font-size: 0.85rem; }
.seg { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 3px; font-size: 0.8rem; font-weight: 700; }
.seg span { padding: 6px 10px; border-radius: 999px; color: var(--muted); }
.seg span.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.status-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 700; color: var(--protein); }
.status-ok .icon { width: 16px; height: 16px; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: var(--s-3); }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color var(--dur); }
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: var(--s-4) var(--s-5); min-height: 56px; font-weight: 700; font-size: 1.025rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform var(--dur) var(--ease-out); color: var(--muted); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 var(--s-5) var(--s-5); color: var(--muted); }
.faq .answer p + p { margin-top: var(--s-3); }

/* CTA band */
.cta-band { text-align: center; background: var(--brand); color: #fff; border-radius: 32px; padding: var(--s-8) var(--s-5); position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); color: #fff; }
.cta-band p { max-width: 560px; margin: var(--s-4) auto 0; font-size: 1.1rem; color: #2a1a18; font-weight: 500; }
.cta-band .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-6); }
.cta-band .btn-primary { background: #2a1a18; color: #fff; box-shadow: none; }
.cta-band .btn-primary:hover { background: #000; }
.cta-band .btn-secondary { background: rgb(255 255 255 / 0.92); color: #2a1a18; border-color: transparent; }
.cta-band .btn-secondary:hover { background: #fff; }
.cta-band .mark-bg { position: absolute; width: 360px; right: -80px; top: -60px; opacity: 0.14; pointer-events: none; }
.cta-band h2, .cta-band p, .cta-band .actions { position: relative; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: var(--s-7) 0 var(--s-6); margin-top: var(--s-8); }
.footer-grid { display: grid; gap: var(--s-6); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid p { color: var(--muted); margin-top: var(--s-3); max-width: 34em; font-size: 0.95rem; }
.footer-grid h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 800; }
.footer-grid ul { list-style: none; padding: 0; margin: var(--s-3) 0 0; display: grid; gap: var(--s-1); }
.footer-grid ul a { color: var(--ink); text-decoration: none; font-weight: 600; display: inline-block; padding: 6px 0; }
.footer-grid ul a:hover { color: var(--link); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--border); color: var(--muted); font-size: 0.875rem; }

/* ---------- Legal pages ---------- */
.legal-hero { padding: var(--s-7) 0 var(--s-5); }
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.25rem); margin-top: var(--s-3); }
.legal-hero .meta { color: var(--muted); margin-top: var(--s-3); font-weight: 600; }
.legal-layout { display: grid; gap: var(--s-6); padding-bottom: var(--s-6); }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 240px 1fr; gap: var(--s-8); } }
.toc { align-self: start; }
@media (min-width: 1024px) { .toc { position: sticky; top: calc(var(--header-h) + 24px); } }
.toc h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 800; }
.toc ol { list-style: none; padding: 0; margin: var(--s-3) 0 0; display: grid; gap: 2px; border-left: 2px solid var(--border); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.toc a:hover { color: var(--ink); border-left-color: var(--brand); }
@media (max-width: 1023px) {
  .toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s-4) var(--s-5); }
}
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin-top: var(--s-7); padding-top: var(--s-2); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.125rem; margin-top: var(--s-5); }
.prose p, .prose ul, .prose ol { margin-top: var(--s-4); color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: var(--s-2); }
.prose li::marker { color: var(--brand); }
.prose code { font-size: 0.9em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin-top: var(--s-4); font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: var(--s-3); border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { font-weight: 700; background: var(--surface-2); }
.callout {
  display: flex; gap: var(--s-3); background: var(--surface); border: 1px solid var(--border);
  border-left: 4px solid var(--brand); border-radius: var(--radius); padding: var(--s-4) var(--s-5); margin-top: var(--s-5);
}
.callout .icon { color: var(--link); margin-top: 2px; }
.callout p { margin: 0; }
.callout p + p { margin-top: var(--s-2); }

/* 404 */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: var(--s-8) 0; }
.not-found .big { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--brand); line-height: 1; letter-spacing: -0.04em; }
.not-found p { color: var(--muted); margin-top: var(--s-3); }
.not-found .btn { margin-top: var(--s-6); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
