/* Shared components; import tokens.css first. No external dependencies. */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; background: var(--color-canvas); color: var(--color-text); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 5px; }
::selection { background: var(--color-primary-end); color: var(--color-white); }
.container { width: min(100%, var(--layout-container)); margin-inline: auto; padding-inline: var(--layout-gutter); }
.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; }
.skip-link { position: fixed; top: 16px; left: 16px; z-index: 99; padding: 12px 20px; border-radius: var(--radius-button); background: var(--color-text); color: var(--color-canvas); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.icon { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wordmark { display: inline-block; font: 500 40px/1 var(--font-display); letter-spacing: -.045em; color: var(--color-text); }
.eyebrow { margin: 0; font-size: var(--type-eyebrow-size); font-weight: 550; letter-spacing: var(--type-eyebrow-tracking); line-height: 1.65; text-transform: uppercase; color: var(--color-accent-ice); }
.btn { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 13px 26px; border: 1px solid transparent; border-radius: var(--radius-button); font-size: 16px; font-weight: 500; line-height: 1.25; text-align: center; white-space: nowrap; transition: background var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion-standard), transform var(--motion-fast); }
.btn .icon { width: 20px; height: 20px; }
.btn--primary { background: var(--gradient-primary); border-color: var(--color-border-strong); color: var(--color-white); box-shadow: var(--shadow-primary); }
.btn--secondary { border-color: var(--color-border-strong); color: var(--color-text); background: rgb(2 6 9 / .7); }
.btn--pill { border-radius: var(--radius-pill); min-height: 52px; padding-inline: 28px; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .42; box-shadow: none; }
@media (hover: hover) {
  .btn--primary:hover:not(:disabled) { background: var(--gradient-primary-hover); box-shadow: var(--shadow-primary-hover); }
  .btn--secondary:hover:not(:disabled) { background: var(--color-surface); border-color: var(--color-focus); }
}
.icon-btn { width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 8px; border: 1px solid var(--color-border); border-radius: var(--radius-button); background: var(--color-surface); color: var(--color-accent-ice); }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--color-border); border-radius: var(--radius-small); background: var(--color-surface); color: var(--color-text-muted); font-size: 11px; font-weight: 500; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
.panel { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-panel); }
.nav-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 4px; border: 0; background: none; font-size: 15px; font-weight: 450; color: var(--color-text-muted); transition: color var(--motion-fast); }
.nav-link:hover { color: var(--color-text); }
.text-link { color: var(--color-accent-ice); text-decoration: underline; text-underline-offset: .22em; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
