/* QuoteMate marketing site
   Tokens mirror the app's soft UI (resources/css/app.css + tailwind.config.js):
   one cool ground, depth from paired light/dark shadows, brand blue for actions. */

:root {
  color-scheme: light;

  --ground: #E8ECF3;
  --surface: #F0F3F8;
  --surface-2: #F6F8FB;
  --line: rgba(163, 177, 198, 0.35);

  --ink: #1E2433;
  --ink-2: #5C6678;
  --ink-3: #8A93A6;
  --ink-4: #B0B8C8;

  --brand: #2F63D6;
  --brand-dark: #2452B5;
  --brand-light: #5B8AE8;
  --accent: #7C5CE6;

  --shadow-dark: rgba(163, 177, 198, 0.55);
  --shadow-light: rgba(255, 255, 255, 0.95);
  --brand-glow: rgba(47, 99, 214, 0.32);

  --raised: 8px 8px 18px var(--shadow-dark), -8px -8px 18px var(--shadow-light);
  --raised-sm: 4px 4px 10px var(--shadow-dark), -4px -4px 10px var(--shadow-light);
  --inset: inset 4px 4px 9px var(--shadow-dark), inset -4px -4px 9px var(--shadow-light);
  --inset-sm: inset 2px 2px 5px var(--shadow-dark), inset -2px -2px 5px var(--shadow-light);
  --primary: 4px 4px 10px var(--brand-glow), -4px -4px 10px rgba(255, 255, 255, 0.7);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius: 16px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
}

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

html { background: var(--ground); scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { display: block; max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 3px; border-radius: 8px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease-out), box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--primary); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--light { background: #fff; color: var(--brand); box-shadow: 0 8px 24px rgba(20, 30, 80, .25); }

.pill {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--surface); color: var(--ink-2); box-shadow: var(--inset-sm);
  font-size: 13px; font-weight: 700;
}
.pill--brand { background: rgba(47, 99, 214, .1); color: var(--brand); box-shadow: none; }

/* ── Nav ─────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: transform .35s var(--ease-out), background-color .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled { background: rgba(232, 236, 243, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }
.nav__links { display: flex; gap: 4px; margin-left: 12px; }
.nav__links a, .nav__login {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 8px 12px; border-radius: 999px; transition: background-color .2s ease;
}
.nav__links a:hover, .nav__login:hover { background: rgba(30, 36, 51, .06); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
@media (max-width: 900px) { .nav__links { display: none; } }
@media (max-width: 420px) { .nav__login { display: none; } }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { padding: 84px var(--gutter) 0; max-width: 1440px; margin: 0 auto; }

.hero__card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 32px;
  min-height: min(640px, calc(100svh - 150px));
  padding: clamp(32px, 5vw, 72px);
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(80% 90% at 85% 15%, rgba(167, 139, 250, .55), transparent 60%),
    radial-gradient(60% 70% at 10% 100%, rgba(91, 138, 232, .6), transparent 60%),
    linear-gradient(135deg, #2F63D6 0%, #4B5FE0 45%, #7C5CE6 100%);
  box-shadow: var(--raised);
}

/* Entrance: the card grows out from a smaller rounded tile, like Klarna's hero. */
.js .hero__card { clip-path: inset(7% 6% round 56px); transform: scale(.985); opacity: .001; }
.js.is-ready .hero__card {
  clip-path: inset(0 0 round var(--radius-xl)); transform: none; opacity: 1;
  transition: clip-path 1.1s var(--ease-out), transform 1.1s var(--ease-out), opacity .4s ease;
}

.hero__title { font-size: clamp(34px, 9.4vw, 84px); letter-spacing: -0.045em; }
.hero__title .line { white-space: nowrap; }
@media (min-width: 901px) { .hero__title { font-size: clamp(42px, 5.6vw, 84px); } }
.hero__kicker {
  display: block; margin-bottom: 18px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3;
  color: rgba(255, 255, 255, .78);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span { transform: translateY(110%); }
.js.is-ready .hero__title .line > span { transform: none; transition: transform .9s var(--ease-out); }
.js.is-ready .hero__title .line:nth-child(1) > span { transition-delay: .35s; }
.js.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .47s; }

.hero__lede { margin-top: 24px; max-width: 30em; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .88); }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero__note { font-size: 15px; color: rgba(255, 255, 255, .8); }

.js .hero__kicker, .js .hero__lede, .js .hero__cta, .js .hero .apps, .js .hero__demo { opacity: 0; transform: translateY(16px); }
.js.is-ready .hero__kicker, .js.is-ready .hero__lede, .js.is-ready .hero__cta, .js.is-ready .hero .apps, .js.is-ready .hero__demo {
  opacity: 1; transform: none; transition: opacity .8s ease, transform .9s var(--ease-out);
}
.js.is-ready .hero__lede { transition-delay: .65s; }
.js.is-ready .hero__kicker { transition-delay: .25s; }
.js.is-ready .hero__cta { transition-delay: .75s; }
.js.is-ready .hero .apps { transition-delay: .85s; }
.js.is-ready .hero__demo { transition-delay: .55s; }

/* Store badges: official Apple and Google artwork, unaltered. Until a store URL
   is set in STORE_LINKS (main.js) they aren't links and the label says coming soon. */
.apps { margin-top: 44px; }
.apps--center { margin-top: 32px; text-align: center; }
.apps__label {
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
.store-badges { --badge-h: 48px; margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@media (max-width: 420px) { .store-badges { --badge-h: 40px; gap: 10px; } }
.apps--center .store-badges { justify-content: center; }
.store-badge { display: block; height: var(--badge-h); border-radius: 9px; transition: transform .2s ease; }
.store-badge img { height: 100%; width: auto; max-width: none; }
/* Google's PNG carries its own clear space (41px of 250px). Crop it off so the
   visible badge lines up with Apple's at the same height. */
.store-badge--android { overflow: hidden; }
.store-badge--android img { height: calc(var(--badge-h) * 250 / 168); margin: calc(var(--badge-h) * -41 / 168); }
.store-badge[href]:hover { transform: translateY(-2px); }
.store-badge.is-soon { cursor: default; }
.store-badge[hidden] { display: none; }

/* ── Hero demo phone ─────────────────────────────────────────────────── */
.hero__demo { position: relative; display: flex; justify-content: center; }
.phone {
  width: min(360px, 100%);
  background: var(--ground); color: var(--ink);
  border-radius: 36px; padding: 20px 18px 18px;
  box-shadow: 0 30px 60px rgba(17, 24, 68, .35), inset 0 0 0 1px rgba(255, 255, 255, .6);
  display: flex; flex-direction: column; gap: 14px;
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-8px); } }

.phone__bar { display: flex; justify-content: space-between; align-items: center; }
.phone__title { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.phone__trade { font-size: 12px; font-weight: 700; color: var(--brand); background: rgba(47, 99, 214, .1); padding: 4px 10px; border-radius: 999px; }

.bubble { background: var(--surface); border-radius: 18px; padding: 12px 14px; box-shadow: var(--inset-sm); min-height: 92px; }
.bubble__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.bubble__text { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.bubble__text.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; background: var(--brand); vertical-align: -2px; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* main.js locks the phone and bubble to the tallest example so the hero never resizes. */
.quote { flex: 1; display: flex; flex-direction: column; background: var(--ground); border-radius: 20px; padding: 14px; box-shadow: var(--raised-sm); min-height: 200px; }
.quote__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.quote__lines { list-style: none; margin: 10px 0 0; padding: 0; }
.quote__lines li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2);
}
.quote__lines li b { color: var(--ink); font-variant-numeric: tabular-nums; }
.quote__lines:not(.is-static) li { opacity: 0; transform: translateX(-10px); transition: opacity .4s ease, transform .5s var(--ease-out); }
.quote__lines:not(.is-static) li.is-in { opacity: 1; transform: none; }
.quote__total { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; font-size: 14px; color: var(--ink-2); }
.quote__total strong { font-size: 22px; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.phone__foot { display: flex; align-items: center; gap: 12px; }
.mic {
  flex: none; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand); color: #fff; box-shadow: 0 8px 18px var(--brand-glow), -4px -4px 10px rgba(255, 255, 255, .7);
  position: relative;
}
.mic.is-live::before, .mic.is-live::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--brand); animation: ripple 1.6s ease-out infinite;
}
.mic.is-live::after { animation-delay: .8s; }
@keyframes ripple { from { transform: scale(1); opacity: .6; } to { transform: scale(1.8); opacity: 0; } }
.send {
  flex: 1; text-align: center; padding: 14px; border-radius: 999px;
  font-weight: 700; font-size: 15px; color: var(--ink-4); background: var(--surface); box-shadow: var(--inset-sm);
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.send.is-ready { background: var(--brand); color: #fff; box-shadow: var(--primary); }

/* ── Hero pager (Klarna-style progress pills) ────────────────────────── */
.hero__pager { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 20px 0 8px; }
.pager {
  appearance: none; border: 0; padding: 0; cursor: pointer;
  width: 8px; height: 8px; border-radius: 999px; background: var(--ink-4);
  overflow: hidden; position: relative; transition: width .3s ease, background-color .3s ease;
}
.pager.is-active { width: 44px; background: rgba(30, 36, 51, .15); }
.pager span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.pager.is-active span { animation: fill var(--slide-ms, 7000ms) linear forwards; }
.is-paused .pager.is-active span, .is-held .pager.is-active span { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.pager__pause {
  appearance: none; border: 0; cursor: pointer; margin-left: 6px;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ground); color: var(--ink-2); box-shadow: var(--raised-sm);
}
.pager__pause .i-play, .is-paused .pager__pause .i-pause { display: none; }
.is-paused .pager__pause .i-play { display: block; }

@media (max-width: 900px) {
  .hero__card { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .hero__demo { order: 2; }
}
@media (max-width: 480px) { .hero__card { padding: 36px 22px 24px; border-radius: 26px; } }

/* ── Trades strip ────────────────────────────────────────────────────── */
.trades { padding: clamp(56px, 8vw, 96px) 0 0; }
.trades__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.trades__title { font-size: clamp(32px, 4.4vw, 52px); }

.marker { background: none; color: inherit; position: relative; padding: 0 .12em; white-space: nowrap; }
.marker::before {
  content: ""; position: absolute; inset: .12em 0 .02em; z-index: -1;
  background: rgba(47, 99, 214, .2); border-radius: 8px;
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out) .25s;
}
.trades__title { position: relative; z-index: 0; }
.is-in .marker::before, .no-js .marker::before { transform: none; }

.stats { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 0; }
.stat { display: flex; flex-direction: column-reverse; }
.stat dd { margin: 0; font-size: clamp(32px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat dt { margin-top: 6px; font-size: 13px; color: var(--ink-3); max-width: 11em; line-height: 1.3; }

.marquee {
  margin-top: clamp(40px, 6vw, 72px); overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; padding: 12px 0; }
.marquee__track span {
  padding: 12px 22px; border-radius: 999px; background: var(--ground); box-shadow: var(--raised-sm);
  font-weight: 700; color: var(--ink-2); white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* ── Section heads ───────────────────────────────────────────────────── */
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(36px, 5.4vw, 64px); }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: clamp(17px, 1.4vw, 19px); }

/* ── How it works: sticky visual + scroll-driven steps ───────────────── */
.how { padding: clamp(96px, 12vw, 160px) 0 clamp(48px, 8vw, 96px); }
.how__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.how__sticky { position: sticky; top: calc(50vh - 230px); height: 460px; }

.screen {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  border-radius: var(--radius-xl); background: var(--ground); box-shadow: var(--raised);
  padding: 32px;
  opacity: 0; transform: scale(.96) translateY(12px);
  transition: opacity .5s ease, transform .6s var(--ease-out);
}
.screen.is-active { opacity: 1; transform: none; }
.screen__card { width: min(340px, 100%); background: var(--surface); border-radius: 22px; padding: 18px; box-shadow: var(--inset-sm); }
.screen__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.screen__said { margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.mic--big { width: 72px; height: 72px; }

.wave { display: flex; align-items: center; gap: 5px; height: 40px; margin-top: 12px; }
.wave i { width: 5px; border-radius: 3px; background: var(--brand-light); height: 30%; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: -.9s; } .wave i:nth-child(3) { animation-delay: -.7s; }
.wave i:nth-child(4) { animation-delay: -.5s; } .wave i:nth-child(5) { animation-delay: -.3s; }
.wave i:nth-child(6) { animation-delay: -.6s; } .wave i:nth-child(7) { animation-delay: -.2s; }
@keyframes wave { 50% { height: 100%; } }

.toggle { display: flex; padding: 5px; border-radius: 999px; background: var(--surface); box-shadow: var(--inset-sm); }
.toggle span { padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.toggle .is-on { background: var(--ground); color: var(--ink); box-shadow: var(--raised-sm); }

.channels { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.channels li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--ground); box-shadow: var(--raised-sm); font-weight: 700; font-size: 15px; }
.ch { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; }
.ch--email { background: var(--brand); }
.ch--wa { background: #25D366; }
.ch--sms { background: var(--accent); }
.accepted {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px;
  background: #E3F5EA; color: #1C7A45; font-weight: 700; box-shadow: var(--raised-sm);
}
.tick { width: 28px; height: 28px; border-radius: 50%; background: #22A35A; color: #fff; display: grid; place-items: center; font-size: 15px; }

.steps { list-style: none; margin: 0; padding: 0; }
.step {
  display: flex; gap: 20px; align-items: flex-start;
  min-height: 60vh; padding-top: 18vh;
}
.step:first-child { padding-top: 4vh; }
.step:last-child { min-height: 50vh; }
.step__num {
  flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 18px; color: var(--ink-3); background: var(--ground); box-shadow: var(--raised-sm);
  transition: color .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.step h3 { font-size: clamp(30px, 3.6vw, 48px); color: var(--ink-4); transition: color .35s ease; }
.step p {
  margin-top: 14px; max-width: 26em; color: var(--ink-2); font-size: 18px;
  opacity: .25; transform: translateY(6px); transition: opacity .4s ease, transform .5s var(--ease-out);
}
.step.is-active h3 { color: var(--ink); }
.step.is-active p { opacity: 1; transform: none; }
.step.is-active .step__num { background: var(--brand); color: #fff; box-shadow: var(--primary); }

@media (max-width: 860px) {
  .how__grid { grid-template-columns: 1fr; }
  .how__visual { display: none; }
  .step { min-height: 0; padding: 0; margin-bottom: 20px; padding: 24px; border-radius: var(--radius-lg); background: var(--ground); box-shadow: var(--raised); }
  .step:first-child { padding-top: 24px; }
  .step:last-child { min-height: 0; }
  .step h3 { color: var(--ink); font-size: 26px; }
  .step p { opacity: 1; transform: none; font-size: 16px; margin-top: 8px; }
  .step .step__num { background: var(--brand); color: #fff; box-shadow: var(--primary); }
}

/* ── What you get: big stacked words ─────────────────────────────────── */
.features { padding: clamp(64px, 10vw, 128px) 0; }
.bigwords { list-style: none; margin: 0; padding: 0; text-align: center; }
.bigword { padding: 6px 0; }
.bigword h3 {
  display: inline-block; cursor: default;
  font-size: clamp(40px, 7.4vw, 104px); letter-spacing: -0.05em;
  color: var(--ink-4); transition: color .35s ease, transform .5s var(--ease-out);
}
.bigword h3:focus-visible { outline-offset: 6px; }
.bigword p {
  max-width: 30em; margin: 0 auto; color: var(--ink-2); font-size: 18px;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .45s var(--ease-out), opacity .35s ease, margin .45s var(--ease-out);
}
.bigword.is-active h3 { color: var(--ink); }
.bigword.is-active p { max-height: 6em; opacity: 1; margin: 6px auto 18px; }
.no-js .bigword h3 { color: var(--ink); }
.no-js .bigword p { max-height: none; opacity: 1; margin: 6px auto 18px; }

/* ── Pricing ─────────────────────────────────────────────────────────── */
.pricing { padding: clamp(64px, 10vw, 128px) 0; }
.price-card {
  max-width: 460px; margin: 0 auto; padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-xl); background: var(--ground); box-shadow: var(--raised);
}
.price-card__top { text-align: center; }
.price { margin-top: 18px; display: flex; justify-content: center; align-items: baseline; gap: 4px; }
.price__cur { font-size: 32px; font-weight: 800; }
.price__amt { font-size: clamp(64px, 9vw, 88px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.price__per { margin-left: 6px; color: var(--ink-2); font-weight: 600; }
.price-card__sub { margin-top: 10px; color: var(--ink-3); font-size: 15px; }
.ticks { list-style: none; margin: 28px 0; padding: 20px 22px; border-radius: 20px; background: var(--surface); box-shadow: var(--inset-sm); display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.ticks li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(47, 99, 214, .12); color: var(--brand); font-size: 13px; font-weight: 800;
}

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq { padding: clamp(48px, 8vw, 96px) 0; }
.faq__list { display: grid; gap: 14px; }
.faq details { border-radius: 20px; background: var(--ground); box-shadow: var(--raised-sm); transition: box-shadow .3s ease; }
.faq details[open] { box-shadow: var(--inset-sm); background: var(--surface); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2.5px solid var(--ink-3); border-bottom: 2.5px solid var(--ink-3);
  transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); }

/* ── Closer ──────────────────────────────────────────────────────────── */
.closer { padding: clamp(48px, 8vw, 96px) var(--gutter); max-width: 1440px; margin: 0 auto; }
.closer__card {
  border-radius: var(--radius-xl); padding: clamp(48px, 8vw, 96px) var(--gutter); text-align: center; color: #fff;
  background:
    radial-gradient(70% 90% at 90% 0%, rgba(167, 139, 250, .5), transparent 60%),
    linear-gradient(135deg, #2F63D6 0%, #7C5CE6 100%);
  box-shadow: var(--raised);
}
.closer__card h2 { font-size: clamp(34px, 5.4vw, 68px); max-width: 14em; margin: 0 auto 32px; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer { padding: 40px 0 56px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
.footer__links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.footer__links a:hover { color: var(--brand); }
.footer__small { width: 100%; color: var(--ink-3); font-size: 14px; }
.footer__trades { width: 100%; color: var(--ink-3); font-size: 15px; }
.footer__trades a { color: var(--ink-2); font-weight: 600; }
.footer__trades a:hover { color: var(--brand); }

/* ── 404 ─────────────────────────────────────────────────────────────── */
.lost { padding: 120px var(--gutter) 48px; max-width: 1440px; margin: 0 auto; }
.lost .closer__card p { font-size: 18px; opacity: .9; max-width: 30em; margin: -12px auto 28px; }
.lost__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
@media (max-width: 640px) { .footer__links { margin-left: 0; } }

/* ── Guides (long-form articles) ─────────────────────────────────────── */
.article { padding-top: 112px; padding-bottom: clamp(32px, 6vw, 64px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-3); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--brand); }
.article__head { margin-top: 20px; }
.article__head h1 { font-size: clamp(38px, 6vw, 60px); }
.article__meta { margin-top: 16px; color: var(--ink-3); font-size: 15px; }
.prose { margin-top: 32px; color: var(--ink-2); font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 48px; color: var(--ink); font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -0.02em; scroll-margin-top: 96px; }
.prose h2 + p { margin-top: 14px; }
.prose a { font-weight: 600; }
.prose strong { color: var(--ink); }
.article__lede { color: var(--ink); font-size: clamp(19px, 2vw, 22px); line-height: 1.55; }
.summary { margin-top: 32px; padding: 24px 28px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--raised-sm); }
.summary h2 { margin: 0; font-size: 20px; letter-spacing: -0.01em; }
.summary ul { margin: 12px 0 0; padding-left: 1.2em; }
.summary li + li { margin-top: 6px; }
.prose .note { font-size: 15px; color: var(--ink-3); }
.example-quote { margin: 24px 0 0; padding: clamp(20px, 4vw, 32px); border-radius: var(--radius-lg); background: var(--surface-2); box-shadow: var(--raised); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.example-quote > * + * { margin-top: 12px; }
.example-quote__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.example-quote__ref { text-align: right; }
.example-quote table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.example-quote th, .example-quote td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.example-quote thead th { color: var(--ink-3); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.example-quote tfoot th { font-weight: 600; }
.example-quote .num { text-align: right; white-space: nowrap; padding-left: 16px; }
.example-quote tfoot td { color: var(--ink); }
.example-quote .total th, .example-quote .total td { color: var(--ink); font-weight: 800; font-size: 18px; border-bottom: 0; }
@media (max-width: 520px) { .example-quote__ref { text-align: left; } }

/* ── Scroll reveal ───────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.stats .reveal:nth-child(2) { transition-delay: .08s; }
.stats .reveal:nth-child(3) { transition-delay: .16s; }
.stats .reveal:nth-child(4) { transition-delay: .24s; }

/* ── Reduced motion: everything lands in its final state ─────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero__card, .js .hero__title .line > span, .js .hero__kicker, .js .hero__lede, .js .hero__cta, .js .hero .apps, .js .hero__demo, .js .reveal {
    clip-path: none; opacity: 1; transform: none;
  }
  .marker::before { transform: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee__track span:nth-child(n+11) { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; padding: 0 var(--gutter); }
  .pager.is-active span { transform: scaleX(1); }
}
