/* 10 Squats a Day — Web App. Monochrome, minimal, utility-first. */

:root {
  /* Palette — monochrome per brand guide */
  --bg: #FFFFFF;
  --bg-soft: #F6F6F4;
  --bg-raised: #FFFFFF;
  --ink: #0B0B0C;
  --ink-soft: #2B2D31;
  --muted: #6B6E75;
  --muted-2: #9AA0A6;
  --border: #E5E5E2;
  --border-strong: #CFCFCB;
  --surface-dark: #111113;

  /* Single subdued accent — used sparingly */
  --accent: #0B0B0C;
  --accent-ink: #FFFFFF;

  /* Status (still monochrome-leaning) */
  --ok: #1F7A45;
  --ok-100: #E6F2EB;
  --miss: #8A2A1F;
  --miss-100: #F5E7E4;

  /* Type */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Space */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.25rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --s-24: 6rem;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Layout */
  --container: 68rem;
  --narrow: 42rem;
  --app-max: 32rem;

  /* Shadows — subtle, almost flat */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px -4px rgba(0,0,0,0.10), 0 2px 4px -2px rgba(0,0,0,0.04);

  --header-h: 3.75rem;

  /* Type scale */
  --fs-0: 0.8125rem;
  --fs-1: 0.9375rem;
  --fs-2: 1.0625rem;
  --fs-3: 1.25rem;
  --fs-4: 1.5rem;
  --fs-5: 2rem;
  --fs-6: 2.75rem;
  --fs-7: 3.5rem;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-2);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-4);
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 4.5vw, var(--fs-7)); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, var(--fs-5)); }
h3 { font-size: var(--fs-4); }
h4 { font-size: var(--fs-3); }

p { margin: 0 0 var(--s-4); }

hr { border: 0; border-top: 1px solid var(--border); margin: var(--s-8) 0; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}
.narrow { max-width: var(--narrow); margin-left: auto; margin-right: auto; }
.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-8); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .bar {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4);
}
.brand {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-weight: 700; letter-spacing: -0.01em; color: var(--ink);
}
.brand .mark {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; border-radius: 6px;
  font-size: 0.75rem; font-weight: 800;
}
.nav { display: none; gap: var(--s-6); }
.nav a { color: var(--ink-soft); font-size: var(--fs-1); }
@media (min-width: 760px) {
  .nav { display: inline-flex; }
}
.nav-cta {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--ink);
  border-radius: var(--r-pill);
  font-size: var(--fs-1); font-weight: 600;
}
.nav-cta:hover { background: var(--ink); color: #fff; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  padding: 0.9rem 1.25rem;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--fs-2);
  border: 1px solid transparent;
  transition: transform 0.05s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; text-decoration: none; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { color: var(--ink); }
.btn-lg { padding: 1.05rem 1.5rem; font-size: 1.0625rem; }
.btn-xl { padding: 1.2rem 1.75rem; font-size: 1.125rem; }
.btn-block { width: 100%; }
.btn-done {
  background: var(--ink); color: #fff;
  padding: 1.35rem 1.5rem;
  font-size: 1.25rem; font-weight: 700; letter-spacing: 0.01em;
  border-radius: var(--r-lg);
  width: 100%;
}
.btn-done:hover { background: #000; text-decoration: none; }
.btn-done[disabled] {
  background: var(--bg-soft); color: var(--muted);
  cursor: not-allowed; border: 1px solid var(--border);
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}
.card-flat {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}

/* ---------- Pill ---------- */
.pill {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  font-size: var(--fs-0); color: var(--ink-soft);
  background: var(--bg-raised);
}
.pill-ok   { color: var(--ok);   border-color: var(--ok);   background: var(--ok-100); }
.pill-miss { color: var(--miss); border-color: var(--miss); background: var(--miss-100); }

/* ---------- Store badges ---------- */
.store-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: var(--ink); color: #fff;
  border-radius: var(--r-md);
  font-weight: 600; font-size: var(--fs-1);
  min-height: 52px;
  text-decoration: none;
}
.store-badge:hover { background: #000; text-decoration: none; }
.store-badge .label-top { font-size: 0.625rem; opacity: 0.75; display: block; line-height: 1; margin-bottom: 2px; letter-spacing: 0.08em; text-transform: uppercase; }
.store-badge .label-main { font-size: 1rem; line-height: 1.1; display: block; font-weight: 700; }
.store-badge .sb-icon { width: 22px; height: 22px; flex: 0 0 22px; }
.store-badge.outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.store-badge.outline:hover { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  padding: var(--s-10) 0 var(--s-10);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.hero-grid {
  display: grid; gap: var(--s-8);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--s-10); align-items: center; }
}
.hero h1 { margin-bottom: var(--s-4); }
.hero .lede { font-size: var(--fs-3); color: var(--ink-soft); max-width: 32rem; }
.hero .cta-row {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  margin-top: var(--s-5);
}
.hero .fine {
  margin-top: var(--s-4);
  color: var(--muted); font-size: var(--fs-1);
}

/* ---------- Tool card on landing ---------- */
.tool-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-5);
  box-shadow: var(--shadow-md);
  max-width: 30rem;
  margin: 0 auto;
  width: 100%;
}
.tool-toolbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2);
  padding: 0 0 var(--s-4);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s-4);
}
.tool-toolbar .tb-field {
  display: grid; gap: 4px;
  font-size: var(--fs-0);
  color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.tool-toolbar .tb-field > span { font-weight: 600; }
.select-sm {
  appearance: none;
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--bg-raised);
  font: inherit; font-size: var(--fs-1);
  color: var(--ink);
  min-height: 38px;
  text-transform: none; letter-spacing: 0;
}
.select-sm:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }

.tool-card .summary-bar { margin-bottom: var(--s-3); padding: var(--s-3); }
.tool-card .round-card { margin-bottom: var(--s-3); padding: var(--s-5); }
.tool-card .round-card .big { font-size: 1.75rem; }
.tool-card .round-card .window-line { margin-bottom: var(--s-4); font-size: var(--fs-1); }

.tool-subline {
  text-align: center;
  font-size: var(--fs-0);
  color: var(--muted);
  min-height: 1.6em;
}
.btn.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: var(--fs-0);
}

.tool-footer-link {
  display: block;
  text-align: center;
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--border);
  font-size: var(--fs-0);
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Hero visual: phone-like mock */
.phone-mock {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-4);
  max-width: 24rem;
  margin: 0 auto;
}
.phone-mock .screen {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}
.phone-mock .row-line {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--s-3) 0; border-bottom: 1px solid var(--border);
}
.phone-mock .row-line:last-child { border-bottom: 0; }
.phone-mock .label-sm { font-size: var(--fs-0); color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- Sections ---------- */
.section { padding: var(--s-16) 0; }
.section-sm { padding: var(--s-10) 0; }
.section-alt { background: var(--bg-soft); }
.eyebrow {
  display: inline-block;
  font-size: var(--fs-0); color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: var(--s-3);
}

.steps {
  display: grid; gap: var(--s-5);
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-6); background: var(--bg-raised); }
.step .num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--fs-0);
  margin-bottom: var(--s-3);
}
.step h3 { font-size: var(--fs-3); margin-bottom: var(--s-2); }
.step p { color: var(--ink-soft); margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--surface-dark); color: #fff;
  border-radius: var(--r-xl);
  padding: var(--s-10) var(--s-8);
  display: grid; gap: var(--s-6);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 820px) {
  .cta-band { grid-template-columns: 1.2fr 1fr; padding: var(--s-12); }
}
.cta-band h2 { color: #fff; margin-bottom: var(--s-3); }
.cta-band p { color: #D6D6D4; }
.cta-band .store-badge { background: #fff; color: var(--ink); }
.cta-band .store-badge:hover { background: #F0EFEC; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--s-10) 0 var(--s-16);
  color: var(--muted);
  font-size: var(--fs-1);
}
.site-footer .foot-grid {
  display: grid; gap: var(--s-6);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .site-footer .foot-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer a { color: var(--ink-soft); }
.site-footer h4 { font-size: var(--fs-1); color: var(--ink); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: var(--s-3); }
.site-footer .legal { margin-top: var(--s-8); padding-top: var(--s-4); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between; }
/* Store badges in the footer keep their dark-pill look; reassert white text. */
.site-footer .store-badge,
.site-footer .store-badge .label-top,
.site-footer .store-badge .label-main { color: #fff; }

/* =========================================================
   APP SHELL — /app/
   ========================================================= */
.app-body { background: var(--bg-soft); }
.app-shell {
  max-width: var(--app-max);
  margin: 0 auto;
  padding: var(--s-4) var(--s-4) var(--s-16);
}
.app-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-4) 0 var(--s-2);
}
.app-header .brand { font-size: var(--fs-1); }
.app-header .header-cta {
  font-size: var(--fs-0); color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: 3px;
}

/* Setup sheet (first-run modal, full-screen on mobile) */
.setup {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  margin-top: var(--s-4);
}
.setup h2 { font-size: var(--fs-4); margin-bottom: var(--s-2); }
.setup .subtitle { color: var(--ink-soft); margin-bottom: var(--s-6); }

.field { display: grid; gap: var(--s-2); margin-bottom: var(--s-5); }
.field label { font-weight: 600; font-size: var(--fs-1); }
.field .hint { color: var(--muted); font-size: var(--fs-0); }
.input, .select {
  appearance: none;
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--bg-raised);
  font: inherit; color: var(--ink);
  min-height: 48px;
}
.input:focus, .select:focus {
  outline: 2px solid var(--ink); outline-offset: 1px;
  border-color: var(--ink);
}

/* Native time inputs inherit .select look; normalize font + caret. */
.input-time {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.input-time::-webkit-calendar-picker-indicator { opacity: 0.55; cursor: pointer; }
.input-time::-webkit-calendar-picker-indicator:hover { opacity: 1; }

.seg {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr));
  gap: var(--s-2);
}
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  display: flex; align-items: center; justify-content: center;
  padding: 0.75rem 0.5rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--bg-raised);
  font-weight: 600; font-size: var(--fs-1);
  cursor: pointer;
  text-align: center;
}
.seg input:checked + label {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.seg input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Dashboard */
.summary-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  margin-bottom: var(--s-4);
}
.summary-bar .cell { text-align: center; }
.summary-bar .val { font-weight: 800; font-size: var(--fs-4); letter-spacing: -0.01em; }
.summary-bar .lbl { font-size: var(--fs-0); color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }

.round-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  margin-bottom: var(--s-4);
}
.round-card .state-label {
  display: inline-block;
  font-size: var(--fs-0); color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: var(--s-3);
}
.round-card .big {
  font-size: var(--fs-5); font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.1; margin-bottom: var(--s-2);
}
.round-card .window-line { color: var(--ink-soft); margin-bottom: var(--s-5); }
.round-card[data-state="completed"] { background: var(--ok-100); border-color: var(--ok); }
.round-card[data-state="missed"] { background: var(--miss-100); border-color: var(--miss); }
.round-card[data-state="active"] { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,0.04); }

/* Timeline of today rounds */
.today-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(3rem, 1fr));
  gap: var(--s-2);
}
.dot {
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--bg-raised);
  font-size: var(--fs-0); color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.dot[data-s="done"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.dot[data-s="missed"] { background: var(--miss-100); color: var(--miss); border-color: var(--miss); }
.dot[data-s="active"] { outline: 2px solid var(--ink); }
.dot[data-s="upcoming"] { color: var(--muted); }

/* Section titles in app */
.section-title {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: var(--s-6) 0 var(--s-3);
}
.section-title h3 { font-size: var(--fs-3); margin: 0; }
.section-title a { font-size: var(--fs-0); color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }

/* Inline CTA inside app */
.inline-cta {
  background: var(--surface-dark); color: #fff;
  border-radius: var(--r-lg);
  padding: var(--s-5);
  margin-bottom: var(--s-4);
}
.inline-cta h4 { color: #fff; margin-bottom: var(--s-2); font-size: var(--fs-2); }
.inline-cta p { color: #D6D6D4; margin-bottom: var(--s-4); font-size: var(--fs-1); }
.inline-cta .store-row { gap: var(--s-2); }
.inline-cta .store-badge { background: #fff; color: var(--ink); min-height: 46px; padding: 0.55rem 0.85rem; }

.notice {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-left: 3px solid var(--ink);
  border-radius: var(--r-md);
  padding: var(--s-4);
  font-size: var(--fs-1);
  color: var(--ink-soft);
  margin-bottom: var(--s-4);
}

/* Toggle row */
.toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--border);
}
.toggle-row:last-child { border-bottom: 0; }
.toggle-row .lbl-main { font-weight: 600; }
.toggle-row .lbl-sub  { font-size: var(--fs-0); color: var(--muted); }

/* Switch */
.switch { position: relative; display: inline-block; width: 48px; height: 28px; flex: 0 0 48px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track {
  position: absolute; inset: 0;
  background: var(--border-strong);
  border-radius: var(--r-pill); transition: background 0.2s;
}
.switch .track::after {
  content: ""; position: absolute; left: 3px; top: 3px;
  width: 22px; height: 22px; background: #fff;
  border-radius: 50%; transition: transform 0.2s;
  box-shadow: var(--shadow-sm);
}
.switch input:checked + .track { background: var(--ink); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Danger button */
.btn-danger {
  background: transparent; color: var(--miss);
  border: 1px solid var(--miss);
}
.btn-danger:hover { background: var(--miss); color: #fff; text-decoration: none; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--s-5) + env(safe-area-inset-bottom, 0));
  transform: translateX(-50%);
  background: var(--ink); color: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-1); font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 80;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(-4px); pointer-events: auto; }

/* Visually hidden */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Utility */
.muted { color: var(--muted); }
.text-center { text-align: center; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.gap-3 { gap: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.mb-0 { margin-bottom: 0; }

/* Prose (for /how-it-works, /notifications, squat-type pages) */
.prose {
  max-width: var(--narrow);
  margin: 0 auto;
}
.prose h2 { margin-top: var(--s-10); }
.prose h3 { margin-top: var(--s-8); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: var(--s-2); }

/* FAQ / accordion */
details.faq {
  border-top: 1px solid var(--border);
  padding: var(--s-4) 0;
}
details.faq:last-of-type { border-bottom: 1px solid var(--border); }
details.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  padding-right: var(--s-6);
  position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 0;
  font-weight: 400; color: var(--muted);
}
details.faq[open] summary::after { content: "–"; }
details.faq p { margin-top: var(--s-3); color: var(--ink-soft); }

/* Squat variant mini-nav */
.variant-nav {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  margin-bottom: var(--s-6);
}
.variant-nav a {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  font-size: var(--fs-0);
  color: var(--ink-soft);
}
.variant-nav a[aria-current="page"] {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
