:root {
  --font-display: 'Syne', sans-serif;
  --font-body: 'Chivo', sans-serif;
  --bg: #1c2024;
  --surface: #21201c;
  --border: #43302b;
  --accent: #ffc53d;
  --accent-ink: #ffd569;
  --text: #f1f0ef;
  --radius: 6px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 96px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

a { color: var(--accent-ink); }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

/* Header */
header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) 0;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #1c2024;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { background: var(--accent-ink); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-2);
  display: block;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: var(--sp-6);
  align-items: center;
  padding: var(--sp-7) 0 var(--sp-6);
}

.hero h1 {
  font-size: 4rem;
  text-shadow: 0 0 32px rgba(255, 197, 61, 0.25);
}

.hero .sub {
  margin-top: var(--sp-3);
  font-size: 1.15rem;
  max-width: 48ch;
  color: var(--text);
  opacity: 0.78;
}

.hero .cta-row {
  margin-top: var(--sp-4);
  display: flex;
  gap: var(--sp-3);
  align-items: center;
  flex-wrap: wrap;
}

.hero .cta-note {
  font-size: 0.85rem;
  opacity: 0.55;
}

.hero-visual { position: relative; }

.radar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-4);
  position: relative;
}

.radar-row {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--border);
}

.radar-row:last-of-type { border-bottom: none; }

.radar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.radar-dot.warn { background: var(--accent); box-shadow: 0 0 10px rgba(255, 197, 61, 0.6); }
.radar-dot.ok { background: #4caf7d; }
.radar-dot.pending { background: #7d8590; }

.radar-label {
  font-size: 0.92rem;
  opacity: 0.85;
}

.radar-glow {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 197, 61, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Section shell */
section { padding: var(--sp-6) 0; }
section.tinted { background: var(--surface); }

.section-head { max-width: 62ch; margin-bottom: var(--sp-5); }
.section-head h2 { font-size: 2.4rem; }
.section-head .sub { margin-top: var(--sp-2); opacity: 0.7; }

/* Roadmap mockup */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}

.roadmap-col {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.roadmap-col-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.roadmap-col-head h3 {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.platform-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.platform-dot.steam { background: #66c0f4; }
.platform-dot.playstation { background: #0070d1; }
.platform-dot.xbox { background: #107c10; }
.platform-dot.switch { background: #e60012; }

.task-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.task-title { font-size: 0.88rem; font-weight: 600; }
.task-deadline { font-size: 0.78rem; opacity: 0.55; }

.task-status {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}

.status-done { background: rgba(76, 175, 125, 0.15); color: #6fd6a4; }
.status-progress { background: rgba(255, 197, 61, 0.15); color: var(--accent); }
.status-todo { background: rgba(125, 133, 144, 0.18); color: #9aa2ac; }

/* How it would work */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-4);
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-4);
}

.step-card .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--accent);
  display: block;
  margin-bottom: var(--sp-2);
}

.step-card p { margin: 0; font-weight: 400; opacity: 0.85; }

/* Market context */
.stat-block {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: var(--sp-5);
  align-items: center;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--accent);
}

.stat-block .sub { opacity: 0.75; }

.stat-source {
  display: block;
  margin-top: var(--sp-2);
  font-size: 0.78rem;
  opacity: 0.5;
}

/* Final CTA */
.final-cta { text-align: left; max-width: 60ch; }
.final-cta h2 { font-size: 2.6rem; margin-bottom: var(--sp-3); }
.final-cta .sub { margin-bottom: var(--sp-4); opacity: 0.78; }

/* Footer */
footer.site {
  border-top: 1px solid var(--border);
  padding: var(--sp-5) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  font-size: 0.88rem;
  opacity: 0.6;
}

footer.site nav a { margin-left: var(--sp-3); text-decoration: none; }
footer.site nav a:hover { text-decoration: underline; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3);
  z-index: 100;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-5);
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 32px 64px -24px rgba(0, 0, 0, 0.6);
}

.modal h3 { font-size: 1.8rem; margin-bottom: var(--sp-2); }
.modal .sub { opacity: 0.7; font-size: 0.95rem; margin-bottom: var(--sp-4); }

.modal label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.modal input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: var(--sp-3);
  background: var(--surface);
  color: var(--text);
}

.modal input[type="email"]:focus {
  outline: 1px solid var(--accent);
  outline-offset: 1px;
}

.platform-picker {
  border: none;
  padding: 0;
  margin: 0 0 var(--sp-3);
}

.platform-picker legend {
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.75;
  margin-bottom: 8px;
  padding: 0;
}

.platform-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 400;
  margin: 0 var(--sp-2) 8px 0;
}

.platform-check input { margin: 0; }

.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: var(--sp-4);
  font-size: 0.85rem;
  opacity: 0.75;
}

.consent-row input { margin-top: 4px; }
.consent-row label { margin: 0; font-weight: 400; }

.modal .close {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text);
  opacity: 0.5;
  line-height: 1;
}

.modal .close:hover { opacity: 1; }

.modal .status {
  margin-top: var(--sp-3);
  font-size: 0.9rem;
  display: none;
}

.modal .status.show { display: block; }
.modal .status.error { color: #ff8a70; }
.modal .status.success { color: #6fd6a4; }

.modal button[type="submit"] { width: 100%; }
.modal button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: var(--sp-6); }
  .hero h1 { font-size: 2.6rem; }
  .stat-block { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .roadmap-grid { grid-template-columns: 1fr; }
}

/* Legal pages */
.legal { max-width: 68ch; margin: 0 auto; padding: var(--sp-6) var(--sp-4); }
.legal h1 { font-size: 2.4rem; margin-bottom: var(--sp-4); }
.legal h2 { font-size: 1.3rem; margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.legal p, .legal li { opacity: 0.75; }
.legal a.back { display: inline-block; margin-bottom: var(--sp-4); text-decoration: none; }
