:root {
  --accent: #e5242f;
  --accent-hi: #ff3b45;
  --bg: #000;
  --panel: #121212;
  --card: #1f1f1f;
  --sub: #b3b3b3;
  --dim: #7a7a7a;
  --line: #292929;
  --radius: 8px;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  background: var(--bg);
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
}

.nav .wrap {
  display: flex;
  align-items: center;
  height: 80px;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.brand img {
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-weight: 700;
  font-size: 16px;
}

.nav-links a {
  color: #fff;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.on {
  color: var(--accent);
}

.nav-links a.btn-white,
.nav-links a.btn-white:hover {
  color: #000;
}

.nav-sep {
  width: 1px;
  height: 18px;
  background: #fff;
}

.nav-links .muted {
  color: var(--sub);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 32px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  border: 0;
  cursor: pointer;
  transition: transform 0.12s, background 0.15s;
}

.btn:hover {
  transform: scale(1.04);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-hi);
}

.btn-white {
  background: #fff;
  color: #000;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px #878787;
}

.btn-ghost:hover {
  box-shadow: inset 0 0 0 1px #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e5242f 0%, #9b0e1f 45%, #3a0a3f 100%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
  min-height: 560px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.hero p {
  margin-top: 22px;
  font-size: 20px;
  line-height: 1.45;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.92);
}

.hero .ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.hero .fine {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.mock {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-rows: 34px 1fr 46px;
  overflow: hidden;
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
}

.mock-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.mock-top .pill {
  margin: 0 auto;
  width: 42%;
  height: 18px;
  border-radius: 999px;
  background: #1f1f1f;
}

.mock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #333;
}

.mock-body {
  display: grid;
  grid-template-columns: 26% 1fr;
  gap: 6px;
  padding: 0 6px;
}

.mock-side,
.mock-main {
  background: #121212;
  border-radius: 6px;
  padding: 10px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}

.mock-sq {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  flex: none;
}

.mock-line {
  height: 6px;
  border-radius: 3px;
  background: #2a2a2a;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.mock-card {
  aspect-ratio: 1;
  border-radius: 5px;
}

.mock-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mock-play {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
}

.mock-prog {
  width: 36%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fff 40%, #4d4d4d 40%);
}

.section {
  padding: 96px 0;
}

.section h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.035em;
  font-weight: 900;
  line-height: 1.05;
}

.section .lead {
  margin-top: 14px;
  font-size: 18px;
  color: var(--sub);
  max-width: 640px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 28px;
  transition: background 0.2s;
}

.feature:hover {
  background: var(--card);
}

.feature .ico {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  margin-bottom: 20px;
}

.feature h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature p {
  margin-top: 8px;
  color: var(--sub);
  line-height: 1.5;
}

.band {
  background: linear-gradient(90deg, #2d0a32, #9b0e1f);
}

.band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.plan {
  background: var(--panel);
  border-radius: 12px;
  padding: 36px;
  max-width: 420px;
}

.plan .tag {
  display: inline-block;
  background: var(--accent);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 800;
}

.plan h3 {
  margin-top: 16px;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.plan ul {
  list-style: none;
  margin: 24px 0 30px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.plan li {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  font-size: 16px;
}

.plan li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M13 4.5 6.5 11 3 7.5' stroke='white' stroke-width='2' fill='none'/></svg>") center/12px no-repeat;
}

.dl-hero {
  background: radial-gradient(1200px 520px at 20% 0%, rgba(229, 36, 47, 0.45), transparent 60%), #121212;
}

.dl-hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  padding-top: 96px;
  padding-bottom: 96px;
}

.dl-hero h1 {
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.dl-hero p {
  margin-top: 18px;
  font-size: 18px;
  color: var(--sub);
  line-height: 1.5;
  max-width: 480px;
}

.dl-meta {
  margin-top: 16px;
  font-size: 13px;
  color: var(--dim);
}

.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.platform {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 28px;
}

.platform h3 {
  font-size: 20px;
  font-weight: 800;
}

.platform p {
  margin-top: 6px;
  color: var(--sub);
  font-size: 15px;
}

.platform .btn {
  margin-top: 22px;
  height: 40px;
  padding: 0 22px;
  font-size: 14px;
}

.soon {
  display: inline-block;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 800;
  color: var(--dim);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  counter-reset: s;
}

.step {
  counter-increment: s;
}

.step::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-weight: 900;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 18px;
  font-weight: 800;
}

.step p {
  margin-top: 6px;
  color: var(--sub);
  line-height: 1.5;
}

.jam-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: var(--panel);
  border-radius: 16px;
  padding: 48px 36px;
}

.jam-code {
  margin: 24px 0;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0.25em;
}

footer {
  margin-top: auto;
  background: #000;
  padding: 72px 0 40px;
}

.foot {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
}

.foot h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 16px;
}

.foot a {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 500;
}

.foot a:hover {
  color: var(--accent);
}

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  font-size: 12px;
  color: var(--dim);
}

@media (max-width: 900px) {
  .wrap {
    padding: 0 20px;
  }
  .hero .wrap,
  .dl-hero .wrap,
  .band .wrap {
    grid-template-columns: minmax(0, 1fr);
    flex-direction: column;
    align-items: flex-start;
  }
  .mock {
    transform: none;
  }
  .features,
  .platforms,
  .steps {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .hero .wrap > *,
  .dl-hero .wrap > * {
    min-width: 0;
  }
  .mock {
    max-width: 100%;
  }
  .brand {
    font-size: 22px;
  }
  .foot {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links .hide-sm {
    display: none;
  }
}
