/* ==========================================================================
   Clea — landing page styles
   Mobile-first. Brand tokens first, then base, layout, sections, motion.
   ========================================================================== */

:root {
  /* Brand colour */
  --teal: #1F5C58;
  --teal-deep: #184A47;      /* hover state for teal buttons */
  --marigold: #E8A33D;       /* fills only, never text */
  --clay: #B8664A;           /* supporting graphics only */
  --cream: #FBF6EE;
  --sand: #F1E7D6;
  --ink: #1E2A28;
  --ink-muted: #55625F;
  --error: #B3261E;
  --line: rgba(30, 42, 40, 0.12);
  --line-strong: rgba(30, 42, 40, 0.28);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-deva: "Noto Sans Devanagari", "Noto Sans", system-ui, sans-serif;
  --font-gujr: "Noto Sans Gujarati", "Noto Sans", system-ui, sans-serif;

  /* Shape */
  --radius: 12px;
  --radius-lg: 24px;
  --shadow-soft: 0 1px 2px rgba(30, 42, 40, 0.04), 0 12px 32px -12px rgba(30, 42, 40, 0.14);

  /* Layout */
  --max: 1200px;
  --gutter: 20px;
  --measure: 65ch;
  --section-y: clamp(56px, 7vw, 96px);
  --nav-h: 68px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 700ms;
}

@media (min-width: 768px) {
  :root { --gutter: 40px; --nav-h: 76px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;      /* 17px */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 1024px) { body { font-size: 1.125rem; } } /* 18px */

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

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, .display, .step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-optical-sizing: auto;
  color: var(--ink);
  text-wrap: balance;
}
h2 {
  font-size: clamp(2rem, 1.45rem + 2.2vw, 3.125rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
h3 { font-size: 1.1875rem; line-height: 1.4; font-weight: 600; }

p { text-wrap: pretty; }

a { color: var(--teal); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.script-deva { font-family: var(--font-deva); }
.script-gujr { font-family: var(--font-gujr); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--xs { width: 14px; height: 14px; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 28px; height: 28px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--teal); color: var(--cream);
  padding: 12px 18px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

main:focus { outline: none; }
/* Keep anchor targets and focused fields clear of the sticky nav */
[id], input, select, textarea { scroll-margin-top: calc(var(--nav-h) + 24px); }
section[tabindex]:focus { outline: none; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  /* tiny marigold disc, echoing the logo */
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--marigold); flex: none;
}
.lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 52ch;
}
@media (min-width: 1024px) { .lead { font-size: 1.25rem; } }
.muted { color: var(--ink-muted); }
.caption { font-size: 1rem; color: var(--ink-muted); }

.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 + .lead { margin-top: 20px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 0; border-radius: var(--radius);
  font: 600 1.0625rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color 200ms var(--ease), opacity 200ms var(--ease);
}
.btn--primary { background: var(--teal); color: var(--cream); }
.btn--primary:hover { background: var(--teal-deep); }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 1rem; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 1.125rem; }
.btn--cream { background: var(--cream); color: var(--teal); }
.btn--cream:hover { background: #fff; }
.btn[aria-busy="true"] { cursor: progress; opacity: 0.8; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px;
  font-weight: 600; color: var(--teal);
  text-decoration: underline; text-decoration-color: rgba(31, 92, 88, 0.35);
}
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease);
}
.site-header.is-scrolled,
.site-header.is-open {
  background: var(--cream);
  border-bottom-color: var(--line);
}
.nav {
  height: 100%;
  display: flex; align-items: center; gap: 12px;
}
.nav__logo { display: inline-flex; padding: 6px 0; margin-right: auto; border-radius: 6px; }
.nav__logo img { height: 28px; width: auto; }
@media (min-width: 768px) { .nav__logo img { height: 32px; } }

.nav__toggle {
  order: 3;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: transparent; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  cursor: pointer;
}
.nav__menu {
  position: absolute; left: 0; right: 0; top: var(--nav-h);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 20px;
  display: none;
}
.site-header.is-open .nav__menu { display: block; }
.nav__links a {
  display: flex; align-items: center; min-height: 52px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.125rem;
  border-bottom: 1px solid var(--line);
}
.nav__cta { white-space: nowrap; }
@media (max-width: 379px) { .nav__cta { padding-inline: 12px; font-size: 0.9375rem; } }

@media (min-width: 900px) {
  .nav__toggle { display: none; }
  .nav__menu {
    position: static; display: block; padding: 0; border: 0; background: none;
    margin-right: 12px;
  }
  .nav__links { display: flex; gap: 8px; }
  .nav__links a {
    min-height: 44px; padding: 0 14px; border: 0; font-size: 1rem; border-radius: var(--radius);
  }
  .nav__links a:hover { text-decoration: underline; text-decoration-color: rgba(31,92,88,.35); color: var(--teal); }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(24px, 5vw, 56px) clamp(48px, 6vw, 72px); overflow: clip; }
.hero__grid { display: grid; gap: 56px; align-items: center; }
.display {
  font-size: clamp(2.5rem, 1.55rem + 3.9vw, 4.375rem);  /* 40px → 70px */
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 13ch;
}
.hero .lead { margin-top: 24px; }
.hero__actions {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
}


@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; gap: 48px; }
}

/* Arch frame behind the hero phone (echoes the logo: rounded top, square bottom-left, soft bottom-right) */
.hero__visual { display: flex; justify-content: center; }
.arch-frame {
  --w: min(440px, 88vw);
  position: relative;
  width: var(--w);
  padding: 56px 0 0;
  display: flex; justify-content: center;
}
.arch-frame__arch {
  position: absolute; inset: 0 0 -24px 0;
  background: var(--sand);
  border-radius: calc(var(--w) / 2) calc(var(--w) / 2) 72px 0;
}
.arch-frame__arch::after {
  /* the small marigold disc from the mark, as a quiet accent */
  content: ""; position: absolute;
  right: 11%; bottom: 14%;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--marigold);
}

/* ---------- Phone mockup (pure HTML/CSS) ---------- */
.phone {
  --pw: 290px;
  position: relative;
  width: var(--pw);
  aspect-ratio: 9 / 18.6;
  padding: 10px;
  background: var(--ink);
  border-radius: 46px;
  box-shadow: var(--shadow-soft);
  flex: none;
}
.phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--cream);
  border-radius: 36px;
  font-size: 15px;
  line-height: 1.45;
}
.phone__status {
  display: flex; align-items: center; justify-content: space-between;
  height: 40px; padding: 0 22px 0 26px;
  font-size: 13px; font-weight: 600;
}
.phone__notch {
  width: 84px; height: 24px; border-radius: 999px; background: var(--ink);
}
.phone__bars {
  width: 22px; height: 11px; border-radius: 3px; border: 1.5px solid var(--ink); position: relative;
}
.phone__bars::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: var(--ink); border-radius: 1px; }

.app { padding: 8px 16px 16px; display: grid; gap: 12px; }
.app__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.app__kicker { font-size: 12.5px; color: var(--ink-muted); }
.app__title {
  font-family: var(--font-display); font-weight: 600; font-variation-settings: "SOFT" 100;
  font-size: 20px; line-height: 1.15; letter-spacing: -0.01em;
}
.app__foot { font-size: 12.5px; color: var(--ink-muted); text-align: center; padding-top: 2px; }
.avatar {
  display: inline-grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--sand); color: var(--ink);
  font-weight: 600; font-size: 14px;
}
.avatar--teal { background: var(--teal); color: var(--cream); }

.lang-toggle {
  display: grid; grid-template-columns: repeat(3, 1fr) auto;
  padding: 4px; gap: 4px;
  background: var(--sand); border-radius: var(--radius);
}
.lang-toggle__btn {
  min-height: 40px; padding: 4px 2px;
  border: 0; border-radius: 9px; background: transparent;
  font: 600 13px/1.2 var(--font-body); color: var(--ink-muted);
  cursor: pointer;
  transition: background-color 250ms var(--ease), color 250ms var(--ease);
}
.lang-toggle__btn[aria-pressed="true"] { background: var(--cream); color: var(--teal); box-shadow: 0 1px 2px rgba(30,42,40,.08); }
.lang-toggle__btn:focus-visible { outline-offset: 0; }
.lang-toggle__more {
  display: grid; place-items: center; padding: 0 8px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-muted); white-space: nowrap;
}

.result-card {
  padding: 14px; border-radius: var(--radius);
  background: #fff8ec; border: 1px solid var(--line);
  display: grid; gap: 10px;
}
.result-card__row { display: flex; align-items: baseline; justify-content: space-between; }
.result-card__term { font-weight: 600; }
.result-card__value { font-family: var(--font-display); font-weight: 600; font-size: 26px; font-variation-settings: "SOFT" 100; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; justify-self: start;
  padding: 4px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
}
.badge--ok { background: rgba(31, 92, 88, 0.1); color: var(--teal); }

.explain__label { font-size: 12.5px; font-weight: 600; color: var(--teal); margin-bottom: 4px; }
.explain__body { display: grid; }
.explain__body > p { grid-area: 1 / 1; font-size: 16px; line-height: 1.5; }

.ask {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px; border-radius: var(--radius);
  background: var(--sand); font-size: 13.5px;
}
.ask .icon { color: var(--teal); margin-top: 2px; }

/* ---------- How it works (compact) ---------- */
.section-head--tight { margin-bottom: clamp(28px, 4vw, 44px); }
.steps { display: grid; gap: 12px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start;
  padding: 20px; border-radius: var(--radius); background: var(--sand);
}
.step__icon {
  grid-row: span 2;
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 24px 24px 8px 8px; /* tiny arch */
  background: var(--cream); color: var(--teal);
}
.step h3 { font-size: 1.1875rem; line-height: 1.3; padding-top: 2px; }
.step p { color: var(--ink-muted); }
.step { align-content: start; }
.step--highlight { box-shadow: inset 0 0 0 2px var(--teal); }
.step__ask {
  grid-column: 1 / -1;
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 10px; padding: 12px 14px;
  border-radius: var(--radius); background: var(--cream);
  color: var(--ink) !important; font-size: 1rem; line-height: 1.5;
}
.step__ask .icon { color: var(--teal); margin-top: 3px; }
.step__ask strong { color: var(--teal); }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .step { grid-template-columns: 1fr; padding: 28px; gap: 8px; }
  .step__icon { grid-row: auto; margin-bottom: 12px; }
}

/* Before / after examples (rotate automatically; see main.js) */
.jargon {
  margin-top: clamp(20px, 3vw, 28px);
  padding: clamp(28px, 5vw, 52px) clamp(20px, 5vw, 56px) clamp(20px, 3vw, 28px);
  border-radius: var(--radius-lg);
  background: var(--teal); color: var(--cream);
  position: relative; overflow: hidden;
  text-align: center;
}
.jargon::after {
  /* faint arch outline motif */
  content: ""; position: absolute;
  right: -40px; bottom: -140px; width: 260px; height: 340px;
  border: 2px solid rgba(251, 246, 238, 0.12);
  border-radius: 130px 130px 0 0;
  pointer-events: none;
}
.jargon__stage { position: relative; z-index: 1; display: grid; gap: 20px; justify-items: center; }
.jargon__group { display: grid; justify-items: center; gap: 14px; }
.jargon__tag {
  display: block; text-align: center; text-wrap: balance;
  font-weight: 600; font-size: 1rem; line-height: 1.4; color: var(--cream);
}
.jargon__tag .icon { display: inline-block; vertical-align: -3px; margin-right: 8px; }
.jargon__line {
  max-width: 24ch;
  font-family: var(--font-display); font-weight: 600; font-variation-settings: "SOFT" 100;
  font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.375rem);
  line-height: 1.2; letter-spacing: -0.01em;
  color: var(--cream);
}
.jargon__group--before .jargon__line { color: rgba(251, 246, 238, 0.82); }
.jargon__probe { position: absolute; visibility: hidden; left: 0; right: 0; top: 0; pointer-events: none; }

/* Static view (no JS / reduced motion): both versions, one above the other */
:root:not(.motion) .jargon__group--before .jargon__line { font-size: clamp(1.125rem, 1rem + 0.8vw, 1.5rem); }

/* Motion: the two versions share one spot and slide up through it */
.motion .jargon__stage { gap: 0; align-content: center; }
.motion .jargon__group {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(24px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.motion .jargon__group.is-in { opacity: 1; transform: none; }
.motion .jargon__group.is-out { opacity: 0; transform: translateY(-24px); }
.motion .jargon__group.no-anim { transition: none; }

.jargon__controls {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 24px;
}
.jargon__dots { display: flex; gap: 2px; }
.jargon__dot {
  width: 32px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.jargon__dot::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid rgba(251, 246, 238, 0.7); background: transparent;
  transition: background-color 300ms var(--ease);
}
.jargon__dot[aria-current="true"]::before { background: var(--cream); border-color: var(--cream); }
.jargon__pause {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(251, 246, 238, 0.12); color: var(--cream);
  border: 0; cursor: pointer;
}
.jargon__pause:hover { background: rgba(251, 246, 238, 0.2); }
.jargon :focus-visible { outline-color: var(--cream); }

/* ---------- Join (links to the Google Form) ---------- */
.join { padding-top: 0; }
.join__panel {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 72px);
  border-radius: var(--radius-lg);
  background: var(--teal); color: var(--cream);
}
.join__panel::before {
  /* large faint arch outline */
  content: ""; position: absolute;
  left: -120px; bottom: -220px; width: 460px; height: 600px;
  border: 2px solid rgba(251, 246, 238, 0.1);
  border-radius: 230px 230px 0 0;
  pointer-events: none;
}
.join__panel > * { position: relative; }
.join__mark { height: 30px; width: auto; margin-bottom: 28px; }
.join__panel h2 {
  color: var(--cream);
  font-size: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem); line-height: 1.05; letter-spacing: -0.02em;
  max-width: 18ch;
}
.join__panel .lead { color: rgba(251, 246, 238, 0.88); margin: 20px auto 32px; }
.join__note { margin-top: 14px; font-size: 1rem; color: rgba(251, 246, 238, 0.88); }
.join__points {
  margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px;
}
.join__points li { display: flex; gap: 10px; align-items: center; }
.join__points .icon { color: var(--marigold); }
.join__panel a:not(.btn) { color: var(--cream); }
.join__panel :focus-visible { outline-color: var(--cream); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 8px; }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; }
}
.accordion { border-top: 1px solid var(--line-strong); }
.accordion__item { border-bottom: 1px solid var(--line-strong); }
.accordion__heading { font-size: inherit; }
.accordion__btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 72px; padding: 18px 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font: 600 1.1875rem/1.4 var(--font-body); color: var(--ink);
}
.accordion__btn:hover { color: var(--teal); }
.accordion__btn .icon { color: var(--teal); transition: transform 300ms var(--ease); }
.accordion__btn[aria-expanded="true"] .icon { transform: rotate(45deg); }
.accordion__panel { padding: 0 40px 24px 0; }
.accordion__panel p { color: var(--ink-muted); max-width: var(--measure); }
.motion .accordion__panel { transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.motion .accordion__panel.is-entering { opacity: 0; transform: translateY(-6px); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal); color: var(--cream);
  padding-block: clamp(56px, 8vw, 96px) 32px;
}
.site-footer a { color: var(--cream); }
.footer__grid { display: grid; gap: 40px; }
.footer__brand img { height: 36px; width: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 40ch; color: rgba(251, 246, 238, 0.88); }
.footer__nav ul { display: grid; gap: 4px; }
.footer__nav a {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  text-decoration: none; font-weight: 600;
}
.footer__nav a:hover { text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--cream); }
.footer__base {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(251, 246, 238, 0.2);
  display: grid; gap: 8px;
  font-size: 1rem; color: rgba(251, 246, 238, 0.88);
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1fr auto; align-items: start; }
  .footer__base { grid-template-columns: 1fr auto; }
}

/* ==========================================================================
   Motion. Only runs when JS adds .motion (i.e. prefers-reduced-motion is off).
   Animates transform and opacity only.
   ========================================================================== */
.motion [data-reveal],
.motion [data-reveal-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.motion [data-reveal].is-visible,
.motion [data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: none;
}
/* Hero load sequence */
@keyframes fade-up {
  from { opacity: 0; transform: translate3d(0, 20px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-in {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to   { opacity: 1; transform: none; }
}
.motion [data-hero] { opacity: 0; animation: fade-up 800ms var(--ease) forwards; }
.motion [data-hero]:nth-child(1) { animation-delay: 80ms; }
.motion [data-hero]:nth-child(2) { animation-delay: 180ms; }
.motion [data-hero]:nth-child(3) { animation-delay: 280ms; }
.motion [data-hero]:nth-child(4) { animation-delay: 380ms; }
.motion [data-hero]:nth-child(5) { animation-delay: 480ms; }
.motion [data-hero-visual] .arch-frame__arch { opacity: 0; animation: fade-in 1200ms var(--ease) 200ms forwards; }
.motion [data-hero-visual] .phone { opacity: 0; animation: fade-up 1000ms var(--ease) 450ms forwards; }

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

/* ---------- Privacy page (not published yet; styles kept for when privacy.html is added) ---------- */
.legal { padding-block: clamp(40px, 7vw, 96px) var(--section-y); }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.5rem, 1.8rem + 2.8vw, 3.75rem); line-height: 1.05; letter-spacing: -0.02em; }
.legal h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-top: 48px; margin-bottom: 12px; }
.legal p, .legal li { max-width: var(--measure); }
.legal p + p { margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 1.25em; display: grid; gap: 8px; margin-top: 12px; }
.legal .lead { margin-top: 20px; }
.draft-note {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 28px; padding: 16px 20px;
  border-radius: var(--radius); border: 2px dashed var(--clay); background: var(--sand);
}
.draft-note .icon { color: var(--clay); margin-top: 2px; }
.legal__meta { margin-top: 12px; color: var(--ink-muted); font-size: 1rem; }
.back-link { margin-bottom: 24px; }

/* ---------- Compact hero phone on small screens ---------- */
@media (max-width: 959px) {
  .hero__grid { gap: 40px; }
  .arch-frame { padding-top: 40px; }
  .phone--hero { aspect-ratio: auto; }
  .phone--hero .phone__screen { height: auto; padding-bottom: 6px; }
}
