:root {
  color-scheme: light;
  --ink: #161513;
  --muted: #6a6258;
  --paper: #f4ecd7;
  --panel: #fff7e4;
  --line: #201a14;
  --accent: #d45b2a;
  --accent-dark: #9e3717;
  --grid: rgba(32, 26, 20, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  background:
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    radial-gradient(circle at 80% 10%, #ffd9b8 0, transparent 28rem),
    var(--paper);
  background-size: 32px 32px, 32px 32px, auto, auto;
}

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

.hero {
  display: grid;
  gap: 24px;
}

.eyebrow {
  margin: 0;
  font-family: "Courier New", monospace;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(4rem, 13vw, 10rem);
  line-height: 0.85;
  letter-spacing: -0.08em;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.lede {
  max-width: 760px;
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  line-height: 1.25;
}

.download-card,
.instructions,
.support {
  border: 2px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--panel) 92%, white);
  box-shadow: 10px 10px 0 var(--line);
  padding: clamp(22px, 4vw, 42px);
}

.download-card {
  max-width: 760px;
}

.detected,
.checksum,
.terminal-note {
  color: var(--muted);
  font-family: "Courier New", monospace;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border: 2px solid var(--line);
  border-radius: 999px;
  color: #fff8e8;
  background: var(--accent);
  box-shadow: 5px 5px 0 var(--line);
  font-family: "Courier New", monospace;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease;
}

.download-button:hover {
  background: var(--accent-dark);
  box-shadow: 2px 2px 0 var(--line);
  transform: translate(3px, 3px);
}

.instructions,
.support {
  margin-top: 36px;
}

ol {
  padding-left: 1.4rem;
  font-size: 1.2rem;
  line-height: 1.65;
}

code {
  border-radius: 6px;
  background: rgba(32, 26, 20, 0.08);
  padding: 0.08em 0.28em;
  font-family: "Courier New", monospace;
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 24px, 1100px);
    padding: 32px 0;
  }

  .download-card,
  .instructions,
  .support {
    box-shadow: 6px 6px 0 var(--line);
  }
}
