:root {
  --bg: #050816;
  --bg-soft: #0b1224;
  --surface: rgba(8, 14, 29, 0.78);
  --surface-strong: rgba(11, 18, 36, 0.96);
  --surface-highlight: rgba(15, 26, 48, 0.96);
  --line: rgba(121, 150, 255, 0.18);
  --line-strong: rgba(121, 150, 255, 0.34);
  --text: #edf3ff;
  --muted: #98a7c7;
  --accent: #3e6bff;
  --accent-strong: #6aa6ff;
  --accent-soft: rgba(62, 107, 255, 0.16);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(62, 107, 255, 0.26), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(26, 55, 150, 0.32), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(0, 176, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #03050d 0%, var(--bg) 48%, #02040a 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(125, 150, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 150, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.panel {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 38px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(62, 107, 255, 0.24), transparent 68%);
  pointer-events: none;
}

.hero-panel {
  padding: 24px;
  border-radius: 28px;
  display: grid;
  gap: 16px;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(15, 26, 48, 0.92), rgba(8, 14, 29, 0.98));
}

.eyebrow,
.section-kicker,
.release-date {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.77rem;
  color: var(--muted);
}

h1,
h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  max-width: 10ch;
  line-height: 0.92;
  margin-top: 10px;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.hero-text,
.latest-version,
.steps p,
.release-notes,
.release-version,
.download-link,
.meta-link,
.stat-label,
.panel-heading p {
  margin: 0;
}

.hero-text {
  margin-top: 18px;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-links,
.hero-actions,
.release-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-links {
  margin-top: 22px;
}

.hero-actions {
  margin-top: 26px;
}

.download-button,
.download-link,
.meta-link,
.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    opacity 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.download-button {
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(24, 77, 255, 0.34);
}

.download-button.secondary {
  background: rgba(7, 12, 25, 0.78);
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}

.meta-link,
.footer-links a {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(7, 12, 25, 0.72);
  font-weight: 700;
}

.download-button:hover,
.download-link:hover,
.meta-link:hover,
.footer-links a:hover {
  transform: translateY(-1px);
}

.download-button.is-disabled,
.download-link.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

.latest-version {
  margin-top: 16px;
  color: var(--muted);
}

.stat-card {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 28, 50, 0.94), var(--surface-strong));
  border: 1px solid var(--line-strong);
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 8px;
}

.stat-card strong {
  font-size: 1.2rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}

.panel {
  border-radius: 30px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(9, 16, 31, 0.9), rgba(8, 14, 29, 0.98));
}

.panel-heading {
  margin-bottom: 24px;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 22px;
  background: var(--surface-highlight);
  border: 1px solid var(--line);
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(106, 166, 255, 0.16);
}

.steps p,
.release-notes {
  color: var(--muted);
  line-height: 1.6;
}

.release-list {
  display: grid;
  gap: 16px;
}

.release-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 22, 42, 0.98), rgba(8, 14, 29, 0.98));
}

.release-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.release-version {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.release-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(106, 166, 255, 0.16);
}

.release-notes-title {
  margin: 18px 0 10px;
  font-weight: 800;
}

.release-notes {
  padding-left: 18px;
}

.release-actions {
  margin-top: 20px;
}

.download-link {
  min-width: 132px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(7, 12, 25, 0.88);
  font-weight: 700;
}

code {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(62, 107, 255, 0.14);
  color: var(--accent-strong);
  font-family: inherit;
}

.site-footer {
  margin-top: 22px;
  padding: 18px 6px 0;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
}

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

  h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding: 18px 0 28px;
  }

  .hero-copy,
  .hero-panel,
  .panel {
    padding: 22px;
    border-radius: 24px;
  }

  .download-button,
  .download-link,
  .meta-link,
  .footer-links a {
    width: 100%;
  }

  .site-footer {
    padding-top: 2px;
  }
}
