/* Datavid — base element defaults.
 * Light-touch: sets the brand type + color defaults on the document so any
 * consuming page inherits the Datavid look. Components style themselves via tokens.
 */
:root {
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--body-font);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: var(--body-leading);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  line-height: var(--heading-leading);
  color: var(--text-strong);
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}
h1 { font-size: var(--text-3xl); font-weight: var(--weight-bold); letter-spacing: var(--tracking-tight); line-height: var(--leading-tight); }
h2 { font-size: var(--text-2xl); font-weight: var(--weight-bold); letter-spacing: var(--tracking-snug); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
h5 { font-size: var(--text-md); }
h6 { font-size: var(--text-sm); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-muted); }

p { margin: 0 0 var(--space-4); text-wrap: pretty; }

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}
a:hover { color: var(--color-accent-deep); }

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

small { font-size: var(--text-sm); }
strong, b { font-weight: var(--weight-medium); }

::selection { background: var(--dv-cyan-200); color: var(--dv-navy-800); }

:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-xs); }

hr { border: 0; border-top: var(--border-width) solid var(--border-subtle); margin: var(--space-6) 0; }
