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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--text-display); margin: 0; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
h3 { font-size: 20px; line-height: 26px; }
p { margin: 0; }

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

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

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.icon { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Layout classes set display (flex, grid); keep the hidden attribute meaning hidden. */
[hidden] { display: none !important; }

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

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--c-charcoal); color: #fff; padding: 10px 14px; border-radius: var(--r-button);
}
.skip-link:focus { top: 8px; }

.overline {
  font-size: var(--fs-overline); line-height: 16px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-gold-text);
}
.muted { color: var(--text-2); }
.small { font-size: var(--fs-small); line-height: 20px; }
.num { font-variant-numeric: tabular-nums; }
.display { font-family: var(--font-display); }

.gold-rule {
  height: 1px; border: 0; margin: 0; background: var(--c-gold);
  box-shadow: 0 3px 0 var(--surface), 0 4px 0 var(--c-line-strong);
}
