/* ============================================================
   Nura — marketing site
   Plain HTML + CSS. No build step. No framework. No JavaScript.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --bg: #FAFAF8;
  --fg: #1A1A1A;
  --muted: #5A5A58;
  --border: #E8E6E0;
  --accent: #F4B896;
  --accent-hover: #E8A07A;
  --accent-soft: #FBF5EE;
  --surface: #F2F0EA;

  /* Fonts — matches the SwiftUI design system in the app:
     SERIF (Apple's "New York") for editorial / content surfaces:
       display headings, prose body, card body.
     SANS  (Apple's "SF Pro") for UI chrome:
       buttons, nav, captions, status pills, tabular labels.
     MONO  (SF Mono) for one-off debug/code strings. */
  --font-serif: ui-serif, "New York", "Charter", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  /* Layout */
  --max-content: 1100px;
  --max-prose: 680px;
  --max-narrow: 600px;
  --gutter: 24px;
  --gutter-md: 32px;
  --section-pad: clamp(64px, 9vw, 120px);
  --section-gap: clamp(40px, 5vw, 64px);

  /* Radii */
  --radius: 8px;
  --radius-card: 12px;
  --radius-large: 16px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul, ol { list-style: none; }
input, button, textarea, select { font: inherit; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection { background: var(--accent); color: var(--fg); }

/* ---------- Base ---------- */
html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

main { flex: 1; }

/* ---------- Typography ----------
   Defaults:
   - Headings + <p> body prose: SERIF (New York) — editorial content.
   - UI chrome elements override to SANS — see overrides below. */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--fg);
  text-wrap: balance;
}

h1 {
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.3;
}

h4 {
  font-size: clamp(17px, 1.4vw, 18px);
  line-height: 1.4;
}

p {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

p.lead {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--muted);
}

p.body--fg, h1 + p.lead--fg { color: var(--fg); }

a.inline-link {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border);
  transition: text-decoration-color 150ms ease;
}
a.inline-link:hover, a.inline-link:focus-visible {
  text-decoration-color: var(--accent);
}

strong { font-weight: 500; color: var(--fg); }

/* UI chrome: explicitly SANS (overrides serif inheritance) */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.caption {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.tiny {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--muted);
}

/* Containers that are entirely UI chrome — everything inside is sans */
.site-header,
.site-footer,
.app-store-badge,
.text-cta,
.text-cta--fg,
.skip-link,
button {
  font-family: var(--font-sans);
}

/* Pricing table is tabular UI data — sans for clean numerals */
.pricing-table,
.pricing-stack {
  font-family: var(--font-sans);
}
.pricing-table thead .col-title,
.pricing-stack .tier .col-title {
  font-family: var(--font-sans);
}

/* FAQ summaries: keep serif (heading-like) but slight tracking adjustment */
.faq summary {
  font-family: var(--font-serif);
}

/* Status tags / pills */
.tag {
  font-family: var(--font-sans);
}

.balance { text-wrap: balance; }
.text-fg { color: var(--fg); }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 768px) {
  .container { padding-inline: var(--gutter-md); }
}
.container--prose { max-width: var(--max-prose); }
.container--narrow { max-width: var(--max-narrow); }

section.section { padding-block: var(--section-pad); }
section.section--bleed { background: var(--surface); }
section.section--tight { padding-block: clamp(56px, 7vw, 80px); }

.center { text-align: center; }
.stack > * + * { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: 2rem; }

/* Accessibility */
.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;
  top: 0; left: 0;
  padding: 12px 16px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 0 0 var(--radius) 0;
  transform: translateY(-100%);
  transition: transform 150ms ease;
  z-index: 100;
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- Header (floating pill) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-block: 12px;
}
@media (min-width: 768px) {
  .site-header { padding-block: 16px; }
}
.site-header__wrap {
  width: 100%;
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 768px) {
  .site-header__wrap { padding-inline: var(--gutter-md); }
}
.site-header__pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 16px;
  background: rgb(255 255 255 / 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgb(26 26 26 / 0.03), 0 6px 24px rgb(26 26 26 / 0.04);
}

/* Transparent at the top, solidifies on scroll.
   Browsers without scroll-driven animations (Firefox today) keep the
   solid pill above — perfectly fine fallback. */
@supports (animation-timeline: scroll()) {
  .site-header__pill {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    animation: pill-solidify linear both;
    animation-timeline: scroll();
    animation-range: 0 80px;
  }
}
@keyframes pill-solidify {
  to {
    background: rgb(255 255 255 / 0.72);
    border-color: var(--border);
    box-shadow: 0 1px 2px rgb(26 26 26 / 0.03), 0 6px 24px rgb(26 26 26 / 0.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  @supports (animation-timeline: scroll()) {
    .site-header__pill {
      animation: none;
      background: rgb(255 255 255 / 0.72);
      border-color: var(--border);
      box-shadow: 0 1px 2px rgb(26 26 26 / 0.03), 0 6px 24px rgb(26 26 26 / 0.04);
    }
  }
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-inline-start: 4px;
}
.site-header__logo img { height: 36px; width: auto; }
@media (min-width: 768px) {
  .site-header__logo img { height: 44px; }
}

.site-header__links {
  display: none;
  align-items: center;
  gap: 2px;
}
@media (min-width: 768px) {
  .site-header__links { display: flex; }
}
.site-header__links a {
  position: relative;
  padding: 8px 14px;
  font-size: 13px;
  color: rgb(26 26 26 / 0.7);
  transition: color 150ms ease;
}
.site-header__links a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 250ms ease;
}
.site-header__links a:hover,
.site-header__links a:focus-visible { color: var(--fg); }
.site-header__links a:hover::after,
.site-header__links a:focus-visible::after { transform: scaleX(1); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-cta {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--fg);
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 150ms ease;
}
@media (min-width: 768px) {
  .header-cta { display: inline-flex; }
}
.header-cta:hover, .header-cta:focus-visible { background: #2d2d2d; }
.header-cta svg { transition: transform 200ms ease; }
.header-cta:hover svg, .header-cta:focus-visible svg { transform: rotate(45deg); }

/* Mobile disclosure menu (uses native <details>) */
.mobile-menu { position: relative; }
@media (min-width: 768px) { .mobile-menu { display: none; } }
.mobile-menu > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg);
  transition: background 150ms ease;
}
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu > summary:hover { background: var(--surface); }
.mobile-menu > summary svg { transition: transform 200ms ease; }
.mobile-menu[open] > summary svg { transform: rotate(90deg); }
.mobile-menu__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 200px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  box-shadow: 0 12px 32px rgb(26 26 26 / 0.08);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu__panel a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--fg);
  border-radius: var(--radius);
  transition: background 150ms ease;
}
.mobile-menu__panel a:hover, .mobile-menu__panel a:focus-visible { background: var(--surface); }
.mobile-menu__panel a.is-cta {
  margin-top: 4px;
  background: var(--fg);
  color: var(--bg);
}
.mobile-menu__panel a.is-cta:hover { background: #2d2d2d; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
@media (min-width: 768px) {
  .site-footer { padding-top: 80px; }
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 64px;
  }
}
.site-footer__brand img { height: 64px; width: auto; }
@media (min-width: 768px) {
  .site-footer__brand img { height: 96px; }
}
.site-footer__brand .caption { margin-top: 20px; max-width: 280px; }
.site-footer__column .eyebrow { margin-bottom: 16px; }
.site-footer__column ul li + li { margin-top: 12px; }
.site-footer__column a {
  font-size: 14px;
  color: var(--muted);
  transition: color 150ms ease;
}
.site-footer__column a:hover { color: var(--fg); }
.site-footer__legal {
  border-top: 1px solid var(--border);
  padding-block: 24px;
  font-size: 12px;
  color: var(--muted);
}
.site-footer__legal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border); }
@media (max-width: 767px) {
  .site-footer__brand { grid-column: span 2; }
}

/* ---------- App Store badge ---------- */
.app-store-badge {
  display: inline-block;
  transition: opacity 150ms ease;
}
.app-store-badge:hover, .app-store-badge:focus-visible { opacity: 0.85; }
.app-store-badge img { height: 48px; width: auto; }
.app-store-badge--large img { height: 56px; }

/* ---------- Buttons / inline CTAs ---------- */
.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
  transition: color 150ms ease;
}
.text-cta:hover, .text-cta:focus-visible { color: var(--fg); }

.text-cta--fg {
  color: var(--fg);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border);
  transition: text-decoration-color 150ms ease;
}
.text-cta--fg:hover { text-decoration-color: var(--accent); }

/* ---------- Cards ---------- */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
}
@media (min-width: 768px) {
  .card { padding: 32px; }
}
.card--emphasised {
  border-width: 1.5px;
  border-color: rgb(26 26 26 / 0.15);
  box-shadow: 0 1px 2px rgb(26 26 26 / 0.04);
}
.card .card__icon { color: rgb(26 26 26 / 0.8); margin-bottom: 20px; }
.card h3 { margin-bottom: 12px; }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(48px, 6vw, 64px);
  text-align: center;
}
.hero h1 { max-width: 820px; margin-inline: auto; }
.hero .lead { max-width: 600px; margin: 32px auto 0; }
.hero__cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero__visual {
  margin-top: clamp(48px, 8vw, 80px);
  filter: drop-shadow(0 32px 64px rgb(26 26 26 / 0.08));
}

/* ---------- Phone placeholder ---------- */
.phone {
  position: relative;
  aspect-ratio: 19.5 / 40;
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 768px) {
  .phone { max-width: 440px; }
}
.phone--narrow { max-width: 260px; }
@media (min-width: 768px) {
  .phone--narrow { max-width: 360px; }
}
.phone--md { max-width: 300px; }
@media (min-width: 768px) {
  .phone--md { max-width: 400px; }
}
.phone__statusbar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 24px;
  font-size: 11px;
  color: rgb(90 90 88 / 0.7);
}
.phone__statusbar svg { width: 40px; height: 10px; }
.phone__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 24px 48px;
  text-align: center;
  width: 100%;
}
.phone__label .eyebrow { font-size: 11px; color: rgb(90 90 88 / 0.6); }
.phone__label .name { font-size: 15px; font-weight: 500; color: rgb(26 26 26 / 0.7); }

/* ---------- How it works (3 cards) ---------- */
.how {
  display: grid;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
}
@media (min-width: 768px) {
  .how { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- Voice demo (3 frames) ---------- */
.voice-frames {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) {
  .voice-frames { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* ---------- Split (Ask Nura) ---------- */
.split {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ---------- Privacy section ---------- */
.privacy-strip { max-width: 760px; }
.privacy-strip h2 { font-size: clamp(22px, 2.2vw, 28px); }
.privacy-strip p + p { margin-top: 16px; }

/* ---------- Pricing summary (2 cards) ---------- */
.pricing-summary {
  display: grid;
  gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
}
@media (min-width: 768px) {
  .pricing-summary { grid-template-columns: 1fr 1fr; }
}
.pricing-summary .card { position: relative; }
.pricing-summary .card h3 { margin-bottom: 0; font-size: 24px; }
.pricing-summary .card .price {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pricing-summary .card .price strong {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  color: var(--fg);
}
.pricing-summary .card .price span { font-size: 15px; color: var(--muted); }
.pricing-summary .card p { margin-top: 16px; }
.pricing-summary .card .app-store-badge { margin-top: 32px; }
.pricing-summary .tag {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--fg);
  color: var(--bg);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Founder pricing callout ---------- */
.callout {
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-top: clamp(32px, 4vw, 48px);
}
@media (min-width: 768px) {
  .callout { padding: 28px 32px; }
}
.callout p {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--fg);
}
.callout p strong {
  font-family: var(--font-serif);
  font-weight: 600;
}
.callout p .callout__rest { color: var(--muted); }

.callout-block {
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-card);
  padding: 24px;
}
@media (min-width: 768px) {
  .callout-block { padding: 32px; }
}
.callout-block h3 { margin-bottom: 12px; font-size: clamp(18px, 1.6vw, 20px); }
.callout-block p { max-width: 720px; font-size: clamp(15px, 1.2vw, 16px); }

/* ---------- Pricing table (3 columns desktop) ---------- */
.pricing-table-wrap { display: none; }
@media (min-width: 768px) {
  .pricing-table-wrap { display: block; }
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  vertical-align: top;
}
.pricing-table thead th { border-top: 0; padding: 24px; }
.pricing-table thead .col-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--fg);
}
.pricing-table thead .col-sub {
  margin-top: 8px;
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
}
.pricing-table tbody th {
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
  width: 34%;
}
.pricing-table tbody td {
  font-size: 15px;
  color: var(--fg);
}
.pricing-table .col--accent { background: var(--accent-soft); }
.pricing-table .col--accent-tint { background: rgb(251 245 238 / 0.4); }
.pricing-table .check { display: inline-flex; }
.pricing-table .check svg { width: 18px; height: 18px; }
.pricing-table .dash { color: rgb(90 90 88 / 0.4); }
.pricing-table .footer-row td { padding: 24px; }

/* Mobile pricing — stacked cards */
.pricing-stack { display: block; }
@media (min-width: 768px) {
  .pricing-stack { display: none; }
}
.pricing-stack .tier {
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  padding: 24px;
  background: var(--bg);
}
.pricing-stack .tier + .tier { margin-top: 24px; }
.pricing-stack .tier--accent {
  border-width: 1.5px;
  border-color: rgb(26 26 26 / 0.15);
  background: rgb(251 245 238 / 0.5);
}
.pricing-stack .tier .col-title { font-family: var(--font-sans); font-size: 22px; font-weight: 600; }
.pricing-stack .tier .col-sub { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.pricing-stack .tier dl { margin-top: 24px; }
.pricing-stack .tier dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.pricing-stack .tier dl > div + div { margin-top: 12px; }
.pricing-stack .tier dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.pricing-stack .tier dt { font-size: 14px; color: var(--muted); }
.pricing-stack .tier dd { font-size: 14px; color: var(--fg); text-align: right; }
.pricing-stack .tier .app-store-badge { margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq {
  max-width: 860px;
  margin-inline: auto;
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq details:last-child { border-bottom: 0; }
.faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.5vw, 18px);
  font-weight: 500;
  color: var(--fg);
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: background 150ms ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgb(242 240 234 / 0.6); }
.faq summary::after {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'><path d='M9 3.5v11M3.5 9h11' stroke='%231A1A1A' stroke-width='1.5' stroke-linecap='round'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 200ms ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p {
  padding: 0 24px 24px;
  max-width: 760px;
  font-size: clamp(15px, 1.2vw, 16px);
  line-height: 1.6;
}

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  padding-block: clamp(80px, 10vw, 140px);
}
.final-cta p { margin-top: 24px; }
.final-cta .app-store-badge { margin-top: 40px; }

/* ---------- Long-form pages (about, privacy, terms) ---------- */
.longform .container--prose { padding-block-start: 0; }
.longform h1 { font-size: clamp(36px, 4.4vw, 48px); }
.longform .body-prose { margin-top: clamp(40px, 5vw, 64px); max-width: 720px; }
.longform .body-prose > * + * { margin-top: 16px; }
.longform .body-prose .lead + .lead { margin-top: 24px; }
.longform .body-section { margin-top: 48px; }
.longform .body-section h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin-bottom: 16px;
}
.longform .body-section p + p { margin-top: 16px; }
.longform .meta-divider {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ---------- 404 ---------- */
.not-found {
  text-align: center;
  padding-block: clamp(96px, 12vw, 128px);
}
.not-found .eyebrow { margin-bottom: 24px; }
.not-found h1 { max-width: 640px; margin-inline: auto; }
.not-found .lead { max-width: 560px; margin: 24px auto 0; }
.not-found .actions {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ---------- Utilities for small screens ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0ms !important;
    scroll-behavior: auto !important;
  }
}
