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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nf-header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--nf-font);
  color: var(--nf-ink);
  background: var(--nf-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--nf-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 650;
}

h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 650;
}

h3 {
  font-size: 1.1rem;
  font-weight: 650;
}

p {
  margin: 0;
  color: var(--nf-ink-2);
}

.container {
  width: min(100% - 2rem, var(--nf-container));
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section--tight {
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
}

.section--muted {
  background: var(--nf-bg-2);
}

.section--gold {
  background: var(--nf-bg-2);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--nf-ink-3);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  font-size: 1.05rem;
  max-width: 42rem;
}

.text-gold {
  color: var(--nf-gold);
}

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

::selection {
  background: rgba(110, 166, 255, 0.25);
}
