/* The site's own stylesheet.
 *
 * Colour and radius come from assets/tokens.css, which is VENDORED from the
 * application and MUST NOT BE EDITED HERE. This file adds only what the app has
 * no opinion about: the marketing type scale, the vault band, and the
 * dimension line.
 *
 * Two deliberate departures from the application's ui.md, both recorded in
 * docs/design/README.md § Where it departs from ui.md — the dark hero band, and
 * a display scale above the app's largest role. Do not "fix" either; do not add
 * a third without recording it there.
 */

:root {
  /* Not in tokens.css — the application sets its sans stack in Tailwind config
   * rather than as a custom property. Same family, same four weights. */
  --v-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;

  /* THE VAULT BAND — an alias layer over Nord Polar Night values the app
   * already owns. NO NEW COLOUR IS INTRODUCED, which is what keeps the
   * departure a layout decision rather than a palette one. */
  --m-vault: #242933;
  --m-vault-2: #2E3440;
  --m-vault-ink: #ECEFF4;
  --m-vault-muted: #C2C9D6;
  --m-vault-faint: #828C9E;
  --m-vault-line: #3B4252;
  --m-vault-accent: #81A1C1;
  --m-vault-accent-hover: #88C0D0;
  --m-vault-btn-ink: #1B2028;
  --m-vault-chip: rgba(129, 161, 193, .13);
}

/* Keyed off the viewer's preference, matching the pattern the vendored
 * tokens.css uses — including its [data-theme="light"] opt-out. In dark the
 * vault steps down so the band still reads as darker than the ground below it,
 * and the hard cut between the two halves survives both themes. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --m-vault: #1B2028;
    --m-vault-2: #242933;
    --m-vault-line: #343C4A;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--v-ground);
  color: var(--v-ink);
  font-family: var(--v-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--v-accent);
  outline-offset: 3px;
  border-radius: var(--v-radius-focus);
}
.vault :focus-visible { outline-color: var(--m-vault-accent); }

/* For a label that names a control the sighted reader can already see named by
 * its placeholder. Not display:none — that would take it out of the
 * accessibility tree, which is the one place it is needed. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout scaffolding ----------
   Bands own vertical rhythm. Component classes never set band padding, so
   nothing cancels out in the cascade. */
.wrap { width: min(1080px, 100% - 48px); margin-inline: auto; }
.band { padding-block: 104px; }
.band-tight { padding-block: 72px; }

.eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--v-ink-faint);
  margin: 0;
}
/* Mono and in accent, so it reads as *this is a statute* rather than as a label. */
.vault .eyebrow { color: var(--m-vault-faint); }
.vault .eyebrow .cite {
  font-family: var(--v-mono);
  letter-spacing: 0.04em;
  color: var(--m-vault-accent);
}

/* ============================================================
   THE GO-LIVE NOTICE
   Deleted when the legal pages land — see src/_includes/wip.njk.
   ============================================================ */

/* The application's own warn tokens, which carry their own dark values, so the
 * band inverts with everything else and needs no rule of its own below.
 *
 * IT SITS ABOVE THE VAULT AND MUST STAY LIGHTER THAN IT. The site's whole
 * structure is a dark band cut hard into the app's light ground; a dark notice
 * would read as the top of the vault and the cut would land in the wrong
 * place. Warn-soft is the palest surface in the set that still reads as a
 * notice rather than as page furniture. */
.wip {
  background: var(--v-warn-soft);
  border-bottom: 1px solid var(--v-line);
}

.wip p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 12px;
  /* `margin-block`, NOT the `margin` shorthand. This element also carries
   * .wrap, whose `margin-inline: auto` is what centres it against the header
   * and the hero below — and `.wip p` outspecifies `.wrap`, so a shorthand
   * here silently resets that and the notice alone hugs the left edge. */
  margin-block: 0;
  padding-block: 9px;
  font-size: 13px;
  line-height: 1.45;
}

/* Mono and uppercase, the same treatment the eyebrow gives a statute: a fixed
 * label rather than part of the sentence beside it. */
.wip b {
  font-family: var(--v-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--v-warn-strong);
}

.wip span { color: var(--v-ink-muted); }

/* Underlined rather than coloured. It is the only link in the band, and an
 * accent-coloured one at 13px next to muted text reads as a button. */
.wip a {
  color: var(--v-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wip a:hover { color: var(--v-accent-strong); }

/* ============================================================
   THE VAULT BAND
   ============================================================ */
.vault { background: var(--m-vault); color: var(--m-vault-ink); }

/* Two tiers. The meta bar carries things that change how you see the site
 * (language) or who you are (sign in); the row below carries destinations.
 * In one row, the language control read as a menu item, which it is not. */
.metabar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding-block: 8px;
  border-bottom: 1px solid var(--m-vault-line);
}
.metabar > a {
  font-size: 12.5px;
  color: var(--m-vault-faint);
  text-decoration: none;
}
.metabar > a:hover { color: var(--m-vault-ink); }
.metabar .meta-sep { color: var(--m-vault-line); font-size: 12px; user-select: none; }

/* Three locales, so show all three rather than hiding them behind a dropdown. */
.locales {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--m-vault-line);
  border-radius: var(--v-radius-focus);
  overflow: hidden;
}
.locales a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--m-vault-faint);
  text-decoration: none;
  border-right: 1px solid var(--m-vault-line);
  padding: 3px 9px;
  transition: color .15s ease, background-color .15s ease;
}
.locales a:last-child { border-right: 0; }
.locales a:hover { color: var(--m-vault-ink); }
.locales a[aria-current="page"] {
  color: var(--m-vault-btn-ink);
  background: var(--m-vault-accent);
}
/* The abbr carries the language's endonym as its title; it must not inherit the
 * dotted underline and help cursor, which would suggest a definition. */
.locales abbr { text-decoration: none; cursor: inherit; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
  border-bottom: 1px solid var(--m-vault-line);
  flex-wrap: wrap;
}
.brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-vault-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand i {
  width: 3px;
  height: 17px;
  background: var(--m-vault-accent);
  border-radius: var(--v-radius-pill);
  display: block;
}
.topnav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topnav a.navlink {
  font-size: 13.5px;
  color: var(--m-vault-muted);
  text-decoration: none;
}
.topnav a.navlink:hover { color: var(--m-vault-ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 9px 16px;
  border-radius: var(--v-radius-control);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease;
}
.btn-primary { background: var(--v-accent-fill); color: var(--v-accent-ink); }
.btn-primary:hover { background: var(--v-accent-fill-hover); }
.vault .btn-primary { background: var(--m-vault-accent); color: var(--m-vault-btn-ink); }
.vault .btn-primary:hover { background: var(--m-vault-accent-hover); }
.btn-lg { font-size: 15px; padding: 13px 22px; }

/* ---------- Hero ---------- */
.hero { padding-block: 58px 82px; }

.hero h1 {
  margin: 18px 0 0;
  font-size: 68px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
  /* ch at the h1's own size, so the measure holds across three languages of
   * different length. px would only fit German. */
  max-width: 19ch;
}
.hero .lede {
  margin: 26px 0 0;
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--m-vault-muted);
  max-width: 46ch;
}
.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}
.hero-cta .fine { font-size: 13px; color: var(--m-vault-faint); }

/* ---------- SIGNATURE: the retention span ----------
   A dimension line — the drafting convention for "this span measures X". The
   span is data: 7 years or 10, from the domain, emitted by the build. */
.record { margin-top: 56px; }

.rowcard {
  background: var(--m-vault-2);
  border: 1px solid var(--m-vault-line);
  border-radius: var(--v-radius);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
}
.rowcard .ref {
  font-family: var(--v-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--m-vault-accent);
  white-space: nowrap;
}
.rowcard .party { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.rowcard .kind {
  font-size: 12px;
  font-weight: 600;
  color: var(--m-vault-muted);
  background: var(--m-vault-chip);
  border-radius: var(--v-radius-pill);
  padding: 3px 11px;
  white-space: nowrap;
}
.rowcard .amt {
  font-size: 14.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.rule-stem { width: 1px; height: 22px; background: var(--m-vault-line); margin-left: 28px; }
.dim { position: relative; height: 38px; }
.dim-line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--m-vault-line); }
.dim-fill {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: var(--m-vault-accent);
  transform-origin: left center;
  animation: draw 1400ms cubic-bezier(.16,.84,.36,1) 400ms both;
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.dim-cap {
  position: absolute;
  top: 9px; bottom: 9px;
  width: 2px;
  background: var(--m-vault-accent);
  border-radius: var(--v-radius-pill);
}
.dim-cap.left { left: 0; }
.dim-cap.right { right: 0; opacity: 0; animation: tickin 400ms ease 1700ms both; }

/* One column per year of the span. --years and each tick's --d are written by
 * the build from the jurisdiction record, so the count of ticks cannot drift
 * from the number spelled out in the headline. */
.ticks {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 9px;
  display: grid;
  grid-template-columns: repeat(var(--years), 1fr);
  pointer-events: none;
}
.ticks i {
  display: block;
  border-right: 1px solid var(--m-vault-line);
  opacity: 0;
  animation: tickin 400ms ease both;
  animation-delay: calc(var(--d) * 1ms);
}
.ticks i:last-child { border-right: 0; }
@keyframes tickin { to { opacity: 1; } }

.dim-label {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--m-vault);
  padding: 0 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--m-vault-accent);
  white-space: nowrap;
  opacity: 0;
  animation: tickin 500ms ease 1800ms both;
}

.rule-legend { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-top: 12px; }
.rule-legend .end { display: flex; flex-direction: column; gap: 2px; }
.rule-legend .end.right { text-align: right; }
.rule-legend b { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.rule-legend span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--m-vault-faint);
}

/* ============================================================
   LIGHT BODY
   ============================================================ */
.band h2 {
  margin: 14px 0 0;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
  max-width: 24ch;
}
.band .intro { margin: 16px 0 0; font-size: 16px; color: var(--v-ink-muted); max-width: 58ch; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.card {
  background: var(--v-surface);
  border: 1px solid var(--v-line);
  border-radius: var(--v-radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card h3 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 14px; color: var(--v-ink-muted); line-height: 1.55; }
/* overflow-wrap, not a truncation: the address is shown in full because its
 * length and illegibility are the point being made about it. */
.card .addr {
  font-family: var(--v-mono);
  font-size: 12.5px;
  color: var(--v-accent);
  background: var(--v-accent-soft);
  border-radius: var(--v-radius-control);
  padding: 8px 11px;
  overflow-wrap: anywhere;
  margin-top: auto;
}

/* The pipeline is a real sequence, so it is an ordered list and it is numbered.
 * The marker is drawn from the copy, not from the list, so it can be mono and
 * tabular; the <ol> carries the semantics. */
.stages { margin: 52px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--v-line); }
.stage {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--v-line);
  align-items: baseline;
}
.stage .n {
  font-family: var(--v-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--v-accent);
  font-variant-numeric: tabular-nums;
}
.stage h3 { margin: 0 0 4px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.stage p { margin: 0; font-size: 14px; color: var(--v-ink-muted); max-width: 62ch; }

.note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--v-ink-muted);
  border-left: 2px solid var(--v-accent);
  padding-left: 16px;
  max-width: 62ch;
}

/* ---------- Search ---------- */
.searchbox {
  margin-top: 44px;
  background: var(--v-surface);
  border: 1px solid var(--v-line);
  border-radius: var(--v-radius);
  overflow: hidden;
}
.searchfield { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--v-line); }
.searchfield svg { flex: none; color: var(--v-ink-faint); }
.searchfield input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--v-ink);
  padding: 0;
  min-width: 0;
  /* type="search" so the browser offers a clear affordance; the UA's own inset
   * and rounding would fight the field it sits in. */
  appearance: none;
  -webkit-appearance: none;
}
.searchfield input:focus { outline: none; }
.searchfield input::placeholder { color: var(--v-ink-faint); font-weight: 400; }
/* The field ships disabled and /scripts/search.js enables it, so this is what a
 * visitor without JavaScript sees. It should read as "not available", not as
 * "broken" — the result list beside it is complete and correct. */
.searchfield input:disabled { cursor: not-allowed; opacity: .65; -webkit-text-fill-color: var(--v-ink-faint); }

.chips {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 14px 20px;
  background: var(--v-surface-2);
  border-bottom: 1px solid var(--v-line);
}
.chips .lbl {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--v-ink-faint); margin-right: 4px;
}
.chip {
  font-family: var(--v-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--v-ink-muted);
  background: var(--v-surface);
  border: 1px solid var(--v-line);
  border-radius: var(--v-radius-pill);
  padding: 4px 12px;
  cursor: pointer;
}
.chip:hover:not(:disabled) { border-color: var(--v-accent); color: var(--v-accent); }
.chip:disabled { cursor: not-allowed; opacity: .6; }

.results { list-style: none; margin: 0; padding: 0; }
.results li {
  display: grid;
  grid-template-columns: 176px 1fr 128px 96px;
  gap: 18px;
  align-items: center;
  padding: 13px 20px;
  border-bottom: 1px solid var(--v-line);
  font-size: 14px;
}
/* The script filters by toggling [hidden], and `display: grid` above would
 * otherwise beat the UA's `[hidden] { display: none }`. Without this rule the
 * filter does nothing visible at all. */
.results li[hidden] { display: none; }
.results li:last-child { border-bottom: 0; }
.results .r-ref {
  font-family: var(--v-mono); font-size: 12.5px; letter-spacing: 0.02em;
  color: var(--v-accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.results .r-title { font-size: 13.5px; color: var(--v-ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.results .r-party { font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.results .r-date { font-size: 13px; color: var(--v-ink-muted); font-variant-numeric: tabular-nums; }
.results .r-amt { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.tally { padding: 12px 20px; font-size: 12.5px; font-weight: 500; color: var(--v-ink-faint); background: var(--v-surface-2); font-variant-numeric: tabular-nums; }

/* ---------- Retention table ---------- */
.tablewrap { margin-top: 44px; overflow-x: auto; background: var(--v-surface); border: 1px solid var(--v-line); border-radius: var(--v-radius); }
table.ret { width: 100%; border-collapse: collapse; min-width: 660px; }
table.ret th {
  text-align: left;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--v-ink-faint);
  padding: 14px 20px 14px 0;
  border-bottom: 1px solid var(--v-line);
  white-space: nowrap;
}
table.ret th:first-child, table.ret td:first-child { padding-left: 20px; }
table.ret td { padding: 13px 20px 13px 0; border-bottom: 1px solid var(--v-line); font-size: 14px; vertical-align: baseline; }
table.ret tr:last-child td { border-bottom: 0; }
table.ret .juris { font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
table.ret .years { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
table.ret .basis { font-family: var(--v-mono); font-size: 12.5px; color: var(--v-ink-muted); white-space: nowrap; }
/* No statute to cite, so it drops the mono treatment that says "statute"
 * rather than filling it with the bare period. */
table.ret .basis.none { font-family: var(--v-sans); font-size: 13.5px; font-style: italic; }

/* The row the visitor's DOMAIN resolves to — never the locale's. */
table.ret tr.active td { background: var(--v-accent-soft); }
table.ret tr.active td:first-child { box-shadow: inset 3px 0 0 var(--v-accent); }
.yours {
  display: inline-block;
  margin-left: 8px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--v-accent);
  vertical-align: 1px;
}

/* ---------- Pricing, set as an invoice ---------- */
/* Three panels: the rates, then the same business's first month and every month
 * after. align-items:start because they are different heights by nature — only
 * the rate panel carries sub-lines under every row — and stretching them to
 * match would put dead space under two of the three. */
.invoice { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.panel { background: var(--v-surface); border: 1px solid var(--v-line); border-radius: var(--v-radius); padding: 26px 24px; }
.panel > .eyebrow { margin-bottom: 18px; }
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--v-line); }
.ledger li:last-child { border-bottom: 0; }
.ledger .l-name { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.ledger .l-sub { display: block; font-size: 12.5px; font-weight: 400; color: var(--v-ink-faint); margin-top: 1px; }
.ledger .l-amt { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; white-space: nowrap; }
/* RATES CARRY THEIR UNIT; the worked example beside them does not, because its
 * figures are computed totals rather than rates.
 *
 * The unit gets its OWN grid column rather than sitting inside .l-amt. With one
 * shared column the row right-aligns on the end of the unit — and since /Monat,
 * /Beleg and /GB are different widths (worse in English, where /document is
 * nine characters), the figures themselves come out ragged and the ledger stops
 * reading as a ledger. Split, the amounts right-align against each other and
 * the units hang off the end, so the decimal points line up in every locale.
 *
 * column-gap is zeroed because "0,15" and "/GB" are one number, not two cells;
 * the 16px that separated name from amount is restored as padding. */
.ledger-rates li { grid-template-columns: 1fr auto auto; column-gap: 0; }
.ledger-rates .l-amt { padding-left: 16px; text-align: right; }
.ledger .l-unit { font-weight: 500; color: var(--v-ink-faint); }
.ledger li.total { border-top: 2px solid var(--v-ink); border-bottom: 0; margin-top: 6px; padding-top: 14px; }
.ledger li.total .l-name { font-size: 15px; }
.ledger li.total .l-amt { font-size: 19px; letter-spacing: -0.02em; }
.panel .fine { margin: 18px 0 0; font-size: 12.5px; color: var(--v-ink-faint); }

.closing { margin-top: 56px; display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.closing .fine { font-size: 13.5px; color: var(--v-ink-muted); }

/* ---------- Footer: a sitemap, because this is a site ---------- */
.foot { border-top: 1px solid var(--v-line); padding-block: 48px 56px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot .brand { color: var(--v-ink); }
.foot .brand i { background: var(--v-accent); }
.foot .tagline { margin: 14px 0 0; font-size: 13px; color: var(--v-ink-muted); max-width: 34ch; }
.foot h4 {
  margin: 0 0 12px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--v-ink-faint);
}
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.foot ul a { font-size: 13.5px; color: var(--v-ink-muted); text-decoration: none; }
.foot ul a:hover { color: var(--v-ink); }
/* An entry whose page does not exist yet. It sits at the same size and rhythm
 * as its neighbours but is faint and inert, so the sitemap keeps its shape
 * without any of these pretending to be a link. Three of them are legally
 * mandatory and blocked on owner-supplied entity details — see the comment in
 * src/_includes/footer.njk before touching them. */
.foot ul .pending { font-size: 13.5px; color: var(--v-ink-faint); cursor: default; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid-3 { grid-template-columns: 1fr; }
  .invoice { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero h1 { font-size: 46px; }
  .band h2 { font-size: 28px; }
}
@media (max-width: 760px) {
  .wrap { width: min(1080px, 100% - 32px); }
  .band { padding-block: 72px; }
  .hero { padding-block: 52px 68px; }
  .hero h1 { font-size: 37px; letter-spacing: -0.03em; }
  .hero .lede { font-size: 17px; }
  .topbar { gap: 14px; }
  /* The nav links collapse; the CTA, sign-in and the locale switcher do not,
   * which is why those three live in the meta bar and the header row. */
  .topnav a.navlink { display: none; }
  .rowcard { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .rowcard .ref { grid-column: 1 / -1; }
  .rowcard .kind { display: none; }
  .results li { grid-template-columns: 1fr auto; gap: 4px 14px; }
  .results .r-ref, .results .r-title { grid-column: 1 / -1; }
  .results .r-date { display: none; }
  .stage { grid-template-columns: 34px 1fr; gap: 14px; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  /* The dimension line is data, so it must still be fully drawn — only the
     drawing OF it goes. .dim-label keeps its centring transform; only the
     animation is dropped. */
  .dim-fill, .ticks i, .dim-cap.right, .dim-label { animation: none !important; opacity: 1; }
  .dim-fill { transform: none; }
}
