:root {
  color-scheme: light dark;
  --background: #f7f3eb;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #52606d;
  --accent: #245843;
  --accent-hover: #173d2e;
  --border: #c7d1cb;
  --focus: #1d4ed8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

.content-width { width: min(100% - 2rem, 46rem); margin-inline: auto; }
.site-header { padding: 2rem 0 1.25rem; background: #e7efe8; border-bottom: 1px solid var(--border); }
.product-name { margin: 0; font-size: 1.45rem; font-weight: 750; }
.eyebrow { margin: 0; color: var(--muted); font-size: .9rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.hero { padding: 2.5rem 0 1.5rem; }
h1, h2 { line-height: 1.2; }
h1 { margin: .35rem 0 1rem; font-size: clamp(2rem, 7vw, 3rem); }
h2 { margin-top: 0; font-size: 1.3rem; }
.card { margin: 1rem 0; padding: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1rem; border: 0; border-radius: .5rem; background: var(--accent); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--accent-hover); }
.button:disabled { background: #6b7280; cursor: not-allowed; }
.release-details { margin: 0; }
.release-details div { display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(0, 2fr); gap: .75rem; padding: .65rem 0; border-top: 1px solid var(--border); }
.release-details div:first-child { border-top: 0; }
dt { font-weight: 700; }
dd { margin: 0; overflow-wrap: anywhere; }
.checksum { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .85rem; }
.small-text { color: var(--muted); font-size: .9rem; }
.site-footer { margin-top: 2rem; padding: 1.5rem 0 2rem; color: var(--muted); }
.skip-link { position: absolute; left: .75rem; top: -4rem; z-index: 2; padding: .5rem .75rem; background: #fff; color: var(--text); }
.skip-link:focus { top: .75rem; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

@media (prefers-color-scheme: dark) {
  :root { --background: #101916; --surface: #17231e; --text: #f5f7f6; --muted: #c6d1cb; --accent: #69b18f; --accent-hover: #92d3b0; --border: #3b5147; --focus: #93c5fd; }
  .site-header { background: #16261f; }
  .button { color: #092015; }
  .button:disabled { color: #fff; background: #5d6872; }
  .skip-link { background: #fff; color: #111827; }
}

@media (max-width: 32rem) {
  .release-details div { grid-template-columns: 1fr; gap: .15rem; }
  .card { padding: 1rem; }
}
