/* WhyRep landing page
   Palette and type are locked to brand/BRANDKIT.md. Never add colors. */

/* Self-hosted fonts (Core Web Vitals: no render-blocking Google Fonts request).
   Both families ship as variable woff2 from Google Fonts, so one file per subset
   covers the whole weight axis; the font-weight range on each face maps every used
   weight (Inter 400/500/600, Space Grotesk 500/600/700) onto that one file. OFL. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  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: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/space-grotesk-latin.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/space-grotesk-latin-ext.woff2") format("woff2");
  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;
}

:root {
  --graphite: #1C1E22;
  --bone: #F5F3EF;
  --signal: #2E6FF2;
  --amber: #E8A33D;
  --slate: #6B7280;

  --bone-deep: #ECE9E3;      /* bone, one step darker, for card fills (derived, not new hue) */
  --hairline: rgba(107, 114, 128, 0.25); /* slate at low opacity for dividers */
  --field: #fff;             /* form input fill */
  --signal-text: #2E6FF2;    /* signal used AS text; lightened in dark mode for contrast */

  /* Extended ramps (BRANDKIT.md, 2026-07-17) — derived steps, not new hues */
  --signal-ice: #DCE9FF;     /* soft signal field, the "citation" look */
  --signal-deep: #1F4FC4;    /* primary-button fill: 7.06:1 on white text, clears WCAG AA and AAA */
  --signal-press: #1A429F;   /* one step deeper again, so the button still has a hover state (9.04:1) */
  --amber-tint: #F7DFB2;     /* soft achievement field */

  /* The Iris W themes like a filled control (founder rule 2026-07-18): Core disc on light,
     Signal Tint disc on dark surfaces. */
  --lens-url: url("assets/lens-mark.svg");

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --max-w: 1080px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

/* Dark mode (brand/BRANDKIT.md Dark Mode section): remap the palette vars — ink and canvas
   swap, Slate and Signal lighten to hold contrast. Every value derives from the brand kit. */
[data-theme="dark"] {
  --graphite: #F5F3EF;       /* ink becomes bone */
  --bone: #141519;           /* canvas becomes graphite deep */
  --bone-deep: #22252B;      /* card fills become graphite raised */
  --slate: #A3A9B3;          /* slate bright */
  --hairline: rgba(163, 169, 179, 0.22);
  --field: #22252B;
  --signal-text: #8FB0F8;    /* signal tint */
  /* Soft fields on dark: low-alpha tint over the surface (ice would glare on graphite) */
  --signal-ice: rgba(143, 176, 248, 0.14);
  --amber-tint: rgba(232, 163, 61, 0.16);
  --lens-url: url("assets/lens-mark-dark.svg");
  color-scheme: dark;
}

/* Signature always-dark moments keep their light-mode graphite/bone look in BOTH themes
   (BRANDKIT rule): re-pin the raw palette for these subtrees. */
.decision-card, .cta-inner, .how-num {
  --graphite: #1C1E22;
  --bone: #F5F3EF;
  --slate: #6B7280;
  --field: #fff;
  --signal-text: #2E6FF2;
  /* These subtrees are graphite in BOTH themes, so the mark on them is always the
     dark (Signal Tint) variant. */
  --lens-url: url("assets/lens-mark-dark.svg");
}
/* On the dark canvas the graphite panels need an edge to separate. */
[data-theme="dark"] .decision-card,
[data-theme="dark"] .cta-inner { border: 1px solid rgba(245, 243, 239, 0.14); }

/* Theme toggle (nav) */
.theme-toggle {
  display: inline-grid; place-items: center;
  /* Was 38px. Audit 2026-07-26 flagged it under the 48px touch-target guideline; 44px is
     Apple's HIG minimum and the largest that keeps the nav bar visually balanced. */
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--hairline); background: transparent;
  color: var(--graphite); cursor: pointer;
  transition: border-color 160ms var(--ease), transform 160ms var(--ease);
}
.theme-toggle:hover { border-color: var(--signal); transform: translateY(-1px); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--graphite);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  transition: background-color 240ms var(--ease), color 240ms var(--ease);
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.015em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

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

::selection { background: var(--signal); color: #fff; }

/* ---------- Spot (mascot) ---------- */
.spot { display: block; height: auto; user-select: none; pointer-events: none; }

/* ---------- lens mark (THE logo) ----------
   The real SVG asset, not a CSS approximation: gradient hard stops alias at
   small sizes, the vector stays crisp at any size and DPR. Same file as
   brand/logos/lens-mark.svg — keep the two copies identical. */
.lens {
  display: inline-block; border-radius: 50%;
  background: var(--lens-url) center / contain no-repeat;
}
.lens-mark { width: 28px; height: 28px; }
.lens-live {
  width: 42px; height: 42px;
  box-shadow: 0 0 18px rgba(46, 111, 242, 0.35);
  animation: lens-breathe 3.2s ease-in-out infinite;
}
@keyframes lens-breathe {
  0%, 100% { box-shadow: 0 0 14px rgba(46, 111, 242, 0.3); }
  50%      { box-shadow: 0 0 26px rgba(46, 111, 242, 0.55); }
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: 14px 20px;
  background: color-mix(in srgb, var(--bone) 88%, transparent);
  backdrop-filter: blur(8px);
}
.nav-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--graphite); }
.nav-wordmark { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 13px 22px; border-radius: 10px;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background-color 160ms var(--ease);
  touch-action: manipulation;
  text-decoration: none; text-align: center;
}
/* Founder call 2026-07-26: white on Signal (#2E6FF2) measured 4.49:1 against WCAG AA's 4.5,
   so the primary CTA failed by 0.01. The fill moved one step down the existing Signal ramp to
   Signal Deep (7.06:1) and hover moved to a new derived step, so the button keeps a hover state
   instead of losing it. Signal itself is unchanged everywhere else. */
.btn-primary { background: var(--signal-deep); color: #fff; }
.btn-primary:hover { background: var(--signal-press); box-shadow: 0 6px 18px rgba(31, 79, 196, 0.28); transform: translateY(-1px); }
.btn-light { background: var(--bone); color: var(--graphite); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }
/* Was 9px padding, giving a 40px tall nav CTA. Audit 2026-07-26: under the touch guideline. */
.btn-small { padding: 11px 16px; font-size: 0.9rem; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.btn:active { transform: translateY(0) scale(0.98); }

.nav.is-scrolled { border-bottom: 1px solid var(--hairline); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1fr; gap: 48px;
  max-width: var(--max-w); margin: 0 auto; padding: 56px 20px 84px;
}
@media (min-width: 880px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; align-items: center; padding-top: 72px; }
}

.eyebrow {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.6rem); font-weight: 700; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--signal-text); }
.hero-sub { font-size: 1.13rem; color: var(--slate); max-width: 34em; margin-bottom: 32px; }

/* ---------- waitlist form ---------- */
.waitlist-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 480px; }
.waitlist-form input[type="email"] {
  flex: 1 1 220px; min-height: 48px;
  font: inherit; color: var(--graphite);
  padding: 12px 16px; border-radius: 10px;
  border: 1.5px solid var(--hairline); background: var(--field);
}
.waitlist-form input[type="email"]::placeholder { color: var(--slate); }
.waitlist-form input[type="email"]:focus { border-color: var(--signal); outline: none; box-shadow: 0 0 0 3px rgba(46, 111, 242, 0.2); }
.form-note { flex-basis: 100%; font-size: 0.85rem; color: var(--slate); }
.form-note.is-success { color: var(--graphite); font-weight: 600; }
.form-note.is-error { color: #B4232A; font-weight: 600; }
[data-theme="dark"] .form-note.is-error { color: #E58A8F; } /* same red, lightened for dark canvas */
/* Entrance for submit feedback; script.js resets the class + forces reflow so it replays. */
.form-note.is-success, .form-note.is-error { animation: note-in 380ms var(--ease) both; }
@keyframes note-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- hero stage: bloom + Spot presenting the decision card ---------- */
.hero-stage { position: relative; margin-top: clamp(84px, 10vw, 110px); }
@media (min-width: 880px) { .hero-stage { margin-top: 0; } }
.hero-bloom {
  position: absolute; inset: -12% 0;
  background: radial-gradient(ellipse at 62% 40%, rgba(46, 111, 242, 0.14) 0%, rgba(46, 111, 242, 0.05) 45%, transparent 70%);
  pointer-events: none;
}
/* Spot peeks over the top edge of the decision card (z-index below the card) */
.spot-hero {
  position: absolute; z-index: 0;
  width: clamp(140px, 15vw, 180px);
  top: calc(clamp(140px, 15vw, 180px) * -0.58);
  left: 26px;
}
@media (max-width: 879px) {
  .spot-hero { width: 130px; top: -76px; left: 18px; }
}

/* ---------- decision card (signature) ---------- */
.decision-card {
  position: relative; z-index: 1;
  background: var(--graphite); color: var(--bone);
  border-radius: var(--radius); padding: 26px 26px 18px;
  box-shadow: 0 24px 60px rgba(28, 30, 34, 0.22);
}
.decision-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.decision-exercise { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.decision-verdict { font-size: 0.85rem; color: #A7ADB8; display: flex; align-items: center; gap: 7px; }
.verdict-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); display: inline-block; }
.decision-call { font-size: 1.05rem; line-height: 1.5; margin-bottom: 18px; }

.trace-toggle {
  background: none; border: 1.5px solid rgba(245, 243, 239, 0.3); color: var(--bone);
  font: inherit; font-weight: 600; font-size: 0.9rem;
  padding: 10px 16px; border-radius: 8px; cursor: pointer; min-height: 44px;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
  touch-action: manipulation;
}
.trace-toggle::after {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 10px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 320ms var(--ease);
}
.trace-toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-2px, -2px); }
.trace-toggle:hover { border-color: var(--signal); background: rgba(46, 111, 242, 0.12); }
.trace-toggle[aria-expanded="true"] { border-color: var(--signal); color: #fff; }
/* Gentle pulse until the first open — this button is the whole pitch */
.trace-toggle.is-nudging { animation: why-nudge 2.8s ease-in-out infinite; }
@keyframes why-nudge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 111, 242, 0); }
  50%      { box-shadow: 0 0 0 6px rgba(46, 111, 242, 0.16); border-color: var(--signal); }
}

/* Collapsed by default; the 0fr -> 1fr grid row animates the height open */
.trace-wrap {
  display: grid; grid-template-rows: 0fr;
  border-top: 1px solid transparent;
  transition: grid-template-rows 480ms var(--ease), margin-top 480ms var(--ease),
              border-top-color 480ms var(--ease);
}
.trace-wrap.is-open { grid-template-rows: 1fr; margin-top: 16px; border-top-color: rgba(245, 243, 239, 0.14); }
.trace { list-style: none; overflow: hidden; min-height: 0; }
.trace-step {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 11px 2px; border-bottom: 1px solid rgba(245, 243, 239, 0.09);
  font-size: 0.92rem;
  opacity: 0; transform: translateY(6px);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}
.trace-wrap.is-open .trace-step { opacity: 1; transform: none; }
.trace-wrap.is-open .trace-step:nth-child(2) { transition-delay: 100ms; }
.trace-wrap.is-open .trace-step:nth-child(3) { transition-delay: 200ms; }
.trace-wrap.is-open .trace-step:nth-child(4) { transition-delay: 300ms; }
.trace-wrap.is-open .trace-step:nth-child(5) { transition-delay: 400ms; }
.trace-cite {
  flex-shrink: 0; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: #8FB0F8; /* signal tint, from the kit */ border: 1px solid rgba(46, 111, 242, 0.5); border-radius: 999px; padding: 3px 9px;
}
.trace-outcome .trace-data { font-weight: 600; }
.trace-cite-outcome { color: var(--amber); border-color: rgba(232, 163, 61, 0.55); }
.decision-disclaimer { margin-top: 14px; font-size: 0.75rem; color: #8A909B; }

/* ---------- shared section rhythm ---------- */
.problem, .product, .how, .trust, .faq { max-width: var(--max-w); margin: 0 auto; padding: 84px 20px; }
.problem h2, .product h2, .how h2, .trust h2, .faq h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 40px; max-width: 22em; }
.problem .eyebrow, .product .eyebrow, .how .eyebrow, .trust .eyebrow, .faq .eyebrow { margin-bottom: 12px; }
.trust-head h2 { margin-bottom: 40px; }
.cta { margin-top: 40px; }
.problem { border-top: 1px solid var(--hairline); }

/* ---------- problem + product (the two main features) ---------- */
.product { border-top: 1px solid var(--hairline); }
.problem-grid, .product-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .problem-grid, .product-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .product-grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
.problem-card, .product-card {
  background: var(--bone-deep); border-radius: var(--radius); padding: 28px;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.problem-card:hover, .product-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(28, 30, 34, 0.08); }
.problem-card h3, .product-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.problem-card p, .product-card p { color: var(--slate); }
.product-card { border-top: 3px solid var(--signal); border-radius: 0 0 var(--radius) var(--radius); background: var(--bone); border-left: 1.5px solid var(--hairline); border-right: 1.5px solid var(--hairline); border-bottom: 1.5px solid var(--hairline); }
.problem-thesis { margin-top: 40px; font-family: var(--font-display); font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 600; max-width: 26em; }
.problem-thesis strong { color: var(--signal-text); }

/* ---------- how it works (a real sequence, numbers carry meaning) ---------- */
.how { border-top: 1px solid var(--hairline); }
.how-steps { list-style: none; display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 820px) { .how-steps { grid-template-columns: repeat(3, 1fr); } }
.how-step {
  position: relative; padding: 28px 24px 24px; border: 1.5px solid var(--hairline); border-radius: var(--radius);
  background: var(--bone);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.how-step:hover { transform: translateY(-3px); border-color: rgba(46, 111, 242, 0.45); box-shadow: 0 14px 30px rgba(28, 30, 34, 0.07); }
.how-num {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--graphite); color: var(--bone);
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  margin-bottom: 16px;
}
.how-step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.how-step p { color: var(--slate); font-size: 0.97rem; }

/* ---------- trust ---------- */
.trust { border-top: 1px solid var(--hairline); }
.trust-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.spot-trust { width: clamp(96px, 12vw, 150px); margin-bottom: 12px; }
.trust-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-item h3 { font-size: 1.08rem; margin-bottom: 10px; padding-top: 14px; border-top: 3px solid var(--signal); display: inline-block; }
.trust-item p { color: var(--slate); font-size: 0.97rem; }

/* ---------- FAQ ----------
   Added 2026-07-26. The FAQPage JSON-LD had declared these four Q&As with nothing on the page
   showing them, which is a structured-data policy violation regardless of rich-result eligibility.
   Styled off the .trust-item pattern (Signal rule over the question) so it reads as part of the
   existing system rather than a bolted-on block. */
.faq { border-top: 1px solid var(--hairline); }
.faq-list { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .faq-list { grid-template-columns: 1fr 1fr; gap: 32px 48px; } }
.faq-item dt {
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  margin-bottom: 10px; padding-top: 14px; border-top: 3px solid var(--signal);
  display: inline-block;
}
.faq-item dd { margin: 0; color: var(--slate); font-size: 0.97rem; }

/* ---------- final CTA ---------- */
.cta { padding: 24px 20px 96px; max-width: var(--max-w); margin: 0 auto; }
.cta { overflow: visible; }
.cta-inner {
  position: relative;
  background: var(--graphite); color: var(--bone);
  border-radius: calc(var(--radius) + 6px); padding: clamp(36px, 6vw, 64px);
}
.spot-cta {
  position: absolute;
  width: clamp(104px, 13vw, 170px);
  right: clamp(16px, 5vw, 56px); top: calc(clamp(104px, 13vw, 170px) * -0.52);
  filter: drop-shadow(0 12px 20px rgba(28, 30, 34, 0.35));
}
.cta-inner h2, .cta-inner .cta-sub, .cta-inner .waitlist-form { position: relative; }
.cta-inner h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); max-width: 18em; margin-bottom: 14px; }
.cta-sub { color: #A7ADB8; margin-bottom: 28px; max-width: 36em; }
.cta-inner .waitlist-form input[type="email"] { border-color: transparent; }
.cta-inner .form-note { color: #8A909B; }
.cta-inner .form-note.is-success { color: var(--bone); }
.cta-inner .form-note.is-error { color: var(--amber); }

/* ---------- footer ---------- */
.footer {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: 26px 20px 40px;
  border-top: 1px solid var(--hairline);
  font-size: 0.86rem; color: var(--slate);
}
/* Legal links. The footer previously had none, which is a trust gap on a page whose only
   conversion action is handing over an email. */
.footer-links { display: inline-flex; gap: 18px; }
.footer-links a { color: var(--slate); text-decoration: none; border-bottom: 1px solid transparent; padding: 12px 0; }
.footer-links a:hover { color: var(--signal-text); border-bottom-color: currentColor; }

.footer-brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; color: var(--graphite); }
.footer-brand .lens-mark { width: 21px; height: 21px; }

/* ---------- reveal on scroll ----------
   Gated on `.js`, which the inline head script adds. Without that gate the rule was
   `opacity: 0` unconditionally, so with JavaScript disabled or blocked every revealed
   element stayed invisible forever: the hero stage, all product cards, how-it-works,
   trust, the FAQ and the final CTA. The page still SERVED its full HTML, so crawlers
   were fine and this never showed up in an audit, but a human with JS off saw a
   near-blank page. The inline script also arms a failsafe timer for the other case,
   where JS runs but script.js itself fails to load. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 420ms var(--ease), transform 420ms var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .trace-step { opacity: 1; transform: none; transition: none; }
  .btn, .trace-toggle, .trace-toggle::after, .trace-wrap, .problem-card, .how-step { transition: none; }
  .lens-live, .trace-toggle.is-nudging, .form-note.is-success, .form-note.is-error { animation: none; }
}
