@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  background: var(--bg-dark);
}

body {
  min-height: 100%;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-light);
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(128, 108, 255, 0.16), transparent 60%),
    var(--bg-dark);
  color-scheme: dark;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.35rem, 6.4vw, 5.4rem);
  font-weight: 560;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 3.15rem);
}

h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

p + p {
  margin-top: 1rem;
}

a {
  text-underline-offset: 0.18em;
}

.prose a,
.crumbs a,
.related a,
.footer-col a,
.legal-links a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  background: rgba(128, 108, 255, 0.35);
  color: var(--text-light);
}

.section-paper ::selection {
  background: rgba(63, 52, 158, 0.22);
  color: var(--text-dark);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--text-light);
  color: var(--text-dark);
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

.italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(128, 108, 255, 0.18);
}

.lede {
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.55;
  color: var(--muted-light);
  max-width: 42rem;
}

.section-paper .lede,
.section-paper .muted {
  color: var(--muted-dark);
}

.muted {
  color: var(--muted);
}

.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;
}
