:root,
:root[data-theme='light'] {
  color-scheme: light;
  --lime: #c5fc45;
  --lime-ink: #151515;
  --ink: #151515;
  --bg: #f7f5f0;
  --surface: #ffffff;
  --sand: #e5ddd3;
  --line: #d8d0c6;
  --muted: #716a61;
  --success-bg: #dfebe0;
  --success-ink: #316440;
  --warning-bg: #f5e5c8;
  --warning-ink: #8b5c20;
  --danger-bg: #f2dada;
  --danger-ink: #a13636;
  --info-bg: #dfe8ef;
  --info-ink: #3c607b;
  --unknown-bg: #e5e3df;
  --unknown-ink: #625e58;
  --child-mint: #d4e7df;
  --child-mint-ink: #356951;
  --child-clay: #ebd3c5;
  --child-clay-ink: #98613f;
  --child-lavender: #e1dde9;
  --child-lavender-ink: #5c5278;
  --child-sky: #d9e5f0;
  --child-sky-ink: #3c607b;
  --child-butter: #f0e7bd;
  --child-butter-ink: #6d5a1e;
  --child-rose: #ebd8df;
  --child-rose-ink: #7a4658;
  --child-sage: #dce2cc;
  --child-sage-ink: #4d5a32;
  --child-oat: #e8dfd0;
  --child-oat-ink: #5e5142;
  --radius-field: 12px;
  --radius-panel: 16px;
  --radius-card: 24px;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', 'Avenir Next', 'Segoe UI', sans-serif;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --lime: #a6c65a;
  --lime-ink: #151515;
  --ink: #dad7ce;
  --bg: #111110;
  --surface: #1d1d1b;
  --sand: #2b2a27;
  --line: #42413d;
  --muted: #a29e94;
  --success-bg: #1e3328;
  --success-ink: #b7d7c0;
  --warning-bg: #3a2e1c;
  --warning-ink: #efd3a4;
  --danger-bg: #3a2222;
  --danger-ink: #f0bdbd;
  --info-bg: #1d2c38;
  --info-ink: #c5d7e6;
  --unknown-bg: #2a2926;
  --unknown-ink: #c8c4bb;
  --child-mint: #25342d;
  --child-mint-ink: #d5ebe2;
  --child-clay: #392d26;
  --child-clay-ink: #f0d8c8;
  --child-lavender: #2c2936;
  --child-lavender-ink: #e4dff0;
  --child-sky: #24303a;
  --child-sky-ink: #d4e4f2;
  --child-butter: #383320;
  --child-butter-ink: #f3e7c0;
  --child-rose: #38282e;
  --child-rose-ink: #f0d5df;
  --child-sage: #2c3224;
  --child-sage-ink: #e0e6d0;
  --child-oat: #332e27;
  --child-oat-ink: #efe4d4;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
}

button {
  cursor: pointer;
}

button:not(:disabled) {
  position: relative;
}

button:not(:disabled)::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}

button:hover:not(:disabled)::before {
  opacity: 0.1;
}

button:disabled {
  cursor: default;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

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