:root {
  color-scheme: dark;
  --ink: #e8f3ed;
  --muted: #91a59c;
  --dim: #60736b;
  --space: #06100f;
  --panel: rgba(11, 29, 26, 0.82);
  --panel-solid: #0b1d1a;
  --line: rgba(143, 178, 164, 0.22);
  --signal: #d6ff52;
  --signal-dark: #91b323;
  --cyan: #79e4d0;
  --danger: #ff8f78;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --technical: "SFMono-Regular", "Cascadia Mono", "Liberation Mono", monospace;
  --body: Avenir, Montserrat, "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--space);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--body);
  background:
    radial-gradient(circle at 78% 10%, rgba(51, 151, 129, 0.16), transparent 32rem),
    radial-gradient(circle at 18% 90%, rgba(129, 157, 34, 0.1), transparent 26rem),
    var(--space);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-family: var(--technical);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 19px;
  height: 19px;
  border: 1px solid var(--signal);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--space), inset 0 0 0 6px var(--signal);
}

.site-nav {
  display: flex;
  gap: clamp(12px, 3vw, 34px);
  align-items: center;
}

.site-nav a {
  padding: 8px 0;
  color: var(--muted);
  font-family: var(--technical);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--signal);
}

main {
  padding: clamp(58px, 9vw, 118px) 0 80px;
}

.eyebrow,
.kicker,
.field-label,
.status-label {
  font-family: var(--technical);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow,
.kicker {
  color: var(--signal);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: end;
}

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

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
}

h1 {
  max-width: 850px;
  margin-bottom: 26px;
  font-size: clamp(3.5rem, 9vw, 7.8rem);
  line-height: 0.86;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.75;
}

.orbit-note {
  position: relative;
  padding: 28px 0 8px 28px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.65;
}

.orbit-note::before {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 24px var(--signal);
}

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

.button,
button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--signal-dark);
  border-radius: 2px;
  color: #0a1207;
  font-family: var(--technical);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  background: var(--signal);
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 140ms ease, background 140ms ease;
}

.button:hover,
button:hover {
  transform: translateY(-2px);
  background: #e2ff7a;
}

.button.secondary,
button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

button:disabled,
.button[aria-disabled="true"] {
  color: var(--dim);
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.04);
  transform: none;
}

.status-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(68px, 12vw, 150px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.status-cell {
  min-height: 112px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.status-cell:last-child {
  border-right: 0;
}

.status-label {
  display: block;
  margin-bottom: 12px;
  color: var(--dim);
}

.status-value {
  overflow-wrap: anywhere;
  color: var(--cyan);
  font-family: var(--technical);
  font-size: 0.86rem;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(38px, 8vw, 110px);
}

.page-intro {
  position: sticky;
  top: 28px;
  align-self: start;
}

.page-intro p {
  color: var(--muted);
  line-height: 1.7;
}

.panel {
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.panel + .panel {
  margin-top: 18px;
}

.panel-head {
  display: flex;
  gap: 24px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 30px;
}

.panel-head p {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.form-grid {
  display: grid;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

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

input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  background: rgba(3, 12, 10, 0.7);
}

input:hover {
  border-color: rgba(121, 228, 208, 0.45);
}

input:disabled {
  color: var(--dim);
  cursor: not-allowed;
}

.form-note {
  color: var(--dim);
  font-size: 0.82rem;
  line-height: 1.55;
}

.notice {
  display: none;
  margin: 0 0 22px;
  padding: 14px 16px;
  border-left: 2px solid var(--cyan);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  background: rgba(121, 228, 208, 0.07);
}

.notice.visible {
  display: block;
}

.notice.error {
  border-color: var(--danger);
  color: #ffd5cc;
  background: rgba(255, 143, 120, 0.07);
}

.availability {
  margin-bottom: 22px;
  padding: 12px 14px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-family: var(--technical);
  font-size: 0.76rem;
  line-height: 1.55;
}

.availability strong {
  color: var(--signal);
}

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

.download-card {
  display: flex;
  min-height: 224px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  color: inherit;
  background: linear-gradient(145deg, rgba(15, 39, 34, 0.86), rgba(7, 20, 18, 0.8));
  text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease;
}

.download-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
}

.download-platform {
  font-family: var(--display);
  font-size: 2rem;
}

.download-detail,
.download-meta {
  color: var(--muted);
}

.download-detail {
  margin-top: 6px;
}

.download-meta {
  margin-top: 30px;
  font-family: var(--technical);
  font-size: 0.7rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.download-action {
  margin-top: auto;
  color: var(--signal);
  font-family: var(--technical);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--technical);
  font-size: 0.7rem;
  line-height: 1.7;
}

.site-footer a:hover {
  color: var(--cyan);
}

[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: no-preference) {
  main > * {
    animation: arrive 520ms both;
  }

  main > *:nth-child(2) {
    animation-delay: 90ms;
  }

  @keyframes arrive {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    align-items: flex-start;
    padding: 20px 0;
  }

  .site-nav {
    max-width: 230px;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 2px;
  }

  .hero,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .page-intro {
    position: static;
  }

  .status-rail {
    grid-template-columns: 1fr;
  }

  .status-cell {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .status-cell:last-child {
    border-bottom: 0;
  }

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

  .panel-head,
  .site-footer {
    flex-direction: column;
  }
}
