@import url("./design.css");
/* base.css — reset, typography, theme variables (light + dark) */

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }



body {
  background: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-ui);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
  line-height: 1.2;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

::selection {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

/* Subtle scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); background-clip: padding-box; }

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

/* Shared readability and keyboard contract. */
html{font-size:16px;line-height:1.5;color:var(--text-primary);background:var(--bg-app);font-variant-numeric:tabular-nums}
h1,h2,h3,h4,h5,h6{font-weight:700;letter-spacing:-.025em}
a{text-underline-offset:4px}
:focus-visible{outline:3px solid var(--focus-color);outline-offset:3px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
