/* ================= Tokens ================= */
:root {
  --bg: #ffffff;
  --bg-tint: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #0a1428;
  --text-2: #4a5872;
  --muted: #7d8aa1;
  --line: #e3e9f2;
  --accent: #059669;
  --accent-2: #0d9488;
  --accent-soft: #e6f8f1;
  --on-accent: #ffffff;
  --grad: linear-gradient(100deg, #059669 0%, #0d9488 45%, #2563eb 100%);
  /* deep "midnight" surfaces, same in both modes */
  --ink: #050b18;
  --ink-2: #0b1528;
  --ink-3: #111e36;
  --ink-line: rgba(148, 178, 222, .14);
  --ink-text: #eef3fa;
  --ink-muted: #94a6c2;
  --mint: #34d399;
  --teal: #2dd4bf;
  --sky: #60a5fa;
  --grad-ink: linear-gradient(100deg, #6ee7b7 0%, #2dd4bf 40%, #60a5fa 80%, #a78bfa 100%);
  --shadow: 0 1px 2px rgba(10, 20, 40, .04), 0 18px 40px -12px rgba(10, 20, 40, .14);
  --shadow-lg: 0 40px 80px -24px rgba(10, 20, 40, .28);
  --r: 20px;
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #060c19; --bg-tint: #09122a; --surface: #0d182f; --surface-2: #101d38;
    --text: #eef3fa; --text-2: #a5b4cb; --muted: #6f80a0; --line: rgba(148,178,222,.13);
    --accent: #10b981; --accent-2: #2dd4bf; --accent-soft: rgba(16,185,129,.12); --on-accent: #032018;
    --grad: var(--grad-ink);
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 18px 40px -12px rgba(0,0,0,.5);
    --shadow-lg: 0 40px 80px -24px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #060c19; --bg-tint: #09122a; --surface: #0d182f; --surface-2: #101d38;
  --text: #eef3fa; --text-2: #a5b4cb; --muted: #6f80a0; --line: rgba(148,178,222,.13);
  --accent: #10b981; --accent-2: #2dd4bf; --accent-soft: rgba(16,185,129,.12); --on-accent: #032018;
  --grad: var(--grad-ink);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 18px 40px -12px rgba(0,0,0,.5);
  --shadow-lg: 0 40px 80px -24px rgba(0,0,0,.7);
  color-scheme: dark;
}

/* ================= Base ================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16.5px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.08; letter-spacing: -.025em; font-family: var(--display); font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: #34d399; color: #032018; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow.center { display: flex; justify-content: center; }
h2 { font-size: clamp(32px, 4.4vw, 56px); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { color: var(--text-2); font-size: 18px; }

/* ================= Buttons ================= */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font: 600 15.5px var(--sans); border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s, color .25s; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, #10b981, #0d9488); color: #fff; box-shadow: 0 10px 30px -8px rgba(16,185,129,.55), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-100%); transition: transform .7s var(--ease); }
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(16,185,129,.7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-outline { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { border-color: rgba(255,255,255,.18); color: #fff; background: rgba(255,255,255,.04); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.btn-light { background: #fff; color: #0a1428; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.btn-light:hover { background: #ecfdf5; }
.btn-sm { padding: 10px 18px; font-size: 14.5px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--nav-line, var(--line)); background: transparent; color: inherit; cursor: pointer; transition: background .2s, border-color .2s; }
.icon-btn:hover { background: rgba(127,140,160,.12); }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: block; }
  :root:not([data-theme="light"]) .i-moon { display: none; }
}

/* ================= Top bar + Nav ================= */
.topbar { position: relative; z-index: 2; background: var(--ink); color: #c7f5e3; font-size: 13.5px; border-bottom: 1px solid var(--ink-line); }
.topbar-in { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 9px 0; }
.topbar a { font-weight: 600; white-space: nowrap; color: #fff; background: linear-gradient(90deg, rgba(52,211,153,.18), rgba(96,165,250,.18)); padding: 3px 12px; border-radius: 999px; border: 1px solid rgba(52,211,153,.3); transition: background .2s; }
.topbar a:hover { background: linear-gradient(90deg, rgba(52,211,153,.3), rgba(96,165,250,.3)); }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #34d399; margin-right: 6px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

.nav { position: sticky; top: 12px; z-index: 50; margin-top: 12px; height: 68px; margin-bottom: -80px; }
.nav-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; padding: 0 12px 0 18px; border-radius: 999px; color: var(--text); background: color-mix(in srgb, var(--bg) 78%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); transition: background .35s, color .35s, border-color .35s, box-shadow .35s; }
.nav.over-hero .nav-in { --nav-line: rgba(255,255,255,.16); color: #fff; background: rgba(8, 16, 34, .45); border-color: rgba(255,255,255,.1); box-shadow: 0 10px 40px -10px rgba(0,0,0,.5); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.brand-text small { font-size: 10.5px; opacity: .65; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
:root[data-theme="dark"] .nav .brand img, .nav.over-hero .brand img { content: url("assets/logo-light.svg"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav .brand img { content: url("assets/logo-light.svg"); } }
.nav-links { display: flex; gap: 4px; }
.nav-links a { font-size: 14.5px; font-weight: 500; opacity: .78; padding: 8px 14px; border-radius: 999px; transition: opacity .2s, background .2s; }
.nav-links a:hover { opacity: 1; background: rgba(127,140,160,.14); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; }

/* ================= Hero ================= */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--ink-text); padding-top: 80px; }
.aurora { position: absolute; inset: -20% -10% 0; z-index: -3; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.aurora span:nth-child(1) { width: 46vw; height: 46vw; left: 48%; top: 6%; background: radial-gradient(circle, #10b981, transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 38vw; height: 38vw; left: -6%; top: 40%; background: radial-gradient(circle, #2563eb, transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 30vw; height: 30vw; left: 70%; top: 50%; background: radial-gradient(circle, #8b5cf6, transparent 65%); opacity: .35; animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-12vw, 10vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(14vw, -12vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-18vw, -8vh) scale(1.2); } }
.hero-grid { position: absolute; inset: 0; z-index: -2; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(600px circle at var(--sx, 70%) var(--sy, 30%), rgba(52,211,153,.13), transparent 60%); transition: background .1s; }
.grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07; 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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; padding: 96px 0 84px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #a7f3d0; padding: 7px 14px 7px 10px; border: 1px solid rgba(52,211,153,.28); border-radius: 999px; background: rgba(16,185,129,.08); }
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 12px #34d399; }
.hero h1 { font-size: clamp(46px, 6.6vw, 92px); line-height: .98; margin: 26px 0 26px; color: #fff; letter-spacing: -.04em; font-weight: 700; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .line > span { display: inline-block; animation: lineUp 1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes lineUp { from { transform: translateY(105%); } }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #6ee7b7, #2dd4bf 30%, #60a5fa 60%, #a78bfa 80%, #6ee7b7); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.lead { font-size: 18.5px; color: var(--ink-muted); max-width: 540px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; font-size: 14.5px; color: var(--ink-muted); }
.hero-checks li { display: flex; align-items: center; gap: 8px; }
.hero-checks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: rgba(52,211,153,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }

/* Stage + dashboard (flat, no 3D transforms so text stays crisp) */
.stage { position: relative; padding: 28px 10px; }
.halo { position: absolute; inset: 8% 4%; z-index: -1; border-radius: 40px; background: conic-gradient(from 180deg, #10b981, #2dd4bf, #60a5fa, #a78bfa, #10b981); filter: blur(60px); opacity: .4; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dash { position: relative; border-radius: 22px; padding: 20px; color: var(--ink-text); background: linear-gradient(180deg, rgba(20, 34, 62, .92), rgba(9, 18, 36, .94)); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 40px 80px -20px rgba(0,0,0,.6); }
.dash::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; background: linear-gradient(140deg, rgba(110,231,183,.6), transparent 35%, transparent 65%, rgba(96,165,250,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dash-title { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; }
.dash-title i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.dash-title i:first-child { background: #34d399; box-shadow: 0 0 8px #34d399; }
.dash-title i:last-of-type { margin-right: 6px; }
.chip { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(52,211,153,.14); color: #6ee7b7; border: 1px solid rgba(52,211,153,.25); }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.kpi span { font-size: 11.5px; color: var(--ink-muted); font-weight: 500; }
.kpi b { font-size: 17px; color: #fff; }
.kpi em { font-style: normal; font-size: 11px; font-weight: 600; color: #34d399; }
.dash-chart { margin-top: 12px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); border-radius: 12px; padding: 14px; }
.chart-head { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; margin-bottom: 12px; }
.legend { display: flex; align-items: center; gap: 6px; color: var(--ink-muted); font-weight: 500; }
.legend i { width: 8px; height: 8px; border-radius: 2px; background: #34d399; }
.chart-wrap { position: relative; height: 128px; background: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 32px); }
.chart-bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 7px; align-items: end; }
.chart-bars span { height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, rgba(52,211,153,.95), rgba(13,148,136,.25)); box-shadow: 0 0 18px -4px rgba(52,211,153,.6); transform-origin: bottom; animation: grow 1.2s var(--ease) both; animation-delay: calc(.5s + var(--i, 0) * 60ms); }
@keyframes grow { from { transform: scaleY(0); } }
.chart-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart-line path { fill: none; stroke: #93c5fd; stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(96,165,250,.8)); stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 2s 1.1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.dash-feed { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.feed-row { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 9px 10px; border-radius: 10px; background: rgba(255,255,255,.04); color: #dbe6f5; }
.feed-row em { margin-left: auto; font-style: normal; color: var(--ink-muted); font-size: 12px; }
.feed-row span { font-family: var(--mono); font-size: 10.5px; font-weight: 500; padding: 2px 6px; border-radius: 5px; flex-shrink: 0; }
.pill-amz { background: rgba(251,146,60,.16); color: #fdba74; }
.pill-wmt { background: rgba(96,165,250,.16); color: #93c5fd; }
.pill-shp { background: rgba(52,211,153,.16); color: #6ee7b7; }

.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(255,255,255,.96); color: #0a1428; box-shadow: 0 20px 40px -12px rgba(0,0,0,.45); font-size: 13px; line-height: 1.25; white-space: nowrap; animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-size: 13.5px; }
.float small { color: #64748b; font-size: 12px; }
.f-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(135deg, #10b981, #0d9488); }
.f-blue { background: linear-gradient(135deg, #3b82f6, #6366f1); }
.f-amber { background: linear-gradient(135deg, #f59e0b, #f97316); font-size: 11px; }
.f1 { top: -6px; left: -34px; }
.f2 { top: 44%; right: -40px; animation-delay: -2s; }
.f3 { bottom: -4px; left: 12%; animation-delay: -4s; }
@keyframes bob { 50% { translate: 0 -10px; } }

/* hero entrance (pure CSS) */
.anim { animation: rise .9s var(--ease) both; }
.hero-copy .lead { animation-delay: .25s; }
.hero-copy .hero-cta { animation-delay: .35s; }
.hero-copy .hero-checks { animation-delay: .45s; }
.stage.anim { animation: fadein 1.2s .3s ease both; }
@keyframes rise { from { opacity: 0; translate: 0 24px; } }
@keyframes fadein { from { opacity: 0; } }

/* Marquee */
.marquee-wrap { position: relative; border-top: 1px solid var(--ink-line); padding: 26px 0 30px; }
.marquee-label { text-align: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 18px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; flex-shrink: 0; gap: 64px; padding-right: 64px; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -.02em; color: rgba(238,243,250,.42); white-space: nowrap; transition: color .2s; }
.marquee-track li:hover { color: #fff; }
.marquee-track li::before { content: "✦"; font-size: 13px; color: #34d399; margin-right: 64px; opacity: .7; vertical-align: 5px; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ================= Sections ================= */
.section { position: relative; padding: 120px 0; }
.section-tint { background: var(--bg-tint); }
.head-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: end; margin-bottom: 56px; }
.head-center { text-align: center; max-width: 780px; margin: 0 auto 64px; }

/* Bento + spotlight cards */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: 18px; }
.tile { position: relative; overflow: hidden; isolation: isolate; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: transform .35s var(--ease), box-shadow .35s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1.5px; pointer-events: none; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), #10b981, #60a5fa 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%); opacity: 0; transition: opacity .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile:hover::before, .tile:hover::after { opacity: 1; }
.tile h3 { font-size: 21px; font-weight: 700; }
.tile p { color: var(--text-2); font-size: 15.5px; }
.tile-wide { grid-column: span 2; }
.tile-xl { grid-column: span 2; grid-row: span 2; min-height: 520px; padding: 34px;background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), var(--surface); }
.tile-xl h3 { font-size: 32px; margin-top: auto; }
.tile-xl p { font-size: 16.5px; max-width: 470px; }
.tile-dark { background: radial-gradient(100% 120% at 100% 100%, rgba(37,99,235,.35), transparent 60%), radial-gradient(80% 100% at 0% 0%, rgba(16,185,129,.25), transparent 60%), var(--ink); border-color: var(--ink-line); color: var(--ink-text); }
.tile-dark p { color: var(--ink-muted); }
.tile-dark .ico { background: rgba(52,211,153,.12); color: var(--mint); box-shadow: none; }
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 8px; }
.tile-xl .ico { width: 58px; height: 58px; color: #fff; background: linear-gradient(135deg, #10b981, #0d9488); box-shadow: 0 12px 30px -8px rgba(16,185,129,.6); }
.ico svg, .ci svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tags span { font-size: 13px; font-weight: 500; padding: 6px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); }
.text-link { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--mint); font-size: 14.5px; }
.text-link:hover { text-decoration: underline; }

/* orbit art in the big tile */
.xl-art { position: absolute; top: 26px; right: 26px; width: 210px; height: 210px; z-index: -1; }
.xl-art .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent); }
.xl-art .r1 { animation: spin 40s linear infinite; }
.xl-art .r2 { inset: 42px; border-style: solid; border-color: color-mix(in srgb, var(--accent) 22%, transparent); }
.xl-art .core { position: absolute; inset: 78px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #0b1528, #10223d); box-shadow: 0 10px 30px -8px rgba(16,185,129,.6), 0 0 0 6px color-mix(in srgb, var(--accent) 12%, transparent); }
.xl-art .orb { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font: 600 10px var(--mono); color: var(--text); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite; }
.o1 { top: -10px; left: 83px; color: #c2410c !important; }
.o2 { top: 83px; right: -10px; color: #1d4ed8 !important; animation-delay: -1.2s !important; }
.o3 { bottom: -10px; left: 83px; color: #047857 !important; animation-delay: -2.4s !important; }
.o4 { top: 83px; left: -10px; color: #be185d !important; animation-delay: -3.6s !important; }
:root[data-theme="dark"] .xl-art .orb { color: inherit; }

/* Timeline with scroll progress */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; --p: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 2px; border-radius: 2px; }
.timeline::before { background: var(--line); }
.timeline::after { background: var(--grad); transform: scaleX(var(--p)); transform-origin: left; box-shadow: 0 0 12px rgba(16,185,129,.5); transition: transform .2s linear; }
.timeline li { position: relative; text-align: center; padding: 0 6px; }
.t-num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--accent); font-family: var(--display); font-weight: 700; font-size: 22px; box-shadow: 0 0 0 8px var(--bg-tint), var(--shadow); transition: background .4s, color .4s, box-shadow .4s; }
.timeline li.lit .t-num { background: linear-gradient(135deg, #10b981, #0d9488); color: #fff; border-color: transparent; box-shadow: 0 0 0 8px var(--bg-tint), 0 12px 30px -6px rgba(16,185,129,.6); }
.timeline h4 { font-size: 21px; margin-bottom: 8px; }
.timeline p { color: var(--text-2); font-size: 15.5px; }

/* Models tabs */
.models { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.models-side .sub { margin-top: 18px; }
.tablist { display: flex; flex-direction: column; gap: 10px; margin-top: 34px; }
.tablist button { text-align: left; font: 600 16.5px var(--sans); color: var(--text-2); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; cursor: pointer; display: flex; align-items: center; gap: 16px; transition: .25s var(--ease); }
.tablist button span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.tablist button::after { content: "→"; margin-left: auto; opacity: 0; transform: translateX(-6px); transition: .25s; }
.tablist button:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); color: var(--text); transform: translateX(4px); }
.tablist button[aria-selected="true"] { color: #fff; border-color: transparent; background: linear-gradient(135deg, #059669, #0d9488 60%, #1d4ed8); box-shadow: 0 16px 36px -12px rgba(16,185,129,.55); }
.tablist button[aria-selected="true"] span { color: rgba(255,255,255,.7); }
.tablist button[aria-selected="true"]::after { opacity: 1; transform: none; }
.tabpanels { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 48px; box-shadow: var(--shadow-lg); }
.tabpanels::before { content: ""; position: absolute; top: -120px; right: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); pointer-events: none; }
.panel { position: relative; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; animation: fade .5s var(--ease) both; }
.panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; translate: 0 12px; } }
.panel-num { font-family: var(--display); font-size: 84px; font-weight: 700; line-height: .9; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.panel h3 { font-size: 34px; }
.panel p { color: var(--text-2); font-size: 17px; }
.panel .btn { margin-top: 12px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; width: 100%; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.checks li::before { content: ""; flex-shrink: 0; margin-top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Why (midnight) */
.section-ink { overflow: hidden; isolation: isolate; background: var(--ink); color: var(--ink-text); }
.section-ink .eyebrow { color: var(--mint); }
.section-ink .grad, .contact-card .grad { background-image: var(--grad-ink); }
.aurora-soft { inset: 0; }
.aurora-soft span { opacity: .28; }
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.why-side { position: sticky; top: 120px; }
.why-side h2 { color: #fff; }
.why-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 44px; }
.why-stats div { position: relative; border: 1px solid var(--ink-line); border-radius: 18px; padding: 20px 18px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.why-stats b { display: block; font-family: var(--display); font-size: 44px; font-weight: 700; letter-spacing: -.04em; line-height: 1; margin-bottom: 6px; background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-stats b span { font: inherit; }
.why-stats > div > span { font-size: 13px; color: var(--ink-muted); }
.why-list li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 32px 0; border-bottom: 1px solid var(--ink-line); transition: padding-left .35s var(--ease); }
.why-list li:hover { padding-left: 10px; }
.why-list li:first-child { padding-top: 0; }
.why-list li > span { font-family: var(--mono); font-size: 14px; color: var(--mint); padding-top: 6px; }
.why-list h4 { font-size: 26px; color: #fff; margin-bottom: 8px; }
.why-list p { color: var(--ink-muted); }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col { position: relative; overflow: hidden; padding: 44px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; border-radius: 26px; border: 1px solid var(--line); background: var(--surface); }
.compare-col.featured { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, #10b981, #2dd4bf, #60a5fa) border-box; border: 1.5px solid transparent; box-shadow: 0 30px 60px -24px rgba(16,185,129,.35); }
.compare-col.featured::after { content: "Most popular"; position: absolute; top: 22px; right: 22px; font: 600 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; color: var(--accent); background: var(--accent-soft); }
.compare-tag { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.compare-col.featured .compare-tag { color: var(--accent); }
.compare h3 { font-size: 32px; }
.compare .checks { grid-template-columns: 1fr; }
.compare .btn { margin-top: 10px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; max-width: 1040px; margin: 0 auto; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: border-color .25s, box-shadow .25s; }
.qa:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.qa[open] { border-color: var(--accent); box-shadow: 0 16px 40px -20px rgba(16,185,129,.5); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 24px; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-tint); color: var(--accent); font-size: 18px; font-weight: 600; transition: transform .3s var(--ease), background .3s; }
.qa[open] summary::after { transform: rotate(45deg); background: linear-gradient(135deg, #10b981, #0d9488); color: #fff; }
.qa p { padding: 0 24px 22px; color: var(--text-2); font-size: 15.5px; animation: fade .4s var(--ease); }

/* Contact card */
.contact-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 34px; padding: 64px; background: var(--ink); color: var(--ink-text); border: 1px solid var(--ink-line); box-shadow: var(--shadow-lg); }
.contact-card .aurora-soft span { opacity: .4; }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact h2 { color: #fff; }
.contact .eyebrow { color: var(--mint); }
.contact-copy .sub { margin-top: 18px; color: var(--ink-muted); }
.contact-list { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--ink-line); border-radius: 16px; background: rgba(255,255,255,.03); transition: border-color .25s, background .25s; }
.contact-list li:hover { border-color: rgba(52,211,153,.4); background: rgba(52,211,153,.05); }
.ci { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(52,211,153,.12); color: var(--mint); flex-shrink: 0; }
.contact-list small { display: block; font-size: 12px; color: var(--ink-muted); }
.contact-list a { font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--mint); }
.contact-form { position: relative; background: rgba(255,255,255,.96); color: #0a1428; border-radius: 24px; padding: 34px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); display: flex; flex-direction: column; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; }
.contact-form :is(input, select, textarea) { font: 15px var(--sans); color: #0a1428; background: #f4f7fb; border: 1.5px solid #e3e9f2; border-radius: 12px; padding: 13px 15px; outline: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.contact-form :is(input, select, textarea):focus { border-color: #10b981; background: #fff; box-shadow: 0 0 0 4px rgba(16,185,129,.15); }
.contact-form textarea { resize: vertical; }
.form-note { font-size: 12.5px; color: #64748b; text-align: center; }

/* Footer */
.footer { position: relative; overflow: hidden; background: var(--ink); color: var(--ink-text); padding-top: 72px; }
.footer::before { content: ""; position: absolute; left: 50%; bottom: -260px; width: 900px; height: 500px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(16,185,129,.22), transparent); pointer-events: none; }
.foot-cta { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 40px 44px; border-radius: 26px; margin-bottom: 72px; background: linear-gradient(110deg, #059669, #0d9488 45%, #1d4ed8); box-shadow: 0 30px 60px -24px rgba(16,185,129,.5); }
.foot-cta::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.foot-cta h3 { position: relative; z-index: 1; font-size: clamp(24px, 3vw, 36px); color: #fff; }
.foot-cta .btn { position: relative; z-index: 1; flex-shrink: 0; }
.foot-grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 20px; }
.foot-brand p { margin-top: 16px; color: var(--ink-muted); font-size: 15px; max-width: 320px; }
.footer h5 { font-family: var(--sans); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 16px; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--ink-muted); font-size: 15px; overflow-wrap: anywhere; transition: color .2s; }
.footer ul a:hover { color: var(--mint); }
.footer address { font-style: normal; color: var(--ink-muted); font-size: 15px; line-height: 1.5; }
.wordmark { position: relative; font-family: var(--display); font-weight: 800; font-size: clamp(72px, 19vw, 260px); line-height: .8; letter-spacing: -.06em; text-align: center; margin: 30px 0 -0.08em; background: linear-gradient(180deg, rgba(110,231,183,.5), rgba(96,165,250,.12) 60%, transparent 95%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.foot-bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0 28px; border-top: 1px solid var(--ink-line); color: var(--ink-muted); font-size: 13.5px; }

/* Scroll reveal (only hides when JS is running) */
.js .reveal { opacity: 0; translate: 0 28px; filter: blur(6px); transition: opacity .8s ease, translate .8s var(--ease), filter .8s ease; }
.js .reveal.in { opacity: 1; translate: 0 0; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; translate: none; filter: none; transition: none; }
  .anim, .chart-bars span, .panel, .live-dot, .aurora span, .halo, .float, .marquee-track, .hero h1 .line > span, .hero h1 em, .xl-art *, .qa p { animation: none; }
  .chart-line path { animation: none; stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

/* ================= Responsive ================= */
@media (max-width: 1080px) {
  .nav-links a { padding: 8px 10px; font-size: 14px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-xl { grid-row: auto; min-height: 380px; }
  .f1 { left: -8px; } .f2 { right: -8px; }
}
@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .nav-cta { display: none; }
  .nav-links { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; gap: 2px; padding: 10px; border-radius: 22px; background: var(--bg); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; font-size: 16px; opacity: 1; }
  .hero-in, .head-row, .models, .why, .contact { grid-template-columns: 1fr; gap: 44px; }
  .hero-in { padding: 72px 0 64px; }
  .stage { max-width: 600px; }
  .why-side { position: static; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .timeline::before, .timeline::after { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 44px 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar-in > span { display: none; }
  .nav { top: 8px; margin-top: 8px; }
  .nav-in { padding: 0 8px 0 14px; height: 60px; }
  .nav { height: 60px; margin-bottom: -68px; }
  .section { padding: 84px 0; }
  .hero { padding-top: 68px; }
  .hero h1 { font-size: 46px; }
  .lead { font-size: 16.5px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .stage { padding: 30px 0 34px; }
  .dash { padding: 14px; }
  .dash-kpis { gap: 6px; }
  .kpi { padding: 8px; }
  .kpi b { font-size: 13.5px; }
  .kpi em { font-size: 10px; }
  .chart-wrap { height: 96px; }
  .chart-bars { gap: 4px; }
  .feed-row { font-size: 12px; }
  .float { font-size: 12px; padding: 8px 12px 8px 8px; }
  .float b { font-size: 12.5px; }
  .f-ico { width: 26px; height: 26px; }
  .f1 { top: 0; left: -4px; }
  .f2 { top: auto; bottom: 34%; right: -4px; }
  .f3 { bottom: 2px; left: 8%; }
  .marquee-track li { font-size: 21px; }
  .marquee-track { gap: 40px; padding-right: 40px; }
  .marquee-track li::before { margin-right: 40px; }
  .bento { grid-template-columns: 1fr; }
  .tile-wide, .tile-xl { grid-column: auto; }
  .tile-xl { padding: 26px; min-height: 0; }
  .xl-art { position: relative; top: 0; right: 0; margin: 4px auto 18px; width: 180px; height: 180px; }
  .xl-art .r2 { inset: 36px; }
  .xl-art .core { inset: 66px; }
  .o1, .o3 { left: 68px; } .o2, .o4 { top: 68px; }
  .tile-xl h3 { font-size: 26px; }
  .timeline { grid-template-columns: 1fr; }
  .tabpanels { padding: 28px; }
  .panel-num { font-size: 64px; }
  .panel h3 { font-size: 27px; }
  .checks { grid-template-columns: 1fr; }
  .why-stats { gap: 8px; }
  .why-stats div { padding: 14px 10px; }
  .why-stats b { font-size: 32px; }
  .why-list li { grid-template-columns: 40px 1fr; }
  .why-list h4 { font-size: 22px; }
  .compare { grid-template-columns: 1fr; }
  .compare-col { padding: 30px 26px; }
  .compare-col.featured::after { position: static; order: -1; }
  .compare h3 { font-size: 27px; }
  .contact-card { padding: 34px 18px; border-radius: 26px; }
  .row2 { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .foot-cta { flex-direction: column; align-items: flex-start; padding: 28px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
