/* GexLevels landing — same palette and type as the dashboard */
:root {
  --bg: #0d0f11;
  --bg-2: #101214;
  --panel: #16191c;
  --panel-2: #1b1f23;
  --line: #23272b;
  --line-2: #2d3237;
  --text: #e6e8ea;
  --text-2: #a9aeb4;
  --muted: #7a8188;
  --pos: #3aa57a;
  --neg: #db5a4a;
  --spot: #e3b341;

  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --serif: 'IBM Plex Serif', Georgia, serif;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --wrap: 1180px;
  color-scheme: dark;
}

/* ── Brand accent: yellow by default; ?brand=blue / ?brand=purple to preview ── */
:root { --brand: #2f8cff; --brand-2: #1d5fe0; --brand-ink: #5aa2ff; --brand-glow: rgba(47, 140, 255, 0.16); }
[data-brand="yellow"] { --brand: #e3b341; --brand-2: #c9922a; --brand-ink: #e3b341; --brand-glow: rgba(227, 179, 65, 0.12); }
[data-brand="purple"] { --brand: #9b6bff; --brand-2: #6d3df0; --brand-ink: #b291ff; --brand-glow: rgba(155, 107, 255, 0.15); }

/* Logo lockup: bracket mark + wide wordmark */
.logo svg { width: 24px; height: 24px; }
.logo-word { font: 700 17px 'Saira', var(--sans); font-stretch: 125%; letter-spacing: 0.01em; }
.lockup { display: flex; align-items: center; gap: clamp(14px, 2vw, 22px); }
.lockup-mark { width: clamp(52px, 7vw, 84px); height: clamp(52px, 7vw, 84px); }
.lockup-word { font: 700 clamp(40px, 6.4vw, 78px)/1 'Saira', var(--sans); font-stretch: 125%; letter-spacing: 0.005em; color: #eef0f2; }

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--spot); outline-offset: 3px; border-radius: 4px; }

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font: 600 15px var(--sans); text-decoration: none; cursor: pointer;
  padding: 12px 20px; border-radius: 8px; border: 1px solid transparent;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: #fff; }
.btn-ghost { color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { padding: 7px 14px; font-size: 14px; }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ── Nav ─────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 15, 17, 0.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.logo svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; }
.nav-links a { color: var(--text-2); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* Language switch: two small flags, the current one lit */
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; margin-right: 4px; }
.lang a { display: flex; align-items: center; gap: 6px; padding: 3px 8px 3px 4px; border-radius: 999px; text-decoration: none;
  font: 500 11.5px var(--mono); color: var(--muted); transition: color 0.2s, background 0.2s; }
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] { background: var(--panel-2); color: var(--text); }
.lang svg { width: 18px; height: 12px; border-radius: 2px; opacity: 0.55; transition: opacity 0.2s; }
.lang a:hover svg, .lang a[aria-current="true"] svg { opacity: 1; }

/* Mobile trial bar: slides up once the hero is gone, steps aside for pricing and the final CTA */
.mbar { display: none; }
@media (max-width: 640px) {
  .mbar {
    display: flex; align-items: center; gap: 12px; position: fixed; z-index: 20; left: 10px; right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom)); padding: 10px 10px 10px 16px; border-radius: 12px;
    background: rgba(22, 25, 28, 0.94); backdrop-filter: blur(12px); border: 1px solid var(--line-2);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    transform: translateY(calc(100% + 24px)); transition: transform 0.45s var(--ease);
  }
  .mbar.show { transform: none; }
  .mbar div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
  .mbar b { font: 600 15px var(--mono); letter-spacing: -0.02em; }
  .mbar span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mbar .btn { margin-left: auto; flex: none; }
  footer { padding-bottom: 96px; }
}

/* ── Hero: logo and words, nothing else ───── */
.hero { padding: 112px 0 120px; text-align: center; position: relative; overflow: hidden;
  min-height: calc(100svh - 64px); display: flex; flex-direction: column; justify-content: center; }
.hero .wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero::after {
  content: ''; position: absolute; left: 50%; top: -20%; width: 1100px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--brand-glow), transparent 65%); pointer-events: none;
  animation: glow-drift 14s ease-in-out infinite alternate;
  opacity: calc(1 - var(--p));
}
@keyframes glow-drift { to { transform: translateX(-46%) translateY(30px); } }
.hero { --p: 0; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 1%, #000 12%, #000 94%, transparent 100%);
  opacity: calc(1 - var(--p) * 1.15);
}
.hero-bg .side { position: absolute; inset: 0; transition: transform 0.12s linear; }
/* on scroll the two ladders slide back out toward their edges */
.hero-bg .side-l { transform: translateX(calc(var(--p) * -32%)); }
.hero-bg .side-r { transform: translateX(calc(var(--p) * 32%)); }
.hero-bg span {
  position: absolute; height: 1.4%; border-radius: 2px;
  animation: bar-breathe ease-in-out infinite alternate;
  transition: width 1.1s var(--ease), opacity 0.9s var(--ease);
}
/* bars fade toward the middle so the text always sits on clean background */
.side-r span { right: 0; transform-origin: right center; background: linear-gradient(90deg, transparent, var(--brand)); opacity: 0.32; }
.side-l span { left: 0; transform-origin: left center; background: linear-gradient(270deg, transparent, #8a929a); opacity: 0.22; }
.hero-bg span.wall { opacity: 0.65; }
/* the text drifts up and fades as the hero scrolls away */
.hero .wrap { opacity: calc(1 - var(--p) * 0.95); transform: translateY(calc(var(--p) * -90px)) scale(calc(1 - var(--p) * 0.04)); }
@keyframes bar-breathe { from { transform: scaleX(0.6); } to { transform: scaleX(1.15); } }
.hero .wrap > * { animation: rise 0.9s var(--ease) both; }
.hero .wrap > :nth-child(2) { animation-delay: 0.12s; }
.hero .wrap > :nth-child(3) { animation-delay: 0.22s; }
.hero .wrap > :nth-child(4) { animation-delay: 0.32s; }
.hero .wrap > :nth-child(5) { animation-delay: 0.42s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.eyebrow { font: 500 13px var(--mono); color: var(--muted); letter-spacing: 0.02em; }
.hero h1 {
  font: 600 clamp(30px, 4.2vw, 52px)/1.08 var(--mono);
  letter-spacing: -0.035em; margin: 44px 0 22px; max-width: 22ch; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--brand-ink); }
.hero .lede { color: var(--text-2); font-size: 18px; max-width: 36em; text-wrap: pretty; }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero .fine { margin-top: 14px; color: var(--muted); font-size: 14px; }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}

/* ── Sections ────────────────────────────── */
section.block { padding: 96px 0; position: relative; }
section.block::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(1180px, 92%); height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent);
}
.hero + section.block::before { display: none; }
/* the hero melts into the page instead of ending on an edge */
.hero { margin-bottom: 0; }
.hero > .hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 64px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.sec-head { max-width: 46em; margin-bottom: 48px; }
.sec-head .eyebrow { display: block; margin-bottom: 14px; }
.sec-head h2 { font: 600 clamp(28px, 3.4vw, 42px)/1.12 var(--mono); letter-spacing: -0.03em; text-wrap: balance; }
.sec-head p { color: var(--text-2); margin-top: 14px; font-size: 17px; max-width: 40em; text-wrap: pretty; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.stat { background: var(--bg-2); padding: 32px 28px 30px; }
.stat .big { font: 600 clamp(52px, 6vw, 76px)/1 var(--mono); letter-spacing: -0.04em; color: var(--brand-ink); }
.stat .big small { font-size: 0.5em; color: var(--brand); opacity: 0.7; margin-left: 2px; }
.stat p { color: var(--text-2); margin-top: 14px; max-width: 22em; }
.stat p b { color: var(--text); font-weight: 500; }
.stats-foot { color: var(--muted); font-size: 13px; margin-top: 16px; max-width: 60em; }
.slogan { margin-top: 56px; font: italic clamp(20px, 2.4vw, 26px)/1.4 var(--serif); color: #d6d9dc; max-width: 36em; }
.slogan b { font-style: normal; font-family: var(--mono); font-weight: 600; color: var(--text); }

/* Example sessions: a swipeable row of cards */
.slides {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 4px; outline: none;
}
.slides::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%; scroll-snap-align: start;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px 24px 0; overflow: hidden;
}
.slide .head { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: end; }
.slide .date { font: 600 clamp(26px, 3.2vw, 38px)/1 var(--mono); letter-spacing: -0.03em; }
.slide .title { font: 500 15px var(--sans); color: var(--text-2); margin-top: 8px; }
.slide .meta { font: 12px var(--mono); color: var(--muted); }
.slide .head-right { display: flex; align-items: center; gap: 14px; }
.replay {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line-2); background: none; color: var(--text-2); font: 500 12px var(--mono); cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.replay span { font-size: 14px; line-height: 1; transition: transform 0.5s var(--ease); }
.replay:hover { color: var(--text); border-color: var(--brand); background: var(--brand-glow); }
.replay:hover span { transform: rotate(-200deg); }
.replay:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.slide svg { width: 100%; height: auto; margin-top: 12px; }
.slide .note { font: italic 16px/1.6 var(--serif); color: #c9cdd1; margin: 6px 0 18px; max-width: 52em; }
.slide-foot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); margin: 0 -24px; }
.slide-foot div { background: var(--panel); padding: 14px 24px 16px; }
.slide-foot span { display: block; font-size: 12px; color: var(--muted); }
.slide-foot b { font: 500 17px var(--mono); }
.slide-foot small { font: 500 13px var(--mono); margin-left: 4px; }
.slider-nav { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.slide-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--text);
  font-size: 16px; cursor: pointer; transition: border-color 0.2s, background 0.2s, opacity 0.2s;
}
.slide-btn:hover { border-color: var(--muted); background: var(--panel); }
.slide-btn:disabled { opacity: 0.35; cursor: default; background: none; border-color: var(--line-2); }
.slide-count { font-size: 13px; color: var(--muted); min-width: 4.5em; text-align: center; }
.slide-count { min-width: 7.5em; }
/* October as a Mon–Fri calendar; every trading day is a button */
.slide-cal { margin-left: auto; display: grid; grid-template-columns: repeat(5, 34px); gap: 4px; font: 500 12px var(--mono); }
.slide-cal span { color: var(--muted); font: 500 10.5px var(--sans); text-align: center; padding-bottom: 2px; }
.slide-cal i { font-style: normal; color: var(--line-2); text-align: center; padding: 5px 0; }
.slide-cal button {
  border: 0; cursor: pointer; padding: 5px 0; border-radius: 4px; background: var(--panel);
  font: inherit; color: var(--text-2); transition: color 0.2s, background 0.2s;
}
.slide-cal button:hover { color: var(--text); background: var(--panel-2); }
.slide-cal button[aria-current="true"] { color: var(--bg); background: var(--text); }
.pos { color: var(--pos); }
.neg { color: var(--neg); }

/* NQ / ES conversion note under the examples */
.convert {
  display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin-top: 28px;
  padding: 14px 18px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line);
  font-size: 14px; color: var(--text-2);
}
.convert b { color: var(--text); font-weight: 600; }
.convert span { flex: 1 1 380px; }
.convert a { color: var(--brand-ink); text-decoration: none; font-weight: 500; white-space: nowrap; }
.convert a:hover { text-decoration: underline; }
.faq .formula { font-family: var(--mono); font-size: 14px; color: var(--text); background: var(--panel); border-radius: 6px; padding: 10px 14px; margin: 10px 0; }

/* Track smart money: a blue cascade that fades into the background;
   the active line lights up and its explanation shows beside it */
.smart-title { font-size: clamp(36px, 5vw, 64px) !important; }
.smart-title em { font-style: normal; color: var(--brand-ink); }
.smart { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-top: -8px; }
.cascade { list-style: none; padding: 0; margin: 0; }
.cascade li { --fade: 1; }
.cascade li:nth-child(1) { --fade: 0.9; }
.cascade li:nth-child(2) { --fade: 0.66; }
.cascade li:nth-child(3) { --fade: 0.46; }
.cascade li:nth-child(4) { --fade: 0.3; }
.cascade li:nth-child(5) { --fade: 0.18; }
.cascade button {
  all: unset; cursor: pointer; display: block; padding: 4px 0;
  font: 600 clamp(26px, 3.6vw, 46px)/1.15 var(--mono); letter-spacing: -0.035em;
  color: var(--brand-ink); opacity: var(--fade);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.6s var(--ease), text-shadow 0.6s var(--ease);
}
.cascade button:hover { opacity: calc(var(--fade) + 0.25); }
.cascade button[aria-selected="true"] { opacity: 1; color: #cfe3ff; transform: translateX(10px); text-shadow: 0 0 28px rgba(47, 140, 255, 0.45); }
.cascade button:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 4px; }
.smart-detail { display: grid; border-left: 1px solid var(--line-2); padding-left: 28px; }
.smart-panel { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); pointer-events: none; }
.smart-panel.on { opacity: 1; transform: none; }
.smart-panel span { font-size: 12px; color: var(--brand-ink); }
.smart-panel p { font: italic 20px/1.5 var(--serif); color: #d6d9dc; margin-top: 10px; max-width: 26em; text-wrap: pretty; }
.smart-sum { grid-area: 2 / 1; margin-top: 22px; color: var(--text-2); font-size: 15px; max-width: 30em; }
#data { padding-bottom: 0; }
#data + section.block::before { display: none; }
.firms-label { margin-top: 72px; margin-bottom: 14px; font: 500 12px var(--mono); color: var(--muted); letter-spacing: 0.02em; }

/* Who uses this data */
.firms { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-2); padding: 34px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.firms-track { display: flex; gap: 72px; width: max-content; animation: marquee 38s linear infinite; }
.firms:hover .firms-track { animation-play-state: paused; }
.firms-track span { font: 500 clamp(22px, 2.4vw, 30px) var(--mono); color: var(--text-2); letter-spacing: -0.01em; white-space: nowrap; }
.firms-track span::after { content: '·'; margin-left: 72px; color: var(--line-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.feature { background: var(--bg-2); padding: 28px 26px 30px; transition: background 0.25s; }
.feature:hover { background: var(--panel); }
.feature .n { font: 12px var(--mono); color: var(--muted); }
.feature h3 { font-size: 17px; font-weight: 600; margin: 14px 0 8px; }
.feature p { color: var(--text-2); font-size: 15px; }

/* Showcase: product screenshots beside their copy, alternating sides */
.showcase { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; margin-bottom: 88px; }
.showcase.flip .show-text { order: 2; }
.show-text .n { font: 12px var(--mono); color: var(--muted); }
.show-text h3 { font: 600 clamp(22px, 2.4vw, 28px)/1.2 var(--mono); letter-spacing: -0.02em; margin: 12px 0 14px; }
.show-text p { color: var(--text-2); font-size: 16px; max-width: 34em; }
.shot {
  margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.85), 0 0 0 6px rgba(255, 255, 255, 0.02);
  transform: perspective(1400px) rotateY(-4deg); transition: transform 0.6s var(--ease);
}
.showcase.flip .shot { transform: perspective(1400px) rotateY(4deg); }
.shot:hover, .showcase.flip .shot:hover { transform: none; }
.shot img { display: block; width: 100%; height: auto; }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }

/* Pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.value { padding: 8px 0; }
.value-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); align-items: baseline; }
.value-row:last-child { border-bottom: 0; }
.value-row .what b { font-weight: 600; display: block; }
.value-row .what small { color: var(--muted); font-size: 13px; }
.value-row .cost { font: 500 15px var(--mono); color: var(--text); text-align: right; white-space: nowrap; }
.value-row.total { background: var(--panel-2); }
.value-row.total .cost { color: var(--text); font-weight: 600; font-size: 17px; }
.offer { padding: 32px 30px 28px; border-color: var(--line-2); position: relative; overflow: hidden; }
.offer::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--brand-2), var(--brand)); }
.offer .tag { font: 500 12px var(--mono); color: var(--brand-ink); }
.offer h3 { font: 600 44px/1.05 var(--mono); letter-spacing: -0.04em; margin: 12px 0 6px; }
.offer .then { color: var(--text-2); font-size: 17px; }
.offer .then b { font-family: var(--mono); color: var(--text); font-weight: 600; font-size: 1.35em; }
.offer .then .was { font-family: var(--mono); color: var(--muted); text-decoration-color: var(--neg); text-decoration-thickness: 2px; margin-right: 4px; }
.offer ul { list-style: none; padding: 0; margin: 24px 0 26px; display: grid; gap: 11px; }
.offer li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--text-2); font-size: 15px; }
.offer li::before {
  content: ''; width: 6px; height: 11px; margin: 3px 0 0 6px;
  border-right: 2px solid var(--brand-ink); border-bottom: 2px solid var(--brand-ink);
  transform: rotate(45deg);
}
.offer li b { color: var(--text); font-weight: 500; }
.offer .btn { width: 100%; padding: 14px; font-size: 16px; }
.offer .btn-primary { background: var(--brand); color: #fff; }
.offer .btn-primary:hover { background: var(--brand-ink); }
.offer .fine { color: var(--muted); font-size: 13px; margin-top: 12px; text-align: center; }
.value-foot { color: var(--muted); font-size: 13px; margin-top: 14px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 17px; font-weight: 500; transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg); transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: #fff; }
.faq .answer { color: var(--text-2); padding: 0 40px 24px 0; max-width: 46em; }
.faq .answer p + p { margin-top: 10px; }

/* Final CTA + footer */
.final { text-align: center; padding: 110px 0; position: relative; }
.final h2 { font: 600 clamp(30px, 4vw, 48px)/1.1 var(--mono); letter-spacing: -0.035em; text-wrap: balance; }
.final p { color: var(--text-2); margin: 16px auto 30px; max-width: 32em; }
.final .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 13px; }
footer .wrap { display: grid; gap: 14px; }
footer .row { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
footer a { color: var(--text-2); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .legal { max-width: 64em; line-height: 1.6; }

/* Scroll reveal: content is visible without JS; .js-reveal only added when supported */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* ── Motion and surface pass ─────────────── */
:root { --spring: cubic-bezier(0.34, 1.4, 0.64, 1); }
section[id] { scroll-margin-top: 64px; }

/* faint film grain over everything, so the black never reads as flat */
body::after {
  content: ''; position: fixed; inset: -50%; z-index: 30; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.6s steps(5) infinite;
}
@keyframes grain {
  20% { transform: translate(-2%, 1.5%); } 40% { transform: translate(1.5%, -2%); }
  60% { transform: translate(-1%, -1%); } 80% { transform: translate(2%, 1%); }
}

/* nav: scroll progress hairline + an indicator under the current section */
.nav::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; transform-origin: left;
  transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, var(--brand-2), var(--brand));
}
.nav-links { position: relative; }
.nav-links a.active { color: var(--text); }
.nav-ind {
  position: absolute; left: 0; bottom: -8px; height: 2px; width: 0; border-radius: 2px; background: var(--brand);
  opacity: 0; transition: transform 0.5s var(--spring), width 0.5s var(--spring), opacity 0.3s;
}

/* buttons: lift, a light sweep across the primary, and a press you can feel */
.btn { transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.25s var(--spring), box-shadow 0.3s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.08s; }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary:hover { box-shadow: 0 10px 28px -12px rgba(255, 255, 255, 0.45); }
.offer .btn-primary:hover { box-shadow: 0 12px 32px -10px rgba(47, 140, 255, 0.6); }
.btn-primary::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform 0.9s var(--ease);
}
.btn-primary:hover::after { transform: translateX(130%); }
.offer .btn-primary::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%); }

/* cards: a spotlight and a lit edge that follow the pointer */
.spot { position: relative; }
.spot > .glow { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s var(--ease); z-index: 1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--brand) 9%, transparent), transparent 60%); }
.spot > .glow::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--brand) 60%, transparent), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.spot:hover > .glow { opacity: 1; }

/* headlines rise word by word */
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.04em 0.1em; margin: 0 -0.04em -0.1em; }
.words .w > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease) calc(var(--d) * 55ms); }
.words.in .w > span { transform: none; }
.hero h1.words { animation: none; }
.hero h1.words .w > span { transition-delay: calc(250ms + var(--d) * 70ms); }

/* eyebrows draw a short brand line as their section arrives */
.js-reveal .sec-head .eyebrow::before {
  content: ''; display: inline-block; width: 0; height: 1px; margin-right: 0; vertical-align: middle;
  background: var(--brand); transition: width 0.8s var(--ease) 0.15s, margin 0.8s var(--ease) 0.15s;
}
.js-reveal .sec-head.in .eyebrow::before { width: 22px; margin-right: 10px; }

/* groups cascade in, one child after another */
.js-reveal .stagger > * { opacity: 0; transform: translateY(16px); filter: blur(4px);
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease), filter 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms + 80ms); }
.js-reveal .stagger.in > * { opacity: 1; transform: none; filter: none; }
.js-reveal .faq.stagger > * { transition-delay: calc(var(--i, 0) * 45ms); }
.js-reveal .slide-cal.stagger > * { transition-delay: calc(var(--i, 0) * 18ms); }

/* stats: a meter fills to each percentage as the numbers count up */
.stat .meter { display: block; height: 3px; margin-top: 22px; border-radius: 2px; background: var(--line); overflow: hidden; max-width: 22em; }
.stat .meter b { display: block; height: 100%; border-radius: 2px; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--brand-2), var(--brand)); transition: transform 1.6s var(--ease) 0.15s; }
.stat.on .meter b { transform: scaleX(var(--v)); }

/* slider: the slide in view is lit, the ones scrolling past dim back */
.slide { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.3s; }
.slide:not(.current) { opacity: 0.4; transform: scale(0.975); }
.slide-cal button { transition: color 0.2s, background 0.3s var(--ease), transform 0.25s var(--spring); }
.slide-cal button:hover { transform: translateY(-1px); }
.slide-btn { transition: border-color 0.2s, background 0.2s, opacity 0.2s, transform 0.25s var(--spring); }
.slide-btn:not(:disabled):hover { transform: scale(1.06); }
.slide-btn:not(:disabled):active { transform: scale(0.94); }

/* product shots: tilt toward the pointer, drift with the scroll */
.shot { --base: -4deg; --rx: 0deg; --ry: 0deg; --py: 0px;
  transform: perspective(1400px) translateY(var(--py)) rotateY(calc(var(--base) + var(--ry))) rotateX(var(--rx));
  transition: transform 0.7s var(--ease), box-shadow 0.5s var(--ease); }
.showcase.flip .shot { --base: 4deg; transform: perspective(1400px) translateY(var(--py)) rotateY(calc(var(--base) + var(--ry))) rotateX(var(--rx)); }
.shot:hover, .showcase.flip .shot:hover { --base: 0deg; transform: perspective(1400px) translateY(var(--py)) rotateY(var(--ry)) rotateX(var(--rx));
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 6px rgba(255, 255, 255, 0.03), 0 0 60px -20px color-mix(in srgb, var(--brand) 35%, transparent); }

/* pricing: the old total gets struck through on screen, then the real price lands */
.js-reveal .offer .then .was { text-decoration: none; background: linear-gradient(var(--neg), var(--neg)) no-repeat 0 55% / 0% 2px;
  transition: background-size 0.6s var(--ease) 0.9s; }
.js-reveal .offer.in .then .was { background-size: 100% 2px; }
.js-reveal .offer .then b { display: inline-block; opacity: 0; transform: translateY(10px) scale(0.85);
  transition: opacity 0.4s var(--ease) 1.45s, transform 0.7s var(--spring) 1.45s; }
.js-reveal .offer.in .then b { opacity: 1; transform: none; }
.offer li::before { transition: transform 0.4s var(--spring); }
.offer li:hover::before { transform: scale(1.2); }
.value-row { transition: background 0.25s; }
.value-row:not(.total):hover { background: rgba(255, 255, 255, 0.02); }

/* FAQ rows */
.faq .answer { overflow: hidden; }
.faq summary { transition: color 0.2s, padding-left 0.35s var(--ease); }
.faq summary:hover { padding-left: 6px; }
.faq summary::after { transition: transform 0.35s var(--spring), margin 0.35s var(--ease); }

/* final call to action: a slow breathing glow behind it */
.final { overflow: hidden; }
.final::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 900px; height: 420px; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--brand) 16%, transparent), transparent 65%);
  pointer-events: none; animation: breathe 7s ease-in-out infinite alternate;
}
.final .wrap { position: relative; }
@keyframes breathe { from { opacity: 0.55; transform: translate(-50%, -50%) scale(0.92); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } }

/* ── Responsive ──────────────────────────── */
@media (max-width: 960px) {
  .pricing { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 72px 0 84px; }
  .stats, .features, .extras { grid-template-columns: minmax(0, 1fr); }
  .smart { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .showcase { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 56px; }
  .showcase.flip .show-text { order: 0; }
  .shot, .showcase.flip .shot { transform: none; }
  .slide-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slider-nav { flex-wrap: wrap; }
  .slide-cal { margin-left: 0; width: 100%; grid-template-columns: repeat(5, 1fr); }
  .nav-links { display: none; }
  section.block { padding: 72px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav .wrap { gap: 12px; }
  .nav-cta .btn-ghost { display: none; }
  .lang a { padding: 3px 4px; }
  .lang a span { display: none; }
  .slide .head-right .meta { display: none; }
  .slide { padding: 18px 16px 0; }
  .slide-foot { margin: 0 -16px; }
  .slide-foot div { padding: 12px 16px 14px; }
  .value-row { padding: 14px 16px; }
  .offer { padding: 26px 20px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
  .js-reveal .stagger > * { opacity: 1; transform: none; filter: none; }
  .words .w > span, .slide:not(.current) { transform: none; opacity: 1; }
  .js-reveal .offer .then .was { background-size: 100% 2px; }
  .js-reveal .offer .then b { opacity: 1; transform: none; }
  .stat .meter b { transform: scaleX(var(--v)); }
  body::after { display: none; }
}
