*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--bg); color: var(--ink);
  font-family: var(--font-ui); font-size: var(--text-md); line-height: 1.6;
  overflow-wrap: break-word; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
h1 { font-size: var(--text-2xl); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
h2 { font-size: var(--text-xl); line-height: 1.3; letter-spacing: -.015em; font-weight: 680; }
h3 { font-size: var(--text-lg); line-height: 1.35; font-weight: 650; }
h4 { font-size: var(--text-md); font-weight: 650; }
p + p { margin-top: var(--s3); }
a { color: var(--primary); text-underline-offset: .18em; }
a:hover { color: var(--primary-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s4); top: -4rem; z-index: 100; background: var(--primary); color: var(--primary-ink); padding: var(--s2) var(--s4); border-radius: var(--radius-sm); }
.skip-link:focus { top: var(--s3); }
.muted { color: var(--muted); }
.small { font-size: var(--text-sm); }
.xs { font-size: var(--text-xs); }
.nowrap { white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums; }
.en { font-style: italic; color: var(--accent); }
.en::before { content: "("; font-style: normal; }
.en::after { content: ")"; font-style: normal; }
.en.bare::before, .en.bare::after { content: none; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } }
:root[data-motion="reduce"] *, :root[data-motion="reduce"] *::before, :root[data-motion="reduce"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
h1[tabindex="-1"]:focus, main[tabindex="-1"]:focus { outline: none; }
h1 svg, h2 svg, h3 svg, p svg, li svg, .badge svg, .timer svg, .callout-title svg { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; }
.en.bare { white-space: normal; }
