:root {
  --bg: #171923;
  --panel: #242231;
  --panel-2: #302848;
  --ink: #f7f1de;
  --muted: #cfc5e6;
  --blue: #78c2dc;
  --gold: #ffe36d;
  --green: #78d28b;
  --shadow: rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(18, 19, 29, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.site-header img {
  width: min(460px, 55vw);
  height: auto;
}
.site-header a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--green);
  color: #122013;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  overflow: hidden;
  display: grid;
  align-items: end;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 19, 29, 0.95) 0%, rgba(18, 19, 29, 0.74) 43%, rgba(18, 19, 29, 0.32) 100%),
    linear-gradient(0deg, rgba(18, 19, 29, 1) 0%, rgba(18, 19, 29, 0) 38%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: clamp(28px, 5vw, 68px);
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 92px) 0;
  align-items: end;
}
.hero-copy {
  max-width: 720px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}
.lede {
  max-width: 62ch;
  margin-bottom: 24px;
  color: #eee6ff;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 6px;
  color: #111520;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}
.button.primary { background: var(--green); }
.button.secondary { background: var(--gold); }
.feature-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.feature-line span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8f3dd;
  font-weight: 800;
}

.store-card {
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px var(--shadow);
}
.store-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.store-card blockquote {
  margin: 14px 0 0;
  color: #f1ebff;
  font-size: 1.02rem;
  font-weight: 800;
}

.pitch, .screens, .play {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
}
.pitch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 34px 0 18px;
}
.pitch > div {
  min-height: 160px;
  padding: 22px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(50, 40, 76, 0.98), rgba(35, 34, 50, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.pitch h2, .section-title h2 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: 0;
}
.pitch p, .section-title p {
  color: var(--muted);
}

.screens {
  padding: 38px 0 18px;
}
.section-title {
  max-width: 760px;
  margin-bottom: 18px;
}
.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.screen-grid figure {
  margin: 0;
}
.screen-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}
.screen-grid figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.play {
  padding: 44px 0 64px;
}
.frame-shell {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #10131d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 70px var(--shadow);
}
.frame-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 14px;
  background: #202332;
  color: #f8f3dd;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.frame-label a {
  color: var(--gold);
  text-decoration: none;
}
.frame-shell iframe {
  display: block;
  width: 100%;
  height: calc(100% - 40px);
  border: 0;
  background: #111520;
}

@media (max-width: 980px) {
  .hero-inner, .pitch {
    grid-template-columns: 1fr;
  }
  .store-card {
    max-width: 620px;
  }
  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }
  .site-header img {
    width: min(100%, 380px);
  }
  .hero {
    min-height: auto;
  }
  .hero-inner {
    padding: 42px 0;
  }
  .actions .button {
    width: 100%;
  }
  .feature-line span {
    width: 100%;
  }
  .screen-grid {
    grid-template-columns: 1fr;
  }
}
