:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #251b16;
  background: #fbf3e9;
  --paper: #fffdf7;
  --muted: #624e42;
  --line: #dac8b8;
  --orange: #aa3511;
  --orange-hover: #872708;
}

* { box-sizing: border-box; }

body { margin: 0; }

.masthead,
.download-page {
  max-width: 75rem;
  margin-inline: auto;
  width: calc(100% - 3rem);
}

.masthead {
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--orange);
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: -.055em;
}

.download-page {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(19rem, .8fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3rem, 10vw, 8rem);
}

.intro h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.8rem, 6.6vw, 6rem);
  font-weight: 850;
  letter-spacing: -.075em;
  line-height: .98;
}

.intro p {
  max-width: 34ch;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.download {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-top: .4rem solid var(--orange);
  background: var(--paper);
}

.download h2 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -.025em;
}

.version {
  margin: .25rem 0 1.5rem;
  color: var(--muted);
}

.download-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: .65rem 1rem;
  border-radius: .35rem;
  background: var(--orange);
  color: white;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.download-button:hover { background: var(--orange-hover); }

.activation {
  margin: 1.2rem 0;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.6;
}

.checksum {
  color: var(--orange-hover);
  font-size: .9rem;
  text-underline-offset: .15em;
}

a:focus-visible {
  outline: .18rem solid #251b16;
  outline-offset: .22rem;
}

@media (max-width: 50rem) {
  .download-page { grid-template-columns: 1fr; }
  .download { max-width: 32rem; }
}

@media (max-width: 24rem) {
  .masthead,
  .download-page { width: calc(100% - 2rem); }
}
