/* FuelIQX marketing site — shared styles.
   Palette follows the app (src/theme.ts): deep navy ground, champagne-gold
   brand accent, and the logo's gold→amber gradient. */

:root {
  --bg: #070B16;
  --bg-2: #0A1020;
  --surface: rgba(17, 26, 46, 0.62);
  --surface-solid: #111A2E;
  --line: rgba(148, 170, 220, 0.12);
  --line-strong: rgba(148, 170, 220, 0.22);
  --ink: #F4F7FC;
  --ink-2: #C6CFE0;
  --muted: #8591AD;
  --gold: #D4AF37;
  --gold-soft: #F2DE93;
  --amber: #E38E2E;
  --sky: #8FB8E8;
  --mint: #7FE0C4;
  --grad-gold: linear-gradient(135deg, #F8E3A0 0%, #EEC25E 45%, #E38E2E 100%);
  --grad-edge: linear-gradient(135deg, rgba(242, 222, 147, .55), rgba(143, 184, 232, .18) 40%, rgba(255, 255, 255, .04) 60%, rgba(227, 142, 46, .45));
  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1180px;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::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 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(212, 175, 55, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* ── Ambient background ─────────────────────────────────────────────── */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient .orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
  animation: drift 26s var(--ease) infinite alternate;
}
.orb.o1 { width: 620px; height: 620px; left: -160px; top: -200px; background: radial-gradient(circle, rgba(212,175,55,.45), transparent 65%); }
.orb.o2 { width: 680px; height: 680px; right: -220px; top: 18vh; background: radial-gradient(circle, rgba(72,110,200,.42), transparent 65%); animation-duration: 32s; }
.orb.o3 { width: 520px; height: 520px; left: 30vw; bottom: -260px; background: radial-gradient(circle, rgba(227,142,46,.28), transparent 65%); animation-duration: 38s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(60px, 40px, 0) scale(1.08); }
  100% { transform: translate3d(-40px, 80px, 0) scale(.95); }
}
.ambient .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  opacity: .55;
}
.ambient .noise {
  position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
  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='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#cursor-glow {
  position: fixed; width: 520px; height: 520px; left: 0; top: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 222, 147, .08), transparent 60%);
  pointer-events: none; z-index: 0; transform: translate(-50%, -50%);
  transition: opacity .4s; opacity: 0;
}

/* ── Layout ─────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; }
section { position: relative; padding: 120px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--font-mono); letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-soft);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--grad-gold); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.025em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(44px, 7.4vw, 92px); font-weight: 700; }
h2 { font-size: clamp(34px, 4.8vw, 60px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 620px; }
.grad-text {
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 200%; animation: sheen 8s ease-in-out infinite;
}
@keyframes sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.section-head { display: grid; gap: 18px; margin-bottom: 56px; max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ── Nav ────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 11, 22, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 700 21px/1 var(--font-display); letter-spacing: -.02em; }
.brand .mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(180deg, #1E2C4B, #121B30); display: grid; place-items: center; border: 1px solid var(--line-strong); box-shadow: 0 0 24px rgba(212, 175, 55, .18); }
.brand .mark svg { width: 24px; height: 24px; }
.brand b { font-weight: 700; }
.brand .iq { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 14px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, .06); }
.nav-links .btn { margin-left: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .3s var(--ease), opacity .3s; }
.nav.open .menu-btn span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.open .menu-btn span:nth-child(2) { opacity: 0; }
.nav.open .menu-btn span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--font-body);
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
  cursor: pointer; white-space: nowrap; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(242, 222, 147, .4); background: rgba(255, 255, 255, .07); }
.btn.primary { background: var(--grad-gold); color: #1A1204; border: none; box-shadow: 0 10px 40px -10px rgba(227, 142, 46, .6), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.primary:hover { box-shadow: 0 16px 50px -10px rgba(227, 142, 46, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.primary::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Glass cards with animated gradient edge ────────────────────────── */
.card {
  position: relative; background: var(--surface); border-radius: var(--radius);
  padding: 30px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), border-color .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1;
  background: var(--grad-edge); opacity: 0; transition: opacity .4s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card::after { /* spotlight that follows the pointer (set by site.js) */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 222, 147, .09), transparent 45%);
}
.card:hover { transform: translateY(-4px); border-color: transparent; }
.card:hover::before, .card:hover::after { opacity: 1; }

.icon-chip {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(180deg, rgba(242, 222, 147, .16), rgba(227, 142, 46, .06));
  border: 1px solid rgba(242, 222, 147, .22); color: var(--gold-soft);
  box-shadow: 0 0 30px -6px rgba(212, 175, 55, .35);
}
.icon-chip svg { width: 22px; height: 22px; }
.card p { color: var(--ink-2); margin: 10px 0 0; font-size: 15.5px; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { padding: 150px 0 90px; min-height: 100vh; display: flex; align-items: center; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 28px; }
.pill {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(17, 26, 46, .6);
  font-size: 13.5px; color: var(--ink-2); backdrop-filter: blur(10px);
}
.pill .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(127, 224, 196, .14); }
.pill .dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(127, 224, 196, .7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(127, 224, 196, .6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(127, 224, 196, 0); } }
.hero h1 .rotator { display: inline-block; position: relative; min-width: 4ch; }
.rotator .word { display: inline-block; }
.rotator .caret { display: inline-block; width: .06em; height: .82em; margin-left: .06em; background: var(--gold-soft); vertical-align: -.04em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: 14px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--gold-soft); }

/* Phone mockup */
.stage { position: relative; display: grid; place-items: center; perspective: 1400px; min-height: 640px; }
.stage .ring {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(242, 222, 147, .16);
  animation: spin 40s linear infinite;
}
.stage .ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-soft); box-shadow: 0 0 18px 4px rgba(242, 222, 147, .6); }
.stage .ring.r2 { width: 660px; height: 660px; border-style: dashed; border-color: rgba(143, 184, 232, .12); animation-duration: 70s; animation-direction: reverse; }
.stage .ring.r2::before { background: var(--sky); box-shadow: 0 0 18px 4px rgba(143, 184, 232, .6); }
@keyframes spin { to { transform: rotate(360deg); } }
.phone {
  position: relative; width: 300px; aspect-ratio: 1320 / 2868; border-radius: 46px; padding: 10px;
  background: linear-gradient(145deg, #2A3653, #0C1222 40%, #1C263F);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 120px -30px rgba(0, 0, 0, .9), 0 0 120px -20px rgba(212, 175, 55, .3);
  transform-style: preserve-3d; transition: transform .2s ease-out; will-change: transform;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; }
.phone::after { /* glass glare */
  content: ""; position: absolute; inset: 10px; border-radius: 37px; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .14), transparent 35%);
}
.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border-radius: 16px; background: rgba(15, 22, 40, .78); border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
  font-size: 13.5px; animation: bob 6s ease-in-out infinite;
}
.float-chip strong { display: block; font: 600 15px/1.2 var(--font-display); }
.float-chip small { color: var(--muted); }
.float-chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(242, 222, 147, .12); color: var(--gold-soft); }
.float-chip .ic svg { width: 18px; height: 18px; }
.float-chip.c1 { left: -10px; top: 18%; }
.float-chip.c2 { right: -16px; top: 52%; animation-delay: -2s; }
.float-chip.c3 { left: 4%; bottom: 8%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ── Marquee divider ────────────────────────────────────────────────── */
.marquee {
  border-block: 1px solid var(--line); background: rgba(10, 16, 32, .6); overflow: hidden; padding: 22px 0;
  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: 56px; width: max-content; animation: scroll 40s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; font: 500 15px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--gold); font-size: 12px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ── Section divider: glowing beam ──────────────────────────────────── */
.beam { position: relative; height: 1px; max-width: var(--maxw); margin: 0 auto; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); overflow: visible; }
.beam::after {
  content: ""; position: absolute; top: -1px; height: 3px; width: 160px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  filter: blur(.5px); box-shadow: 0 0 20px 2px rgba(242, 222, 147, .45);
  animation: beam 6s ease-in-out infinite;
}
@keyframes beam { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 160px); opacity: 0; } }

/* ── Bento feature grid ─────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento .card { grid-column: span 2; }
.bento .card.wide { grid-column: span 3; }
.bento .card.tall { grid-row: span 2; display: flex; flex-direction: column; }
.card .tag { display: inline-block; margin-top: 18px; font: 500 11.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card .shot { margin-top: auto; padding-top: 28px; display: flex; justify-content: center; }
.card .shot img { width: 78%; border-radius: 26px; border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); mask-image: linear-gradient(#000 70%, transparent); -webkit-mask-image: linear-gradient(#000 70%, transparent); }

/* Scan visual (pure CSS) */
.scan-vis { position: relative; height: 150px; margin-top: 26px; border-radius: 16px; border: 1px dashed rgba(242, 222, 147, .3); overflow: hidden; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 9px); }
.scan-vis::before { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--gold-soft); box-shadow: 0 0 22px 6px rgba(242, 222, 147, .5); animation: scanline 2.8s ease-in-out infinite; }
@keyframes scanline { 0%, 100% { top: 6%; } 50% { top: 92%; } }
.scan-vis .readout { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; }
.scan-vis .readout b { font: 500 12px/1 var(--font-mono); padding: 7px 9px; border-radius: 8px; background: rgba(7, 11, 22, .8); border: 1px solid var(--line-strong); }
.scan-vis .readout b:nth-child(1) { color: var(--amber); }
.scan-vis .readout b:nth-child(2) { color: var(--sky); }
.scan-vis .readout b:nth-child(3) { color: #C4A2F0; }
.corner { position: absolute; width: 18px; height: 18px; border-color: var(--gold); border-style: solid; }
.corner.tl { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.corner.tr { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.corner.bl { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }

/* Macro bars visual */
.bars { display: grid; gap: 14px; margin-top: 26px; }
.bar { display: grid; grid-template-columns: 70px 1fr 54px; align-items: center; gap: 12px; font: 500 12.5px/1 var(--font-mono); color: var(--muted); }
.bar i { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); overflow: hidden; position: relative; }
.bar i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: var(--c); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease) .2s; }
.in .bar i::after { transform: scaleX(1); }

/* ── Steps ──────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { counter-increment: step; }
.step .num { font: 500 13px/1 var(--font-mono); color: var(--gold-soft); letter-spacing: .14em; margin-bottom: 26px; display: flex; align-items: center; gap: 12px; }
.step .num::before { content: "0" counter(step); font-size: 40px; font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Privacy band ───────────────────────────────────────────────────── */
.privacy-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.checks li svg { flex: none; width: 22px; height: 22px; color: var(--mint); margin-top: 1px; }
.checks li strong { color: var(--ink); }
.shield { position: relative; aspect-ratio: 1; max-width: 420px; justify-self: center; width: 100%; display: grid; place-items: center; }
.shield svg.core { width: 46%; filter: drop-shadow(0 0 40px rgba(242, 222, 147, .35)); }
.shield .halo { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(242, 222, 147, .18); animation: pulse-ring 4s ease-out infinite; }
.shield .halo:nth-child(2) { animation-delay: -1.33s; }
.shield .halo:nth-child(3) { animation-delay: -2.66s; }
@keyframes pulse-ring { 0% { transform: scale(.45); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1); opacity: 0; } }

/* ── Pricing ────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 6px; }
.plan .price { font: 700 44px/1 var(--font-display); letter-spacing: -.03em; margin: 14px 0 4px; }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; color: var(--ink-2); font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "→"; color: var(--gold-soft); }
.plan.featured { border-color: rgba(242, 222, 147, .35); background: linear-gradient(180deg, rgba(212, 175, 55, .10), rgba(17, 26, 46, .7) 50%); }
.plan .badge { position: absolute; top: 22px; right: 22px; font: 600 11px/1 var(--font-mono); letter-spacing: .14em; padding: 7px 10px; border-radius: 999px; background: var(--grad-gold); color: #1A1204; }
.fineprint { color: var(--muted); font-size: 13.5px; margin-top: 26px; text-align: center; max-width: 760px; margin-inline: auto; }
.fineprint a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }

/* ── CTA ────────────────────────────────────────────────────────────── */
.cta-box {
  position: relative; text-align: center; padding: 90px 30px; border-radius: 32px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, .22), transparent 60%), linear-gradient(180deg, #111A2E, #0A1020);
  border: 1px solid rgba(242, 222, 147, .2);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; opacity: .6;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px; transform: perspective(500px) rotateX(60deg) translateY(30%) scale(2);
  transform-origin: bottom; mask-image: linear-gradient(transparent, #000); -webkit-mask-image: linear-gradient(transparent, #000);
}
.cta-box > * { position: relative; }
.cta-box .appicon { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 30px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 0 80px -10px rgba(212, 175, 55, .7); animation: bob 6s ease-in-out infinite; }
.cta-box .btn-row { justify-content: center; margin-top: 34px; }

/* ── Footer ─────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding: 64px 0 40px; margin-top: 60px; background: rgba(7, 11, 22, .6); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; }
.foot p { color: var(--muted); font-size: 14.5px; max-width: 320px; margin: 16px 0 0; }
.foot h4 { margin: 0 0 16px; font: 500 12px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul a { color: var(--ink-2); font-size: 14.5px; transition: color .2s; }
.foot ul a:hover { color: var(--gold-soft); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot-word { font: 700 clamp(64px, 17vw, 230px)/.8 var(--font-display); letter-spacing: -.05em; text-align: center; margin-top: 50px; background: linear-gradient(180deg, rgba(242, 222, 147, .16), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* ── Inner page hero ────────────────────────────────────────────────── */
.page-hero { padding: 170px 0 70px; }
.page-hero .wrap { display: grid; gap: 22px; }
.page-hero h1 { font-size: clamp(42px, 6vw, 76px); }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.faq-nav { position: sticky; top: 100px; display: grid; gap: 4px; }
.faq-nav a { padding: 10px 14px; border-radius: 10px; color: var(--muted); font-size: 14.5px; border-left: 2px solid transparent; transition: all .2s; }
.faq-nav a:hover, .faq-nav a.active { color: var(--ink); background: rgba(255, 255, 255, .04); border-left-color: var(--gold); }
.faq-search { position: relative; margin-bottom: 36px; }
.faq-search input {
  width: 100%; height: 58px; padding: 0 20px 0 52px; border-radius: 16px; font: 16px var(--font-body); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); outline: none; transition: border-color .2s, box-shadow .2s;
}
.faq-search input:focus { border-color: rgba(242, 222, 147, .5); box-shadow: 0 0 0 4px rgba(212, 175, 55, .12); }
.faq-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.faq-group { margin-bottom: 48px; scroll-margin-top: 100px; }
.faq-group h2 { font-size: 26px; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.faq-group h2 .count { font: 500 12px/1 var(--font-mono); color: var(--muted); padding: 6px 9px; border: 1px solid var(--line-strong); border-radius: 999px; }
details.qa { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 10px; transition: border-color .3s, background .3s; }
details.qa[open] { border-color: rgba(242, 222, 147, .28); background: rgba(17, 26, 46, .85); }
details.qa summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; position: relative; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--gold-soft); border-bottom: 2px solid var(--gold-soft); transform: rotate(45deg); transition: transform .3s var(--ease);
}
details.qa[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
details.qa .ans { padding: 0 22px 22px; color: var(--ink-2); }
details.qa .ans p { margin: 0 0 10px; }
details.qa .ans p:last-child { margin: 0; }
.ans a, .legal a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.empty-state { display: none; padding: 30px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-grid .card h3 { margin-bottom: 4px; }
.contact-grid .card a.link { display: inline-flex; margin-top: 16px; color: var(--gold-soft); font-weight: 600; }

/* ── Legal ──────────────────────────────────────────────────────────── */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 2px; font-size: 14px; }
.toc b { font: 500 12px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc a { padding: 7px 12px; border-left: 1px solid var(--line-strong); color: var(--muted); transition: all .2s; }
.toc a:hover, .toc a.active { color: var(--ink); border-left-color: var(--gold); }
.legal { max-width: 760px; }
.legal h2 { font-size: 24px; margin: 52px 0 14px; scroll-margin-top: 100px; display: flex; gap: 14px; align-items: baseline; }
.legal h2 .n { font: 500 13px/1 var(--font-mono); color: var(--gold-soft); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); }
.legal strong { color: var(--ink); }
.updated { display: inline-flex; gap: 8px; align-items: center; font: 500 13px/1 var(--font-mono); color: var(--muted); padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 999px; justify-self: start; }
.callout { padding: 20px 22px; border-radius: var(--radius-sm); border: 1px solid rgba(242, 222, 147, .25); background: rgba(212, 175, 55, .06); margin: 18px 0; }

/* ── Founder ────────────────────────────────────────────────────────── */
.founder-hero .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.portrait { position: relative; justify-self: center; width: 100%; max-width: 440px; }
.portrait .frame { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 724 / 1086; border: 1px solid var(--line-strong); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); }
.portrait .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.portrait:hover .frame img { transform: scale(1.04); }
.portrait .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 11, 22, .85)); }
.portrait .caption { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; }
.portrait .caption strong { display: block; font: 700 26px/1.1 var(--font-display); }
.portrait .caption span { color: var(--gold-soft); font: 500 12.5px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; }
.portrait .glow { position: absolute; inset: -30px; z-index: -1; border-radius: 40px; background: conic-gradient(from 0deg, rgba(212, 175, 55, .5), rgba(72, 110, 200, .4), rgba(227, 142, 46, .5), rgba(212, 175, 55, .5)); filter: blur(50px); opacity: .55; animation: spin 18s linear infinite; }
.portrait .scan-corners .corner { width: 26px; height: 26px; z-index: 3; }
.portrait .scan-corners .corner.tl { top: -10px; left: -10px; }
.portrait .scan-corners .corner.tr { top: -10px; right: -10px; }
.portrait .scan-corners .corner.bl { bottom: -10px; left: -10px; }
.portrait .scan-corners .corner.br { bottom: -10px; right: -10px; border-width: 0 2px 2px 0; }
.quote { font: 500 clamp(26px, 3.2vw, 40px)/1.2 var(--font-display); letter-spacing: -.02em; }
.quote::before { content: "“"; display: block; font-size: 90px; line-height: .6; margin-bottom: 8px; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story .card .k { font: 500 12px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; }
.timeline { position: relative; display: grid; gap: 22px; max-width: 760px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--gold), rgba(143, 184, 232, .3), transparent); }
.timeline .t { position: relative; }
.timeline .t::before { content: ""; position: absolute; left: -31px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold-soft); box-shadow: 0 0 14px rgba(242, 222, 147, .6); }
.timeline .t b { font-family: var(--font-display); font-size: 19px; }
.timeline .t p { margin: 6px 0 0; color: var(--ink-2); }

/* ── Reveal on scroll ───────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hero .wrap, .privacy-band .wrap, .founder-hero .wrap { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 130px; }
  .stage { min-height: 600px; }
  .bento .card, .bento .card.wide { grid-column: span 3; }
  .bento .card.tall { grid-row: auto; }
  .steps, .plans, .story, .contact-grid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .faq-layout, .legal-layout { grid-template-columns: 1fr; }
  .faq-nav, .toc { display: none; }
  .founder-hero .portrait { order: -1; max-width: 380px; }
}
@media (max-width: 760px) {
  section { padding: 84px 0; }
  .wrap { padding: 0 16px; }
  .nav-links { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 16px 22px; background: rgba(7, 11, 22, .96); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .3s var(--ease); }
  .nav.open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav.open { background: rgba(7, 11, 22, .96); }
  .nav-links a { padding: 14px; font-size: 16px; }
  .nav-links .btn { margin: 10px 0 0; }
  .menu-btn { display: block; }
  .bento { grid-template-columns: 1fr; }
  .bento .card, .bento .card.wide { grid-column: auto; }
  .stage { min-height: 520px; }
  .stage .ring { width: 360px; height: 360px; }
  .stage .ring.r2 { width: 460px; height: 460px; }
  .phone { width: 240px; border-radius: 38px; }
  .phone img, .phone::after { border-radius: 30px; }
  .float-chip { font-size: 12px; padding: 10px 12px; }
  .float-chip.c1 { left: 0; }
  .float-chip.c2 { right: 0; }
  .card { padding: 24px; }
  .cta-box { padding: 64px 20px; }
  .foot { grid-template-columns: 1fr; }
  .page-hero { padding: 130px 0 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}
