/* Fonts, reset, typography, focus. Self-hosted Barlow (OFL, see fonts/OFL.txt). */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-700.woff2") format("woff2"); }

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

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

body {
  margin: 0;
  font-family: var(--pn-font);
  font-size: var(--pn-fs-16);
  line-height: 1.5;
  color: var(--pn-charcoal);
  background: var(--pn-canvas);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0 0 var(--pn-sp-3); color: var(--pn-navy); line-height: 1.2; }
h1 { font-size: var(--pn-fs-32); font-weight: 700; }
h2 { font-size: var(--pn-fs-20); font-weight: 600; }
h3 { font-size: var(--pn-fs-16); font-weight: 600; }
p { margin: 0 0 var(--pn-sp-3); }

a { color: var(--pn-navy); text-underline-offset: 2px; }
a:hover { color: var(--pn-navy-deep); }

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

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

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--pn-navy); outline-offset: 2px; }

.num, time, .tabular { font-variant-numeric: tabular-nums; }

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

.muted { color: var(--pn-muted); }

/* Used only by the last-resort error page. */
.fallback { max-width: 40rem; margin: var(--pn-sp-16) auto; padding: 0 var(--pn-sp-4); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
