/* finique.in: the public website. Static, no build step (website/ can move to its own repo).
   Brand (docs/brand/): navy #0e1a3c, cream #f5f1e8, gold #d08a0f / #f2b63c (decoration only,
   never text). Colours mirror the app's theme.css; html.dark switches them (theme.js). */

:root {
  color-scheme: light;
  --bg: #f5f1e8;
  --bg-2: #ede7da;
  --surface: #fffdf8;
  --line: #e1d9c8;
  --line-strong: #cbc2af;
  --ink: #0e1a3c;
  --soft: #3d4763;
  --muted: #596075;
  --accent: #2a4799;
  --pos: #04704f;
  --neg: #b3123a;
  --gold: #d08a0f;
  --gold-2: #f2b63c;
  --primary: #0e1a3c;
  --primary-hover: #24325c;
  --on-primary: #f5f1e8;
  --tint: #eaedf6;
  --glow-a: rgb(42 71 153 / .16);
  --glow-b: rgb(208 138 15 / .16);
  --shadow: 0 30px 60px -25px rgb(14 26 60 / .35), 0 0 0 1px rgb(14 26 60 / .06);
  --shadow-sm: 0 10px 30px -15px rgb(14 26 60 / .3);
  --tile: #0e1a3c; --tile-ink: #f5f1e8; --tile-spark: #f2b63c;
  --radius: 1.25rem;
  --wrap: 72rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html.dark {
  color-scheme: dark;
  --bg: #0b1430;
  --bg-2: #101b3d;
  --surface: #132045;
  --line: #24325c;
  --line-strong: #2e3a5e;
  --ink: #f5f1e8;
  --soft: #cfd4e1;
  --muted: #9aa3bb;
  --accent: #a9bdf5;
  --pos: #3ccf98;
  --neg: #fb7f94;
  --gold: #f2b63c;
  --gold-2: #d08a0f;
  --primary: #f5f1e8;
  --primary-hover: #e3dccb;
  --on-primary: #0e1a3c;
  --tint: #1a2850;
  --glow-a: rgb(108 128 189 / .22);
  --glow-b: rgb(242 182 60 / .12);
  --shadow: 0 30px 70px -25px rgb(0 0 0 / .7), 0 0 0 1px rgb(255 255 255 / .06);
  --shadow-sm: 0 10px 30px -15px rgb(0 0 0 / .6);
  --tile: #f5f1e8; --tile-ink: #0e1a3c; --tile-spark: #d08a0f;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 "DM Sans Variable", "DM Sans", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
h1, h2, h3, .display {
  font-family: "Outfit Variable", Outfit, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0;
}
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: .5rem;
}
.wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }
/* decorative glows and shadows may reach past the screen edge; never let them widen the page */
main { overflow-x: clip; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--primary); color: var(--on-primary);
  padding: .6rem 1rem; border-radius: .6rem; text-decoration: none;
}
.skip:focus { top: 1rem; }

/* light/dark pairs of screenshots: only the one for the current theme is shown (and loaded) */
html:not(.dark) .on-dark, html.dark .on-light { display: none; }

/* text roles, as in the app */
.eyebrow {
  font-family: "JetBrains Mono Variable", "JetBrains Mono", ui-monospace, monospace;
  font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.lead { font-size: 1.2rem; color: var(--soft); max-width: 40rem; }
.muted { color: var(--muted); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 0; border-radius: .8rem; padding: .85rem 1.3rem;
  font: 600 1rem/1 "DM Sans Variable", "DM Sans", sans-serif;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform .25s var(--ease); }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-primary:hover svg { transform: translate(2px, -2px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { background: var(--bg-2); transform: translateY(-2px); }
.btn-sm { padding: .6rem 1rem; font-size: .925rem; }
.btn-block { width: 100%; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .4s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
/* three columns: logo left, links in the true centre of the page, actions on the right edge */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; height: 4.25rem; }
.nav .brand { justify-self: start; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 2.1rem; height: 2.1rem; flex: none; }
.brand-name { font: 600 1.45rem/1 "Outfit Variable", Outfit, sans-serif; letter-spacing: -.02em; }
.tile { fill: var(--tile); transition: fill .4s; }
.tile-ink { color: var(--tile-ink); }
.tile-spark { fill: var(--tile-spark); transform-origin: 719px 273px; animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle {
  0%, 70%, 100% { transform: scale(1) rotate(0); }
  80% { transform: scale(1.35) rotate(45deg); }
  90% { transform: scale(.9) rotate(90deg); }
}
.nav-links { display: flex; gap: .25rem; list-style: none; padding: 0; margin: 0; }
.nav-links a {
  display: block; padding: .5rem .8rem; border-radius: .6rem;
  color: var(--soft); text-decoration: none; font-weight: 500; font-size: .975rem;
  transition: color .2s, background-color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--bg-2); }
.nav-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem;
  border: 0; border-radius: .7rem; background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color .2s, transform .3s var(--ease);
}
.icon-btn:hover { background: var(--bg-2); }
.icon-btn svg { width: 1.3rem; height: 1.3rem; }
.theme-toggle .sun { display: none; }
html.dark .theme-toggle .sun { display: block; }
html.dark .theme-toggle .moon { display: none; }
.theme-toggle:active svg { transform: rotate(-30deg) scale(.9); }
.menu-btn { display: none; }
.mobile-menu { display: none; }

@media (max-width: 860px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-btn { display: inline-grid; }
  .mobile-menu {
    display: block; overflow: hidden; max-height: 0;
    transition: max-height .4s var(--ease);
    border-top: 1px solid transparent;
  }
  .mobile-menu.open { max-height: 26rem; border-top-color: var(--line); }
  .mobile-menu ul { list-style: none; margin: 0; padding: .75rem 0 1.25rem; display: grid; gap: .25rem; }
  .mobile-menu a:not(.btn) {
    display: block; padding: .75rem .5rem; color: var(--ink); text-decoration: none;
    font-weight: 500; border-radius: .6rem;
  }
  .mobile-menu a:not(.btn):hover { background: var(--bg-2); }
  .mobile-menu .btn { margin-top: .5rem; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: 3.5rem 0 0; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); }
.glow-a { width: 46rem; height: 46rem; left: -12rem; top: -16rem; background: var(--glow-a); animation: drift 18s ease-in-out infinite alternate; }
.glow-b { width: 38rem; height: 38rem; right: -10rem; top: 6rem; background: var(--glow-b); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(6rem, 4rem) scale(1.1); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%);
}
/* the hero's wealth chart: a sharp gold line climbing to the top right, drawn left to right with
   the arrow riding its tip (SVG animations, one timeline, so they stay in step), then a pulse and a
   "Your net worth" label. Faded behind the centre text, strong at the edges. */
.wealth-chart {
  position: absolute; left: 0; top: 2rem; width: 100%; height: auto; color: var(--gold);
  mask-image: radial-gradient(ellipse 40% 52% at 50% 46%, rgb(0 0 0 / .08) 45%, #000 100%);
  -webkit-mask-image: radial-gradient(ellipse 40% 52% at 50% 46%, rgb(0 0 0 / .08) 45%, #000 100%);
}
.wc-grid { fill: none; stroke: var(--ink); stroke-opacity: .07; stroke-width: 1; stroke-dasharray: 4 8; }
.wc-line { fill: none; stroke: currentColor; stroke-width: 3; stroke-linejoin: miter; stroke-linecap: butt; }
.wc-arrow { fill: currentColor; }
.wc-pulse { fill: none; stroke: currentColor; stroke-width: 2; }
.wc-label rect { fill: var(--surface); stroke: var(--line-strong); }
.wc-label text { fill: var(--ink); font: 600 17px "DM Sans Variable", "DM Sans", sans-serif; }
.wc-label .up { fill: var(--pos); }
/* phones: the chart sits lower (behind the buttons, below the headline) and loses its label */
@media (max-width: 760px) {
  .wealth-chart {
    height: 18rem; top: 39rem;
    mask-image: linear-gradient(transparent, #000 35%);
    -webkit-mask-image: linear-gradient(transparent, #000 35%);
  }
  .wc-label { display: none; }
}

/* what Finique does (its capabilities), drifting beside the headline on wide screens */
.cap-tag {
  position: absolute; display: none; align-items: center; gap: .5rem;
  padding: .5rem .85rem .5rem .6rem; border-radius: 999px; font-size: .875rem; font-weight: 500;
  color: var(--soft); background: color-mix(in srgb, var(--surface) 85%, transparent);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: tag-in .8s var(--ease) both, bob 8s ease-in-out infinite;
}
.cap-tag svg { width: 1.1rem; height: 1.1rem; color: var(--gold); }
@keyframes tag-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }

/* below 1360px there's no room beside the headline: the same capabilities form a row under the
   hero notes, led by "Your net worth"; they pop in one by one and drift gently */
.cap-row {
  display: none; flex-wrap: wrap; justify-content: center; gap: .55rem;
  list-style: none; padding: 0; margin: 1.75rem auto 0; max-width: 44rem;
}
.cap-row li {
  display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem .45rem .6rem;
  border-radius: 999px; font-size: .875rem; font-weight: 500; color: var(--soft);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: tag-in .7s var(--ease) both, drift 7s ease-in-out infinite;
  animation-delay: calc(.8s + var(--i, 0) * .12s), calc(var(--i, 0) * -1.1s);
}
.cap-row li svg { width: 1.05rem; height: 1.05rem; color: var(--gold); flex: none; }
.cap-row .nw { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm); font-weight: 600; }
.cap-row .nw-up { color: var(--gold-2); font-size: .8em; }
@keyframes drift { 50% { transform: translateY(-4px); } }
@media (max-width: 1359.98px) { .cap-row { display: flex; } }
@media (max-width: 1099.98px) { .wc-label { display: none; } }
@media (max-width: 480px) {
  .cap-row { gap: .45rem; }
  .cap-row li { font-size: .8rem; padding: .38rem .7rem .38rem .5rem; }
}
@media (min-width: 1360px) {
  .cap-tag { display: inline-flex; }
  .at-1 { left: 5vw; top: 6rem; animation-delay: .9s, -1s; }
  .at-2 { left: 2.5vw; top: 16rem; animation-delay: 1.1s, -3s; }
  .at-3 { left: 7vw; top: 26rem; animation-delay: 1.3s, -5s; }
  .at-4 { right: 4vw; top: 19rem; animation-delay: 1.2s, -2s; }
  .at-5 { right: 9vw; top: 27rem; animation-delay: 1.4s, -4s; }
  .at-6 { right: 2.5vw; top: 35rem; animation-delay: 1.6s, -6s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-copy { text-align: center; max-width: 60rem; margin-inline: auto; }
h1, h2, h3 { text-wrap: balance; }
.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .9rem .4rem .45rem; border-radius: 999px;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
  font-size: .9rem; color: var(--soft);
}
.pill-dot {
  display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--primary); color: var(--gold-2);
}
html.dark .pill-dot { color: var(--gold-2); }
.pill-dot svg { width: .85rem; height: .85rem; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 600; margin-top: 1.4rem; text-wrap: balance; }
.hero .lead { margin: 1.6rem auto 0; max-width: 48rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2.2rem; }
.hero-notes {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem;
  margin: 1.4rem 0 0; padding: 0; list-style: none; font-size: .925rem; color: var(--muted);
}
.hero-notes li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-notes svg { width: 1rem; height: 1rem; color: var(--pos); }

/* the product shot: a browser window that tilts up flat as you scroll, a phone beside it */
.stage { position: relative; margin-top: 3rem; perspective: 1800px; padding-bottom: 5rem; }
.browser {
  --t: 1;
  position: relative; width: min(64rem, 100%); margin-inline: auto;
  border-radius: 1rem; background: var(--surface); box-shadow: var(--shadow);
  transform: rotateX(calc(var(--t) * 18deg)) scale(calc(1 - var(--t) * .06));
  transform-origin: 50% 0;
  overflow: hidden;
  will-change: transform;
}
.browser-bar {
  display: flex; align-items: center; gap: .45rem; height: 2.4rem; padding: 0 .9rem;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.browser-bar i { width: .7rem; height: .7rem; border-radius: 50%; background: var(--line-strong); }
.browser-url {
  margin-inline: auto; padding: .2rem 1rem; border-radius: .5rem; background: var(--surface);
  font: 500 .75rem/1.2 "JetBrains Mono Variable", "JetBrains Mono", monospace; color: var(--muted);
}
.phone {
  position: absolute; right: max(1rem, calc(50% - 36rem)); bottom: 1rem; width: clamp(9rem, 19vw, 15rem);
  border-radius: 2rem; padding: .45rem; background: #0b1430; box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
html.dark .phone { background: #2e3a5e; }
.phone img { border-radius: 1.6rem; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(-1deg); } }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: .6rem;
  padding: .7rem 1rem; border-radius: .9rem; background: var(--surface);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); font-size: .9rem; color: var(--soft);
  animation: bob 7s ease-in-out infinite;
}
.float-chip strong { color: var(--ink); display: block; font-size: .95rem; }
.float-chip .chip-ic {
  display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: .6rem; flex: none;
}
.float-chip .chip-ic svg { width: 1.1rem; height: 1.1rem; }
.chip-1 { left: max(.5rem, calc(50% - 38rem)); top: 22%; animation-delay: -2s; }
.chip-1 .chip-ic { background: color-mix(in srgb, var(--pos) 15%, transparent); color: var(--pos); }
.chip-2 { left: max(2rem, calc(50% - 30rem)); bottom: 8%; animation-delay: -4s; }
.chip-2 .chip-ic { background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent); }
@media (max-width: 760px) {
  .float-chip { display: none; }
  .phone { width: 8.5rem; right: .25rem; bottom: 0; border-radius: 1.4rem; padding: .3rem; }
  .phone img { border-radius: 1.15rem; }
  .stage { padding-bottom: 3.5rem; margin-top: 3rem; }
}

/* ------------------------------------------------------------------ ticker */
.ticker {
  border-block: 1px solid var(--line); background: var(--surface); overflow: hidden;
  padding: 1.1rem 0; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track { display: flex; gap: 2.5rem; width: max-content; animation: scroll-x 45s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 2.5rem; white-space: nowrap; color: var(--soft); font-weight: 500; }
.ticker-track span::after { content: ""; width: .45rem; height: .45rem; background: var(--gold); transform: rotate(45deg); border-radius: 1px; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ sections */
section { scroll-margin-top: 5rem; }
.section { padding: 7rem 0; }
.section-head { max-width: 44rem; margin-bottom: 3.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 600; margin: .8rem 0 1rem; }
.section-alt { background: var(--bg-2); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; position: relative; }
.step {
  position: relative; padding: 2rem; border-radius: var(--radius); background: var(--surface);
  box-shadow: 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line-strong), var(--shadow-sm); }
.step-num {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .9rem;
  background: var(--primary); color: var(--on-primary);
  font: 600 1.2rem/1 "Outfit Variable", Outfit, sans-serif; margin-bottom: 1.4rem;
}
.step h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: .6rem; }
.step p { color: var(--soft); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* feature rows: text beside a screenshot, alternating sides */
.feature { display: grid; grid-template-columns: 1fr 1.35fr; gap: 4rem; align-items: center; }
.feature + .feature { margin-top: 8rem; }
.feature.flip { grid-template-columns: 1.35fr 1fr; }
.feature.flip .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 600; margin: .8rem 0 1rem; }
.feature-copy > p { color: var(--soft); font-size: 1.1rem; }
.checks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .8rem; }
.checks li { display: flex; gap: .75rem; color: var(--soft); }
.checks svg { flex: none; width: 1.35rem; height: 1.35rem; margin-top: .15rem; color: var(--pos); }
.shot {
  position: relative; border-radius: 1rem; overflow: hidden; background: var(--surface);
  box-shadow: var(--shadow); transform-style: preserve-3d;
  transition: transform .5s var(--ease);
}
.shot img { width: 100%; }
.shot-wrap { position: relative; perspective: 1400px; }
.shot-wrap::before {
  content: ""; position: absolute; inset: 8% -6% -8% 6%; border-radius: 2rem; z-index: -1;
  background: radial-gradient(closest-side, var(--glow-b), transparent), radial-gradient(closest-side at 20% 80%, var(--glow-a), transparent);
  filter: blur(30px);
}
.feature.flip .shot-wrap::before { inset: 8% 6% -8% -6%; }
.badge-float {
  position: absolute; left: -1.25rem; bottom: -1.25rem; display: flex; gap: .55rem; align-items: center;
  padding: .65rem .95rem; border-radius: .8rem; background: var(--surface);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); font-size: .9rem; font-weight: 500;
}
.feature.flip .badge-float { left: auto; right: -1.25rem; }
.badge-float svg { width: 1.1rem; height: 1.1rem; color: var(--pos); }
@media (max-width: 960px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature.flip .feature-copy { order: 0; }
  .feature + .feature { margin-top: 5.5rem; }
  .badge-float, .feature.flip .badge-float { left: .75rem; right: auto; bottom: -1rem; }
}

/* grounding demo: the numbers in an answer get checked one by one */
.answer-demo {
  margin-top: 2rem; padding: 1.3rem 1.4rem; border-radius: 1.1rem 1.1rem 1.1rem .3rem;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line); max-width: 34rem;
}
.answer-q {
  margin: 0 0 1rem auto; width: fit-content; max-width: 90%; padding: .6rem 1rem; border-radius: 1rem 1rem .3rem 1rem;
  background: var(--primary); color: var(--on-primary); font-size: .95rem;
}
.answer-demo p { color: var(--soft); line-height: 2.1; }
.answer-demo .answer-q, .answer-foot { line-height: 1.5; }
.answer-demo .answer-q { color: var(--on-primary); }
.answer-demo .n {
  position: relative; font-weight: 600; color: var(--ink); white-space: nowrap;
  background-image: linear-gradient(color-mix(in srgb, var(--pos) 22%, transparent), color-mix(in srgb, var(--pos) 22%, transparent));
  background-size: 0 100%; background-repeat: no-repeat; border-radius: .25rem;
  transition: background-size .5s var(--ease);
}
.answer-demo .n::after {
  content: "✓"; position: absolute; right: -.35rem; top: -.75rem; display: grid; place-items: center;
  width: 1rem; height: 1rem; border-radius: 50%; background: var(--pos); color: var(--surface);
  font-size: .65rem; font-weight: 700; transform: scale(0); transition: transform .35s var(--ease);
  transition-delay: inherit;
}
.answer-demo.play .n { background-size: 100% 100%; }
.answer-demo.play .n::after { transform: scale(1); }
.answer-foot {
  display: flex; align-items: center; gap: .45rem; margin-top: .9rem;
  font-size: .85rem; font-style: italic; color: var(--muted);
}
.answer-foot b { font-style: normal; color: var(--pos); }

/* wealth: tabbed screenshots */
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.25rem; }
.tab {
  border: 0; cursor: pointer; padding: .7rem 1.2rem; border-radius: 999px;
  background: var(--surface); color: var(--soft); font: 500 .975rem/1 "DM Sans Variable", "DM Sans", sans-serif;
  box-shadow: 0 0 0 1px var(--line); transition: background-color .25s, color .25s, box-shadow .25s;
}
.tab:hover { color: var(--ink); box-shadow: 0 0 0 1px var(--line-strong); }
.tab[aria-selected="true"] { background: var(--primary); color: var(--on-primary); box-shadow: none; }
.tab-panels { position: relative; max-width: 64rem; margin-inline: auto; }
.tab-panel { display: grid; grid-template-columns: 1fr 2.2fr; gap: 2.5rem; align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-panel.enter .shot { animation: rise .7s var(--ease) both; }
.tab-panel.enter .tab-copy { animation: fade .6s var(--ease) both; }
.tab-copy h3 { font-size: 1.6rem; font-weight: 600; margin-bottom: .75rem; }
.tab-copy p { color: var(--soft); }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.98); } }
@keyframes fade { from { opacity: 0; transform: translateX(-16px); } }
@media (max-width: 860px) { .tab-panel { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.chips span {
  padding: .35rem .75rem; border-radius: 999px; font-size: .85rem; color: var(--soft);
  background: var(--tint);
}

/* numbers band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { padding: 1.75rem 1.5rem; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.stat-num { font: 600 clamp(2.2rem, 4vw, 3rem)/1 "Outfit Variable", Outfit, sans-serif; letter-spacing: -.03em; }
.stat-num em { font-style: normal; color: var(--gold); }
.stat p { margin-top: .6rem; color: var(--soft); font-size: .975rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* trust grid */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.trust-card {
  padding: 1.8rem; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.trust-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line-strong), var(--shadow-sm); }
.trust-ic {
  display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: .85rem;
  background: var(--tint); color: var(--accent); margin-bottom: 1.2rem;
}
.trust-ic svg { width: 1.4rem; height: 1.4rem; }
.trust-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: .5rem; }
.trust-card p { color: var(--soft); font-size: .985rem; }
@media (max-width: 960px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .trust { grid-template-columns: 1fr; } }

/* closing call to action */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 4.5rem 2rem; border-radius: 2rem; text-align: center;
  background: #0e1a3c; color: #f5f1e8;
}
html.dark .cta-band { background: #132045; box-shadow: 0 0 0 1px var(--line); }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 600; max-width: 40rem; margin: 0 auto 1rem; }
.cta-band p { color: #cfd4e1; max-width: 36rem; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta-band .btn-primary { background: #f5f1e8; color: #0e1a3c; }
.cta-band .btn-primary:hover { background: #e3dccb; }
.cta-band .btn-ghost { color: #f5f1e8; box-shadow: inset 0 0 0 1px #2e3a5e; }
.cta-band .btn-ghost:hover { background: #1d2a4f; }
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px);
}
.cta-band::before { width: 28rem; height: 28rem; left: -8rem; top: -12rem; background: rgb(108 128 189 / .35); }
.cta-band::after { width: 24rem; height: 24rem; right: -6rem; bottom: -12rem; background: rgb(242 182 60 / .28); }
.sparkle { position: absolute; width: 1.4rem; height: 1.4rem; color: #f2b63c; animation: twinkle-solo 3s ease-in-out infinite; }
.sparkle svg { width: 100%; height: 100%; }
@keyframes twinkle-solo { 50% { transform: scale(.4) rotate(90deg); opacity: .4; } }

/* ------------------------------------------------------------------ pricing */
.pricing-hero { padding: 5rem 0 2.5rem; text-align: center; position: relative; isolation: isolate; }
.pricing-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 600; margin: 1rem 0 1.2rem; }
.pricing-hero .lead { margin-inline: auto; }
.pricing-hero .hero-bg {
  mask-image: linear-gradient(#000 55%, transparent);
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
}
.early {
  display: flex; align-items: center; gap: .9rem; max-width: 46rem; margin: 2.5rem auto 0;
  padding: 1rem 1.25rem; border-radius: 1rem; text-align: left;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line);
}
.early svg { flex: none; width: 1.5rem; height: 1.5rem; color: var(--gold); }
.early p { color: var(--soft); font-size: .975rem; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 2rem;
  border-radius: 1.5rem; background: var(--surface); box-shadow: 0 0 0 1px var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line-strong), var(--shadow); }
.plan.featured { box-shadow: 0 0 0 2px var(--primary), var(--shadow); }
.plan-flag {
  position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%);
  padding: .3rem .8rem; border-radius: 999px; background: var(--primary); color: var(--on-primary);
  font: 600 .7rem/1.2 "JetBrains Mono Variable", "JetBrains Mono", monospace; letter-spacing: .12em; text-transform: uppercase;
}
.plan h2 { font-size: 1.7rem; font-weight: 600; display: flex; align-items: center; gap: .55rem; }
.plan h2 svg { width: 1.1rem; height: 1.1rem; color: var(--gold); }
/* two lines tall on every card, so the prices and the feature rows line up across the plans */
.plan-tag { color: var(--soft); margin-top: .4rem; line-height: 1.5; min-height: 3em; }
.plan-price { margin: 1.25rem 0 1.5rem; padding: 1.1rem 0; border-block: 1px solid var(--line); }
.plan-price .amount { font: 600 2.4rem/1 "Outfit Variable", Outfit, sans-serif; letter-spacing: -.03em; }
.plan-price .per { color: var(--muted); font-size: .925rem; margin-top: .35rem; }
/* the same rows in the same order on every card: ✓ included (with its limit) or ✕ not included */
.plan ul { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .8rem; align-content: start; flex: 1; }
.plan li { display: flex; gap: .65rem; color: var(--soft); font-size: .975rem; line-height: 1.45; }
.plan li svg { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .1rem; }
.plan li b { color: var(--ink); font-weight: 600; }
.plan li.in svg { color: var(--pos); }
.plan li.out { color: var(--muted); }
.plan li.out svg { color: var(--neg); }
.plans-note { max-width: 40rem; margin: 2rem auto 0; text-align: center; color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; gap: 2.25rem; max-width: 30rem; margin-inline: auto; } }

.compare-wrap { position: relative; overflow-x: auto; border-radius: 1.25rem; box-shadow: 0 0 0 1px var(--line); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 40rem; }
.compare th, .compare td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th {
  font: 500 .75rem/1.2 "JetBrains Mono Variable", "JetBrains Mono", monospace; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); background: var(--bg-2);
}
.compare tbody th { font-weight: 500; color: var(--ink); }
.compare td { color: var(--soft); font-variant-numeric: tabular-nums; }
.compare tr.group th {
  background: var(--tint); font: 600 .95rem/1.2 "Outfit Variable", Outfit, sans-serif; color: var(--ink);
}
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare td.in svg, .compare td.out svg { width: 1.15rem; height: 1.15rem; vertical-align: -.2rem; }
.compare td.in svg { color: var(--pos); }
.compare td.out { color: var(--muted); }
.compare td.out svg { color: var(--neg); margin-right: .4rem; }
/* plan columns get equal widths; the feature names take the rest */
.compare thead th:not(:first-child) { width: 22%; }

.faq { max-width: 46rem; margin-inline: auto; display: grid; gap: .75rem; }
.faq details {
  border-radius: 1rem; background: var(--surface); box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .25s;
}
.faq details[open] { box-shadow: 0 0 0 1px var(--line-strong), var(--shadow-sm); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer;
  padding: 1.15rem 1.4rem; list-style: none; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font: 400 1.5rem/1 "Outfit Variable", Outfit, sans-serif; color: var(--muted);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.25rem; color: var(--soft); }

/* ------------------------------------------------------------------ footer */
.site-footer { padding: 4rem 0 2.5rem; border-top: 1px solid var(--line); margin-top: 7rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.foot-brand p { color: var(--muted); max-width: 22rem; margin-top: .9rem; font-size: .95rem; }
.foot-cols { display: flex; gap: 4rem; flex-wrap: wrap; }
.foot-cols h2 { font: 500 .75rem/1.2 "JetBrains Mono Variable", "JetBrains Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.foot-cols a { color: var(--soft); text-decoration: none; }
.foot-cols a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: .875rem; color: var(--muted);
}

/* ------------------------------------------------------------------ 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.notfound h1 { font-size: clamp(3rem, 10vw, 6rem); font-weight: 600; }
.notfound p { color: var(--soft); margin: 1rem 0 2rem; }

/* ------------------------------------------------------------------ reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }
.js .hero-copy > * { animation: rise .9s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .1s; }
.js .hero-copy > :nth-child(3) { animation-delay: .2s; }
.js .hero-copy > :nth-child(4) { animation-delay: .3s; }
.js .hero-copy > :nth-child(5) { animation-delay: .4s; }
.js .stage { animation: rise 1.2s var(--ease) .35s both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .browser { --t: 0 !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker-track .dup { display: none; }
}
