html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--space-md));
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-navy-800);
  background-image: var(--gradient-page);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-heading);
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

h1 {
  font-size: var(--text-2xl);
}

h2 {
  font-size: var(--text-xl);
}

h3 {
  font-size: var(--text-md);
}

p {
  color: var(--color-text-muted);
}

a {
  color: var(--color-accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-white);
}

:focus-visible {
  outline: 2px solid var(--color-tan);
  outline-offset: 3px;
}

::selection {
  background: var(--color-copper);
  color: var(--color-white);
}

/* Inline SVG <symbol> sprite — kept out of layout (reset.css makes svg display:block) */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.highlight {
  color: var(--color-tan);
  font-weight: 600;
}
