*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: .9375em;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img, svg, video, iframe { display: block; max-width: 100%; }
input, textarea, select { min-width: 0; }
textarea { resize: vertical; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(var(--accent-rgb),.25); outline-offset: 2px; }
::selection { background: rgba(var(--accent-rgb),.2); }

h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-display); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
h1 { font-size: clamp(2.26667em, 4vw, 3.86667em); }
h2 { font-size: clamp(1.73333em, 2.6vw, 2.53333em); }
h3 { font-size: clamp(1.33333em, 1.8vw, 1.86667em); }
small { color: var(--muted); }

button { border: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c9cec9; border: 3px solid var(--bg); border-radius: 10px; }
