*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: var(--s4); background: var(--background); }
body {
  margin: 0;
  min-width: 0;
  color: var(--text);
  background: var(--background);
  font: 400 16px/1.55 var(--font);
}
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
h1 { font-size: 24px; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
small, .small { font-size: 14px; }
strong { font-weight: 600; }
ul, ol { margin: 0; padding-inline-start: var(--s6); }
a { color: var(--primary); text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; }
::placeholder { color: var(--secondary); opacity: 1; }
button, select, summary { cursor: pointer; }
button:disabled, input:disabled, textarea:disabled { cursor: default; }
textarea { resize: vertical; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
main:focus { outline: none; }
code, pre { font: inherit; }
progress { width: 100%; accent-color: var(--primary); }
::selection { color: var(--text); background: var(--primary-soft); }
