:root {
  color-scheme: light;
  --ink: #172a2b;
  --muted: #435657;
  --brand: #12545b;
  --brand-dark: #123a40;
  --surface: #f6f3eb;
  --line: #cbd1ca;
  --tint: #e5efed;
  font-family: system-ui, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
h1, h2, p, dl, dd { margin: 0; }

.wrap {
  width: min(62rem, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-content {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  padding-block: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-dark);
  font-size: 1.1rem;
  font-weight: 750;
}

.brand img { flex: none; }
a { color: var(--brand); text-underline-offset: 0.16em; }
a:hover { color: var(--brand-dark); }
a:focus-visible { outline: 3px solid #007586; outline-offset: 4px; }

.web-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.9rem;
  font-weight: 650;
}

main { padding-block: clamp(1.8rem, 6vw, 4rem) 2rem; }

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h2 { font-size: 1.2rem; line-height: 1.25; }
.intro { max-width: 55ch; margin-top: 0.65rem; color: var(--muted); }

.release, .panel {
  padding: clamp(1rem, 3vw, 1.65rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}

.release {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block: 1.5rem 1rem;
  background: var(--tint);
}

.release p { margin-top: 0.3rem; color: var(--muted); }

.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.15rem;
  border-radius: 0.5rem;
  background: var(--brand);
  color: #fff;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
}

.download:hover { background: var(--brand-dark); color: #fff; }

.details { display: grid; gap: 1rem; }
.panel { min-width: 0; }
ol { padding-inline-start: 1.3rem; }
li + li { margin-top: 0.6rem; }

.update {
  border-inline-start: 3px solid var(--brand);
  padding-inline-start: 0.75rem;
}

dl { margin-top: 0.9rem; }
dt { font-weight: 650; }
dd { margin-bottom: 0.65rem; }
code { font-size: 0.9em; overflow-wrap: anywhere; }

code[data-release="sha256"] {
  display: block;
  margin-top: 0.25rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.35rem;
  background: var(--surface);
}

.note { margin-top: 0.85rem; color: var(--muted); font-size: 0.93rem; }

footer {
  padding-block: 1rem 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 32rem) {
  .download { width: 100%; }
}

@media (min-width: 52rem) {
  .details { grid-template-columns: 5fr 4fr; align-items: start; }
}
