:root {
  color-scheme: light;
  --teal: #167D8D;
  --dark: #0b343f;
  --ink: #18333b;
  --link: #095e6b;
  --cream: #eff8f8;
  --line: #b9d8dc;
  --accent: #ffcc99;
  --site-blue: var(--teal);
  --light-link: var(--link);
  --dark-link: #f0ffff;
  --light: var(--cream);
  --light-line: var(--line);
  --footer-light: #f0ffff;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: white; font: 1.035rem/1.65 system-ui, sans-serif; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { line-height: 1.14; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; text-wrap: balance; letter-spacing: -.04em; }
h1 { max-width: 14ch; font-size: clamp(3rem, 5.85vw, 5.5rem); }
h2 { color: var(--dark); font-size: clamp(2.03rem, 4vw, 3.45rem); }
h3 { color: var(--dark); font-size: clamp(1.19rem, 2vw, 1.55rem); }
p + p, h3 + p { margin-top: .75rem; }
a { color: var(--link); text-underline-offset: .22em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }
main a { font-weight: 650; }
:focus-visible { outline: 3px solid #148395; outline-offset: 4px; }
main:focus { outline: none; }
.skip { position: fixed; z-index: 150; top: .5rem; left: .8rem; padding: .45rem .7rem; background: #fff; transform: translateY(-200%); }
.skip:focus { transform: none; }
.shell { width: min(74rem, calc(100% - 4rem)); margin-inline: auto; }
.chapter { padding-block: clamp(2.6rem, 6vw, 5.4rem); }
.section-head { max-width: 49rem; margin-bottom: clamp(1.3rem, 3vw, 2.3rem); }
.section-head p { margin-top: .75rem; }
picture, img { display: block; width: 100%; }
img { height: auto; }

.hero { position: relative; isolation: isolate; display: grid; min-height: clamp(27rem, 41vw, 38rem); background: var(--dark); color: white; }
.hero-art, .hero::after { position: absolute; inset: 0; }
.hero-art { z-index: -2; }
.hero-art img { height: 100%; object-fit: cover; object-position: center; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, #0b303aef, #0b303ad9 30%, #0b303a4d 58%, transparent 77%); }
.hero :focus-visible { outline-color: var(--accent); }
.hero-inner { display: grid; grid-template-rows: auto 1fr; gap: 1rem; align-items: center; padding-block: .95rem 1.72rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .55rem; color: #e5f8fa; font-size: .82rem; }
.crumbs a { color: inherit; }
.hero-copy { padding-block: .55rem 1.2rem; }
.hero-copy p { max-width: 40ch; margin-top: .85rem; color: #e7f7f8; font-size: clamp(1rem, 1.55vw, 1.18rem); }

.search-jump { display: inline-flex; align-items: baseline; gap: .46rem; width: fit-content; max-width: 100%; margin-top: .95rem; padding: .42rem .66rem; border: 1px solid currentColor; border-radius: .23rem; color: var(--link); font-size: .9rem; line-height: 1.35; text-decoration: none; }
.search-jump:hover { background: var(--cream); text-decoration: underline; }
.hero .search-jump { color: white; background: #0b343f; }
.hero .search-jump:hover { background: var(--link); }
.finder-band { scroll-margin-top: 5.25rem; padding-block: clamp(1.65rem, 4.6vw, 3.6rem); background: var(--dark); border-bottom: .35rem solid var(--teal); }
.finder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 1.1rem clamp(1.3rem, 4vw, 3.5rem); align-items: start; color: white; }
.finder-intro h2 { color: white; font-size: clamp(2rem, 3.6vw, 3rem); }
.finder-intro p { margin-top: .65rem; color: #e0f4f6; }
.finder-app { min-width: 0; padding: clamp(.65rem, 2.5vw, 1.2rem); background: white; color: var(--ink); border-radius: .3rem; }
.mode-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .24rem; border-bottom: 2px solid var(--teal); }
.mode-row button { padding: .6rem .28rem; min-height: 2.7rem; color: var(--link); background: #e5f1f2; border: 1px solid var(--line); border-bottom: 0; border-radius: .22rem .22rem 0 0; font: 700 .88rem/1.22 system-ui, sans-serif; cursor: pointer; }
.mode-row button[aria-pressed="true"] { color: white; background: var(--dark); border-color: var(--dark); }
.mode-row button:hover:not([aria-pressed="true"]) { background: #d6eaed; }
.finder-app form { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem; margin-top: .85rem; }
.finder-app form p { flex-basis: 100%; font-size: .93rem; }
.control { flex: 1 1 7rem; min-width: 0; display: grid; gap: .22rem; }
.control label { font-size: .87rem; font-weight: 750; color: var(--dark); }
.control :is(input, select) { width: 100%; min-height: 2.65rem; padding: .42rem .5rem; border: 1px solid #78a9b1; border-radius: .2rem; color: var(--ink); background: white; font: inherit; }
.submit, .more { min-height: 2.65rem; padding: .46rem .78rem; background: var(--dark); color: white; border: 1px solid var(--dark); border-radius: .2rem; font: 750 .88rem/1.28 system-ui, sans-serif; cursor: pointer; }
.submit:hover, .more:hover { background: var(--link); }
.submit:disabled { opacity: .55; cursor: wait; }
.notice { margin-top: .75rem; padding: .65rem .75rem; background: var(--cream); border-left: .19rem solid var(--teal); color: var(--ink); font-size: .94rem; }
.results { margin-top: 1.2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.results h3 { scroll-margin-top: 5rem; }
.results > p { margin-top: .28rem; font-size: .86rem; }
.program-list { display: grid; list-style: none; padding: 0; margin: .65rem 0 0; }
.program-card { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.program-card h4 { color: var(--dark); font-size: 1rem; overflow-wrap: anywhere; scroll-margin-top: 5rem; }
.program-card p { margin-top: .28rem; font-size: .9rem; }
.program-card .meta { font-size: .82rem; color: #42646b; }
.program-card .distance { color: var(--link); font-weight: 750; }
.program-facts { padding: 0; margin: .45rem 0; list-style: none; color: #2d5057; font-size: .85rem; }
.program-card a { display: inline-block; margin-top: .4rem; }
.more { margin-top: .9rem; }

.art { overflow: hidden; background: #e3f1f2; border: 1px solid var(--line); border-radius: .27rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(1.2rem, 4vw, 3.35rem); }
.feature-grid .art { align-self: start; }
.route-list { border-top: .18rem solid var(--teal); }
.route-list > div { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.route-list dt { color: var(--dark); font-size: 1.03rem; font-weight: 800; }
.route-list dd { margin-top: .26rem; }
.prose-note { max-width: 80ch; margin-top: 1.55rem; padding-left: .88rem; border-left: .21rem solid var(--teal); }
.components { background: var(--cream); border-block: 1px solid var(--line); }
.wide-art { max-width: 59rem; margin-inline: auto; }
.three-column { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.6rem; }
.three-column section { border-top: .2rem solid var(--teal); padding-top: .65rem; }
.accordion { border-top: .18rem solid var(--teal); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; display: flex; justify-content: space-between; gap: .55rem; padding: .68rem .72rem; cursor: pointer; font-weight: 800; color: var(--dark); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.12rem; }
.accordion details[open] summary::after { content: "−"; }
.accordion summary:hover, .accordion details[open] summary { background: var(--cream); }
.accordion details > div { padding: .65rem .73rem .8rem; }
.approvals { background: #e1f1f2; border-block: 1px solid var(--line); }
.approvals h2 { margin-bottom: 1.05rem; }
.cost-copy h3:not(:first-child) { margin-top: 1.05rem; }
.sources { padding-block: 1.35rem 2.3rem; border-top: .2rem solid var(--teal); }
.sources h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
.sources ul { display: flex; flex-wrap: wrap; gap: .45rem 1.1rem; list-style: none; padding: 0; margin: .75rem 0 0; }

@media (max-width: 840px) {
  .shell { width: calc(100% - 2.5rem); }
  .feature-grid, .finder { grid-template-columns: minmax(0, 1fr); }
  .art { max-width: 48rem; }
  .routes .art { grid-row: 2; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 2.25rem); }
  .hero { min-height: clamp(29.5rem, 133vw, 48rem); }
  .hero::after { background: linear-gradient(180deg, #0b303af5, #0b303ac4 33%, #0b303a52 53%, transparent 73%); }
  .hero-inner { align-items: start; gap: 1.05rem; padding-block: .72rem 1rem; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(2.5rem, 8.4vw, 3.6rem); }
  .three-column { grid-template-columns: minmax(0, 1fr); }
  .finder-app form > button { flex: 1 0 auto; }
}

.example-row { margin-top: 1.55rem; }
.example-row > :is(h3, p) { max-width: 78ch; }
.approvals .example-row { border-top: 1px solid var(--line); padding-top: 1rem; }

    .site-head,
    .guide-nav {
      --nav-ink: var(--site-blue);
      --nav-accent: var(--light-link);
      --mint: var(--light);
      --line: var(--light-line);
      --soft: var(--light);
      font: 1rem/1.75 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    }

    .site-head {
      background: var(--nav-ink);
      color: white;
    }

    .site-head .wrap,
    .guide-nav .wrap {
      box-sizing: border-box;
      width: min(1240px, calc(100% - 64px));
      max-width: none;
      margin-inline: auto;
      padding-inline: 0;
    }

    .site-head .head-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      min-height: 68px;
    }

    .site-head .brand {
      color: white;
      font-size: 1.3rem;
      font-weight: 800;
      letter-spacing: -.05em;
      text-decoration: none;
    }

    .site-head .brand span {
      color: var(--dark-link);
    }

    .site-head .toplinks {
      display: flex;
      gap: 24px;
    }

    .site-head .toplinks a {
      color: white;
      font-size: .85rem;
      text-decoration: none;
    }

    .guide-nav {
      color-scheme: light;
      position: sticky;
      top: 0;
      z-index: 100;
      border-bottom: 1px solid var(--line);
      background: white;
      box-shadow: 0 3px 12px #292d421a;
    }

    .guide-nav .wrap {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 23px;
      min-height: 56px;
      padding-block: 10px;
    }

    .guide-nav a {
      color: var(--nav-ink);
      font-size: .83rem;
      font-weight: 650;
      white-space: nowrap;
      text-decoration: none;
    }

    .guide-nav a[data-active-section] {
      color: var(--nav-accent);
      border-bottom: 3px solid var(--nav-accent);
      padding-bottom: 4px;
    }

    .guide-nav .mobile-guides {
      display: none;
    }

    .site-head a:hover,
    .guide-nav a:hover {
      text-decoration: underline;
    }

    .site-head :focus-visible {
      outline-color: var(--dark-link);
    }

    @media screen and (max-width: 900px) {
      .guide-nav .desktop-guides {
        display: none;
      }

      .guide-nav .mobile-guides {
        display: block;
        min-height: 0;
        padding-block: 0;
        border: 0;
      }

      .guide-nav .mobile-guides > summary {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        min-height: 60px;
        padding: 14px 30px 14px 0;
        color: var(--nav-ink);
        font-size: 1rem;
        list-style: none;
        cursor: pointer;
      }

      .guide-nav .mobile-guides > summary::marker {
        content: "";
      }

      .guide-nav .mobile-guides > summary::-webkit-details-marker {
        display: none;
      }

      .guide-nav .mobile-guides > summary::after {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        content: "+";
        line-height: 1;
      }

      .guide-nav .mobile-guides[open] > summary::after {
        content: "−";
      }

      .guide-nav .menu-label {
        color: var(--nav-accent);
        font-size: .8rem;
        font-weight: 600;
      }

      .guide-nav .mobile-guide-links {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        max-height: calc(100dvh - 80px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-bottom: 14px;
      }

      .guide-nav .mobile-guide-links a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 12px 16px;
        border: 0;
        border-top: 1px solid var(--line);
        white-space: normal;
        font-size: 1rem;
        line-height: 1.4;
      }

      .guide-nav .mobile-guide-links a[data-active-section] {
        padding-left: 12px;
        border-left: 4px solid var(--nav-accent);
        background: var(--mint);
        color: var(--nav-ink);
      }

      .guide-nav .mobile-guide-links a:hover {
        background: var(--soft);
      }
    }

    @media screen and (max-width: 640px) {
      .site-head .wrap,
      .guide-nav .wrap {
        width: calc(100% - 36px);
      }

      .site-head .head-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding-top: 14px;
        padding-bottom: 4px;
      }

      .site-head .brand {
        font-size: 1.3rem;
        line-height: 1.5;
      }

      .site-head .toplinks {
        width: 100%;
        flex-wrap: wrap;
        gap: 24px;
      }

      .site-head .toplinks a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        font-size: .85rem;
        line-height: 1.4;
      }
    }

    /* Healthcare directory footer */
    .cgp-footer {
      --footer-bg: var(--site-blue);
      --footer-text: white;
      --footer-muted: var(--footer-light);
      --footer-accent: var(--dark-link);
      --footer-line: #ffffff33;
      background: var(--footer-bg);
      color: var(--footer-text);
      font: 1rem/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    }
    .cgp-footer .footer-inner { width: min(1136px, calc(100% - 64px)); margin-inline: auto; }
    .cgp-footer a { color: inherit; text-decoration: underline; text-decoration-color: #ffffff65; text-underline-offset: .23em; }
    .cgp-footer a:hover { color: var(--footer-accent); text-decoration-color: currentColor; }
    .cgp-footer a:focus-visible { outline-color: var(--footer-accent); border-radius: 2px; }
    .cgp-footer h2 { margin: 0 0 9px; color: #fff; font: inherit; font-weight: 750; text-transform: none; }
    .cgp-footer ul { margin: 0; padding: 0; list-style: none; }
    .cgp-footer .footer-legal { border-top: 1px solid var(--footer-line); }
    .cgp-footer .footer-legal .footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 12px; font-size: .875rem; color: var(--footer-muted); }
    .cgp-footer .footer-legal a { display: inline-block; padding-block: 6px; }
    .cgp-footer .footer-primary { font-weight: 700; }
    .cgp-footer--directory { --footer-bg: var(--site-blue); --footer-accent: var(--dark-link); --footer-muted: var(--footer-light); }
    .cgp-footer--directory .directory-main { padding-block: 24px; }
    .cgp-footer--directory .directory-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px 28px; margin-bottom: 15px; }
    .cgp-footer--directory .directory-head h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin: 0; letter-spacing: -.03em; }
    .cgp-footer--directory ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--footer-line); }
    .cgp-footer--directory li { border-bottom: 1px solid var(--footer-line); }
    .cgp-footer--directory li a { display: block; padding: 9px 14px 9px 0; }

    @media (max-width: 640px) {
      .cgp-footer .footer-inner { width: calc(100% - 36px); }
      .cgp-footer--directory ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 360px) {
      .cgp-footer--directory ul { grid-template-columns: 1fr; }
    }
