@charset "utf-8";
:root {
  color-scheme: light;
  --ink: #183532;
  --muted: #5c706b;
  --paper: #f6f8f4;
  --surface: #fff;
  --surface-soft: #edf3ec;
  --line: #d9e2da;
  --green: #176c55;
  --green-dark: #105443;
  --mint: #dbeee2;
  --sun: #f2bd61;
  --lavender: #e7e3f3;
  --danger-bg: #fff3dc;
  --danger-ink: #694910;
  --shadow: 0 14px 40px rgba(18, 48, 41, .08);
  --radius: 18px;
  --content: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.6; }
a { color: var(--green-dark); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: #0a3e31; }
button, input, select { font: inherit; }
button, .button { cursor: pointer; }
:focus-visible { outline: 3px solid #d08a1c; outline-offset: 3px; }
.container { width: min(var(--content), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 10; padding: 10px 14px; border-radius: 8px; color: #fff; background: var(--green-dark); }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 5; background: var(--green-dark); color: #fff; }
.header-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 760; letter-spacing: -.025em; line-height: 1.12; }
.brand:hover { color: #fff; }
.brand img { width: 40px; height: 40px; }
.brand small { display: block; margin-top: 4px; color: #d2e5d9; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 25px); }
.primary-nav a { padding: 8px 0; color: #eef6ee; font-size: .9rem; font-weight: 650; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--sun); }
.nav-toggle { display: none; border: 1px solid rgba(255,255,255,.45); border-radius: 10px; padding: 8px 11px; color: #fff; background: transparent; }
.independent-strip { padding: 9px 0; color: #e7efe7; background: #214b42; font-size: .82rem; }
.independent-strip strong { color: #f5cd80; letter-spacing: .06em; text-transform: uppercase; }
.independent-strip .container { display: flex; flex-wrap: wrap; gap: 9px; align-items: baseline; }
main { min-height: 65vh; }
.hero { position: relative; overflow: hidden; padding: clamp(52px, 8vw, 96px) 0 64px; color: #f8fbf7; background: var(--green-dark); }
.hero::after { position: absolute; right: max(-70px, calc((100vw - var(--content))/2 - 5px)); top: 38px; width: 260px; height: 260px; border: 1px solid rgba(233,246,232,.2); border-radius: 50%; box-shadow: 0 0 0 26px rgba(233,246,232,.04), 0 0 0 55px rgba(233,246,232,.035); content: ""; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 810px; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: .77rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { color: #c2dbcc; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 860px; margin-bottom: 16px; font-size: clamp(2.35rem, 6vw, 4.4rem); line-height: 1.04; letter-spacing: -.055em; }
.hero-lede { max-width: 730px; margin-bottom: 28px; color: #e3eee6; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.search-form { display: flex; gap: 10px; max-width: 760px; padding: 7px; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; background: #fff; box-shadow: var(--shadow); }
.search-form input { min-width: 0; flex: 1; border: 0; padding: 11px 14px; color: var(--ink); background: transparent; outline: 0; }
.search-form input:focus-visible { outline: 2px solid #d08a1c; outline-offset: 1px; border-radius: 8px; }
.search-form button, .button-primary { border: 0; border-radius: 10px; padding: 12px 18px; color: #fff; background: var(--green); font-weight: 750; text-decoration: none; }
.search-form button:hover, .button-primary:hover { color: #fff; background: #0b5944; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.hero-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; text-align: center; text-decoration: none; }
.hero-foot { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 17px; color: #d4e6d8; font-size: .88rem; }
.hero-foot span::before { margin-right: 8px; color: var(--sun); content: "•"; }
.page-heading { padding: 50px 0 26px; }
.page-heading h1 { max-width: 840px; margin-bottom: 12px; font-size: clamp(2.1rem, 4.5vw, 3.5rem); }
.lede { max-width: 790px; margin-bottom: 0; color: var(--muted); font-size: 1.12rem; }
.crumbs { padding: 20px 0 0; color: var(--muted); font-size: .84rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { margin-right: 7px; color: #82948d; content: "/"; }
.crumbs a { color: var(--muted); }
.section { padding: 48px 0; }
.section-tight { padding: 28px 0; }
.section-tint { background: var(--surface-soft); }
.section-dark { color: #f6fbf6; background: #173d36; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 22px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1.15; letter-spacing: -.035em; }
.section-heading p { max-width: 540px; margin: 0; color: var(--muted); }
.section-dark .section-heading p { color: #d6e6dc; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 21px; background: var(--surface); box-shadow: 0 6px 18px rgba(18,48,41,.035); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-link:hover { border-color: #8aa99b; box-shadow: var(--shadow); transform: translateY(-2px); }
.card, .card-link { transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.card h2, .card h3 { margin-bottom: 8px; font-size: 1.12rem; line-height: 1.3; letter-spacing: -.015em; }
.card p { margin-bottom: 12px; color: var(--muted); font-size: .94rem; }
.card .arrow { margin-top: auto; padding-top: 8px; color: var(--green); font-weight: 750; font-size: .9rem; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.icon-badge { display: inline-grid; place-items: center; width: 37px; height: 37px; flex: 0 0 auto; border-radius: 12px; color: var(--green-dark); background: var(--mint); font-size: 1.08rem; font-weight: 800; }
.tag { display: inline-flex; align-items: center; max-width: 100%; border-radius: 999px; padding: 4px 9px; color: #31584e; background: #edf4ee; font-size: .75rem; font-weight: 750; line-height: 1.4; }
.tag-demo { color: var(--danger-ink); background: var(--danger-bg); }
.tag-accent { color: #563c86; background: var(--lavender); }
.tag-planned { color: #6a4b0f; background: #fbf1d9; }
.topic-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; padding: 0; list-style: none; }
.topic-list li { border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; color: #415c54; background: #fbfcfa; font-size: .78rem; }
.demo-banner, .callout { border: 1px solid #ead7ad; border-radius: 14px; padding: 16px 18px; color: var(--danger-ink); background: var(--danger-bg); }
.demo-banner { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0; }
.demo-banner > .tag { flex: 0 0 auto; }
.demo-banner strong, .callout strong { display: block; margin-bottom: 3px; }
.demo-banner p, .callout p { margin: 0; }
.callout { margin: 24px 0; }
.callout.green { border-color: #c4ddcb; color: #244c38; background: #e7f3e8; }
.filter-panel { border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: var(--surface); }
.filters { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr auto; align-items: end; gap: 12px; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: 6px; font-size: .82rem; font-weight: 760; }
.field input, .field select { width: 100%; min-height: 45px; border: 1px solid #bfcdc3; border-radius: 10px; padding: 9px 11px; color: var(--ink); background: #fff; }
.button-secondary { min-height: 45px; border: 1px solid var(--green); border-radius: 10px; padding: 9px 14px; color: var(--green-dark); background: #eff7f0; font-weight: 750; }
.button-secondary:hover { background: #dfefe1; }
.results-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 18px 0 12px; color: var(--muted); font-size: .9rem; }
.results-actions { display: flex; justify-content: center; margin-top: 18px; }
.course-card { display: flex; flex-direction: column; min-height: 260px; }
.course-card[hidden] { display: none; }
.course-card .card-topline { margin-bottom: 15px; }
.course-meta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 13px; margin: 12px 0; }
.course-meta div { min-width: 0; color: var(--muted); font-size: .8rem; }
.course-meta dt { color: #29463e; font-weight: 750; }
.course-meta dd { margin: 2px 0 0; overflow-wrap: anywhere; }
/* Official results need room for source labels, dates and provider names. */
[data-live-course-results].grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
[data-live-course-results] .card-topline { flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; }
[data-live-course-results] .course-meta { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.empty-state { display: none; border: 1px dashed #a6b8aa; border-radius: 16px; padding: 28px; text-align: center; background: #fbfcfa; }
.empty-state h2 { margin-bottom: 7px; font-size: 1.2rem; }
.empty-state p { margin-bottom: 0; color: var(--muted); }
.demo-archive { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 18px; }
.demo-archive summary { cursor: pointer; color: var(--brand-dark); font-weight: 750; }
.demo-archive[open] > .demo-banner { margin-top: 16px; }
.content-layout { display: grid; grid-template-columns: minmax(0,1fr) 285px; gap: 38px; align-items: start; padding-bottom: 54px; }
.prose { min-width: 0; max-width: 800px; }
.prose h2 { margin: 36px 0 12px; font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.25; letter-spacing: -.025em; }
.prose h3 { margin: 28px 0 8px; font-size: 1.15rem; }
.prose p, .prose li { color: #354f48; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 23px; }
.prose li { padding-left: 4px; margin: 8px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 28px; background: #fff; }
.prose th, .prose td { border: 1px solid var(--line); padding: 12px; text-align: left; vertical-align: top; }
.prose th { color: #203f37; background: #eaf1e9; }
.sidebar-card { position: sticky; top: 20px; border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: #fff; }
.sidebar-card h2 { margin-bottom: 12px; font-size: 1rem; }
.sidebar-card ul { margin: 0; padding-left: 18px; }
.sidebar-card li { margin: 8px 0; font-size: .9rem; }
.source-links { display: grid; gap: 9px; margin: 24px 0; padding: 0; list-style: none; }
.source-links li a { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; font-weight: 700; text-decoration: none; }
.source-links li > span { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #f5f7f5; font-weight: 700; }
.source-links small { display: block; margin-top: 3px; color: var(--muted); font-weight: 450; }
.source-scope { padding: 8px 12px; color: var(--muted); }
.source-scope summary { color: var(--brand); cursor: pointer; font-weight: 650; }
.source-scope p { margin: 8px 0 4px; line-height: 1.6; }
.source-link-icon { margin-left: 6px; font-size: .8em; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 13px; padding: 16px 18px; background: #fff; }
.faq-list summary { cursor: pointer; font-weight: 750; }
.faq-list details p { margin: 10px 0 0; color: var(--muted); }
.faq-sources .source-links { margin: 10px 0 0; }
.faq-sources .source-links li a { font-size: .9rem; }
.territory-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; border: 1px solid var(--line); border-radius: 13px; padding: 14px 16px; color: var(--ink); background: #fff; text-decoration: none; font-weight: 720; }
.territory-card:hover { border-color: #88aa97; box-shadow: 0 7px 19px rgba(18,48,41,.06); }
.territory-card-unavailable { cursor: default; }
.territory-card small { display: block; margin-top: 4px; color: var(--muted); font-size: .76rem; font-weight: 450; line-height: 1.35; }
.territory-card > span:last-child { color: var(--green); }
.territory-secondary-link { display: inline-block; margin: 8px 0 0 10px; color: var(--green); font-size: .78rem; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.territory-secondary-link:hover { color: var(--green-dark); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 700px; margin-top: 26px; }
.stat { border-left: 2px solid var(--sun); padding-left: 12px; color: #d7e6db; font-size: .82rem; }
.stat strong { display: block; color: #fff; font-size: 1.28rem; }
.steps { counter-reset: steps; padding: 0 !important; list-style: none; }
.steps li { position: relative; min-height: 36px; padding-left: 45px; counter-increment: steps; }
.steps li::before { position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: var(--green); content: counter(steps); font-size: .83rem; font-weight: 750; }
.footer { margin-top: 48px; padding: 38px 0 24px; color: #dce9df; background: #173d36; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 34px; }
.footer h2 { margin-bottom: 11px; color: #fff; font-size: 1rem; }
.footer p, .footer li { color: #c5d8cb; font-size: .88rem; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin: 7px 0; }
.footer a { color: #edf7ee; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 16px; color: #bfd2c6; font-size: .82rem; }
.footer-bottom p { margin: 0; }
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; }
.pill-row a { border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; background: #fff; font-size: .85rem; font-weight: 680; text-decoration: none; }
.detail-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 22px; margin: 20px 0; }
.detail-list div { border-bottom: 1px solid var(--line); padding: 12px 0; }
.detail-list dt { color: #45625a; font-size: .8rem; font-weight: 760; }
.detail-list dd { margin: 3px 0 0; font-weight: 630; }
.noscript { margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; }
.small-note { color: var(--muted); font-size: .84rem; }
.list-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 760; }
.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; }
@media (max-width: 940px) {
  .grid-4 { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filters .field:first-child { grid-column: 1/-1; }
  .content-layout { grid-template-columns: minmax(0,1fr) 245px; gap: 24px; }
}
@media (max-width: 680px) {
  .container { width: min(var(--content), calc(100% - 30px)); }
  .header-row { min-height: 68px; }
  .nav-toggle { display: inline-block; }
  .primary-nav { display: none; position: absolute; z-index: 5; left: 0; right: 0; top: 68px; padding: 9px 20px 18px; border-top: 1px solid rgba(255,255,255,.2); background: var(--green-dark); }
  .primary-nav.is-open { display: grid; gap: 2px; }
  .primary-nav a { padding: 10px 2px; }
  .hero { padding: 50px 0 47px; }
  .hero::after { right: -175px; top: -90px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions a { width: 100%; }
  .search-form { flex-direction: column; padding: 9px; }
  .search-form input { min-height: 45px; }
  .search-form button { width: 100%; }
  .stat-row { grid-template-columns: 1fr; gap: 10px; }
  .stat strong { display: inline; margin-right: 6px; }
  .section { padding: 37px 0; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 9px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
  .card { padding: 16px; border-radius: 15px; }
  .content-layout { display: block; }
  .sidebar-card { position: static; margin-top: 25px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: 8px; }
  .course-meta { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 430px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr; }
  .filters .field:first-child { grid-column: auto; }
  .detail-list { grid-template-columns: 1fr; }
  .page-heading { padding-top: 36px; }
  .prose th, .prose td { padding: 9px 8px; font-size: .88rem; }
  .prose table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.ad-placement { margin-block: 48px; padding-block: 20px; border-block: 1px solid #e1e7e4; min-height: 140px; overflow: hidden; }
.ad-label { display:block; margin-bottom:12px; font-size:12px; color:#626c66; text-align:center; }
.search-explanation { margin-block: 16px; padding: 12px 16px; border: 1px solid #d8e3dd; border-radius: 10px; }
.search-explanation summary { cursor: pointer; font-weight: 600; }
.search-explanation summary:focus-visible { outline: 3px solid #105443; outline-offset: 4px; }
.analytics-panel { position:fixed; z-index:200; inset:auto 16px 16px; width:min(680px,calc(100% - 32px)); max-height:60vh; overflow:auto; margin-inline:auto; padding:20px; border:2px solid #105443; border-radius:12px; background:#fff; color:#17362c; box-shadow:0 8px 36px #123a3230; }
.analytics-panel[hidden] { display:none; }
.analytics-panel h2 { margin:0 0 10px; font-size:1.2rem; }
.analytics-panel p { margin-block:8px; }
.analytics-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }
.analytics-actions button { flex:1 1 160px; border:1px solid #105443; border-radius:8px; padding:10px 14px; background:#fff; color:#105443; font:inherit; cursor:pointer; }
.analytics-actions button:focus-visible,.analytics-settings:focus-visible { outline:3px solid #e1a82c; outline-offset:3px; }
.analytics-settings { border:0; padding:4px 0; color:inherit; background:none; font:inherit; text-decoration:underline; cursor:pointer; }
@media (max-width:600px) { .ad-placement { margin-block:36px; min-height:120px; } }
