/* Gal Ščavničar site.
   Shape rule: buttons are full pills, cards and images 20px, inputs 12px.
   One accent (cobalt), auto light/dark via prefers-color-scheme. */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f3f3f1;
  --surface: #ffffff;
  --surface-2: #e8e8e5;
  --text: #121316;
  --muted: #565961;
  --line: rgba(18, 19, 22, 0.12);
  --accent: #2f4dff;
  --accent-ink: #ffffff;
  --accent-text: #2440e6;
  --accent-soft: rgba(47, 77, 255, 0.08);
  --danger: #b42318;
  --shadow: 0 1px 0 rgba(18, 19, 22, 0.04), 0 18px 40px -18px rgba(28, 38, 92, 0.28);

  --radius-card: 20px;
  --radius-input: 12px;
  --radius-pill: 999px;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0d0f;
    --surface: #15161a;
    --surface-2: #1d1e23;
    --text: #ececee;
    --muted: #a0a3ab;
    --line: rgba(236, 236, 238, 0.12);
    --accent: #4a63ff;
    --accent-ink: #ffffff;
    --accent-text: #8c9dff;
    --accent-soft: rgba(74, 99, 255, 0.14);
    --danger: #ff7a6e;
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 767px) { .wrap { padding: 0 16px; } }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 30;
  background: var(--accent); color: var(--accent-ink);
  padding: 8px 16px; border-radius: var(--radius-pill); text-decoration: none;
}
.skip:focus { top: 12px; }

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

.icon { width: 1.1em; height: 1.1em; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  font: inherit; font-weight: 550; font-size: 16px; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--text)); }
.btn-primary .icon { transition: transform 0.25s var(--ease); }
.btn-primary:hover .icon { transform: translateX(3px); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[hidden] { display: none; }

.eyebrow { font-family: var(--mono); font-size: 13.5px; letter-spacing: 0.02em; color: var(--accent-text); margin-bottom: 14px; }

/* Inline, so the arrow follows the last word when the text wraps. */
.text-link {
  display: inline-block;
  color: var(--accent-text); font-weight: 550; text-decoration: none; letter-spacing: -0.01em;
}
.text-link .icon { display: inline-block; margin-left: 8px; vertical-align: -0.18em; transition: transform 0.25s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.wordmark { font-weight: 650; letter-spacing: -0.03em; font-size: 18px; text-decoration: none; }
.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color 0.2s var(--ease); }
.nav a:hover { color: var(--text); }
@media (max-width: 767px) {
  .nav { display: none; }
  .header-inner { height: 60px; }
  .site-header .btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
}

/* Hero */
.hero { padding: 64px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 56px; align-items: center; min-height: calc(100dvh - 68px - 112px); }
.hero h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -0.045em; max-width: 21ch; }
.hero-sub { margin-top: 24px; font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 44ch; }
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 15px; color: var(--muted); }

.hero-visual { margin: 0; justify-self: end; width: 100%; max-width: 420px; }
.device {
  border-radius: var(--radius-card); overflow: hidden;
  background: #1c2733; box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}
.hero-visual figcaption { margin-top: 16px; font-size: 14px; color: var(--muted); text-align: right; }

@media (max-width: 899px) {
  .hero { padding: 40px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .hero-visual { justify-self: center; max-width: 360px; }
  .hero-visual figcaption { text-align: center; }
}
@media (max-width: 479px) {
  .hero-ctas .btn { width: 100%; }
}

/* Sections */
.section { padding: 112px 0; }
.section h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; max-width: 24ch; text-wrap: balance; }
.lead { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 60ch; }
@media (max-width: 767px) { .section { padding: 72px 0; } }

/* Results bento: 4 cells, 4 pieces of content */
.bento {
  margin-top: 56px;
  display: grid; gap: 16px;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: auto auto;
}
.cell {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 32px;
  display: flex; flex-direction: column; gap: 10px; overflow: hidden;
}
.cell h3 { font-size: 20px; letter-spacing: -0.02em; }
.cell p:not(.figure) { color: var(--muted); font-size: 16px; }
.figure { font-weight: 600; font-variant-numeric: tabular-nums; font-size: clamp(52px, 5.4vw, 84px); line-height: 1; letter-spacing: -0.055em; margin-bottom: 8px; }

.cell-accent { background: var(--accent); border-color: transparent; color: var(--accent-ink); justify-content: flex-end; min-height: 300px; }
.cell-accent p:not(.figure) { color: var(--accent-ink); }

.cell-image { grid-column: 2 / 4; grid-row: 1; flex-direction: row; align-items: stretch; gap: 32px; padding: 32px 0 0 32px; }
.cell-image .cell-text { display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; padding-bottom: 32px; flex: 1; }
.cell-image img { width: 46%; align-self: flex-end; border-radius: 14px 0 0 0; }

.cell-muted { background: var(--surface-2); }
.bento .cell:nth-child(3) { grid-column: 1 / 3; }

@media (max-width: 899px) {
  .bento { grid-template-columns: 1fr; }
  .cell-image, .bento .cell:nth-child(3) { grid-column: auto; grid-row: auto; }
  .cell-accent { min-height: 0; }
  .cell-image { flex-direction: column; padding: 32px 0 0 32px; }
  .cell-image .cell-text { padding: 0 32px 0 0; }
  .cell-image img { width: 78%; align-self: flex-end; }
}

/* Problem: statement list */
.problem { padding-bottom: 32px; }
.problem h2 { font-size: clamp(36px, 4.4vw, 60px); max-width: 20ch; letter-spacing: -0.04em; }
.leaks { list-style: none; margin: 48px 0 0; padding: 0 0 0 28px; border-left: 2px solid var(--accent); display: grid; gap: 22px; max-width: 46ch; }
.leaks li { font-size: clamp(20px, 2vw, 26px); line-height: 1.35; letter-spacing: -0.02em; color: var(--muted); }
.problem .text-link { margin-top: 40px; font-size: 18px; }
@media (max-width: 767px) {
  .problem { padding-bottom: 8px; }
  .leaks { margin-top: 32px; padding-left: 20px; }
  .problem .text-link { margin-top: 32px; font-size: 17px; }
}

/* Funnel track */
.track {
  list-style: none; margin: 64px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line);
  counter-reset: none;
}
.stage { position: relative; padding: 40px 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.stage::before {
  content: ""; position: absolute; top: -6px; left: 0;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 5px var(--bg);
}
.stage h3 { font-size: 26px; }
.stage p { color: var(--muted); font-size: 16px; }
.measure { margin-top: auto; padding-top: 12px; font-family: var(--mono); font-size: 13.5px !important; color: var(--text) !important; line-height: 1.5; }
.measure span { display: block; color: var(--accent-text); }

@media (max-width: 899px) {
  .track { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); margin-left: 6px; }
  .stage { padding: 0 0 40px 28px; }
  .stage:last-child { padding-bottom: 0; }
  .stage::before { top: 8px; left: -6px; }
}

/* Process: sticky head + steps */
.process { background: var(--surface); border-block: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.process-head { position: sticky; top: 120px; }
.process-head p { margin-top: 20px; color: var(--muted); font-size: 18px; max-width: 40ch; }
.steps { display: grid; gap: 56px; }
.step h3 { font-family: var(--mono); font-weight: 500; font-size: 15px; letter-spacing: 0; color: var(--accent-text); margin-bottom: 10px; }
.step p { font-size: clamp(20px, 2vw, 26px); line-height: 1.35; letter-spacing: -0.02em; max-width: 30ch; }
@media (max-width: 899px) {
  .process-grid { grid-template-columns: 1fr; gap: 48px; }
  .process-head { position: static; }
  .steps { gap: 36px; }
}

/* Fit */
.fit-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit-col { padding: 36px; border-radius: var(--radius-card); background: var(--accent-soft); }
.fit-no { background: var(--surface-2); }
.fit-col h3 { font-size: 22px; margin-bottom: 20px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.ticks .icon { margin-top: 4px; color: var(--accent-text); }
.fit-no .ticks .icon { color: var(--muted); }
@media (max-width: 767px) {
  .fit-grid { grid-template-columns: 1fr; }
  .fit-col { padding: 28px; }
}

/* About */
.about-copy { max-width: 62ch; }
.about-copy p { margin-top: 20px; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; letter-spacing: -0.01em; color: var(--muted); }
.gallery { margin-top: 56px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; align-items: end; }
.gallery img { width: 100%; object-fit: cover; border-radius: var(--radius-card); }
.gallery img:nth-child(1) { aspect-ratio: 4 / 5; }
.gallery img:nth-child(2) { aspect-ratio: 1 / 1; }
.gallery img:nth-child(3) { aspect-ratio: 4 / 5; }
.gallery-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
@media (max-width: 767px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:nth-child(1) { grid-column: 1 / 3; aspect-ratio: 4 / 3; }
}

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: 19px; font-weight: 550; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform 0.3s var(--ease); color: var(--muted); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 48px 26px 0; color: var(--muted); max-width: 62ch; }
@media (max-width: 899px) {
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
}

/* Contact */
.contact { padding-bottom: 128px; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.contact-copy p { margin-top: 20px; color: var(--muted); font-size: 18px; max-width: 40ch; }
.contact-copy .eyebrow { margin: 0 0 14px; font-size: 13.5px; color: var(--accent-text); }
.contact-copy a { color: var(--accent-text); text-underline-offset: 3px; }
.check-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.check-steps li { display: flex; gap: 16px; align-items: baseline; font-size: 18px; letter-spacing: -0.01em; }
.check-steps span { font-family: var(--mono); font-size: 13.5px; color: var(--accent-text); }
.contact-copy .contact-alt { margin-top: 32px; font-size: 15px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 36px; box-shadow: var(--shadow); }
@media (max-width: 899px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 767px) {
  .contact { padding-bottom: 88px; }
  .form-card { padding: 24px; }
  /* Bring the first question above the fold; the paragraph already says how it works. */
  .check-steps { display: none; }
  .contact-copy .contact-alt { margin-top: 16px; }
}

form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 550; }
.optional { font-weight: 400; color: var(--muted); margin-left: 6px; font-size: 14px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  background: var(--bg); border: 1px solid color-mix(in srgb, var(--text) 22%, transparent);
  border-radius: var(--radius-input); padding: 13px 14px; min-height: 50px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
textarea { resize: vertical; min-height: 116px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input[aria-invalid="true"] { border-color: var(--danger); }
.error { color: var(--danger); font-size: 14px; }
.form-error { color: var(--danger); font-size: 15px; }
.form-error a { color: inherit; }
.form-note { font-size: 14px; color: var(--muted); }
.form-note a { color: var(--text); text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.spinner { display: none; }
button[aria-busy="true"] { pointer-events: none; opacity: 0.85; }
button[aria-busy="true"] .spinner { display: block; animation: spin 0.9s linear infinite; }

/* Funnel check: one question at a time, then contact details, then the result */
.quiz-fallback { display: none; color: var(--muted); }
.quiz-fallback a { color: var(--accent-text); text-underline-offset: 3px; }
.no-js .quiz-fallback { display: block; }
.no-js .quiz { display: none; }

.quiz { gap: 24px; }
.quiz[hidden] { display: none; }
.quiz-top { display: grid; gap: 12px; }
.quiz-count { font-family: var(--mono); font-size: 13.5px; color: var(--muted); }
.quiz-bar { height: 4px; border-radius: var(--radius-pill); background: var(--surface-2); overflow: hidden; }
.quiz-bar span {
  display: block; height: 100%; background: var(--accent);
  transform: scaleX(0.1667); transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.quiz-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz-step[hidden] { display: none; }
.quiz-step legend {
  padding: 0; margin: 0 0 20px;
  font-size: clamp(22px, 2.2vw, 26px); font-weight: 600; line-height: 1.2; letter-spacing: -0.025em;
}
.quiz-step legend:focus { outline: none; }
.options, .fields { display: grid; gap: 10px; }
.fields { gap: 18px; }

.option {
  position: relative; isolation: isolate;
  display: flex; align-items: center; min-height: 56px; padding: 14px 18px 14px 50px;
  font-size: 16px; font-weight: 500; line-height: 1.35; cursor: pointer;
}
/* The input covers the whole row, so a tap anywhere picks it. */
.option input {
  appearance: none; position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0;
  border: 0; border-radius: var(--radius-input); background: transparent; opacity: 0; cursor: pointer;
}
.option-box {
  position: absolute; inset: 0; z-index: -1;
  border: 1px solid color-mix(in srgb, var(--text) 16%, transparent); border-radius: var(--radius-input);
  background: var(--bg);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.option-box::after {
  content: ""; position: absolute; left: 18px; top: 50%;
  width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--text) 35%, transparent);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.option:hover .option-box { border-color: color-mix(in srgb, var(--text) 40%, transparent); }
.option:active .option-box { transform: scale(0.99); }
.option input:checked ~ .option-box { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg)); }
.option input:checked ~ .option-box::after { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 4px, transparent 4.5px); }
.option input:focus-visible ~ .option-box { outline: 2px solid var(--accent); outline-offset: 2px; }

.quiz-nav { display: flex; align-items: center; gap: 12px; }
.quiz-nav .btn-primary { margin-left: auto; min-width: 148px; }

.quiz-result { display: grid; gap: 18px; padding: 4px 0; }
.quiz-result[hidden] { display: none; }
.quiz-result:focus { outline: none; }
.quiz-result .eyebrow { margin: 0; }
.quiz-result h3 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -0.03em; }
.result-track { list-style: none; margin: 6px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.result-track li {
  padding: 10px 6px; border-radius: 10px; text-align: center;
  background: var(--surface-2); color: var(--muted); font-family: var(--mono); font-size: 13px;
}
.result-track li.is-leak { background: var(--accent); color: var(--accent-ink); }
.result-check { font-size: 18px; line-height: 1.5; letter-spacing: -0.01em; }
.result-check strong { font-weight: 600; }
.result-note, .result-reply { color: var(--muted); font-size: 16px; }
.result-reply strong { color: var(--text); font-weight: 550; word-break: break-all; }

@media (max-width: 479px) {
  .quiz-nav .btn-primary { min-width: 0; flex: 1; }
  .option { padding-right: 14px; }
}

/* Mobile CTA between the hero and the funnel check */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta {
    display: inline-flex; position: fixed; z-index: 25;
    left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom));
    box-shadow: var(--shadow);
    visibility: hidden; opacity: 0; transform: translateY(16px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .sticky-cta.show { visibility: visible; opacity: 1; transform: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-line { margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 46ch; }
.footer-links { display: grid; gap: 10px; justify-items: end; font-size: 15px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.copy { color: var(--muted); font-size: 14px; }
@media (max-width: 767px) { .footer-links { justify-items: start; } }

/* Privacy page */
.legal { padding: 72px 0 112px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.04em; }
.legal .updated { margin-top: 12px; color: var(--muted); font-size: 15px; }
.legal h2 { font-size: 22px; margin-top: 44px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--muted); margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 0; }
.legal a { color: var(--accent-text); text-underline-offset: 3px; }
.back { display: inline-flex; margin-bottom: 40px; color: var(--muted); text-decoration: none; font-size: 15px; }
.back:hover { color: var(--text); }

/* Motion: load-in and reveal, only when the user allows motion */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: no-preference) {
  .load-in { animation: rise 0.9s var(--ease) both; }
  .hero-sub.load-in { animation-delay: 0.08s; }
  .hero-ctas.load-in { animation-delay: 0.16s; }
  .hero-note.load-in { animation-delay: 0.2s; }
  .hero-visual.load-in { animation-delay: 0.22s; }

  .reveal.pending { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .reveal.pending.in { opacity: 1; transform: none; }

  .quiz-step:not([hidden]), .quiz-result:not([hidden]) { animation: step-in 0.45s var(--ease) both; }
}
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .device { transform: none; }
  button[aria-busy="true"] .spinner { animation: none; }
}
