:root {
  color-scheme: dark;
  --black: #020302;
  --panel: rgba(8, 15, 10, 0.90);
  --panel-soft: rgba(11, 22, 14, 0.76);
  --line: rgba(86, 255, 121, 0.24);
  --green: #54ff73;
  --green-strong: #22df52;
  --text: #f3f7f3;
  --muted: #b9c6bc;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--black);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
}

a { color: var(--green); }

.background-art {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image: var(--formshift-art);
  background-position: center 7rem;
  background-repeat: no-repeat;
  background-size: min(92vw, 980px) auto;
  opacity: 0.31;
  filter: saturate(1.12) contrast(1.08);
  pointer-events: none;
}

.page-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 15%, rgba(27, 136, 53, 0.12), transparent 38rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(2, 3, 2, 0.88) 35%, #020302 76%);
  pointer-events: none;
}

.site-header {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}

.brand-name {
  color: var(--green);
  font-weight: 900;
  letter-spacing: 0.18em;
}

.brand-beta {
  color: var(--muted);
  margin-top: 0.42rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.small-link {
  color: var(--text);
  font-size: 0.92rem;
  text-underline-offset: 0.25rem;
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding: 3rem 0 5rem;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.lead {
  max-width: 680px;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.download-card,
.content-section,
.help-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.download-card {
  padding: clamp(1.35rem, 4vw, 2.15rem);
  border-radius: 24px;
}

.download-card h2,
.content-section h2 {
  margin: 0;
  line-height: 1.08;
}

.download-card > p,
.content-section > p,
.help-card p,
details p {
  color: var(--muted);
}

.status-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  color: #dfffe5;
  font-size: 0.86rem;
}

.status-dot {
  width: 0.64rem;
  height: 0.64rem;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(84, 255, 115, 0.8);
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  margin: 1.5rem 0 0.85rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green), var(--green-strong));
  color: #001405;
  font-weight: 950;
  letter-spacing: 0.035em;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(34, 223, 82, 0.23);
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.download-note {
  margin: 0;
  font-size: 0.88rem;
}

.release-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.release-grid div {
  min-width: 0;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.release-grid div:nth-child(odd) {
  padding-right: 1rem;
}

.release-grid dt {
  color: var(--muted);
  font-size: 0.76rem;
}

.release-grid dd {
  margin: 0.2rem 0 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

code {
  overflow-wrap: anywhere;
  color: #d9ffe1;
}

.checksum {
  margin-top: 1.25rem;
}

.content-section {
  margin: 0 0 1.3rem;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border-radius: 22px;
}

.steps {
  display: grid;
  gap: 0.8rem;
  padding-left: 1.4rem;
}

.help-card {
  margin: 1.5rem 0;
  padding: 1.25rem;
  border-radius: 16px;
  background: var(--panel-soft);
}

.plain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(84, 255, 115, 0.06);
}

details {
  margin-top: 0.8rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

summary {
  cursor: pointer;
  font-weight: 750;
}

footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto 0;
  padding: 2rem 0 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

footer nav {
  display: flex;
  gap: 1rem;
}

@media (max-width: 860px) {
  .background-art {
    background-position: center 6rem;
    background-size: 120vw auto;
    opacity: 0.24;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 4.5rem 0 3rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.2rem, 15vw, 5.4rem);
  }
}

@media (max-width: 560px) {
  .site-header {
    width: min(100% - 1.2rem, 1180px);
  }

  main,
  footer {
    width: min(100% - 1.2rem, 1180px);
  }

  .small-link {
    display: none;
  }

  .hero {
    padding-top: 2.6rem;
  }

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

  .release-grid div:nth-child(odd) {
    padding-right: 0;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}