/* Witly Design System — Base reset & element defaults
   Minimal, dark-first. Consumers linking styles.css inherit these sensible defaults. */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background: var(--bg-app);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text-heading);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-snug);
}

p { margin: 0; }

a { color: var(--text-accent); text-decoration: none; transition: color var(--dur-base) var(--ease-out); }
a:hover { color: var(--brand-fuchsia); }

code, kbd, samp, pre { font-family: var(--font-mono); }

::selection { background: rgba(217, 70, 239, 0.30); color: #fff; }

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

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