:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans SC", sans-serif;
  color: #172033;
  background: #f3f6fb;
}

* { box-sizing: border-box; }
body { margin: 0; }
.page-shell { width: min(720px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 36px; }
.hero { margin-bottom: 24px; }
.eyebrow { margin: 0 0 8px; color: #4361ee; font-weight: 700; letter-spacing: .08em; }
h1, h2, h3 { margin-top: 0; }
h1 { margin-bottom: 12px; font-size: clamp(2rem, 6vw, 3rem); }
.intro { color: #516078; line-height: 1.7; }
.card { margin: 18px 0; padding: 24px; border: 1px solid #dfe5ef; border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgb(31 48 82 / 7%); }
.card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.card-heading h2 { margin-bottom: 0; }
.status { color: #516078; font-size: .9rem; }
.status.ok { color: #19764a; }
.status.bad, .error { color: #b42318; }
.release-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 24px 0; }
.release-details div { min-width: 0; }
dt { color: #64748b; font-size: .85rem; }
dd { margin: 4px 0 0; overflow-wrap: anywhere; font-weight: 600; }
.notes-block { border-top: 1px solid #e7ebf2; padding-top: 18px; }
.notes-block h3 { font-size: 1rem; }
#release-notes { white-space: pre-wrap; line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 18px; border: 0; border-radius: 10px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.button.primary { color: #fff; background: #3154d9; }
.button.secondary { color: #24355f; background: #e9eefc; }
.button:focus-visible { outline: 3px solid #91a8ff; outline-offset: 2px; }
.integrity, .notice, footer { color: #64748b; font-size: .88rem; line-height: 1.6; }
.instructions li { margin: 10px 0; line-height: 1.65; }
footer { padding: 4px 0; text-align: center; }
@media (max-width: 520px) {
  .page-shell { padding-top: 32px; }
  .card { padding: 18px; }
  .release-details { grid-template-columns: 1fr; }
  .card-heading { display: block; }
  .status { display: block; margin-top: 8px; }
}
