:root {
  --bg: #000;
  --panel: #121214;
  --panel-2: #18181b;
  --line: #26262a;
  --menu: #0a0a0b;
  --ink: #f5f5f7;
  --accent: #9be564;
  --accent-ink: #0b1a05;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); }
body { -webkit-font-smoothing: antialiased; user-select: none; -webkit-user-select: none; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* nav capsule: centred, hugs contents, folds on scroll down */
.nav {
  position: fixed; top: max(12px, env(safe-area-inset-top)); left: 50%; z-index: 10;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 2px; height: 44px; padding: 0 6px;
  background: var(--menu); border: 1px solid var(--line); border-radius: 999px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav a { padding: 0 14px; height: 32px; line-height: 32px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { background: #1d1d20; }
.nav .brand { font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: center; gap: 7px; }
.nav .brand img { height: 15px; width: auto; max-width: none; flex: none; }
.nav.folded { transform: translateX(-50%) scale(.86); }

main { width: min(1440px, 100% - 32px); margin: 0 auto; padding-top: 72px; }

/* hero: text left, live world right; world on top on phones */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 64px); align-items: center;
  padding-top: 8px; }
h1 { margin: 0; font-size: clamp(64px, 8vw, 120px); font-weight: 700; letter-spacing: -0.05em; line-height: .92; display: flex; align-items: center; gap: .16em; }
h1 .wordmark { height: clamp(64px, 7.4vw, 108px); width: auto; display: block; }
.lede { margin: 16px 0 0; font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; max-width: 20ch; }
.desc { margin: 16px 0 0; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; font-weight: 500; max-width: 40ch; }
.actions { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.btn { height: 46px; padding: 0 24px; line-height: 46px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--panel); border: 1px solid var(--line); transition: box-shadow .2s ease, background .2s ease; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn:hover { box-shadow: 0 0 0 4px rgba(155, 229, 100, .18); }
.btn:active { transform: scale(.98); }

.world { position: relative; aspect-ratio: 1 / 1; max-height: min(780px, calc(100dvh - 64px)); width: 100%; justify-self: center;
  cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity .8s ease; }
.world.ready { opacity: 1; }
.world:active { cursor: grabbing; }
.world canvas { width: 100% !important; height: 100% !important; display: block; }
.world::after { content: ""; position: absolute; inset: 18% 14% 4%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(155, 229, 100, .10), rgba(155, 229, 100, 0)); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero .world { order: -1; max-height: 62vh; width: min(100%, 520px); }
  .hero .copy { padding-bottom: 8px; }
}

/* sections */
section { margin-top: clamp(64px, 7vw, 104px); }
.hero + section { margin-top: clamp(24px, 3vw, 40px); }
h2 { margin: 0 0 22px; font-size: clamp(32px, 3.6vw, 48px); font-weight: 650; letter-spacing: -0.035em; line-height: 1.05; }
.lead { margin: -8px 0 26px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; font-weight: 500; max-width: 62ch; }

/* every device: one row of six; scrolls sideways on phones */
.devices { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.device { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; corner-shape: squircle;
  padding: 20px 18px 18px; display: flex; flex-direction: column; gap: 26px; min-height: 150px; }
.device i { font-size: 30px; line-height: 30px; }
.device img { height: 32px; width: auto; max-width: 40px; }
.device b { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; display: block; }
.chip { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.chip.on { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
@media (max-width: 1000px) {
  .devices { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .devices::-webkit-scrollbar { display: none; }
  .device { flex: 0 0 160px; scroll-snap-align: start; }
}

/* plays the way you know: one big shot, two beside it */
.shots { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.shots figure { margin: 0; border-radius: 22px; corner-shape: squircle; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.shots figure:first-child { grid-row: span 2; }
.shots img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; grid-template-rows: none; } .shots figure:first-child { grid-row: auto; } }

/* roadmap: four columns */
.roadmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stage { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; corner-shape: squircle; padding: 20px; }
.stage h3 { margin: 0 0 14px; font-size: 15px; font-weight: 600; }
.stage.now { border-color: rgba(155, 229, 100, .45); }
.stage.now h3 { color: var(--accent); }
.step { background: var(--panel-2); border-radius: 14px; padding: 14px; }
.step + .step { margin-top: 8px; }
.step b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.step span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; }
@media (max-width: 1000px) { .roadmap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .roadmap { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; corner-shape: squircle; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
  display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; font-size: 16px; line-height: 1.55; max-width: 68ch; user-select: text; -webkit-user-select: text; }

/* about page */
.wide { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; corner-shape: squircle;
  padding: clamp(22px, 3vw, 40px); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; }
.wide p { margin: 0 0 14px; } .wide p:last-child { margin: 0; }
.credits { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; corner-shape: squircle;
  padding: 22px; min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.tile b { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.tile span { font-size: 14px; font-weight: 500; line-height: 1.45; }
.credits a, .faq a { text-decoration: underline; text-underline-offset: 3px; }

footer { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 96px 16px max(24px, env(safe-area-inset-bottom)); text-align: center; }
footer .pill { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--menu); font-size: 13px; }
footer small { font-size: 12px; max-width: 60ch; line-height: 1.5; }

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); }
  .reveal.in { opacity: 1; transform: none; }
}
