:root {
  --bg: #fbfaf7; --surface: #ffffff; --text: #1d2430; --muted: #5a6474; --line: #e3e0d8;
  --accent: #1f5f8b; --accent-ink: #ffffff; --soon-bg: #eaf2f8; --soon-ink: #1f4f73; --focus: #c2410c;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12161c; --surface: #1a2029; --text: #e7eaee; --muted: #a3acb9; --line: #2b3340;
    --accent: #7cb8e4; --accent-ink: #0d1520; --soon-bg: #1d3245; --soon-ink: #cfe5f6; --focus: #fdba74;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12161c; --surface: #1a2029; --text: #e7eaee; --muted: #a3acb9; --line: #2b3340;
  --accent: #7cb8e4; --accent-ink: #0d1520; --soon-bg: #1d3245; --soon-ink: #cfe5f6; --focus: #fdba74;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; }
.skip:focus { left: 8px; z-index: 10; }
header.site { border-bottom: 1px solid var(--line); background: var(--surface); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; line-height: 1.25; }
.logo { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 700; letter-spacing: .5px; flex: none; }
nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
nav a { color: var(--muted); text-decoration: none; padding: 4px 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); text-decoration: underline; }
main { padding-top: 32px; padding-bottom: 48px; }
h1 { font-size: clamp(28px, 5vw, 42px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -.01em; }
h2 { font-size: 23px; line-height: 1.25; margin: 40px 0 12px; }
h3 { font-size: 19px; margin: 0; }
.lead { font-size: 19px; color: var(--muted); max-width: 46em; }
.hero { padding: 16px 0 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; }
.card > p { margin: 12px 0; }
.card-head { display: flex; gap: 14px; align-items: center; }
.tag { margin: 2px 0 0; color: var(--muted); font-size: 15px; line-height: 1.35; }
.mark { display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 12px; color: #fff; font-weight: 700; font-size: 22px; background: hsl(var(--h) 55% 38%); }
.meta { margin-top: auto !important; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 15px; color: var(--muted); }
.soon { background: var(--soon-bg); color: var(--soon-ink); border-radius: 999px; padding: 3px 12px; font-weight: 600; }
.points ul, .list { padding-left: 1.2em; }
.points li, .doc li { margin: 6px 0; }
.doc { max-width: 46em; }
.doc .meta { font-size: 15px; }
.crumb { font-size: 15px; color: var(--muted); margin: 0 0 8px; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; padding: 20px 0 32px; }
footer.site p { margin: 6px 0; }
.small { font-size: 13px; }
