:root {
  color-scheme: light;
  --ink: #172326;
  --ink-soft: #3e4c50;
  --paper: #f6f4ef;
  --surface: #fffefb;
  --navy: #173942;
  --navy-2: #245561;
  --line: #cbd2cf;
  --line-strong: #8e9b98;
  --accent: #b5482f;
  --accent-soft: #f1ded7;
  --teal-soft: #dce9e7;
  --link: #0c5b6b;
  --focus: #f0a51a;
  --max: 76rem;
  --read: 48rem;
  --shadow: 0 0.7rem 1.8rem rgba(23, 35, 38, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.14em; }
a:focus-visible, summary:focus-visible { outline: 0.2rem solid var(--focus); outline-offset: 0.22rem; border-radius: 0.08rem; }
img, svg { max-width: 100%; }
.skip-link {
  position: fixed; z-index: 1000; top: 0.75rem; left: 0.75rem; transform: translateY(-180%);
  background: var(--ink); color: white; padding: 0.65rem 0.9rem; font-weight: 700;
}
.skip-link:focus { transform: none; }
.status-strip { background: var(--accent); color: #fff; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.02em; }
.status-strip .wrap { padding-block: 0.48rem; }
.wrap { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.masthead { display: flex; align-items: center; justify-content: space-between; min-height: 5rem; gap: 2rem; }
.brand { color: var(--ink); text-decoration: none; display: inline-flex; align-items: baseline; gap: 0.45rem; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; letter-spacing: -0.025em; }
.brand span { color: var(--ink-soft); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.desktop-nav { display: flex; align-items: center; gap: 1.35rem; font-size: 0.91rem; font-weight: 700; }
.desktop-nav > a { color: var(--ink); text-decoration: none; padding-block: 1rem; border-bottom: 0.18rem solid transparent; }
.desktop-nav > a:hover, .desktop-nav > a[aria-current="page"] { border-color: var(--accent); }
.nav-menu { position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; color: var(--ink); padding: 1rem 0; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: " +"; color: var(--accent); }
.nav-menu[open] summary::after { content: " –"; }
.nav-panel {
  position: absolute; right: 0; z-index: 20; top: calc(100% - 0.35rem); width: 19rem;
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); padding: 0.6rem;
}
.nav-panel a { display: block; color: var(--ink); text-decoration: none; padding: 0.58rem 0.65rem; border-left: 0.18rem solid transparent; }
.nav-panel a:hover, .nav-panel a[aria-current="page"] { background: var(--teal-soft); border-color: var(--accent); }
.mobile-nav { display: none; border-top: 1px solid var(--line); }
.mobile-nav > summary { list-style: none; cursor: pointer; padding: 0.9rem 0; font-weight: 800; }
.mobile-nav > summary::-webkit-details-marker { display: none; }
.mobile-nav > summary::after { content: "Open menu"; float: right; color: var(--link); font-size: 0.85rem; }
.mobile-nav[open] > summary::after { content: "Close menu"; }
.mobile-nav-content { padding: 0 0 1rem; display: grid; gap: 1rem; }
.mobile-nav-group strong { display: block; color: var(--ink-soft); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.mobile-nav-group a { display: block; padding: 0.45rem 0; color: var(--ink); }

main { display: block; }
.breadcrumb { padding-top: 1.25rem; font-size: 0.875rem; color: var(--ink-soft); }
.breadcrumb ol { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line-strong); }
.hero { padding: clamp(3.2rem, 7vw, 6.5rem) 0 clamp(3rem, 6vw, 5.5rem); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.8fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.eyebrow { margin: 0 0 0.75rem; color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3 { color: var(--ink); font-family: Georgia, "Times New Roman", serif; line-height: 1.14; text-wrap: balance; }
h1 { margin: 0; max-width: 14ch; font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -0.045em; font-weight: 500; }
.section-page h1 { font-size: clamp(2.55rem, 6vw, 4.8rem); max-width: 18ch; }
h2 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3.15rem); letter-spacing: -0.035em; font-weight: 500; }
h3 { margin: 0 0 0.55rem; font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 600; }
.lede { max-width: 43rem; margin: 1.4rem 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 2.4vw, 1.65rem); line-height: 1.46; color: #2f4044; }
.proposal-note { margin-top: 1.55rem; padding-left: 1rem; border-left: 0.28rem solid var(--accent); max-width: 43rem; font-weight: 700; }
.status-card { background: var(--navy); color: #fff; padding: 1.5rem; box-shadow: var(--shadow); }
.status-card .label { margin: 0 0 0.45rem; color: #c5e2df; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.11em; font-weight: 800; }
.status-card h2 { color: #fff; font-family: inherit; font-size: 1.35rem; font-weight: 800; letter-spacing: 0; }
.status-card p { margin: 0.65rem 0; }
.status-card dl { margin: 1.3rem 0 0; border-top: 1px solid rgba(255,255,255,.25); }
.status-card dl div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.75rem; padding: 0.65rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.status-card dt { color: #c5e2df; }
.status-card dd { margin: 0; font-weight: 700; }
.status-card a { color: white; }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-intro { max-width: var(--read); margin-bottom: 2rem; }
.section-intro p { color: var(--ink-soft); font-size: 1.08rem; }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.topic-card { background: var(--surface); border-top: 0.28rem solid var(--navy-2); padding: 1.35rem; min-height: 100%; }
.topic-card p { margin: 0.55rem 0 1rem; color: var(--ink-soft); }
.topic-card .article-ref { color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.topic-card .card-link { font-weight: 800; }
.split { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.75fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split > * { min-width: 0; }
.prose { max-width: var(--read); }
.prose > *:first-child { margin-top: 0; }
.prose p, .prose li { max-width: 72ch; }
.prose h2 { margin-top: 3.5rem; }
.prose h3 { margin-top: 2.2rem; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li + li { margin-top: 0.45rem; }
.toc { position: sticky; top: 1rem; background: var(--surface); border: 1px solid var(--line); padding: 1.2rem; }
.toc h2 { font-family: inherit; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 800; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc a { color: var(--ink); }
.callout { margin: 1.8rem 0; padding: 1.2rem 1.35rem; background: var(--teal-soft); border-left: 0.28rem solid var(--navy-2); }
.callout.warning { background: var(--accent-soft); border-left-color: var(--accent); }
.callout p:last-child { margin-bottom: 0; }
.callout h2, .callout h3 { font-family: inherit; font-size: 1rem; letter-spacing: 0.02em; font-weight: 800; }
.legal-ref { display: inline-block; padding: 0.12rem 0.42rem; background: var(--teal-soft); color: var(--navy); font-size: 0.82rem; font-weight: 800; text-decoration: none; }
.age-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 2rem 0; border: 1px solid var(--line-strong); }
.age-band { padding: 1.2rem; background: var(--surface); border-right: 1px solid var(--line); }
.age-band:last-child { border-right: 0; }
.age-band .age { display: block; color: var(--accent); font-family: Georgia, serif; font-size: 2rem; font-weight: 700; line-height: 1.05; }
.age-band p { margin-bottom: 0; font-size: 0.92rem; }
.table-wrap { max-width: 100%; overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--line-strong); background: var(--surface); }
.table-wrap:focus-visible { outline: 0.2rem solid var(--focus); outline-offset: 0.18rem; }
table { width: 100%; border-collapse: collapse; min-width: 48rem; font-size: 0.91rem; line-height: 1.45; }
caption { text-align: left; padding: 1rem; font-weight: 800; color: var(--ink); }
th, td { padding: 0.75rem 0.7rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
tr > *:last-child { border-right: 0; }
thead th { background: var(--navy); color: white; border-color: #496970; position: sticky; top: 0; }
tbody th { background: #edf1ef; min-width: 11rem; }
.applies { font-weight: 800; color: #174f3d; }
.limited { font-weight: 800; color: #8b3c28; }
.not-applicable { color: #667271; }
.matrix-key { display: flex; flex-wrap: wrap; gap: 0.7rem 1.2rem; font-size: 0.86rem; margin: 1rem 0; }
.source-list { display: grid; gap: 0.8rem; }
.source-item { background: var(--surface); border-left: 0.2rem solid var(--line-strong); padding: 1rem 1.1rem; }
.source-item p { margin: 0.25rem 0 0; color: var(--ink-soft); font-size: 0.9rem; }
.document-meta { color: var(--accent) !important; font-weight: 700; }
.process-list { margin: 1.8rem 0; padding: 0; list-style: none; border-left: 0.22rem solid var(--line-strong); }
.process-list li { position: relative; padding: 0.2rem 0 1.8rem 1.5rem; }
.process-list li::before { content: ""; position: absolute; left: -0.62rem; top: 0.3rem; width: 0.95rem; height: 0.95rem; border: 0.18rem solid var(--line-strong); border-radius: 50%; background: var(--paper); }
.process-list li.is-current::before { border-color: var(--accent); background: var(--accent); }
.process-list h3 { margin-top: 0.2rem; }
.process-list p { margin: 0; }
.process-status { color: var(--ink-soft); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.process-list .is-current .process-status { color: var(--accent); }
.quick-facts { margin: 0; }
.quick-facts div { display: grid; grid-template-columns: minmax(8rem, 0.38fr) 1fr; gap: 1rem; padding: 0.8rem 0; border-top: 1px solid var(--line); }
.quick-facts dt { font-weight: 800; }
.quick-facts dd { margin: 0; }
.faq details { border-top: 1px solid var(--line); padding: 0.9rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; }
.faq details p { max-width: 65ch; }

/* Full Commission proposal */
.proposal-hero h1 { max-width: 16ch; }
.proposal-navigation { padding-block: clamp(2.2rem, 5vw, 4rem); }
.proposal-toc {
  background: var(--surface); border: 1px solid var(--line-strong); padding: clamp(1.2rem, 3vw, 2rem);
}
.proposal-toc h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.proposal-toc-parts { display: flex; flex-wrap: wrap; gap: 0.55rem 1.5rem; padding-left: 1.25rem; }
.proposal-toc-group { border-top: 1px solid var(--line); padding: 0.75rem 0; }
.proposal-toc-group:last-child { border-bottom: 1px solid var(--line); }
.proposal-toc-group summary { cursor: pointer; font-weight: 800; }
.proposal-toc-group summary a { color: var(--ink); }
.proposal-toc-group ol { columns: 2 18rem; margin: 0.8rem 0 0; padding-left: 1.5rem; }
.proposal-toc-group li { break-inside: avoid; margin: 0 1rem 0.28rem 0; }
.proposal-toc-group .recital-toc { columns: 4 9rem; }
.proposal-source { padding-top: 0; }
.legal-document { max-width: 72rem; }
.editorial-note { max-width: var(--read); margin: 0 0 3rem; }
.source-part {
  max-width: 54rem; margin-inline: auto; padding-block: clamp(2.5rem, 6vw, 5rem);
  overflow-wrap: anywhere;
}
.source-part + .source-part { border-top: 0.22rem solid var(--navy); }
.source-part .part-label {
  margin: 0 0 2.5rem; padding: 0.8rem 1rem; background: var(--navy); color: #fff;
  font-family: inherit; font-size: 0.83rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.source-cover { text-align: center; }
.source-cover p { max-width: 60rem; margin: 0.8rem auto; }
.source-memorandum > h2:not(.part-label),
.source-financial > h2:not(.part-label) {
  margin: 2.8rem 0 1.2rem; font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.source-memorandum h3, .source-financial h3 { margin-top: 2.4rem; font-size: 1.35rem; }
.source-memorandum h4, .source-financial h4,
.source-memorandum h5, .source-financial h5,
.source-memorandum h6, .source-financial h6 {
  margin: 2rem 0 0.65rem; color: var(--ink); font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem; line-height: 1.3;
}
.source-part p { max-width: 76ch; }
.source-legislation { max-width: 58rem; }
.source-legislation .legal-preamble, .enacting-formula { max-width: 80ch; }
.enacting-formula { margin: 2rem 0; font-weight: 800; letter-spacing: 0.025em; }
.legal-chapter {
  margin: 5rem 0 1.25rem; padding: 1rem 0; border-block: 1px solid var(--line-strong);
  font-size: clamp(1.65rem, 3.3vw, 2.35rem); text-align: center; text-transform: uppercase;
}
.legal-section {
  margin: 3rem 0 1rem; color: var(--navy); font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem); line-height: 1.25; text-align: center;
}
.legal-article { margin: 2.8rem 0 3.5rem; }
.legal-article h4, .legal-article h5 {
  margin: 0 0 1.4rem; color: var(--ink); font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.28; text-align: center;
}
.legal-recital, .legal-paragraph, .legal-point {
  display: grid; grid-template-columns: 2.9rem minmax(0, 1fr); gap: 0.65rem; align-items: start;
  scroll-margin-top: 1rem;
}
.legal-recital { margin: 0 0 1.25rem; }
.legal-paragraph { margin: 0 0 1rem; }
.legal-point { margin: 0 0 0.8rem; padding-left: 2.1rem; }
.legal-subpoint { padding-left: 4.2rem; }
.legal-number { font-variant-numeric: tabular-nums; font-weight: 700; text-align: right; }
.legal-recital p, .legal-paragraph p, .legal-point p { margin: 0; max-width: none; }
.legal-unnumbered { margin: 0 0 1rem; }
.legal-article, .legal-chapter, .legal-section, .legal-recital,
.legal-paragraph, .legal-point, .source-notes li, [id^="article-"], [id^="recital-"] { scroll-margin-top: 1rem; }
.source-notes { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line-strong); }
.source-notes h3 { font-family: inherit; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; }
.source-notes li { margin-bottom: 0.8rem; }
.footnote-back { margin-left: 0.3rem; font-weight: 800; text-decoration: none; }
.source-part sup { line-height: 0; }
.source-part sup a { padding-inline: 0.12rem; }
.financial-output-table { max-width: 100%; }
.financial-output-table table { min-width: 92rem; font-size: 0.78rem; }
.financial-output-table th, .financial-output-table td { padding: 0.5rem 0.42rem; text-align: center; }
.financial-output-table tbody th { text-align: left; min-width: 13rem; }
.financial-output-notes { margin: 0.8rem 0 2rem; font-size: 0.86rem; }
.site-footer { background: var(--ink); color: #e7eeec; padding: 3rem 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; }
.site-footer h2 { color: white; font-family: inherit; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 800; }
.site-footer p { max-width: 45ch; }
.site-footer a { color: #bfe6df; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: 0.42rem; }
.fineprint { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid #536266; font-size: 0.82rem; color: #bdc9c6; }

@media (max-width: 60rem) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .masthead { min-height: 4.4rem; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .age-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .age-band:nth-child(2) { border-right: 0; }
  .age-band:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 40rem) {
  .wrap { width: min(calc(100% - 1.25rem), var(--max)); }
  .brand span { display: none; }
  .content-grid, .footer-grid { grid-template-columns: 1fr; }
  .age-grid { grid-template-columns: 1fr; }
  .age-band, .age-band:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .age-band:last-child { border-bottom: 0; }
  .quick-facts div { grid-template-columns: 1fr; gap: 0.15rem; }
  h1 { font-size: clamp(2.7rem, 15vw, 4.2rem); }
  .hero { padding-top: 2.8rem; }
  .proposal-toc-group ol, .proposal-toc-group .recital-toc { columns: 1; }
  .legal-recital, .legal-paragraph, .legal-point { grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0.45rem; }
  .legal-point { padding-left: 0.8rem; }
  .legal-subpoint { padding-left: 1.6rem; }
}

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

@media print {
  .skip-link, .status-strip, .desktop-nav, .mobile-nav, .toc { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero, .section { padding: 1.5rem 0; }
  a { color: #000; }
  .site-footer { background: #fff; color: #000; border-top: 1px solid #000; }
  .site-footer h2, .site-footer a { color: #000; }
  .proposal-navigation, .editorial-note { display: none; }
  .source-part { max-width: none; }
  .source-part .part-label { background: #fff; color: #000; border: 1px solid #000; }
}
