* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track, *::-webkit-scrollbar-corner { background: var(--scrollbar-track); }
*::-webkit-scrollbar-thumb {
  min-height: 28px;
  border: 2px solid var(--scrollbar-track);
  border-radius: 999px;
  background: var(--scrollbar-thumb);
}
*::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-thumb-hover); }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4,p { margin-top: 0; }
h1,h2,h3,h4 { letter-spacing: -.02em; }
h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
h3 { font-size: 16px; margin-bottom: 6px; }
p { color: var(--text-soft); }
small { color: var(--text-faint); }
hr { border: 0; border-top: 1px solid var(--border); margin: 8px 0; }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-500) 35%, transparent);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 16px; }

.muted { color: var(--text-faint); }
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-faint);
  font-weight: 700;
}
.link { color: var(--brand-600); font-weight: 600; }
.align-right { text-align: right; }
.mobile-only { display: none !important; }

@media (max-width: 900px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: inline-flex !important; }
}
