:root {
  --blue: #1E88E5;
  --blue-600: #1572C6;
  --blue-300: #6FB3F2;
  --blue-50: #EAF3FC;
  --blue-100: #D4E7FA;
  --ink: #0B1220;
  --ink-2: #344054;
  --muted: #5B6676;
  --line: #E3E8EF;
  --bg: #FFFFFF;
  --bg-tint: #F5F8FC;
  --night: #070B14;
  --night-2: #0E1524;
  --night-line: rgba(255, 255, 255, .09);
  --on-night: #C5CEDA;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 18, 32, .06), 0 12px 32px -12px rgba(11, 18, 32, .18);
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --check-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E88E5' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html:not(.motion) { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink-2);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); }
h1, h2, h3 { text-wrap: balance; font-family: var(--font-head); color: var(--ink); margin: 0; letter-spacing: -0.025em; line-height: 1.08; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1 var(--font-body); padding: 15px 24px; border-radius: 999px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
  will-change: transform;
}
.btn:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 3px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px rgba(30, 136, 229, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover { background: var(--blue-600); }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .12); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .6); }
.btn-white:hover { background: var(--blue-50); }
.btn-sm { padding: 11px 18px; font-size: .9rem; }
.btn-lg { padding: 19px 30px; font-size: 1.05rem; }
.play-ico { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 14px 16px; pointer-events: none; }
.nav {
  pointer-events: auto; margin: 0 auto; max-width: 1180px; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 10px 0 22px; border-radius: 999px; border: 1px solid transparent;
  transition: max-width .5s var(--ease-out), background .35s, border-color .35s, box-shadow .35s;
}
.brand { position: relative; display: block; }
.brand img { height: 34px; width: auto; transition: opacity .3s; }
.brand .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(255, 255, 255, .78); text-decoration: none; font-weight: 500; font-size: .93rem; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.site-header.scrolled .nav {
  max-width: 940px; background: rgba(255, 255, 255, .82); border-color: rgba(11, 18, 32, .08);
  box-shadow: 0 12px 40px -16px rgba(11, 18, 32, .35);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.site-header.scrolled .logo-light { opacity: 0; }
.site-header.scrolled .logo-dark { opacity: 1; }
.site-header.scrolled .nav-links a { color: var(--ink-2); }
.site-header.scrolled .nav-links a:hover { color: var(--blue); }
.site-header.on-dark.scrolled .nav { background: rgba(14, 21, 36, .78); border-color: var(--night-line); }
.site-header.on-dark.scrolled .logo-light { opacity: 1; }
.site-header.on-dark.scrolled .logo-dark { opacity: 0; }
.site-header.on-dark.scrolled .nav-links a { color: rgba(255, 255, 255, .78); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font: 600 .78rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .12em;
  color: var(--blue-600); margin-bottom: 20px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(30, 136, 229, .25); animation: pulse 2.4s infinite; }
.eyebrow-light { color: var(--blue-300); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(30, 136, 229, .25); } 50% { box-shadow: 0 0 0 8px rgba(30, 136, 229, 0); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center; grid-template-columns: minmax(0, 1fr);
  padding: 140px 0 220px; overflow: hidden; isolation: isolate;
  background: var(--night); color: var(--on-night);
}
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(30, 136, 229, .38), transparent 70%),
    radial-gradient(40% 40% at 85% 75%, rgba(30, 136, 229, .16), transparent 70%),
    radial-gradient(35% 35% at 10% 80%, rgba(111, 179, 242, .1), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.fizz { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-inner { text-align: center; position: relative; }
.hero-title { color: #fff; font-size: clamp(2.7rem, 7.4vw, 6.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
.hero-title .line { display: block; }
.hero-title .hl { color: #3D9BEE; padding-bottom: .08em; }
.scribble { position: relative; display: inline-block; white-space: nowrap; }
.scribble svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.scribble path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 0; }
.hero-lede { margin: 28px auto 0; max-width: 40em; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--on-night); }

.prompt {
  margin: 40px auto 0; max-width: 620px; display: flex; align-items: center; gap: 14px;
  padding: 10px 10px 10px 18px; border-radius: 18px; text-align: left;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
}
.prompt img { width: 20px; height: auto; flex: none; }
.prompt-text { flex: 1; min-width: 0; font: 400 1rem/1.4 var(--font-mono); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; vertical-align: -.2em; background: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.prompt-send { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--blue); display: grid; place-items: center; transition: transform .2s; }
.prompt-send svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.prompt-send.sent { transform: scale(.86); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }
.hero-ctas { margin-top: 28px; }
.stack-line { margin-top: 30px; font-size: .88rem; color: rgba(197, 206, 218, .7); }
.stack-line strong { color: #fff; font-weight: 500; }
.stack-line i { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); vertical-align: middle; margin: 0 8px; }

/* Floating alerts */
.alerts { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.alert {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px; white-space: nowrap;
  font: 500 .82rem/1 var(--font-body); color: rgba(255, 255, 255, .78);
  background: rgba(14, 21, 36, .7); border: 1px solid var(--night-line);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .9); backdrop-filter: blur(6px);
  animation: bob 7s ease-in-out infinite;
}
.alert-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.alert-dot.warn { background: #F5B544; box-shadow: 0 0 10px #F5B544; }
.alert-dot.bad { background: #F0605D; box-shadow: 0 0 10px #F0605D; }
.a1 { top: 19%; left: 5%; transform: rotate(-4deg); }
.a2 { top: 30%; right: 4%; transform: rotate(3deg); animation-delay: -2s; }
.a3 { top: 60%; left: 3%; transform: rotate(2deg); animation-delay: -4s; }
.a4 { top: 70%; right: 6%; transform: rotate(-3deg); animation-delay: -1s; }
.a5 { top: 12%; right: 20%; transform: rotate(-2deg); animation-delay: -3s; }
.a6 { top: 82%; left: 16%; transform: rotate(4deg); animation-delay: -5s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ---------- Video ---------- */
.video-section { position: relative; margin-top: -170px; padding-bottom: 40px; z-index: 2; }
.video-section::before { content: ""; position: absolute; inset: 0 0 auto; height: 170px; background: var(--night); z-index: -1; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden;
  background: var(--night-2); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 50px 120px -40px rgba(7, 11, 20, .65), 0 0 0 8px rgba(255, 255, 255, .03);
  transform-origin: 50% 0%;
}
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-poster { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(60% 80% at 30% 20%, rgba(30, 136, 229, .55), transparent 70%), radial-gradient(50% 70% at 90% 100%, rgba(30, 136, 229, .3), transparent 70%), linear-gradient(135deg, #0B1630, #070B14);
}
.poster-grid { position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 48px 48px; }
.poster-copy { position: absolute; left: 5%; bottom: 9%; }
.poster-kicker { font: 500 .8rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--blue-300); margin-bottom: 14px; }
.poster-title { font: 800 clamp(1.8rem, 5vw, 4.4rem)/.98 var(--font-head); letter-spacing: -.04em; color: #fff; }
.poster-title span { color: var(--blue); }
.poster-pill { position: absolute; right: 7%; top: 12%; width: clamp(70px, 12vw, 160px); height: auto; transform: rotate(18deg); filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }
.play {
  position: relative; width: clamp(72px, 9vw, 112px); aspect-ratio: 1; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 20px 50px -10px rgba(30, 136, 229, .8); transition: transform .3s var(--ease-out);
}
.play:hover { transform: scale(1.08); }
.play:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 4px; }
.play svg { width: 34%; fill: currentColor; margin-left: 8%; }
.play-ring { position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); animation: ring 2.4s var(--ease-out) infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.poster-soon { position: absolute; left: 50%; top: calc(50% + clamp(56px, 7vw, 84px)); translate: -50% 0; font: 500 .8rem/1 var(--font-mono); color: rgba(255,255,255,.75); background: rgba(0,0,0,.35); padding: 8px 12px; border-radius: 999px; opacity: 0; transition: opacity .3s; }
.video-frame.no-src .poster-soon.show { opacity: 1; }

/* ---------- Manifesto ---------- */
.manifesto { padding: 140px 0 120px; }
.manifesto-text { font: 600 clamp(1.7rem, 3.9vw, 3.1rem)/1.22 var(--font-head); letter-spacing: -.03em; color: var(--ink); max-width: 22em; }
.manifesto-text .word { display: inline-block; }

/* ---------- Ticker ---------- */
.ticker { padding: 8px 0 40px; overflow: hidden; display: grid; gap: 14px; }
.ticker-row { display: flex; width: max-content; }
.ticker-track { display: flex; gap: 14px; padding-right: 14px; }
.ticker-track span {
  position: relative; white-space: nowrap; padding: 14px 24px; border-radius: 999px;
  font: 600 clamp(1rem, 1.7vw, 1.3rem)/1 var(--font-head); color: var(--muted);
  background: var(--bg-tint); border: 1px solid var(--line);
}
.ticker-track span::after { content: ""; position: absolute; left: 16px; right: 16px; top: 50%; height: 2px; background: #F0605D; transform: rotate(-3deg); opacity: .8; }
.ticker-row.alt .ticker-track span { background: #fff; color: var(--ink-2); }
.ticker-row.alt .ticker-track span::after { background: var(--blue); }
html:not(.motion) .ticker-row { animation: marquee 40s linear infinite; }
html:not(.motion) .ticker-row.alt { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-tint { background: var(--bg-tint); }
.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head p:not(.eyebrow) { margin-top: 18px; font-size: 1.12rem; color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: border-color .3s, box-shadow .3s, transform .4s var(--ease-out); }
.card:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-4px); }
.card h3 { margin: 20px 0 8px; }
.card p { font-size: .97rem; color: var(--muted); }
.icon { width: 46px; height: 46px; border-radius: 13px; background: var(--blue-50); display: grid; place-items: center; transition: background .3s, transform .4s var(--ease-out); }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.card:hover .icon { background: var(--blue); transform: rotate(-8deg) scale(1.06); }
.card:hover .icon svg { stroke: #fff; }

/* ---------- Cost calculator ---------- */
.section-dark { background: var(--night); color: var(--on-night); }
.section-dark h2 { color: #fff; }
.cost { overflow: hidden; }
.cost::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 85% 50%, rgba(30, 136, 229, .22), transparent 70%); }
.cost-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; position: relative; }
.cost-copy > p:not(.eyebrow) { margin-top: 18px; font-size: 1.1rem; }
.sliders { margin-top: 40px; display: grid; gap: 30px; }
.slider { display: grid; gap: 14px; }
.slider-top { display: flex; justify-content: space-between; gap: 16px; font-weight: 500; color: #fff; }
.slider output { font: 500 .95rem/1.6 var(--font-mono); color: var(--blue-300); white-space: nowrap; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--blue) var(--p, 20%), rgba(255,255,255,.12) var(--p, 20%)); outline: none; cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 5px solid var(--blue); box-shadow: 0 4px 14px rgba(30, 136, 229, .6); transition: transform .2s; }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--blue); box-shadow: 0 4px 14px rgba(30, 136, 229, .6); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.2); }
input[type=range]:focus-visible { box-shadow: 0 0 0 4px rgba(111, 179, 242, .4); }

.board { padding: 40px; border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--night-line); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.board-label { font: 500 .8rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--blue-300); }
.flap { margin: 22px 0 30px; }
.flap-digits { display: flex; gap: 6px; flex-wrap: nowrap; }
.flap-cell {
  position: relative; width: clamp(38px, 5.4vw, 68px); height: clamp(58px, 8vw, 100px); border-radius: 10px; overflow: hidden;
  background: linear-gradient(180deg, #1A2335 0 50%, #141C2C 50% 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 20px -10px rgba(0,0,0,.9);
  font: 700 clamp(2rem, 4.6vw, 3.8rem)/1 var(--font-mono); color: #fff;
}
.flap-cell::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(0,0,0,.55); z-index: 2; }
.flap-cell.sym { background: none; box-shadow: none; width: auto; min-width: .5em; color: var(--blue-300); }
.flap-cell.sym::after { display: none; }
.flap-strip { position: absolute; left: 0; right: 0; top: 0; transition: transform .9s cubic-bezier(.2, .9, .25, 1.05); }
.flap-strip span { display: grid; place-items: center; height: clamp(58px, 8vw, 100px); }
.flap-cell.sym span { display: grid; place-items: center; height: clamp(58px, 8vw, 100px); }
.board-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; border-top: 1px solid var(--night-line); }
.board-k { font-size: .85rem; color: rgba(197, 206, 218, .7); margin-bottom: 6px; }
.board-v { font: 600 1.15rem/1.3 var(--font-head); color: #fff; }
.board-cta { margin-top: 30px; width: 100%; }

/* ---------- Stacking steps ---------- */
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.stack-card {
  position: sticky; top: calc(110px + var(--i, 0) * 22px);
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 8px 48px;
  padding: 48px 52px; border-radius: 30px; min-height: 340px; align-content: center;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 -10px 40px -24px rgba(11, 18, 32, .25), 0 30px 60px -40px rgba(11, 18, 32, .35);
  transform-origin: 50% 0%;
}
.stack-card:nth-child(1) { --i: 0; }
.stack-card:nth-child(2) { --i: 1; background: var(--blue-50); border-color: var(--blue-100); }
.stack-card:nth-child(3) { --i: 2; background: var(--blue); border-color: var(--blue); }
.stack-card:nth-child(4) { --i: 3; background: var(--night); border-color: var(--night); }
.stack-num { grid-row: span 2; font: 800 clamp(4rem, 10vw, 9rem)/.8 var(--font-head); letter-spacing: -.06em; color: var(--blue); }
.stack-body h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: 14px; }
.stack-body p { font-size: 1.12rem; max-width: 34em; color: var(--ink-2); }
.stack-tags { grid-column: 2; list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stack-tags li { font: 500 .8rem/1 var(--font-mono); padding: 9px 12px; border-radius: 999px; background: var(--bg-tint); color: var(--ink-2); border: 1px solid var(--line); }
.stack-card:nth-child(2) .stack-tags li { background: #fff; border-color: var(--blue-100); }
.stack-card:nth-child(3) .stack-num { color: #fff; }
.stack-card:nth-child(3) h3, .stack-card:nth-child(3) p { color: #fff; }
.stack-card:nth-child(3) .stack-tags li { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.25); }
.stack-card:nth-child(4) h3 { color: #fff; }
.stack-card:nth-child(4) p { color: var(--on-night); }
.stack-card:nth-child(4) .stack-tags li { background: rgba(255,255,255,.06); color: var(--on-night); border-color: var(--night-line); }

/* ---------- Agentic ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-copy > p:not(.eyebrow) { margin-top: 20px; font-size: 1.08rem; }
.hl-blue { color: var(--blue); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 13px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checks li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--blue-50) var(--check-blue) center/13px no-repeat; margin-top: 1px; }

.chat { background: var(--night); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(11, 18, 32, .6); border: 1px solid rgba(11,18,32,.6); }
.chat-bar { display: flex; align-items: center; gap: 7px; padding: 15px 18px; border-bottom: 1px solid var(--night-line); }
.chat-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.chat-bar p { margin-left: 10px; font: 400 .8rem/1 var(--font-mono); color: rgba(255, 255, 255, .5); }
.chat-body { padding: 26px; display: grid; gap: 14px; min-height: 420px; align-content: start; }
.msg { max-width: 88%; padding: 13px 16px; border-radius: 16px; font-size: .94rem; line-height: 1.5; }
.msg p + p { margin-top: 9px; }
.msg.you { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.msg.ai { background: rgba(255, 255, 255, .07); color: #E6EBF2; border-bottom-left-radius: 4px; }
.chip { display: inline-block; font: 500 .76rem/1 var(--font-mono); color: #8CC4F5; background: rgba(30, 136, 229, .16); padding: 6px 9px; border-radius: 6px; }
.typing { display: none; gap: 5px; padding: 14px 16px; width: max-content; border-radius: 16px; border-bottom-left-radius: 4px; background: rgba(255,255,255,.07); }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.6); animation: dots 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }

/* ---------- Compare ---------- */
.compare { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.compare-row { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 24px; padding: 22px 32px; border-top: 1px solid var(--line); align-items: center; transition: background .25s; }
.compare-row:not(.compare-headrow):hover { background: var(--bg-tint); }
.compare-row > :first-child { font-weight: 600; color: var(--ink); }
.compare-row > :nth-child(2) { color: var(--muted); }
.compare-row s { text-decoration: none; background: linear-gradient(#F0605D, #F0605D) 0 55% / 100% 2px no-repeat; transition: background-size .8s var(--ease-out); }
.motion .compare-row s { background-size: 0% 2px; }
.motion .compare-row.is-in s { background-size: 100% 2px; }
.compare-row > :nth-child(3) { color: var(--ink); font-weight: 600; display: flex; gap: 10px; align-items: center; }
.compare-row:not(.compare-headrow) > :nth-child(3)::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--blue-50) var(--check-blue) center/13px no-repeat; }
.compare-headrow { border-top: 0; background: var(--bg-tint); font: 600 .76rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .1em; }
.compare-headrow > * { color: var(--muted) !important; font-weight: 600 !important; }
.compare-headrow > :nth-child(3) { color: var(--blue-600) !important; }

/* ---------- Hosting ---------- */
.host-card { position: relative; border: 1px solid var(--line); border-radius: 26px; padding: 40px; background: #fff; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease-out), box-shadow .3s; }
.host-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.spotlight::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(30, 136, 229, .14), transparent 60%); }
.spotlight:hover::before { opacity: 1; }
.host-tag { display: inline-block; font: 600 .74rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--blue-600); background: var(--blue-50); padding: 8px 12px; border-radius: 999px; }
.host-card h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 700; margin: 20px 0 12px; }
.host-card > p:not(.host-tag):not(.host-price) { color: var(--muted); }

/* ---------- Who ---------- */
.who { align-items: start; }
.who-list { list-style: none; padding: 0; margin: 0; }
.who-list li { display: flex; gap: 20px; align-items: flex-start; padding: 26px 0; border-top: 1px solid var(--line); font-size: 1.08rem; }
.who-list li:last-child { border-bottom: 1px solid var(--line); }
.who-list strong { color: var(--ink); font-weight: 600; }
.who-n { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font: 700 .9rem/1 var(--font-mono); color: var(--blue); background: var(--blue-50); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--blue-100); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 64px 24px 28px; position: relative; font: 600 1.1rem/1.4 var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--blue-50) linear-gradient(var(--blue), var(--blue)) center / 11px 2px no-repeat;
  transition: background-color .25s;
}
.faq summary::before { content: ""; position: absolute; right: 24px; top: 50%; width: 28px; height: 28px; margin-top: -14px; z-index: 1; background: linear-gradient(var(--blue), var(--blue)) center / 2px 11px no-repeat; transition: transform .35s var(--ease-out); }
.faq details[open] summary::before { transform: rotate(90deg); }
.faq summary:hover { color: var(--blue-600); }
.faq summary:focus-visible { outline: 3px solid var(--blue-100); outline-offset: 2px; border-radius: 18px; }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 64px 26px 28px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-section { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: var(--on-night); padding: 160px 0; text-align: center; }
.cta-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 100%, rgba(30, 136, 229, .5), transparent 70%); }
.cta-inner { position: relative; }
.cta-pill { margin: 0 auto 30px; width: 84px; height: auto; transform: rotate(18deg); filter: drop-shadow(0 20px 30px rgba(30, 136, 229, .5)); }
.cta-title { color: #fff; font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 800; letter-spacing: -.045em; }
.cta-inner > p { max-width: 36em; margin: 22px auto 38px; font-size: 1.15rem; }
.cta-note { margin-top: 22px; font-size: .93rem; }
.cta-note a { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #8A96A8; padding: 0 0 32px; font-size: .93rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 56px 24px 36px; border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); }
.footer-grid img { height: 32px; width: auto; margin-bottom: 14px; }
.footer-grid nav { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.footer-grid nav a { color: var(--on-night); text-decoration: none; }
.footer-grid nav a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .85rem; }

/* ---------- Initial states for motion (only when JS animations will run) ---------- */
.motion .hero-title, .motion .hero-eyebrow, .motion .hero-lede, .motion .prompt, .motion .hero-ctas, .motion .stack-line { visibility: hidden; }
.motion .scribble path { stroke-dashoffset: 400; }
.motion .chat-body .msg { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .alert.a5, .alert.a6 { display: none; }
  .cost-grid, .split { grid-template-columns: 1fr; gap: 56px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .alerts { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap, .wrap-wide { padding: 0 16px; }
  .site-header { padding: 10px 12px; }
  .nav { height: 56px; padding: 0 8px 0 16px; }
  .brand img { height: 28px; }
  .hero { padding: 120px 0 150px; min-height: auto; }
  .prompt { margin-top: 32px; padding-left: 14px; }
  .prompt-text { font-size: .85rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .stack-line i { display: none; }
  .stack-line strong { display: inline; }
  .video-section { margin-top: -110px; }
  .video-section::before { height: 110px; }
  .video-frame { border-radius: 18px; }
  .poster-copy { left: 6%; bottom: 9%; }
  .poster-kicker { display: none; }
  .poster-title { font-size: 1.5rem; }
  .poster-pill { display: none; }
  .play { position: absolute; right: 6%; bottom: 9%; width: 56px; }
  .play-ring { inset: -8px; }
  .poster-soon { top: 8%; left: 6%; translate: none; }
  .manifesto { padding: 96px 0 72px; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 40px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .board { padding: 26px 20px; border-radius: 22px; }
  .flap-digits { gap: 4px; }
  .board-split { grid-template-columns: 1fr; }
  .stack-card { grid-template-columns: 1fr; padding: 32px 26px; min-height: 0; top: calc(84px + var(--i, 0) * 14px); border-radius: 24px; }
  .stack-num { grid-row: auto; font-size: 3.6rem; margin-bottom: 10px; }
  .stack-tags { grid-column: 1; }
  .chat-body { padding: 18px; min-height: 0; }
  .compare-headrow { display: none; }
  .compare-row { grid-template-columns: 1fr; gap: 8px; padding: 20px; }
  .compare-row > :nth-child(2)::before { content: "WordPress: "; font-weight: 600; }
  .host-card { padding: 30px 22px; }
  .faq summary { padding: 20px 56px 20px 20px; font-size: 1rem; }
  .faq summary::after, .faq summary::before { right: 16px; }
  .faq-a p { padding: 0 20px 22px; }
  .cta-section { padding: 110px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .stack-card { position: relative; top: 0; }
}
.host-price { margin: -2px 0 14px; font: 700 2rem/1 var(--font-head); letter-spacing: -.03em; color: var(--ink); }
.host-price span { font: 500 .85rem/1 var(--font-body); letter-spacing: 0; color: var(--muted); margin-right: 4px; }
.host-price small { font: 500 .95rem/1 var(--font-body); letter-spacing: 0; color: var(--muted); }

/* Agentic flow strip */
.flow { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: f; }
.flow-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 26px 28px; }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -17px; z-index: 1; width: 14px; height: 14px; margin-top: -7px;
  border-top: 2.5px solid var(--blue); border-right: 2.5px solid var(--blue); transform: rotate(45deg);
}
.flow-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.flow-ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow-k { font: 600 1.08rem/1.3 var(--font-head); color: var(--ink); margin-bottom: 6px; }
.flow-step p:not(.flow-k) { color: var(--muted); font-size: .96rem; }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; margin-top: 48px; gap: 26px; }
  .flow-step:not(:last-child)::after { top: auto; bottom: -21px; right: 50%; margin: 0 -7px 0 0; transform: rotate(135deg); }
}

/* Who we are */
.about { overflow: hidden; }
.about::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 60% at 15% 50%, rgba(30, 136, 229, .22), transparent 70%); }
.about-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.about-card { padding: 40px; border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--night-line); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.about-avatar { position: relative; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #3D9BEE, var(--blue-600)); box-shadow: 0 0 0 6px rgba(30, 136, 229, .18); margin-bottom: 24px; }
.about-avatar span { font: 700 2.2rem/1 var(--font-head); color: #fff; letter-spacing: -.04em; }
.about-avatar img { position: absolute; right: -10px; bottom: -6px; width: 34px; height: auto; transform: rotate(18deg); filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.about-name { font: 700 1.6rem/1.2 var(--font-head); color: #fff; letter-spacing: -.02em; }
.about-role { margin-top: 6px; color: var(--blue-300); font: 500 .9rem/1.4 var(--font-mono); }
.about-stat { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--night-line); }
.about-k { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(197, 206, 218, .65); margin-bottom: 14px; }
.about-cos { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.about-cos li { font: 600 1.25rem/1.2 var(--font-head); color: #fff; letter-spacing: -.01em; display: flex; align-items: center; gap: 12px; }
.about-cos li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.about-copy h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.about-copy > p:not(.eyebrow) { margin-top: 22px; font-size: 1.15rem; max-width: 34em; }
@media (max-width: 1080px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } .about-card { order: 2; max-width: 460px; } }
@media (max-width: 760px) { .about-card { padding: 28px 22px; } }
