/* Design tokens.
 *
 * Every value here traces back to the Nocturne design system in
 * the Nocturne stylesheet under design/_ds/. Where this file departs from the design
 * canvas it is recorded in docs/adr/0003-accessible-text-ramp.md: the canvas
 * set small print in --color-neutral-600, which measures 4.08:1 on the page
 * ground and fails WCAG 2.2 AA for text under 18.66px. The small-text ramp
 * therefore stops one step earlier, at --color-neutral-500.
 *
 * test/contrast.mjs asserts every foreground/background pair the site uses.
 */

:root {
  /* Ground and surfaces, darkest to lightest. */
  --ground-deep: #131523;   /* ticker rail, footer */
  --ground: #161826;        /* page */
  --ground-lift: #191c2d;   /* section gradient end */
  --surface: #1a1d2b;       /* cards */
  --surface-raised: #1e2130;/* card gradient start, table row hover */
  --surface-head: #232532;  /* table header */
  --surface-accent: #262940;/* accent-bordered cards */

  /* The one full-bleed saturated field, from the design system's deck tokens. */
  --band: #262a60;
  --band-glow: #3b4290;
  --band-deep: #1f2255;

  /* Text ramp. Steps 100 to 500 of the neutral ramp; 600 and darker are
     reserved for non-text use (knobs, rules) because they fail AA as text. */
  --text: #e9e9ed;
  --text-strong: #f5f4ff;
  --text-soft: #cfd3e5;
  --text-muted: #b2b6ca;
  --text-meta: #9397ab;
  --text-on-band: #c9c8e8;

  /* Accent. */
  --accent: #9184d9;
  --accent-bright: #b5abfc;
  --accent-pale: #d2cefd;
  --accent-emphasis: #c9c2f8;
  --accent-knob-off: #595d6c;

  /* Rules and tints, all mixed from the text colour so they follow the ground. */
  --rule: rgb(233 233 237 / 0.10);
  --rule-soft: rgb(233 233 237 / 0.08);
  --rule-strong: rgb(233 233 237 / 0.14);
  --rule-input: rgb(233 233 237 / 0.18);
  --rule-dashed: rgb(233 233 237 / 0.18);
  --grid-line: rgb(233 233 237 / 0.035);
  --accent-tint: rgb(145 132 217 / 0.16);
  --accent-tint-strong: rgb(145 132 217 / 0.22);
  --accent-edge: rgb(145 132 217 / 0.38);
  --accent-halo: rgb(145 132 217 / 0.20);
  --track: rgb(233 233 237 / 0.14);

  /* Type. */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Fluid type scale. Each clamp holds the canvas size at 1240px and steps
     down to something readable on a 320px phone. */
  --size-hero: clamp(2.375rem, 1.35rem + 5.1vw, 4.375rem);   /*  38 to 70px */
  --size-page-title: clamp(2.125rem, 1.4rem + 3.6vw, 3.5rem);/*  34 to 56px */
  --size-cta-title: clamp(2rem, 1.3rem + 3.5vw, 3.25rem);    /*  32 to 52px */
  --size-section-title: clamp(1.75rem, 1.2rem + 2.75vw, 2.75rem); /* 28 to 44px */
  --size-figure-xl: clamp(2.5rem, 1.6rem + 4.5vw, 3.75rem);  /*  40 to 60px */
  --size-figure-lg: clamp(2.25rem, 1.7rem + 2.75vw, 3.25rem);/*  36 to 52px */
  --size-figure: clamp(2rem, 1.6rem + 2vw, 2.625rem);        /*  32 to 42px */
  --size-figure-sm: clamp(1.5rem, 1.3rem + 1vw, 2.375rem);   /*  24 to 38px */
  --size-lead: clamp(1rem, 0.95rem + 0.35vw, 1.15625rem);    /*  16 to 18.5px */

  /* Spacing, on the design system's 0.7x density scale. */
  --space-1: 2.8px;
  --space-2: 5.6px;
  --space-3: 8.4px;
  --space-4: 11.2px;
  --space-5: 14px;
  --space-6: 16.8px;
  --space-8: 22.4px;
  --space-10: 28px;
  --space-12: 33.6px;
  --space-16: 44.8px;

  /* Section rhythm, tightened on small screens where 104px reads as dead air. */
  --section-y: clamp(3.5rem, 2rem + 6vw, 6.5rem);
  --page-x: clamp(1rem, 0.4rem + 2.5vw, 2rem);
  --measure: 1240px;

  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 16px;
  --radius-pill: 99px;

  --shadow-card: 0 20px 50px rgb(0 0 0 / 0.40);
  --shadow-raised: 0 24px 60px rgb(0 0 0 / 0.45);
  --shadow-hero: 0 0 0 1px rgb(145 132 217 / 0.10), 0 30px 70px rgb(0 0 0 / 0.55);
  --shadow-float: 0 14px 40px rgb(0 0 0 / 0.5), 0 0 40px rgb(145 132 217 / 0.22);
  --shadow-lift: 0 18px 40px rgb(0 0 0 / 0.45);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Self-hosted web fonts. Downloaded from Google Fonts (SIL Open Font License 1.1)
   and served from this origin: no third-party request, no visitor IP handed to a CDN.
   Variable fonts, so one file carries every weight the site uses. */

/* Inter, latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
    src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter, latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
    src: url(/assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* JetBrains Mono, latin-ext */
@font-face {
  font-display: swap;
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
    src: url(/assets/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* JetBrains Mono, latin */
@font-face {
  font-display: swap;
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
    src: url(/assets/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* KANDLABS site stylesheet.
 *
 * Ported from the Claude Design canvas in design/KANDLABS Web v2.dc.html,
 * where every rule lived in a style attribute. Inline styles are gone so the
 * pages can ship under a Content-Security-Policy with no 'unsafe-inline'.
 *
 * Order: reset, primitives, chrome (header/footer/floating CTA), the overview
 * page top to bottom, then the performance and FAQ pages, then the responsive
 * and reduced-motion layers.
 */

/* ───────────────────────────── Reset and base ──────────────────────────── */

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

html {
  background: var(--ground);
  scroll-behavior: smooth;
  /* The sticky header would otherwise cover an anchored section. */
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.06; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

a { color: var(--accent-pale); text-decoration: none; }
a:hover { color: var(--text-strong); }

::selection { background: rgb(145 132 217 / 0.28); color: var(--text-strong); }

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

/* Visible only once tabbed to, so keyboard users can jump the header. */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: var(--space-4);
  z-index: 200;
  padding: var(--space-3) var(--space-6);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-strong);
  font-size: 0.875rem;
  transform: translateY(-160%);
  transition: transform 160ms var(--ease);
}
.skip-link:focus-visible { transform: none; }

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

/* ─────────────────────────────── Primitives ────────────────────────────── */

.shell {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--page-x);
}

.section { position: relative; overflow: hidden; }
.section > .shell { position: relative; z-index: 1; padding-block: var(--section-y); }

/* The hairline that opens each section, fading out at both ends. */
.section--ruled::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg,
    rgb(233 233 237 / 0), rgb(233 233 237 / 0.22) 18%,
    rgb(145 132 217 / 0.45) 50%, rgb(233 233 237 / 0.22) 82%, rgb(233 233 237 / 0));
  pointer-events: none;
}

/* Decorative layers: a drifting graph-paper grid and soft aurora blooms.
   Both are aria-hidden in the markup and stilled under reduced motion. */
.grid-wash, .aurora { position: absolute; pointer-events: none; }

.grid-wash {
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: var(--wash-size, 56px) var(--wash-size, 56px);
  mask-image: radial-gradient(90% 80% at 50% 0%, #000, transparent 78%);
  animation: drift 34s linear infinite;
}
.grid-wash--hero {
  mask-image: radial-gradient(80% 70% at 30% 20%, #000 0%, transparent 75%);
  animation-duration: 26s;
}

.aurora {
  border-radius: 50%;
  filter: blur(26px);
  animation: aurora 22s ease-in-out infinite;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  font-size: var(--size-section-title);
  letter-spacing: -0.028em;
  margin-top: var(--space-5);
  text-wrap: balance;
}

.lead {
  font-size: var(--size-lead);
  color: var(--text-muted);
  text-wrap: pretty;
}

/* Emphasis spans, from the *asterisk* markers in the copy. */
.em-head { color: var(--accent-emphasis); }
.em-body { color: var(--text); font-weight: 500; }

.card {
  border: 1px solid rgb(233 233 237 / 0.12);
  border-radius: var(--radius-xl);
  background: var(--surface);
  padding: var(--space-8);
}
.card--accent {
  border-color: var(--accent-edge);
  background: linear-gradient(160deg, var(--surface-accent) 0%, var(--surface) 70%);
  box-shadow: var(--shadow-raised);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  border: 1px solid var(--rule-input);
  border-radius: var(--radius);
  padding: 0.875rem 1.75rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.btn:hover { border-color: rgb(233 233 237 / 0.42); color: var(--text-strong); }
.btn--primary {
  border-color: var(--accent);
  color: var(--text-strong);
  box-shadow: 0 0 40px var(--accent-halo);
}
.btn--primary:hover { background: rgb(145 132 217 / 0.18); }
.btn--small { padding: 0.5625rem 1.125rem; font-size: 0.84375rem; }
.btn--wide { justify-content: space-between; width: 100%; }

/* ──────────────────────────── Ticker and header ────────────────────────── */

.ticker {
  height: 30px;
  border-bottom: 1px solid var(--rule-soft);
  background: var(--ground-deep);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker__track {
  display: flex;
  gap: 44px;
  white-space: nowrap;
  padding-left: var(--space-8);
  animation: marquee 42s linear infinite;
  will-change: transform;
}
.ticker__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.65625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-meta);
}
.ticker__dot {
  width: 4px; height: 4px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgb(19 21 35 / 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--rule);
}
.site-header__bar {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--page-x);
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--text);
  font-size: 0.9375rem;
  letter-spacing: 0.2em;
  font-weight: 500;
}
.brand:hover { color: var(--text-strong); }
.brand__mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgb(145 132 217 / 0.35), 0 0 22px rgb(145 132 217 / 0.22);
}

.site-nav { display: flex; align-items: center; gap: var(--space-1); }
.site-nav__link {
  border-bottom: 1px solid transparent;
  color: var(--text-meta);
  font-size: 0.84375rem;
  padding: var(--space-3) var(--space-4);
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
.site-nav__link:hover { color: var(--text-strong); }
.site-nav__link[aria-current="page"] { border-bottom-color: var(--accent); color: var(--text-strong); }

.header-spacer { flex: 1 1 var(--space-4); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: var(--space-1);
}
.lang-switch__link {
  color: var(--text-meta);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.lang-switch__link:hover { color: var(--text-strong); }
.lang-switch__link[aria-current="true"] { background: var(--accent); color: var(--ground); }

/* Fills left to right as the page scrolls; width is set by the client script. */
.read-progress {
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-pale));
  transition: width 90ms linear;
}

/* ──────────────────────────── Floating contact ─────────────────────────── */

.float-cta {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.625rem);
  bottom: clamp(0.75rem, 2vw, 1.625rem);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  padding: 0.8125rem 1.25rem 0.8125rem 1rem;
  background: rgb(26 29 43 / 0.92);
  backdrop-filter: blur(12px);
  color: var(--text-strong);
  font-size: 0.84375rem;
  font-weight: 500;
  box-shadow: var(--shadow-float);
  animation: float 4.5s ease-in-out infinite;
}
.float-cta:hover { background: var(--accent-tint-strong); }
.float-cta__beacon { position: relative; width: 10px; height: 10px; flex: none; }
.float-cta__beacon::before,
.float-cta__beacon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
}
.float-cta__beacon::before { background: var(--accent); }
.float-cta__beacon::after { border: 1px solid var(--accent); animation: ring 2.4s ease-out infinite; }
.float-cta__arrow { color: var(--accent-bright); }

/* ────────────────────────────────  Footer  ─────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--ground-deep);
}
.site-footer > .shell { padding-block: var(--space-16); }
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) minmax(0, 1.6fr);
  gap: var(--space-16);
}
.site-footer__brand { display: flex; align-items: center; gap: var(--space-3); }
.site-footer__brand img { width: 28px; height: 28px; border-radius: var(--radius); }
.site-footer__wordmark { font-size: 0.84375rem; letter-spacing: 0.2em; }
.site-footer__tagline {
  margin-top: var(--space-5);
  font-size: 0.78125rem;
  color: var(--text-meta);
  max-width: 30ch;
  text-wrap: pretty;
}
.site-footer__links { display: grid; gap: var(--space-3); align-content: start; }
.site-footer__links a { font-size: 0.8125rem; }
.site-footer__code { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-meta); }
.site-footer__risk-title {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-meta);
}
.site-footer__risk { margin-top: var(--space-4); font-size: 0.75rem; color: var(--text-meta); text-wrap: pretty; }
.site-footer__legal { margin-top: var(--space-6); font-size: 0.75rem; color: var(--text-meta); }

/* ──────────────────────────────────  Hero  ─────────────────────────────── */

.hero > .shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--space-16) 4rem;
  align-items: center;
  padding-block: clamp(3rem, 1.5rem + 5vw, 6.5rem) var(--section-y);
}
.hero__copy { animation: rise 0.7s var(--ease) both; }
.hero__eyebrow { display: flex; align-items: center; gap: var(--space-5); }
.hero__eyebrow-rule {
  width: 44px; height: 1px; flex: none;
  background: linear-gradient(90deg, var(--accent), rgb(145 132 217 / 0));
}
.hero__eyebrow .kicker { color: var(--accent-bright); letter-spacing: 0.24em; }
.hero__title {
  font-size: var(--size-hero);
  line-height: 0.99;
  letter-spacing: -0.035em;
  margin-top: var(--space-10);
  max-width: 16ch;
  text-wrap: balance;
}
.hero__sub { margin-top: var(--space-8); max-width: 50ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-12); }
.hero__leads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
  padding-top: var(--space-10);
  border-top: 1px solid var(--rule);
}
.hero__lead-title { font-size: 1.0625rem; line-height: 1.2; letter-spacing: -0.01em; }
.hero__lead-body { font-size: 0.78125rem; color: var(--text-meta); margin-top: var(--space-2); text-wrap: pretty; }
.hero__note { margin-top: var(--space-8); font-size: 0.78125rem; color: var(--text-meta); max-width: 58ch; text-wrap: pretty; }

.equity-card {
  animation: rise 0.9s var(--ease) both;
  border: 1px solid rgb(233 233 237 / 0.12);
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, #24273a 0%, var(--surface) 60%);
  box-shadow: var(--shadow-hero);
}
.equity-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding: var(--space-6) var(--space-8);
  border-bottom: 1px solid var(--rule);
}
.equity-card__label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-meta);
}
.equity-card__label::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
.equity-card__symbol { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--text-meta); }
.equity-card__body { padding: var(--space-10) var(--space-8) var(--space-8); }
.equity-card__caption {
  font-family: var(--font-mono);
  font-size: 0.65625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-meta);
}
.equity-card__figure {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-2);
}
.equity-card__balance { font-size: var(--size-figure-lg); line-height: 1; letter-spacing: -0.03em; }
.equity-card__delta { font-size: 0.9375rem; color: var(--accent-bright); }
.equity-card__spark { width: 100%; height: 120px; margin-top: var(--space-8); }
.equity-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-8);
}
.equity-card__metric { background: var(--surface-raised); padding: 13px var(--space-5); }
.equity-card__metric dt {
  font-size: 0.65625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-meta);
}
.equity-card__metric dd { margin: var(--space-1) 0 0; font-family: var(--font-mono); font-size: 1.0625rem; }
.equity-card__link {
  margin-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: 0.78125rem;
  color: var(--accent-bright);
}

/* ─────────────────────────────── Stat band ─────────────────────────────── */

.stat-band {
  background: radial-gradient(130% 150% at 10% 0%, var(--band-glow) 0%, var(--band) 52%, var(--band-deep) 100%);
  border-block: 1px solid var(--rule);
}
.stat-band > .shell { padding-block: var(--space-16); }
.stat-band__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-12);
}
.stat-band__value { font-size: var(--size-figure); line-height: 1.04; letter-spacing: -0.025em; }
.stat-band__label { font-size: 0.8125rem; color: var(--text-on-band); margin-top: var(--space-2); text-wrap: pretty; }
.stat-band__note {
  margin-top: var(--space-10);
  font-size: 0.75rem;
  color: var(--text-on-band);
  max-width: 92ch;
  text-wrap: pretty;
}

/* ──────────────────────────────── Proof ────────────────────────────────── */

.proof { background: linear-gradient(180deg, #171a2b 0%, var(--ground) 55%, #15172a 100%); }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-12);
  flex-wrap: wrap;
}
.section__head p { max-width: 46ch; font-size: 0.90625rem; color: var(--text-muted); text-wrap: pretty; }
.section__head .section-title { max-width: 24ch; }

.proof__grid {
  margin-top: var(--space-16);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: stretch;
}
.chart-card {
  border: 1px solid rgb(233 233 237 / 0.12);
  border-radius: var(--radius-xl);
  background: linear-gradient(170deg, #23263a 0%, var(--surface) 65%);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
}
.chart-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.chart-card__title { display: block; font-size: 0.875rem; }
.chart-card__range { display: block; font-family: var(--font-mono); font-size: 0.71875rem; color: var(--text-meta); margin-top: var(--space-1); }

.segmented {
  display: flex;
  gap: 2px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: var(--space-1);
}
.segmented__option {
  border: 0;
  background: transparent;
  color: var(--text-meta);
  font: inherit;
  font-size: 0.71875rem;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.segmented__option:hover { color: var(--text-strong); }
.segmented__option[aria-pressed="true"] { background: var(--accent-tint); color: var(--text-strong); }

.chart { position: relative; margin-top: var(--space-8); }
.chart__svg { width: 100%; height: 300px; }
.chart__axis {
  position: absolute;
  inset: 3.125% 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.chart__axis span { font-family: var(--font-mono); font-size: 0.625rem; color: var(--text-meta); }
.chart__hit { position: absolute; inset: 0; cursor: crosshair; }
.chart__tip {
  position: absolute;
  top: var(--space-3);
  pointer-events: none;
  border: 1px solid rgb(145 132 217 / 0.5);
  border-radius: var(--radius-md);
  background: rgb(26 29 43 / 0.96);
  padding: var(--space-4) var(--space-5);
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.5);
}
.chart__tip[hidden] { display: none; }
.chart__tip-month {
  font-family: var(--font-mono);
  font-size: 0.65625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-meta);
}
.chart__tip-balance { font-size: 1.1875rem; margin-top: var(--space-1); }
.chart__tip-return { font-size: 0.75rem; color: var(--accent-bright); margin-top: 1px; }
.chart__scale {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.65625rem;
  color: var(--text-meta);
  margin-top: var(--space-4);
  border-top: 1px solid var(--rule-soft);
  padding-top: var(--space-4);
}

.report-card { display: flex; flex-direction: column; }
.report-card h3 { font-size: 1.1875rem; }
.report-card__intro { margin-top: var(--space-3); font-size: 0.78125rem; color: var(--text-meta); text-wrap: pretty; }
.report-card__rows { margin-top: var(--space-6); flex: 1; }
.report-card__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--rule-soft);
  font-size: 0.78125rem;
}
.report-card__row dt { color: var(--text-meta); }
.report-card__row dd { margin: 0; font-family: var(--font-mono); color: var(--text); text-align: right; }
.report-card .btn { margin-top: var(--space-8); }
.report-card__note { margin-top: 9px; font-size: 0.6875rem; color: var(--text-meta); }

/* ──────────────────────────────── Steps ────────────────────────────────── */

.steps { background: linear-gradient(180deg, var(--ground) 0%, var(--ground-lift) 100%); }
.steps__grid {
  margin-top: var(--space-16);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
}
.step {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-raised) 0%, var(--surface) 100%);
  padding: var(--space-10) var(--space-8) var(--space-8);
  transition: border-color 220ms var(--ease), transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.step:hover {
  border-color: rgb(145 132 217 / 0.5);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.step__rule { display: flex; align-items: center; gap: var(--space-4); }
.step__number { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--accent-bright); }
.step__rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgb(145 132 217 / 0.5), rgb(145 132 217 / 0));
}
.step h3 { font-size: 1.09375rem; line-height: 1.2; margin-top: var(--space-6); }
.step p { margin-top: 9px; font-size: 0.84375rem; color: var(--text-meta); text-wrap: pretty; }

/* ──────────────────────────────── Bonus ────────────────────────────────── */

.bonus { background: linear-gradient(160deg, #1a1c2e 0%, var(--ground) 60%, #191b2c 100%); }
.bonus > .shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-16) 3.5rem;
  align-items: center;
}
.bonus__title { max-width: 20ch; }
.bonus__body { margin-top: var(--space-6); max-width: 50ch; }
.bonus__points { margin-top: var(--space-8); display: grid; gap: var(--space-4); }
.bonus__point {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--text-soft);
}
.bonus__point::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  margin-top: var(--space-3);
  flex: none;
}
.bonus__example { padding: var(--space-12); }
.bonus__example-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-meta);
}
.bonus__ledger { margin-top: var(--space-8); display: grid; gap: var(--space-6); }
.bonus__line { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); }
.bonus__line dt { font-size: 0.875rem; color: var(--text-muted); }
.bonus__line dd { margin: 0; font-family: var(--font-mono); font-size: 1.5rem; }
.bonus__line--bonus dd { color: var(--accent-bright); }
.bonus__line--total dt { color: var(--text); }
.bonus__line--total dd { font-size: var(--size-figure-sm); letter-spacing: -0.02em; }
.bonus__divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, rgb(233 233 237 / 0.02), rgb(233 233 237 / 0.22), rgb(233 233 237 / 0.02));
}
.bonus__example .btn { margin-top: var(--space-10); }
.bonus__example-note { margin-top: var(--space-6); font-size: 0.71875rem; color: var(--text-meta); text-wrap: pretty; }

/* ────────────────────────────── Fee tiers ──────────────────────────────── */

.fees { background: linear-gradient(180deg, var(--ground) 0%, #14162a 100%); }
.fees__grid {
  margin-top: var(--space-16);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-4);
}
.tier {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: var(--space-8);
}
.tier--active {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--surface-accent) 0%, var(--surface) 100%);
  box-shadow: 0 0 40px rgb(145 132 217 / 0.18);
}
.tier__band { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; color: var(--text-meta); }
.tier__fee { font-size: var(--size-figure-sm); line-height: 1.05; letter-spacing: -0.03em; margin-top: var(--space-5); }
.tier__label { font-size: 0.75rem; color: var(--text-meta); margin-top: var(--space-2); }
.tier__yours {
  margin-top: var(--space-5);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.fees__note { margin-top: var(--space-8); font-size: 0.75rem; color: var(--text-meta); max-width: 92ch; text-wrap: pretty; }

/* ─────────────────────────────── Calculator ────────────────────────────── */

.calc { background: linear-gradient(180deg, #14162a 0%, var(--ground-deep) 60%, var(--ground) 100%); }
.calc__intro { margin-top: var(--space-6); max-width: 60ch; }
.calc__grid {
  margin-top: var(--space-16);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: var(--space-8);
  align-items: start;
}
.calc__controls { padding: var(--space-10); }
.calc__presets { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.calc__preset {
  background: transparent;
  border: 1px solid var(--rule-strong);
  color: var(--text-meta);
  font-family: var(--font-mono);
  font-size: 0.71875rem;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: border-color 160ms var(--ease), color 160ms var(--ease), background-color 160ms var(--ease);
}
.calc__preset:hover { border-color: var(--accent); color: var(--text-strong); }
.calc__preset[aria-pressed="true"] { background: var(--accent-tint); border-color: var(--accent); color: var(--text-strong); }

.calc__fields { display: grid; gap: var(--space-8); margin-top: var(--space-8); }
.field__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.field__value { font-family: var(--font-mono); color: var(--text); }
.field__note { font-size: 0.71875rem; color: var(--text-meta); margin-top: var(--space-2); }

/* The filled part of the track is painted with a gradient stop the client
   script moves; --fill is the percentage already covered. */
.slider {
  width: 100%;
  margin-top: var(--space-4);
  appearance: none;
  height: 4px;
  border-radius: var(--radius-pill);
  outline: none;
  background: linear-gradient(90deg,
    var(--accent) 0%, var(--accent) var(--fill, 0%),
    var(--track) var(--fill, 0%), var(--track) 100%);
  cursor: pointer;
}
.slider::-webkit-slider-thumb {
  appearance: none;
  width: 18px; height: 18px;
  border-radius: var(--radius-pill);
  background: var(--accent-bright);
  border: 0;
  box-shadow: 0 0 0 4px rgb(145 132 217 / 0.18);
  cursor: pointer;
}
.slider::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: var(--radius-pill);
  background: var(--accent-bright);
  border: 0;
  box-shadow: 0 0 0 4px rgb(145 132 217 / 0.18);
  cursor: pointer;
}
.slider:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }

.calc__toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  border-top: 1px solid var(--rule);
  padding-top: var(--space-8);
}
.calc__toggle-label { font-size: 0.875rem; }
.calc__toggle-hint { font-size: 0.71875rem; color: var(--text-meta); margin-top: var(--space-1); }
.switch {
  width: 52px; height: 28px;
  flex: none;
  border-radius: var(--radius-pill);
  border: 1px solid var(--rule-input);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 3px;
  cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), justify-content 160ms var(--ease);
}
.switch:hover { border-color: var(--accent-bright); }
.switch[aria-checked="true"] {
  border-color: var(--accent);
  background: var(--accent-tint-strong);
  justify-content: flex-end;
}
.switch__knob {
  width: 20px; height: 20px;
  border-radius: var(--radius-pill);
  background: var(--accent-knob-off);
  transition: background-color 160ms var(--ease);
}
.switch[aria-checked="true"] .switch__knob { background: var(--accent); }
.calc__fee { font-family: var(--font-mono); font-size: 1.25rem; color: var(--accent-bright); }

.calc__result { padding: var(--space-10); }
.calc__result-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-meta);
}
.calc__total { font-size: var(--size-figure-xl); letter-spacing: -0.035em; margin-top: var(--space-4); line-height: 1; }
.calc__growth { font-size: 0.875rem; color: var(--accent-bright); margin-top: 9px; }
.calc__breakdown {
  margin-top: var(--space-10);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}
.calc__breakdown div { border-top: 1px solid rgb(233 233 237 / 0.16); padding-top: var(--space-4); }
.calc__breakdown dt { font-size: 0.6875rem; color: var(--text-meta); }
.calc__breakdown dd { margin: var(--space-1) 0 0; font-family: var(--font-mono); font-size: 1.0625rem; }
.calc__breakdown .is-fee { color: var(--text-meta); }
.calc__breakdown .is-profit { color: var(--accent-bright); }
.calc__bars { margin-top: var(--space-10); display: flex; align-items: flex-end; gap: 6px; height: 150px; }
.calc__bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}
.calc__bar-fill {
  width: 100%;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #a99ceb 0%, rgb(145 132 217 / 0.22) 100%);
  box-shadow: 0 0 18px rgb(145 132 217 / 0.25);
  transition: height 200ms var(--ease);
}
.calc__bar-label { font-family: var(--font-mono); font-size: 0.59375rem; color: var(--text-meta); }
.calc__note { margin-top: var(--space-8); font-size: 0.71875rem; color: var(--text-meta); text-wrap: pretty; }

/* ──────────────────────────────── Broker ───────────────────────────────── */

.broker { background: linear-gradient(180deg, var(--ground) 0%, var(--ground-lift) 100%); }
.broker > .shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--space-16) 3.5rem;
}
.broker__title { max-width: 18ch; }
.broker__body { margin-top: var(--space-6); max-width: 44ch; }
.broker__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.broker__point {
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--surface);
  padding: var(--space-8);
  transition: border-color 220ms var(--ease), transform 220ms var(--ease);
}
.broker__point:hover { border-color: rgb(145 132 217 / 0.45); transform: translateY(-3px); }
.broker__point dt { font-size: 0.9375rem; }
.broker__point dd { margin: var(--space-2) 0 0; font-size: 0.8125rem; color: var(--text-meta); text-wrap: pretty; }

/* ───────────────────────────── Closing call ────────────────────────────── */

.final-cta { background: linear-gradient(180deg, var(--ground-lift) 0%, #1b1e33 45%, var(--ground) 100%); }
.final-cta > .shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--space-16) 3.5rem;
  align-items: center;
}
.final-cta__title { font-size: var(--size-cta-title); line-height: 1.03; letter-spacing: -0.035em; max-width: 20ch; text-wrap: balance; }
.final-cta__body { margin-top: var(--space-6); max-width: 52ch; }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-10); }
.contact-card__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-meta);
}
.contact-card__list { margin-top: var(--space-6); display: grid; gap: 9px; }
.contact-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: var(--space-5) var(--space-6);
  font-size: 0.875rem;
  color: var(--text);
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease), color 160ms var(--ease);
}
a.contact-card__row:hover { border-color: var(--accent); color: var(--text-strong); }
.contact-card__row--primary { border-color: var(--accent); color: var(--text-strong); }
a.contact-card__row--primary:hover { background: var(--accent-tint); }
.contact-card__row--code { border-style: dashed; border-color: var(--rule-dashed); color: var(--text-muted); }
.contact-card__arrow { color: var(--accent-bright); }
.contact-card__code { font-family: var(--font-mono); letter-spacing: 0.14em; color: var(--accent-bright); }
.contact-card__note { margin-top: var(--space-6); font-size: 0.71875rem; color: var(--text-meta); text-wrap: pretty; }

/* ───────────────────────── Performance page ────────────────────────────── */

.page { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) var(--section-y); }
.page__title {
  font-size: var(--size-page-title);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-top: var(--space-5);
  max-width: 22ch;
  text-wrap: balance;
}
.page__intro { margin-top: var(--space-6); max-width: 66ch; }

.perf__metrics {
  margin-top: var(--space-16);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}
.perf__metric {
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--surface-raised) 0%, var(--surface) 100%);
  padding: var(--space-8);
}
.perf__metric dt { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-meta); }
.perf__metric dd { margin: 9px 0 0; font-family: var(--font-mono); font-size: 1.6875rem; }

.perf__table-head {
  margin-top: clamp(2.5rem, 1.5rem + 4vw, 4rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.perf__table-head h2 { font-size: 1.75rem; line-height: 1.15; }
.perf__years { display: flex; gap: var(--space-8); }
.perf__year { text-align: right; }
.perf__year dt { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--text-meta); }
.perf__year dd { margin: 0; font-size: 1.25rem; color: var(--accent-bright); }

.perf__table-wrap {
  margin-top: var(--space-8);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.perf__table { width: 100%; border-collapse: collapse; font-size: 0.84375rem; }
.perf__table thead th {
  background: var(--surface-head);
  padding: 13px var(--space-8);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-meta);
  text-align: left;
}
.perf__table thead th.is-numeric { text-align: right; }
.perf__table tbody td {
  background: var(--surface);
  border-top: 1px solid var(--rule-soft);
  padding: var(--space-4) var(--space-8);
  vertical-align: middle;
}
.perf__table tbody tr:hover td { background: var(--surface-raised); }
.perf__table .col-month { color: var(--text-soft); width: 14%; }
.perf__table .col-return { font-family: var(--font-mono); text-align: right; width: 13%; color: var(--accent-bright); }
.perf__table .col-return.is-loss { color: var(--text-meta); }
.perf__table .col-bar { width: 33%; padding-inline: var(--space-8); }
.perf__table .col-balance,
.perf__table .col-drawdown { font-family: var(--font-mono); text-align: right; width: 20%; }
.perf__table .col-drawdown { color: var(--text-meta); }
.perf__bar {
  display: block;
  height: 6px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, rgb(145 132 217 / 0.9), rgb(145 132 217 / 0.25));
}
.perf__bar--loss { background: rgb(147 151 171 / 0.55); }
.perf__note { margin-top: var(--space-8); font-size: 0.75rem; color: var(--text-meta); max-width: 82ch; text-wrap: pretty; }
.perf__download { margin-top: var(--space-12); }

/* ──────────────────────────────── FAQ page ─────────────────────────────── */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: var(--space-16) 3.5rem;
  align-items: start;
}
.faq-layout__aside { position: sticky; top: 7.5rem; }
.faq-layout__title {
  font-size: clamp(2rem, 1.4rem + 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-top: var(--space-5);
  max-width: 16ch;
  text-wrap: balance;
}
.faq-layout__aside .btn { margin-top: var(--space-10); }

/* Native disclosure: the accordion works with JavaScript switched off, and
   the shared name attribute keeps only one answer open where it is supported. */
.faq__item { border-top: 1px solid var(--rule); }
.faq__item[open] { border-top-color: rgb(145 132 217 / 0.5); }
.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-8) 0;
  font-size: 1.09375rem;
  cursor: pointer;
  list-style: none;
  transition: color 160ms var(--ease);
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question:hover { color: var(--accent-bright); }
.faq__sign {
  flex: none;
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 180ms var(--ease);
}
.faq__item[open] .faq__sign { transform: rotate(45deg); }
.faq__answer {
  padding: 0 var(--space-16) var(--space-8) 0;
  color: var(--text-muted);
  font-size: 0.90625rem;
  text-wrap: pretty;
}

/* ────────────────────────────── Keyframes ──────────────────────────────── */

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes aurora {
  0%   { transform: translate3d(-6%, -4%, 0) scale(1); }
  50%  { transform: translate3d(8%, 6%, 0) scale(1.18); }
  100% { transform: translate3d(-6%, -4%, 0) scale(1); }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes ring {
  0%   { transform: scale(0.9); opacity: 0.55; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes drift { from { background-position: 0 0; } to { background-position: 56px 56px; } }

/* Sections lift into view as they are scrolled past, where the browser can do
   it off the main thread. Browsers without scroll-driven animations simply
   show the section, which is the correct fallback. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section--reveal > .shell {
      animation: rise 1s linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 26%;
    }
  }
}

/* ───────────────────────────── Responsive ──────────────────────────────── */

/* The design canvas was drawn at one desktop width. Everything below is the
   part that was never drawn: how each grid folds down to a 320px phone. */

@media (max-width: 1100px) {
  .proof__grid,
  .calc__grid,
  .faq-layout,
  .bonus > .shell,
  .broker > .shell,
  .final-cta > .shell { grid-template-columns: minmax(0, 1fr); }

  .faq-layout__aside { position: static; }
  .fees__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section__head p { max-width: none; }
}

@media (max-width: 900px) {
  .hero > .shell { grid-template-columns: minmax(0, 1fr); }
  .hero__title { max-width: 18ch; }
  .steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8); }
  .perf__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-10); }
  .site-footer__risk-col { grid-column: 1 / -1; }

  /* The bar is a second reading of the return already in the next column. */
  .perf__table .col-bar,
  .perf__table thead .col-bar { display: none; }
}

@media (max-width: 760px) {
  .site-header__bar { padding-block: var(--space-3); gap: var(--space-3); }
  .site-nav {
    order: 5;
    flex: 1 1 auto;
    min-width: 0;
    border-top: 1px solid var(--rule-soft);
    padding-top: var(--space-2);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .header-spacer { flex: 1 0 auto; }
  /* Sized so the section links and the account button share one row at 390px
     rather than spilling onto a third. */
  .header-cta {
    order: 6;
    flex: none;
    padding-inline: var(--space-4);
    font-size: 0.8125rem;
  }
  .site-nav__link { padding-inline: var(--space-2); }

  /* The floating contact button is fixed over the foot of the page, so the
     last of the small print gets room to clear it. */
  .site-footer > .shell { padding-bottom: calc(var(--space-16) + 3.5rem); }

  .hero__leads { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .broker__grid { grid-template-columns: minmax(0, 1fr); }
  .fees__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc__breakdown { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
  .calc__controls, .calc__result, .bonus__example { padding: var(--space-8); }
  .faq__answer { padding-right: 0; }

  /* Wide by nature: let the table scroll inside its own box rather than
     letting the page scroll sideways. */
  .perf__table-wrap { overflow-x: auto; }
  .perf__table { min-width: 30rem; }
  .perf__table thead th,
  .perf__table tbody td { padding-inline: var(--space-5); }

  .btn { padding: 0.8125rem 1.25rem; }
  .hero__actions .btn,
  .final-cta__actions .btn { flex: 1 1 14rem; }
}

@media (max-width: 520px) {
  .fees__grid { grid-template-columns: minmax(0, 1fr); }
  .steps__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__eyebrow-rule { display: none; }
  .equity-card__metrics { grid-template-columns: minmax(0, 1fr); }
  .perf__years { gap: var(--space-6); }
  .float-cta { padding: 0.6875rem 1rem 0.6875rem 0.8125rem; font-size: 0.78125rem; }
  .chart__svg { height: 220px; }
  .calc__bars { height: 110px; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Coarse pointers get no hover lift: it fires on tap and sticks. */
@media (hover: none) {
  .step:hover, .broker__point:hover { transform: none; box-shadow: none; }
}

/* ─────────────────────────── Reduced motion ────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* The marquee is the one element that must be stopped rather than
     fast-forwarded: at 0.01ms it would jump to its end position. */
  .ticker__track { animation: none; }
  .ticker { overflow-x: auto; }
  .grid-wash, .aurora { animation: none; }
  .float-cta { animation: none; }
  .hero__copy, .equity-card { animation: none; opacity: 1; transform: none; }
}

/* Decorative layers.
 *
 * In the design canvas each bloom carried its own style attribute. They are
 * classes here so the pages can ship under style-src 'self' with no
 * 'unsafe-inline'. Every one of them is aria-hidden in the markup: they carry
 * no information, only depth.
 */

.hero    .grid-wash { --wash-size: 56px; }
.proof   .grid-wash { --wash-size: 64px; }
.fees    .grid-wash { --wash-size: 44px; }
.calc    .grid-wash { --wash-size: 72px; }
.final-cta .grid-wash { --wash-size: 56px; }

.aurora--hero-left {
  top: -240px; left: -160px; width: 860px; height: 660px;
  background: radial-gradient(closest-side, rgb(145 132 217 / 0.32), rgb(145 132 217 / 0));
  filter: blur(24px);
  animation-duration: 18s;
}
.aurora--hero-right {
  top: 120px; right: -220px; width: 720px; height: 560px;
  background: radial-gradient(closest-side, rgb(76 83 151 / 0.42), rgb(76 83 151 / 0));
  filter: blur(30px);
  animation-duration: 24s;
}
.aurora--band {
  top: -180px; right: -140px; width: 780px; height: 560px;
  background: radial-gradient(closest-side, rgb(181 171 252 / 0.30), rgb(181 171 252 / 0));
  filter: blur(20px);
  animation-duration: 21s;
}
.aurora--proof-left {
  top: -200px; left: -180px; width: 760px; height: 560px;
  background: radial-gradient(closest-side, rgb(145 132 217 / 0.20), rgb(0 0 0 / 0));
  animation-duration: 22s;
}
.aurora--proof-right {
  bottom: -240px; right: -160px; width: 700px; height: 520px;
  background: radial-gradient(closest-side, rgb(76 83 151 / 0.34), rgb(0 0 0 / 0));
  animation-duration: 27s;
}
.aurora--steps {
  top: -160px; right: -120px; width: 640px; height: 460px;
  background: radial-gradient(closest-side, rgb(145 132 217 / 0.16), rgb(0 0 0 / 0));
  animation-duration: 25s;
}
.aurora--bonus-right {
  top: -180px; right: -140px; width: 700px; height: 540px;
  background: radial-gradient(closest-side, rgb(145 132 217 / 0.24), rgb(0 0 0 / 0));
  animation-duration: 20s;
}
.aurora--bonus-left {
  bottom: -220px; left: -180px; width: 620px; height: 480px;
  background: radial-gradient(closest-side, rgb(76 83 151 / 0.30), rgb(0 0 0 / 0));
  animation-duration: 26s;
}
.aurora--fees {
  bottom: -200px; left: 8%; width: 720px; height: 500px;
  background: radial-gradient(closest-side, rgb(145 132 217 / 0.18), rgb(0 0 0 / 0));
  animation-duration: 23s;
}
.aurora--calc {
  top: -180px; right: 6%; width: 680px; height: 520px;
  background: radial-gradient(closest-side, rgb(76 83 151 / 0.36), rgb(0 0 0 / 0));
  animation-duration: 24s;
}
.aurora--broker {
  top: -140px; left: 20%; width: 700px; height: 480px;
  background: radial-gradient(closest-side, rgb(145 132 217 / 0.14), rgb(0 0 0 / 0));
  animation-duration: 28s;
}
.aurora--cta-left {
  bottom: -260px; left: 8%; width: 860px; height: 600px;
  background: radial-gradient(closest-side, rgb(145 132 217 / 0.26), rgb(0 0 0 / 0));
  animation-duration: 21s;
}
.aurora--cta-right {
  top: -200px; right: -140px; width: 640px; height: 480px;
  background: radial-gradient(closest-side, rgb(76 83 151 / 0.32), rgb(0 0 0 / 0));
  animation-duration: 26s;
}

/* A 860px blurred bloom costs real paint time on a phone. Below the tablet
   breakpoint each section keeps one bloom, at a size the viewport can afford. */
@media (max-width: 760px) {
  .aurora { max-width: 130vw; max-height: 55vh; filter: blur(20px); }
  .aurora--hero-right,
  .aurora--proof-right,
  .aurora--bonus-left,
  .aurora--cta-right { display: none; }
}

/* Generated by build.js from src/content/data.json. Do not edit. */
#calc-deposit { --fill: 0.0%; }
#calc-return { --fill: 37.5%; }
#calc-months { --fill: 33.3%; }
#calc-topup { --fill: 0.0%; }
#calc-withdraw { --fill: 0.0%; }
[data-bar="0"] { height: 34.2%; }
[data-bar="1"] { height: 39.6%; }
[data-bar="2"] { height: 43.6%; }
[data-bar="3"] { height: 50.5%; }
[data-bar="4"] { height: 55.7%; }
[data-bar="5"] { height: 61.4%; }
[data-bar="6"] { height: 71.1%; }
[data-bar="7"] { height: 78.4%; }
[data-bar="8"] { height: 90.7%; }
[data-bar="9"] { height: 100.0%; }
[data-bar-row="0"] { width: 6.8%; }
[data-bar-row="1"] { width: 61.3%; }
[data-bar-row="2"] { width: 33.7%; }
[data-bar-row="3"] { width: 83.8%; }
[data-bar-row="4"] { width: 70.2%; }
[data-bar-row="5"] { width: 34.0%; }
[data-bar-row="6"] { width: 0.9%; }
[data-bar-row="7"] { width: 1.5%; }
[data-bar-row="8"] { width: 32.2%; }
[data-bar-row="9"] { width: 0.5%; }
[data-bar-row="10"] { width: 29.2%; }
[data-bar-row="11"] { width: 34.9%; }
[data-bar-row="12"] { width: 100.0%; }
[data-bar-row="13"] { width: 3.3%; }
[data-bar-row="14"] { width: 49.0%; }
[data-bar-row="15"] { width: 0.7%; }
[data-bar-row="16"] { width: 4.9%; }
[data-bar-row="17"] { width: 47.2%; }
[data-bar-row="18"] { width: 16.5%; }
[data-bar-row="19"] { width: 56.1%; }
