:root {
  --ink: #eef3f7;
  --muted: #a9b6c0;
  --navy-950: #061019;
  --navy-900: #0a1722;
  --gold: #d3a54b;
  --gold-light: #f0ca75;
  --line: rgba(255,255,255,.10);
  --card: rgba(255,255,255,.045);
  --shadow: 0 24px 60px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 8%, rgba(50, 106, 137, .18), transparent 32rem),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow { width: min(920px, calc(100% - 40px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 16, 25, .84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 750;
  text-decoration: none;
  letter-spacing: .015em;
}

nav { display: flex; gap: 24px; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .93rem;
}
nav a:hover { color: var(--gold-light); }

.hero {
  min-height: 670px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 54px;
  padding: 86px 0;
}

.eyebrow, .section-kicker {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: .93;
  letter-spacing: -.04em;
}

.lede {
  max-width: 650px;
  margin: 26px 0 0;
  color: #c8d1d7;
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 750;
  transition: .18s ease;
}

.button.primary {
  color: #1d1608;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  box-shadow: 0 12px 30px rgba(211, 165, 75, .15);
}

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

.button.secondary {
  border-color: var(--line);
  background: rgba(255,255,255,.035);
}
.button.secondary:hover { background: rgba(255,255,255,.075); }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.meta-row span {
  padding: 5px 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .79rem;
}

.download-count {
  min-height: 24px;
  margin: 13px 0 0;
  color: #7f929f;
  font-size: .83rem;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.hero-art img {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  height: auto;
  filter: drop-shadow(0 28px 28px rgba(0,0,0,.42));
}

.art-glow {
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211,165,75,.17), rgba(52,112,145,.08) 45%, transparent 72%);
}

.section {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}

.section.alt { background: rgba(255,255,255,.018); }

h2 {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.narrow > p:not(.section-kicker) { color: #bdc8cf; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.feature-grid article, .release-card, .notice {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.feature-grid article {
  padding: 25px;
  border-radius: 10px;
}

.feature-grid h3 { margin: 0 0 8px; }

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
}

.release-card {
  margin-top: 34px;
  padding: 30px;
  border-radius: 10px;
}

.release-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.release-heading h3 {
  margin: 4px 0 0;
  font-size: 1.35rem;
}

.version {
  color: var(--gold-light);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.release-heading time {
  color: var(--muted);
  white-space: nowrap;
}

.release-card ul {
  margin: 22px 0 0;
  padding-left: 20px;
  color: #c5cfd5;
}

.release-card li + li { margin-top: 8px; }

.release-note {
  margin-top: 18px;
  font-size: .9rem;
}

.notice {
  padding: clamp(28px, 5vw, 48px);
  border-radius: 10px;
  border-left: 3px solid var(--gold);
}

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

footer {
  padding: 26px 0;
  color: #778895;
  font-size: .83rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 820px) {
  nav { display: none; }
  .hero { min-height: auto; }
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 72px 0 60px;
  }
  .hero-art {
    min-height: 280px;
    order: -1;
  }
  .hero-art img { width: min(80vw, 390px); }
  .feature-grid { grid-template-columns: 1fr; }
  .release-heading {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .shell, .narrow { width: min(100% - 28px, 1120px); }
  h1 { font-size: 3.25rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .footer-wrap {
    flex-direction: column;
    gap: 5px;
  }
}
