/*
 * Design tokens. The only place a colour may be written as a hex value.
 * Values come from the "Palette and components" board. No gradients, ever.
 */
:root {
  /* Brand palette: Crimson (the seal and the main action), Charcoal (text), Ivory (paper), Muted gold (print and
   * brand material only, never on a screen control). White and paper carry everything else. */
  --color-seal: #a52335;
  --color-seal-deep: #7a1a27;
  --color-seal-deeper: #651520;
  --color-gold: #b49a65;
  --color-blush: #fcebec;
  --color-blush-line: #f2c4c8;
  --color-blush-text: #f6d5d8;
  --color-white: #fff;
  --color-paper: #f8f6f0;
  --color-line: #e7e2de;
  --color-line-soft: #f0ece8;
  --color-line-strong: #d6d0cb;
  --color-slate: #57534e;
  --color-ink: #171717;
  --color-ink-soft: #44403c;

  /* Status colours. Each status always carries its label; colour is never the only signal. */
  --color-status-green-bg: #e3f1e9;
  --color-status-green: #17603f;
  --color-status-amber-bg: #fbefd5;
  --color-status-amber: #7a4e00;
  --color-status-grey-bg: #efece9;
  --color-status-grey: #44403c;
  --color-status-blue-bg: #e4ecf7;
  --color-status-blue: #1d4477;

  /*
   * Charts in the operator's console. One data hue, a light wash of it, and a recessive grid: red stays the seal's and
   * the status colours stay states. Validated as a data colour (lightness band, chroma, contrast vs the paper).
   */
  --color-data: #2a78d6;
  --color-data-strong: #1c5cab;
  --color-data-wash: #cde2fb;
  --color-grid: #efece9;

  /* Type */
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, sfmono-regular, menlo, monospace;
  --font-size-body: 14px;
  --font-size-small: 12px;
  --font-size-lead: 16px;
  --font-size-title: 28px;
  --font-size-stat: 34px;
  --line-body: 1.45;

  /* Shape and rhythm. Controls are compact at a desk and grow to a finger's width on touch screens. */
  --size-control: 36px;
  --size-touch: var(--size-control);
  --radius-control: 8px;
  --radius-card: 12px;
  --radius-pill: 999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --shadow-focus: 0 0 0 3px var(--color-blush);

  /* Layers: the scrim behind a dialog and the lift of a dialog or an open picker. */
  --color-scrim: rgb(28 25 23 / 55%);
  --shadow-layer: 0 16px 48px rgb(28 25 23 / 18%);
  --shadow-popover: 0 8px 24px rgb(28 25 23 / 14%);
}

@media (pointer: coarse) {
  :root {
    --size-control: 44px;
  }
}

/*
 * The public website. Colours, type families, radii and spacing come from the
 * application's tokens (packages/ui/src/tokens.css), which are placed before
 * this file at build time. One red, for the seal and the main action; no gradients.
 *
 * The look is the look of an instrument on paper: a masthead rule, ruled
 * ledgers instead of cards, numbered clauses (§) instead of icons, serif
 * display type, and the notary's seal as the one picture. Answers are shown as
 * an impression of the seal with the verdict written beside it.
 */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/source-serif-4-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/source-serif-4-latin-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}

:root {
  --font-size-prose: 1.0625rem;
  --font-size-small-site: 0.875rem;
  --font-size-lead-site: 1.1875rem;
  --font-size-display: clamp(2.75rem, 7vw, 5rem);
  --font-size-page: clamp(2rem, 5vw, 3.25rem);
  --font-size-section: clamp(1.625rem, 3.2vw, 2.25rem);
  --size-wrap: 72rem;
  --size-narrow: 44rem;
  --size-hit: 44px;
  --space-section: clamp(3.5rem, 8vw, 6.5rem);
  --line-prose: 1.6;
  --radius-site: 2px;
  --line-heavy: 3px solid var(--color-ink);
  --line-fine: 1px solid var(--color-line-strong);
  --space-gutter: var(--space-4);
}

@media (width >= 48rem) {
  :root {
    --space-gutter: var(--space-6);
  }
}

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

html {
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 100%;
  line-height: var(--line-prose);
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  font-size: var(--font-size-prose);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}

h1,
.section-title,
.cta h2,
.verdict-title,
.ledger-title {
  font-family: var(--font-serif);
}

h1,
.section-title,
.cta h2,
.ledger-title {
  font-weight: 400;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--color-seal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid var(--color-seal);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.wrap {
  width: 100%;
  max-width: var(--size-wrap);
  margin: 0 auto;
  padding: 0 max(var(--space-gutter), env(safe-area-inset-right)) 0 max(var(--space-gutter), env(safe-area-inset-left));
}

.wrap-narrow {
  max-width: var(--size-narrow);
}

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

.small {
  font-size: var(--font-size-small-site);
}

.mono {
  font-family: var(--font-mono);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--space-4);
  top: -4rem;
  z-index: 10;
  padding: var(--space-2) var(--space-4);
  background: var(--color-white);
  border: var(--line-fine);
  border-radius: var(--radius-site);
}

.skip:focus {
  top: var(--space-2);
}

/* A label in the margin: small capitals in the typewriter face. */
.label {
  color: var(--color-slate);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* The line above a page heading, like the dateline of a gazette. */
.dateline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-4);
  padding: var(--space-2) 0;
  border-top: 1px solid var(--color-ink);
  border-bottom: var(--line-fine);
  color: var(--color-slate);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dl-n {
  color: var(--color-seal);
}

.dl-end {
  margin-left: auto;
}

/*
 * Masthead. A phone gets the name and the language on top, one slim line for the notary side, and the five
 * checks as a tab bar under the thumb. A wide screen gets the ruled, numbered strip.
 */
.bar {
  border-top: 4px solid var(--color-ink);
  border-bottom: 1px solid var(--color-ink);
  background: var(--color-paper);
}

.bar-grid {
  display: grid;
  grid-template-areas:
    "brand brand lang"
    "notary abroad signin";
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.brand {
  display: inline-flex;
  grid-area: brand;
  align-items: center;
  gap: var(--space-2);
  min-height: 3.5rem;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
}

.seal-disc {
  fill: var(--color-seal);
}

.seal-m {
  fill: none;
  stroke: var(--color-paper);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.seal-nib {
  fill: var(--color-paper);
  stroke: var(--color-paper);
  stroke-width: 0.5;
  stroke-linejoin: round;
}

.seal-slit {
  stroke: var(--color-seal);
  stroke-width: 0.8;
  stroke-linecap: round;
}

.seal-hole {
  fill: var(--color-seal);
}

.lang {
  display: flex;
  grid-area: lang;
}

.lang-link {
  display: inline-grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  margin-left: -1px;
  border: 1px solid var(--color-ink);
  color: var(--color-ink);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-decoration: none;
}

.lang-link:first-child {
  border-radius: var(--radius-site) 0 0 var(--radius-site);
}

.lang-link:last-child {
  border-radius: 0 var(--radius-site) var(--radius-site) 0;
}

.lang-link[aria-current] {
  background: var(--color-ink);
  color: var(--color-paper);
}

.notary-link,
.abroad-link,
.signin {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  border-top: var(--line-fine);
  font-size: 0.9375rem;
  text-decoration: none;
}

.abroad-link {
  grid-area: abroad;
  justify-content: center;
  padding: 0 var(--space-2);
  color: var(--color-ink);
  font-weight: 600;
}

.abroad-link[aria-current="page"] {
  text-decoration: underline;
}

.notary-link {
  grid-area: notary;
  color: var(--color-seal);
  font-weight: 600;
}

.signin {
  grid-area: signin;
  justify-content: flex-end;
  color: var(--color-ink-soft);
}

.notary-link[aria-current="page"] {
  text-decoration: underline;
}

/* The tools: a tab bar fixed to the foot of the screen, clear of the home bar; one column per tool, however many. */
.checks {
  position: fixed;
  inset: auto 0 0;
  z-index: 50;
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--color-ink);
  background: var(--color-white);
}

.check-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 3.5rem;
  padding: var(--space-1) 2px;
  color: var(--color-slate);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.check-icon {
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.check-short {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.check-n,
.check-name {
  display: none;
}

.check-link[aria-current="page"] {
  color: var(--color-seal-deep);
}

.check-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: 0;
  right: 28%;
  left: 28%;
  height: 3px;
  background: var(--color-seal);
}

.check-link:active {
  background: var(--color-paper);
}

@media (width >= 56rem) {
  .bar {
    border-top-width: 6px;
  }

  .bar-grid {
    grid-template-areas:
      "brand . abroad notary signin lang"
      "checks checks checks checks checks checks";
    grid-template-columns: auto 1fr auto auto auto auto;
    column-gap: var(--space-6);
  }

  .brand {
    min-height: 4.25rem;
    font-size: 1.75rem;
  }

  .notary-link,
  .abroad-link,
  .signin {
    min-height: 0;
    border-top: 0;
    font-size: var(--font-size-small-site);
  }

  .abroad-link {
    padding: 0;
  }

  .lang-link {
    min-width: 2.25rem;
    min-height: 2.25rem;
  }

  .checks {
    position: static;
    grid-area: checks;
    padding-bottom: 0;
    border-top: var(--line-fine);
    background: none;
  }

  .check-link {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: var(--space-2);
    min-height: 3.25rem;
    padding: var(--space-2) var(--space-4);
    border-left: var(--line-fine);
    color: var(--color-ink);
    font-size: 1rem;
  }

  .check-link:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .check-link[aria-current="page"] {
    background: var(--color-white);
    box-shadow: inset 0 3px 0 var(--color-seal);
  }

  .check-link:first-child[aria-current="page"] {
    padding-left: var(--space-4);
  }

  .check-link[aria-current="page"]::before {
    display: none;
  }

  .check-icon,
  .check-short {
    display: none;
  }

  .check-n {
    display: inline;
    color: var(--color-slate);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 400;
  }

  .check-link[aria-current="page"] .check-n {
    color: var(--color-seal);
  }

  .check-name {
    display: inline;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--size-hit);
  padding: 0 var(--space-6);
  border: 1px solid var(--color-seal);
  border-radius: var(--radius-site);
  background: var(--color-seal);
  color: var(--color-white);
  font: inherit;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.btn-large {
  min-height: 3.25rem;
  padding: 0 var(--space-8);
  font-size: 1.0625rem;
}

.btn-quiet {
  background: var(--color-white);
  border-color: var(--color-ink);
  color: var(--color-ink);
}

.sr-only:focus-visible + .btn {
  outline: 3px solid var(--color-seal);
  outline-offset: 2px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.actions-flush {
  margin-top: 0;
}

/* Home: the first screen */
.hero {
  padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.hero-grid {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.hero h1 {
  margin-top: var(--space-6);
  font-size: var(--font-size-display);
  letter-spacing: -0.015em;
  line-height: 1.02;
}

.lead {
  max-width: 38rem;
  margin-top: var(--space-5);
  color: var(--color-ink-soft);
  font-size: var(--font-size-lead-site);
  line-height: 1.55;
}

.hero .actions {
  margin-top: var(--space-8);
}

.hero-mark {
  display: none;
  justify-items: center;
}

.big-seal {
  width: min(100%, 22rem);
  height: auto;
  transform: rotate(-9deg);
}

.bs-edge {
  fill: none;
  stroke: var(--color-seal);
  stroke-width: 3;
}

.bs-hair {
  fill: none;
  stroke: var(--color-seal);
  stroke-width: 1;
}

.bs-dash {
  fill: none;
  stroke: var(--color-seal);
  stroke-width: 1.4;
  stroke-dasharray: 2 5;
}

.bs-text {
  fill: var(--color-seal);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
}

.bs-pillars {
  fill: none;
  stroke: var(--color-seal);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bs-nib {
  fill: var(--color-seal);
  stroke: var(--color-seal);
  stroke-width: 0.5;
  stroke-linejoin: round;
}

.bs-slit {
  stroke: var(--color-paper);
  stroke-width: 0.8;
  stroke-linecap: round;
}

.bs-hole {
  fill: var(--color-paper);
}

@media (width >= 48rem) {
  .hero-mark {
    display: grid;
  }

  .big-seal {
    width: min(100%, 14rem);
  }
}

@media (width >= 56rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  }

  .big-seal {
    width: min(100%, 22rem);
  }
}

.section {
  padding: var(--space-section) 0;
}

.section-index {
  padding-top: 0;
}

.band {
  background: var(--color-white);
  border-top: var(--line-fine);
  border-bottom: var(--line-fine);
}

.section-title {
  font-size: var(--font-size-section);
}

.section-lead {
  max-width: 36rem;
  margin-top: var(--space-3);
  color: var(--color-slate);
}

/* The five checks, as a ledger */
.index-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2) var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: var(--line-heavy);
}

.ledger-row {
  position: relative;
  display: grid;
  gap: var(--space-1) var(--space-4);
  padding: var(--space-6) var(--space-2);
  border-bottom: var(--line-fine);
  grid-template-columns: 2.25rem minmax(0, 1fr);
}

.ledger-n {
  padding-top: 0.5rem;
  color: var(--color-seal);
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.ledger-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  line-height: 1.15;
}

.ledger-link {
  color: var(--color-ink);
  text-decoration: none;
}

.ledger-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.ledger-main p {
  margin-top: var(--space-1);
  color: var(--color-ink-soft);
}

.ledger-source {
  grid-column: 2;
  margin-top: var(--space-2);
  color: var(--color-slate);
  font-size: var(--font-size-small-site);
}

.ledger-source .label {
  display: block;
  margin-bottom: 0.125rem;
}

.ledger-go {
  display: none;
  place-self: center end;
  color: var(--color-slate);
  font-size: 1.5rem;
}

@media (width >= 56rem) {
  .ledger-row {
    align-items: start;
    gap: var(--space-4) var(--space-6);
    padding: var(--space-6) var(--space-4);
    grid-template-columns: 3rem minmax(0, 5fr) minmax(0, 4fr) 2.5rem;
  }

  .ledger-source {
    grid-column: auto;
    margin-top: 0.4rem;
  }

  .ledger-go {
    display: block;
  }

  .ledger-n {
    padding-top: 0.6rem;
  }
}

/* Below the wide layout the source is said on the check's own page, under "How it works"; the row is a link. */
@media (width < 56rem) {
  .ledger-row {
    align-items: center;
    padding: var(--space-4) var(--space-2);
    grid-template-columns: 2.25rem minmax(0, 1fr) 1.5rem;
  }

  .ledger-source {
    display: none;
  }

  .ledger-go {
    display: block;
    font-size: 1.25rem;
  }

  .ledger-n {
    align-self: start;
  }
}

/* The rules every answer follows, as clauses */
.rules {
  display: grid;
  gap: var(--space-8) var(--space-6);
  margin-top: var(--space-8);
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.rules li {
  padding-top: var(--space-4);
  border-top: 2px solid var(--color-ink);
}

.rule-n {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--color-seal);
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-style: italic;
  line-height: 1;
}

.rules h3 {
  font-size: 1.0625rem;
}

.rules p {
  margin-top: var(--space-2);
  color: var(--color-ink-soft);
  font-size: var(--font-size-small-site);
}

/* Sources */
.sources-grid {
  display: grid;
  gap: var(--space-8);
}

.sources {
  border-top: var(--line-heavy);
}

.sources li {
  padding: var(--space-4) 0;
  border-bottom: var(--line-fine);
}

.source-name {
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.source-name::after {
  content: " \2197";
  color: var(--color-seal);
  font-family: var(--font-sans);
  font-size: 0.875rem;
}

.sources p {
  margin-top: var(--space-1);
  color: var(--color-slate);
  font-size: var(--font-size-small-site);
}

@media (width >= 56rem) {
  .sources-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--space-12);
  }
}

/* The door to the notary system */
.notary-grid,
.notaries-head {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.notary-copy .label {
  color: var(--color-seal);
}

.notary-copy .section-title {
  margin-top: var(--space-2);
}

.notary-copy .actions {
  margin-top: var(--space-6);
}

.plate {
  margin: 0;
  padding: var(--space-2);
  border: 1px solid var(--color-ink);
  background: var(--color-white);
}

.plate img {
  width: 100%;
  border: var(--line-fine);
}

.plate figcaption {
  padding: var(--space-2) var(--space-1) 0;
  color: var(--color-slate);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

@media (width >= 56rem) {
  .notary-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: var(--space-12);
  }

  .notaries-head {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: var(--space-12);
  }
}

/* The page for notaries */
.page-head-wide h1 {
  max-width: 18ch;
}

.facts {
  padding: var(--space-8) 0;
  border-top: var(--line-heavy);
  border-bottom: var(--line-fine);
  background: var(--color-white);
}

.facts-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.facts-grid h2 {
  font-size: 1rem;
}

.facts-grid p {
  margin-top: var(--space-1);
  color: var(--color-slate);
  font-size: var(--font-size-small-site);
}

.provisions {
  margin-top: var(--space-8);
  border-top: var(--line-heavy);
}

.provisions li {
  display: grid;
  gap: var(--space-1) var(--space-6);
  padding: var(--space-5) 0;
  border-bottom: var(--line-fine);
  grid-template-columns: 2.5rem minmax(0, 1fr);
}

.prov-n {
  grid-row: span 2;
  color: var(--color-seal);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.8;
}

.provisions h3 {
  font-size: 1.0625rem;
}

.provisions p {
  color: var(--color-ink-soft);
  font-size: var(--font-size-small-site);
}

@media (width >= 56rem) {
  .provisions li {
    grid-template-columns: 3rem minmax(0, 5fr) minmax(0, 7fr);
    align-items: baseline;
  }

  .prov-n {
    grid-row: auto;
  }
}

.steps {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-8);
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.steps li {
  padding-top: var(--space-4);
  border-top: 2px solid var(--color-ink);
}

.step-n {
  display: block;
  color: var(--color-seal);
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
}

.steps h3 {
  margin-top: var(--space-2);
  font-size: 1.125rem;
}

.steps p {
  margin-top: var(--space-2);
  color: var(--color-slate);
  font-size: var(--font-size-small-site);
}

.columns {
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-8);
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.columns h3 {
  font-size: 1rem;
}

.columns p {
  margin-top: var(--space-2);
  color: var(--color-slate);
  font-size: var(--font-size-small-site);
}

.faq {
  margin-top: var(--space-6);
  border-top: var(--line-heavy);
}

.faq details {
  border-bottom: var(--line-fine);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 3.5rem;
  padding: var(--space-3) 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--color-seal);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq-answer {
  padding: 0 0 var(--space-5);
  color: var(--color-ink-soft);
}

.cta {
  padding: var(--space-section) 0;
  border-top: var(--line-heavy);
  background: var(--color-blush);
}

.cta h2 {
  font-size: var(--font-size-section);
}

.cta-text {
  max-width: 36rem;
  margin-top: var(--space-3);
  color: var(--color-ink-soft);
}

.cta .actions {
  margin-top: var(--space-6);
}

/* Inner pages */
.page-head {
  padding: clamp(1.75rem, 5vw, 3.5rem) 0 var(--space-4);
}

.page-head h1 {
  margin-top: var(--space-6);
  font-size: var(--font-size-page);
  line-height: 1.08;
}

.page-head .lead {
  margin-top: var(--space-4);
}

.result > div > * + * {
  margin-top: var(--space-4);
}

.tool {
  padding-top: var(--space-6);
}

.tool .wrap > * + * {
  margin-top: var(--space-6);
}

/* The form, like a form on paper: white sheet, heavy rule on top */
.sheet {
  padding: var(--space-6);
  border: var(--line-fine);
  border-top: var(--line-heavy);
  border-radius: 0 0 var(--radius-site) var(--radius-site);
  background: var(--color-white);
}

.form {
  display: grid;
  gap: var(--space-5);
}

.field {
  display: grid;
  gap: var(--space-2);
}

.field label {
  font-size: var(--font-size-small-site);
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 3rem;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-slate);
  border-radius: var(--radius-site);
  background: var(--color-white);
  color: var(--color-ink);
  font: inherit;
}

.field textarea {
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  border-color: var(--color-seal);
  box-shadow: var(--shadow-focus);
  outline: none;
}

.field input.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.field-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.stack {
  display: grid;
  gap: var(--space-5);
}

.kinds {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  border: 0;
}

.kind {
  position: relative;
}

.kind-input {
  position: absolute;
  opacity: 0;
}

.kind span {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 var(--space-4);
  border: 1px solid var(--color-slate);
  border-radius: var(--radius-site);
  background: var(--color-white);
  cursor: pointer;
}

.kind-input:checked + span {
  border-color: var(--color-ink);
  background: var(--color-ink);
  color: var(--color-paper);
  font-weight: 600;
}

.kind-input:focus-visible + span {
  outline: 3px solid var(--color-seal);
  outline-offset: 2px;
}

.notice {
  padding: var(--space-4);
  border: 1px solid var(--color-blush-line);
  border-radius: var(--radius-site);
  background: var(--color-blush);
}

/* One fold, used everywhere a thing is one tap away */
.more summary {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  color: var(--color-ink);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.more summary::-webkit-details-marker {
  display: none;
}

.more summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid var(--color-ink);
  border-radius: var(--radius-site);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
}

.more[open] > summary::before {
  content: "\2212";
}

.more-body {
  margin-top: var(--space-3);
}

.more-lists {
  border-top: var(--line-fine);
}

.more-inner {
  padding-top: var(--space-2);
}

/* The footnotes: what this tells you, and what it does not */
.footnotes {
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-ink);
}

.footnotes ol {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
  color: var(--color-ink-soft);
  counter-reset: fn;
  font-size: var(--font-size-small-site);
}

.footnotes li {
  position: relative;
  padding-left: 2rem;
  counter-increment: fn;
}

.footnotes li::before {
  content: counter(fn);
  position: absolute;
  left: 0;
  color: var(--color-seal);
  font-family: var(--font-mono);
}

.footnotes .small {
  margin-top: var(--space-4);
}

/*
 * "How it works": everything about a check that is not the check itself, one tap under its heading. Closed, it is
 * one line, so the form is the first thing on the screen; open, it is a ruled note in the margin style.
 */
.page-head-tool {
  padding-bottom: 0;
}

.about {
  margin-top: var(--space-3);
}

.about > summary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  color: var(--color-ink-soft);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.about > summary::-webkit-details-marker {
  display: none;
}

.about-mark::before {
  content: "+";
  color: var(--color-slate);
  font-family: var(--font-mono);
  font-weight: 400;
}

.about[open] .about-mark::before {
  content: "\2212";
}

.about-icon {
  flex: none;
  fill: none;
  stroke: var(--color-seal);
  stroke-linecap: round;
  stroke-width: 1.75;
}

.about-body {
  display: grid;
  gap: var(--space-4);
  max-width: 38rem;
  margin-top: var(--space-2);
  padding: var(--space-4) 0 var(--space-2);
  border-top: var(--line-fine);
  color: var(--color-ink-soft);
}

.about-facts {
  display: grid;
  gap: var(--space-2);
  font-size: var(--font-size-small-site);
}

.about-facts > div {
  display: grid;
  gap: 0.125rem var(--space-3);
  grid-template-columns: minmax(0, 1fr);
}

.about-facts dt {
  color: var(--color-seal);
}

.about-facts dd {
  margin: 0;
}

.about .footnotes {
  border-top: var(--line-fine);
}

.about .footnotes ol {
  margin-top: var(--space-3);
}

@media (width >= 40rem) {
  .about-facts > div {
    grid-template-columns: 7rem minmax(0, 1fr);
  }
}

.prose h2 {
  margin-top: var(--space-8);
  font-family: var(--font-serif);
  font-size: 1.375rem;
}

.prose p {
  margin-top: var(--space-2);
  color: var(--color-ink-soft);
}

/* The document check: choose, wait, read the answer */
.drop {
  display: grid;
  gap: var(--space-4);
  justify-items: start;
}

.drop[data-over] {
  background: var(--color-blush);
  outline: 2px dashed var(--color-seal);
  outline-offset: -0.5rem;
}

.drop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.drop-hint {
  color: var(--color-slate);
  font-size: var(--font-size-small-site);
}

@media (pointer: coarse) {
  .drop-hint {
    display: none;
  }
}

.drop .more,
.drop .field {
  width: 100%;
}

.drop[data-busy] .drop-actions,
.drop[data-busy] .drop-hint,
.drop[data-busy] .more {
  display: none;
}

.working {
  display: grid;
  gap: var(--space-3);
  width: 100%;
}

.working[hidden],
.drop[hidden] {
  display: none;
}

progress {
  width: 100%;
  height: 0.5rem;
  border: 0;
  border-radius: 0;
  appearance: none;
  background: var(--color-line);
  color: var(--color-seal);
}

progress::-webkit-progress-bar {
  background: var(--color-line);
}

progress::-webkit-progress-value {
  background: var(--color-seal);
}

progress::-moz-progress-bar {
  background: var(--color-seal);
}

/* Results: the answer is an impression of the seal with the verdict beside it */
.result:empty {
  display: none;
}

.verdict {
  --color-tone: var(--color-status-grey);

  display: grid;
  align-items: start;
  gap: var(--space-5);
  padding: var(--space-6);
  border: var(--line-fine);
  border-left: 6px solid var(--color-tone);
  border-radius: 0 var(--radius-site) var(--radius-site) 0;
  background: var(--color-status-grey-bg);
  grid-template-columns: auto minmax(0, 1fr);
}

.verdict[data-tone="green"] {
  --color-tone: var(--color-status-green);

  background: var(--color-status-green-bg);
}

.verdict[data-tone="amber"] {
  --color-tone: var(--color-status-amber);

  background: var(--color-status-amber-bg);
}

.verdict[data-tone="red"] {
  --color-tone: var(--color-seal-deep);

  background: var(--color-blush);
}

.stamp {
  color: var(--color-tone);
}

.stamp-ring {
  fill: none;
  stroke: currentcolor;
  stroke-width: 0.6;
  stroke-dasharray: 1 1;
}

.stamp-line {
  fill: none;
  stroke: currentcolor;
  stroke-width: 0.9;
}

.stamp-glyph {
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.verdict-body .label {
  color: var(--color-tone);
}

.verdict-title {
  margin-top: var(--space-1);
  color: var(--color-tone);
  font-size: clamp(1.5rem, 4vw, 2.125rem);
  line-height: 1.12;
}

.verdict-help,
.verdict-file {
  margin-top: var(--space-2);
  color: var(--color-ink);
  font-size: var(--font-size-small-site);
}

.verdict-file {
  color: var(--color-slate);
  overflow-wrap: anywhere;
}

.sub-title {
  margin-bottom: var(--space-2);
  color: var(--color-slate);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.findings {
  border-top: 1px solid var(--color-ink);
}

.finding {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-1) var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: var(--line-fine);
  font-size: var(--font-size-small-site);
}

.finding-text {
  flex: 1 1 14rem;
  overflow-wrap: anywhere;
}

.finding-locate {
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-seal);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.finding-locate[aria-pressed="true"] {
  color: var(--color-seal-deep);
  font-weight: 600;
}

.tag {
  display: inline-block;
  padding: 0 var(--space-2);
  border-radius: var(--radius-site);
  background: var(--color-status-grey-bg);
  color: var(--color-status-grey);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-transform: uppercase;
}

.tag[data-tone="red"] {
  background: var(--color-blush);
  color: var(--color-seal-deep);
}

.tag[data-tone="amber"] {
  background: var(--color-status-amber-bg);
  color: var(--color-status-amber);
}

.tag[data-tone="green"] {
  background: var(--color-status-green-bg);
  color: var(--color-status-green);
}

.preview {
  position: relative;
  border: var(--line-fine);
  background: var(--color-white);
}

.preview-canvas {
  display: block;
  width: 100%;
  height: auto;
}

.regions {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.region {
  display: none;
  fill: var(--color-blush);
  fill-opacity: 0.45;
  stroke: var(--color-seal);
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
}

.region.on {
  display: inline;
}

/* Questions people ask: folded under a check, open on the questions page and the page for Rwandans abroad. */
.qa {
  padding-top: var(--space-4);
}

.qa-title {
  font-size: var(--font-size-section);
}

.qa .faq {
  margin-top: var(--space-3);
}

.qa-links {
  margin-top: var(--space-2);
  font-size: var(--font-size-small-site);
}

.qa-more {
  margin-top: var(--space-4);
  font-weight: 600;
}

.qa-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-5);
  font-size: var(--font-size-small-site);
  font-weight: 600;
}

.qa-group + .qa-group {
  margin-top: var(--space-12);
}

.qa-open {
  margin-top: var(--space-4);
  border-top: var(--line-heavy);
}

.qa-item {
  padding: var(--space-5) 0;
  border-bottom: var(--line-fine);
}

.qa-item h3 {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}

.qa-item > p {
  max-width: 40rem;
  margin-top: var(--space-2);
  color: var(--color-ink-soft);
}

.index-help {
  margin-top: var(--space-5);
  color: var(--color-slate);
}

.index-help a {
  font-weight: 600;
}

.reviewed {
  margin-top: var(--space-6);
}

/* A field with an action beside its label: "Paste the text to check" and "Add a file". */
.field-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
}

.btn-small {
  min-height: 2.5rem;
  padding: 0 var(--space-4);
  font-size: 0.9375rem;
}

.counter {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* The law page: two jobs, two tabs. */
.modes {
  display: flex;
  border-bottom: 1px solid var(--color-ink);
}

.mode {
  flex: 1 1 0;
  min-height: 3rem;
  padding: var(--space-2) var(--space-3);
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: var(--color-slate);
  font: inherit;
  line-height: 1.25;
  font-weight: 600;
  cursor: pointer;
}

.mode[aria-selected="true"] {
  border-bottom-color: var(--color-seal);
  color: var(--color-ink);
}

[role="tabpanel"][hidden] {
  display: none;
}

/* What to improve: numbered steps, most important first. */
.advice-list {
  display: grid;
  gap: var(--space-3);
  counter-reset: advice;
}

.advice-list li {
  position: relative;
  padding-left: 2.25rem;
  counter-increment: advice;
}

.advice-list li::before {
  content: counter(advice);
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--color-seal);
  color: var(--color-white);
  border-radius: var(--radius-site);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.suggest {
  padding: var(--space-2) var(--space-3);
  border-left: 3px solid var(--color-seal);
  background: var(--color-blush);
  color: var(--color-ink);
}

.refs {
  display: grid;
  gap: var(--space-1);
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-line);
  color: var(--color-ink-soft);
  font-size: var(--font-size-small-site);
}

.notes-list {
  display: grid;
  gap: var(--space-2);
  padding-left: var(--space-5);
  list-style: disc;
}

.working progress {
  margin-top: var(--space-2);
}

/* Results of the other tools */
.entries {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.entry {
  padding: var(--space-4) var(--space-5);
  border: var(--line-fine);
  border-radius: var(--radius-site);
  background: var(--color-white);
}

.entry h3 {
  font-size: 1rem;
}

.entry p,
.entry dl {
  margin: var(--space-1) 0 0;
  color: var(--color-ink-soft);
  font-size: var(--font-size-small-site);
}

.entry .tag {
  margin-bottom: var(--space-2);
}

.more > .entries,
.more > .more-body {
  margin-top: var(--space-2);
}

.facts-list {
  display: grid;
  margin: var(--space-3) 0 0;
}

.facts-list div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-line);
  font-size: var(--font-size-small-site);
}

.facts-list div:last-child {
  border-bottom: 0;
}

.facts-list dt {
  color: var(--color-slate);
}

.facts-list dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}

.excerpt {
  margin: var(--space-3) 0 0;
  padding-left: var(--space-4);
  border-left: 2px solid var(--color-ink);
  color: var(--color-ink-soft);
  font-size: var(--font-size-small-site);
  white-space: pre-line;
}

.answer-text {
  margin-top: var(--space-3);
  color: var(--color-ink);
  white-space: pre-line;
}

.followups {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.followups button {
  min-height: 2.25rem;
  padding: 0 var(--space-3);
  border: 1px solid var(--color-ink);
  border-radius: var(--radius-site);
  background: var(--color-white);
  color: var(--color-ink);
  font: inherit;
  font-size: var(--font-size-small-site);
  cursor: pointer;
}

.error {
  padding: var(--space-4);
  border: 1px solid var(--color-blush-line);
  border-radius: var(--radius-site);
  background: var(--color-blush);
  color: var(--color-seal-deep);
}

.waiting {
  padding: var(--space-3) 0;
}

/* Footer: the colophon */
.foot {
  padding: var(--space-12) 0 var(--space-8);
  border-top: 6px solid var(--color-seal);
  background: var(--color-ink);
  color: var(--color-line-strong);
}

.foot-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
}

.foot a {
  color: var(--color-white);
}

.foot :focus-visible {
  outline-color: var(--color-white);
}

.foot-title {
  margin-bottom: var(--space-3);
  color: var(--color-line-strong);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plain {
  display: grid;
  gap: var(--space-2);
}

.plain-link {
  font-size: var(--font-size-small-site);
}

.foot p + p {
  margin-top: var(--space-2);
}

.foot-note {
  margin-top: var(--space-3);
}

/* A hover that stays after a tap is a bug on a phone: hover styling is for pointers that can hover. */
@media (hover: hover) {
  a:hover {
    color: var(--color-seal-deep);
  }

  .btn:hover {
    background: var(--color-seal-deep);
    border-color: var(--color-seal-deep);
    color: var(--color-white);
  }

  .btn-quiet:hover {
    background: var(--color-ink);
    border-color: var(--color-ink);
    color: var(--color-paper);
  }

  .ledger-row:hover {
    background: var(--color-white);
  }

  .ledger-link:hover {
    color: var(--color-seal);
  }

  .ledger-row:hover .ledger-go {
    color: var(--color-seal);
  }

  .source-name:hover {
    color: var(--color-seal);
    text-decoration: underline;
  }

  .followups button:hover {
    background: var(--color-ink);
    color: var(--color-paper);
  }

  .foot a:hover {
    color: var(--color-blush-text);
  }
}

/*
 * A phone, first: the main action spans the width and sits where a thumb is, the footer runs under the tab bar so
 * its last line is never hidden, and controls are finger-sized.
 */
@media (width < 40rem) {
  .actions {
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
  }

  .drop-actions {
    width: 100%;
    flex-direction: column;
  }

  .drop-actions .btn {
    width: 100%;
  }

  .foot {
    padding-bottom: calc(var(--space-8) + 3.5rem + env(safe-area-inset-bottom));
  }

  .tool {
    padding-top: var(--space-2);
  }

  .foot-grid {
    gap: var(--space-6) var(--space-4);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot-id,
  .foot-sources {
    grid-column: 1 / -1;
  }

  .mode {
    padding: 0 var(--space-2);
    font-size: 0.9375rem;
  }

  /* The check's name is in the tab bar and the heading already: on a phone the dateline keeps to one line. */
  .dl-name {
    display: none;
  }
}

@media (pointer: coarse) {
  .plain-link,
  .foot a,
  .entry a,
  .footnotes a,
  .prose a {
    display: inline-block;
    padding-block: 0.625rem;
  }

  .source-name {
    display: inline-block;
    padding-block: 0.375rem;
  }

  .followups button {
    min-height: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .bar,
  .foot,
  .cta {
    display: none;
  }
}

/*
 * Notaries near you and the district pages (ADR 0037), laid out as a store locator: one button for "where I am", a
 * place field with suggestions, then one card per notary with the two things to do, call and see the area.
 */
.btn-icon {
  flex: none;
  margin-right: var(--space-2);
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.locator {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.field-row > :first-child {
  flex: 1 1 12rem;
  min-width: 0;
}

.notary-cards {
  margin: 0;
  padding: 0;
  border-top: var(--line-fine);
  list-style: none;
}

.notary-card {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4) 0;
  border-bottom: var(--line-fine);
}

.notary-card-name {
  margin: 0;
  font-size: 1.0625rem;
}

.notary-card-place,
.notary-card-km {
  margin: 0;
  color: var(--color-slate);
  font-size: var(--font-size-small-site);
}

.notary-card-km {
  color: var(--color-ink);
  font-weight: 600;
}

.notary-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
}

@media (width >= 40rem) {
  .notary-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .notary-card-actions {
    justify-content: flex-end;
  }
}

.directory {
  margin-top: var(--space-12);
}

.district-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: var(--space-6);
  margin: var(--space-4) 0;
}

.district-list {
  display: grid;
  gap: var(--space-1);
}

.district-list [aria-current="page"] {
  font-weight: 600;
}

.sector-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-4);
  font-size: var(--font-size-small-site);
}

.sector-group + .sector-group {
  margin-top: var(--space-8);
}

.sector-title {
  margin: var(--space-6) 0 var(--space-2);
  font-size: 1.25rem;
}

.directory-note {
  margin-top: var(--space-6);
}

/* Legal Status: where to check what this website cannot read (ADR 0037). A ruled list: who, how, the official place. */
.guides {
  margin: 0;
  padding: 0;
  border-top: var(--line-fine);
  list-style: none;
}

.guide {
  padding: var(--space-3) 0;
  border-bottom: var(--line-fine);
}

.guide-how,
.guide-link {
  margin: var(--space-1) 0 0;
}

.guide-who {
  margin: 0;
  font-size: 1rem;
}

