/* Self-hosted fonts (latin subset, variable weight) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/inter-0.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-1.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ScaleGiant AI: electric blue, midnight black, cantaloupe orange */
:root {
  --midnight: #05070d;
  --midnight-2: #0a0e19;
  --panel: rgba(13, 19, 34, 0.74);
  --panel-solid: #0d1322;
  --line: rgba(120, 150, 220, 0.16);
  --line-strong: rgba(120, 160, 255, 0.34);
  --blue: #2d6bff;
  --blue-bright: #5b8cff;
  --blue-glow: rgba(45, 107, 255, 0.45);
  --orange: #ffa36b;
  --orange-deep: #ff8a47;
  --text: #eef2fa;
  --muted: #9ba6bd;
  --ok: #3ddc97;
  --radius: 14px;
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--midnight);
  color: var(--text);
  font: 400 17px/1.65 var(--font-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--blue-bright); }
a:hover { color: var(--orange); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #1b0d03; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
.blue { color: var(--blue-bright); }
.orange { color: var(--orange); }

/* Live matrix background */
#matrix, .matrix-fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.sg-drag, .sg-drag * { -webkit-user-select: none; user-select: none; }
.veil {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 75% 10%, rgba(45, 107, 255, 0.14), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(255, 163, 107, 0.07), transparent 60%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.25) 0%, rgba(5, 7, 13, 0.55) 60%, rgba(5, 7, 13, 0.7) 100%);
}
header, main, footer { position: relative; z-index: 1; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 600 20px/1 var(--font-head); letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.mark { width: 28px; height: 28px; filter: drop-shadow(0 0 10px rgba(45, 107, 255, 0.55)); }
.wordmark { display: block; height: 32px; width: auto; }
.nav nav { display: flex; align-items: center; gap: 26px; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav nav a:hover { color: var(--text); }
.nav nav a.btn { color: #fff; }
.menu { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 10px; width: 42px; height: 38px; padding: 0; cursor: pointer; }
.menu span { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; transition: transform .25s; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  padding: 14px 22px; border-radius: 12px; border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  transform: translateZ(0);
}
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 17px 26px; font-size: 17px; }
.btn-blue { background: linear-gradient(180deg, var(--blue), #1d4fd8); color: #fff; box-shadow: 0 10px 30px -8px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 0 #1a46b8; }
.btn-blue:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px -8px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 0 #1a46b8; }
.btn-blue:active { transform: translateY(2px); box-shadow: 0 6px 18px -8px var(--blue-glow), 0 1px 0 #1a46b8; }
.btn-orange { background: linear-gradient(180deg, #ffb685, var(--orange-deep)); color: #2a1204; box-shadow: 0 10px 30px -8px rgba(255, 138, 71, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 4px 0 #c45f22; }
.btn-orange:hover { color: #2a1204; transform: translateY(-2px); }
.btn-orange:active { transform: translateY(2px); box-shadow: 0 1px 0 #c45f22; }
.btn-ghost { color: var(--text); border-color: var(--line-strong); background: rgba(13, 19, 34, 0.5); }
.btn-ghost:hover { color: var(--text); border-color: var(--orange); }
.btn-ghost .arrow { color: var(--orange); transition: transform .2s; }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  max-width: 1240px; margin: 0 auto; padding: clamp(56px, 9vw, 120px) clamp(16px, 4vw, 48px) clamp(48px, 7vw, 96px);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px; border-radius: 999px; font-size: 14px; color: var(--orange); background: rgba(255, 163, 107, 0.08); border: 1px solid rgba(255, 163, 107, 0.28); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.025em; margin: 0; }
h1 { font-size: clamp(46px, 7.4vw, 92px); line-height: 0.98; font-weight: 700; }
.h-3d {
  color: #f4f7ff;
  text-shadow:
    0 1px 0 #9fb8ff, 0 2px 0 #7d9dff, 0 3px 0 #5b83ff, 0 4px 0 #3f6dff, 0 5px 0 #2d5ae6, 0 6px 0 #2148bf,
    0 18px 30px rgba(45, 107, 255, 0.45), 0 30px 60px rgba(0, 0, 0, 0.6);
}
.lede { font-size: clamp(18px, 2vw, 21px); color: #c9d3e8; margin: 26px 0 18px; max-width: 34em; }
.ticks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; color: #dbe3f3; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 6px; background: rgba(45, 107, 255, 0.18); border: 1px solid var(--line-strong); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 10px; width: 6px; height: 10px; border: solid var(--orange); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ticks b { color: var(--orange); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.micro { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

/* Hero 3D stage */
.hero-stage { position: relative; perspective: 1400px; min-height: 520px; padding: 56px 0; margin: 0; display: grid; place-items: center; overflow: clip; overflow-clip-margin: 24px; }
.hero-stage figcaption { position: absolute; bottom: -4px; right: 0; font-size: 12.5px; color: var(--muted); background: rgba(5, 7, 13, 0.85); padding: 2px 8px; border-radius: 6px; }
.hero-copy { position: relative; }
.hero-copy::before {
  content: ""; position: absolute; inset: -40px -60px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(5, 7, 13, 0.82), rgba(5, 7, 13, 0.55) 60%, transparent);
}
.orbit {
  position: absolute; width: min(520px, 100%); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(45, 107, 255, 0.5) 85%, rgba(255, 163, 107, 0.6) 92%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: spin 14s linear infinite; opacity: 0.8;
}
.orbit::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(45, 107, 255, 0.28), transparent 70%); filter: blur(20px); }
@keyframes spin { to { transform: rotate(360deg); } }
.console {
  position: relative; width: min(470px, 100%);
  background: linear-gradient(160deg, rgba(20, 30, 54, 0.92), rgba(9, 13, 24, 0.94));
  border: 1px solid var(--line-strong); border-radius: 20px; padding: 18px;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.03) inset, 0 0 80px -20px var(--blue-glow);
  transform-style: preserve-3d; transform: rotateX(8deg) rotateY(-14deg);
  animation: float 7s ease-in-out infinite;
  transition: transform .25s ease-out;
}
@keyframes float { 50% { translate: 0 -12px; } }
.console > * { transform: translateZ(30px); }
.console-top { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.lights { display: inline-flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: #ff6b6b; }
.lights i:nth-child(2) { background: var(--orange); }
.lights i:nth-child(3) { background: var(--ok); }
.tag { margin-left: auto; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange); border: 1px solid rgba(255, 163, 107, 0.35); padding: 2px 8px; border-radius: 999px; }
.feed { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; min-height: 216px; }
.ev {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  font-size: 14px; animation: slide-in .5s ease-out both;
}
.ev small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; margin-top: 2px; }
.ev em { font-style: normal; font-size: 12px; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.ev .ok { color: var(--ok); background: rgba(61, 220, 151, 0.1); border: 1px solid rgba(61, 220, 151, 0.3); }
.ev .wait { color: var(--orange); background: rgba(255, 163, 107, 0.1); border: 1px solid rgba(255, 163, 107, 0.3); }
@keyframes slide-in { from { opacity: 0; transform: translateY(-10px) scale(0.98); } }
.ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(45, 107, 255, 0.16); border: 1px solid var(--line-strong); }
.ic::before { content: ""; width: 16px; height: 16px; background: var(--blue-bright); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.ic-call { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.ic-form { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm2 4v2h10V7zm0 4v2h10v-2zm0 4v2h6v-2z'/%3E%3C/svg%3E"); }
.ic-mail { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm9 7.2L4 7.3V17h16V7.3z'/%3E%3C/svg%3E"); }
.ic-quote { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zm1 5h-2v6l5 3 1-1.7-4-2.4z'/%3E%3C/svg%3E"); }
.ic-quote::before, .ic-mail::before { background: var(--orange); }
.console-foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.console-foot small { display: block; color: var(--muted); font-size: 12px; line-height: 1.3; }
.console-foot strong { font: 700 24px/1.2 var(--font-head); }
.chip {
  position: absolute; padding: 9px 14px; border-radius: 12px; font-size: 13px; font-weight: 600;
  background: var(--panel-solid); border: 1px solid var(--line-strong);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.8); transition: transform .3s ease-out;
}
.chip-a { top: 4px; right: 6%; color: var(--ok); animation: float 6s ease-in-out infinite -2s; }
.chip-b { bottom: 4px; left: 4%; color: var(--orange); animation: float 8s ease-in-out infinite -4s; }

/* Leak ticker */
.leaks { overflow: hidden; border-block: 1px solid var(--line); background: rgba(10, 14, 25, 0.7); padding: 16px 0; mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 48px; width: max-content; animation: ticker 36s linear infinite; }
.leaks:hover .track, .leaks:focus-within .track { animation-play-state: paused; }
.track span { font: 600 18px/1 var(--font-head); color: #c3cde2; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.track span::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { max-width: 1240px; margin: 0 auto; padding: clamp(64px, 9vw, 112px) clamp(16px, 4vw, 48px) 0; }
.head { max-width: 720px; margin-bottom: 44px; }
.kicker { margin: 0 0 12px; font: 600 14px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; font-weight: 700; }
.head p:not(.kicker) { color: var(--muted); font-size: 18px; margin: 16px 0 0; }
.note { color: var(--muted); font-size: 15px; margin: 28px 0 0; }

/* 3D tilt surfaces */
[data-tilt] { transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .25s, border-color .25s, scale .45s cubic-bezier(.34, 1.56, .64, 1); will-change: transform; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; perspective: 1200px; }
.step { position: relative; padding: 30px 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.step:hover { border-color: var(--line-strong); box-shadow: 0 30px 60px -30px var(--blue-glow); }
.step .num { display: block; font: 700 54px/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px var(--blue-bright); margin-bottom: 18px; transform: translateZ(40px); }
.step h3 { font-size: 26px; margin-bottom: 10px; transform: translateZ(30px); }
.step p { color: #c3cde2; margin: 0 0 14px; }
.price-line { font-size: 14.5px; color: var(--muted) !important; border-top: 1px solid var(--line); padding-top: 14px; margin: 0 !important; }
.price-line b { color: var(--text); }
.fp { color: var(--orange); white-space: nowrap; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; perspective: 1400px; }
.card {
  position: relative; overflow: hidden; padding: 30px 30px 26px; border-radius: 18px;
  background: linear-gradient(165deg, rgba(22, 32, 58, 0.88), rgba(9, 13, 24, 0.92));
  border: 1px solid var(--line);
}
.card:hover { border-color: var(--line-strong); box-shadow: 0 40px 80px -30px rgba(45, 107, 255, 0.5); }
.card-glow { position: absolute; inset: -1px; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(45, 107, 255, 0.22), transparent 45%); }
.card:hover .card-glow { opacity: 1; }
.card > *:not(.card-glow) { position: relative; transform: translateZ(26px); }
.card h3 { font-size: 27px; margin: 16px 0 4px; }
.for { margin: 0 0 16px; color: var(--orange); font-size: 15px; }
.card ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 9px; }
.card li { position: relative; padding-left: 22px; color: #c9d3e8; font-size: 15.5px; line-height: 1.5; }
.card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 2px; background: var(--blue-bright); transform: rotate(45deg); }
.badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; padding: 5px 11px; border-radius: 999px; }
.badge-live { color: var(--ok); background: rgba(61, 220, 151, 0.1); border: 1px solid rgba(61, 220, 151, 0.3); }
.badge-soon { color: var(--orange); background: rgba(255, 163, 107, 0.1); border: 1px solid rgba(255, 163, 107, 0.3); }
.price { margin: 0; font: 700 34px/1.1 var(--font-head); padding-top: 18px; border-top: 1px solid var(--line); }
.price small { display: block; font: 500 13px/1.4 var(--font-body); color: var(--muted); }
.price span { font-size: 18px; color: var(--muted); font-weight: 500; }
.founding { margin: 6px 0 0; font-size: 14.5px; color: var(--orange); }
.card-trade { background: linear-gradient(165deg, rgba(46, 30, 22, 0.75), rgba(9, 13, 24, 0.94)); }

/* Proof */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; perspective: 1200px; }
.stat { padding: 30px 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.stat strong { display: block; font: 700 clamp(44px, 5vw, 60px)/1 var(--font-head); color: var(--blue-bright); text-shadow: 0 0 30px rgba(45, 107, 255, 0.45); transform: translateZ(40px); margin-bottom: 14px; }
.stat p { margin: 0; color: #c3cde2; font-size: 15.5px; }

/* Promise */
.promise {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: 24px;
  background: linear-gradient(140deg, rgba(45, 107, 255, 0.16), rgba(10, 14, 25, 0.9) 45%, rgba(255, 163, 107, 0.1));
  border: 1px solid var(--line-strong);
}
.promise-copy p:not(.kicker) { color: #c9d3e8; margin: 18px 0 0; }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.promise-list li { padding: 14px 18px; border-radius: 12px; background: rgba(5, 7, 13, 0.6); border: 1px solid var(--line); color: #c3cde2; font-size: 15.5px; transform: translateZ(20px); }
.promise-list b { display: block; color: var(--text); font-size: 16.5px; margin-bottom: 2px; }

/* Who */
.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tags span { padding: 11px 18px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: #dbe3f3; font-size: 15.5px; transition: transform .2s, border-color .2s; }
.tags span:hover { transform: translateY(-3px); border-color: var(--orange); }

/* Founder */
.founder-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(26px, 4vw, 44px); border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.photo { width: 220px; aspect-ratio: 1; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(145deg, #1c2c55, #0b1020); border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -25px var(--blue-glow); transform: translateZ(30px); }
.photo-mark { width: 46%; height: auto; filter: drop-shadow(0 0 18px rgba(45, 107, 255, 0.6)); animation: float 6s ease-in-out infinite; }
.founder-card p:not(.kicker) { color: #c9d3e8; margin: 14px 0 0; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
details { border-radius: 14px; background: var(--panel); border: 1px solid var(--line); padding: 0 22px; transition: border-color .2s; }
details[open] { border-color: var(--line-strong); }
summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; position: relative; font-weight: 600; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; font: 500 26px/1 var(--font-head); color: var(--orange); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: #c3cde2; }

/* Final CTA + form */
.final { padding-bottom: clamp(64px, 9vw, 112px); }
.final-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: clamp(26px, 5vw, 56px); border-radius: 26px; background: linear-gradient(150deg, rgba(20, 30, 54, 0.92), rgba(5, 7, 13, 0.95)); border: 1px solid var(--line-strong); box-shadow: 0 0 120px -40px var(--blue-glow); }
.final-copy p:not(.kicker) { color: #c9d3e8; margin: 18px 0 26px; }
.form { display: grid; gap: 12px; padding: 24px; border-radius: 18px; background: rgba(5, 7, 13, 0.65); border: 1px solid var(--line); }
.form-title { margin: 0 0 4px; font: 600 19px/1.2 var(--font-head); }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.form small { color: var(--muted); }
.form input, .form textarea {
  font: 400 16px/1.4 var(--font-body); color: var(--text); background: rgba(13, 19, 34, 0.9);
  border: 1px solid #6b7fa8; border-radius: 10px; padding: 11px 13px; width: 100%;
}
.form [aria-invalid="true"] { border-color: #ff8f8f; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(45, 107, 255, 0.25); }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; }
.form .consent span { flex: 1; }
.form .consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-size: 14px; min-height: 1.4em; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: #ff8f8f; }
.form input:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
/* Result of a form sent without JavaScript: the server redirects to /#sent or /#not-sent. */
.hash-note { display: none; grid-column: 1 / -1; margin: 0; font-size: 15px; }
.hash-note:target { display: block; }
.hash-note.ok { color: var(--ok); }
.hash-note.err { color: #ff8f8f; }

/* Footer */
.foot { border-top: 1px solid var(--line); background: rgba(5, 7, 13, 0.92); padding: 32px clamp(16px, 4vw, 48px); }
.foot-row { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); }
.foot-row p { margin: 0; }
.foot-row.small { font-size: 13.5px; margin-top: 18px; }

/* Scroll reveal (only when JS runs, so the page never stays hidden) */
.js .reveal { opacity: 0; transform: translateY(28px) rotateX(8deg); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js [data-tilt].reveal.in { transition: opacity .8s ease, transform .25s ease-out, box-shadow .25s, border-color .25s, scale .45s cubic-bezier(.34, 1.56, .64, 1); }

/* Hover wobble, click jelly, click rings */
.fx { --a: 0.025; transition: transform .25s ease-out, box-shadow .25s, border-color .25s, background .2s, color .2s, scale .45s cubic-bezier(.34, 1.56, .64, 1); }
.btn.fx, .tags span.fx, summary.fx, .eyebrow.fx, .brand.fx, .ev.fx, .promise-list li.fx { --a: 0.06; }
.form input.fx, .form textarea.fx { --a: 0.012; }
.fx:hover { scale: calc(1 + var(--a) * 0.5); }
.fx-wobble { animation: fx-wobble .7s cubic-bezier(.3, .7, .4, 1) both; }
.fx-jelly { animation: fx-jelly .55s cubic-bezier(.3, .7, .4, 1) both; }
@keyframes fx-wobble {
  0% { scale: 1; }
  22% { scale: calc(1 + var(--a) * 1.2) calc(1 - var(--a) * 0.6); }
  42% { scale: calc(1 - var(--a) * 0.4) calc(1 + var(--a) * 0.7); }
  62% { scale: calc(1 + var(--a) * 0.7) calc(1 - var(--a) * 0.2); }
  80% { scale: calc(1 + var(--a) * 0.4) calc(1 + var(--a) * 0.55); }
  100% { scale: calc(1 + var(--a) * 0.5); }
}
@keyframes fx-jelly {
  0% { scale: calc(1 + var(--a) * 0.5); }
  25% { scale: calc(1 + var(--a) * 1.6) calc(1 - var(--a) * 1.6); }
  50% { scale: calc(1 - var(--a) * 0.9) calc(1 + var(--a) * 1.1); }
  75% { scale: calc(1 + var(--a) * 0.6) calc(1 - var(--a) * 0.3); }
  100% { scale: calc(1 + var(--a) * 0.5); }
}
.chip:hover { scale: 1.08; transition: scale .45s cubic-bezier(.34, 1.56, .64, 1), transform .3s ease-out; }
.click-ring {
  position: fixed; z-index: 60; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  border: 2px solid var(--orange); box-shadow: 0 0 0 2px rgba(45, 107, 255, 0.5), 0 0 18px rgba(45, 107, 255, 0.6);
  pointer-events: none; animation: click-ring .6s ease-out forwards;
}
@keyframes click-ring { to { transform: scale(8); opacity: 0; border-width: 0.5px; } }

/* Pause animations control (WCAG 2.2.2) */
.motion-toggle {
  position: fixed; right: 16px; bottom: 16px; z-index: 30; display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px/1 var(--font-body); color: var(--text); cursor: pointer;
  padding: 10px 14px; border-radius: 999px; background: rgba(13, 19, 34, 0.9); border: 1px solid var(--line-strong);
}
.motion-toggle:hover { border-color: var(--orange); }
.motion-toggle i { width: 10px; height: 10px; border-left: 3px solid var(--orange); border-right: 3px solid var(--orange); }
.paused .motion-toggle i { width: 0; height: 0; border: 6px solid transparent; border-left: 9px solid var(--orange); border-right: 0; }
.paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }
.paused .track { animation: none; }
/* Without JavaScript the button can't work, so hide it and stop the CSS loops instead. */
html:not(.js) .motion-toggle { display: none; }
html:not(.js) .track, html:not(.js) .orbit, html:not(.js) .console, html:not(.js) .chip, html:not(.js) .dot, html:not(.js) .photo-mark { animation: none; }

/* Simple pages */
.page { max-width: 820px; margin: 0 auto; padding: 72px clamp(16px, 4vw, 48px) 96px; }
.page h1 { font-size: clamp(38px, 6vw, 60px); margin-bottom: 24px; }
.page h2 { font-size: 24px; margin: 36px 0 10px; }
.page p, .page li { color: #c9d3e8; }

/* Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-stage { min-height: 400px; overflow-clip-margin: 12px; }
  .hero-copy::before { inset: -40px calc(-1 * clamp(16px, 4vw, 48px)); }
  .steps, .stats { grid-template-columns: minmax(0, 1fr); }
  .promise, .final-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .menu { display: block; }
  .nav nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 16px 18px; background: rgba(5, 7, 13, 0.97); border-bottom: 1px solid var(--line); display: none; }
  .nav nav.open { display: flex; }
  .nav nav a { padding: 12px 6px; font-size: 17px; }
  .nav nav a.btn { margin-top: 8px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .founder-card { grid-template-columns: minmax(0, 1fr); }
  .photo { width: 140px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .console { transform: rotateX(6deg) rotateY(-6deg); }
  .chip { display: none; }
  .console-foot strong { font-size: 20px; }
  .card { padding: 24px 20px 22px; }
  .btn-lg { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .motion-toggle { display: none; }
}
