
:root {
  color-scheme: light dark;
  --paper: #f8fafb; --surface: #fff; --ink: #20282e; --muted: #56646f;
  --line: #dbe2e7; --accent: #075985; --accent-hover: #064568;
  --soft: #f0f5f8; --fixed: #24634c; --improved: #415165; --added: #07658a; --warning: #7b4a12;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper);
  font-synthesis: none; text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: var(--accent-hover); }
a, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
[id] { scroll-margin-top: 24px; }
svg { width: 20px; height: 20px; flex: none; }
.shell { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -100px; padding: 12px 20px; background: var(--surface); z-index: 2; }
.skip:focus { top: 12px; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--ink); font-size: 19px; font-weight: 650; letter-spacing: -.4px; }
.brand-mark { background: var(--ink); color: var(--surface); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; }
.brand-label { border-left: 1px solid var(--line); padding-left: 16px; margin-left: 4px; color: var(--muted); font-size: 14px; font-weight: 400; letter-spacing: 0; }
nav { display: flex; gap: 24px; flex-wrap: wrap; }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; font-weight: 550; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.page-heading { padding-block: 38px 28px; }
h1 { font-size: 32px; letter-spacing: -.9px; line-height: 1.25; font-weight: 650; margin: 0 0 6px; }
.page-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.latest-release { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 40px; align-items: start; padding-bottom: 32px; }
.download-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.download-card h2 { font-size: 16px; font-weight: 650; line-height: 1.4; margin: 0 0 6px; }
.release-meta { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.button { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px; min-height: 48px; color: #fff; background: var(--accent); border: 1px solid var(--accent); border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.4; transition: background-color 150ms; text-align: center; }
.button:hover { background: var(--accent-hover); color: #fff; }
.button:focus-visible { outline-offset: 4px; }
.compatibility { font-size: 12px; color: var(--muted); margin: 10px 0 0; text-align: center; }
.notice { font-size: 13px; color: var(--warning); margin-top: 16px; }
.history { border-top: 1px solid var(--line); padding-block: 28px 56px; }
.section-heading { margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-size: 20px; letter-spacing: -.3px; font-weight: 650; }
.release { border-bottom: 1px solid var(--line); padding-block: 24px; }
.release:first-child { padding-top: 0; }
.latest-release .release { border: 0; padding: 4px 0 0; }
.release:last-child { border-bottom: 0; }
.release-header { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 7px; }
.release h2, .release h3 { font-size: 17px; line-height: 1.4; margin: 0; font-weight: 650; }
.release time { display: block; color: var(--muted); font-size: 12px; margin-bottom: 16px; }
.badge { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; padding: 1px 7px; color: var(--fixed); background: var(--soft); font-size: 11px; font-weight: 650; }
.changes { list-style: none; padding: 0; color: var(--muted); font-size: 14px; margin: 0; }
.changes li { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; margin-bottom: 12px; }
.changes li:last-child { margin-bottom: 0; }
.change-kind { display: inline-flex; gap: 6px; align-items: baseline; font-weight: 600; font-size: 12px; padding-top: 2px; }
.change-kind svg { width: 14px; height: 14px; align-self: flex-start; margin-top: 3px; }
.kind-fixed { color: var(--fixed); }
.kind-improved { color: var(--improved); }
.kind-added { color: var(--added); }
.muted { color: var(--muted); font-size: 14px; }
.release p { font-size: 14px; }
summary { cursor: pointer; min-height: 44px; padding-block: 11px; font-size: 12px; font-weight: 600; }
details p { margin: 0 0 12px; font-size: 12px; color: var(--muted); }
details[open] summary { color: var(--accent); }
.file-details { margin-top: 16px; border-top: 1px solid var(--line); }
.file-details dl { margin: 0; font-size: 12px; }
.file-details dt { font-weight: 600; margin-top: 10px; }
.file-details dd { margin: 3px 0 12px; overflow-wrap: anywhere; color: var(--muted); }
.file-details code { font-size: 11px; }
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .header { gap: 10px; flex-wrap: wrap; padding-block: 16px; }
  .brand-label { display: none; }
  nav { gap: 16px; }
  nav a { font-size: 13px; }
  .page-heading { padding-block: 26px; }
  .latest-release { grid-template-columns: 1fr; gap: 26px; }
  .latest-release .download-card { grid-row: 1; }
  .changes li { grid-template-columns: 85px minmax(0, 1fr); gap: 8px; }
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #151719; --surface: #1b1e21; --ink: #f1f3f5; --muted: #b2bdc7; --line: #353b41; --accent: #087ea4; --accent-hover: #096785; --soft: #252c31; --fixed: #9bc8ad; --improved: #d4dae2; --added: #7edaf4; --warning: #ecc793; }
  a:not(.button) { color: var(--ink); }
  :focus-visible { outline-color: #7edaf4; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media (forced-colors: active) { .button, .brand-mark, .badge { border: 1px solid ButtonText; } }
