:root {
  color-scheme: light;
  --white: #ffffff;
  --bg: #f8f8f8;
  --bg2: #f0f0f0;
  --border: #e4e4e4;
  --text: #242424;
  --sub: #6b6b6b;
  --accent: #303030;
  --ink: #111111;
  --green: #287a51;
  --background: var(--bg);
  --foreground: var(--text);
  --card: var(--white);
  --card-foreground: var(--text);
  --muted: var(--bg2);
  --muted-foreground: var(--sub);
  --input: var(--border);
  --primary: var(--ink);
  --primary-foreground: #ffffff;
  --destructive: #b42318;
  --ring: #999999;
  --success: var(--green);
  --warning: #946019;
  --radius: 12px;
  --shadow: 0 2px 6px rgba(0, 0, 0, .025), 0 12px 32px rgba(0, 0, 0, .045);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
a, button, input, select { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
:is(a, button, input, select):focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
button, a { transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease; }
::selection { background: #dedede; color: var(--ink); }

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