/* Modernist — design-system tokens and component classes. This file is the source of truth for the system's look; retune it here and see readme.md. */

:root {
  --color-bg: #f5f5f7;
  --color-surface: #eaeaef;
  --color-text: #1b1c22;
  --color-accent: #2b3390;
  --color-accent-2: #6d7280;
  --color-divider: color-mix(in srgb, #1b1c22 40%, transparent);
  --nca-navy: #232a7c;
  --nca-grey: #97979b;
  --wrap: 1240px;

  --color-neutral-100: #f7f7f9;
  --color-neutral-200: #e9e9ee;
  --color-neutral-300: #d5d5dc;
  --color-neutral-400: #b7b7c0;
  --color-neutral-500: #97979f;
  --color-neutral-600: #797981;
  --color-neutral-700: #5c5c64;
  --color-neutral-800: #414148;
  --color-neutral-900: #2b2b31;

  --color-accent-100: #eef0fa;
  --color-accent-200: #dadef2;
  --color-accent-300: #bcc2e8;
  --color-accent-400: #8d95d4;
  --color-accent-500: #4d57b4;
  --color-accent-600: #232a7c;
  --color-accent-700: #1a1f5e;
  --color-accent-800: #141742;
  --color-accent-900: #0f112c;

  --color-accent-2-100: #f4f4f6;
  --color-accent-2-200: #e6e6ea;
  --color-accent-2-300: #d0d0d7;
  --color-accent-2-400: #aeaeb8;
  --color-accent-2-500: #8b8b96;
  --color-accent-2-600: #6d6d78;
  --color-accent-2-700: #52525b;
  --color-accent-2-800: #3a3a41;
  --color-accent-2-900: #26262b;

  --font-heading: "Archivo", system-ui, sans-serif;
  --font-heading-weight: 800;
  --font-body: "Archivo", system-ui, sans-serif;

  --space-1: 4.0px;
  --space-2: 8.0px;
  --space-3: 12.0px;
  --space-4: 16.0px;
  --space-6: 24.0px;
  --space-8: 32.0px;

  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;

  /* Elevation — derived from the ground: soft ink-tinted shadows on a
     light theme, a hairline edge + ambient darkness on a dark one. */
  --shadow-sm: 0 1px 2px color-mix(in srgb, #2d2b2b 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2d2b2b 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2d2b2b 22%, transparent);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); }

.grayscale{filter:grayscale(1) contrast(1.08)}

/* ══════════════════════════════════════════════════════════════════════════
   Components — built with the tokens above. Plain CSS
   on plain HTML: no JavaScript, no build step. Each class is documented in
   readme.md and demonstrated in foundations/ and components/.
   ══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 400; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; }
h6 { letter-spacing: 0.08em; text-transform: uppercase; }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
figcaption {
  font-size: 11px; margin-top: var(--space-1);
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.text-muted { color: color-mix(in srgb, var(--color-text) 55%, transparent); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* — rules — */
.hr {
  height: 2px; border: 0; margin: var(--space-4) 0;
  background: var(--color-divider);
}

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text); /* matches the .input's 14px —
     the pair sits side by side in sign-up rows */
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.btn svg { display: block; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-ghost:active { background: color-mix(in srgb, var(--color-accent) 18%, transparent); }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn-block { width: 100%; margin-top: var(--space-2); justify-content: flex-start; text-align: left; }

/* — forms — */
.field > label {
  display: block; font-size: 12px; margin-bottom: 5px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit;
  font-size: 14px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }
.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.radio input, .seg-opt input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.radio .dot {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--color-divider);
}
.radio:hover .dot { border-color: var(--color-accent); }
.radio input:checked + .dot {
  border-color: var(--color-accent); background: var(--color-accent);
  box-shadow: inset 0 0 0 4px var(--color-bg);
}
.radio input:focus-visible + .dot { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.seg {
  display: inline-flex; overflow: hidden;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.seg-opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; font-size: 13px; cursor: pointer;
}
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt:has(input:checked) { background: var(--color-accent); color: var(--color-bg); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* — cards — */
.card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-surface);
}
.card-kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.card-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px; line-height: 1.2;
}
.card-body { margin: 0; font-size: 13px; opacity: 0.8; flex: 1; }
.card-meta {
  display: flex; align-items: center; gap: 6px; font-size: 11px;
  color: color-mix(in srgb, var(--color-text) 50%, transparent);
}
.elev-sm { box-shadow: var(--shadow-sm); }
.elev-md { box-shadow: var(--shadow-md); }
.elev-lg { box-shadow: var(--shadow-lg); }

/* — tags — */
.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px;
  border-radius: calc(var(--radius-md) * 0.75);
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

/* — navigation — */
.nav {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: 2px solid var(--color-divider);
}
.nav-brand {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 18px; margin-right: auto;
}
.nav a { color: inherit; text-decoration: none; font-size: 14px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--color-accent); }

/* — tables — */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  padding: var(--space-2); border-bottom: 2px solid var(--color-divider);
}
.table td {
  padding: var(--space-2);
  border-bottom: 1px solid var(--color-divider);
}
.table tbody tr:hover { background: color-mix(in srgb, var(--color-text) 4%, transparent); }

/* — dialog — */
.dialog-backdrop {
  position: fixed; inset: 0; display: grid; place-items: center;
  padding: var(--space-4);
  background: color-mix(in srgb, var(--color-neutral-900) 50%, transparent);
}
.dialog {
  width: min(440px, 100%); display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-4); border-radius: var(--radius-lg);
  background: var(--color-surface); box-shadow: var(--shadow-lg);
}
.dialog-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 20px;
}
.dialog-body { font-size: 14px; opacity: 0.85; }
.dialog-actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-2); }


img { height: auto; }
a:hover { color: var(--color-accent-700); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.h-xl { font-size: clamp(38px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.03em; }
.h-lg { font-size: clamp(28px, 4vw, 46px); line-height: 1.06; letter-spacing: -0.025em; }
.h-md { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.12; letter-spacing: -0.02em; }
.lede { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; max-width: 62ch; }
.kicker { font-family: var(--font-heading); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.grid-cells { display: grid; gap: 2px; background: var(--color-divider); border: 2px solid var(--color-divider); }
.grid-cells > * { background: var(--color-bg); }
.sec { padding: clamp(56px, 7vw, 104px) 0; }
.rule-top { border-top: 2px solid var(--color-divider); }
@media (max-width: 1080px) { .hide-sm { display: none !important; } }
@media (min-width: 1081px) { .only-sm { display: none !important; } }

.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split-even { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split-narrow { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split-center { align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .split-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split-narrow { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}
@media (max-width: 899px) {
  .h-xl { font-size: clamp(34px, 9vw, 46px); }
}

.cellgrid { display: grid; gap: 2px; background: var(--color-divider); border: 2px solid var(--color-divider); grid-template-columns: 1fr; }
.cellgrid > * { background: var(--color-bg); }
.band { display: grid; gap: 2px; background: var(--color-divider); border-top: 2px solid var(--color-divider); border-bottom: 2px solid var(--color-divider); grid-template-columns: 1fr; }
.band > * { background: var(--color-bg); }
@media (min-width: 640px) {
  .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .g-3 { grid-template-columns: repeat(3, 1fr); }
  .g-4 { grid-template-columns: repeat(4, 1fr); }
}

/* stat row — vertical rules instead of a colour field */
.statrow { display: grid; grid-template-columns: 1fr; }
.statrow > * + * { border-top: 2px solid var(--color-divider); }
@media (min-width: 640px) {
  .statrow { grid-template-columns: repeat(2, 1fr); }
  .statrow > * + * { border-top: 0; }
  .statrow > *:nth-child(n+3) { border-top: 2px solid var(--color-divider); }
  .statrow > *:nth-child(even) { border-left: 2px solid var(--color-divider); }
}
@media (min-width: 1024px) {
  .statrow { grid-template-columns: repeat(4, 1fr); }
  .statrow > *:nth-child(n+3) { border-top: 0; }
  .statrow > * + * { border-left: 2px solid var(--color-divider); }
}

/* scroll reveal — only active once JS opts in, so no-JS keeps everything visible */
.reveal-on [data-rv] { opacity: 0; transform: translateY(16px); }
.reveal-on [data-rv].rv-in { opacity: 1; transform: none; transition: opacity .62s cubic-bezier(.2,.7,.3,1), transform .62s cubic-bezier(.2,.7,.3,1); }
@media (prefers-reduced-motion: reduce) {
  .reveal-on [data-rv] { opacity: 1; transform: none; }
  .reveal-on [data-rv].rv-in { transition: none; }
}

/* link + card affordances */
.cellgrid a { transition: background .16s ease; }

/* buttons sitting on the navy field */
.btn-invert { background: #fff; color: var(--nca-navy); }
.btn-invert:hover { background: var(--color-accent-200); }
.btn-invert:active { background: var(--color-accent-300); }
.btn-onnavy { border-color: rgba(255,255,255,.42); color: #fff; }
.btn-onnavy:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-onnavy:active { background: rgba(255,255,255,.2); }
.btn-invert:focus-visible, .btn-onnavy:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* nav + footer link affordances (inline colours need the override) */
nav a { transition: background .14s ease; }
nav a:hover { background: var(--color-accent-100); }
footer a:hover { color: var(--color-accent-300) !important; text-decoration: underline; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--nca-navy); color: #fff; padding: 12px 18px;
  font-family: var(--font-heading); font-weight: 800; font-size: 14px; text-decoration: none;
}
.skip:focus { left: 0; }

/* band cells: flush left at the section edge, inset from any rule to their left */
.band > * { padding: 30px 0 34px 0; }
@media (min-width: 640px) {
  .band > * { padding: 32px 36px 36px 36px; }
  .band.g-4 > *:nth-child(2n+1),
  .band.g-3 > *:nth-child(2n+1) { padding-left: 0; }
  .band.g-4 > *:nth-child(2n),
  .band.g-3 > *:nth-child(2n) { padding-right: 0; }
}
@media (min-width: 1024px) {
  .band.g-4 > *:nth-child(n) { padding-left: 36px; padding-right: 36px; }
  .band.g-4 > *:nth-child(4n+1) { padding-left: 0; }
  .band.g-4 > *:nth-child(4n) { padding-right: 0; }
  .band.g-3 > *:nth-child(n) { padding-left: 36px; padding-right: 36px; }
  .band.g-3 > *:nth-child(3n+1) { padding-left: 0; }
  .band.g-3 > *:nth-child(3n) { padding-right: 0; }
}

/* stat row: same treatment, and a touch more air than 28px */
@media (min-width: 640px) {
}
@media (min-width: 1024px) {
}

.statrow > * { padding: 34px 0 36px 0; }
@media (min-width: 640px) {
  .statrow > * { padding: 34px 36px 36px 36px; }
  .statrow > *:nth-child(2n+1) { padding-left: 0; }
  .statrow > *:nth-child(2n) { padding-right: 0; }
}
@media (min-width: 1024px) {
  .statrow > *:nth-child(n) { padding-left: 36px; padding-right: 36px; }
  .statrow > *:nth-child(4n+1) { padding-left: 0; }
  .statrow > *:nth-child(4n) { padding-right: 0; }
}

/* Hero photograph: darken the image itself so the scrim can stay light enough
   for the photo to actually read, while white type keeps ~5:1 over the worst
   (brightest) region of the frame. */
.hero-photo { filter: grayscale(1) contrast(1.06) brightness(0.60); }

/* Left-weighted scrim. Falls away well before the quote card so the photograph
   is legible in the gap and at the right edge. */
.hero-scrim {
  background: linear-gradient(100deg,
    rgba(35,42,124,.72) 0%,
    rgba(35,42,124,.68) 48%,
    rgba(35,42,124,.40) 62%,
    rgba(35,42,124,.14) 100%);
}
/* Single column below 900px: text spans the full width, so the scrim must too. */
@media (max-width: 899px) {
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(35,42,124,.74) 0%,
      rgba(35,42,124,.70) 55%,
      rgba(35,42,124,.62) 100%);
  }
}

/* Mega panel grid — 3 service columns + the featured panel; collapses before
   the drawer breakpoint so it never overflows on narrow desktop windows. */
.megagrid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1081px) { .megagrid { grid-template-columns: 1fr 1fr 1fr minmax(240px, 300px); } }

/* Mega panel must scroll if it is taller than the space under the sticky bar. */
.mega-panel { max-height: calc(100vh - 114px); overflow-y: auto; overscroll-behavior: contain; }

/* Anchor targets clear the sticky header instead of landing under it. */
#main, #quote, #services, [id][data-anchor] { scroll-margin-top: 128px; }
@media (max-width: 1080px) { #main, #quote, #services { scroll-margin-top: 88px; } }

/* Nav triggers: buttons now, so give them the same hover the links have. */
nav button:hover { background: var(--color-accent-100); }
nav button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* Mobile drawer owns the viewport; dvh keeps it correct under mobile browser chrome. */
.drawer { height: 100dvh; }

/* No sticky-jump on in-page anchors for reduced-motion users. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Long tokens (the email address) must never push a 320px screen wide. */
a[href^="mailto:"], .breakable { overflow-wrap: anywhere; }

/* Mobile header call button: label drops away on the narrowest screens,
   leaving the icon — the 48px tap target is preserved either way. */
@media (max-width: 400px) { .calltext { display: none; } }

/* Scrollable data table gets a visible edge cue on touch. */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Utility bar collapses on scroll — sticky chrome goes 114px → 76px. */
.utilbar { overflow: hidden; transition: height .22s cubic-bezier(.2,.7,.3,1); }
.utilbar[data-collapsed="false"] { height: 38px; }
.utilbar[data-collapsed="true"] { height: 0; }
@media (prefers-reduced-motion: reduce) { .utilbar { transition: none; } }

/* Sticky containing block.
   The host wraps the page in divs that resolve to viewport height while the
   document is many screens tall. position:sticky only sticks within its
   containing block, so the header un-stuck after one screen. Letting these
   wrappers size to their content restores full-page sticky. */
html { height: auto; }
body { height: auto; min-height: 100%; }
body > div, .sc-host { height: auto !important; }

/* Suburb list on location pages */
.suburbgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
@media (min-width: 640px) { .suburbgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .suburbgrid { grid-template-columns: repeat(4, 1fr); } }

/* Guide TOC: sticky section navigator.
   The left cell is sized to its own content (align-items:start), so a static
   TOC abandons ~2,000px of column beside the article. Sticking it at the
   header offset turns that into a persistent navigator. */
@media (min-width: 900px) {
  /* The grid item must span the full row height, or sticky has only the
     TOC's own 427px to travel in and releases almost immediately —
     same containing-block trap as the sticky header. */
  .toc-col { align-self: stretch; height: 100%; }
  .toc-sticky { position: sticky; top: 128px; }
}
.toc-link[aria-current="true"] {
  color: var(--color-accent-700);
  font-family: var(--font-heading);
  font-weight: 800;
  box-shadow: inset 3px 0 0 var(--color-accent-600);
  padding-left: 12px;
}

/* The hidden attribute must beat inline display values (drawer, mega panels). */
[hidden] { display: none !important; }
details > summary::-webkit-details-marker { display: none; }
details > summary { list-style: none; }

/* No orphan cells. .cellgrid/.band paint the rule colour as their own
   background and rely on children covering it, so an empty cell renders as a
   solid grey block. Let a short last row span its remaining columns instead. */
@media (min-width: 640px) and (max-width: 1023px) {
  .cellgrid > *:last-child:nth-child(odd),
  .band > *:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .cellgrid.g-2 > *:last-child:nth-child(odd),
  .band.g-2 > *:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cellgrid.g-3 > *:last-child:nth-child(3n+1),
  .band.g-3 > *:last-child:nth-child(3n+1) { grid-column: span 3; }
  .cellgrid.g-3 > *:last-child:nth-child(3n+2),
  .band.g-3 > *:last-child:nth-child(3n+2) { grid-column: span 2; }
  .cellgrid.g-4 > *:last-child:nth-child(4n+1),
  .band.g-4 > *:last-child:nth-child(4n+1) { grid-column: span 4; }
  .cellgrid.g-4 > *:last-child:nth-child(4n+2),
  .band.g-4 > *:last-child:nth-child(4n+2) { grid-column: span 3; }
  .cellgrid.g-4 > *:last-child:nth-child(4n+3),
  .band.g-4 > *:last-child:nth-child(4n+3) { grid-column: span 2; }
}

/* FAQ disclosure affordance. The native marker is suppressed above, so the
   indicator is a ::after flex item that toggles on [open] — no JS needed. */
details > summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
  color: var(--color-accent-600);
}
details[open] > summary::after { content: "\2014"; }
details > summary:hover { color: var(--color-accent-700); }
details > summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* Legal pages: sticky contents column beside the body copy. */
.legal-grid { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; align-items: start; }
.legal-grid > aside > a:hover { color: var(--color-accent-700); }
@media (min-width: 900px) {
  .legal-grid { grid-template-columns: 230px minmax(0, 1fr); }
  .legal-toc { position: sticky; top: 96px; }
}
