* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); color: var(--text); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; font-family: var(--font-sans); font-size: var(--fs-2); line-height: var(--lh-body); background: var(--bg); color: var(--text); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.025em; line-height: var(--lh-title); }
p { color: var(--text-2); }
::selection { background: color-mix(in srgb, var(--accent) 28%, transparent); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 78%, white 4%); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: var(--space-4); top: var(--space-4); z-index: 1000; transform: translateY(-160%); background: var(--inverted-bg); color: var(--inverted); padding: 10px 14px; border-radius: var(--radius-s); font-weight: 700; }
.skip-link:focus { transform: none; }
button { border: 0; }
.icon-button { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--line); background: var(--surface); border-radius: 50%; transition: border-color var(--dur-fast), transform var(--dur-fast), background var(--dur-fast); }
.icon-button:hover { border-color: var(--line-strong); }
.icon-button:active { transform: scale(.96); }
.primary-button, .secondary-button, .quiet-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 16px; border-radius: var(--radius-s); font-weight: 720; line-height: 1.2; transition: transform var(--dur-fast), background var(--dur-fast), border-color var(--dur-fast); }
.primary-button { background: var(--text); color: var(--bg); }
.primary-button:hover { transform: translateY(-1px); }
.secondary-button { background: var(--surface); border: 1px solid var(--line); }
.quiet-button { background: transparent; color: var(--text-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 var(--fs-0)/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.field { display: grid; gap: 8px; }
.field > span { font-size: var(--fs-1); font-weight: 700; }
input, textarea, select { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-s); padding: 12px 13px; min-height: 46px; }
textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--text-3); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.noscript { position: fixed; inset: 20px; z-index: 10000; padding: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
