/* Foster Companion — site styles
   Tokens first, then base, layout, components, page sections, print.
   No third-party requests. System/local fonts only. */

:root {
  /* Type scale (fluid) */
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.15vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.45vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);

  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Fonts — locally available only */
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino,
    "Book Antiqua", "Source Serif 4", "Noto Serif", Georgia, serif;

  /* Radii + elevation */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(60, 48, 32, 0.06),
    0 2px 8px rgba(60, 48, 32, 0.04);
  --shadow-md: 0 2px 4px rgba(60, 48, 32, 0.05),
    0 12px 32px rgba(60, 48, 32, 0.07);

  --measure: 66ch;
  --page: 68rem;
}

/* Light (default) — warm neutrals, one pine accent */
:root,
[data-theme="light"] {
  --bg: #faf7f1;
  --surface: #fffdf9;
  --surface-offset: #f2ece1;
  --surface-sunken: #ebe4d7;
  --border: rgba(60, 48, 32, 0.14);
  --border-strong: rgba(60, 48, 32, 0.26);
  --text: #221f1a;
  --text-muted: #5f594f;
  --text-faint: #6c6659;
  --accent: #2c5c51;
  --accent-hover: #22483f;
  --accent-soft: #dfe8e2;
  --on-accent: #fbfaf6;
  --focus: #8a5a20;
}

[data-theme="dark"] {
  --bg: #17150f;
  --surface: #1e1c15;
  --surface-offset: #262319;
  --surface-sunken: #2e2a1f;
  --border: rgba(240, 232, 214, 0.16);
  --border-strong: rgba(240, 232, 214, 0.32);
  --text: #f3eee2;
  --text-muted: #c3bcab;
  --text-faint: #9d9484;
  --accent: #9dc6b6;
  --accent-hover: #b7d7c9;
  --accent-soft: #24332c;
  --on-accent: #14201b;
  --focus: #e0b57c;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17150f;
    --surface: #1e1c15;
    --surface-offset: #262319;
    --surface-sunken: #2e2a1f;
    --border: rgba(240, 232, 214, 0.16);
    --border-strong: rgba(240, 232, 214, 0.32);
    --text: #f3eee2;
    --text-muted: #c3bcab;
    --text-faint: #9d9484;
    --accent: #9dc6b6;
    --accent-hover: #b7d7c9;
    --accent-soft: #24332c;
    --on-accent: #14201b;
    --focus: #e0b57c;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--space-4);
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
}

h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
}

h3 {
  font-size: var(--text-lg);
  font-weight: 650;
  letter-spacing: -0.005em;
}

h4 {
  font-size: var(--text-base);
  font-weight: 650;
}

p,
ul,
ol,
dl {
  margin: 0 0 var(--space-4);
}

ul,
ol {
  padding-left: 1.25em;
}

li + li {
  margin-top: var(--space-2);
}

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

a:hover {
  color: var(--accent-hover);
}

strong {
  font-weight: 650;
}

small {
  font-size: var(--text-xs);
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: var(--space-10) 0;
}

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

::selection {
  background: var(--accent-soft);
  color: var(--text);
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: var(--space-2);
  transform: translateY(-160%);
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  z-index: 60;
  transition: transform 140ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.wrap--narrow {
  max-width: 46rem;
}

main {
  flex: 1 0 auto;
}

section {
  padding-block: clamp(var(--space-12), 7vw, var(--space-24));
}

section.tight {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}

.band {
  background: var(--surface-offset);
  border-block: 1px solid var(--border);
}

.eyebrow {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 650;
  color: var(--text-faint);
  margin-bottom: var(--space-3);
}

.lede {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 40ch;
}

.prose {
  max-width: var(--measure);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-right: auto;
}

.brand svg {
  width: 2rem;
  height: 2rem;
  color: var(--accent);
  flex: none;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-2) var(--space-3);
  font: inherit;
  font-size: var(--text-sm);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle svg {
  width: 1.05rem;
  height: 1.05rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-weight: 550;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--surface-offset);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--accent-soft);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.theme-toggle:hover {
  color: var(--text);
  background: var(--surface-offset);
}

.theme-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
}

/* Icon shows the mode you would switch TO */
.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun {
    display: block;
  }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon {
    display: none;
  }
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

@media (max-width: 46rem) {
  .header-inner {
    gap: var(--space-2);
    min-height: 3.5rem;
  }
  .brand {
    min-width: 0;
    gap: var(--space-2);
  }
  .brand svg {
    width: 1.75rem;
    height: 1.75rem;
  }
  .brand-name {
    font-size: 1rem;
  }
  .nav-toggle {
    display: inline-flex;
    order: 3;
    padding-inline: var(--space-3);
  }
  .site-nav {
    order: 4;
    flex-basis: 100%;
    display: none;
    padding-bottom: var(--space-4);
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
  }
  .site-nav a {
    display: flex;
    width: 100%;
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 0 var(--space-4);
  }
  .header-inner {
    flex-wrap: wrap;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-6);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.btn--quiet {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn--quiet:hover {
  background: var(--surface-offset);
  color: var(--text);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
}

.status-pill .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(var(--space-16), 9vw, var(--space-24));
}

.hero-grid {
  display: grid;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
}

.hero h1 {
  max-width: 22ch;
  margin-bottom: var(--space-5);
}

.hero p.lede {
  max-width: 46ch;
}

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

.hero-note {
  margin-top: var(--space-5);
  font-size: var(--text-xs);
  color: var(--text-faint);
  max-width: 42ch;
}

/* Hero side card: a quiet "month at a glance" typographic panel */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-6);
}

.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-4);
}

.panel-head h2 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 650;
  margin: 0;
}

.panel-head span {
  font-size: var(--text-xs);
  color: var(--text-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding-block: var(--space-3);
  font-size: var(--text-sm);
  border-top: 1px solid var(--border);
}

.checklist li:first-child {
  border-top: 0;
}

.checklist svg {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  flex: none;
  color: var(--accent);
}

.checklist .label {
  color: var(--text);
  font-weight: 550;
}

.checklist .meta {
  display: block;
  color: var(--text-faint);
  font-size: var(--text-xs);
  font-weight: 400;
}

@media (max-width: 54rem) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Features (asymmetric, no icon-circle grid) ---------- */
.feature-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(var(--space-6), 4vw, var(--space-12));
  align-items: end;
  margin-bottom: var(--space-12);
}

.features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-6);
}

.feature {
  grid-column: span 3;
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.feature--wide {
  grid-column: span 6;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: var(--space-6);
  align-items: start;
  background: var(--surface-sunken);
  box-shadow: none;
}

.feature--tall {
  grid-column: span 2;
}

.feature h3 {
  margin-bottom: var(--space-2);
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.feature p + p {
  margin-top: var(--space-3);
}

.feature-index {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: var(--space-3);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 54rem) {
  .feature-lead {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .feature,
  .feature--wide,
  .feature--tall {
    grid-column: auto;
  }
  .feature--wide {
    grid-template-columns: 1fr;
  }
}

/* ---------- Two-column text blocks ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start;
}

.split--sidebar {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

@media (max-width: 54rem) {
  .split,
  .split--sidebar {
    grid-template-columns: 1fr;
  }
}

.facts {
  margin: 0;
}

.facts dt {
  font-weight: 650;
  font-size: var(--text-sm);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.facts dd {
  margin: var(--space-1) 0 var(--space-4);
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.callout {
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.callout h2,
.callout h3 {
  margin-bottom: var(--space-3);
}

.callout p:last-child {
  margin-bottom: 0;
}

/* ---------- Legal / long-form pages ---------- */
.page-head {
  padding-block: clamp(var(--space-12), 7vw, var(--space-20))
    clamp(var(--space-6), 3vw, var(--space-10));
  border-bottom: 1px solid var(--border);
}

.page-head .lede {
  max-width: 56ch;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  margin-top: var(--space-5);
  padding: 0;
  list-style: none;
  font-size: var(--text-xs);
  color: var(--text-faint);
}

.doc-meta li {
  margin: 0;
}

.doc-layout {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start;
  padding-block: clamp(var(--space-10), 6vw, var(--space-16));
}

.toc {
  position: sticky;
  top: 5.5rem;
  font-size: var(--text-sm);
}

.toc h2 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: var(--space-3);
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}

.toc li {
  margin: 0;
  counter-increment: toc;
}

.toc a {
  display: block;
  padding: var(--space-2) 0;
  color: var(--text-muted);
  text-decoration: none;
  border-top: 1px solid var(--border);
}

.toc li:first-child a {
  border-top: 0;
}

.toc a::before {
  content: counter(toc) ". ";
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

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

.doc {
  max-width: var(--measure);
}

.doc > section {
  padding-block: 0;
  margin-bottom: var(--space-12);
  scroll-margin-top: 5.5rem;
}

.doc h2 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 650;
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
}

.doc h3 {
  font-size: var(--text-base);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

.doc p,
.doc li {
  color: var(--text-muted);
}

.doc strong {
  color: var(--text);
}

.doc-note {
  padding: var(--space-5) var(--space-6);
  background: var(--surface-offset);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

.doc-note p:last-child {
  margin-bottom: 0;
}

@media (max-width: 60rem) {
  .doc-layout {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
    padding: var(--space-5);
    background: var(--surface-offset);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
  }
}

/* ---------- Support page bits ---------- */
.help-list {
  border-top: 1px solid var(--border);
}

.help-item {
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-6);
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  gap: var(--space-6);
}

.help-item h3 {
  margin: 0;
}

.help-item p:last-child,
.help-item ol:last-child,
.help-item ul:last-child {
  margin-bottom: 0;
}

.help-item .body {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

@media (max-width: 54rem) {
  .help-item {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-card p {
  margin: 0;
  max-width: 46ch;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.email-link {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  word-break: break-word;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--surface-offset);
  padding-block: var(--space-12) var(--space-10);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
}

.footer-grid h2 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: var(--space-3);
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li + li {
  margin-top: var(--space-2);
}

.footer-grid a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text);
  font-weight: 650;
  margin-bottom: var(--space-3);
}

.footer-brand svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  justify-content: space-between;
  margin-top: var(--space-10);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  font-size: var(--text-xs);
  color: var(--text-faint);
}

.footer-bottom p {
  margin: 0;
  max-width: 62ch;
}

@media (max-width: 54rem) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

.footer-bottom--flush {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* ---------- 404 ---------- */
.notfound {
  display: flex;
  align-items: center;
  min-height: 55vh;
}

/* ---------- Motion + print ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  :root {
    --bg: #fff;
    --surface: #fff;
    --surface-offset: #fff;
    --text: #000;
    --text-muted: #1a1a1a;
    --text-faint: #444;
    --border: #bbb;
  }
  .site-header,
  .site-nav,
  .theme-toggle,
  .nav-toggle,
  .toc,
  .skip-link,
  .hero-actions,
  .status-pill {
    display: none !important;
  }
  body {
    font-size: 11pt;
    line-height: 1.5;
  }
  .doc-layout {
    display: block;
    padding-block: 0;
  }
  .doc,
  .prose {
    max-width: none;
  }
  .doc > section {
    margin-bottom: 18pt;
    page-break-inside: avoid;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
  .doc a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #444;
  }
  .site-footer {
    border-top: 1px solid #bbb;
    background: none;
  }
}
