:root {
  color-scheme: dark;
  --bg: #081018;
  --bg-soft: #0f1823;
  --panel: rgba(17, 27, 37, 0.92);
  --panel-strong: rgba(21, 33, 45, 0.98);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef4fb;
  --text-muted: #96a9bd;
  --accent: #69b7ff;
  --accent-strong: #97ceff;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
  font-family: "Aptos", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(105, 183, 255, 0.12), transparent 22%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.04), transparent 28%),
    linear-gradient(180deg, #09111a 0%, #081018 100%);
  color: var(--text);
}

body {
  padding: 32px 18px 56px;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  padding: 0.16rem 0.38rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-family: "Cascadia Code", "Consolas", monospace;
  font-size: 0.92em;
}

.page-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
main.content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.hero,
.section,
.info-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(105, 183, 255, 0.07), transparent 34%),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  padding: 28px;
}

.hero-mark {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  padding: 2px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 45%),
    linear-gradient(180deg, #17324c, #0f2033);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-mark-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.28));
}

.hero-copy h1,
.section-head h2,
.info-card h2,
.download-card h3 {
  margin: 0;
  line-height: 1.04;
}

.hero-copy h1 {
  margin-top: 6px;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  max-width: 12ch;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.lede,
.section-note,
.download-card p,
.info-card p,
.meta-list,
.feature-list {
  color: var(--text-muted);
  line-height: 1.6;
}

.lede {
  max-width: 62ch;
  margin: 14px 0 0;
  font-size: 1.02rem;
}

.section {
  padding: 22px;
  display: grid;
  gap: 40px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.section-note {
  /* max-width: 38ch; */
  margin: 0;
  font-size: 0.94rem;
}

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

.download-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--panel-strong);
}

.download-card.featured {
  background:
    linear-gradient(180deg, rgba(105, 183, 255, 0.11), transparent 44%),
    var(--panel-strong);
}

.platform-row {
  display: flex;
  align-items: start;
  gap: 14px;
}
.platform-row p {
  margin: 0;
}
.platform-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(105, 183, 255, 0.14);
  color: var(--accent-strong);
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.button-stack {
  display: grid;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font-weight: 700;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(180deg, #76c0ff, #5dafff);
  border-color: rgba(118, 192, 255, 0.6);
  color: #07111a;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.03);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-strong);
}

.meta-list,
.feature-list {
  margin: 0;
  padding-left: 1.1rem;
}

.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card {
  padding: 22px;
}
.info-card h2 {
  margin-bottom: 16px;
}
.fine-print {
  font-size: 0.93rem;
}

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

  .hero-mark {
    width: 88px;
    height: 88px;
    font-size: 46px;
  }

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

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

.release-version {
  margin: 10px 0 0;
  color: var(--text);
  font-size: 0.98rem;
}

.release-version strong {
  display: inline-block;
  padding: 0.22rem 0.56rem;
  margin-left: 0.28rem;
  border: 1px solid rgba(118, 192, 255, 0.35);
  border-radius: 999px;
  background: rgba(105, 183, 255, 0.12);
  color: var(--accent-strong);
  font-weight: 800;
}

.platform-version {
  margin: -4px 0 0;
  color: var(--text);
  font-size: 0.94rem;
}

.platform-version strong {
  display: inline-block;
  padding: 0.2rem 0.54rem;
  margin-left: 0.38rem;
  border: 1px solid rgba(118, 192, 255, 0.35);
  border-radius: 999px;
  background: rgba(105, 183, 255, 0.12);
  color: var(--accent-strong);
  font-weight: 800;
}

