@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0a0b0d;
  --panel: #111316;
  --line: rgba(255, 255, 255, 0.09);
  --bone: #ece7de;
  --muted: #a39e94;
  --coral: #ff5a2a;
  --glow: #7fdcff;
  --wrap: 1180px;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--bone); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--bone); color: #000; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

/* ---- navigation ---- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: 32px; padding: 18px clamp(20px, 4vw, 44px); transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(10, 11, 13, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 22px/1 var(--display); letter-spacing: -0.03em; }
.brand svg { width: 24px; height: 24px; }
.nav nav { display: flex; gap: 28px; margin-left: auto; }
.nav nav a { text-decoration: none; font-size: 14.5px; color: rgba(236, 231, 222, 0.82); transition: color 0.2s; }
.nav nav a:hover { color: #fff; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255, 255, 255, 0.04); white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(255, 90, 42, 0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 90, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 42, 0); } }

/* ---- hero ---- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; display: flex; align-items: flex-end; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10, 11, 13, 0.80) 0%, rgba(10, 11, 13, 0.45) 38%, rgba(10, 11, 13, 0) 68%),
  linear-gradient(0deg, rgba(10, 11, 13, 0.92) 0%, rgba(10, 11, 13, 0) 34%),
  linear-gradient(180deg, rgba(10, 11, 13, 0.55) 0%, rgba(10, 11, 13, 0) 20%); }
.hero-text { position: relative; width: min(var(--wrap), 100% - 48px); margin: 0 auto clamp(64px, 11vh, 120px); }
.hero-text > * { max-width: 620px; }
.eyebrow { font: 500 13px/1 var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--coral); margin-bottom: 22px; }
h1 { font-size: clamp(44px, 7.2vw, 96px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: rgba(236, 231, 222, 0.9); margin-top: 26px; max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 99px; background: var(--coral); color: #140702; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform 0.2s, background 0.2s; }
.button:hover { transform: translateY(-2px); background: #ff6f44; }
.button.ghost { background: rgba(255, 255, 255, 0.08); color: var(--bone); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.button.ghost:hover { background: rgba(255, 255, 255, 0.14); }
.hero-note { position: absolute; right: clamp(74px, 6vw, 100px); bottom: 26px; font-size: 12.5px; color: rgba(236, 231, 222, 0.62); text-align: right; max-width: 46vw; }
.pause { position: absolute; right: clamp(20px, 4vw, 44px); bottom: 18px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(10, 11, 13, 0.45); color: var(--bone); cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pause svg { width: 16px; height: 16px; fill: currentColor; }
.pause .i-play, .pause[aria-pressed="true"] .i-pause { display: none; }
.pause[aria-pressed="true"] .i-play { display: block; }

/* ---- sections ---- */
.band { padding: clamp(84px, 12vw, 160px) 0; }
h2 { font-size: clamp(32px, 4.4vw, 58px); max-width: 17em; }
h3 { font-size: 24px; }
.intro { color: var(--muted); font-size: clamp(17px, 1.4vw, 19.5px); max-width: 34em; margin-top: 24px; }
.fine { color: #807b72; font-size: 14px; max-width: 46em; margin-top: 28px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(44px, 6vw, 76px); }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px 34px; }
.step .num { font: 500 13px/1 var(--display); color: var(--coral); letter-spacing: 0.1em; }
.step h3 { margin: 46px 0 12px; }
.step p { color: var(--muted); font-size: 16px; }

.proof { padding-bottom: clamp(84px, 12vw, 160px); }
.room { margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); position: relative; }
.room figcaption, .sketches figcaption { position: absolute; left: 20px; bottom: 16px; font-size: 13px; color: rgba(236, 231, 222, 0.78); background: rgba(10, 11, 13, 0.55); padding: 6px 12px; border-radius: 99px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.number { border-top: 1px solid var(--line); padding: 28px 4px 0; }
.number b { display: block; font: 500 clamp(52px, 6.4vw, 88px)/1 var(--display); letter-spacing: -0.04em; }
.number b small { font-size: 0.3em; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.number span { display: block; color: var(--muted); font-size: 15.5px; margin-top: 14px; max-width: 22em; }

.split { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.robot { background: radial-gradient(1000px 520px at 26% 50%, rgba(255, 90, 42, 0.10), transparent 70%), #07080a; border-block: 1px solid var(--line); }
.turn { border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 10; background: #050607; }
.turn video { width: 100%; height: 100%; object-fit: cover; }
.specs { margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.specs div { padding: 15px 0; border-top: 1px solid var(--line); }
.specs dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.12em; color: #807b72; }
.specs dd { margin: 5px 0 0; font-size: 16px; }

.lineup { margin: clamp(40px, 6vw, 70px) 0 18px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stage { border-top: 2px solid var(--line); padding: 22px 4px 0; }
.stage.now { border-color: var(--coral); }
.stage h3 { margin: 16px 0 10px; }
.stage p { color: var(--muted); font-size: 15.5px; }
.tag { font: 500 12px/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone); }
.stage.now .tag { color: var(--coral); }
.tag.sketch { color: #807b72; }
.sketches { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(40px, 5vw, 60px); }
.sketches figure { margin: 0; position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }

.how { background: var(--panel); border-top: 1px solid var(--line); }
.how .split { grid-template-columns: 1fr 1.05fr; }
.detail { margin: 0; border-radius: 24px; overflow: hidden; }
.detail img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }

footer { border-top: 1px solid var(--line); padding: 54px 0 64px; }
.foot { display: grid; gap: 14px; }
.foot p { color: var(--muted); }
.foot .fine { margin-top: 6px; color: #807b72; }

/* ---- scroll reveal ---- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav nav { display: none; }
  .status { margin-left: auto; }
  .steps, .numbers, .sketches { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr 1fr; }
  .split, .how .split { grid-template-columns: 1fr; }
  .step h3 { margin-top: 28px; }
  .hero-shade { background:
    linear-gradient(0deg, rgba(10, 11, 13, 0.95) 0%, rgba(10, 11, 13, 0.55) 45%, rgba(10, 11, 13, 0.05) 75%),
    linear-gradient(180deg, rgba(10, 11, 13, 0.55) 0%, rgba(10, 11, 13, 0) 20%); }
  .hero { flex-direction: column; justify-content: flex-end; align-items: stretch; }
  .hero video { object-position: 66% 50%; }
  .hero-text { margin-bottom: 22px; }
  .hero-note { position: relative; right: auto; bottom: auto; text-align: left; max-width: none; width: calc(100% - 48px); margin: 0 auto 26px; padding-right: 56px; }
}
@media (max-width: 520px) {
  .roadmap, .specs { grid-template-columns: 1fr; }
  .room figcaption { position: static; display: block; border-radius: 0; background: var(--panel); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .status i { animation: none; }
}
