:root {
  color-scheme: light;
  --paper: #f6f6f2;
  --ink: #272d29;
  --muted: #656c65;
  --green: #3f5747;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 6px;
}
::selection { background: #dce5d7; }

.page {
  width: min(100% - 48px, 420px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--paper);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.header { padding-top: 48px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1.5px;
}
.brand-mark { width: 27px; height: 27px; color: var(--green); }

main { margin-block: auto; padding-block: 72px; }
.release-label { margin: 0 0 15px; color: var(--muted); font-size: 13px; }
.version {
  margin: 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(52px, 12vw, 76px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -3px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.download-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  margin-top: 32px;
  padding: 14px 20px;
  border: 1px solid var(--green);
  border-radius: 4px;
  color: #fff;
  background: var(--green);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}
.download-button:hover { background: #304437; }
.download-button svg { width: 20px; height: 20px; flex-shrink: 0; }
.release-status { margin: 24px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.retry-button {
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid #d9ddd4;
  border-radius: 4px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}
.retry-button:hover { border-color: var(--green); }
.footer { padding-bottom: 32px; color: var(--muted); font-size: 12px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer span { margin-left: 5px; }

@media (max-width: 480px) {
  .header { padding-top: 32px; }
  .footer { padding-bottom: 24px; }
}
