@font-face {
  font-family: Inter;
  src: url('/fonts/InterVariable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #faf9f6;
  --card: #ffffff;
  --surface: #f1f0ec;
  --surface-hover: #eae9e3;
  --ink: #191919;
  --muted: #5e5e58;
  --faint: #686861;
  --line: #e6e5df;
  --line-2: #d4d3cb;
  --accent: #d9ef9a;
  --accent-ink: #33451a;
  --clay: #3f4d2b;
  --clay-soft: #edf2e5;
  --sage: #32704b;
  --danger: #ba343b;
  --danger-soft: #fae9ea;
  --input-bg: #ffffff;
  --shadow: 0 24px 70px -30px #19191930;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #111210;
  --card: #191a18;
  --surface: #22231f;
  --surface-hover: #2b2d27;
  --ink: #f2f2ed;
  --muted: #b0b1a7;
  --faint: #96998b;
  --line: #30322b;
  --line-2: #44473d;
  --accent: #d9ef9a;
  --accent-ink: #293714;
  --clay: #d9ef9a;
  --clay-soft: #2a3120;
  --sage: #91cba2;
  --danger: #ff9197;
  --danger-soft: #392326;
  --input-bg: #1c1e19;
  --shadow: 0 24px 70px -30px #0009;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; line-height: 1.55; }
button, input, select, textarea { font-family: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-underline-offset: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }
button, a { touch-action: manipulation; }
img, svg { max-width: 100%; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 20000; padding: 10px 18px; border-radius: 6px; background: var(--ink); color: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.brand-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 21px; font-weight: 650; letter-spacing: -.9px; flex-shrink: 0; }
.brand-icon { display: inline-flex; justify-content: center; align-items: center; gap: 3px; width: 31px; height: 32px; border-radius: 8px; background: var(--ink); color: var(--paper); flex-shrink: 0; }
.brand-icon i { display: block; width: 3px; height: 11px; background: currentColor; border-radius: 3px; transform: rotate(15deg); }
.brand-icon i:nth-child(2) { height: 20px; }
.brand-icon i:nth-child(3) { height: 15px; }
.ui-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 10px 18px; border: 1px solid var(--ink); border-radius: 7px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 550; text-decoration: none; line-height: 1.3; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s; }
.ui-button:hover { transform: translateY(-2px); box-shadow: 0 5px 12px #0001; }
.ui-button:active { transform: translateY(0); }
.ui-button.secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.ui-button.secondary:hover { background: var(--surface); }
.ui-button svg { width: 16px; height: 16px; flex-shrink: 0; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 8px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--ink); transition: background .2s; }
.theme-toggle:hover { background: var(--surface); }
.theme-toggle svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
