/* ==========================================================================
   Halyna Zviagintseva — landing page
   Plain CSS, mobile-first. Tokens first, then base, layout, components.
   ========================================================================== */

:root {
  color-scheme: light dark;

  /* Color — light */
  --bg: #faf8f4;
  --bg-alt: #f3f0e9;
  --surface: #ffffff;
  --fg: #15131c;
  --muted: #55516a;
  --line: #e6e1d8;
  --accent: #4a37c8;
  --accent-text: #4a37c8;
  --accent-soft: #efecfb;
  --btn-bg: #4a37c8;
  --btn-bg-hover: #3b2aa8;
  --btn-fg: #ffffff;
  --ok: #1f7a4d;
  --warn: #9a5b00;
  --bad: #b3261e;
  --shadow: 0 1px 2px rgba(21, 19, 28, 0.04), 0 8px 24px -12px rgba(21, 19, 28, 0.12);
  --shadow-hover: 0 2px 4px rgba(21, 19, 28, 0.05), 0 18px 36px -16px rgba(74, 55, 200, 0.28);

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.45vw, 1.3rem);
  --fs-h1: clamp(2.3rem, 1.4rem + 4.6vw, 4.4rem);
  --fs-h2: clamp(1.65rem, 1.2rem + 2.2vw, 2.6rem);
  --fs-h3: 1.125rem;
  --fs-small: 0.875rem;

  /* Spacing & shape */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  --radius: 16px;
  --radius-sm: 10px;
  --gutter: 1.25rem;
  --header-h: 68px;
  --max: 1160px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0e14;
    --bg-alt: #14131b;
    --surface: #1a1823;
    --fg: #f1eff7;
    --muted: #aaa6bd;
    --line: #2b2838;
    --accent: #9b8cff;
    --accent-text: #b4a9ff;
    --accent-soft: #231f3d;
    --btn-bg: #6d5be6;
    --btn-bg-hover: #7d6df0;
    --btn-fg: #ffffff;
    --ok: #5fd39a;
    --warn: #f0b45a;
    --bad: #ff8a80;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
    --shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.3), 0 18px 36px -16px rgba(155, 140, 255, 0.35);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }

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

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

.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 100;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: 0.75rem 1rem; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 780px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.4rem;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 0.975rem; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 6px 18px -8px var(--accent); }
.btn-primary:hover { background: var(--btn-bg-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-text); transform: translateY(-1px); }
.btn-block { width: 100%; }

.text-link {
  color: var(--accent-text); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px;
  display: inline-block; padding-block: 0.6rem;
}
.text-link:hover { text-decoration-thickness: 2.5px; }

.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: var(--space-2);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-1) var(--space-2); min-height: var(--header-h); padding-block: 0.5rem;
}

.wordmark { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; min-height: 44px; }
.wordmark-mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: var(--btn-bg); color: var(--btn-fg); font-size: 0.95rem;
}
.wordmark-text { font-size: 1rem; }

.menu-toggle {
  display: none; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0 0.9rem;
  background: transparent; color: var(--fg); border: 1px solid var(--line); border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer;
}
.menu-toggle-bars { display: grid; gap: 4px; }
.menu-toggle-bars i { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.2s; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars i:last-child { transform: translateY(-3px) rotate(-45deg); }

.site-nav { flex-basis: 100%; display: grid; gap: var(--space-2); padding-block: var(--space-1) var(--space-2); }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.site-nav ul a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 500; color: var(--muted); }
.site-nav ul a:hover { color: var(--fg); }
.btn-nav { min-height: 44px; padding-block: 0.5rem; }

/* With JS: collapse nav on small screens */
.js .menu-toggle { display: inline-flex; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: grid; }
.js .site-nav ul { flex-direction: column; gap: 0; }
.js .site-nav ul a { width: 100%; border-bottom: 1px solid var(--line); }

@media (min-width: 900px) {
  .header-inner { flex-wrap: nowrap; }
  .menu-toggle, .js .menu-toggle { display: none; }
  .site-nav, .js .site-nav { display: flex; flex-basis: auto; align-items: center; gap: 1.5rem; padding: 0; }
  .js .site-nav.is-open { display: flex; }
  .site-nav ul, .js .site-nav ul { flex-direction: row; gap: 0.25rem 1.25rem; }
  .js .site-nav ul a { border: 0; width: auto; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-5); }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: var(--space-4); }
.section-head h2, .contact h2 { font-size: var(--fs-h2); }
.section-sub { margin-top: var(--space-2); color: var(--muted); font-size: var(--fs-lead); }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 40em; }
.note { margin-top: var(--space-3); color: var(--muted); font-size: var(--fs-small); text-align: center; }
.cta-center { display: flex; justify-content: center; margin-top: var(--space-3); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: var(--space-2); grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2, .grid-services, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3, .grid-services { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-gap { gap: var(--space-3); }
}

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-3); box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.card h3 { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.card p { color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 5vw, 6rem) var(--space-4); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: min(640px, 90vw); aspect-ratio: 1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 14%, transparent), transparent);
  pointer-events: none; z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: var(--space-4); align-items: center; }
.hero h1 { font-size: var(--fs-h1); letter-spacing: -0.035em; font-weight: 700; }
.hero .lead { margin-top: var(--space-3); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--space-3); }
.hero-note { margin-top: var(--space-2); color: var(--muted); font-size: var(--fs-small); }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-5); }
}

.hero-visual { width: 100%; max-width: 460px; margin-inline: auto; }
.visual-stage { position: relative; width: 100%; aspect-ratio: 1; }
.visual-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.visual-lines path { fill: none; stroke: var(--accent); stroke-opacity: 0.28; stroke-width: 1.2; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }

.release-card {
  position: absolute; left: 21%; right: 21%; top: 21%; bottom: 21%;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 50px -24px rgba(74, 55, 200, 0.35), var(--shadow);
  overflow: hidden; display: flex; flex-direction: column;
}
.rc-head { display: flex; align-items: center; gap: 4px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.rc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.rc-title { margin-left: 6px; font-size: 0.6rem; color: var(--muted); letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-body { padding: 10px 12px; display: grid; gap: 6px; align-content: start; flex: 1; }
.rc-name { font-weight: 700; font-size: clamp(0.8rem, 3.4vw, 1rem); letter-spacing: -0.01em; color: var(--fg); }
.rc-sub { font-size: clamp(0.6rem, 2.4vw, 0.72rem); color: var(--muted); margin-top: -4px; }
.rc-rows { display: grid; gap: 6px; margin-top: 4px; }
.rc-row { height: 7px; background: var(--bg-alt); border-radius: 99px; overflow: hidden; }
.rc-bar { display: block; height: 100%; width: var(--w); background: var(--accent); opacity: 0.75; border-radius: 99px; }
.rc-foot { margin-top: auto; }
.rc-pill { display: inline-block; font-size: 0.58rem; font-weight: 600; padding: 3px 7px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-text); white-space: nowrap; }

.signal {
  position: absolute; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 6px 11px; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--fg);
}
.signal b { font-size: 0.9rem; }
.s-happy b, .s-verified b { color: var(--ok); }
.s-edge b { color: var(--warn); }
.s-bug b { color: var(--bad); }
.s-regress b { color: var(--accent-text); }
.s-happy { left: 0; top: 6%; }
.s-edge { right: 0; top: 14%; }
.s-bug { right: 0; top: 60%; }
.s-regress { left: 0; top: 74%; }
.s-verified { left: 36%; bottom: 0; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.signal { animation: float 6s ease-in-out infinite; }
.s-edge { animation-delay: -1.2s; } .s-bug { animation-delay: -2.4s; }
.s-regress { animation-delay: -3.6s; } .s-verified { animation-delay: -4.8s; }
.release-card { animation: float 9s ease-in-out infinite; }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust-list { display: grid; gap: 0.25rem 1.5rem; padding-block: var(--space-2); color: var(--muted); font-weight: 500; font-size: 0.95rem; }
@media (min-width: 720px) { .trust-list { display: flex; flex-wrap: wrap; justify-content: space-between; } }
.trust-list li { position: relative; padding-left: 14px; }
.trust-list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Personas ---------- */
.persona-who { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); margin-bottom: var(--space-1); }
.persona blockquote { font-size: 1.2rem; line-height: 1.4; font-weight: 600; color: var(--fg); letter-spacing: -0.01em; }
.persona-answer { margin-top: var(--space-2); padding-top: var(--space-2); border-top: 1px dashed var(--line); }
.persona-answer span { color: var(--accent-text); font-weight: 700; margin-right: 4px; }

/* ---------- Services ---------- */
.service-glyph {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--space-2);
  border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); font-size: 1.3rem; line-height: 1;
}
.service h3 small { font-weight: 500; color: var(--muted); font-size: 0.8em; }

/* ---------- Happy path ---------- */
.paths { display: grid; gap: var(--space-3); }
.path-core {
  background: var(--surface); border: 1px solid var(--accent); border-radius: var(--radius);
  padding: var(--space-3); box-shadow: var(--shadow-hover); text-align: center;
}
.path-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ok); margin-bottom: var(--space-2); }
.path-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 600; }
.path-flow span { padding: 0.4rem 0.8rem; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); }
.path-flow i { font-style: normal; color: var(--muted); }
.path-caption { margin-top: var(--space-2); color: var(--muted); }

.path-whatifs { display: grid; gap: 0.75rem; grid-template-columns: 1fr; position: relative; }
.path-whatifs li {
  background: var(--surface); border: 1px dashed color-mix(in srgb, var(--accent) 50%, var(--line));
  border-radius: var(--radius-sm); padding: 0.9rem 1rem; font-weight: 500;
  display: grid; gap: 0.15rem; transition: transform 0.25s, border-style 0.25s;
}
.path-whatifs li span { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--warn); }
.path-whatifs li:hover { transform: translateY(-2px); border-style: solid; }
@media (min-width: 640px) { .path-whatifs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  /* Happy path in the middle; what-ifs flank it, 3 on top and 4 below on a 12-col rhythm */
  .paths { grid-template-columns: repeat(3, 1fr); }
  .path-core { grid-column: 2; grid-row: 1 / 3; align-self: stretch; display: grid; align-content: center; }
  .path-whatifs { display: contents; }
  .path-whatifs li:nth-child(1) { grid-column: 1; grid-row: 1; }
  .path-whatifs li:nth-child(2) { grid-column: 3; grid-row: 1; }
  .path-whatifs li:nth-child(3) { grid-column: 1; grid-row: 2; }
  .path-whatifs li:nth-child(4) { grid-column: 3; grid-row: 2; }
  .path-whatifs li:nth-child(5), .path-whatifs li:nth-child(6), .path-whatifs li:nth-child(7) { grid-row: 3; }
  .path-whatifs li:nth-child(5) { grid-column: 1; }
  .path-whatifs li:nth-child(6) { grid-column: 2; }
  .path-whatifs li:nth-child(7) { grid-column: 3; }
  .paths { gap: var(--space-2) var(--space-3); }
}

/* ---------- Process ---------- */
.steps { display: grid; gap: var(--space-3); max-width: 760px; position: relative; padding-left: 0; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: var(--space-2); position: relative; }
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 27px; top: 56px; bottom: calc(var(--space-3) * -1 + 4px);
  width: 2px; background: linear-gradient(var(--accent), var(--line));
}
.step-num {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--accent); color: var(--accent-text);
  font-weight: 700; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.25rem; margin-bottom: 0.25rem; padding-top: 0.9rem; }
.step p { color: var(--muted); }

/* ---------- Fit / callout / engagement ---------- */
.fit-list li { font-weight: 600; font-size: 1.05rem; display: flex; align-items: center; min-height: 80px; }
.callout {
  margin-top: var(--space-4); padding: var(--space-3); border-radius: var(--radius);
  background: var(--accent-soft); display: grid; gap: var(--space-1); justify-items: start;
}
.callout h3 { font-size: 1.4rem; }
.callout p { color: var(--muted); margin-bottom: var(--space-1); }
.engage { border-top: 3px solid var(--accent); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 56px; padding: 0.75rem 1.1rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent-text); transition: transform 0.2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.faq details p { padding: 0 1.1rem 1.1rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact-grid { display: grid; gap: var(--space-4); align-items: start; }
.contact-copy .lead { margin-top: var(--space-2); }
.contact-alt { margin-top: var(--space-3); color: var(--muted); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--space-5); } .form { position: sticky; top: calc(var(--header-h) + 16px); } }

.form { display: grid; gap: var(--space-2); }
.form:hover { transform: none; }
.form-title { font-size: 1.25rem; margin-bottom: 0; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.925rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.85rem; font: inherit; color: var(--fg);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 1px; border-color: var(--accent);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--bad); }
.form-status { min-height: 1.5em; font-size: 0.95rem; color: var(--muted); }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: var(--bad); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding-block: var(--space-4); }
.footer-inner { display: grid; gap: var(--space-3); }
.footer-note { margin-top: 0.5rem; color: var(--muted); font-size: var(--fs-small); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.footer-legal { color: var(--muted); font-size: var(--fs-small); }
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer-legal { grid-column: 1 / -1; }
}

/* ---------- Reveal (only hidden when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.25s, border-color 0.25s; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.is-visible.card:hover { transform: translateY(-3px); }

.js .step { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .steps.is-visible .step { opacity: 1; transform: none; }
.js .steps.is-visible .step:nth-child(1) { transition-delay: 0ms; }
.js .steps.is-visible .step:nth-child(2) { transition-delay: 220ms; }
.js .steps.is-visible .step:nth-child(3) { transition-delay: 440ms; }
.js .steps.is-visible .step:nth-child(4) { transition-delay: 660ms; }
.js .steps.is-visible .step:nth-child(5) { transition-delay: 880ms; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js .reveal, .js .step { transform: none; }
  .card:hover, .btn:hover, .path-whatifs li:hover { transform: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 380px) {
  :root { --gutter: 1rem; }
  .wordmark-text { font-size: 0.92rem; }
  .signal { font-size: 0.7rem; padding: 5px 9px; }
  .cta-row .btn { width: 100%; }
}
