:root {
    --bg: #05060f;
    --bg2: #0e1030;
    --ink: #eef0ff;
    --muted: #a7acd6;
    --accent: #ffd27a;
    --accent2: #9fd8ff;
    --pink: #ff8ad8;
    --line: #2a2f6a;
    --card: rgba(14, 16, 48, .72);
    --pixel: "Pixelify Sans", ui-monospace, monospace;
    --text: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--text); overflow-x: hidden; }
  #sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; image-rendering: pixelated; }
  main, header, footer { position: relative; z-index: 1; }
  a { color: var(--accent2); }
  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

  header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
  .brand { display: flex; align-items: center; gap: 10px; font: 700 22px var(--pixel); color: var(--ink); text-decoration: none; }
  .brand img { width: 36px; height: 36px; image-rendering: pixelated; }
  .nav-right { display: flex; align-items: center; gap: 10px; }
  select { background: var(--bg2); color: var(--ink); border: 2px solid var(--line); border-radius: 6px; padding: 6px 8px; font: 14px var(--text); }
  .btn { display: inline-block; font: 700 16px var(--pixel); letter-spacing: .5px; color: #1a1030; background: var(--accent); border: none; padding: 12px 18px; border-radius: 6px; cursor: pointer; text-decoration: none; box-shadow: 0 4px 0 #b8862e; transition: transform .08s, box-shadow .08s; white-space: nowrap; }
  .btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #b8862e; }
  .btn.small { padding: 8px 12px; font-size: 14px; }

  .hero { text-align: center; padding: 56px 16px 24px; }
  .hero h1 { font: 700 clamp(36px, 7vw, 72px)/1.05 var(--pixel); margin: 0 0 18px; text-shadow: 0 0 24px rgba(255, 210, 122, .25); }
  .hero h1 em { font-style: normal; color: var(--accent); }
  .hero p.sub { max-width: 640px; margin: 0 auto 28px; color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); }

  form.waitlist { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 520px; margin: 0 auto; }
  form.waitlist input { flex: 1 1 240px; min-width: 0; font: 16px var(--text); padding: 12px 14px; border-radius: 6px; border: 2px solid var(--line); background: rgba(5, 6, 15, .8); color: var(--ink); }
  form.waitlist input:focus { outline: none; border-color: var(--accent2); }
  .note { font-size: 14px; color: var(--muted); margin-top: 10px; min-height: 1.5em; }
  .note.ok { color: var(--accent); }
  .note.err { color: var(--pink); }

  .screen { margin: 44px auto 0; max-width: 960px; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(120, 100, 255, .15); background: #000; }
  .menubar { display: flex; align-items: center; justify-content: space-between; height: 26px; padding: 0 12px; background: rgba(20, 22, 50, .9); font: 12px var(--text); color: var(--muted); }
  .menubar .dots span { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; background: #3a3f78; }
  .screen img { display: block; width: 100%; height: auto; image-rendering: pixelated; aspect-ratio: 16 / 10; object-fit: cover; }
  .tabs { display: flex; justify-content: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
  .tab { font: 500 15px var(--pixel); background: var(--card); color: var(--muted); border: 2px solid var(--line); padding: 8px 14px; border-radius: 6px; cursor: pointer; }
  .tab[aria-selected="true"] { color: #1a1030; background: var(--accent2); border-color: var(--accent2); }

  section.wrap { padding: 80px 16px 8px; }
  h2 { font: 700 clamp(28px, 4.5vw, 42px)/1.1 var(--pixel); margin: 0 0 12px; text-align: center; }
  .lead { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 32px; }
  .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .card { background: var(--card); border: 2px solid var(--line); border-radius: 10px; overflow: hidden; backdrop-filter: blur(4px); }
  .card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; image-rendering: pixelated; border-bottom: 2px solid var(--line); }
  .card .body { padding: 16px 18px 20px; }
  .card h3 { font: 700 21px var(--pixel); margin: 0 0 6px; color: var(--accent); }
  .card p { margin: 0; color: var(--muted); font-size: 16px; }

  .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .fact { position: relative; background: #0b0d24; border: 2px solid #6d6bb0; padding: 18px 18px 16px; border-radius: 4px; }
  .fact::before { content: ""; position: absolute; left: -2px; top: -2px; width: 10px; height: 10px; border-left: 3px solid var(--accent); border-top: 3px solid var(--accent); }
  .fact b { display: block; font: 700 15px var(--pixel); color: var(--accent); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 6px; }
  .fact span { font: 500 18px/1.35 var(--pixel); color: var(--ink); }

  .features { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
  .features li { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 2px solid var(--line); border-radius: 8px; padding: 14px 16px; }
  .features li i { flex: 0 0 auto; width: 12px; height: 12px; margin-top: 7px; background: var(--accent2); box-shadow: 4px 4px 0 var(--pink); }

  section.final { text-align: center; padding: 96px 16px 40px; }
  .final img { width: 96px; height: 96px; image-rendering: pixelated; margin-bottom: 12px; }
  footer { text-align: center; color: var(--muted); font-size: 14px; padding: 32px 0 48px; }
  footer b { font-family: var(--pixel); color: var(--ink); }

  @media (max-width: 820px) {
    .grid3, .facts { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr; }
    header .btn.small { display: none; }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .note a, footer a { color: var(--accent2); }
  .legal { max-width: 720px; margin: 0 auto; padding: 32px 16px 24px; }
  .legal h1 { font: 700 clamp(30px, 5vw, 44px)/1.1 var(--pixel); margin: 16px 0 8px; }
  .legal h2 { text-align: left; font-size: 24px; margin: 32px 0 8px; }
  .legal p, .legal li { color: #d5d8f5; }
  .legal .updated { color: var(--muted); font-size: 14px; }
  .lost { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 16px; }
  .lost h1 { font: 700 clamp(64px, 14vw, 140px)/1 var(--pixel); color: var(--accent); margin: 0; }
  .lost img { image-rendering: pixelated; }

  .faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
  .faq details { background: var(--card); border: 2px solid var(--line); border-radius: 8px; padding: 0 18px; }
  .faq summary { cursor: pointer; list-style: none; padding: 16px 0; font: 700 18px/1.3 var(--pixel); color: var(--ink); display: flex; justify-content: space-between; gap: 12px; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
  .faq details[open] summary::after { content: "−"; }
  .faq details p { margin: 0 0 16px; color: var(--muted); }
