/* Base typography and layout. Manrope for headings, Inter for body text. */
body {
  margin: 0;
  font-family: var(--norvane-font-body);
  font-size: var(--norvane-text-body);
  line-height: var(--norvane-leading-body);
  color: var(--norvane-ink-body);
  background: var(--norvane-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--norvane-font-display);
  color: var(--norvane-ink);
  line-height: var(--norvane-leading-snug);
  letter-spacing: var(--norvane-tracking-heading);
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--norvane-text-h1); line-height: var(--norvane-leading-tight); letter-spacing: var(--norvane-tracking-display); font-weight: 800; }
h2 { font-size: var(--norvane-text-h2); }
h3 { font-size: var(--norvane-text-h3); }
h4 { font-size: var(--norvane-text-h4); }

p { max-width: var(--norvane-measure); }
a { color: var(--norvane-orange-action); text-underline-offset: 0.18em; }
a:hover { color: var(--norvane-orange-action-hover); }

:focus-visible { outline: 3px solid var(--norvane-focus-light); outline-offset: 2px; }
.nv-on-dark :focus-visible, .nv-section--dark :focus-visible { outline-color: var(--norvane-focus); }

img, svg, video { max-width: 100%; height: auto; }

.skip-link:focus { z-index: calc(var(--norvane-z-menu) + 1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
