:root {
  --bg: #050507;
  --bg-2: #0b0b10;
  --ink: #f5f5f7;
  --ink-2: rgba(245, 245, 247, 0.62);
  --ink-3: rgba(245, 245, 247, 0.38);
  --hair: rgba(255, 255, 255, 0.08);
  --hair-2: rgba(255, 255, 255, 0.14);
  --spend: #6b5cf2;
  --spend-hi: #8f82ff;
  --installs: #1ab89e;
  --installs-hi: #3fe0c2;
  --gold: #ffc759;
  --good: #34c77b;
  --bad: #f0545a;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 2rem;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
canvas { display: block; }
ul { list-style: none; }

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 30; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
h1 { font-size: clamp(42px, 6.6vw, 96px); }
h2 { font-size: clamp(38px, 5.6vw, 80px); }
h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; line-height: 1.15; }
p { color: var(--ink-2); }
.grad {
  background: linear-gradient(100deg, var(--spend-hi) 0%, #7aa8ff 45%, var(--installs-hi) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-2); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--hair);
  margin-bottom: 22px;
}
.lede { font-size: clamp(17px, 1.45vw, 21px); max-width: 600px; margin: 22px auto 0; line-height: 1.45; }

/* ---------- Nav ---------- */
.nav-wrap { position: fixed; top: 18px; left: 0; right: 0; z-index: 40; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav {
  pointer-events: auto; display: flex; align-items: center; gap: 28px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(18, 18, 24, 0.62); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 0 0 1px var(--hair), 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.brand img { border-radius: 6px; }
.nav-links { display: flex; gap: 24px; font-size: 14px; color: var(--ink-2); }
.nav-links a { transition: color 0.4s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 999px;
  background: var(--ink); color: #000; transition: transform 0.5s var(--ease);
}
.nav-cta:active { transform: scale(0.97); }
.burger { display: none; position: relative; width: 38px; height: 38px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.08); cursor: pointer; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform 0.6s var(--ease); }
.burger span:first-child { transform: translateY(-3.5px); }
.burger span:last-child { transform: translateY(3.5px); }
.menu-open .burger span:first-child { transform: rotate(45deg); }
.menu-open .burger span:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 35; display: flex; align-items: center; padding: 0 32px;
  background: rgba(5, 5, 7, 0.82); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
  opacity: 0; pointer-events: none; transition: opacity 0.6s var(--ease);
}
.menu ul { display: grid; gap: 10px; }
.menu a { display: block; font-size: 44px; font-weight: 700; letter-spacing: -0.03em; opacity: 0; transform: translateY(48px); transition: transform 0.8s var(--ease), opacity 0.8s var(--ease); }
.menu-open .menu { opacity: 1; pointer-events: auto; }
.menu-open .menu a { opacity: 1; transform: none; }
.menu-open .menu li:nth-child(2) a { transition-delay: 0.05s; }
.menu-open .menu li:nth-child(3) a { transition-delay: 0.1s; }
.menu-open .menu li:nth-child(4) a { transition-delay: 0.15s; }
.menu-open .menu li:nth-child(5) a { transition-delay: 0.2s; }

/* ---------- Buttons ---------- */
.ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 54px; border-radius: 999px;
  font-size: 16px; font-weight: 500; transition: transform 0.6s var(--ease), background 0.6s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { padding: 0 7px 0 24px; background: var(--ink); color: #000; }
.btn-primary:hover { background: #fff; }
.btn-icon {
  width: 40px; height: 40px; border-radius: 999px; background: rgba(0, 0, 0, 0.07);
  display: grid; place-items: center; transition: transform 0.6s var(--ease);
}
.btn-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary:hover .btn-icon { transform: translate(2px, -1px) scale(1.05); }
.btn-ghost { padding: 0 24px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(48px); filter: blur(10px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; } .d3 { transition-delay: 0.24s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100dvh; padding: 132px var(--gutter) 72px; text-align: center; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; }
.orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.45; pointer-events: none; }
.orb-a { width: 620px; height: 620px; background: var(--spend); top: 22%; left: 50%; transform: translateX(-90%); opacity: 0.32; }
.orb-b { width: 560px; height: 560px; background: var(--installs); top: 34%; left: 50%; transform: translateX(-5%); opacity: 0.22; }
.hero-stage { position: relative; z-index: 1; height: min(78vh, 820px); margin: -10px auto 0; max-width: 1500px; }
.hero-stage canvas { width: 100%; height: 100%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 82%, transparent); }
.hero-stats { position: relative; z-index: 2; display: flex; justify-content: center; gap: clamp(28px, 7vw, 96px); margin-top: 10px; }
.hero-stats div { display: grid; gap: 2px; }
.hero-stats strong { font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 13px; color: var(--ink-3); }

/* ---------- Scrolly sections ---------- */
.scrolly { position: relative; height: 340vh; }
.scrolly-short { height: 260vh; }
.sticky { position: sticky; top: 0; height: 100dvh; overflow: hidden; }
.sticky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sticky::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--bg) 0%, rgba(5, 5, 7, 0.86) 28%, rgba(5, 5, 7, 0) 52%); }
#creatives .sticky::before { background: linear-gradient(180deg, var(--bg) 0%, rgba(5, 5, 7, 0.7) 30%, rgba(5, 5, 7, 0) 48%); }
.steps { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); width: min(480px, 42vw); z-index: 2; }
.step { position: absolute; top: 50%; left: 0; transform: translateY(calc(-50% + 40px)); opacity: 0; filter: blur(8px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); pointer-events: none; }
.step.active { opacity: 1; transform: translateY(-50%); filter: none; }
.step h2 { font-size: clamp(36px, 4.4vw, 64px); }
.step p { margin-top: 20px; font-size: 18px; max-width: 420px; }
.legend { position: absolute; right: var(--gutter); bottom: 44px; display: flex; gap: 20px; font-size: 13px; color: var(--ink-2); z-index: 2; }
.legend span { display: flex; align-items: center; gap: 8px; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.sw-spend { background: var(--spend); }
.sw-installs { background: var(--installs-hi); border-radius: 999px; height: 3px; width: 16px; }
.sw-base { background: rgba(255, 199, 89, 0.7); height: 2px; width: 16px; }
.progress { position: absolute; left: var(--gutter); bottom: 48px; width: 120px; height: 2px; background: var(--hair-2); border-radius: 2px; overflow: hidden; z-index: 2; }
.progress i { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* ---------- Globe ---------- */
.globe-section {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 40px;
  padding: 160px var(--gutter); max-width: 1440px; margin: 0 auto; min-height: 100dvh;
}
.globe-copy p { margin-top: 22px; font-size: 18px; max-width: 460px; }
.country-list { margin-top: 36px; display: grid; gap: 4px; max-width: 420px; }
.country-list li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair); font-size: 15px; }
.country-list .bar { grid-column: 2 / 4; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.06); overflow: hidden; margin-top: -2px; }
.country-list .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--installs), var(--installs-hi)); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease-out); }
.country-list.in .bar i { transform: scaleX(var(--w)); }
.country-list b { font-variant-numeric: tabular-nums; font-weight: 600; }
.country-list .flag { font-size: 20px; }
.hint { margin-top: 22px; font-size: 13px; color: var(--ink-3); }
.globe-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 760px; justify-self: center; cursor: grab; touch-action: pan-y; }
.globe-stage:active { cursor: grabbing; }
.globe-stage canvas { width: 100%; height: 100%; }
.globe-labels { position: absolute; inset: 0; pointer-events: none; }
.glabel {
  position: absolute; left: 0; top: 0; padding: 4px 9px; border-radius: 999px; white-space: nowrap;
  font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
  background: rgba(14, 16, 22, 0.78); box-shadow: inset 0 0 0 1px var(--hair-2);
  transition: opacity 0.4s var(--ease); will-change: transform;
}

/* ---------- Carousel ---------- */
.carousel-copy { position: absolute; z-index: 2; top: 12vh; left: 0; right: 0; text-align: center; padding: 0 var(--gutter); }
.carousel-copy p { max-width: 560px; margin: 20px auto 0; font-size: 18px; }
.sample { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--ink-3); }

/* ---------- Bento ---------- */
.bento-section { padding: 160px var(--gutter) 120px; max-width: 1320px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 72px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(240px, auto); gap: 20px; }
.shell {
  padding: 6px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--hair);
}
.core {
  position: relative; height: 100%; padding: 34px; border-radius: calc(var(--radius) - 6px); overflow: hidden;
  background: linear-gradient(180deg, #111118 0%, #0c0c11 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.core p { margin-top: 12px; font-size: 16px; }
.chip { display: inline-block; font-size: 12px; font-weight: 500; color: var(--ink-2); padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); margin-bottom: 18px; }
.b-advisor { grid-column: span 7; grid-row: span 2; }
.b-lift { grid-column: span 5; }
.b-iphone { grid-column: span 5; grid-row: span 2; }
.b-private { grid-column: span 4; }
.b-insights { grid-column: span 3; }
.b-insights h3 { font-size: 21px; }

.b-advisor .core { display: flex; flex-direction: column; gap: 30px; background: radial-gradient(120% 80% at 100% 0%, rgba(107, 92, 242, 0.22), transparent 60%), linear-gradient(180deg, #111118, #0c0c11); }
.card-head p { max-width: 520px; }
.advisor-feed { display: grid; gap: 10px; margin-top: auto; }
.feed-line { display: flex; align-items: center; gap: 10px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 13px; color: var(--ink-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); flex: none; }
.dot.live { background: var(--installs-hi); box-shadow: 0 0 0 0 rgba(63, 224, 194, 0.6); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(63, 224, 194, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 224, 194, 0); } }
.feed-card { display: grid; gap: 4px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--hair); }
.feed-card strong { font-weight: 600; font-size: 16px; }
.feed-card em { font-style: normal; color: var(--ink-2); font-size: 14px; }
.tag { justify-self: start; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.tag.up { color: var(--good); background: rgba(52, 199, 123, 0.13); }
.tag.down { color: var(--bad); background: rgba(240, 84, 90, 0.13); }

.big-num { font-size: clamp(64px, 7vw, 104px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.big-num span { background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.55)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.b-iphone .core { display: flex; flex-direction: column; background: radial-gradient(90% 60% at 50% 110%, rgba(26, 184, 158, 0.28), transparent 70%), linear-gradient(180deg, #111118, #0c0c11); }
.phone {
  margin: 34px auto -90px; width: 230px; height: 400px; padding: 9px; border-radius: 44px;
  background: linear-gradient(145deg, #3a3a42, #17171c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.phone-screen { height: 100%; border-radius: 36px; background: linear-gradient(180deg, #1c1a33 0%, #0d0d12 45%); padding: 44px 14px 14px; overflow: hidden; }
.ph-title { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 12px; }
.ph-hero { border-radius: 18px; padding: 14px; background: linear-gradient(135deg, #5c4deb, #149e9e); }
.ph-hero small { font-size: 10px; opacity: 0.85; }
.ph-hero b { display: block; font-size: 30px; letter-spacing: -0.03em; line-height: 1.1; }
.ph-row { display: flex; justify-content: space-between; margin-top: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.14); font-size: 13px; font-weight: 700; text-align: center; line-height: 1.2; }
.ph-row small { font-weight: 500; font-size: 9px; }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.ph-grid i { height: 72px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); }

.lock { position: absolute; right: -18px; bottom: -22px; width: 150px; opacity: 0.16; }
.lock svg { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.insights { display: grid; gap: 14px; margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.insights li { display: flex; gap: 10px; line-height: 1.35; }
.ins { flex: none; width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; }
.ins.good { background: var(--good); } .ins.warn { background: var(--gold); } .ins.bad { background: var(--bad); }

/* ---------- Pricing ---------- */
.pricing-section { padding: 140px var(--gutter) 120px; max-width: 1240px; margin: 0 auto; }
.pricing-section .section-head p { margin-top: 18px; font-size: 18px; }
.billing {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 34px; padding: 5px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--hair);
}
.billing-opt {
  position: relative; z-index: 1; border: 0; background: none; color: var(--ink-2); cursor: pointer;
  font: 500 14px/1 "Geist", system-ui, sans-serif; padding: 11px 22px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: color 0.5s var(--ease);
}
.billing-opt[aria-checked="true"] { color: #000; }
.billing-thumb {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--ink);
  transition: transform 0.6s var(--ease);
}
.billing[data-period="yearly"] .billing-thumb { transform: translateX(100%); }
.save { font-size: 11px; font-weight: 600; padding: 3px 7px; border-radius: 999px; background: rgba(52, 199, 123, 0.16); color: var(--good); }
.billing-opt[aria-checked="true"] .save { background: rgba(26, 140, 90, 0.16); color: #127a4a; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan .core { display: flex; flex-direction: column; padding: 34px 30px; }
.plan h3 { font-size: 22px; }
.plan-for { margin-top: 8px; font-size: 15px; min-height: 2.9em; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.popular { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: #fff; background: linear-gradient(100deg, var(--spend), var(--installs)); }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 26px; }
.amount { font-size: 54px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; display: inline-block; transition: opacity 0.35s var(--ease), transform 0.5s var(--ease); }
.amount.swap { opacity: 0; transform: translateY(10px); }
.per { color: var(--ink-3); font-size: 15px; }
.billed { margin-top: 8px; font-size: 13px; color: var(--ink-3); min-height: 1.4em; }
.plan-cta { margin-top: 26px; justify-content: center; width: 100%; }
.plan-cta.btn-primary { justify-content: space-between; }
.features { display: grid; gap: 13px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--hair); font-size: 15px; color: var(--ink-2); }
.features li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.features b { color: var(--ink); font-weight: 600; }
.tick { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--installs-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.plan-pro { position: relative; background: linear-gradient(160deg, rgba(143, 130, 255, 0.55), rgba(63, 224, 194, 0.35)); box-shadow: 0 40px 120px -40px rgba(107, 92, 242, 0.55); }
.plan-pro .core { background: radial-gradient(120% 70% at 50% 0%, rgba(107, 92, 242, 0.24), transparent 60%), linear-gradient(180deg, #13121d, #0c0c11); }

.lifetime {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; padding: 22px 28px;
  border-radius: 22px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--hair);
}
.lifetime strong { font-weight: 600; margin-right: 8px; }
.lifetime span { color: var(--ink-2); }
.lifetime-link { flex: none; font-weight: 500; color: var(--ink); }
.lifetime-link span { display: inline-block; transition: transform 0.5s var(--ease); }
.lifetime-link:hover span { transform: translateX(4px); }

.faq { max-width: 820px; margin: 90px auto 0; display: grid; }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; margin-top: -8px;
  border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg); transition: transform 0.5s var(--ease);
}
.faq details[open] summary::after { transform: translate(0, 5px) rotate(-135deg); }
.faq details p { padding: 0 40px 26px 0; font-size: 16px; max-width: 680px; }

/* ---------- Final ---------- */
.final { position: relative; min-height: 100dvh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 120px var(--gutter); }
.final canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.final-copy { position: relative; z-index: 2; display: grid; justify-items: center; }
.final-icon { border-radius: 22px; margin-bottom: 30px; box-shadow: 0 30px 80px -20px rgba(107, 92, 242, 0.7); }
.final h2 { font-size: clamp(48px, 8vw, 120px); }
.final p { font-size: clamp(20px, 2vw, 26px); margin-top: 14px; }
.fine { margin-top: 26px; font-size: 13px; color: var(--ink-3); }

.footer { display: flex; justify-content: space-between; gap: 16px; padding: 28px var(--gutter) 40px; font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--hair); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan-for { min-height: 0; }
  .lifetime { max-width: 520px; margin-left: auto; margin-right: auto; }
  .b-advisor, .b-iphone { grid-column: span 12; }
  .b-lift, .b-private { grid-column: span 6; }
  .b-insights { grid-column: span 12; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .nav { gap: 12px; padding-left: 14px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .hero { padding-top: 130px; }
  .hero-stage { height: 52vh; margin-left: -16px; margin-right: -16px; }
  .hero-stats { flex-wrap: wrap; gap: 20px 28px; }
  .sticky::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(5, 5, 7, 0.88) 38%, rgba(5, 5, 7, 0) 60%); }
  .steps { left: 16px; right: 16px; width: auto; top: auto; bottom: 90px; transform: none; height: 230px; }
  .step { top: auto; bottom: 0; transform: translateY(30px); }
  .step.active { transform: none; }
  .step h2 { font-size: 34px; }
  .step p { font-size: 15px; margin-top: 12px; }
  .legend { left: 16px; right: 16px; bottom: 40px; gap: 14px; font-size: 12px; flex-wrap: wrap; }
  .progress { display: none; }
  .globe-section { grid-template-columns: 1fr; padding: 110px 16px; gap: 24px; }
  .globe-stage { order: -1; }
  .carousel-copy { top: 10vh; }
  .bento-section { padding: 110px 16px 80px; }
  .bento { grid-template-columns: 1fr; gap: 16px; }
  .bento > * { grid-column: span 1 !important; grid-row: auto !important; }
  .core { padding: 26px; }
  .footer { flex-direction: column; }
  .pricing-section { padding: 110px 16px 80px; }
  .billing-opt { padding: 11px 16px; }
  .lifetime { flex-direction: column; align-items: flex-start; }
  .faq { margin-top: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ---------- Content pages ---------- */
.doc { max-width: 1120px; margin: 0 auto; padding: 150px var(--gutter) 40px; overflow-x: clip; }
.doc-hero { position: relative; text-align: center; padding-bottom: 72px; }
.doc-hero h1 { font-size: clamp(40px, 5.6vw, 76px); max-width: 960px; margin: 0 auto; }
.doc-hero .lede { max-width: 680px; }
.doc-hero .orb-a { top: -120px; opacity: 0.22; }
.doc-hero .orb-b { top: -60px; opacity: 0.14; }
.doc-hero > :not(.orb) { position: relative; z-index: 1; }
.crumbs { display: flex; justify-content: center; gap: 8px; font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a:hover { color: var(--ink); }

.prose { max-width: 720px; margin: 0 auto; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(30px, 3.4vw, 44px); margin-top: 84px; }
.prose h3 { margin-top: 44px; }
.prose p, .prose li { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--hair-2); text-underline-offset: 4px; transition: text-decoration-color 0.4s var(--ease); }
.prose a:not(.btn):hover { text-decoration-color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 10px; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--installs-hi); }
.prose code { font-family: "Geist Mono", ui-monospace, monospace; font-size: 0.86em; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: var(--ink); }

.formula {
  font-family: "Geist Mono", ui-monospace, monospace; font-size: clamp(14px, 1.6vw, 17px); line-height: 1.7; color: var(--ink);
  padding: 22px 26px; border-radius: 20px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--hair); overflow-x: auto;
}
.formula span { color: var(--ink-3); }
.callout { padding: 22px 26px; border-radius: 20px; background: linear-gradient(135deg, rgba(107, 92, 242, 0.14), rgba(26, 184, 158, 0.08)); box-shadow: inset 0 0 0 1px var(--hair-2); }
.callout p { margin: 0; font-size: 17px; }

.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 auto; }
.points .core { padding: 30px; }
.points h3 { font-size: 21px; }
.points .num { font-family: "Geist Mono", ui-monospace, monospace; font-size: 13px; color: var(--installs-hi); margin-bottom: 18px; display: block; }

.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-wrap { overflow-x: auto; margin: 0 -4px; padding: 4px; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.compare thead th { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.compare tbody th { font-weight: 500; color: var(--ink); width: 34%; }
.compare td { color: var(--ink-2); }
.compare td.us { color: var(--ink); }

.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.calc .core { padding: 30px; }
.field { display: grid; gap: 8px; margin-top: 18px; }
.field:first-of-type { margin-top: 0; }
.field span { font-size: 14px; color: var(--ink-2); }
.field input {
  font: 500 20px/1 "Geist", system-ui, sans-serif; color: var(--ink); font-variant-numeric: tabular-nums;
  padding: 14px 16px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--hair-2);
  outline: none; transition: box-shadow 0.3s var(--ease); width: 100%;
}
.field input:focus { box-shadow: inset 0 0 0 1px var(--spend-hi), 0 0 0 4px rgba(107, 92, 242, 0.18); }
.results { display: grid; gap: 4px; }
.result { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hair); font-size: 15px; color: var(--ink-2); }
.result b { font-size: 22px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.result.hero-result b { font-size: 44px; letter-spacing: -0.04em; }
.result.hero-result { border-bottom: 0; padding-bottom: 6px; }

.doc-cta { text-align: center; margin: 120px auto 0; padding: 80px var(--gutter); border-radius: var(--radius); background: radial-gradient(80% 120% at 50% 0%, rgba(107, 92, 242, 0.22), transparent 70%), rgba(255, 255, 255, 0.02); box-shadow: inset 0 0 0 1px var(--hair); }
.doc-cta h2 { font-size: clamp(34px, 4.4vw, 60px); }
.doc-cta p { margin-top: 14px; font-size: 18px; }

.related { margin-top: 100px; }
.related h2 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related-grid a { display: grid; gap: 6px; padding: 22px 24px; border-radius: 20px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--hair); transition: background 0.4s var(--ease), transform 0.6s var(--ease); }
.related-grid a:hover { background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }
.related-grid strong { font-weight: 600; }
.related-grid span { font-size: 14px; color: var(--ink-2); }

.doc .faq { margin-top: 40px; }

.footer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; max-width: 1320px; margin: 0 auto; padding: 64px var(--gutter) 40px; border-top: 1px solid var(--hair); font-size: 14px; }
.footer-links h2 { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); margin-bottom: 14px; }
.footer-links ul { display: grid; gap: 10px; }
.footer-links a { color: var(--ink-2); transition: color 0.4s var(--ease); }
.footer-links a:hover { color: var(--ink); }
.footer-links + .footer { border-top: 0; }

@media (max-width: 900px) {
  .points, .related-grid, .calc { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .doc { padding: 120px 16px 24px; }
  .doc-hero { padding-bottom: 48px; }
  .doc-hero h1 { font-size: clamp(32px, 9vw, 40px); }
  .prose p, .prose li { font-size: 17px; }
  .prose h2 { margin-top: 64px; }
  .doc-cta { margin-top: 80px; padding: 56px 20px; }
  .compare { min-width: 600px; }
  .compare tbody th { width: auto; }
}

/* ---------- Legal & support pages ---------- */
.doc-page .nav { gap: 18px; }
.doc { max-width: 760px; margin: 0 auto; padding: 150px var(--gutter) 100px; }
.doc h1 { font-size: clamp(40px, 6vw, 64px); }
.doc-meta { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.doc-summary {
  margin: 34px 0 10px; padding: 22px 24px; border-radius: 20px; line-height: 1.6;
  background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--hair); color: var(--ink-2);
}
.doc-summary strong { color: var(--ink); }
.doc h2 { font-size: 24px; letter-spacing: -0.02em; margin: 48px 0 12px; }
.doc h3 { font-size: 18px; margin: 28px 0 6px; }
.doc p, .doc li { color: var(--ink-2); line-height: 1.7; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { margin: 10px 0 0 22px; display: grid; gap: 10px; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc li strong { color: var(--ink); font-weight: 600; }
.doc a, .doc-summary a { color: var(--spend-hi); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(143, 130, 255, 0.4); }
.doc code { font-family: "Geist Mono", ui-monospace, monospace; font-size: 0.9em; padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a:hover { color: var(--ink); }
@media (max-width: 767px) {
  .doc { padding: 120px 16px 70px; }
  .doc-page .nav-cta { display: inline-block; }
}
