/* Privacy and 404 pages: the same system as the app (slate ground, Public Sans, one petrol-blue accent). */
@font-face {
  font-display: swap;
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  src: url("/fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  ascent-override: 93%;
  descent-override: 22%;
  font-family: "Public Sans Fallback";
  line-gap-override: 0%;
  size-adjust: 104%;
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
}

:root {
  --ground: #f3f5f8;
  --surface: #ffffff;
  --line: #d6dce5;
  --ink: #111b27;
  --ink-2: #2b3847;
  --muted: #4a5869;
  --accent: #134e78;
  --accent-hover: #0d3c5d;
  color-scheme: light;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--ground);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  font-family: "Public Sans", "Public Sans Fallback", system-ui, "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0;
  min-height: 100vh;
}

::selection {
  background: #c5dcee;
  color: var(--ink);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-hover);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* The support address is one long word; let it wrap on narrow screens and with wider text spacing. */
a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

.skip-link {
  background: var(--accent);
  border-radius: 0.25rem;
  color: #fff;
  font-weight: 650;
  left: 0.75rem;
  padding: 0.6rem 0.9rem;
  position: absolute;
  top: -4rem;
  z-index: 20;
}

.skip-link:focus,
.skip-link:hover {
  color: #fff;
  top: 0.75rem;
}

.site-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-bar-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 74rem;
  min-height: 3.75rem;
  padding: 0 1.5rem;
}

.wordmark {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 1.1875rem;
  font-weight: 700;
  gap: 0.6rem;
  letter-spacing: -0.015em;
  padding: 0.65rem 0;
  text-decoration: none;
}

.wordmark:hover {
  color: var(--ink);
}

.wordmark-mark {
  background: var(--accent);
  border-radius: 0.25rem;
  display: grid;
  flex: none;
  height: 1.5rem;
  place-items: center;
  width: 1.5rem;
}

.wordmark-mark svg {
  fill: none;
  height: 1rem;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
  width: 1rem;
}

.site-bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.site-bar nav a {
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 550;
  padding: 0.75rem 0.8rem;
  text-decoration: none;
}

.site-bar nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* Same 74rem column as the header, so the text lines up under the wordmark; the measure stays 44rem. */
.static-page {
  flex: 1 0 auto;
  margin: 0 auto;
  max-width: 74rem;
  padding: 2.5rem 1.5rem 5rem;
  width: 100%;
}

/* The same footer as the app's pages, with the support address and the Feedback link. */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.site-footer-inner {
  display: grid;
  gap: 0.6rem;
  margin: 0 auto;
  max-width: 74rem;
  padding: 1.75rem 1.5rem 2.25rem;
}

.site-footer p {
  margin: 0;
  max-width: 62rem;
}

.site-footer a {
  color: var(--ink-2);
}

.static-page > * {
  max-width: 44rem;
}

.static-page h1,
.static-page h2 {
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.static-page h1 {
  font-size: clamp(1.875rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0.75rem 0 0.5rem;
}

.static-page h2 {
  border-top: 1px solid var(--line);
  font-size: 1.3125rem;
  font-weight: 650;
  margin: 2.75rem 0 0.75rem;
  padding-top: 1.25rem;
}

.static-page p,
.static-page ul {
  margin: 0 0 1rem;
}

.static-page ul {
  padding-left: 1.25rem;
}

.static-page li {
  margin-bottom: 0.6rem;
}

.static-page .meta {
  color: var(--muted);
  font-size: 0.9375rem;
}

.static-page a {
  font-weight: 600;
}

/* Checklist and sample register pages. */
.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.print-only {
  display: none;
}

.static-page .verified {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
  padding: 0.6rem 0.85rem;
}

.static-page .source {
  color: var(--muted);
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}

.static-page ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.static-page > .table-wrap {
  max-width: none;
}

.table-scroll {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  overflow-x: auto;
}

.register-table {
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.4;
  min-width: 70rem;
  width: 100%;
}

.register-table th,
.register-table td {
  border: 1px solid var(--line);
  padding: 0.5rem 0.6rem;
  text-align: left;
  vertical-align: top;
}

.register-table thead th {
  background: #eceff4;
  font-weight: 650;
}

.register-table tbody th {
  font-weight: 600;
  min-width: 11rem;
}

.register-table .blank-row td,
.register-table .blank-row th {
  height: 2.25rem;
}

.register-table .blank-row {
  display: none;
}

@media (max-width: 720px) {
  .site-bar-inner {
    padding: 0 1rem;
  }

  .static-page {
    padding: 1.75rem 1rem 3.5rem;
  }
}
