*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.6; font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 650; line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.3rem + 3.8vw, 4.1rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.04; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.35rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
h4 { font-size: 1rem; }
.h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.35rem); }
.h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
.link { color: var(--brand-text); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand-text) 35%, transparent); text-underline-offset: 3px; }
.link:hover { text-decoration-color: currentColor; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-s); }
::selection { background: var(--brand); color: #fff; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); color: var(--ink-2); max-width: 60ch; }
.mt { margin-top: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: var(--r-s); }
.skip:focus { left: 8px; }
.row-gap { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.stack { display: grid; gap: 1.1rem; }
.stretched::after { content: ""; position: absolute; inset: 0; }
.ok-text { color: var(--ok); } .bad-text { color: var(--bad); }
.dot-sep { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); margin: 0 .5rem; vertical-align: middle; }

.i { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-fill { fill: currentColor; stroke-width: 1; }

.only-dark { display: none; }
[data-theme="dark"] .only-dark { display: block; }
[data-theme="dark"] .only-light { display: none; }

.show-m { display: none; }
@media (max-width: 900px) { .show-m { display: inline-flex; } .hide-m { display: none !important; } }
@media (max-width: 520px) { .hide-s { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
