:root {
  color-scheme: dark;
  --bg: #071815;
  --surface: #102824;
  --surface-raised: #17342e;
  --line: #2d5148;
  --ink: #f0f7f4;
  --muted: #b4c8c1;
  --mint: #73efbd;
  --mint-ink: #062016;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  background: radial-gradient(circle at 50% -30%, #1f5145 0, var(--bg) 48%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.shell {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 24px;
}

.hero {
  width: min(100%, 680px);
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 24px 80px #0008;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark { width: 32px; height: 32px; fill: none; stroke: var(--mint); stroke-linecap: round; stroke-width: 2.4; }
.eyebrow { margin: 42px 0 10px; color: var(--mint); font-size: 12px; font-weight: 750; letter-spacing: .12em; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 610px; margin-bottom: 16px; font-size: clamp(34px, 6vw, 56px); line-height: 1.04; letter-spacing: -0.045em; }
.lede { max-width: 590px; margin-bottom: 32px; color: var(--muted); font-size: 17px; }

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-raised);
}
.download-copy h2 { margin-bottom: 2px; font-size: 18px; }
.download-copy p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.download-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 17px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--mint-ink);
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease;
}
.download-button:hover { background: #9ef6d1; }
.download-button:active { transform: scale(.98); }
.download-button:focus-visible, summary:focus-visible { outline: 3px solid #e5fff3; outline-offset: 3px; }
.download-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }

.steps { display: grid; gap: 12px; margin: 30px 0; padding: 0; list-style: none; color: var(--muted); }
.steps li { display: flex; align-items: flex-start; gap: 12px; }
.steps span { display: inline-grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--mint); font-size: 13px; font-weight: 750; }

.checksum { border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 14px; }
summary { cursor: pointer; color: var(--ink); }
code { display: block; overflow-wrap: anywhere; margin-top: 12px; color: #d3e7df; font-size: 12px; }

@media (max-width: 560px) {
  .shell { padding: 12px; }
  .hero { border-radius: 22px; }
  .download-card { align-items: stretch; flex-direction: column; }
  .download-button { width: 100%; }
}

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