:root {
  color-scheme: light;
  --ink: #1e3027;
  --muted: #536258;
  --green: #365b47;
  --green-dark: #234533;
  --green-pale: #edf2eb;
  --paper: #ffffff;
  --warm: #f6f5ef;
  --line: #d9dfd8;
  --line-dark: #c5d0c6;
  --gutter: clamp(20px, 4vw, 52px);
  --content: 1520px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.6; background: var(--paper); }
a { color: var(--green-dark); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: #172d20; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .table-scroll:focus-visible { outline: 3px solid #9a7a3d; outline-offset: 3px; }
.page-width { width: min(100%, var(--content)); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; top: -5rem; left: var(--gutter); z-index: 10; padding: .65rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.15rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; flex-direction: column; gap: .16rem; color: var(--ink); font-size: 1.08rem; font-weight: 720; line-height: 1.2; text-decoration: none; letter-spacing: -.02em; white-space: nowrap; }
.brand span { color: var(--muted); font-size: .67rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.primary-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem 1.2rem; }
.primary-nav a, .footer-nav a { color: var(--ink); font-size: .91rem; text-decoration: none; }
.primary-nav a[aria-current="page"] { color: var(--green-dark); font-weight: 750; text-decoration: underline; text-underline-offset: .35em; }
.primary-nav a:hover, .footer-nav a:hover { text-decoration: underline; }
main { padding-bottom: 4.25rem; }
.hero { max-width: 940px; padding: 3.3rem 0 1.8rem; }
.eyebrow { margin: 0 0 .75rem; color: var(--green); font-size: .73rem; font-weight: 760; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
h1, h2, h3 { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; line-height: 1.12; }
h1 { max-width: 920px; margin: 0 0 1rem; font-size: clamp(2.3rem, 5vw, 4.1rem); }
h2 { margin: 0 0 .65rem; font-size: clamp(1.55rem, 2.7vw, 2.25rem); }
h3 { margin: 0 0 .55rem; font-size: 1.4rem; }
p { margin: 0 0 1rem; }
.lead { max-width: 780px; color: #4c5e53; font-size: 1.08rem; }
.site-note { display: inline-block; margin-top: .4rem; padding: .55rem .8rem; border-left: 3px solid var(--green); background: var(--warm); color: #405449; font-size: .88rem; }
.breadcrumbs { padding-top: 1.2rem; color: var(--muted); font-size: .84rem; }
.breadcrumbs a { color: var(--muted); }
.page-hero { max-width: 950px; padding: 1.5rem 0 1.1rem; }
.page-hero h1 { font-size: clamp(2.15rem, 4.4vw, 3.5rem); }
.page-hero .lead { font-size: 1.03rem; }
.table-section { margin: 1.7rem 0 3rem; scroll-margin-top: 1rem; }
.section-heading { max-width: 1000px; margin-bottom: 1.05rem; }
.section-heading > p:last-child { max-width: 820px; color: var(--muted); }
.table-scroll { overflow-x: auto; overscroll-behavior-inline: contain; border: 1px solid var(--line-dark); background: white; }
.provider-table { width: 100%; min-width: 1160px; border-collapse: collapse; text-align: left; font-size: .88rem; line-height: 1.45; }
.provider-table caption { padding: .8rem 1rem; color: var(--muted); font-size: .82rem; text-align: left; }
.provider-table th { padding: .9rem .8rem; border-bottom: 1px solid var(--line-dark); background: var(--green-pale); color: var(--green-dark); font-size: .8rem; font-weight: 720; line-height: 1.35; vertical-align: bottom; }
.provider-table th span { display: inline-block; margin-top: .32rem; color: #53675a; font-size: .72rem; font-weight: 500; }
.provider-table td { min-width: 7rem; padding: .9rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.provider-table tbody tr:nth-child(even) { background: #fbfcfa; }
.provider-table tbody tr:last-child td { border-bottom: 0; }
.provider-table td:first-child { min-width: 10rem; }
.provider-table td strong { display: block; font-size: .95rem; }
.option-tag { display: inline-block; margin-top: .4rem; padding: .16rem .42rem; border: 1px solid #c6d4c8; border-radius: 999px; color: var(--green-dark); font-size: .7rem; font-weight: 700; }
/* Links in table cells break only where needed, never mid-word (was
   overflow-wrap: anywhere, which split "info@osa.ventures" into two lines). */
.provider-table td a { overflow-wrap: break-word; word-break: normal; }
.provider-table .contact-line { display: block; }
.provider-table .contact-line + .contact-line { margin-top: .2rem; }
.provider-table .on-request { color: var(--muted); }
.table-note { margin: .7rem 0 0; color: var(--muted); font-size: .84rem; }
.voucher-note { margin: 2.3rem 0; padding: 1.35rem 1.5rem; border: 1px solid var(--line); background: var(--warm); }
.voucher-note p:last-child { margin-bottom: 0; }
.voucher-note a { font-weight: 650; }
.page-switch { margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 700; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin: 2.7rem 0 0; padding: 1.45rem 0; border-top: 1px solid var(--line); }
.cta-row h2 { font-size: 1.85rem; }
.cta-row p { color: var(--muted); }
.cta-links { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; }
.button-link, .form-actions button { display: inline-block; min-height: 2.8rem; padding: .7rem 1.05rem; border: 1px solid var(--green-dark); background: var(--green-dark); color: white; font: inherit; font-size: .9rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.button-link:hover, .form-actions button:hover { background: #183625; color: white; }
.text-link { font-weight: 700; }
.prose { max-width: 900px; }
.prose h2 { margin-top: 2rem; font-size: 1.7rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin: .35rem 0; }
.prose .callout { margin: 1.3rem 0; padding: 1rem 1.15rem; border-left: 3px solid var(--green); background: var(--warm); }
.form-shell { max-width: 900px; margin: 1rem 0 2.7rem; padding: 1.6rem; border: 1px solid var(--line); background: #fff; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; margin: 0 0 1rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label, .fieldset-title { color: var(--ink); font-size: .9rem; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 2.8rem; padding: .7rem .75rem; border: 1px solid #b9c6bb; border-radius: 2px; background: white; color: var(--ink); font: inherit; font-size: .96rem; }
.form-field textarea { min-height: 8rem; resize: vertical; }
.form-field small, .form-help { color: var(--muted); font-size: .82rem; }
.consent-list { margin: 0 0 1.2rem; padding: 1rem; border: 1px solid var(--line); background: #fbfcfa; }
.consent-item { display: grid; grid-template-columns: 1.15rem 1fr; gap: .65rem; margin: .7rem 0; align-items: start; }
.consent-item input { margin-top: .28rem; }
.consent-item label { font-size: .89rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1rem; }
.form-notice { margin: 1.1rem 0 0; padding: .8rem .95rem; background: var(--warm); color: #405449; font-size: .85rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.site-footer { margin-top: 2rem; border-top: 1px solid var(--line); background: #f7f7f2; }
.footer-inner { padding-block: 1.7rem 1.2rem; }
.footer-note { margin: .7rem 0 1rem; color: var(--muted); font-size: .84rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.footer-nav a { font-size: .85rem; }
.status-card { max-width: 780px; margin: 3rem auto; padding: 1.5rem; border: 1px solid var(--line); background: var(--warm); }
.status-card h1 { font-size: clamp(2rem, 4vw, 3rem); }
@media (max-width: 1100px) {
  .table-scroll { overflow: visible; border: 0; }
  .provider-table, .provider-table tbody { display: block; width: 100%; min-width: 0; }
  .provider-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .provider-table caption { display: block; padding: .25rem 0 .7rem; }
  .provider-table tbody { display: grid; gap: .9rem; }
  .provider-table tbody tr { display: block; overflow: hidden; border: 1px solid var(--line-dark); background: white; }
  .provider-table td { display: grid; grid-template-columns: minmax(7rem, 36%) minmax(0, 1fr); gap: .8rem; min-width: 0; padding: .75rem .85rem; border-bottom: 1px solid var(--line); overflow-wrap: break-word; }
  .provider-table td::before { content: attr(data-label); color: var(--green-dark); font-size: .78rem; font-weight: 750; }
  .provider-table td:last-child { border-bottom: 0; }
  .provider-table td:first-child { min-width: 0; background: var(--green-pale); }
  .provider-table td:first-child::before { content: "Provider"; }
  /* Cards: every field keeps its divider, also in the last card. */
  .provider-table tbody tr:last-child td:not(:last-child) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 850px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: .9rem; }
  .primary-nav { justify-content: flex-start; }
  .hero { padding-top: 2.5rem; }
}
@media (max-width: 760px) {
  .table-scroll { overflow: visible; border: 0; }
  .provider-table, .provider-table tbody { display: block; width: 100%; min-width: 0; }
  .provider-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .provider-table caption { display: block; padding: .25rem 0 .7rem; }
  .provider-table tbody { display: grid; gap: .9rem; }
  .provider-table tbody tr { display: block; overflow: hidden; border: 1px solid var(--line-dark); background: white; }
  .provider-table td { display: grid; grid-template-columns: minmax(7rem, 36%) minmax(0, 1fr); gap: .8rem; min-width: 0; padding: .75rem .85rem; border-bottom: 1px solid var(--line); overflow-wrap: break-word; }
  .provider-table td::before { content: attr(data-label); color: var(--green-dark); font-size: .78rem; font-weight: 750; }
  .provider-table td:last-child { border-bottom: 0; }
  .provider-table td:first-child { min-width: 0; background: var(--green-pale); }
  .provider-table td:first-child::before { content: "Provider"; }
  .voucher-note { padding: 1.05rem; }
  .form-grid { display: block; }
  .form-shell { padding: 1rem; }
  .cta-row { align-items: flex-start; flex-direction: column; gap: .5rem; }
}
@media (max-width: 440px) {
  :root { --gutter: 22px; }
  .primary-nav { gap: .45rem .9rem; }
  h1 { font-size: 2.45rem; }
  .page-hero h1 { font-size: 2.25rem; }
  .provider-table td { grid-template-columns: 1fr; gap: .25rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
