* {
  box-sizing: border-box;
}

:root {
  --bg: #111318;
  --panel: #1b1f27;
  --panel-border: #2d3440;
  --text: #f5f7fa;
  --muted: #aab3bf;
  --accent: #8f63ff;
  --accent-hover: #a57fff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(143, 99, 255, 0.18), transparent 32rem),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 40px;
}

.hero {
  max-width: 760px;
  margin-bottom: 36px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-hover);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.subtitle {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.download-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  background: rgba(27, 31, 39, 0.94);
  box-shadow: var(--shadow);
}

.platform {
  margin-bottom: 8px;
  color: var(--accent-hover);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.download-card h2 {
  margin-bottom: 14px;
  font-size: 1.8rem;
}

.download-card p {
  color: var(--muted);
  line-height: 1.65;
}

.version {
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.download-button {
  display: block;
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.download-button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.install-note {
  margin: 12px 0 0;
  font-size: 0.86rem;
}

.beta-note {
  margin-top: 24px;
  padding: 24px 28px;
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  background: rgba(27, 31, 39, 0.72);
}

.beta-note h2 {
  margin-bottom: 8px;
}

.beta-note p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

footer {
  padding-top: 28px;
  text-align: center;
}

footer p {
  margin-bottom: 4px;
}

.muted {
  color: var(--muted);
}

@media (max-width: 760px) {
  .page-shell {
    padding-top: 36px;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }

  .download-card {
    min-height: auto;
  }
}
