/* axiomplify.com — one stylesheet for every page.
   Tokens are copied from AXIOM Studio (app/packages/design-tokens/src/index.ts and
   engagement/brand/axiom-studio-2026-11/axiom-brand-tokens.json). Light theme only (brand decision 4). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

:root {
  /* Studio theme (design-tokens `theme`) */
  --background: #ffffff;
  --foreground: #000000;
  --card-foreground: #0a0a0a; /* mark ink (D-700 item 2) */
  --muted: #f5f5f5;
  --muted-foreground: #666666; /* AA: 5.27:1 on --muted */
  --border: #e5e5e5;
  --input: #8c8c8c; /* control edge, 3.36:1 */
  --primary: #5151cd; /* brand/600, 6.16:1 on white */
  --primary-hover: #4343b0; /* brand/700 */
  --primary-foreground: #ffffff;
  --brand-subtle: #eef0ff; /* brand/50 */
  --brand-subtle-foreground: #4343b0; /* brand/700 */
  --brand-border: #c7c9fa;
  --success: #15803d;
  --success-subtle: #f0fdf4;
  --success-border: #bbf7d0;
  --planned-foreground: #404040; /* 9.5:1 on --muted */
  --code-background: #0a0a0a;
  --code-foreground: #f5f5f5;
  --code-comment: #a3a3a3; /* 7.9:1 on --code-background */
  --link: #5151cd;
  --radius: 0.625rem;
  /* Studio radius.* and shadow.* */
  --radius-chip: 6px;
  --radius-input: 8px;
  --radius-panel: 12px;
  --radius-modal: 14px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-raised: 0 1px 3px rgba(0, 0, 0, 0.08), 0 8px 24px -8px rgba(0, 0, 0, 0.12);
  --ease: 150ms ease;
  /* Persona hues: fills with a dark initial only, never text (STORY-720 AC-4) */
  --persona-alex: #ffc72a;
  --persona-sam: #00c4c4;
  --persona-morgan: #ff3cfc;
  --persona-jordan: #2f8cff;
  --persona-casey: #33ff81;
  /* Brand mark */
  --axiom-leg: var(--primary);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --inner: 1184px;
  --gutter: 32px;
  --header-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
::selection { background: var(--brand-subtle); color: var(--brand-subtle-foreground); }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; color: var(--foreground); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
code { font-family: var(--font-mono); font-size: 0.9em; background: var(--muted); padding: 0.1em 0.35em; border-radius: 4px; overflow-wrap: anywhere; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--primary); color: var(--primary-foreground);
  padding: 8px 12px; border-radius: var(--radius-input); text-decoration: none;
}
.skip-link:focus { top: 8px; }

.inner { width: 100%; max-width: var(--inner); margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--primary); }

/* ---------- Header and navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--background); border-bottom: 1px solid var(--border);
}
.site-header .inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 1.125rem; letter-spacing: 0; color: var(--card-foreground);
  text-decoration: none; white-space: nowrap;
}
.wordmark:hover { text-decoration: none; }
/* Brand size rules: 28 px heavy cut in the nav, 32 px regular cut in the footer. */
.wordmark .brand-mark { display: none; flex: none; width: 28px; height: auto; color: var(--card-foreground); }
.wordmark-lg { font-size: 1.25rem; gap: 10px; }
.wordmark-lg .brand-mark { width: 32px; }
html[data-brand-mark="on"] .wordmark .brand-mark { display: block; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-group { position: relative; }
.nav-group > summary, .nav-link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 6px 10px;
  border-radius: var(--radius-input); font-size: 0.875rem; font-weight: 500; color: var(--foreground);
  text-decoration: none; cursor: pointer; list-style: none; transition: background-color var(--ease);
}
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 4px; }
.nav-group[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.nav-group > summary:hover, .nav-link:hover, .nav-group[open] > summary { background: var(--muted); }
.nav-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px; margin: 0; padding: 6px;
  list-style: none; background: var(--background); border: 1px solid var(--border);
  border-radius: var(--radius-panel); box-shadow: var(--shadow-raised);
}
.nav-group:last-of-type .nav-menu { left: auto; right: 0; }
.nav-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 10px; border-radius: var(--radius-input); color: var(--foreground); text-decoration: none; font-size: 0.875rem;
  transition: background-color var(--ease);
}
.nav-menu a:hover { background: var(--muted); }
.nav-menu a[aria-current="page"] { background: var(--brand-subtle); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.site-header .menu-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 36px; padding: 8px 14px; border-radius: var(--radius-input); border: 1px solid transparent;
  font: inherit; font-size: 0.875rem; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer;
  white-space: nowrap; transition: background-color var(--ease), border-color var(--ease);
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: var(--primary-hover); text-decoration: none; }
.btn-outline { background: var(--background); color: var(--foreground); border-color: var(--input); }
.btn-outline:hover { background: var(--muted); text-decoration: none; }
.btn-lg { min-height: 44px; padding: 10px 18px; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 500; line-height: 1.4; white-space: nowrap; border: 1px solid transparent;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-available { background: var(--success-subtle); color: var(--success); border-color: var(--success-border); }
.badge-preview { background: var(--brand-subtle); color: var(--brand-subtle-foreground); border-color: var(--brand-border); }
.badge-planned { background: var(--muted); color: var(--planned-foreground); border-color: var(--border); }
.badge-planned::before { background: transparent; border: 1.5px solid currentColor; width: 7px; height: 7px; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 72px; }
/* Home hero only: a soft brand wash. Muted text stays AA (5.0:1 on --brand-subtle). */
.hero:not(.hero-page) { background: linear-gradient(180deg, var(--brand-subtle) 0%, var(--background) 100%); }
.hero:not(.hero-page) .eyebrow { background: var(--background); }
.hero .eyebrow {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%;
  padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 0.75rem; color: var(--muted-foreground);
}
.hero h1 { margin-top: 20px; font-size: 3.5rem; line-height: 1.05; font-weight: 600; max-width: 860px; }
.hero .lead { margin-top: 20px; font-size: 1.125rem; line-height: 1.6; color: var(--muted-foreground); max-width: 680px; }
.hero .btn-row { margin-top: 28px; }
.hero .fineprint { margin-top: 16px; font-size: 0.75rem; color: var(--muted-foreground); }
.hero-page { padding: 72px 0 56px; }
.hero-page h1 { font-size: 3rem; }
.breadcrumb { font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted-foreground); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; scroll-margin-top: var(--header-h); }
.section-muted { background: var(--muted); }
.section h2 { font-size: 1.75rem; line-height: 1.2; font-weight: 600; }
.section .lead { margin-top: 12px; max-width: 720px; font-size: 1.0625rem; line-height: 1.6; color: var(--muted-foreground); }
.section-head { margin-bottom: 40px; }
.prose { max-width: 720px; }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--muted-foreground); line-height: 1.65; }
.page-title { font-size: 2rem; line-height: 1.2; font-weight: 600; margin-bottom: 20px; }

.grid { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0;
  padding: 20px; background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-modal);
  box-shadow: var(--shadow-card);
}
.card h3 { font-size: 1rem; line-height: 1.4; font-weight: 600; }
.card p { font-size: 0.875rem; line-height: 1.55; color: var(--muted-foreground); }
.card .card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.card-link { text-decoration: none; color: inherit; }
.card-link h3 a { color: var(--foreground); text-decoration: none; }
.card-link { transition: border-color var(--ease), box-shadow var(--ease); }
.card-link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link:hover { border-color: var(--primary); box-shadow: var(--shadow-raised); }
/* The whole card is the link's hit area, so the card carries its keyboard focus ring. */
.card-link:has(a:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
.card-link h3 a:focus-visible { outline: none; }
.card-link:hover .more::after { transform: translateX(3px); }
.card .more::after { content: "\2192"; display: inline-block; margin-left: 6px; transition: transform var(--ease); }
.card .more { margin-top: auto; padding-top: 8px; font-size: 0.875rem; font-weight: 500; color: var(--link); }
.step-num {
  display: inline-flex; width: fit-content; padding: 0 8px; border-radius: var(--radius-chip);
  background: var(--brand-subtle); color: var(--brand-subtle-foreground);
  font-family: var(--font-mono); font-size: 0.75rem; line-height: 20px;
}

.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 26px; color: var(--muted-foreground); line-height: 1.55; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px;
  border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg);
}
.checklist li strong { color: var(--foreground); font-weight: 600; }
.planlist li::before { border: 1.5px solid var(--muted-foreground); width: 10px; height: 10px; border-radius: 50%; transform: none; top: 0.4em; }

/* "Which one when" rows — a definition list, never a wide table (375 px) */
.chooser { margin: 0; display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-modal); overflow: hidden; background: var(--background); box-shadow: var(--shadow-card); }
.chooser > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--border); align-items: center; }
.chooser > div:last-child { border-bottom: 0; }
.chooser dt { color: var(--foreground); font-size: 0.9375rem; }
.chooser dd { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.9375rem; }
.chooser dd a { font-weight: 600; }

/* Persona avatars: hue as fill, dark initial (>= 4.5:1 on every hue) */
.avatar {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%; font-weight: 600; color: #0a0a0a; font-size: 1rem;
}
.avatar-alex { background: var(--persona-alex); }
.avatar-sam { background: var(--persona-sam); }
.avatar-morgan { background: var(--persona-morgan); }
.avatar-jordan { background: var(--persona-jordan); }
.avatar-casey { background: var(--persona-casey); }

.code-block {
  margin: 0; padding: 16px 18px; border-radius: var(--radius-panel); background: var(--code-background); color: var(--code-foreground);
  font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.7; overflow-x: auto; white-space: pre;
}
.code-block .c { color: var(--code-comment); }
.code-block:focus-visible { outline-offset: 3px; }
.note { font-size: 0.8125rem; color: var(--muted-foreground); margin-top: 10px; }

.cta-band {
  display: flex; align-items: center; gap: 32px; padding: 48px; border-radius: 20px; background: var(--brand-subtle);
  border: 1px solid var(--brand-border);
}
.cta-band h2 { font-size: 2.25rem; line-height: 1.15; font-weight: 600; flex: none; }
.cta-band .cta-body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cta-band .cta-body > p { font-size: 1.0625rem; color: var(--foreground); }
.cta-band .aside { font-size: 0.875rem; color: var(--foreground); }

/* ---------- Studio page: hero session card, "You say it" rows, layers, FAQ ---------- */
.mono { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted-foreground); }
.chip {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--radius-chip);
  background: var(--muted); font-family: var(--font-mono); font-size: 0.75rem; color: var(--foreground); white-space: nowrap;
}
.bubble { padding: 10px 12px; border-radius: var(--radius-input); background: var(--muted); font-size: 0.875rem; line-height: 1.45; color: var(--foreground); }
.avatar-sm { width: 24px; height: 24px; font-size: 0.75rem; }

.hero-split { display: grid; grid-template-columns: minmax(0, 536fr) minmax(0, 520fr); gap: 64px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-split .hero-copy .lead { max-width: 520px; }
.session-card {
  display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px 18px 18px;
  background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-modal); box-shadow: var(--shadow-raised);
}
.session-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--border); font-size: 0.875rem; font-weight: 500; }
.session-head > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.session-log { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.session-row { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 0.875rem; }
.session-who { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted-foreground); }
.session-who strong { color: var(--foreground); font-weight: 500; }
.session-state {
  display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 20px; padding: 0 6px;
  border-radius: 999px; border: 1px solid var(--border); font-size: 0.75rem; color: var(--foreground);
}
.session-done { background: var(--muted); border-color: var(--muted); }

.say-rows { display: grid; gap: 64px; }
.say-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.say-row-flip .say-visual { order: 2; }
.say-text h3 { font-size: 1.25rem; line-height: 1.4; font-weight: 600; }
.say-text p { margin-top: 12px; font-size: 1rem; line-height: 1.6; color: var(--muted-foreground); }
.say-visual { gap: 12px; padding: 20px; }
.visual-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-foreground); }
.visual-note { font-size: 0.875rem; color: var(--muted-foreground); }
.story-ref .mono { flex: none; white-space: nowrap; }
.story-ref { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-input); font-size: 0.875rem; }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.875rem; }
.chain-step { padding: 4px 10px; border: 1px solid var(--border); border-radius: var(--radius-chip); font-weight: 500; }
.chain-sep { color: var(--muted-foreground); }
.live-log { display: grid; gap: 6px; padding: 10px 12px; border-radius: var(--radius-input); background: var(--muted); font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.5; overflow-wrap: anywhere; }
.week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.week-day { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.week-label { font-size: 0.75rem; font-weight: 500; color: var(--muted-foreground); }
.avatar-gap { width: 24px; height: 24px; }
.week-task { width: 100%; padding: 4px 2px; border: 1px solid var(--border); border-radius: var(--radius-chip); text-align: center; font-size: 0.75rem; overflow-wrap: anywhere; }
.week-demo { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); font-weight: 500; }

.section-foot { margin-top: 24px; }
.section-foot .note { margin-top: 0; max-width: 560px; }

.layers { margin: 0; padding: 0; list-style: none; background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-modal); box-shadow: var(--shadow-card); }
.layers li { display: flex; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 0.9375rem; line-height: 1.5; color: var(--muted-foreground); }
.layers li:last-child { border-bottom: 0; }
.layers .mono { flex: none; line-height: 1.5rem; }
.layers strong { color: var(--foreground); font-weight: 600; }
.layers + .note { margin-top: 16px; max-width: 720px; font-size: 0.875rem; }
.layers + .note strong { color: var(--foreground); }

.faq { max-width: 760px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 12px 0;
  font-weight: 500; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform var(--ease); }
.faq-item[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.faq-item p { padding: 0 0 16px; max-width: 720px; font-size: 0.9375rem; line-height: 1.6; color: var(--muted-foreground); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 32px; font-size: 0.875rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-col h2 { font-size: 0.75rem; font-weight: 500; color: var(--muted-foreground); letter-spacing: 0; margin-bottom: 8px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: inline-flex; align-items: center; min-height: 28px; color: var(--foreground); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-brand p { margin-top: 6px; color: var(--muted-foreground); font-size: 0.75rem; line-height: 1.5; }
.footer-brand .wordmark { margin-bottom: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .cta-band { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 860px) {
  :root { --header-h: 56px; }
  .site-header .inner { min-height: var(--header-h); flex-wrap: wrap; gap: 12px; }
  .site-header .wordmark { margin-right: auto; }
  .site-header .menu-toggle { display: inline-flex; order: 2; }
  .nav { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 4px 0 12px; margin: 0; }
  html:not(.js) .nav, .site-header.is-open .nav { display: flex; }
  .nav-group > summary, .nav-link { min-height: 44px; font-size: 1rem; }
  .nav-menu, .nav-group:last-of-type .nav-menu { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .nav-menu a { min-height: 44px; font-size: 1rem; }
  .nav-actions { order: 2; }
  .say-rows { gap: 40px; }
  .say-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .say-row-flip .say-visual { order: 0; }
  .nav-actions .btn-outline { display: none; }
  .nav .nav-login { display: inline-flex; }
}
@media (min-width: 861px) { .nav .nav-login { display: none; } }
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .hero { padding: 40px 0 40px; }
  .hero h1, .hero-page h1 { font-size: 2.25rem; }
  .hero .lead { font-size: 1rem; }
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 24px; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: minmax(0, 1fr); }
  .chooser > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .cta-band { padding: 24px 16px; }
  .cta-band h2 { font-size: 1.75rem; }
  .btn-row .btn-lg { width: 100%; white-space: normal; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .nav-actions .btn { min-height: 32px; padding: 6px 10px; }
  .hero .eyebrow { border-radius: var(--radius-panel); }
  .session-head { display: none; }
  .say-visual { padding: 14px; }
  .week { gap: 4px; }
  .week-task { padding: 4px 0; font-size: 0.65625rem; overflow-wrap: normal; }
  .session-who > span { display: none; }
  .layers li { padding: 12px 14px; gap: 12px; }
}

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

