/* ============================================================
   ArieCare marketing site — hand-written design system.
   No framework. Tokens first, components second, pages third.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --blue: #1a6ff5;
  --blue-deep: #1459e1;
  --blue-ink: #142857;
  --blue-wash: #eef7ff;
  --blue-tint: #d9ecff;
  --green: #10b981;        /* semantic only: verified / live / compliant */
  --green-wash: #ecfdf5;
  --amber: #d97706;        /* semantic only: in-progress */
  --amber-wash: #fffbeb;

  /* Ink & paper */
  --ink: #0f1219;
  --ink-2: #1a1f2e;
  --text: #24303f;
  --muted: #5b6b80;
  --faint: #8b98ab;
  --paper: #ffffff;
  --paper-2: #f7f9fc;
  --line: #e3e9f1;
  --line-2: #cdd7e4;

  /* Type */
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;

  /* Rhythm */
  --radius: 10px;
  --radius-sm: 6px;
  --container: 1200px;
  --gutter: 24px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }

/* ---------- Type scale ---------- */
.h-xl { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
.h-lg { font-size: clamp(1.9rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.025em; }
.h-md { font-size: clamp(1.35rem, 2.2vw, 1.6rem); font-weight: 700; letter-spacing: -0.015em; }
.h-sm { font-size: 1.1rem; font-weight: 700; }
.lede { font-size: 1.15rem; line-height: 1.6; color: var(--muted); max-width: 40em; }
.small { font-size: 0.875rem; color: var(--muted); }

/* Eyebrow — mono, the spec-label voice of the site */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  display: block;
  margin-bottom: 14px;
}

/* Spec chip — regulatory codes as design material */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--blue-ink);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 4px 10px;
  white-space: nowrap;
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; }
.chip--dark { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); color: #c9dcff; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--paper { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--ink { background: var(--ink); color: #b9c4d4; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* Asymmetric split — the default editorial grid */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.split > * { min-width: 0; }
.split--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--rev > :first-child { order: 2; }
.split--rev > :last-child { order: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
  text-decoration: none !important;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); }
.btn--ghost { background: transparent; color: var(--blue-ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-deep); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--blue-wash); }
.btn--lg { padding: 15px 28px; font-size: 1.02rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand img { height: 34px; width: 34px; object-fit: contain; }
.brand span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand span em { font-style: normal; color: var(--blue); }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none !important;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--blue-deep); }
.site-nav a[aria-current="page"] { color: var(--blue-deep); border-bottom-color: var(--blue); }
.site-nav .btn { margin-left: 8px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #93a1b5; padding: 64px 0 32px; }
.site-footer a { color: #c3cede; text-decoration: none; font-size: 0.9rem; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-grid h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 0.82rem;
}
.footer-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 96px; overflow: hidden; }
.hero .split { align-items: start; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
.hero-note { font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }

/* ---------- Compliance rail ---------- */
.rail {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  padding: 14px 0;
}
.rail__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  justify-content: space-between;
}
.rail__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.rail__chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================================================
   Vignettes — hand-built product UI, stylized not pixel-real
   ============================================================ */
.vignette {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -32px rgba(20, 40, 87, 0.28);
  overflow: hidden;
  font-family: var(--font-body);
  pointer-events: none;
  user-select: none;
}
.vignette__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.vignette__crumb { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.05em; color: var(--muted); }
.vignette__badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--green-wash);
  color: #047857;
  border: 1px solid #a7f3d0;
}
.vignette__badge--amber { background: var(--amber-wash); color: var(--amber); border-color: #fde68a; }
.vignette__badge--blue { background: var(--blue-wash); color: var(--blue-deep); border-color: var(--blue-tint); }
.vignette__body { padding: 16px; display: grid; gap: 10px; }

.v-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}
.v-row--active { border-color: var(--blue-tint); background: var(--blue-wash); }
.v-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue-ink);
  font-size: 0.6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.v-title { font-size: 0.74rem; font-weight: 600; color: var(--ink-2); line-height: 1.3; }
.v-sub { font-size: 0.64rem; color: var(--muted); line-height: 1.3; }
.v-spacer { flex: 1; }
.v-pill {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
  flex: none;
}
.v-pill--ok { background: var(--green-wash); color: #047857; }
.v-pill--warn { background: var(--amber-wash); color: var(--amber); }
.v-pill--info { background: var(--blue-wash); color: var(--blue-deep); }
.v-pill--muted { background: var(--paper-2); color: var(--muted); }

.v-meter { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; flex: 1; }
.v-meter > i { display: block; height: 100%; border-radius: 999px; background: var(--blue); }
.v-meter--green > i { background: var(--green); }

.v-steps { display: flex; gap: 6px; }
.v-step {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  padding: 6px 2px;
  border-radius: 4px;
  background: var(--paper-2);
  color: var(--faint);
  border: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v-step--done { background: var(--green-wash); color: #047857; border-color: #a7f3d0; }
.v-step--active { background: var(--blue); color: #fff; border-color: var(--blue); }

.v-kv { display: flex; justify-content: space-between; font-size: 0.68rem; padding: 4px 2px; }
.v-kv b { color: var(--ink-2); font-weight: 600; }
.v-kv span { color: var(--muted); }
.v-divider { height: 1px; background: var(--line); margin: 2px 0; }
.v-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.v-stat { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; }
.v-stat b { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.v-stat span { font-size: 0.62rem; color: var(--muted); }

/* Floating secondary card on hero */
.vignette-stack { position: relative; }
.vignette-stack .vignette--float {
  position: absolute;
  right: -18px;
  bottom: -30px;
  width: 240px;
  box-shadow: 0 20px 40px -24px rgba(15, 18, 25, 0.35);
}

/* ---------- Feature cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none !important;
  color: var(--text);
  transition: border-color 140ms ease, transform 140ms ease;
}
a.feature-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.feature-card .code {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--faint);
  text-transform: uppercase;
}
.feature-card h3 { font-size: 1.02rem; margin: 2px 0 2px; }
.feature-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* Pillars — asymmetric, not three identical cards */
.pillars { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 24px; align-items: stretch; }
.pillar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.pillar--lead { background: var(--blue-ink); border-color: var(--blue-ink); }
.pillar--lead h3, .pillar--lead p { color: #fff; }
.pillar--lead p { color: #b9ccf2; }
.pillar h3 { font-size: 1.25rem; }
.pillar p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.pillar ul { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 9px; }
.pillar li { font-size: 0.88rem; display: flex; gap: 9px; align-items: baseline; }
.pillar li::before { content: "—"; color: var(--blue); font-weight: 700; flex: none; }
.pillar--lead li::before { color: #59b0ff; }
.pillar--lead li { color: #dbe7fb; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: baseline; font-size: 0.97rem; }
.checklist .tick {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--green);
  font-weight: 700;
  transform: translateY(-1px);
}

/* ---------- Module tour (platform page) ---------- */
.module { padding: 80px 0; border-top: 1px solid var(--line); }
.module:first-of-type { border-top: 0; }
.module__index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--faint);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}

/* ---------- Pricing ---------- */
.billing-toggle {
  display: inline-flex;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  background: var(--paper);
}
.billing-toggle button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 8px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--muted);
}
.billing-toggle button[aria-pressed="true"] { background: var(--blue-ink); color: #fff; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; margin-top: 48px; }
.plan {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan--featured { border-color: var(--blue); border-width: 2px; }
.plan__flag {
  position: absolute;
  top: -13px;
  left: 28px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--blue);
  color: #fff;
  border-radius: 4px;
  padding: 4px 10px;
}
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan__tagline { font-size: 0.9rem; color: var(--muted); min-height: 2.6em; }
.plan__price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.plan__price span { color: var(--muted); font-size: 0.9rem; }
.plan__meta { font-size: 0.82rem; color: var(--muted); margin-bottom: 6px; }
.plan__usage {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--blue-ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin: 14px 0 20px;
  line-height: 1.7;
}
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 9px; }
.plan li { font-size: 0.9rem; display: flex; gap: 9px; align-items: baseline; }
.plan li .tick { flex: none; font-family: var(--font-mono); font-size: 0.68rem; color: var(--green); font-weight: 700; }
.plan .btn { margin-top: auto; }

/* Feature matrix */
.matrix { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.matrix th, .matrix td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix th { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.matrix td:first-child, .matrix th:first-child { text-align: left; }
.matrix td:first-child { color: var(--text); }
.matrix .yes { color: var(--green); font-weight: 700; font-family: var(--font-mono); }
.matrix .no { color: var(--line-2); font-family: var(--font-mono); }
.matrix tbody tr:hover { background: var(--paper-2); }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; max-width: 56em; }

/* ---------- Status table (trust page) ---------- */
.status-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.status-table th, .status-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.status-table th { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 0.85rem; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.status--live { background: var(--green-wash); color: #047857; }
.status--live::before { background: var(--green); }
.status--progress { background: var(--amber-wash); color: var(--amber); }
.status--progress::before { background: var(--amber); }
.status--roadmap { background: var(--paper-2); color: var(--muted); }
.status--roadmap::before { background: var(--faint); }

/* ---------- Forms ---------- */
.form-card {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 36px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid > * { min-width: 0; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 11px 14px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 111, 245, 0.15);
}
.field .hint { font-size: 0.78rem; color: var(--muted); margin-top: 5px; }
.field .error { font-size: 0.78rem; color: #dc2626; margin-top: 5px; display: none; }
.field.invalid input { border-color: #dc2626; }
.field.invalid .error { display: block; }
.form-status { border-radius: 8px; padding: 14px 16px; font-size: 0.92rem; margin-top: 18px; display: none; }
.form-status--ok { display: block; background: var(--green-wash); color: #065f46; border: 1px solid #a7f3d0; }
.form-status--err { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Subdomain input group */
.subdomain-group { display: flex; align-items: stretch; }
.subdomain-group input { flex: 1 1 auto; width: auto; min-width: 0; border-radius: 8px 0 0 8px; border-right: 0; }
.subdomain-group .suffix {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-radius: 0 8px 8px 0;
  padding: 0 14px;
  white-space: nowrap;
}

/* Signup plan picker */
.plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan-pick label {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  display: block;
}
.plan-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plan-pick label:has(input:checked) { border-color: var(--blue); background: var(--blue-wash); box-shadow: inset 0 0 0 1px var(--blue); }
.plan-pick b { font-family: var(--font-display); display: block; color: var(--ink); }
.plan-pick .p { font-size: 0.82rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue-ink); border-radius: var(--radius); padding: 64px; display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #b9ccf2; margin: 0; }
.cta-band__actions { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Reveal animation ----------
   Hiding is gated on .js (added by main.js) so content is never
   invisible when JavaScript is unavailable. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms ease, transform 500ms ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Prose (about etc.) ---------- */
.prose { max-width: 680px; }
.prose h2 { margin-top: 2em; }
.prose p { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar--lead { grid-column: 1 / -1; }
  .split, .split--rev { grid-template-columns: 1fr; gap: 48px; }
  .split--rev > :first-child { order: 1; }
  .split--rev > :last-child { order: 2; }
  .plan-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .cta-band { grid-template-columns: 1fr; padding: 48px 36px; }
  .cta-band__actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 72px; }
  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px var(--gutter) 24px;
    gap: 4px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin: 12px 0 0; }
  .nav-toggle { display: block; }
  .card-grid, .card-grid--3, .pillars, .plan-pick, .form-grid { grid-template-columns: 1fr; }
  .vignette-stack .vignette--float { display: none; }
  .form-card { padding: 24px; }
  .matrix-wrap, .status-wrap { overflow-x: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}
