/* Base Command — familybasecommand.com
   Colors and type match the app (src/index.css in Base Command): sand canvas, olive, brass,
   Saira Stencil One for a few headlines, Barlow Condensed for labels, Barlow for text. */

/* ---------- FONTS (self-hosted, latin subset) ---------- */
@font-face { font-family: "Saira Stencil One"; font-weight: 400; font-display: swap; src: url(/fonts/saira-stencil-one-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(/fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(/fonts/barlow-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(/fonts/barlow-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url(/fonts/barlow-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url(/fonts/barlow-condensed-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(/fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }

/* ---------- TOKENS ---------- */
:root {
  --canvas: #f2efe6;
  --surface: #ffffff;
  --surface-2: #f8f6ef;
  --surface-3: #efebdf;
  --line: #e3decf;
  --line-strong: #cfc8b2;
  --ink: #1e261b;
  --ink-2: #565c4b;
  --olive: #4a5d36;
  --olive-strong: #3a4a2a;
  --olive-text: #4a5d36;
  --olive-soft: #e5ead8;
  --on-olive: #ffffff;
  --brass: #b07d17;
  --brass-bright: #e2ad3b;
  --brass-soft: #f6eacb;
  --band: #4a5d36;
  --link: #3a4a2a;
  --footer: #1e261b;
  --shadow-rgb: 30 38 27;
  --font-body: "Barlow", ui-sans-serif, system-ui, sans-serif;
  --font-label: "Barlow Condensed", "Barlow", ui-sans-serif, system-ui, sans-serif;
  --font-stencil: "Saira Stencil One", "Barlow Condensed", ui-sans-serif, sans-serif;
  --shadow-card: 0 1px 2px rgb(var(--shadow-rgb) / 0.06), 0 2px 10px rgb(var(--shadow-rgb) / 0.06);
  --shadow-lift: 0 4px 12px rgb(var(--shadow-rgb) / 0.1), 0 18px 44px rgb(var(--shadow-rgb) / 0.14);
  --grid: linear-gradient(rgb(255 255 255 / 0.06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.06) 1px, transparent 1px);
  color-scheme: light;
}

/* "Night Ops" — the app's dark palette */
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0e120c;
    --surface: #171d14;
    --surface-2: #1d241a;
    --surface-3: #252e20;
    --line: #2b3426;
    --line-strong: #3b4733;
    --ink: #eceadf;
    --ink-2: #b0b4a1;
    --olive: #93ab70;
    --olive-strong: #abc287;
    --olive-text: #a9c08a;
    --olive-soft: #243020;
    --on-olive: #0e120c;
    --brass: #ddab42;
    --brass-bright: #f0c35e;
    --brass-soft: #3a3019;
    --band: #26321d;
    --link: #b9cf95;
    --footer: #090c08;
    --shadow-rgb: 0 0 0;
    color-scheme: dark;
  }
}

/* ---------- BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 18px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--brass-soft); color: var(--ink); }
:focus-visible { outline: 3px solid var(--brass-bright); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-label); font-weight: 700; line-height: 1.06; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
.stencil { font-family: var(--font-stencil); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--ink); color: var(--canvas); padding: 12px 18px; border-radius: 10px; }
.skip:focus { left: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 16px;
  font: 700 19px/1 var(--font-label); letter-spacing: 0.03em; text-decoration: none; white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--olive); color: var(--on-olive); box-shadow: 0 8px 18px -8px rgb(58 74 42 / 0.7); }
.btn-primary:hover { background: var(--olive-strong); }
.btn-secondary { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-brass { background: var(--brass-bright); color: #2a1f05; box-shadow: 0 10px 22px -10px rgb(0 0 0 / 0.5); }
.btn-brass:hover { background: #ecbb4f; }
.btn-sm { min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 17px; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-row { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; }
.brand-word { font: 400 21px/1 var(--font-stencil); text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; }
.header-nav { margin-left: auto; display: flex; gap: 2px; }
.header-nav a {
  padding: 10px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none;
  font: 600 17px/1.2 var(--font-label); letter-spacing: 0.02em;
}
.header-nav a:hover { background: var(--surface-3); color: var(--ink); }
@media (max-width: 880px) {
  .header-nav { display: none; }
  .header-row > .btn { margin-left: auto; }
}
@media (max-width: 400px) {
  .brand-word { font-size: 17px; }
  .brand-mark { width: 34px; height: 34px; }
  .header-row > .btn { padding: 0 14px; font-size: 16px; }
}

/* ---------- SHARED SECTION PIECES ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { max-width: 780px; margin: 0 auto clamp(40px, 5vw, 56px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 54px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 14.5px/1.2 var(--font-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive-text);
}
.eyebrow .i { width: 18px; height: 18px; }
.lead { font-size: clamp(18.5px, 1.7vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 64ch; text-wrap: pretty; }
.checks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 17px; line-height: 1.45; }
.checks .i { width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--olive-soft); color: var(--olive-text); stroke-width: 3; margin-top: -1px; }
.card { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-card); }
.olive-grid { background-color: var(--band); background-image: var(--grid); background-size: 28px 28px; }

/* ---------- DEVICE FRAMES (real app screenshots) ---------- */
.device { margin: 0; background: #151912; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07), 0 30px 60px -24px rgb(20 26 18 / 0.5), 0 14px 26px -14px rgb(20 26 18 / 0.4); }
.device img { width: 100%; background: #f2efe6; }
.device.tablet { padding: clamp(7px, 1.1vw, 14px); border-radius: clamp(16px, 2.6vw, 34px); }
.device.tablet img { border-radius: clamp(9px, 1.5vw, 20px); aspect-ratio: 16 / 10; }
.device.phone { padding: clamp(5px, 0.8vw, 9px); border-radius: clamp(26px, 3.6vw, 44px); }
.device.phone img { border-radius: clamp(21px, 3vw, 35px); aspect-ratio: 390 / 844; }

/* ---------- HERO ---------- */
.hero { padding-top: clamp(48px, 7vw, 88px); }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.hero h1 { font-family: var(--font-stencil); font-weight: 400; text-transform: uppercase; font-size: clamp(42px, 7.4vw, 92px); line-height: 0.98; letter-spacing: 0.005em; }
.hero h1 .accent { color: var(--olive-text); }
.hero .lead { max-width: 660px; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.hero-facts { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font: 600 15.5px/1.2 var(--font-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .i { color: var(--olive-text); stroke-width: 3; }
.hero-stage { position: relative; margin-top: clamp(44px, 6vw, 64px); padding-bottom: clamp(40px, 5vw, 60px); }
.hero-stage::before { content: ""; position: absolute; inset: 46% 0 0 0; background-color: var(--band); background-image: var(--grid); background-size: 28px 28px; }
.hero-tablet { position: relative; width: min(1040px, 100%); margin-inline: auto; }
.hero-caption { position: relative; margin-top: 22px; text-align: center; color: rgb(255 255 255 / 0.82); font: 600 15px/1.4 var(--font-label); letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- FIELD GUIDE ---------- */
.guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-item { display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px; padding: 22px 24px; align-items: start; }
.guide-icon { grid-row: span 2; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--olive-soft); color: var(--olive-text); }
.guide-icon .i { width: 26px; height: 26px; }
.guide-item h3 { font-size: 23px; letter-spacing: 0.04em; text-transform: uppercase; padding-top: 2px; }
.guide-item p { color: var(--ink-2); font-size: 16.5px; line-height: 1.5; }
@media (max-width: 960px) { .guide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .guide { grid-template-columns: 1fr; } }

/* ---------- FEATURE ROWS ---------- */
.rows { display: flex; flex-direction: column; gap: clamp(72px, 10vw, 128px); margin-top: clamp(80px, 10vw, 128px); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.row.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.row.flip .row-copy { order: 2; }
.row-copy { display: flex; flex-direction: column; gap: 18px; }
.row-copy h3 { font-size: clamp(30px, 3.4vw, 42px); }
.row-copy > p:not(.eyebrow) { color: var(--ink-2); font-size: 18.5px; }
.combo { position: relative; padding: 0 9% 9% 0; }
.combo .phone { position: absolute; right: 0; bottom: 0; width: 27%; }
.duo { position: relative; padding: 0 0 22% 0; }
.duo .tablet:first-child { width: 84%; }
.duo .tablet:last-child { position: absolute; right: 0; bottom: 0; width: 66%; }
@media (max-width: 900px) {
  .row, .row.flip { grid-template-columns: 1fr; }
  .row.flip .row-copy { order: 0; }
}

/* ---------- KIT ---------- */
.kit-head { margin-top: clamp(80px, 10vw, 128px); margin-bottom: 24px; font-size: clamp(28px, 3vw, 36px); }
.kit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kit-item { padding: 24px; border-radius: 22px; border: 1.5px solid var(--line-strong); display: flex; flex-direction: column; gap: 8px; }
.kit-item .i { width: 28px; height: 28px; color: var(--brass); margin-bottom: 4px; }
.kit-item h4 { font-size: 22px; }
.kit-item p { color: var(--ink-2); font-size: 16.5px; line-height: 1.5; }
@media (max-width: 960px) { .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .kit { grid-template-columns: 1fr; } }

/* ---------- GOOGLE CALENDAR ---------- */
.gcal { background: var(--surface); border-block: 1px solid var(--line); }
.gcal-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.gcal-copy { display: flex; flex-direction: column; gap: 18px; }
.gcal-copy h2 { font-size: clamp(36px, 4.4vw, 52px); }
.path { font: 600 0.95em var(--font-label); letter-spacing: 0.02em; white-space: nowrap; color: var(--ink); background: var(--surface-3); padding: 1px 8px; border-radius: 7px; }
.scopes { margin-top: clamp(48px, 6vw, 72px); background: var(--canvas); border-radius: 28px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.scopes h3 { font-size: clamp(26px, 2.8vw, 32px); }
.scopes .fine { color: var(--ink-2); font-size: 16.5px; }
.limited-use { padding: 18px 22px; border-radius: 16px; background: var(--olive-soft); color: var(--ink); font-weight: 500; font-size: 16.5px; }
@media (max-width: 900px) { .gcal-grid { grid-template-columns: 1fr; } }

/* Tables (scopes on home, legal pages) */
.table { width: 100%; border-collapse: collapse; font-size: 16.5px; line-height: 1.5; }
.table th { text-align: left; font: 700 13.5px/1.2 var(--font-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); padding: 0 16px 12px 0; border-bottom: 2px solid var(--line-strong); }
.table td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 600; width: 34%; }
.table code, .prose code { font: 500 0.82em/1.4 ui-monospace, "SF Mono", Menlo, monospace; background: var(--surface-3); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.table .sub { display: block; margin-top: 6px; font-weight: 400; }
@media (max-width: 680px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: auto; }
  .table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .table tr:last-child { border-bottom: 0; }
  .table td { padding: 4px 0; border: 0; }
  .table td:first-child { width: auto; }
  .table td[data-label]::before { content: attr(data-label); display: block; font: 700 12.5px/1.6 var(--font-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
}

/* ---------- HOW IT WORKS ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.step-num { font: 400 40px/1 var(--font-stencil); color: var(--brass); }
.step h3 { font-size: 24px; }
.step p { color: var(--ink-2); font-size: 16.5px; line-height: 1.5; }
.tip { margin-top: 20px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 18px; background: var(--brass-soft); font-size: 16.5px; }
.tip .i { width: 24px; height: 24px; color: var(--brass); margin-top: 1px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- PRIVACY PROMISE (olive band) ---------- */
.band { color: #fff; }
.band .section-head h2 { color: #fff; }
.band .eyebrow { color: var(--brass-bright); }
.band .lead { color: rgb(255 255 255 / 0.82); }
.promise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.promise-item { padding: 24px; border-radius: 22px; background: rgb(255 255 255 / 0.07); border: 1px solid rgb(255 255 255 / 0.13); display: flex; flex-direction: column; gap: 10px; }
.promise-item .i { width: 30px; height: 30px; color: var(--brass-bright); }
.promise-item h3 { color: #fff; font-size: 23px; }
.promise-item p { color: rgb(255 255 255 / 0.82); font-size: 16.5px; line-height: 1.5; }
.band-link { margin-top: 32px; text-align: center; }
.band-link a { color: var(--brass-bright); font: 700 19px var(--font-label); letter-spacing: 0.03em; display: inline-flex; gap: 8px; align-items: center; padding: 8px 4px; }
@media (max-width: 1000px) { .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .promise { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-card); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 24px; font: 700 21px/1.25 var(--font-label); border-radius: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--olive-soft); color: var(--olive-text); font: 700 24px/1 var(--font-body); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; color: var(--ink-2); font-size: 17px; display: grid; gap: 12px; }

/* ---------- FINAL CTA ---------- */
.cta-section { padding-top: 0; }
.cta { border-radius: clamp(24px, 3vw, 36px); padding: clamp(44px, 6vw, 76px) clamp(24px, 5vw, 64px); text-align: center; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta-mark { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.15); }
.cta h2 { color: #fff; font-family: var(--font-stencil); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 5.6vw, 68px); }
.cta p { color: rgb(255 255 255 / 0.85); font-size: 19px; max-width: 560px; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--footer); color: rgb(242 239 230 / 0.72); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; padding: 64px 0 44px; }
.site-footer .brand { color: #f2efe6; }
.footer-brand p { margin-top: 16px; max-width: 36ch; font-size: 16px; line-height: 1.55; }
.site-footer h2 { font: 700 13.5px/1.2 var(--font-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-bright); margin-bottom: 10px; }
.site-footer nav a, .footer-contact a { display: block; padding: 6px 0; color: #f2efe6; text-decoration: none; font-size: 16px; overflow-wrap: anywhere; }
.site-footer a:hover { text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px 0 30px; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 14.5px; color: rgb(242 239 230 / 0.6); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- LEGAL PAGES ---------- */
.legal-head { padding: clamp(48px, 7vw, 80px) 0 32px; border-bottom: 1px solid var(--line); margin-bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.legal-head h1 { font-family: var(--font-stencil); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 6.4vw, 72px); line-height: 1; }
.legal-meta { font: 600 16px/1.4 var(--font-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.legal-head .lead { max-width: 72ch; }
.legal-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; padding-bottom: clamp(72px, 9vw, 112px); }
.toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; }
.toc-title { font: 700 13.5px/1.2 var(--font-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 10px 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 7px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font: 600 16.5px/1.3 var(--font-label); letter-spacing: 0.02em; }
.toc a:hover { background: var(--surface-3); color: var(--ink); }
@media (max-width: 960px) {
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; max-height: none; background: var(--surface); border-radius: 20px; padding: 18px 12px; box-shadow: var(--shadow-card); }
  .toc ol { columns: 2; column-gap: 8px; }
}
@media (max-width: 520px) { .toc ol { columns: 1; } }
.prose { max-width: 76ch; font-size: 17.5px; line-height: 1.7; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: clamp(27px, 2.6vw, 32px); margin-top: 60px; scroll-margin-top: 96px; }
.prose h3 { font-size: 22px; margin-top: 32px; scroll-margin-top: 96px; }
.prose h2 + *, .prose h3 + * { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--olive-text); }
.prose strong { font-weight: 600; }
.prose .table { margin-top: 20px; margin-bottom: 8px; }
.summary { padding: 28px 32px; border-left: 6px solid var(--brass-bright); }
.summary h2 { margin-top: 0; font-size: 26px; }
.summary ul { margin-top: 14px; }
.callout { padding: 20px 24px; border-radius: 18px; background: var(--olive-soft); font-weight: 500; color: var(--ink); }

/* ---------- 404 ---------- */
.lost { min-height: 62vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 20px; padding: 80px 0; }
.lost h1 { font-family: var(--font-stencil); font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 7vw, 80px); }
.lost .hero-ctas { margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
