/* ==========================================================================
   Base: reset, typography, utilities
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.75; font-weight: 400;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; }
img, video { display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .5em; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(1.65rem, 3.4vw, 2.3rem); font-weight: 800; }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
button { font-family: inherit; }

.muted { color: var(--muted); }
.faint { color: var(--faint); font-size: .9rem; }
.small { font-size: .88rem; }
.center { text-align: center; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.stack > * + * { margin-top: 16px; }
.stack-sm > * + * { margin-top: 8px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.center { justify-content: center; }
.row.end { justify-content: flex-end; }
.row.top { align-items: flex-start; }
.grow { flex: 1; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 8px !important; } .mt-3 { margin-top: 16px !important; }
.mt-4 { margin-top: 24px !important; } .mt-5 { margin-top: 40px !important; }
.mb-0 { margin-bottom: 0 !important; } .mb-3 { margin-bottom: 16px !important; } .mb-4 { margin-bottom: 24px !important; }
.pre { white-space: pre-line; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.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-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 300; padding: 10px 18px;
  background: var(--primary); color: #fff; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(232, 180, 74, .6); outline-offset: 2px; box-shadow: none; }
::selection { background: var(--primary-100); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
