:root {
  color-scheme: dark;
  --bg: #05060a;
  --bg-2: #0b0d12;
  --card: #111520;
  --line: #232a37;
  --text: #eef2f8;
  --muted: #8b98ad;
  --lime: #c8f34a;
  --lime-ink: #10200a;
  --orange: #ff7a1a;
  --cyan: #7dd3fc;
  --glow: 0 0 80px rgba(200, 243, 74, 0.18);
  --font: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: var(--font); }
body { min-height: 100vh; overflow-x: hidden; }
a { color: inherit; }
img, video { max-width: 100%; display: block; }
button, input { font: inherit; }

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(200, 243, 74, 0.12), transparent 55%),
    radial-gradient(800px 480px at 90% 10%, rgba(255, 122, 26, 0.14), transparent 50%),
    radial-gradient(700px 500px at 50% 110%, rgba(125, 211, 252, 0.1), transparent 45%),
    var(--bg);
  z-index: 0;
}

.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 1; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 8px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.03em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #7dd3fc 35%, #0b0d12 72%);
  box-shadow: 0 0 0 3px #111, 0 0 18px rgba(125, 211, 252, 0.45);
}
.nav-links { display: flex; gap: 18px; color: var(--muted); font-size: 14px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 700;
  cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lime { background: var(--lime); color: var(--lime-ink); box-shadow: var(--glow); }
.btn-ghost { background: #171b24; color: var(--text); border: 1px solid var(--line); }
.btn-wide { width: 100%; }

.hero { padding: 36px 0 24px; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; background: #141821; border: 1px solid var(--line);
  color: var(--cyan); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 8vw, 88px);
  line-height: .92;
  letter-spacing: -0.03em;
  margin: 18px 0 16px;
  font-weight: 400;
}
.hero h1 em { font-style: italic; color: var(--lime); }
.lede { max-width: 720px; margin: 0 auto 22px; color: var(--muted); font-size: clamp(16px, 2.2vw, 20px); line-height: 1.5; }
.cta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.proof { color: var(--muted); font-size: 13px; }

.window {
  margin: 28px auto 0;
  width: min(1040px, 100%);
  border-radius: 18px;
  border: 1px solid #2a3243;
  background: #0e1118;
  box-shadow: 0 40px 120px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.03);
  overflow: hidden;
}
.window-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; background: #151922; border-bottom: 1px solid #232a37;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.window-title { margin-left: 8px; color: #7c8aa3; font-size: 12px; }
.window img { width: 100%; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: 36px 0 10px;
}
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
}
.stat b { display: block; font-size: 22px; letter-spacing: -0.03em; }
.stat span { color: var(--muted); font-size: 13px; }

.section { padding: 72px 0; }
.section h2 {
  font-family: var(--serif); font-size: clamp(32px, 5vw, 56px);
  line-height: 1; font-weight: 400; margin: 0 0 14px; letter-spacing: -0.03em;
}
.section p.intro { color: var(--muted); max-width: 640px; font-size: 18px; line-height: 1.5; margin: 0 0 28px; }

.split {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: center;
}
.split.reverse { grid-template-columns: 1.15fr 1fr; }
.shot {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
}
.shot img { width: 100%; }
.copy h3 { margin: 0 0 10px; font-size: 28px; letter-spacing: -0.03em; }
.copy p { color: var(--muted); line-height: 1.55; margin: 0 0 12px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  border: 1px solid var(--line); background: #171b24; color: var(--text);
  border-radius: 999px; padding: 6px 10px; font-size: 12px;
}

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); line-height: 1.5; }

.download-panel {
  background: linear-gradient(180deg, #141821, #0e121a);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--glow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 12px; color: var(--muted); }
input {
  width: 100%; padding: 13px 12px; border-radius: 12px; border: 1px solid #2a3243;
  background: #0b0f16; color: var(--text);
}
input:focus { outline: 2px solid rgba(200,243,74,.35); border-color: #4a5a22; }
.err { color: #f87171; font-size: 13px; min-height: 18px; }
.platforms { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
.platform {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: #171b24; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
}
.platform.is-recommended {
  border-color: rgba(200, 243, 74, 0.5);
  box-shadow: 0 0 0 1px rgba(200, 243, 74, 0.18);
}
.platform b { display: block; }
.platform span { color: var(--muted); font-size: 12px; }
.detect-note { color: var(--lime); font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.hidden { display: none !important; }

.modal {
  position: fixed; inset: 0; background: rgba(5,6,10,.72); backdrop-filter: blur(10px);
  z-index: 20; display: flex; align-items: flex-end; justify-content: center; padding: 16px;
}
.modal-card {
  width: min(520px, 100%); background: #111520; border: 1px solid var(--line);
  border-radius: 22px; padding: 22px; max-height: 92vh; overflow: auto;
}
.modal h2 { font-family: var(--serif); font-size: 34px; margin: 0 0 8px; font-weight: 400; }
.fine { color: var(--muted); font-size: 12px; line-height: 1.45; }

.steps { display: grid; gap: 10px; }
.step { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.num {
  width: 36px; height: 36px; border-radius: 50%; background: #171b24; border: 1px solid var(--line);
  display: grid; place-items: center; font-weight: 700;
}

footer { padding: 40px 0 60px; color: var(--muted); font-size: 13px; line-height: 1.5; }
footer strong { color: var(--text); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .stats, .split, .split.reverse, .grid3, .form-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 18px; }
  .section { padding: 48px 0; }
}
