/* ==========================================================================
   InvestimentoChiaro – landing page
   Visual direction: dark editorial hero → white content body → dark CTA band.
   Monochrome system with one warm accent, used only for actions and small marks.
   ========================================================================== */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-300-italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* colour */
  --accent: #ff7817;          /* actions, active states, small marks only */
  --accent-hover: #ff8a35;
  --canvas: #ffffff;
  --surface: #ebebeb;         /* cards on canvas */
  --surface-soft: #f4f4f5;
  --hairline: #e5e7eb;
  --ink: #18181b;             /* text + dark sections */
  --ink-deep: #09090b;        /* deepest layer: footer, dialog */
  --muted: #5f5f68;           /* body on light (AA on #fff and #ebebeb) */
  --muted-2: #71717a;
  --on-dark: #ffffff;
  --on-dark-muted: #a1a1aa;
  --line-dark: rgba(255, 255, 255, 0.1);
  --error: #b42318;

  /* type */
  --font-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* spacing */
  --s-4: 4px; --s-8: 8px; --s-10: 10px; --s-12: 12px; --s-16: 16px; --s-20: 20px;
  --s-24: 24px; --s-32: 32px; --s-40: 40px; --s-48: 48px; --s-80: 80px; --s-120: 120px;

  /* shape */
  --r-sm: 4px;
  --r-md: 8px;
  --r-card: 16px;
  --r-card-lg: 24px;
  --r-pill: 600px;
  --inset-dark: inset 0 0 0 1px var(--line-dark);

  --max: 1200px;
  --gutter: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }   /* smooth anchor scrolling is done in main.js: CSS smooth scrolling breaks ScrollTrigger's measurements */
html.is-locked { overflow: hidden; }
/* phones must only scroll vertically: anything that pokes out sideways (the timeline cards
   slide in from the side, for example) is cut at the screen edge instead of widening the page */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
/* ---------- Loading screen ---------- */
/* Only exists while <html> has .is-loading (set by the inline script in <head>, so never
   without JavaScript) or while it is leaving (.is-done). Scrolling is blocked by its script. */
.loader {
  position: fixed; inset: 0; z-index: 1000; display: none; place-items: center;
  background: var(--ink); color: var(--on-dark);
  --p: 0;
}
.is-loading .loader, .loader.is-done { display: grid; }
.loader__inner {
  display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 0.4em; row-gap: 16px;
  font-size: clamp(1.75rem, 7.2vw, 3.25rem); line-height: 1;
}
.loader__dot {
  width: 0.3em; height: 0.3em; border-radius: 50%; background: var(--accent);
  animation: loader-pulse 1.2s ease-in-out infinite;
}
@keyframes loader-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.62); } }
.loader__word { position: relative; display: inline-flex; opacity: 0; transition: opacity 0.4s ease; }
.loader__ghost, .loader__fill { display: inline-flex; align-items: baseline; gap: 1px; white-space: nowrap; }
.loader__ghost { color: rgba(255, 255, 255, 0.16); }
/* the bright copy is uncovered left to right as --p goes 0 → 1 (with a little slack so the
   italic overhang of "Chiaro" isn't cut at the end) */
.loader__fill {
  position: absolute; inset: 0;
  clip-path: inset(-0.3em calc((1 - var(--p)) * (100% + 0.15em) - 0.15em) -0.35em 0);
}
.loader__meta {
  grid-column: 2; display: flex; justify-content: space-between; gap: var(--s-16);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-dark-muted); font-variant-numeric: tabular-nums;
  opacity: 0; transition: opacity 0.4s ease;
}
.loader__pct::after { content: "%"; }
.loader.has-fonts .loader__word, .loader.has-fonts .loader__meta { opacity: 1; }
/* leaving: the wordmark rises away, then the panel lifts off the page */
.loader.is-done .loader__inner {
  opacity: 0; transform: translateY(-18px);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.loader.is-done {
  transform: translateY(-100%); pointer-events: none;
  transition: transform 0.95s cubic-bezier(0.76, 0, 0.24, 1) 0.25s;
}
@media (prefers-reduced-motion: reduce) {
  .loader__dot { animation: none; }
  .loader.is-done { transform: none; opacity: 0; transition: opacity 0.3s ease; }
  .loader.is-done .loader__inner { transform: none; }
}
@media print { .loader { display: none !important; } }

/* Scroll reveals: hidden only until main.js arms them (see the inline script in <head>) */
.reveal-on [data-reveal] { opacity: 0; }
@media print { [data-reveal] { opacity: 1 !important; transform: none !important; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
.hero :focus-visible,
.section--dark :focus-visible { outline-color: var(--on-dark); }

.skip-link {
  position: absolute; left: var(--s-16); top: -100px; z-index: 100;
  background: var(--accent); color: var(--ink-deep);
  padding: var(--s-8) var(--s-16); border-radius: var(--r-md); font-weight: 500;
}
.skip-link:focus { top: var(--s-16); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 840px; }
.mono { font-family: var(--font-mono); letter-spacing: -0.02em; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 9.5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.display__second {
  display: block;
  font-style: italic;
  color: var(--on-dark-muted);
}
.display--md { font-size: clamp(2.25rem, 7.5vw, 4rem); }
.accent-dot { color: var(--accent); font-style: normal; }

.h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.75rem;   /* 28px – the smallest serif size in the system */
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.h3__sub { color: var(--muted); font-size: 0.75em; }
.lead { font-size: 1.125rem; line-height: 1.6; color: var(--muted); max-width: 62ch; }

/* kicker: on light sections the accent is a mark, text stays ink for contrast */
.kicker {
  display: inline-flex; align-items: center; gap: var(--s-8);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--ink);
}
.kicker::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none;
}
.kicker--dark { color: var(--accent); }

.heading-group { display: grid; gap: var(--s-16); margin-bottom: var(--s-40); max-width: 760px; }
.heading-group .kicker { margin-bottom: var(--s-4); }
/* headline left, body copy right (desktop) */
.heading-group__title { display: grid; gap: var(--s-16); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-10);
  min-height: 48px; padding: 12px 22px;
  border: 0; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-weight: 500; font-size: 0.9375rem; letter-spacing: -0.03em;
  text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn__icon { width: 16px; height: 16px; transition: transform .15s ease; }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--ink-deep); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: #2a2a2f; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn.is-pending { cursor: progress; }
.btn.is-pending .btn__label::after {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn-link {
  display: inline-flex; align-items: center; gap: var(--s-8);
  background: none; border: 0; padding: var(--s-12) var(--s-4); min-height: 44px;
  color: var(--muted); font-size: 0.9375rem; cursor: pointer;
}
.btn-link svg { width: 16px; height: 16px; }
.btn-link:hover { color: var(--ink); }

.cta-group { display: grid; gap: var(--s-12); justify-items: start; }
.cta-group .btn { width: 100%; }
.cta-group--center { justify-items: center; text-align: center; }
.microcopy { text-wrap: balance; font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: -0.02em; color: var(--on-dark-muted); }
.microcopy--light { color: var(--muted); }

/* ---------- Hero ---------- */
/* Full-screen dark stage: looping coin video in the background, headline centred on top. */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: #050506;
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
  object-fit: cover; object-position: 50% 45%; pointer-events: none;
}
.hero__pause {
  position: absolute; right: var(--gutter); bottom: var(--s-20); z-index: 2;
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.08); box-shadow: var(--inset-dark); color: var(--on-dark-muted);
  transition: background-color .15s ease, color .15s ease;
}
.hero__pause:hover { background: rgba(255,255,255,.16); color: var(--on-dark); }
.hero__pause svg { width: 14px; height: 14px; }
.hero__pause .i-play, .hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }
/* vignette keeps the headline and the bottom copy legible over the animation */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 58% 34% at 50% 50%, rgba(5,5,6,.62), rgba(5,5,6,.18) 75%, transparent 100%),
    linear-gradient(to bottom, rgba(5,5,6,.78) 0%, rgba(5,5,6,.3) 20%, rgba(5,5,6,.3) 50%, rgba(5,5,6,.95) 100%);
}
.hero__inner { flex: 1; display: flex; flex-direction: column; }

.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-16);
  padding: var(--s-20) 0;
}
.logo {
  display: inline-flex; align-items: baseline; gap: 1px; text-decoration: none;
  font-size: 1.125rem; line-height: 1;
}
.logo__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-right: 8px; align-self: center; }
.logo__a { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.03em; }
.logo__b { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: 1.25em; letter-spacing: -0.02em; }
/* section links: desktop only, phones keep logo + Finder button */
.topbar__nav { display: none; align-items: center; gap: var(--s-4); }
.topbar__nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s-12); border-radius: var(--r-md);
  font-size: 0.875rem; font-weight: 500; color: #d4d4d8; text-decoration: none; white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}
@media (max-width: 1179px) { .topbar__nav { gap: 0; } .topbar__nav a { padding: 0 var(--s-8); font-size: 0.8125rem; } }
.topbar__nav a:hover { color: var(--on-dark); background: rgba(255,255,255,.08); }

/* split button: label block + square icon block, one control */
.btn-split {
  display: inline-flex; align-items: stretch; gap: 3px; padding: 0; border: 0; background: none;
  font-family: var(--font-mono); font-weight: 500; font-size: 0.875rem; letter-spacing: -0.03em;
  color: var(--ink-deep); cursor: pointer; min-height: 44px; flex: none;
}
.btn-split__label, .btn-split__icon {
  display: inline-flex; align-items: center; background: var(--accent);
  transition: background-color .15s ease;
}
.btn-split__label { padding: 0 var(--s-16); border-radius: var(--r-md) 3px 3px var(--r-md); }
.btn-split__icon { width: 44px; justify-content: center; border-radius: 3px var(--r-md) var(--r-md) 3px; }
.btn-split__icon svg { width: 16px; height: 16px; transition: transform .15s ease; }
.btn-split:hover .btn-split__label, .btn-split:hover .btn-split__icon { background: var(--accent-hover); }
.btn-split:hover .btn-split__icon svg { transform: translateX(2px); }

.hero__center {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: var(--s-32) 0 var(--s-24);
}
.hero__center .kicker { margin-bottom: var(--s-20); }
.hero__center .hero__lead { margin-top: var(--s-24); text-shadow: 0 1px 14px rgba(0,0,0,.8); }
.hero__center .hero__cta { margin-top: var(--s-32); width: 100%; max-width: 420px; justify-items: center; }
.hero__center .trustbar { margin-top: var(--s-32); grid-template-columns: 1fr 1fr; gap: var(--s-16); width: 100%; max-width: 420px; }
/* phones: two trust points side by side, icon above the text */
.hero__center .trustbar li { flex-direction: column; gap: 6px; text-align: center; font-size: 0.8125rem; line-height: 1.35; text-wrap: balance; }
.btn-split__long { display: none; }
@media (min-width: 420px) { .btn-split__long { display: inline; } }
/* one line on every screen: the size scales down on narrow phones */
.hero__center .kicker {
  text-shadow: 0 1px 12px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.8);
  white-space: nowrap; max-width: 100%; line-height: 1.5;
  font-size: clamp(0.5625rem, 2.9vw, 0.75rem); letter-spacing: 0;
}
@media (min-width: 480px) { .hero__center .kicker { letter-spacing: 0.02em; } }
.hero__title { font-size: clamp(2.25rem, 9vw, 4.5rem); line-height: 1.02; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.hero__line1, .hero__line2 { display: block; }
.hero__line2 { color: #d4d4d8; }

.hero__lead { font-size: 1rem; line-height: 1.55; color: #e4e4e7; max-width: 44ch; }
.hero__cta .btn { width: 100%; }

.trustbar { display: grid; gap: var(--s-8); }
.trustbar li {
  display: flex; align-items: center; gap: var(--s-10);
  font-size: 0.875rem; color: #d4d4d8;
}
.trustbar svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

.risk-note { font-size: 0.8125rem; line-height: 1.5; max-width: 80ch; }
.risk-note--dark { color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); padding-top: var(--s-20); margin-top: var(--s-40); }
.hero .risk-note--dark { padding: var(--s-16) 52px var(--s-20); margin: 0 auto; max-width: none; width: 100%; text-align: center; font-size: 0.75rem; }

/* ---------- Scale (risk / liquidity / horizon) ---------- */
.scale { display: inline-flex; gap: 3px; flex: none; }
.scale i { width: 14px; height: 6px; border-radius: 2px; background: var(--hairline); }
.section--dark .scale i, .section--black .scale i { background: rgba(255,255,255,.14); }
.scale[data-from="1"] i:nth-child(1),
.scale[data-from="1"][data-to="2"] i:nth-child(2), .scale[data-from="1"][data-to="3"] i:nth-child(2),
.scale[data-from="2"] i:nth-child(2),
.scale[data-to="3"] i:nth-child(3) { background: var(--ink); }
.section--black .scale[data-from="1"] i:nth-child(1),
.section--black .scale[data-from="1"][data-to="2"] i:nth-child(2), .section--black .scale[data-from="1"][data-to="3"] i:nth-child(2),
.section--black .scale[data-from="2"] i:nth-child(2),
.section--black .scale[data-to="3"] i:nth-child(3) { background: var(--accent); }

.legend {
  display: flex; flex-wrap: wrap; gap: var(--s-12) var(--s-24);
  font-size: 0.75rem; color: var(--muted); margin: calc(var(--s-16) * -1) 0 var(--s-24);
}
.legend > span { display: inline-flex; align-items: center; gap: var(--s-8); }

/* ---------- Sections ---------- */
.section { padding: var(--s-80) 0; }
.section--tight-top { padding-top: var(--s-40); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .h3 { color: var(--on-dark); }

.grid { display: grid; gap: var(--s-10); }

.card {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: var(--s-24);
  display: grid; gap: var(--s-12); align-content: start;
}
.card p { color: var(--muted); }
.card__num { font-size: 0.8125rem; color: var(--muted); }


/* investment form cards */
.form-card {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: var(--s-24);
  display: grid; gap: var(--s-16); align-content: start;
}
.form-card__desc { color: var(--muted); }
.metrics {
  display: grid; gap: 0;
  background: var(--canvas); border-radius: var(--r-md); padding: var(--s-4) var(--s-12);
}
.metrics > div {
  display: grid; grid-template-columns: 5.25rem 1fr; gap: var(--s-12); align-items: center;
  padding: var(--s-10) 0; border-bottom: 1px solid var(--hairline);
}
.metrics > div:last-child { border-bottom: 0; }
.metrics dt { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); letter-spacing: -0.02em; }
.metrics dd { display: flex; align-items: center; gap: var(--s-10); font-size: 0.875rem; line-height: 1.35; }
.proscons { display: grid; gap: var(--s-16); }
.proscons h4, .proscons__title {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: -0.02em;
  text-transform: uppercase; margin-bottom: var(--s-4);
}
.proscons p { font-size: 0.9375rem; color: var(--muted); }

.fineprint { margin-top: var(--s-24); font-size: 0.8125rem; color: var(--muted); max-width: 80ch; }

.cta-band {
  margin-top: var(--s-40);
  background: var(--ink); color: var(--on-dark);
  border-radius: var(--r-card-lg);
  padding: var(--s-32) var(--s-20);
  display: grid; gap: var(--s-24);
}
.cta-band .btn { white-space: nowrap; }
.cta-band__text {
  font-family: var(--font-serif); font-weight: 300; font-size: 1.75rem; line-height: 1.2; letter-spacing: -0.02em;
  max-width: 36ch;
}
.cta-band .btn { width: 100%; }

/* "Come funziona": scroll timeline. Spine track + fill, alternating cards, dots on the spine.
   Without JS (or with reduced motion) everything shows in its final state; main.js adds
   .is-armed and GSAP plays the entrance. */
#come-funziona .heading-group { margin-inline: auto; justify-items: center; text-align: center; }
#come-funziona .cta-group--row { justify-items: center; text-align: center; }
.tl { position: relative; max-width: 64rem; margin: 0 auto; padding: 2rem 0; }
.tl__track {
  position: absolute; left: 50%; transform: translateX(-50%); top: 0; bottom: 0;
  width: 2px; background: #e4e4e7; overflow: hidden; border-radius: 1px;
}
.tl__fill {
  position: absolute; inset: 0; background: var(--accent);
  transform-origin: top center; border-radius: 1px;
  box-shadow: 0 0 12px rgba(255, 120, 23, .4); will-change: transform;
}
.tl.is-armed .tl__fill { transform: scaleY(0); }
.tl__nodes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7rem; position: relative; }
.tl__node { display: grid; grid-template-columns: 1fr 3rem 1fr; align-items: center; position: relative; }
.tl__dot {
  grid-column: 2; grid-row: 1; justify-self: center; z-index: 1; flex-shrink: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: #e4e4e7; border: 2px solid var(--canvas);
}
.tl:not(.is-armed) .tl__dot, .tl__dot.is-active {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 120, 23, .2), 0 0 16px rgba(255, 120, 23, .35);
}
.tl.is-armed .tl__dot { transform: scale(0.6); }
.tl__card {
  grid-row: 1; max-width: 22rem;
  background: var(--surface-soft); border: 1px solid var(--hairline); border-radius: 1rem;
  padding: 1.75rem 2rem;
}
.tl.is-armed .tl__card { opacity: 0; will-change: transform, opacity; }
.tl__node[data-side="right"] .tl__card { grid-column: 3; justify-self: start; }
.tl__node[data-side="left"] .tl__card { grid-column: 1; justify-self: end; }
.tl__label {
  display: flex; align-items: center; gap: var(--s-8);
  font-size: 0.75rem; color: var(--ink); margin-bottom: 0.6rem;
}
.tl__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.tl__title {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.375rem, 2vw, 1.625rem);
  letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.65rem;
}
.tl__card p:last-child { font-size: 0.9375rem; line-height: 1.6; color: var(--muted); }
/* narrow: one column, spine on the left */
@media (max-width: 560px) {
  .tl__track { left: 1.25rem; transform: none; }
  .tl__node { grid-template-columns: 2.5rem 1fr; }
  .tl__node .tl__dot { grid-column: 1; }
  .tl__node[data-side="right"] .tl__card,
  .tl__node[data-side="left"] .tl__card { grid-column: 2; justify-self: start; max-width: 100%; }
  .tl__card { padding: 1.5rem; }
}
.cta-group--row { margin-top: var(--s-40); }

/* transparency */
.transparency { display: grid; gap: var(--s-10); }
.transparency__main {
  background: var(--surface-soft); border-radius: var(--r-card-lg);
  padding: var(--s-32) var(--s-24); display: grid; gap: var(--s-16); align-content: start;
}
.transparency__main .kicker { margin-bottom: var(--s-4); }
.facts { display: grid; gap: var(--s-16); margin-top: var(--s-16); }
.facts > div { border-top: 1px solid var(--hairline); padding-top: var(--s-16); display: grid; gap: var(--s-4); }
.facts dt { font-size: 0.75rem; color: var(--muted); }
.facts dd { font-size: 0.9375rem; }
/* right column: photo box above the dark text box, white gap between them */
.transparency__side { display: flex; flex-direction: column; gap: var(--s-10); }
.transparency__not {
  background: var(--ink); color: var(--on-dark); border-radius: var(--r-card-lg);
  padding: var(--s-32) var(--s-24); display: grid; gap: var(--s-20); align-content: start;
}
.transparency__photo {
  border-radius: var(--r-card-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-deep);
}
.transparency__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
@media (min-width: 720px) and (max-width: 1023px) { .transparency__photo { aspect-ratio: 16 / 9; } }
.notlist { display: grid; gap: var(--s-16); }
.notlist li {
  display: grid; grid-template-columns: 24px 1fr; gap: var(--s-12); color: #d4d4d8; font-size: 0.9375rem;
}
.notlist li::before {
  content: ""; width: 24px; height: 24px; border-radius: 50%;
  box-shadow: var(--inset-dark);
  background:
    linear-gradient(45deg, transparent 46%, var(--accent) 46%, var(--accent) 54%, transparent 54%) center / 10px 10px no-repeat,
    linear-gradient(-45deg, transparent 46%, var(--accent) 46%, var(--accent) 54%, transparent 54%) center / 10px 10px no-repeat;
}

/* FAQ */
.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-16);
  padding: var(--s-20) 0; min-height: 56px;
  font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat,
    var(--surface);
  transition: transform .2s ease;
}
.faq details[open] summary::after {
  background:
    linear-gradient(var(--ink-deep), var(--ink-deep)) center / 10px 1.5px no-repeat,
    var(--accent);
}
.faq details p { padding: 0 0 var(--s-24); color: var(--muted); max-width: 66ch; }

/* final CTA */
.final-cta { padding: var(--s-80) 0 var(--s-48); position: relative; isolation: isolate; overflow: hidden; background: var(--ink-deep); }
/* background photo: travertine arcade at dusk, darkened behind the text */
.final-cta__bg { position: absolute; inset: 0; z-index: -1; }
.final-cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.final-cta__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(9,9,11,.62), rgba(9,9,11,.18) 70%, rgba(9,9,11,0)),
    linear-gradient(to bottom, rgba(9,9,11,.35), rgba(9,9,11,0) 25%, rgba(9,9,11,0) 60%, rgba(9,9,11,.92));
}
.final-cta__inner { display: grid; gap: var(--s-24); justify-items: center; text-align: center; }
.final-cta .hero__lead { margin: 0 auto; }
.final-cta .cta-group { width: 100%; max-width: 480px; }
.final-cta .risk-note { margin-top: var(--s-24); }

/* "Perché": reasons on the left, photo with an illustrating panel on the right */
.why { background: var(--surface-soft); }
.why__head { display: grid; gap: var(--s-16); justify-items: start; margin-bottom: var(--s-40); max-width: 760px; }
.why__head .kicker { margin-bottom: var(--s-4); }
.why__title {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(2.375rem, 7vw, 4rem); line-height: 1.02; letter-spacing: -0.03em;
  max-width: 15ch; text-wrap: balance;
}
.why__grid { display: grid; gap: var(--s-24); }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); align-content: start; }
.why__item { border-radius: var(--r-card); transition: background-color .25s ease; }
.why__item.is-open { background: var(--canvas); }
.why__h { margin: 0; }
.why__btn {
  display: flex; align-items: center; gap: var(--s-16); width: 100%;
  padding: var(--s-16); margin: 0; border: 0; border-radius: var(--r-card);
  background: none; color: var(--ink); text-align: left; cursor: pointer;
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.375rem, 4.4vw, 1.75rem);
  line-height: 1.15; letter-spacing: -0.02em;
}
.why__item:not(.is-open) .why__btn:hover { background: rgba(9, 9, 11, .04); }
.why__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.why__icon {
  flex: none; width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center; background: var(--accent); color: var(--ink-deep);
}
.why__icon svg { width: 22px; height: 22px; }
.why__body { padding: 0 var(--s-20) var(--s-24) calc(var(--s-16) + 44px + var(--s-16)); }
.why__body p { color: var(--muted); max-width: 52ch; }
.why__item.is-open .why__body { animation: why-in .3s ease-out; }

.why__visual {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-card-lg); background: var(--ink-deep);
  display: flex; align-items: center; justify-content: center;
  padding: var(--s-48) var(--s-16); min-height: 440px;
}
/* one photo per reason, cross-faded */
.why__bg {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s ease;
}
.why__bg.is-current { opacity: 1; }
.why-panel {
  width: min(100%, 440px); padding: var(--s-24);
  background: var(--canvas); color: var(--ink); border-radius: var(--r-card);
  animation: why-in .35s ease-out;
}
.why-panel[hidden] { display: none; }
@keyframes why-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.why-panel__kicker { font-size: 0.75rem; color: var(--muted); margin-bottom: var(--s-8); }
.why-panel__title { font-family: var(--font-serif); font-weight: 400; font-size: 1.75rem; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: var(--s-16); }
.why-panel__big { font-family: var(--font-serif); font-weight: 300; font-size: 4.5rem; line-height: 1; letter-spacing: -0.03em; margin-bottom: var(--s-16); }
.why-panel__rows { list-style: none; margin: 0; padding: 0; }
.why-panel__rows li {
  display: flex; align-items: center; gap: var(--s-12);
  padding: var(--s-10) 0; border-top: 1px solid var(--hairline); font-size: 0.9375rem; line-height: 1.3;
}
.why-panel__rows li > span:first-child { flex: 1; min-width: 0; }
.why-panel__val { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: -0.02em; white-space: nowrap; }
.why-panel__rows--risk li { padding: 7px 0; font-size: 0.875rem; }
.why-panel__rows--risk .why-panel__val { width: 6.5rem; color: var(--muted); }
.why-panel__note { display: flex; align-items: center; gap: 6px; margin-top: var(--s-16); font-size: 0.8125rem; color: var(--muted); }
.why-panel__note svg { width: 14px; height: 14px; flex: none; color: var(--ink); }
/* minmax(0, 1fr): long words (or a translated page) wrap instead of pushing the column out */
.why-panel__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8); }
.why-panel__cols > div { background: var(--surface-soft); border-radius: var(--r-md); padding: var(--s-16); }
.why-panel__label { font-size: 0.75rem; color: var(--muted); margin-bottom: var(--s-8); }
.why-panel__cols p:not(.why-panel__label) { font-size: 0.9375rem; line-height: 1.45; overflow-wrap: break-word; hyphens: auto; }
/* panel content animations: they run each time a panel opens (display none → block) */
.why-panel__rows li, .why-panel__cols > div { animation: why-row .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(120ms + var(--i, 0) * 70ms); }
.why-panel__rows--risk .scale i { transform-origin: left center; animation: why-bar .45s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(320ms + var(--i, 0) * 70ms + var(--b, 0) * 90ms); }
.why-panel__rows--risk .scale i:nth-child(2) { --b: 1; }
.why-panel__rows--risk .scale i:nth-child(3) { --b: 2; }
.why-panel__rows--risk .why-panel__val { animation: why-fade .4s ease both; animation-delay: calc(560ms + var(--i, 0) * 70ms); }
.why-panel__zero { position: relative; display: inline-block; animation: why-zero .8s cubic-bezier(.2,.7,.2,1) both .1s; }
.why-panel__zero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 2px;
  background: var(--accent); transform-origin: left center; animation: why-bar .6s cubic-bezier(.2,.7,.2,1) both .7s;
}
.why-check { width: 16px; height: 16px; flex: none; color: var(--accent); }
.why-check path { stroke-dasharray: 16; stroke-dashoffset: 16; animation: why-draw .4s ease-out forwards; animation-delay: calc(450ms + var(--i, 0) * 160ms); }
.why-switch {
  position: relative; flex: none; width: 30px; height: 18px; border-radius: 9px; background: #d4d4d8;
  animation: why-switch-bg .35s ease forwards .7s;
}
.why-switch i {
  position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.2); animation: why-switch-knob .35s cubic-bezier(.3,1.4,.5,1) forwards .7s;
}
.why-bank {
  flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-family: var(--font-mono); font-size: 0.6875rem;
  animation: why-pop .45s cubic-bezier(.3,1.5,.5,1) both .55s;
}
.why-panel__note--lock .why-shackle { animation: why-lock .4s cubic-bezier(.3,1.6,.5,1) both 1.1s; }
.why-balance { display: block; width: 100%; max-width: 240px; height: auto; margin: 0 auto var(--s-12); color: var(--ink); }
.why-balance__beam { transform-box: view-box; transform-origin: 120px 14px; animation: why-tilt 1.6s cubic-bezier(.3,.7,.3,1) both .15s; }
@keyframes why-row { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes why-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes why-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes why-zero { from { opacity: 0; transform: translateY(12px) scale(.96); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes why-draw { to { stroke-dashoffset: 0; } }
@keyframes why-switch-bg { to { background: var(--accent); } }
@keyframes why-switch-knob { to { transform: translateX(12px); } }
@keyframes why-pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes why-lock { from { transform: translateY(-3px); } to { transform: none; } }
@keyframes why-tilt { 0% { transform: rotate(-10deg); } 40% { transform: rotate(6deg); } 65% { transform: rotate(-2.5deg); } 85% { transform: rotate(1deg); } 100% { transform: rotate(0); } }

/* auto-advance: a thin line fills under the open reason, then the next one opens */
.why__item { position: relative; }
.why__progress {
  position: absolute; left: var(--s-20); right: var(--s-20); bottom: 0; height: 2px; border-radius: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left center; opacity: 0; pointer-events: none;
}
.why__grid.is-auto .why__item.is-open .why__progress { opacity: 1; animation: why-progress 6s linear forwards; }
.why__grid.is-auto.is-paused .why__item.is-open .why__progress { animation-play-state: paused; }
@keyframes why-progress { to { transform: scaleX(1); } }

@media (max-width: 419px) {
  .why-panel { padding: var(--s-20); }
  /* the bars carry the level; the words stay for screen readers */
  .why-panel__rows--risk .why-panel__val { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .why-panel__cols { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1024px) {
  .why__head { margin-bottom: 56px; }
  .why__grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: var(--s-12); align-items: stretch; }
  .why__list { gap: var(--s-8); }
  .why__btn { padding: var(--s-20); gap: var(--s-20); }
  .why__icon { width: 48px; height: 48px; border-radius: 12px; }
  .why__body { padding: 0 var(--s-24) var(--s-24) calc(var(--s-20) * 2 + 48px); }
  .why__visual { min-height: 600px; padding: var(--s-48); }
  .why-panel { padding: var(--s-32); }
}
@media (prefers-reduced-motion: reduce) {
  .why-panel, .why__item.is-open .why__body,
  .why-panel *, .why-panel *::after { animation: none !important; }
  .why-check path { stroke-dashoffset: 0; }
  .why-switch { background: var(--accent); }
  .why-switch i { transform: translateX(12px); }
  .why__item { transition: none; }
}

/* footer */
/* footer: brand + description left, three link columns right, then © line and disclaimer */
.footer {
  background: var(--surface-soft); color: var(--ink); border-top: 1px solid var(--hairline);
  padding: var(--s-48) 0 calc(var(--s-48) + 72px); font-size: 0.9375rem;
}
.footer__top { display: grid; gap: var(--s-40); }
.footer__about { margin-top: var(--s-20); color: var(--muted); max-width: 44ch; line-height: 1.6; }
.footer__contact { margin-top: var(--s-16); line-height: 1.8; }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-32) var(--s-24); }
.footer__h { font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: var(--s-16); }
.footer__col ul { display: grid; gap: var(--s-10); }
.footer__col a { color: #3f3f46; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-8) var(--s-24);
  margin-top: var(--s-48); padding-top: var(--s-24); border-top: 1px solid var(--hairline);
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.footer__risk { margin-top: var(--s-32); font-size: 0.8125rem; line-height: 1.6; color: var(--muted); max-width: 90ch; }

/* legal pages (note-legali / privacy / cookie) */
.legal-top { border-bottom: 1px solid var(--hairline); }
.legal-top__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-16); min-height: 72px; }
.legal-top .logo { color: var(--ink); }
.legal-top__back {
  display: inline-flex; align-items: center; gap: var(--s-8); min-height: 44px;
  font-size: 0.875rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.legal-top__back svg { width: 16px; height: 16px; }
.legal-top__back:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal { padding: var(--s-48) 0 var(--s-80); }
.legal .kicker { margin-bottom: var(--s-16); }
.legal__title { font-size: clamp(2.25rem, 7vw, 3.25rem); }
.legal__date { margin-top: var(--s-12); font-size: 0.8125rem; color: var(--muted); }
.legal__sec { margin-top: var(--s-40); }
.legal__sec h2 { font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: var(--s-12); }
.legal__sec p, .legal__sec li { color: var(--muted); line-height: 1.7; max-width: 68ch; }
.legal__sec p + p, .legal__sec p + ul, .legal__sec ul + p { margin-top: var(--s-12); }
.legal__sec ul { display: grid; gap: var(--s-8); padding-left: var(--s-20); list-style: disc; }
.legal__sec a { color: var(--ink); text-underline-offset: 3px; }
.legal-page .footer { padding-bottom: var(--s-48); }
.footer [aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }

/* in-page Finder: the same markup as the pop-up, framed as a card */
.finder-inline {
  max-width: 760px; margin: 0 auto; border-radius: var(--r-card-lg); overflow: hidden;
  background: var(--canvas); box-shadow: 0 0 0 1px var(--hairline), 0 30px 60px -36px rgba(9, 9, 11, .35);
}
.finder-inline .finder__bar { position: static; min-height: 48px; padding-right: var(--gutter); }
@media (min-width: 720px) { .finder-inline .finder__bar { padding-right: var(--s-32); } }
.finder-inline [data-close-finder] { display: none; }

/* sticky CTA (mobile only) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: var(--s-12) var(--gutter) calc(var(--s-12) + env(safe-area-inset-bottom));
  background: rgba(9, 9, 11, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 var(--line-dark);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }

/* ==========================================================================
   Investment Finder (dialog)
   ========================================================================== */
/* The funnel is laid out to fit the screen: no step needs scrolling. overflow stays
   "auto" only as a fallback for very short screens (e.g. a phone in landscape). */
.finder {
  padding: 0; border: 0; margin: 0;
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--canvas); color: var(--ink);
}
/* Opening and closing, after topsparvergleich.com: the backdrop fades in, the panel rises
   and settles. main.js adds .is-open after showModal() and removes it 300 ms before closing. */
.finder {
  opacity: 0; transform: translateY(24px) scale(.98);
  transition: opacity .3s ease, transform .45s cubic-bezier(.2, .8, .2, 1);
}
.finder.is-open { opacity: 1; transform: none; }
.finder::backdrop {
  background: rgba(9, 9, 11, .62);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .3s ease;
}
.finder.is-open::backdrop { opacity: 1; }

.finder__shell { display: flex; flex-direction: column; min-height: 100%; }
.finder__bar {
  display: flex; align-items: center; gap: var(--s-12);
  padding: var(--s-4) var(--s-8) var(--s-4) var(--gutter);
  background: var(--ink); color: var(--on-dark);
  position: sticky; top: 0; z-index: 2;
}
.finder__label { font-size: 0.8125rem; }
.finder__progress-text { margin-left: auto; font-size: 0.8125rem; color: var(--on-dark-muted); }
.finder__close {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: transparent; border: 0; border-radius: 50%; color: var(--on-dark); cursor: pointer;
}
.finder__close:hover, .finder__back-top:hover { background: rgba(255,255,255,.08); }
.finder__back-top {
  display: none; width: 40px; height: 40px; place-items: center; margin-left: calc(var(--s-8) * -1);
  background: transparent; border: 0; border-radius: 50%; color: var(--on-dark); cursor: pointer;
}
.finder__back-top svg { width: 18px; height: 18px; }
@media (max-width: 719px) {
  .finder__back-top:not([hidden]) { display: grid; }
  #finder-back { display: none; }
}
.finder__close svg { width: 20px; height: 20px; }
.finder__close:focus-visible { outline-color: var(--on-dark); }
.finder__progress { height: 3px; background: var(--hairline); flex: none; }
.finder__progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .6s cubic-bezier(.2, .8, .2, 1); }

/* Step changes (main.js): the current step fades out briefly, the next one slides in from
   the right (from the left going back); the Finder eases to the new height meanwhile. */
.finder__shell { overflow-x: clip; }   /* sliding steps never widen the Finder */
.q.is-out { opacity: 0; transform: translateX(-12px); transition: opacity .11s ease, transform .11s ease; }
.q.is-out.is-back { transform: translateX(12px); }
.is-in { animation: step-in .36s cubic-bezier(.2, .8, .2, 1) both; }
.is-in.is-back { animation-name: step-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
@keyframes step-back { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }

.finder__form, .thanks, .matching {
  flex: 1; width: 100%; max-width: 640px; margin: 0 auto;
  padding: var(--s-16) var(--gutter) var(--s-12);
  display: flex; flex-direction: column;
}
.q { border: 0; margin: 0; padding: 0; min-width: 0; }
.q__title {
  display: block; padding: 0;
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(1.5rem, 6vw, 2.25rem); line-height: 1.12; letter-spacing: -0.02em;
  margin-bottom: var(--s-8);
}
.q__title:focus { outline: none; }
.q__help { color: var(--muted); margin-bottom: var(--s-16); }
.q__help--lead { font-size: 1rem; }
.q > .options { margin-top: var(--s-16); }
.q__help + .options { margin-top: 0; }

.options { display: grid; gap: var(--s-8); }
.options--2 { grid-template-columns: 1fr 1fr; }
.option--wide { grid-column: 1 / -1; }
.option, .chip { position: relative; cursor: pointer; }
.option input, .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option span {
  display: flex; align-items: center; gap: var(--s-12);
  min-height: 54px; padding: var(--s-12) var(--s-16);
  background: var(--surface); border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px transparent;
  font-weight: 500; line-height: 1.3;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.option:active span { transform: scale(.99); }
.option span::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--muted-2); background: var(--canvas);
}
.option--check span::before { border-radius: var(--r-sm); }
.option:hover span { background: #e2e2e4; }
.option input:checked + span { background: var(--ink); color: var(--on-dark); }
.option input:checked + span::before {
  box-shadow: inset 0 0 0 6px var(--accent); background: var(--ink-deep);
}
.option--check input:checked + span::before {
  box-shadow: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10.5 3.2 3L15 6.5' fill='none' stroke='%2309090b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat,
    var(--accent);
}
.option input:focus-visible + span, .chip input:focus-visible + span {
  outline: 2px solid var(--ink); outline-offset: 2px;
}

.options--2 .option span { min-height: 52px; padding: var(--s-8) var(--s-12); gap: var(--s-10); font-size: 0.875rem; }

.finder__nav {
  margin-top: auto; padding-top: var(--s-12);
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-12);
}
.finder__nav #finder-next { margin-left: auto; min-width: 140px; }
.finder__nav #finder-submit { order: -1; }
.finder__nav.is-contact #finder-back { order: 1; }
.step-error { flex-basis: 100%; order: -2; font-size: 0.875rem; color: var(--error); min-height: 0; }
.step-error:empty { display: none; }
/* trust line under every step */
.finder__trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2px var(--s-16);
  list-style: none; margin: var(--s-10) 0 0; padding: var(--s-8) 0 0;
  border-top: 1px solid var(--hairline);
  font-size: 0.6875rem; line-height: 1.3; letter-spacing: -0.02em; color: var(--muted);
}
.finder__trust li { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.finder__trust svg { width: 13px; height: 13px; flex: none; color: var(--ink); }
/* all contact errors showing: the line tightens so the step still fits */
.finder__form:has(.q--contact.has-errors:not([hidden])) .finder__trust { border-top: 0; margin-top: var(--s-4); padding-top: 0; }
.q--contact.has-errors .q__help--lead { display: none; }

/* contact step: compact so the whole form fits one screen */
/* the submit label is long: on phones a narrower face keeps it on one line */
#finder-submit { font-family: var(--font-sans); font-weight: 600; font-size: 0.9375rem; letter-spacing: -0.015em; }
.q--contact .q__title { font-size: clamp(1.375rem, 5.2vw, 1.875rem); }
.q--contact .q__help--lead { font-size: 0.8125rem; line-height: 1.45; margin-bottom: var(--s-12); }

/* contact fields */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); }
.field--full { grid-column: 1 / -1; }
.field { display: grid; gap: var(--s-4); min-width: 0; position: relative; }
.field label, .field__label { font-size: 0.8125rem; font-weight: 500; }
/* text fields: the label sits inside the box, above the value, so it costs no extra row */
.fields .field label {
  position: absolute; left: 13px; top: 7px; z-index: 1; pointer-events: none;
  font-size: 0.6875rem; font-weight: 500; line-height: 1.2; color: var(--muted);
}
.field input {
  width: 100%; min-height: 50px; padding: 20px 12px 5px;
  border: 1px solid #d4d4d8; border-radius: var(--r-md); background: var(--canvas);
  font-size: 1rem; /* ≥16px avoids iOS zoom */
}
.field input::placeholder { color: var(--muted-2); }
.field input:hover { border-color: var(--muted-2); }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(24,24,27,.12); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__error { font-size: 0.75rem; line-height: 1.3; color: var(--error); }
.field__error:empty { display: none; }

.slot { margin-top: var(--s-12); }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-8); }
.chip span {
  display: grid; place-items: center; min-height: 42px; padding: 0 var(--s-8);
  border-radius: var(--r-pill); background: var(--surface); font-weight: 500; font-size: 0.9375rem;
  transition: background-color .15s ease;
}
.chip:hover span { background: #e2e2e4; }
.chip input:checked + span { background: var(--ink); color: var(--on-dark); }

.consents { display: grid; gap: var(--s-4); margin-top: var(--s-12); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-10); font-size: 0.75rem; line-height: 1.45; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.consent em { font-style: normal; color: var(--muted-2); }
.consent a { color: var(--ink); }

.form-error {
  margin-top: var(--s-12); padding: var(--s-12) var(--s-16);
  border-radius: var(--r-md); background: #fef3f2; color: var(--error); font-size: 0.875rem;
}

/* thank-you */
.thanks { justify-content: center; }
.thanks__mark {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--ink-deep); margin-bottom: var(--s-24);
}
.thanks__mark svg { width: 28px; height: 28px; }
.thanks__contact { margin: var(--s-8) 0 var(--s-24); color: var(--muted); }
.thanks > .btn { align-self: flex-start; }

/* matching loader */
.matching { justify-content: center; align-items: center; text-align: center; gap: var(--s-24); }
.matching__title { margin: 0; max-width: 20ch; font-size: clamp(1.5rem, 5.6vw, 2rem); }
.matching__title:focus { outline: none; }
.matching__coins { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-8); max-width: 440px; }
.matching__coins span {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: -0.02em;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--surface-soft); color: var(--muted-2);
  transition: background-color .3s ease, color .3s ease, transform .3s ease;
}
.matching__coins span.is-on { background: var(--ink); color: var(--on-dark); transform: translateY(-2px); }
.matching__bar { width: 100%; max-width: 360px; height: 4px; border-radius: 2px; background: var(--hairline); overflow: hidden; }
.matching__bar span { display: block; height: 100%; width: 0; background: var(--accent); }
.matching__steps { display: grid; gap: var(--s-10); text-align: left; }
.matching__steps li {
  display: grid; grid-template-columns: 20px 1fr; gap: var(--s-10); align-items: center;
  font-size: 0.9375rem; color: var(--muted-2); transition: color .2s ease;
}
.matching__steps li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; box-sizing: border-box;
  border: 1.5px solid #d4d4d8;
}
.matching__steps li.is-active { color: var(--ink); }
.matching__steps li.is-active::before {
  border-color: var(--accent); border-right-color: transparent; animation: spin .7s linear infinite;
}
.matching__steps li.is-done { color: var(--ink); }
.matching__steps li.is-done::before {
  border: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-7' fill='none' stroke='%2309090b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat,
    var(--accent);
}

/* very narrow phones (≤ 359px): keep CTA labels on one line */
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .topbar .logo { font-size: 1rem; }
  .btn-split__label { padding: 0 var(--s-10); }
  .btn-split__icon { width: 40px; }
  .btn, .btn--lg { font-size: 0.8125rem; padding-left: 14px; padding-right: 14px; gap: 8px; }
}

/* ==========================================================================
   ≥ 720px
   ========================================================================== */
@media (min-width: 720px) {
  :root { --gutter: 32px; }

  .cta-group .btn, .cta-band .btn { width: auto; }
  .hero__cta .btn { width: auto; }
  .hero__lead { font-size: 1.0625rem; }
  .hero__center .hero__lead { max-width: 50ch; }

  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--forms { grid-template-columns: repeat(2, 1fr); }
  .card, .form-card { padding: var(--s-32); }
  .proscons { grid-template-columns: 1fr 1fr; }


  .cta-band {
    grid-template-columns: 1fr auto; align-items: center; padding: var(--s-40);
  }

  .footer { padding: var(--s-80) 0 var(--s-48); }
  .footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .sticky-cta { display: none; }

  /* finder becomes a centred panel */
  .finder {
    width: min(720px, calc(100% - 64px)); height: fit-content; max-height: calc(100% - 48px);
    margin: auto; border-radius: var(--r-card-lg); overflow: auto;
  }
  .finder__shell { min-height: 0; }
  .finder__bar { padding-left: var(--s-32); }
  .finder__form, .thanks, .matching { padding: var(--s-32) var(--s-48) var(--s-32); max-width: none; min-height: 520px; }
  .options--2 .option span { font-size: 0.9375rem; padding: var(--s-12) var(--s-16); }
  .field--half-md { grid-column: auto; }
  #finder-submit { font-family: var(--font-mono); font-weight: 500; letter-spacing: -0.03em; }
  .finder__nav #finder-submit { order: 0; width: auto; margin-left: auto; }
  .finder__nav.is-contact #finder-back { order: -1; }
  .finder__trust { justify-content: flex-start; gap: var(--s-8) var(--s-24); font-size: 0.75rem; margin-top: var(--s-20); padding-top: var(--s-16); }
}

/* ==========================================================================
   ≥ 1024px
   ========================================================================== */
@media (min-width: 1024px) {
  .section { padding: var(--s-120) 0; }
  .section--tight-top { padding-top: var(--s-48); }
  .topbar { padding: var(--s-24) 0; }
  .topbar__nav { display: flex; }
  .btn-split { min-height: 48px; font-size: 0.9375rem; }
  .btn-split__icon { width: 48px; }
  .trustbar { grid-auto-flow: column; justify-content: start; gap: var(--s-24); }
  .hero__center .trustbar { grid-template-columns: none; justify-content: center; gap: var(--s-32); max-width: none; }
  .hero__center .trustbar li { flex-direction: row; gap: var(--s-10); font-size: 0.8125rem; }
  .heading-group { margin-bottom: var(--s-48); }
  .heading-group--split { grid-template-columns: 1fr 1fr; column-gap: var(--s-80); align-items: end; max-width: none; }
  .heading-group--split .lead { max-width: 54ch; }

  .grid--forms { grid-template-columns: repeat(3, 1fr); }
  /* asymmetric start: the first card spans two columns on wide screens */
  .grid--forms .form-card:first-child { grid-column: span 2; }
  .grid--forms .form-card:first-child .proscons { grid-template-columns: 1fr 1fr; }

  .transparency { grid-template-columns: 1.5fr 1fr; }
  .transparency__main, .transparency__not { padding: var(--s-48); }
  .transparency__not { padding: var(--s-40); }
  /* the photo takes the height the left box leaves over, so that box keeps its size */
  .transparency__photo { flex: 1 1 0; min-height: 160px; aspect-ratio: auto; }

  .final-cta { padding: var(--s-120) 0 var(--s-48); }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: var(--s-80); }
  .footer__bottom { margin-top: var(--s-80); }
}

/* in a 3-col grid the cards are narrow – stack pros/cons */
@media (min-width: 1024px) {
  .grid--forms.is-carousel .form-card { grid-template-columns: 1fr 1.05fr 1fr; grid-template-rows: auto 1fr; column-gap: var(--s-40); padding: var(--s-40); }
  .grid--forms.is-carousel .form-card > .h3,
  .grid--forms.is-carousel .form-card > .form-card__desc { grid-column: 1; }
  .grid--forms.is-carousel .metrics { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
  .grid--forms.is-carousel .form-card .proscons { grid-column: 3; grid-row: 1 / span 2; grid-template-columns: 1fr; align-self: start; }
  .grid--forms.is-carousel .form-card > .form-card__desc { align-self: start; }
  .grid--forms:not(.is-carousel) .form-card:not(:first-child) .proscons { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Investment forms: black section + 3D coin carousel
   ========================================================================== */
.section--black { background: #050506; color: var(--on-dark); }
.section--black .lead { color: var(--on-dark-muted); }
.section--black .fineprint { color: var(--muted-2); margin-top: 0; font-size: 0.75rem; }
.heading-group--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.heading-group--center .lead { margin: 0 auto; }
.forms__cta { margin-top: var(--s-8); }
.forms .legend { justify-content: center; color: var(--on-dark-muted); margin: var(--s-16) 0 var(--s-24); }

/* cards on black */
.forms .form-card { background: rgba(255,255,255,.04); box-shadow: var(--inset-dark); }
.forms .form-card__desc, .forms .proscons p { color: #b4b4bb; }
.forms .h3__sub { color: var(--on-dark-muted); }
.forms .metrics { background: rgba(0,0,0,.45); }
.forms .metrics > div { border-bottom-color: var(--line-dark); }
.forms .metrics dt { color: var(--on-dark-muted); }
.forms .metrics dd { color: #e4e4e7; }
.forms .cta-band { background: rgba(255,255,255,.04); box-shadow: var(--inset-dark); }

/* carousel mode: only the selected card is shown, as a spec panel under the coins */
.grid--forms.is-carousel { display: block; max-width: 980px; margin: 0 auto; }
.grid--forms.is-carousel .form-card:not(.is-active) { display: none; }
.grid--forms.is-carousel .form-card.is-active { animation: spec-in .35s ease-out; }
@keyframes spec-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.carousel {
  --W: clamp(118px, 26vw, 220px);   /* coin diameter */
  --R: calc(var(--W) * 1.34);       /* ring radius */
  --T: calc(var(--W) * 0.085);      /* coin thickness */
  margin-top: var(--s-24);
}
.carousel__stage {
  position: relative;
  height: calc(var(--W) * 1.55);
  perspective: 1500px;
  perspective-origin: 50% 35%;
  overflow: hidden;
  /* fade the coins out at the left and right edges */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  touch-action: pan-y;
  cursor: grab;
}
.carousel__stage.is-dragging { cursor: grabbing; }
.carousel__ring {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  transform-style: preserve-3d;
}
.coin {
  position: absolute;
  left: calc(var(--W) / -2); top: calc(var(--W) / -2);
  width: var(--W); height: var(--W);
  padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
  border-radius: 50%;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--i) * var(--step))) translateZ(var(--R));
  -webkit-tap-highlight-color: transparent;
}
.coin:focus-visible { outline: none; }
.coin__face, .coin__edge {
  position: absolute; inset: 0; border-radius: 50%;
}
.coin__edge {
  background: repeating-conic-gradient(#3f3f46 0 1.5deg, #18181b 1.5deg 3deg);
  transform: translateZ(var(--z));
}
.coin__face {
  display: grid; place-content: center; justify-items: center; gap: calc(var(--W) * 0.03);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.28), transparent 42%),
    radial-gradient(circle at 50% 50%, #3a3a41 0%, #27272b 58%, #1a1a1d 100%);
  box-shadow:
    inset 0 0 0 calc(var(--W) * 0.035) #2a2a2f,
    inset 0 0 0 calc(var(--W) * 0.042) #6b6b74,
    inset 0 0 0 calc(var(--W) * 0.07) #222226,
    inset 0 0 0 calc(var(--W) * 0.076) rgba(255,255,255,.14),
    inset 0 calc(var(--W) * -0.08) calc(var(--W) * 0.16) rgba(0,0,0,.55);
  transition: box-shadow .2s ease;
}
.coin__face::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #000; pointer-events: none;
  opacity: calc((1 - var(--d, 1)) * 0.62);
}
.coin__face--front { transform: translateZ(calc(var(--T) / 2)); }
.coin__face--back { transform: rotateY(180deg) translateZ(calc(var(--T) / 2)); }
.coin__glyph {
  font-family: var(--font-sans); font-weight: 700; line-height: 1;
  font-size: calc(var(--W) * 0.26); letter-spacing: -0.03em;
  color: #4a4a52;
  text-shadow: 0 1px 0 rgba(255,255,255,.22), 0 -1px 0 rgba(0,0,0,.8), 0 0 calc(var(--W) * 0.03) rgba(0,0,0,.4);
}
.coin__glyph svg { width: calc(var(--W) * 0.3); height: calc(var(--W) * 0.3); filter: drop-shadow(0 1px 0 rgba(255,255,255,.2)) drop-shadow(0 -1px 0 rgba(0,0,0,.8)); }
.coin__name {
  font-family: var(--font-mono); font-weight: 500; text-transform: uppercase;
  font-size: max(9px, calc(var(--W) * 0.058)); letter-spacing: 0.02em; color: #a1a1aa;
  max-width: calc(var(--W) * 0.64); text-align: center; line-height: 1.2;
}
.coin:hover .coin__face, .coin:focus-visible .coin__face, .coin.is-selected .coin__face {
  box-shadow:
    inset 0 0 0 calc(var(--W) * 0.035) #2a2a2f,
    inset 0 0 0 calc(var(--W) * 0.045) var(--accent),
    inset 0 0 0 calc(var(--W) * 0.07) #222226,
    inset 0 0 0 calc(var(--W) * 0.076) rgba(255,255,255,.14),
    inset 0 calc(var(--W) * -0.08) calc(var(--W) * 0.16) rgba(0,0,0,.55);
}
.coin.is-selected .coin__name { color: var(--accent); }
.coin:focus-visible .coin__face--front { outline: 2px solid var(--on-dark); outline-offset: 4px; }

/* No WebGL: the CSS coins wear pre-rendered stills of the WebGL coins (silver, gold when selected) */
.carousel.is-stills { --W: clamp(128px, 27vw, 250px); }
.carousel.is-stills .coin {
  transform: rotateY(calc(var(--i) * var(--step))) translateZ(var(--R))
             rotateX(var(--tx, 0rad)) rotateY(var(--ty, 0rad)) rotateZ(var(--tz, 0rad));
}
.carousel.is-stills .coin .coin__face {
  background-color: transparent; background-position: center; background-size: cover; background-repeat: no-repeat;
  box-shadow: none;
}
.carousel.is-stills .coin__glyph, .carousel.is-stills .coin__name { display: none; }
.coin__gold {
  position: absolute; inset: 0; border-radius: 50%;
  background: center / cover no-repeat;
  opacity: 0; transition: opacity .35s ease;
}
.coin.is-selected .coin__gold { opacity: 1; }
/* a soft highlight that travels across the face as the ring turns */
.carousel.is-stills .coin__face::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 50%; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.2) 50%, transparent 62%) no-repeat;
  background-size: 300% 100%;
  background-position: calc(50% - var(--s, 0) * 45%) 0;
  mix-blend-mode: screen;
}
.carousel.is-stills .coin__face::after { z-index: 2; }
/* reeded edge, dimmed towards the back of the ring like the faces */
.carousel.is-stills .coin__edge {
  background: repeating-conic-gradient(#8f9298 0 1deg, #56585d 1deg 2deg);
  filter: brightness(calc(0.4 + var(--d, 1) * 0.6));
  transition: filter .35s ease;
}
.carousel.is-stills .coin.is-selected .coin__edge {
  filter: sepia(1) saturate(1.9) hue-rotate(-12deg) brightness(calc((0.4 + var(--d, 1) * 0.6) * 0.95));
}
@media (prefers-reduced-motion: reduce) { .coin__gold, .carousel.is-stills .coin__edge { transition: none; } }

/* WebGL mode: the canvas draws the coins; the buttons stay for keyboard and screen readers */
.carousel.has-webgl .carousel__stage { height: clamp(270px, 34vw, 430px); }
.carousel.is-webgl .carousel__stage { cursor: grab; }
.carousel.is-webgl .carousel__stage.is-over-coin { cursor: pointer; }
.carousel.is-webgl .carousel__stage.is-dragging { cursor: grabbing; }
.carousel__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; pointer-events: none; }
.carousel.is-webgl .carousel__gl { opacity: 1; pointer-events: auto; transition: opacity .6s ease; }
.carousel.is-webgl .carousel__ring { transform: none !important; left: 0; top: 0; width: 100%; height: 100%; }
.carousel.is-webgl .coin {
  position: absolute; left: 50%; top: auto; bottom: 10px; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); transform: none; white-space: nowrap;
}
.carousel.is-webgl .coin > * { display: none; }
.carousel.is-webgl .coin:focus-visible {
  width: auto; height: auto; overflow: visible; clip-path: none; transform: translateX(-50%);
  padding: 6px 14px; border-radius: var(--r-pill); background: var(--accent); color: var(--ink-deep);
  font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500;
}
.carousel.is-webgl .coin:focus-visible::after { content: attr(data-name); }

/* mouse devices: the spec card floats at the cursor (positioned by main.js) */
.grid--forms.is-carousel.is-floating {
  position: fixed; left: 0; top: 0; z-index: 30; margin: 0;
  width: min(420px, calc(100vw - 32px)); max-width: none;
  pointer-events: none; opacity: 0; visibility: hidden;
  transition: opacity .16s ease, visibility 0s linear .16s;
  will-change: transform;
}
.grid--forms.is-carousel.is-floating.is-shown { opacity: 1; visibility: visible; transition: opacity .16s ease; }
.grid--forms.is-carousel.is-floating .form-card {
  grid-template-columns: 1fr; grid-template-rows: none; row-gap: var(--s-12);
  padding: var(--s-20) var(--s-24) var(--s-24);
  background: rgba(20, 20, 23, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--inset-dark), 0 24px 60px rgba(0,0,0,.55);
}
.grid--forms.is-carousel.is-floating .form-card > * { grid-column: auto; grid-row: auto; }
.grid--forms.is-carousel.is-floating .form-card .proscons { grid-column: auto; grid-row: auto; grid-template-columns: 1fr 1fr; gap: var(--s-16); }
.grid--forms.is-carousel.is-floating .h3 { font-size: 1.5rem; }
.grid--forms.is-carousel.is-floating .form-card__desc { font-size: 0.9375rem; line-height: 1.5; }
.grid--forms.is-carousel.is-floating .proscons p { font-size: 0.875rem; line-height: 1.45; }
.grid--forms.is-carousel.is-floating .form-card.is-active { animation: none; }
.carousel__tip { text-align: center; font-size: 0.75rem; color: var(--on-dark-muted); margin-top: var(--s-8); }

.carousel__controls { display: flex; justify-content: center; gap: var(--s-12); margin-top: var(--s-16); }
.carousel__btn {
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.06); box-shadow: var(--inset-dark);
  color: var(--on-dark); cursor: pointer; transition: background-color .15s ease;
}
.carousel__btn:hover { background: rgba(255,255,255,.14); }
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__btn .i-play, .carousel__btn[aria-pressed="true"] .i-pause { display: none; }
.carousel__btn[aria-pressed="true"] .i-play { display: block; }
.carousel__hint { text-align: center; font-size: 0.75rem; color: var(--on-dark-muted); margin-top: var(--s-12); min-height: 1.2em; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
