/* Open Sans, self-hosted (SIL Open Font License, see /assets/fonts/OFL.txt) */
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/open-sans-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/open-sans-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/open-sans-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/open-sans-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/open-sans-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/open-sans-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  /* Portal-matched tokens (source: OHES application portal, portal.css :root). See the "Portal alignment" layer at the end. */
  --bg: #ffffff;
  --ink: #182332;            /* --portal-ink */
  --copy: #405062;           /* --portal-copy */
  --muted: #596879;          /* --portal-muted */
  --line: #dce3e9;           /* --portal-line */
  --soft: #f5f7f9;           /* --portal-soft */
  --navy: #162335;           /* --portal-navy */
  --red: #bd0808;            /* --portal-red */
  --red-dark: #9d0505;       /* --portal-red-hover */
  --brand: #cd0707;          /* logo red, as in the portal's shared site.css */
  --field-line: #aebac6;     /* portal input border */
  --button-line: #b9c4cf;    /* portal secondary button border */
  --link: #0b5fb0;
  --link-visited: #5a2d91;
  --focus: #1472bc;          /* portal :focus-visible */
  --note: #fff8e9;
  --ok-bg: #eff7f2; --ok-line: #b5d3c2; --ok-ink: #245d42;        /* --portal-green-soft / --portal-green */
  --bad-bg: #fde8e7; --bad-line: #f2aaa5; --bad-ink: #7a1410;
  --warn-bg: #fff8e9; --warn-line: #bd8b3d; --warn-ink: #704f1f;  /* --portal-amber-soft / notice.attention / --portal-amber */
  --page-width: 1152px;      /* --page-width */
  --gutter: clamp(22px, 4vw, 52px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.125rem/1.6 "Open Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.prose { max-width: 46rem; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; margin: 0; overflow-wrap: anywhere; }
h1 { font-size: 2.6rem; letter-spacing: -.01em; margin-bottom: 20px; }
h2 { font-size: 2rem; margin: 0 0 16px; }
h3 { font-size: 1.4rem; margin: 0 0 10px; }
h4 { font-size: 1.125rem; margin: 22px 0 6px; }
.prose h2, .article h2 { margin-top: 40px; }
.prose h3, .article h3 { margin-top: 28px; }
p, ul, ol, table { margin: 0 0 18px; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 6px; }
a { color: var(--link); text-underline-offset: 3px; }
a:visited { color: var(--link-visited); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 4px solid var(--focus); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: 1rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
blockquote { margin: 0 0 18px; padding: 4px 0 4px 20px; border-left: 6px solid var(--line); color: var(--muted); }
code { font-family: ui-monospace, Menlo, monospace; font-size: .95em; background: var(--soft); padding: 1px 5px; border-radius: 3px; }
img, svg { max-width: 100%; height: auto; }
@media (max-width: 640px) { body { font-size: 1.0625rem; } h1 { font-size: 2rem; } h2 { font-size: 1.6rem; } h3 { font-size: 1.25rem; } }

.skip { position: absolute; left: -999px; top: 0; background: var(--bg); color: var(--ink); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }

.topline { height: 6px; background: var(--red); }
header.site { border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.brand:visited { color: var(--ink); }
.brand svg { flex: none; color: var(--brand); }
.brand .logo { width: 48px; height: 48px; }
.footbrand { display: flex; align-items: center; gap: 10px; }
.footbrand .logo { color: var(--brand); flex: none; }
.navtoggle { display: none; font: inherit; font-weight: 600; background: none; border: 2px solid var(--ink); color: var(--ink); border-radius: 4px; padding: 6px 12px; cursor: pointer; }
nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0 20px; flex-wrap: wrap; }
nav.main a { color: var(--ink); font-weight: 600; font-size: 1rem; white-space: nowrap; text-decoration: none; padding: 8px 0; display: inline-block; border-bottom: 3px solid transparent; }
nav.main a:visited { color: var(--ink); }
nav.main a:hover, nav.main a[aria-current="page"], nav.main a.active { border-bottom-color: var(--red); }
@media (max-width: 1040px) {
  .navtoggle { display: inline-block; }
  nav.main { flex-basis: 100%; }
  html.js nav.main[hidden] { display: none; }
  nav.main ul { flex-direction: column; gap: 0; padding-bottom: 12px; }
  nav.main a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .brand { font-size: 1rem; }
  .brand span { max-width: 11rem; }
}

.crumbs { font-size: .95rem; margin: 18px 0 0; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "›"; color: var(--muted); margin-right: 8px; }
.crumbs a { color: var(--link); }

.btn { display: inline-block; background: var(--red); color: #fff; font-weight: 600; font-size: 1.0625rem; padding: 12px 26px; border-radius: 4px; text-decoration: none; border: 2px solid var(--red); cursor: pointer; font-family: inherit; }
.btn:visited { color: #fff; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.secondary:visited { color: var(--ink); }
.btn.secondary:hover { background: var(--soft); }


.intro { padding: 44px 0 40px; }
.intro.home { padding-top: 56px; }
.intro .lead, .lead { font-size: 1.3rem; color: var(--ink); max-width: 42rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; font-weight: 700; color: var(--muted); margin: 0 0 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.notice { border-left: 6px solid var(--line); background: var(--soft); padding: 16px 20px; margin: 24px 0; font-size: 1rem; max-width: 46rem; }
.notice.warn { border-left-color: var(--warn-line); background: var(--warn-bg); color: var(--ink); }
.notice.ok { border-left-color: var(--ok-line); background: var(--ok-bg); color: var(--ink); }
.notice p:last-child { margin-bottom: 0; }
section { padding: 48px 0; border-top: 1px solid var(--line); }
section.grey { background: var(--soft); }
section.tight { padding: 32px 0; }

.toc { columns: 2; column-gap: 40px; list-style: none; padding: 0; margin: 0; }
.toc li { break-inside: avoid; margin-bottom: 10px; }
@media (max-width: 640px) { .toc { columns: 1; } }

.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 26px; max-width: 46rem; }
.steps li { counter-increment: s; position: relative; padding-left: 64px; margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 700; }
.steps h3 { margin-top: 6px; }

.group { margin-top: 40px; }
.group > h3 { font-size: 1.6rem; margin-bottom: 8px; }
.program, .card { border: 1px solid var(--line); border-top: 4px solid var(--ink); background: var(--bg); padding: 24px 26px 8px; margin-top: 20px; }
.program h4, .card h3 { margin-top: 0; font-size: 1.3rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p { margin-bottom: 14px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
.cards .card { margin-top: 0; padding-bottom: 18px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .95rem; color: var(--muted); margin: 0 0 14px; }
.tag { display: inline-block; font-size: .85rem; font-weight: 700; padding: 2px 10px; border-radius: 3px; background: var(--soft); border: 1px solid var(--line); margin-bottom: 10px; color: var(--ink); }
.tag.free, .tag.open { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok-ink); }
.tag.closed { background: var(--bad-bg); border-color: var(--bad-line); color: var(--bad-ink); }
.tag.waitlist, .tag.coming, .tag.paused { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-ink); }

table { width: 100%; border-collapse: collapse; font-size: 1rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; background: var(--soft); }
td.num, th.num { text-align: right; white-space: nowrap; }
.table-scroll { overflow-x: auto; margin-bottom: 18px; max-width: 46rem; }
.table-scroll table { margin: 0; }
caption { text-align: left; font-weight: 700; padding: 0 0 8px; caption-side: top; }
@media (max-width: 640px) { th, td { padding: 9px 8px; } .program, .card { padding: 20px 16px 6px; } }

.facts { border: 1px solid var(--line); background: var(--soft); padding: 6px 22px; margin: 24px 0; max-width: 46rem; }
.facts dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 14px 0; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
@media (max-width: 640px) { .facts dl { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } }
.official { border: 2px solid var(--ink); padding: 18px 22px; margin: 28px 0; max-width: 46rem; }
.official p { margin: 0 0 8px; }
.official p:last-child { margin: 0; }

.calc { border: 1px solid var(--line); background: var(--bg); padding: 24px 26px; max-width: 46rem; margin-top: 24px; }
.calc label { font-weight: 700; display: block; margin-bottom: 8px; }
.calc .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.calc input, .calc select { font: inherit; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 4px; width: 220px; max-width: 100%; background: var(--bg); color: var(--ink); }
.calc output { display: block; font-size: 1.3rem; font-weight: 700; margin-top: 16px; min-height: 1.6em; }
.calc .result-list { margin-top: 16px; }

details { border-bottom: 1px solid var(--line); max-width: 46rem; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; padding: 16px 36px 16px 0; position: relative; list-style: none; color: var(--link); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 8px; top: 24px; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
details[open] summary::after { transform: rotate(-135deg); top: 28px; }
details > p { margin-top: 0; }
details > :last-child { margin-bottom: 16px; }

form { max-width: 40rem; display: grid; gap: 18px; }
form label { font-weight: 700; display: grid; gap: 6px; }
form .hint { font-weight: 400; color: var(--muted); font-size: 1rem; }
form input, form select, form textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 4px; background: var(--bg); color: var(--ink); width: 100%; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
form .check input { width: 22px; height: 22px; margin-top: 3px; flex: none; }
.form-note { margin: 0; font-weight: 600; min-height: 1.5em; }
.placeholder { background: var(--note); padding: 0 4px; }
.ghl-form-slot { border: 2px dashed var(--line); padding: 28px; min-height: 200px; max-width: 40rem; }

/* news */
.newslist { list-style: none; padding: 0; margin: 0; max-width: 46rem; }
.newslist li { border-bottom: 1px solid var(--line); padding: 16px 0; margin: 0; }
.newslist li:first-child { border-top: 1px solid var(--line); }
.newslist time { display: block; font-size: .95rem; color: var(--muted); margin-bottom: 2px; }
.newslist h3 { font-size: 1.2rem; margin: 0 0 6px; }
.newslist h3 a { color: var(--link); }
.newslist p { margin: 0; font-size: 1rem; }
.newslist .tags { margin-top: 6px; }
.newslist .tags a { font-size: .85rem; margin-right: 10px; }
.years { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; }
.years a { display: inline-block; padding: 6px 14px; border: 2px solid var(--ink); border-radius: 4px; color: var(--ink); font-weight: 600; text-decoration: none; }
.years a[aria-current="page"], .years a:hover { background: var(--ink); color: var(--bg); }
.year-h { font-size: 1.6rem; margin: 36px 0 12px; padding-top: 8px; }
.article { max-width: 46rem; }
.article .dateline { color: var(--muted); font-size: 1rem; margin: 0 0 20px; }
.source { border: 1px solid var(--line); background: var(--soft); padding: 16px 20px; margin: 28px 0; font-size: 1rem; }
.source p { margin: 0 0 6px; }
.source p:last-child { margin: 0; }
.pager { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 32px; font-size: 1rem; }
.filter { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 20px; font-size: 1rem; }
.filter select, .filter input { font: inherit; padding: 8px 10px; border: 2px solid var(--ink); border-radius: 4px; background: var(--bg); color: var(--ink); }
.stat { font-size: 1rem; color: var(--muted); }

/* timeline on program pages */
.timeline { list-style: none; padding: 0; margin: 0 0 18px; border-left: 3px solid var(--line); max-width: 46rem; }
.timeline li { position: relative; padding: 0 0 18px 22px; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 8px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 3px solid var(--red); }
.timeline time { display: block; font-size: .95rem; color: var(--muted); }

.related h2 { font-size: 1.6rem; }
.cta { background: var(--soft); border-top: 1px solid var(--line); padding: 40px 0; }
.cta .wrap { display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; }
.cta p { margin: 0; max-width: 40rem; }

footer.site { background: var(--soft); border-top: 1px solid var(--line); padding: 40px 0 28px; font-size: 1rem; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer.site h2 { font-size: 1rem; margin-bottom: 8px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 6px; }
footer.site a { color: var(--ink); }
footer.site .legal { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; font-size: .95rem; color: var(--muted); }
@media (max-width: 860px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { footer.site .cols { grid-template-columns: 1fr; } }

.updated { font-size: .95rem; color: var(--muted); margin: 28px 0 0; }
.checklist li { margin-bottom: 10px; }
.search-results li { margin-bottom: 14px; }
.search-results .type { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

@media print {
  .topline, nav.main, .navtoggle, .skip, .actions, .cta, footer.site .cols, .filter, .years { display: none !important; }
  body { font-size: 11pt; color: #000; background: #fff; }
  a { color: #000; text-decoration: none; }
  .article a[href^="http"]::after, .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  section { border: 0; padding: 12pt 0; }
}

.source a, .article a, .prose a { overflow-wrap: break-word; }

/* program finder */
.finder { max-width: none; display: block; border: 1px solid var(--line); border-top: 4px solid var(--brand); background: var(--bg); padding: 24px 26px 8px; }
.finder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 22px; }
.finder fieldset { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.finder legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.finder .check { font-weight: 400; }
@media (max-width: 860px) { .finder-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .finder-grid, .finder fieldset { grid-template-columns: 1fr; } .finder { padding: 20px 16px 6px; } }
#finder-results { margin-top: 24px; }
.finder-h { margin: 28px 0 0; font-size: 1.3rem; }
.finder-sum { font-size: 1.15rem; }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
.hero-mark { color: var(--brand); justify-self: center; }
.hero-mark .logo { width: 220px; height: 220px; }
@media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; } .hero-mark { display: none; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0; padding: 0; list-style: none; }
.stats li { padding: 20px 18px; margin: 0; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats strong { display: block; font-size: 2rem; line-height: 1.1; }
.stats span { color: var(--muted); font-size: 1rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stats li:nth-child(3) { border-left: 0; padding-left: 0; } .stats li { border-top: 1px solid var(--line); } .stats li:nth-child(-n+2) { border-top: 0; } }

/* language bar (like ontario.ca) */
.langbar { background: var(--soft); border-bottom: 1px solid var(--line); font-size: .95rem; }
.langbar .wrap { display: flex; justify-content: flex-end; min-height: 34px; align-items: center; }
.langbar a { color: var(--ink); font-weight: 600; }
.headphone { font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; border: 2px solid var(--ink); border-radius: 4px; padding: 6px 12px; }
.headphone:visited { color: var(--ink); }

/* lead forms */
form.leadform { max-width: 40rem; display: grid; gap: 16px; border: 1px solid var(--line); border-top: 4px solid var(--brand); background: var(--bg); padding: 22px 24px; margin: 20px 0; }
form.leadform .lf-h { margin: 0; font-size: 1.35rem; }
form.leadform .lf-text { margin: 0; }
form.leadform .check span { font-size: 1rem; line-height: 1.5; }
form.leadform .check.optional span { color: var(--muted); }
form.leadform .lf-privacy { margin: 0; }
.form-note.err { color: var(--bad-ink); background: var(--bad-bg); border-left: 4px solid var(--bad-line); padding: 8px 12px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { form.leadform { padding: 18px 16px; } }
.finder-next { margin-top: 32px; max-width: 46rem; }
.finder-next h3 { font-size: 1.5rem; }
.side-form { margin-top: 28px; }

/* three paths */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.paths a.card { display: block; text-decoration: none; color: var(--ink); margin: 0; padding-bottom: 18px; }
.paths a.card:visited { color: var(--ink); }
.paths a.card:hover { border-top-color: var(--brand); }
.paths a.card h3 { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; } }
.trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 1rem; }
.trust li { margin: 0; padding-left: 22px; position: relative; }
.trust li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 6px; border-left: 3px solid var(--ok-ink); border-bottom: 3px solid var(--ok-ink); transform: rotate(-45deg); }

/* mobile action bar */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -2px 10px rgba(0,0,0,.08); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
.actionbar a { flex: 1; text-align: center; font-weight: 700; padding: 11px 6px; border: 2px solid var(--ink); border-radius: 4px; color: var(--ink); text-decoration: none; font-size: 1rem; }
.actionbar a.primary { background: var(--red); border-color: var(--red); color: #fff; flex: 1.4; }

@media (max-width: 760px) { .actionbar:not([hidden]) { display: flex; } }

/* landing pages */
body.landing .intro { padding-top: 36px; }
.lp-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: start; }
.lp-grid form.leadform { margin-top: 0; }
@media (max-width: 860px) { .lp-grid { grid-template-columns: 1fr; } }
.ty-steps li { margin-bottom: 12px; }

body.landing .bar { flex-wrap: nowrap; }
@media (max-width: 560px) { body.landing .brand span { font-size: .9rem; max-width: 8.5rem; } .headphone { padding: 6px 8px; font-size: .9rem; } }

/* =====================================================================
   UI polish layer (Nov 2026). Same plain, ontario.ca-style simplicity,
   with more structure, rhythm and finish.
   ===================================================================== */
:root { --radius: 6px; --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.06); --tint: #fbf3f2; --tint-line: #f1d9d6; }

.wrap { max-width: 1120px; padding-left: 24px; padding-right: 24px; }
@media (max-width: 640px) { .wrap { padding-left: 16px; padding-right: 16px; } }

/* fix: the intro's padding shorthand was removing the side gutters */
.intro, .intro.home { padding-left: 24px; padding-right: 24px; }
@media (max-width: 640px) { .intro, .intro.home { padding-left: 16px; padding-right: 16px; } }

h1 { letter-spacing: -.02em; }
h2 { letter-spacing: -.01em; }
section > .wrap > h2:first-child, section > .wrap > .prose > h2:first-child { position: relative; padding-top: 14px; }
section > .wrap > h2:first-child::before, section > .wrap > .prose > h2:first-child::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 4px; border-radius: 2px; background: var(--brand); }
section { padding: 56px 0; }
section.tight { padding: 36px 0; }

/* header */
header.site { background: var(--bg); box-shadow: 0 1px 0 var(--line); border-bottom: 0; }
.brand span { letter-spacing: -.005em; }
nav.main a { padding: 10px 2px; }
.langbar { background: var(--bg); border-bottom: 1px solid var(--line); }

/* home hero */
.intro.home { padding-top: 0; padding-bottom: 0; }
.intro.home .hero-grid { background: linear-gradient(135deg, var(--tint) 0%, var(--bg) 70%); border: 1px solid var(--tint-line); border-radius: 10px; padding: 48px 44px; margin-top: 36px; gap: 32px; }
.intro.home .hero-grid h1 { font-size: 2.9rem; }
.hero-mark { width: 260px; height: 260px; border-radius: 50%; background: var(--bg); border: 1px solid var(--tint-line); display: grid; place-items: center; box-shadow: var(--shadow); }
.hero-mark .logo { width: 170px; height: 170px; }
.intro.home .notice { margin: 20px 0 36px; }
@media (max-width: 760px) { .intro.home .hero-grid { padding: 28px 20px; margin-top: 20px; } .intro.home .hero-grid h1 { font-size: 2.1rem; } }
.actions .btn { min-width: 220px; text-align: center; }
@media (max-width: 480px) { .actions .btn { width: 100%; } }

/* inner-page intro band */
body:not(.landing) main > .wrap.intro:not(.home) { border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--brand); }
.lead { color: var(--muted); }
.intro .lead { color: var(--ink); }

/* buttons */
.btn { border-radius: var(--radius); transition: background .15s, border-color .15s, transform .05s; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: var(--bg); }

/* trust chips */
.trust { gap: 8px; }
.trust li { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px 5px 32px; font-size: .95rem; }
.trust li::before { left: 13px; top: .62em; }

/* cards */
.card, .program { border-radius: var(--radius); border: 1px solid var(--line); border-top: 4px solid var(--ink); box-shadow: var(--shadow); transition: box-shadow .15s, transform .15s, border-color .15s; }
.cards { gap: 22px; }
.cards .card { display: flex; flex-direction: column; }
.cards .card > p:last-child { margin-top: auto; }
.card:hover { box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 10px 24px rgba(0,0,0,.08); }
@media (prefers-reduced-motion: no-preference) { .paths a.card:hover, .cards .card:hover { transform: translateY(-2px); } }
.card h3 a::after { content: " →"; color: var(--brand); text-decoration: none; display: inline-block; margin-left: 2px; }
.tag { border-radius: 999px; padding: 2px 11px; letter-spacing: .01em; }
.paths a.card { border-top-color: var(--brand); }
.paths a.card h3 { text-decoration: none; color: var(--ink); }
.paths a.card:hover h3 { color: var(--link); text-decoration: underline; }
section.grey .card, section.grey .program { background: var(--bg); }

/* steps */
.steps li::before { border: 0; background: var(--brand); color: #fff; font-size: 1.1rem; }

.steps { gap: 30px; }

/* facts box on program pages */
.facts { border-radius: var(--radius); border: 1px solid var(--line); border-left: 6px solid var(--brand); background: var(--soft); max-width: 52rem; }
.official { border-radius: var(--radius); border: 2px solid var(--ink); background: var(--bg); }
.notice { border-radius: 0 var(--radius) var(--radius) 0; }

/* tables */
.table-scroll { border: 1px solid var(--line); border-radius: var(--radius); }
.table-scroll table th { position: sticky; top: 0; }
tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--soft) 55%, transparent); }
tbody tr:last-child td { border-bottom: 0; }
caption { padding: 12px 12px 8px; }

/* forms */
form.leadform, .finder { border-radius: 8px; box-shadow: var(--shadow); }
form.leadform input:not([type=checkbox]), form.leadform select, .finder select, .finder input:not([type=checkbox]) { border: 1.5px solid #8a8a8a; border-radius: var(--radius); padding: 12px 14px; min-height: 48px; transition: border-color .15s, box-shadow .15s; }
form.leadform input:not([type=checkbox]):focus, .finder select:focus, .finder input:not([type=checkbox]):focus { border-color: var(--link); box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 22%, transparent); outline: none; }
input[type=checkbox] { accent-color: var(--brand); }
form.leadform .lf-actions .btn { width: 100%; padding: 14px 20px; font-size: 1.1rem; }
form.leadform .check { background: var(--soft); border-radius: var(--radius); padding: 12px 14px; }
form.leadform .check.optional { background: transparent; padding-top: 0; }
.finder-grid label { font-size: 1rem; }
#finder-results .cards .card { border-top-color: var(--ok-line); }
.finder-sum { background: var(--ok-bg); border: 1px solid var(--ok-line); border-radius: var(--radius); padding: 12px 16px; }

/* news list */
.newslist li { padding: 18px 0; }
.newslist time { font-weight: 600; color: var(--brand); font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; }
.years a { border-radius: 999px; border-width: 1.5px; padding: 6px 16px; }

/* call-to-action band */
.cta { background: var(--ink); color: var(--bg); border-top: 0; padding: 44px 0; }
.cta p { color: var(--bg); font-size: 1.15rem; }
.cta .btn { background: var(--brand); border-color: var(--brand); color: #fff; }


/* footer: dark, like ontario.ca */
footer.site { background: #1f1f1f; color: #e6e6e6; border-top: 4px solid var(--brand); }
footer.site a, footer.site a:visited { color: #ffffff; }
footer.site .muted, footer.site .legal { color: #bdbdbd; }
footer.site h2 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
footer.site .legal { border-top-color: #3a3a3a; }
footer.site .footbrand .logo { color: #ff4d40; }

/* breadcrumbs */
.crumbs { margin-top: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* mobile action bar */
.actionbar { border-radius: 14px 14px 0 0; }
.actionbar a { border-radius: var(--radius); }

/* landing */
body.landing .lp-grid { padding-top: 8px; }
body.landing .lp-grid > div:last-child { position: sticky; top: 16px; }
@media (max-width: 860px) { body.landing .lp-grid > div:last-child { position: static; } }
.finder-grid { align-items: end; }
.finder-grid > label { align-content: end; }
.finder .hint { font-size: .9rem; }
#finder-results > p.muted { background: var(--soft); border: 1px dashed var(--line); border-radius: var(--radius); padding: 14px 16px; }
@media (max-width: 1000px) and (min-width: 761px) { .intro.home .hero-grid h1 { font-size: 2.3rem; } .hero-mark { width: 200px; height: 200px; } .hero-mark .logo { width: 130px; height: 130px; } }
.cards .card > .tag, .program > .tag { align-self: flex-start; }
.card h3 a::after { content: "\00a0→"; }
.crumbs { margin: 20px auto 0; }
.cta { background: var(--tint); color: var(--ink); border-top: 1px solid var(--tint-line); }
.cta p { color: var(--ink); }


/* ---- visual refinement pass 2 ---- */
/* cards: tighter type, no stray gaps, clamp long summaries, amount line as a footer */
.card h3 a::after { content: none; }
.card h3 { font-size: 1.2rem; line-height: 1.3; }
.cards .card > p:last-child { margin-top: 0; }
.cards .card { padding: 20px 22px 18px; }
.cards .card p { font-size: 1rem; line-height: 1.55; }
.cards .card p.meta { font-size: .9rem; margin-bottom: 10px; }
.cards .card > p:not(.meta):not(.small) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.cards .card > p:has(> strong:only-child) { -webkit-line-clamp: unset; display: block; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .95rem; }
.cards .card > p:has(> strong:only-child) strong { color: var(--ink); }
#finder-results .cards .card > p { -webkit-line-clamp: unset; display: block; }
.paths a.card p { -webkit-line-clamp: unset !important; display: block !important; }

/* steps: three across on wide screens */
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); max-width: none; gap: 24px; }
  .steps li { padding: 64px 22px 18px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
  .steps li::before { left: 22px; top: 18px; }
  .steps h3 { margin-top: 0; font-size: 1.2rem; }
  .steps p { font-size: 1rem; margin: 0; }
  .about-steps .steps, .prose .steps { grid-template-columns: 1fr; }
  .prose .steps li { padding: 0 0 0 64px; background: none; border: 0; box-shadow: none; }
  .prose .steps li::before { left: 0; top: 0; }
}

/* news filters as a tidy row */
.filter { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto; gap: 12px 16px; align-items: end; max-width: 52rem; }
.filter label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.filter select, .filter input { width: 100%; min-height: 44px; border-radius: var(--radius); border-width: 1.5px; }
.filter .stat { padding-bottom: 10px; white-space: nowrap; }
@media (max-width: 640px) { .filter { grid-template-columns: 1fr; } .filter .stat { padding-bottom: 0; } }
#site-search.filter { grid-template-columns: 1fr; max-width: 40rem; }

/* news entry: calmer lead */
.article-intro .lead, body .intro .lead.article-lead { font-size: 1.15rem; }
.dateline { font-weight: 600; }

/* landing: quick jump to the form, smaller body headings */
.lp-jump { margin-top: 22px; }
body.landing .prose h2 { font-size: 1.45rem; margin-top: 28px; }
@media (min-width: 861px) { .lp-jump { display: none; } }

/* general rhythm */
.intro { padding-top: 40px; padding-bottom: 36px; }
.intro .lead { max-width: 44rem; }
h1 { margin-bottom: 16px; }
.prose p, .prose li, .article p, .article li { max-width: 44rem; }
.notice { font-size: .98rem; line-height: 1.55; }
@media (max-width: 640px) { section { padding: 40px 0; } section.tight { padding: 28px 0; } .intro { padding-top: 28px; padding-bottom: 24px; } }
@media (max-width: 480px) { .lp-jump .btn { width: 100%; text-align: center; } }

:root { color-scheme: light; }

/* icons */
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-top .tag { margin: 0; }
.card-ico { width: 44px; height: 44px; border-radius: 10px; background: var(--tint); border: 1px solid var(--tint-line); color: var(--brand); display: grid; place-items: center; }
.card-ico .ico { width: 26px; height: 26px; }
.paths .card-ico { width: 52px; height: 52px; }
.paths .card-ico .ico { width: 30px; height: 30px; }
.card .tag.closed ~ *, .card:has(.tag.closed) .card-ico { color: var(--muted); background: var(--soft); border-color: var(--line); }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow-ico { width: 34px; height: 34px; border-radius: 8px; background: var(--tint); border: 1px solid var(--tint-line); color: var(--brand); display: grid; place-items: center; }
.eyebrow-ico .ico { width: 20px; height: 20px; }

/* step-by-step finder */
.finder.is-wizard { padding: 26px 28px 18px; }
.wz-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.wz-count { font-weight: 700; font-size: .95rem; color: var(--muted); white-space: nowrap; }
.wz-bar { flex: 1; height: 8px; background: var(--soft); border-radius: 99px; overflow: hidden; border: 1px solid var(--line); }
.wz-bar span { display: block; height: 100%; width: 20%; background: var(--brand); border-radius: 99px; transition: width .25s; }
.wz-step { border: 0; padding: 0; margin: 0 0 18px; }
.wz-step legend { font-size: 1.4rem; font-weight: 700; margin-bottom: 14px; padding: 0; }
.wz-step legend .hint { display: block; font-size: 1rem; font-weight: 400; color: var(--muted); margin-top: 4px; }
.opts { display: grid; gap: 12px; }
.opts-5 { grid-template-columns: repeat(5, 1fr); }
.opts-4 { grid-template-columns: repeat(4, 1fr); }
.opts-2 { grid-template-columns: repeat(2, minmax(0, 260px)); }
@media (max-width: 900px) { .opts-5, .opts-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .opts-2 { grid-template-columns: 1fr 1fr; } }
.opt { position: relative; display: block; font-weight: 600; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; padding: 14px 10px; text-align: center; border: 1.5px solid var(--line); border-radius: 8px; background: var(--bg); font-size: 1rem; line-height: 1.3; transition: border-color .15s, background .15s, box-shadow .15s; }
.opt-box .ico { width: 30px; height: 30px; color: var(--brand); }
.opt:hover .opt-box { border-color: #8a8a8a; }
.opt input:checked + .opt-box { border-color: var(--brand); background: var(--tint); box-shadow: 0 0 0 2px var(--brand) inset; }
.opt input:focus-visible + .opt-box { outline: 4px solid var(--focus); outline-offset: 2px; }
.opts-4 .opt-box { min-height: 76px; flex-direction: row; justify-content: flex-start; text-align: left; padding: 12px 14px; }
.opts-4 .opt-box .ico { width: 22px; height: 22px; }
.wz-pair { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: end; max-width: 40rem; }
.wz-pair label { display: grid; gap: 6px; font-weight: 700; }
@media (max-width: 560px) { .wz-pair { grid-template-columns: 1fr; } }
.wz-step.finder-checks { display: grid; gap: 10px; }
.wz-step.finder-checks .check { background: var(--soft); border-radius: var(--radius); padding: 12px 14px; }
.wz-nav { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 6px; }
.wz-nav .btn { min-width: 140px; }
.wz-nav .btn:disabled { opacity: .45; cursor: not-allowed; }
.wz-restart { margin: 10px 0 0; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.finder:not(.is-wizard) .wz-step legend { font-size: 1.1rem; }
.finder fieldset.wz-step { display: block; grid-template-columns: none; grid-column: auto; }
.finder fieldset.wz-step.finder-checks { display: grid; grid-template-columns: 1fr; }
@media (min-width: 761px) { .finder fieldset.wz-step.finder-checks { grid-template-columns: 1fr 1fr; } .finder fieldset.wz-step.finder-checks legend { grid-column: 1 / -1; } }
.finder .wz-step[hidden], .finder[hidden] { display: none !important; }

/* photos */
.hero-photo { margin: 8px 0 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16 / 9; max-height: 440px; background: var(--soft); }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.landing .hero-photo { margin: 0 0 40px; }
@media (max-width: 640px) { .hero-photo { border-radius: 8px; max-height: 240px; } }
.hero-photo { aspect-ratio: auto; height: clamp(200px, 36vw, 420px); max-height: none; width: 100%; }
.hero-photo-wrap { position: relative; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--tint-line); aspect-ratio: 4 / 3.4; background: var(--soft); }
.hero-photo-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: 14px; bottom: 14px; width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); color: var(--brand); }
.hero-badge .logo { width: 40px; height: 40px; }
@media (max-width: 760px) { .intro.home .hero-grid { grid-template-columns: 1fr; } .hero-photo-wrap { aspect-ratio: 16 / 9; order: -1; } .hero-badge { width: 52px; height: 52px; } .hero-badge .logo { width: 32px; height: 32px; } }

/* review fixes */
[hidden] { display: none !important; }
html:not(.js) form.leadform, html:not(.js) .finder-next { display: none; }
form.leadform .include-finder { background: var(--ok-bg); }
.finder-results-h { font-size: 1.4rem; margin: 0 0 12px; padding-top: 0; }
.finder-results-h::before { display: none; }
@media (max-width: 560px) {
  .finder.is-wizard { padding: 20px 14px 14px; }
  .wz-nav .btn { min-width: 0; flex: 1; }
  .opts-4, .opts-5, .opts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opts-4 .opt-box { flex-direction: column; text-align: center; justify-content: center; }
  .opt-box span { overflow-wrap: anywhere; }
  .wz-step legend { font-size: 1.2rem; }
}
.filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.filter .stat { grid-column: 1 / -1; padding-bottom: 0; }
@media (max-width: 640px) { .filter { grid-template-columns: 1fr; } }
main > .wrap.intro + section { border-top: 0; }
.cards .card { position: relative; }
.cards .card h3 a::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.cards .card h3 a:focus-visible { outline: none; }
.cards .card:has(h3 a:focus-visible) { outline: 4px solid var(--focus); outline-offset: 2px; }
.cards .card a:not(h3 a) { position: relative; z-index: 1; }
.cards .card > p:not(.meta):not(.small) { -webkit-line-clamp: 8; }
.news-empty { margin-top: 16px; }
@media print {
  form.leadform, .finder, .wz-restart, #finder-next, .actionbar, .langbar, .crumbs, .lp-jump, .hero-photo, .hero-photo-wrap, .cta { display: none !important; }
  footer.site, footer.site .legal, footer.site a { color: #000 !important; background: none !important; }
  .cards .card > p { display: block !important; -webkit-line-clamp: unset !important; }
}
.cards { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
main p, main li, main dd, main td { overflow-wrap: break-word; }
main a[href^="mailto:"], main a[href^="http"] { overflow-wrap: break-word; }

/* ---------- Cards v3: flat labels, provider line, warm key-figure footer ---------- */
:root { --card-line: #d9c9c6; --edge-free: #2f6b3f; --edge-funding: #1f4e79; }
.card, .program { border: 1px solid var(--card-line); border-top-width: 1px; border-top-color: var(--card-line); border-radius: 4px; box-shadow: none; transition: border-color .15s; }
.card:hover { box-shadow: none; }
@media (prefers-reduced-motion: no-preference) { .paths a.card:hover, .cards .card:hover { transform: none; } }
#finder-results .cards .card { border-top-color: var(--card-line); }

/* status and type labels */
.tag { display: inline-block; border-radius: 2px; padding: 3px 7px; font-size: .72rem; line-height: 1.25; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; background: #fff; color: var(--ink); border: 1.5px solid var(--ink); margin: 0; vertical-align: middle; }
.tag.open, .tag.free { background: #12502a; border-color: #12502a; color: #fff; }
.tag.coming, .tag.waitlist, .tag.paused { background: #fff; border-color: #b06c00; color: #7a4a00; }
.tag.closed { background: #ebebeb; border-color: #ebebeb; color: var(--muted); }

/* program card */
.cards .card.pcard { display: flex; flex-direction: column; padding: 20px 22px 0; }
.pcard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.pcard-prov { font-size: .74rem; line-height: 1.4; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red-dark); padding-top: 3px; }
.pcard-level { color: var(--muted); }
.pcard .sep { color: var(--muted); }
.cards .card.pcard h3 { font-size: 1.15rem; line-height: 1.3; margin: 0 0 6px; }
.cards .card.pcard > p.pcard-sum { display: block; -webkit-line-clamp: unset; font-size: .97rem; line-height: 1.5; color: var(--muted); margin: 0 0 16px; }
.pcard-foot { margin: auto -22px 0; padding: 12px 22px; background: var(--tint); border-top: 1px solid var(--tint-line); display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; border-radius: 0 0 3px 3px; }
.pcard-key { border-left: 3px solid var(--brand); padding-left: 10px; }
.pcard-key strong { display: block; font-size: 1.3rem; line-height: 1.15; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.pcard-key span { display: block; font-size: .8rem; color: var(--muted); margin-top: 3px; }
.pcard-more { font-size: .9rem; font-weight: 600; color: var(--link); white-space: nowrap; margin-left: auto; }
.pcard-note { font-size: .8rem; color: var(--muted); }
.cards .card.pcard:hover, .cards .card.pcard:has(h3 a:focus-visible) { border-color: var(--brand); }
.cards .card.pcard:hover h3 a { text-decoration: underline; text-underline-offset: 3px; }
.cards .card.pcard:hover .pcard-more { text-decoration: underline; }
.pcard.is-closed .pcard-prov { color: var(--muted); }
.pcard.is-closed .pcard-foot { background: var(--soft); border-top-color: #e3e3e3; }
.pcard.is-closed .pcard-key { border-left-color: #b3b3b3; }

/* home: three paths, coloured by type */
.paths a.card.path { display: flex; flex-direction: column; border-left: 5px solid var(--brand); border-radius: 0 4px 4px 0; padding: 20px 22px; }
.paths a.card.path-free { border-left-color: var(--edge-free); }
.paths a.card.path-funding { border-left-color: var(--edge-funding); }
.path-eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red-dark); margin-bottom: 8px; }
.path-free .path-eyebrow { color: #245433; }
.path-funding .path-eyebrow { color: var(--edge-funding); }
.paths a.card.path h3 { margin: 0 0 6px; }
.paths a.card.path p { color: var(--muted); margin: 0 0 14px; }
.paths a.card.path .pcard-more { margin: auto 0 0; }
.paths a.card.path:hover { border-top-color: var(--card-line); border-right-color: var(--card-line); border-bottom-color: var(--card-line); }
.paths a.card.path:hover .pcard-more { text-decoration: underline; }

/* program page: who runs it */
.eyebrow-ico { display: none; }
.runby { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 4px 0 16px; font-size: .97rem; }
.runby-status { color: var(--muted); }
.runby-level { color: var(--muted); }
.runby-link { font-size: .92rem; }

/* finder tiles: icons in ink, brand red only when chosen */
.opt-box .ico { color: var(--ink); }
.opt input:checked + .opt-box .ico { color: var(--brand); }

@media (max-width: 640px) {
  .cards .card.pcard { padding: 18px 16px 0; }
  .pcard-foot { margin: auto -16px 0; padding: 12px 16px; }
}

/* hero checklist: plain ticks, no rounded chips */
.trust { gap: 8px 24px; }
.trust li { background: none; border: 0; border-radius: 0; padding: 0 0 0 22px; font-size: .97rem; font-weight: 600; }
.trust li::before { left: 2px; top: .42em; border-color: var(--ok-ink); }
.hero-disclaimer { margin-top: 12px; }

/* review fixes for cards v3 */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cards .card.pcard > h3 { order: 1; }
.cards .card.pcard > .pcard-top { order: 0; }
.cards .card.pcard > .pcard-sum { order: 2; }
.cards .card.pcard > .pcard-foot { order: 3; }
.pcard-top { flex-wrap: nowrap; } .pcard-top > .tag { flex-shrink: 0; }
.pcard-top > .tag:only-child { margin-left: auto; }
.tag.varies { background: #fff; border-color: var(--ink); color: var(--ink); }
.paths a.card.path, .paths a.card.path:hover { border-top-color: var(--card-line); border-right-color: var(--card-line); border-bottom-color: var(--card-line); }
.paths a.card.path-rebate, .paths a.card.path-rebate:hover { border-left-color: var(--brand); }
.paths a.card.path-free, .paths a.card.path-free:hover { border-left-color: var(--edge-free); }
.paths a.card.path-funding, .paths a.card.path-funding:hover { border-left-color: var(--edge-funding); }
#finder-results .cards .card.pcard:hover { border-color: var(--brand); }
.cards .card.pcard:not(:has(.pcard-top)) > p.pcard-sum { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }

/* ---------- UI pass 3 ---------- */
/* program page: at a glance */
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); margin: 18px 0 22px; border: 1px solid var(--card-line); border-radius: 4px; background: #fff; max-width: 60rem; }
.glance > div { padding: 14px 18px; border-left: 1px solid var(--card-line); margin: -1px 0 0 -1px; border-top: 1px solid var(--card-line); }
.glance dt { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.glance dd { margin: 0; font-size: .97rem; line-height: 1.4; font-weight: 600; color: var(--ink); }
.glance .glance-key { background: var(--tint); }
.glance .glance-key dd { border-left: 3px solid var(--brand); padding-left: 10px; }
.glance .glance-key strong { display: block; font-size: 1.35rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.glance .glance-key span { display: block; font-size: .82rem; font-weight: 400; color: var(--muted); margin-top: 3px; }
.glance.is-closed .glance-key { background: var(--soft); }
.glance.is-closed .glance-key dd { border-left-color: #b3b3b3; }

/* programs list: filters */
html:not(.js) .pfilter-sec { display: none; }
.pfilter { border: 1px solid var(--card-line); border-radius: 4px; background: #fff; padding: 18px 22px; display: grid; gap: 14px; }
.pfilter h2 { font-size: 1.15rem; margin: 0; }
.pfilter h2::before { display: none; }
.pfilter fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.pfilter legend { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; margin: 0; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 7px 13px; border: 1.5px solid #8a8a8a; border-radius: 3px; font-size: .95rem; font-weight: 600; color: var(--ink); background: #fff; line-height: 1.2; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input[type=checkbox]:checked + span::before { content: "✓ "; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.pfilter-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #e6e6e6; padding-top: 12px; flex-wrap: wrap; }
.pfilter-count { margin: 0; font-weight: 700; }
.pfilter-empty { margin-top: 16px; }
section[hidden] { display: none !important; }

/* finder: named steps, clear disabled state */
.wz-head { flex-wrap: wrap; row-gap: 8px; }
.wz-bar { border-radius: 0; height: 6px; border: 0; background: #e6e6e6; }
.wz-bar span { border-radius: 0; }
.wz-steps { list-style: none; display: flex; gap: 0; margin: 0; padding: 0; width: 100%; order: 3; }
.wz-steps li { flex: 1; margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8a8a8a; padding-top: 2px; }
.wz-steps li.is-done { color: var(--muted); }
.wz-steps li.is-on { color: var(--red-dark); }
.wz-nav .btn:disabled, .wz-nav .btn:disabled:hover { opacity: 1; background: #e6e6e6; border-color: #e6e6e6; color: #6b6b6b; box-shadow: none; }
.finder-sum { font-size: 1.1rem; }
@media (max-width: 560px) { .wz-steps li { font-size: .68rem; letter-spacing: .02em; } }

/* lead form: two steps, inline checks, what happens next */
.lf-wrap { display: grid; grid-template-columns: minmax(0, 40rem) minmax(0, 22rem); gap: 28px; align-items: start; margin: 20px 0; }
.lf-wrap form.leadform { margin: 0; }
.lf-next { border-left: 3px solid var(--brand); padding: 4px 0 4px 20px; }
.lf-next h3 { font-size: 1.1rem; margin: 0 0 12px; }
.lf-next ol { margin: 0; padding: 0; list-style: none; counter-reset: lfn; display: grid; gap: 14px; }
.lf-next li { counter-increment: lfn; position: relative; padding-left: 38px; margin: 0; font-size: .97rem; line-height: 1.5; color: var(--muted); }
.lf-next li strong { display: block; color: var(--ink); }
.lf-next li::before { content: counter(lfn); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border: 1.5px solid var(--ink); border-radius: 2px; display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: var(--ink); }
@media (max-width: 900px) { .lf-wrap { grid-template-columns: 1fr; } }
.side-form .lf-wrap { grid-template-columns: 1fr; }
@media (min-width: 1000px) { .side-form .lf-wrap { grid-template-columns: minmax(0, 40rem) minmax(0, 22rem); } }
.lf-steps { display: none; }
html.js form.leadform .lf-steps { display: flex; list-style: none; padding: 0; margin: 0; gap: 18px; counter-reset: lfs; }
.lf-steps li { counter-increment: lfs; margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #8a8a8a; display: flex; align-items: center; gap: 8px; }
.lf-steps li::before { content: counter(lfs); width: 22px; height: 22px; border: 1.5px solid currentColor; border-radius: 2px; display: grid; place-items: center; font-size: .78rem; }
.lf-steps li.is-on { color: var(--red-dark); }
.lf-steps li.is-on::before { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.lf-steps li.is-done { color: var(--ok-ink); }
.lf-steps li.is-done::before { content: "✓"; }
.lf-step { display: grid; gap: 16px; }
.lf-step[hidden] { display: none; }
.lf-back-row { margin: 0; }
.lf-err { display: block; font-size: .9rem; font-weight: 600; color: var(--bad-ink); margin-top: 4px; min-height: 0; }
.lf-err:empty { display: none; }
form.leadform input[aria-invalid="true"] { border-color: var(--bad-ink) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad-ink) 15%, transparent) !important; }
form.leadform input.is-valid { border-color: var(--ok-ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%2312502a' stroke-width='2.2'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 36px; }
form.leadform { border-radius: 4px; box-shadow: none; border: 1px solid var(--card-line); border-top: 4px solid var(--brand); }

/* home hero: wider text, tighter headline */
@media (min-width: 761px) {
  .intro.home .hero-grid { grid-template-columns: 1.2fr 1fr; padding: 40px 40px; gap: 40px; align-items: stretch; }
  .intro.home .hero-grid h1 { font-size: clamp(2.1rem, 3.1vw, 2.5rem); line-height: 1.12; letter-spacing: -.012em; text-wrap: balance; }
  .hero-photo-wrap { aspect-ratio: auto; min-height: 340px; height: 100%; }
  .hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
}

/* guides: sticky contents */
@media (min-width: 1000px) {
  .guide-layout.has-toc { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 48px; align-items: start; }
  .toc-side { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow: auto; }
}
.toc-side { border-left: 3px solid var(--brand); padding: 2px 0 2px 16px; margin-bottom: 28px; }
.toc-h { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.toc-side ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc-side li { margin: 0; font-size: .95rem; line-height: 1.35; }
.toc-side a { text-decoration: none; }
.toc-side a:hover, .toc-side a.is-on { text-decoration: underline; }
.toc-side a.is-on { color: var(--ink); font-weight: 700; }

/* news: year rail and type labels */
@media (min-width: 1000px) {
  .news-layout { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 40px; align-items: start; }
  .years-rail { position: sticky; top: 20px; }
  .years-rail .years { flex-direction: column; gap: 0; border-left: 2px solid var(--line); margin: 0; }
  .years-rail .years a { border: 0; border-radius: 0; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; font-weight: 600; color: var(--muted); background: none; }
  .years-rail .years a:hover { color: var(--ink); background: none; text-decoration: underline; }
  .years-rail .years a[aria-current="page"] { border-left-color: var(--brand); color: var(--ink); background: none; font-weight: 700; }
  .news-total { grid-column: 2; }
}
.years a { border-radius: 3px; }
.news-meta { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; flex-wrap: wrap; }
.news-meta time { margin: 0; }
.ntype { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 2px; border: 1.5px solid #8a8a8a; color: var(--muted); line-height: 1.25; }
.ntype-launch { border-color: #12502a; background: #12502a; color: #fff; }
.ntype-closure { border-color: #ebebeb; background: #ebebeb; color: var(--muted); }
.ntype-deadline { border-color: #b06c00; color: #7a4a00; }
.ntype-funding { border-color: var(--edge-funding); color: var(--edge-funding); }

/* one surface language: square corners, hairline borders, no shadows */
.finder { border-radius: 4px; box-shadow: none; border: 1px solid var(--card-line); border-top: 4px solid var(--brand); }
.opt-box { border-radius: 4px; }
.steps li::before { border-radius: 2px; width: 36px; height: 36px; background: #fff; border: 1.5px solid var(--ink); color: var(--ink); font-size: 1rem; }
@media (min-width: 761px) {
  .steps li { box-shadow: none; border-color: var(--card-line); border-radius: 4px; padding-top: 70px; }
  .steps li::before { top: 20px; }
}
.hero-photo-wrap { border-radius: 4px; box-shadow: none; }
.intro.home .hero-grid { border-radius: 4px; }
html.js form.leadform .lf-steps { flex-wrap: wrap; row-gap: 6px; }
form.leadform, .lf-next { min-width: 0; }

/* review fixes, UI pass 3 */
.wz-steps li, .lf-steps li { color: #6b6b6b; }
.chip input:checked + span::before { content: "✓ "; }
@media (forced-colors: active) { .chip input:checked + span { outline: 2px solid Highlight; outline-offset: -4px; } }
.hero-photo { border-radius: 4px; box-shadow: none; }
.hero-badge { box-shadow: none; border: 1px solid var(--card-line); }
.newslist .news-meta { margin: 0 0 4px; }
.toc-side { padding: 6px 8px 6px 16px; }
.field { display: grid; gap: 0; min-width: 0; }
.lf-who { margin: 0; font-weight: 700; }


/* ---------- assessment preparation page (booked homeowners only) ---------- */
.prep { max-width: 62rem; margin: 0 auto; padding: 28px 20px 48px; font-size: 1.125rem; }
.prep-hero { text-align: center; max-width: 46rem; margin: 0 auto 22px; }
.prep-eyebrow { font-size: .95rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-dark); margin: 0 0 8px; }
.prep h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.15; margin: 0 0 10px; text-wrap: balance; }
.prep h1::before, .prep h2::before { display: none; }
.prep-lead { font-size: 1.2rem; line-height: 1.5; color: var(--muted); margin: 0; }
.prep-video { margin: 0 0 36px; }
.prep-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #111; border: 1px solid var(--card-line); border-radius: 4px; overflow: hidden; }
.prep-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prep-video figcaption { text-align: center; font-size: 1rem; color: var(--muted); margin-top: 10px; }
.prep-block { max-width: 46rem; margin: 0 auto 28px; padding: 0; }
.prep h2 { font-size: 1.45rem; margin: 0 0 14px; }
.prep-check { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.prep-check li { position: relative; padding: 14px 0 14px 40px; margin: 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.prep-check li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 22px; height: 22px; border-radius: 2px; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%2312502a' stroke-width='2.2'/%3E%3C/svg%3E") no-repeat center; border: 1px solid var(--ok-line); }
.prep-info { max-width: 46rem; margin: 0 auto; background: var(--soft); border-left: 4px solid var(--brand); padding: 22px 24px; border-radius: 0; }
.prep-info h2 { font-size: 1.3rem; margin: 0 0 8px; }
.prep-info p { margin: 0 0 10px; }
.prep-info p:last-child { margin-bottom: 0; }
.prep-help { font-size: 1rem; color: var(--muted); }
body.prep-page footer.site .legal { max-width: 62rem; }
@media (max-width: 640px) { .prep { padding: 16px 16px 36px; font-size: 1.1rem; } .prep-hero { margin-bottom: 16px; } .prep-lead { font-size: 1.1rem; } .prep-info { padding: 18px 16px; } }
body.prep-page .bar { flex-wrap: nowrap; }
@media (max-width: 560px) { body.prep-page .brand span { font-size: .9rem; max-width: 8.5rem; } }
.prep-send { margin-top: 22px; border: 1px solid var(--card-line); border-left: 4px solid var(--ok-ink); border-radius: 0 4px 4px 0; padding: 18px 22px; background: #fff; }
.prep-send h3 { font-size: 1.2rem; margin: 0 0 6px; }
.prep-send p { margin: 0 0 8px; }
.prep-send ul { margin: 0; padding-left: 1.2em; }
.prep-send li { margin: 0 0 6px; line-height: 1.5; }
.prep-send li:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .prep-send { padding: 16px; } }

/* mobile action bar: pinned to the visible bottom edge (site.js corrects for iOS toolbar changes) */
.actionbar { bottom: 0; will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.actionbar a { white-space: nowrap; font-size: clamp(.92rem, 4.1vw, 1rem); }
.wz-steps { gap: 8px; }
@media (max-width: 420px) { .wz-steps li { font-size: .62rem; letter-spacing: .01em; } }

/* QA audit fixes */
.lf-next-h { font-size: 1.1rem; font-weight: 700; margin: 0 0 12px; color: var(--ink); }
.newslist .tags { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.newslist .tags a { display: inline-block; padding: 4px 0; margin: 0; line-height: 1.4; }
.pager a, .runby-link { display: inline-block; padding: 6px 0; }

/* ---------- QA audit, pass 2 ---------- */
.nw { white-space: nowrap; }
h1, h2, h3 { text-wrap: balance; }
.btn { text-align: center; }

/* tables: caption above the scroll area, readable column widths, a visible hint that the table scrolls */
.table-caption { font-weight: 700; margin: 18px 0 8px; max-width: 46rem; }
.table-scroll { background:
  linear-gradient(to right, var(--bg) 30%, rgba(255,255,255,0)) left center / 40px 100% no-repeat local,
  linear-gradient(to left, var(--bg) 30%, rgba(255,255,255,0)) right center / 40px 100% no-repeat local,
  radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.16), transparent) left center / 14px 100% no-repeat scroll,
  radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.16), transparent) right center / 14px 100% no-repeat scroll; }
.table-scroll table:has(tr > :nth-child(3)) { min-width: 30rem; }
.table-scroll table:has(tr > :nth-child(5)) { min-width: 40rem; }
.table-scroll td, .table-scroll th { overflow-wrap: normal; word-break: normal; }

/* program cards: the source line wraps at the dot; the status label only drops below a long source line */
.pcard-top { flex-wrap: wrap; }
.pcard-prov { flex: 1 1 9rem; min-width: 0; }
.pcard-level { white-space: nowrap; }
.pcard-foot { flex-wrap: nowrap; min-height: 64px; align-items: flex-end; }
.pcard-key { flex: 1 1 auto; min-width: 0; }

/* finder step names: equal columns; on small phones only the current step is named */
.wz-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.wz-steps li { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 520px) { .wz-steps { display: block; } .wz-steps li { display: none; font-size: .75rem; } .wz-steps li.is-on { display: block; } }

/* lead form: no empty space from the empty status line */
form.leadform .form-note:empty { display: none; }

/* minimal footer (landing and assessment pages): no empty band above the legal text */
body.landing footer.site, body.prep-page footer.site { padding-top: 24px; }
body.landing footer.site .legal, body.prep-page footer.site .legal { border-top: 0; margin-top: 0; padding-top: 0; }

/* page photo under a title block keeps a gap from the divider line */
main > .wrap.intro + .wrap > .hero-photo { margin-top: 28px; }

/* glossary: space between entries */
dl.facts dt { margin-top: 14px; }
dl.facts dt:first-child { margin-top: 0; }
dl.facts dd { margin: 2px 0 0; }

/* program finder page: section after the finder */
#how-this-works { margin-top: 48px; }

/* news: filter row lines up with the list */
.news-main .filter { max-width: 46rem; }

/* selects look the same in Safari/WebKit as in Chrome */
.filter select, .finder select, form.leadform select, .calc select { -webkit-appearance: none; appearance: none; min-height: 44px; padding-right: 40px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231a1a1a' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center; }

/* two-column link lists start level in WebKit */
.toc li:first-child { margin-top: 0; }
.toc { column-fill: balance; }
.toc li { display: block; margin: 0 0 10px; padding-top: 0; }

/* "at a glance": 4 across, 2 x 2, or stacked; never 3 + 1 */
.glance { grid-template-columns: 1fr; }
@media (min-width: 520px) { .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .glance { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* home paths: one column until there is room for three readable cards */
@media (max-width: 960px) { .paths { grid-template-columns: 1fr; } }

/* small phones: header keeps the menu button beside the name */
@media (max-width: 380px) { header.site .bar { flex-wrap: nowrap; gap: 10px; } header.site .brand span { font-size: .95rem; } header.site .brand .logo { width: 36px; height: 36px; } .navtoggle { flex-shrink: 0; } }

/* breadcrumbs: one tidy line on phones */
@media (max-width: 640px) { .crumbs ol { flex-wrap: nowrap; overflow: hidden; } .crumbs li { white-space: nowrap; } .crumbs li:last-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; } }

/* filter chips with long French labels */
.chip span { line-height: 1.25; }

/* collapsed menu is hidden by CSS on narrow screens, so it never flashes open while the window narrows */
@media (max-width: 1040px) { html.js nav.main:not(.is-open) { display: none; } }

/* the two-step form renders in its final shape before its script runs: no layout shift */
html.js form.leadform:not(.is-two-step) .lf-step[data-lf-step="2"] { display: none; }
html.js form.leadform:not(.is-two-step) .lf-steps li:first-child { color: var(--red-dark); }

/* preview-only draft banner and fact markers (never present in production builds) */
.draft-banner { background: #fff4d6; border-bottom: 2px solid #b06c00; padding: 10px 0; font-size: .95rem; }
mark.fact-unverified, mark.fact-missing { background: #ffd7d7; outline: 2px dashed #a00505; }
.status-board td, .status-board th { vertical-align: top; }

/* Batch 2: gas-company question in the finder (shown only for natural gas) */
.finder .gasco { margin-top: 1.1rem; }
.finder .gasco[hidden] { display: none; }

/* =====================================================================
   Portal alignment (2026-11): the application portal is the design reference.
   Values come from the portal's portal.css; nothing here changes markup-dependent behaviour.
   ===================================================================== */
:root { --radius: 5px; --shadow: none; --tint: var(--soft); --tint-line: var(--line); --card-line: var(--line); }

/* type: portal body is 16px/1.6 Open Sans; the site's rem scale shrinks with it (18px -> 16px) */
html { font-size: 88.889%; }
body { color: var(--ink); font-size: 16px; line-height: 1.6; }
@media (max-width: 640px) { body { font-size: 16px; } }
p, li, dd, td { color: var(--copy); }
h1, h2, h3, h4, strong, th, dt, label, legend, summary { color: var(--ink); }
h1 { font-size: clamp(33px, 4vw, 46px); line-height: 1.13; letter-spacing: -.047em; }
.intro.home .hero-grid h1 { font-size: clamp(33px, 4vw, 46px); }
h2 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.21; letter-spacing: -.02em; }
h3 { letter-spacing: -.014em; }
.lead, .intro .lead { color: var(--copy); font-size: 16px; line-height: 1.7; max-width: 66ch; }
.muted, .small.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
section > .wrap > h2:first-child, section > .wrap > .prose > h2:first-child { padding-top: 0; }
section > .wrap > h2:first-child::before, section > .wrap > .prose > h2:first-child::before { content: none; }

/* width and gutters: 1152px container, fluid gutter (24px at 760px and below, 17px at 360px and below) */
.wrap { width: min(100%, var(--page-width)); max-width: none; margin-inline: auto; padding-inline: var(--gutter); }
.intro, .intro.home { padding-left: var(--gutter); padding-right: var(--gutter); }
@media (max-width: 760px) { :root { --gutter: 24px; } }
@media (max-width: 640px) { .wrap, .intro, .intro.home { padding-left: var(--gutter); padding-right: var(--gutter); } }
@media (max-width: 360px) { :root { --gutter: 17px; } }

/* header: 4px red top border, 76px bar, 42px logo, 15px brand, hairline divider */
.topline { display: none; }
header.site { border-top: 4px solid var(--red); border-bottom: 1px solid var(--line); box-shadow: none; background: #fff; }
header.site .bar { min-height: 76px; gap: 24px; flex-wrap: nowrap; }
header.site .brand { flex: none; gap: 10px; font-size: 15px; line-height: 18px; color: var(--ink); letter-spacing: 0; }
header.site .brand span { max-width: 8.6em; letter-spacing: 0; font-size: inherit; }
header.site .brand .logo { width: 42px; height: 42px; }
nav.main { margin-left: auto; }
nav.main ul { gap: 0 2px; flex-wrap: nowrap; }
nav.main a, .langlink, .headphone { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--copy); font-size: 13px; font-weight: 700; white-space: nowrap; text-decoration: none; }
nav.main a:visited, .langlink:visited, .headphone:visited { color: var(--copy); }
nav.main a:hover, .langlink:hover, .headphone:hover { background: var(--soft); border-bottom-color: transparent; }
nav.main a[aria-current="page"], nav.main a.active { color: var(--ink); border-color: transparent; box-shadow: inset 0 -2px 0 var(--red); border-radius: 6px 6px 0 0; }
.langlink { order: 3; border-color: var(--line); padding-inline: 13px; }
.headphone { margin-left: auto; border-color: var(--line); padding-inline: 13px; color: var(--ink); }
.navtoggle { order: 4; min-height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 6px; color: var(--copy); font-size: 13px; font-weight: 700; background: #fff; }
@media (max-width: 1040px) {
  header.site .bar { flex-wrap: wrap; gap: 0 10px; }
  .langlink { order: 0; margin-left: auto; }
  .navtoggle { order: 0; }
  nav.main { order: 5; flex-basis: 100%; margin-left: 0; }
  nav.main ul { flex-direction: column; gap: 0; padding-bottom: 10px; }
  nav.main a { display: flex; justify-content: flex-start; min-height: 46px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 14px; }
  nav.main li:last-child a { border-bottom: 0; }
  nav.main a[aria-current="page"], nav.main a.active { box-shadow: inset 3px 0 0 var(--red); padding-left: 12px; border-radius: 0; }
}
@media (max-width: 760px) {
  header.site .bar { min-height: 65px; }
  header.site .brand { font-size: 13px; line-height: 16px; gap: 8px; }
  header.site .brand .logo { width: 35px; height: 35px; }
  .langlink, .navtoggle, .headphone { font-size: 12px; padding-inline: 9px; }
}
@media (max-width: 380px) { header.site .bar { flex-wrap: wrap; gap: 0 6px; } header.site .brand span { font-size: inherit; } header.site .brand .logo { width: 35px; height: 35px; } }
@media (max-width: 360px) { header.site .brand { font-size: 12px; } header.site .brand .logo { width: 32px; height: 32px; } .langlink, .navtoggle, .headphone { font-size: 11px; padding-inline: 7px; } }

/* sections and surfaces: white page, light-grey separators, no tints or shadows */
section { padding: clamp(34px, 5vw, 58px) 0; border-top: 1px solid var(--line); }
section.tight { padding: 32px 0; }
section.grey { background: var(--soft); }
.intro { padding-top: clamp(30px, 5vw, 54px); padding-bottom: 34px; }
.intro.home .hero-grid { background: none; border: 0; border-radius: 0; padding: clamp(30px, 5vw, 54px) 0 8px; margin-top: 0; }
.hero-photo-wrap, .hero-photo-wrap img, .page-photo img { border-radius: 9px; }
.hero-mark { box-shadow: none; border-color: var(--line); }
.eyebrow { color: var(--muted); font-size: 12px; letter-spacing: .045em; }
.crumbs { font-size: 13px; }
.crumbs a { color: var(--copy); }
hr { border-top-color: var(--line); }

/* buttons: portal .button (50px, 5px radius, 14px bold) */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 11px 20px; border: 1px solid var(--red); border-radius: 5px; background: var(--red); color: #fff; font-size: 14px; line-height: 1.4; font-weight: 700; text-align: center; box-shadow: none; transition: background .15s, border-color .15s; }
.btn:active { transform: none; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.secondary, .btn.secondary:visited { color: var(--copy); background: #fff; border-color: var(--button-line); }
.btn.secondary:hover { background: var(--soft); border-color: var(--button-line); }
.btn:disabled, .btn[disabled] { background: #e6eaee; border-color: #e6eaee; color: #596777; cursor: not-allowed; }
form.leadform .lf-actions .btn { padding: 11px 20px; font-size: 14px; }
.cta .btn { background: var(--red); border-color: var(--red); }
.linkbtn { color: var(--red); font-weight: 700; font-size: 14px; text-underline-offset: 4px; }
@media (max-width: 760px) { .btn { min-height: 48px; } }

/* forms: portal fields (49px, 1px #aebac6, 5px radius, 16px text) and 14px bold labels */
form.leadform, .finder { border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 8px; box-shadow: none; }
form.leadform label, .finder label, .wz-pair label, .filter label, .calc label { font-size: 14px; font-weight: 700; color: var(--copy); }
.finder legend { color: var(--ink); }
form.leadform input:not([type=checkbox]), form.leadform select, form.leadform textarea, .finder select, .finder input:not([type=checkbox]), .search-form input, input[type=search], input[type=text], input[type=email], input[type=tel], select, textarea { min-height: 49px; padding: 11px 12px; border: 1px solid var(--field-line); border-radius: 5px; background-color: #fff; color: var(--ink); font-size: 16px; line-height: 1.45; font-family: inherit; }
form.leadform input:not([type=checkbox]):focus, .finder select:focus, .finder input:not([type=checkbox]):focus { border-color: var(--field-line); box-shadow: none; outline: 3px solid var(--focus); outline-offset: 3px; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--red); }
input[type=checkbox] { accent-color: var(--red); width: 20px; height: 20px; }
form.leadform .check, .finder .check { border: 1px solid var(--line); border-radius: 5px; background: var(--soft); padding: 13px; color: var(--copy); }
form.leadform .check span, .finder .check span { font-size: 13px; font-weight: 400; color: var(--copy); }
form.leadform .check.optional { border: 0; background: transparent; padding: 0 13px; }
.hint, .finder .hint { color: var(--muted); font-size: 13px; font-weight: 400; }
.form-note.err { color: var(--red); background: transparent; border-left: 0; padding: 0; font-size: 13px; }
.opt-box { border: 1px solid var(--field-line); border-radius: 5px; }

/* notices: portal .notice */
.notice { max-width: none; margin: 18px 0; padding: 15px 18px; border: 0; border-left: 3px solid #879eb5; border-radius: 0 5px 5px 0; background: var(--soft); color: var(--copy); font-size: 14px; line-height: 1.6; }
.notice p, .notice li { color: var(--copy); }
.notice strong { color: var(--ink); }
.notice.warn { border-left-color: var(--warn-line); background: var(--warn-bg); color: var(--copy); }
.notice.ok { border-left-color: var(--ok-ink); background: var(--ok-bg); }
.finder-sum { border: 0; border-left: 3px solid var(--ok-ink); border-radius: 0 5px 5px 0; background: var(--ok-bg); }
.finder-sum strong { color: var(--ok-ink); }

/* cards and boxed surfaces: hairline border, portal radius, no warm tint */
.card, .program, .facts, .official, .steps li, .table-scroll { border-color: var(--line); border-radius: 7px; box-shadow: none; }
.card, .program { border: 1px solid var(--line); }
.facts { border: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.official { border: 1px solid var(--line); background: var(--soft); }
.pcard-foot { background: var(--soft); border-top-color: var(--line); border-radius: 0 0 6px 6px; }
.pcard-prov { color: var(--muted); letter-spacing: .045em; }
.pcard-key { border-left-color: var(--line); }
.pcard-key strong { letter-spacing: -.035em; font-weight: 600; }
.cards .card.pcard:hover, .cards .card.pcard:has(h3 a:focus-visible), .paths a.card:hover { border-color: #879eb5; }
.card h3 a::after { color: var(--muted); }
.paths a.card { border-top: 1px solid var(--line); }
.tag { border: 0; border-radius: 4px; padding: 2px 7px; background: var(--soft); color: var(--copy); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }
.tag.open, .tag.free { background: var(--ok-bg); color: var(--ok-ink); }
.tag.coming, .tag.waitlist, .tag.paused, .tag.varies { background: var(--warn-bg); color: var(--warn-ink); }
.tag.closed { background: #e6eaee; color: var(--muted); }
.steps li::before { border: 1px solid var(--line); border-radius: 50%; background: var(--soft); color: var(--copy); font-size: 13px; width: 32px; height: 32px; }
.trust li { color: var(--copy); }

/* tables: portal .utility-table */
table { border-collapse: collapse; }
th, td { border-bottom: 1px solid var(--line); }
thead th, .table-scroll table th { background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 700; }
tbody th { font-size: 14px; font-weight: 600; }
tbody td { font-size: 14px; color: var(--copy); }
tbody tr:nth-child(even) td { background: transparent; }
caption { color: var(--ink); font-size: 14px; font-weight: 700; }

/* details / FAQ rows: thin dividers */
details { border-color: var(--line); }
details summary { color: var(--ink); }

/* call-to-action band and mobile action bar */
.cta { background: var(--soft); color: var(--ink); border-top: 1px solid var(--line); }
.cta p { color: var(--copy); font-size: 16px; }
.actionbar { border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; background: #fff; padding: 9px var(--gutter) max(10px, env(safe-area-inset-bottom)); gap: 9px; }
.actionbar a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 13px; border: 1px solid var(--button-line); border-radius: 5px; color: var(--copy); font-size: 14px; font-weight: 700; }
.actionbar a.primary { background: var(--red); border-color: var(--red); color: #fff; }

/* footer: portal .portal-footer (soft surface, hairline top, small muted text) */
footer.site { background: var(--soft); color: var(--muted); border-top: 1px solid var(--line); padding: 34px 0 22px; font-size: 13px; }
footer.site p, footer.site li { color: var(--muted); }
footer.site a, footer.site a:visited { color: var(--copy); text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site .muted, footer.site .legal { color: var(--muted); }
footer.site h2 { color: var(--ink); font-size: 12px; font-weight: 700; text-transform: none; letter-spacing: 0; margin-bottom: 10px; }
footer.site .legal { border-top-color: var(--line); font-size: 12px; }
footer.site .footbrand { color: var(--ink); font-size: 14px; }
footer.site .footbrand .logo { color: var(--brand); }

/* preview-only markers keep their own colours */
.draft-banner p, .draft-banner { color: inherit; }

/* step indicators: portal .journey-track (21px round dots; current step red dot, ink label; done green) */
nav.main li { margin: 0; }
.eyebrow, .prep-eyebrow { color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .045em; text-transform: none; }   /* portal .page-kicker: red, 12px bold, not uppercase */
.lf-steps li, .wz-steps li { color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.lf-steps li::before { width: 21px; height: 21px; border: 1px solid #a9b6c3; border-radius: 50%; font-size: 11px; font-weight: 700; }
.lf-steps li.is-on, .wz-steps li.is-on, html.js form.leadform:not(.is-two-step) .lf-steps li:first-child { color: var(--ink); font-weight: 700; }
.lf-steps li.is-on::before { background: var(--red); border-color: var(--red); color: #fff; }
.lf-steps li.is-done, .wz-steps li.is-done { color: var(--ok-ink); }
.lf-steps li.is-done::before { border-color: #b0cabb; background: var(--ok-bg); color: var(--ok-ink); }
.wz-bar { background: var(--line); height: 4px; }
.wz-bar span { background: var(--red); }
.lf-next { border-left: 3px solid #879eb5; }
.lf-next li { color: var(--copy); font-size: 14px; }
.lf-next li::before { width: 21px; height: 21px; border: 1px solid #a9b6c3; border-radius: 50%; color: var(--copy); font-size: 11px; }
.lf-next li { padding-left: 32px; }
.timeline { border-left: 1px solid var(--line); }
.timeline li::before { left: -6px; width: 11px; height: 11px; border: 1px solid #a9b6c3; background: #fff; }

/* ---- Portal alignment, pass 2 (independent review findings) ---- */
/* fields that more specific old rules still styled: news filter, calculators, any form field */
.filter select, .filter input, .calc select, .calc input, form select, form textarea, form input:not([type=checkbox]):not([type=radio]):not([type=hidden]) { min-height: 49px; padding: 11px 12px; border: 1px solid var(--field-line); border-radius: 5px; background-color: #fff; color: var(--ink); font-size: 16px; line-height: 1.45; }
.filter select, .finder select, form.leadform select, .calc select, select { -webkit-appearance: none; appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23405062' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center; }
.filter { align-items: end; }
.filter label, .calc label { display: block; margin-bottom: 6px; line-height: 1.4; }
.calc { border: 1px solid var(--line); border-radius: 7px; }
.calc output { font-size: 18px; color: var(--ink); }
.finder legend .hint, .wz-step legend .hint { font-size: 13px; font-weight: 400; color: var(--muted); }
form.leadform input[aria-invalid="true"] { border-color: var(--red) !important; box-shadow: none !important; }
form.leadform input:not([type=checkbox]).is-valid { border-color: var(--ok-ink); }
.lf-err { color: var(--red); font-size: 13px; }

/* finder tiles and wizard */
.opt:hover .opt-box { border-color: #879eb5; }
.opt input:checked + .opt-box { border-color: var(--red); background: var(--soft); box-shadow: inset 0 0 0 1px var(--red); }
.opt input:checked + .opt-box .ico { color: var(--red); }
.wz-nav { border-top-color: var(--line); margin-top: 18px; }
.wz-nav .btn:disabled, .wz-nav .btn:disabled:hover { opacity: 1; background: #e6eaee; border-color: #e6eaee; color: #596777; box-shadow: none; }
#finder-results .cards .card.pcard:hover { border-color: #879eb5; }
.finder-sum { border-left-color: #879eb5; background: var(--soft); }
.finder-sum strong { color: var(--ink); }

/* home "where to start" cards: one hairline box, no coloured edges or coloured labels */
.paths a.card.path, .paths a.card.path:hover, .paths a.card.path-rebate, .paths a.card.path-rebate:hover, .paths a.card.path-free, .paths a.card.path-free:hover, .paths a.card.path-funding, .paths a.card.path-funding:hover { border: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 7px; }
.paths a.card.path:hover, .paths a.card.path-rebate:hover, .paths a.card.path-free:hover, .paths a.card.path-funding:hover { border-color: #879eb5; }
.path-eyebrow, .path-free .path-eyebrow, .path-funding .path-eyebrow, .path-rebate .path-eyebrow { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .045em; text-transform: none; }
.hero-badge { display: none; }
.hero-photo { border-radius: 9px; }
@media (min-width: 761px) { .intro.home .hero-grid { padding: clamp(30px, 5vw, 54px) 0 8px; } .intro.home .hero-grid h1 { font-size: clamp(33px, 4vw, 46px); line-height: 1.13; letter-spacing: -.047em; } }
.intro.home .actions .btn { min-width: 220px; }

/* labels, chips and small type: nothing under 12px, no uppercase heavy labels, no dark fills */
.tag { text-transform: none; letter-spacing: 0; font-size: 12px; }
.ntype { border: 0; border-radius: 4px; padding: 2px 7px; background: var(--soft); color: var(--copy); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.ntype-launch { background: var(--ok-bg); color: var(--ok-ink); }
.ntype-deadline { background: var(--warn-bg); color: var(--warn-ink); }
.ntype-closure { background: #e6eaee; color: var(--muted); }
.ntype-funding { background: var(--soft); color: var(--copy); }
.newslist time, .news-meta time, .timeline time { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.pcard-prov { font-size: 12px; text-transform: none; letter-spacing: 0; }
.pcard-key span, .pcard-note { font-size: 12px; color: var(--muted); }
.pcard.is-closed .pcard-foot { border-top-color: var(--line); }
.pcard.is-closed .pcard-key { border-left-color: var(--line); }
.chip span { min-height: 44px; display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid var(--button-line); border-radius: 5px; background: #fff; color: var(--copy); font-size: 13px; font-weight: 700; }
.chip:hover span { border-color: var(--button-line); background: var(--soft); }
.chip input:checked + span { background: var(--soft); border-color: var(--red); color: var(--ink); box-shadow: inset 0 0 0 1px var(--red); gap: 6px; }
.pfilter { border-color: var(--line); border-radius: 7px; }
.pfilter legend { font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--copy); }
.pfilter-foot { border-top: 1px solid var(--line); }
.years a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid var(--button-line); border-radius: 5px; color: var(--copy); background: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.years a:hover { background: var(--soft); color: var(--copy); }
.years a[aria-current="page"], .years-rail .years a[aria-current="page"] { background: var(--soft); border-color: var(--red); color: var(--ink); box-shadow: inset 0 0 0 1px var(--red); }
.glance { border-color: var(--line); border-radius: 7px; overflow: hidden; }
.glance .glance-key dd, .glance.is-closed .glance-key dd { border-left: 0; padding-left: 0; }
.glance dt { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.glance .glance-key span { font-size: 12px; color: var(--muted); }
.glance .glance-key strong { letter-spacing: -.035em; font-weight: 600; }
.toc-side { border-left: 1px solid var(--line); }
.toc-h { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.toc-side ol { gap: 2px; }
.toc-side a { display: block; padding: 6px 0; color: var(--copy); }
.toc-side a.is-on { color: var(--ink); margin-left: -17px; padding-left: 15px; border-left: 2px solid var(--red); text-decoration: none; }
.wz-steps li { font-size: 12px; }

/* steps: stacked list by default; boxed three-across only where the grid is three columns (900px and up) */
.steps li { padding: 0 0 0 46px; border: 0; background: none; border-radius: 0; }
.steps li::before { left: 0; top: 0; }
@media (min-width: 761px) { .steps li { padding: 0 0 0 46px; } .steps li::before { top: 0; } }
@media (min-width: 900px) {
  .steps li { padding: 62px 22px 18px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
  .steps li::before { left: 22px; top: 18px; }
  .about-steps .steps li, .prose .steps li { padding: 0 0 0 46px; border: 0; background: none; }
  .about-steps .steps li::before, .prose .steps li::before { left: 0; top: 0; }
}

/* page-head divider: full-bleed like the header and footer rules, not a box wider than the text */
body:not(.landing) main > .wrap.intro:not(.home) { border-bottom: 0; }
main > .wrap.intro + section, main > .wrap.intro + .wrap { border-top: 0; }
main { overflow-x: clip; }
body:not(.landing) main > .wrap.intro:not(.home) { position: relative; }
body:not(.landing) main > .wrap.intro:not(.home)::after { content: ""; position: absolute; bottom: 0; left: calc(50% - 50vw); width: 100vw; border-bottom: 1px solid var(--line); }
.page-photo, .intro + .wrap .hero-photo { margin-bottom: 28px; }
.intro .notice, .program-note, .intro > p:not(.lead):not(.eyebrow) { max-width: 66ch; }

/* tables keep the scroll hint; rows are transparent so the hint is even on every row */
.table-scroll { border: 1px solid var(--line); border-radius: 7px; }
.table-scroll table { margin: 0; }
.table-scroll tbody td, .table-scroll tbody th { background: transparent; }

/* assessment preparation page: same gutters, left-aligned head, neutral callouts */
.prep { padding-inline: var(--gutter); font-size: 16px; }
.prep-head, .prep-hero, .prep header { text-align: left; }
.prep h1 { font-size: clamp(33px, 4vw, 46px); line-height: 1.13; }
.prep h2, body.landing .prose h2 { font-size: clamp(22px, 2.6vw, 28px); }
.prep-info { border-left: 3px solid #879eb5; border-radius: 0 5px 5px 0; background: var(--soft); }
.prep-send { border: 0; border-left: 3px solid #879eb5; border-radius: 0 5px 5px 0; background: var(--soft); }
.prep-check li::before { background: var(--soft); border: 1px solid var(--line); color: var(--ok-ink); border-radius: 50%; }

/* mobile: full-width primary actions like the portal; roomier footer links; menu state */
@media (max-width: 760px) {
  .intro .actions .btn, .cta .btn, .wz-nav .btn { width: 100%; }
  .cta .wrap { display: grid; gap: 12px; }
  footer.site li { margin-bottom: 0; }
  footer.site li a, footer.site .legal a { display: inline-block; padding: 9px 0; }
  footer.site { padding-bottom: 96px; }
}
.navtoggle[aria-expanded="true"] { background: var(--soft); color: var(--ink); }
@media (max-width: 1040px) {
  nav.main.is-open { border-top: 1px solid var(--line); }
  nav.main a:hover, nav.main a[aria-current="page"], nav.main a.active { border-bottom-color: var(--line); }
  nav.main li:last-child a, nav.main li:last-child a:hover { border-bottom: 0; }
}

/* print keeps its own plain styles */
@media print {
  html { font-size: 100%; }
  body { font-size: 11pt; color: #000; }
  p, li, dd, td, h1, h2, h3, h4, th, dt { color: #000; }
  .langlink, .headphone, .navtoggle, nav.main, .actionbar { display: none !important; }
  header.site { border-top: 0; }
}
