*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-16);
    line-height: 1.5;
    color: var(--ink-900);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0 0 var(--s-3); line-height: 1.2; font-weight: 600; color: var(--ink-900); }
h1 { font-size: var(--fs-32); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-24); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-18); }
h4 { font-size: var(--fs-16); }
p { margin: 0 0 var(--s-4); }
a { color: var(--brand-600); text-decoration: none; text-underline-offset: 2px; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
svg.icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }
code, kbd, pre, .mono { font-family: var(--font-mono); font-size: .92em; }
code { background: var(--surface-50); border: 1px solid var(--line-100); border-radius: 4px; padding: 0 4px; }
pre { margin: 0 0 var(--s-4); padding: var(--s-4); background: var(--surface-50); border: 1px solid var(--line-200); border-radius: var(--radius-card); overflow-x: auto; font-size: var(--fs-13); line-height: 1.6; }
pre code { background: none; border: 0; padding: 0; }
hr { border: 0; border-top: 1px solid var(--line-200); margin: var(--s-6) 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; }
::selection { background: #D6E8F2; }
table { border-collapse: collapse; }
.num, .tabular { font-variant-numeric: tabular-nums; }

/* Utilities */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hidden, [hidden] { display: none !important; }
.muted { color: var(--ink-700); }
.subtle { color: var(--ink-500); }
.small { font-size: var(--fs-14); }
.xsmall { font-size: var(--fs-13); }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.stack > * + * { margin-top: var(--s-4); }
.stack-sm > * + * { margin-top: var(--s-2); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.cluster-lg { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.spread { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.grow { flex: 1; min-width: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-4); }
@media (min-width: 768px) { .container { padding: 0 var(--s-6); } }
.eyebrow { display: block; margin-bottom: var(--s-2); font-size: var(--fs-12); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500); }
.text-danger { color: var(--danger-text); }
.text-success { color: var(--success-text); }
.text-warning { color: var(--warning-text); }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: var(--s-4); } .mt-6 { margin-top: var(--s-6); } .mt-8 { margin-top: var(--s-8); }
.mb-2 { margin-bottom: var(--s-2); } .mb-4 { margin-bottom: var(--s-4); } .mb-6 { margin-bottom: var(--s-6); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; scroll-behavior: auto !important; }
}
