:root {
  color-scheme: light;
  --ink: #12323d;
  --muted: #587079;
  --navy: #0a4961;
  --navy-deep: #073545;
  --aqua: #6fd2c7;
  --aqua-light: #dff6f2;
  --blue-light: #e9f4f7;
  --line: #cfdee2;
  --paper: #ffffff;
  --mist: #f3f8f9;
  --sand: #f3c97b;
  --shadow: 0 18px 46px rgba(16, 61, 76, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.55; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--navy); }

.site-header { min-height: 76px; padding: 14px clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; line-height: 1.1; }
.brand strong, .brand small { display: block; }
.brand small { margin-top: 4px; color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50% 50% 50% 18%; background: var(--navy); color: white; font-weight: 800; letter-spacing: -.04em; }
.method-link { border: 0; color: var(--navy); background: transparent; font-weight: 700; cursor: pointer; padding: 10px; text-decoration: none; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.download-link { padding: 9px 13px; border-radius: 999px; background: var(--navy); color: white; text-decoration: none; font-size: .82rem; font-weight: 800; }

main { overflow: hidden; }
.search-shell { padding: clamp(44px, 7vw, 92px) clamp(20px, 5vw, 76px) 38px; background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 62%, #0d6876 100%); color: white; display: grid; grid-template-columns: minmax(280px, .8fr) minmax(520px, 1.2fr); gap: clamp(32px, 6vw, 84px); align-items: end; position: relative; }
.search-shell::after { content: ""; position: absolute; width: 320px; height: 320px; border: 54px solid rgba(111,210,199,.13); border-radius: 50%; right: -130px; top: -175px; }
.search-intro { max-width: 590px; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .74rem; color: #3d7d88; }
.search-shell .eyebrow { color: var(--aqua); }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 5vw, 5.2rem); font-weight: 500; line-height: .99; letter-spacing: -.04em; margin: 0 0 22px; }
.search-intro > p:last-child { margin: 0; max-width: 52ch; font-size: 1.05rem; color: #d9ebee; }
.search-panel { position: relative; z-index: 1; background: white; color: var(--ink); border-radius: 28px 28px 8px 28px; padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow); }
.search-box span, .filter-row label { display: block; font-size: .82rem; font-weight: 800; color: var(--navy); margin-bottom: 7px; }
.search-box input { width: 100%; border: 0; border-bottom: 2px solid var(--navy); padding: 12px 0 15px; font-size: 1.18rem; color: var(--ink); outline: none; }
.search-box input:focus { border-color: #0e8d8b; }
.filter-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.filter-row select { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px; color: var(--ink); background: var(--mist); }
.care-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.care-pill { border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; background: white; color: var(--ink); font-size: .88rem; cursor: pointer; }
.care-pill:hover, .care-pill:focus-visible { border-color: var(--navy); }
.care-pill.active { background: var(--navy); border-color: var(--navy); color: white; }
.view-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.view-switch > span { margin-right: 4px; color: var(--muted); font-size: .8rem; font-weight: 800; }
.view-option { border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; background: var(--mist); color: var(--navy); font-size: .8rem; font-weight: 800; cursor: pointer; }
.view-option.active { border-color: var(--navy); background: var(--navy); color: white; }

.coverage { padding: 28px clamp(20px, 5vw, 76px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 28px; background: var(--aqua-light); border-bottom: 1px solid #b9e5df; }
.coverage div { display: flex; gap: 10px; align-items: baseline; }
.coverage strong { color: var(--navy); font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1; }
.coverage span { color: #355f68; font-size: .82rem; line-height: 1.25; }

.results-section, .trust-section, .consumer-protection, .source-note { padding: clamp(52px, 7vw, 92px) clamp(20px, 5vw, 76px); }
.results-heading { display: flex; justify-content: space-between; gap: 34px; align-items: end; margin-bottom: 30px; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3vw, 3.3rem); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; margin: 0; }
.results-heading > p { max-width: 52ch; margin: 0; color: var(--muted); }
.results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.facility-card { border: 1px solid var(--line); border-radius: 18px 18px 5px 18px; padding: 22px; background: white; min-height: 250px; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.facility-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(16,61,76,.10); border-color: #9bbbc3; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.facility-card h3 { margin: 14px 0 4px; font-size: 1.15rem; line-height: 1.25; }
.facility-card .city { color: var(--muted); margin: 0 0 18px; }
.badge { display: inline-block; width: fit-content; padding: 5px 8px; border-radius: 999px; color: var(--navy); background: var(--blue-light); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.badge.life { background: #fff2cf; color: #73500c; }
.rating { text-align: right; white-space: nowrap; color: var(--navy); font-weight: 900; }
.rating small { display: block; color: var(--muted); font-size: .7rem; font-weight: 600; }
.card-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: auto 0 18px; }
.card-facts span { font-size: .82rem; color: var(--muted); }
.card-facts strong { display: block; color: var(--ink); font-size: .98rem; }
.details-button { width: 100%; border: 0; border-top: 1px solid var(--line); background: transparent; padding: 14px 0 0; text-align: left; color: var(--navy); font-weight: 800; cursor: pointer; }
.details-button::after { content: "→"; float: right; }
.load-more { display: block; margin: 28px auto 0; border: 1px solid var(--navy); border-radius: 999px; background: white; color: var(--navy); padding: 12px 24px; font-weight: 800; cursor: pointer; }
.empty-state { text-align: center; padding: 60px 20px; background: var(--mist); border-radius: 18px; }
.empty-state h3 { margin: 0 0 8px; }

.trust-section { background: var(--navy-deep); color: white; display: grid; grid-template-columns: minmax(250px,.75fr) minmax(500px,1.25fr); gap: clamp(34px, 7vw, 90px); }
.trust-section .eyebrow { color: var(--aqua); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trust-grid article { border-top: 1px solid #47717c; padding-top: 18px; }
.trust-grid span { color: var(--aqua); font-weight: 900; }
.trust-grid h3 { margin: 18px 0 8px; }
.trust-grid p { margin: 0; color: #c8dee2; font-size: .9rem; }
.consumer-protection { background: var(--mist); scroll-margin-top: 82px; }
.protection-heading { display: grid; grid-template-columns: minmax(280px,.9fr) minmax(360px,1.1fr); gap: clamp(30px,6vw,80px); align-items: end; margin-bottom: 30px; }
.protection-heading > p { margin: 0; color: var(--muted); max-width: 62ch; }
.protection-alert { display: flex; gap: 18px; align-items: baseline; padding: 17px 20px; margin-bottom: 18px; color: #532e08; background: #fff2cf; border-left: 5px solid #d28a24; border-radius: 6px 14px 14px 6px; }
.protection-alert a { color: #6a3905; font-weight: 900; }
.protection-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.protection-grid article { display: flex; flex-direction: column; min-height: 340px; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 18px 18px 5px 18px; }
.protection-number { color: #0e7b79; font-weight: 900; letter-spacing: .08em; }
.protection-grid h3 { margin: 16px 0 8px; font-size: 1.13rem; }
.protection-grid ul { margin: 0 0 18px; padding-left: 19px; color: var(--muted); }
.protection-grid li { margin-bottom: 8px; }
.protection-grid article > a, .inline-links a { margin-top: auto; color: var(--navy); font-weight: 850; }
.protection-note { margin: auto 0 0; color: #3d6972; font-size: .87rem; font-weight: 700; }
.inline-links { display: flex; flex-direction: column; gap: 7px; margin-top: auto; }
.help-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; margin-top: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.help-strip div { padding: 16px 18px; background: var(--navy-deep); }
.help-strip span, .help-strip a { display: block; }
.help-strip span { color: #bdd7dc; font-size: .75rem; font-weight: 700; }
.help-strip a { margin-top: 3px; color: white; font-weight: 900; text-decoration: none; }
.source-note { max-width: 1100px; }
.source-note h2 { margin-bottom: 22px; }
.source-note p { color: var(--muted); max-width: 90ch; }
.source-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.source-links a { font-weight: 800; }

dialog { border: 0; padding: 0; color: var(--ink); box-shadow: 0 24px 80px rgba(3,34,44,.35); }
dialog::backdrop { background: rgba(4,31,40,.65); backdrop-filter: blur(4px); }
.detail-dialog { width: min(860px, calc(100vw - 30px)); max-height: 90vh; border-radius: 24px 24px 8px 24px; }
.method-dialog { width: min(650px, calc(100vw - 30px)); border-radius: 24px 24px 8px 24px; padding: clamp(28px, 5vw, 52px); }
.dialog-close { position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--mist); color: var(--navy); font-size: 1.6rem; cursor: pointer; }
#dialogBody { padding: clamp(28px, 5vw, 54px); }
.dialog-kicker { color: var(--navy); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; }
.dialog-title { margin: 8px 52px 8px 0; font-family: Georgia, serif; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.05; }
.dialog-address { color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 26px 0; }
.detail-grid div { padding: 14px; background: var(--mist); border-radius: 12px; }
.detail-grid span { display: block; color: var(--muted); font-size: .76rem; }
.detail-grid strong { display: block; margin-top: 3px; }
.rating-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 20px 0 28px; }
.rating-row div { border-top: 3px solid var(--aqua); padding-top: 9px; }
.rating-row strong { font-size: 1.5rem; color: var(--navy); }
.rating-row span { display: block; color: var(--muted); font-size: .76rem; }
.comparison-table { margin: 14px 0 30px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.comparison-row { display: grid; grid-template-columns: minmax(150px,.42fr) minmax(0,1fr); gap: 18px; padding: 12px 14px; align-items: start; border-bottom: 1px solid var(--line); }
.comparison-row:last-child { border-bottom: 0; }
.comparison-row > span { color: var(--muted); font-size: .82rem; font-weight: 700; }
.data-field strong { display: block; font-size: .9rem; overflow-wrap: anywhere; }
.data-field small { display: block; margin-top: 3px; color: #3d7d88; font-size: .72rem; font-weight: 700; }
.data-field.pending strong { color: #7a6a49; font-weight: 600; font-style: italic; }
#dialogBody > h3 { margin: 30px 0 0; color: var(--navy); }
.unverified { padding: 16px; border-left: 4px solid var(--sand); background: #fff8e7; color: #644b1d; margin: 24px 0; }
.official-link { display: inline-block; padding: 12px 18px; border-radius: 999px; background: var(--navy); color: white; text-decoration: none; font-weight: 800; margin-right: 8px; margin-top: 8px; }
.profile-protection { margin: 26px 0 18px; padding: 20px; border: 1px solid #b8ddd8; border-left: 5px solid #0e7b79; border-radius: 6px 14px 14px 6px; background: var(--aqua-light); }
.profile-protection ul { margin: 10px 0 16px; padding-left: 20px; }
.profile-protection li { margin-bottom: 7px; }
.profile-protection-links { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.profile-protection-links a, .profile-protection-links button { color: var(--navy); font-weight: 850; font-size: .86rem; }
.profile-protection-links button { border: 0; padding: 0; background: transparent; text-decoration: underline; cursor: pointer; }
.campus-summary { margin: 20px 0; padding: 18px; border-radius: 14px; background: var(--blue-light); }
.campus-summary p { margin: 0; color: #315f69; }
.care-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 26px; }
.care-chip { padding: 7px 10px; border-radius: 999px; background: var(--aqua-light); color: var(--navy); font-size: .8rem; font-weight: 850; }
.campus-components { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 14px 0 26px; }
.campus-component { padding: 18px; border: 1px solid var(--line); border-radius: 14px 14px 5px 14px; background: white; }
.campus-component h4 { margin: 10px 0 5px; font-size: 1rem; line-height: 1.25; }
.campus-component p { margin: 4px 0; color: var(--muted); font-size: .84rem; }
.component-rating { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); color: var(--navy); font-size: .82rem; font-weight: 800; }
.component-link { display: inline-block; margin-top: 10px; font-weight: 850; font-size: .82rem; }
.campus-caution { padding: 16px; border-left: 4px solid var(--aqua); background: var(--mist); color: #315f69; }
.method-dialog h2 { margin-bottom: 18px; }
.method-dialog li { margin-bottom: 11px; }
footer { padding: 24px clamp(20px,5vw,76px); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); background: var(--mist); border-top: 1px solid var(--line); font-size: .84rem; }

@media (max-width: 980px) {
  .search-shell, .trust-section { grid-template-columns: 1fr; }
  .search-shell { align-items: start; }
  .coverage { grid-template-columns: repeat(3,1fr); }
  .results-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid { grid-template-columns: repeat(3,1fr); }
  .protection-grid { grid-template-columns: repeat(2,1fr); }
  .help-strip { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 680px) {
  .site-header { min-height: 68px; }
  .method-link { font-size: .82rem; }
  .download-link { display: none; }
  .consumer-nav { padding-right: 0; }
  .brand small { display: none; }
  .search-shell { padding-top: 40px; }
  h1 { font-size: 2.75rem; }
  .search-panel { border-radius: 20px 20px 6px 20px; }
  .filter-row { grid-template-columns: 1fr; }
  .coverage { grid-template-columns: repeat(2,1fr); gap: 24px 16px; }
  .results-heading { display: block; }
  .results-heading > p { margin-top: 14px; }
  .results-grid, .trust-grid, .protection-grid, .protection-heading, .help-strip, .campus-components { grid-template-columns: 1fr; }
  .protection-alert { display: block; }
  .protection-alert span { display: block; margin-top: 4px; }
  .protection-grid article { min-height: 0; }
  .facility-card { min-height: 230px; }
  .detail-grid { grid-template-columns: repeat(2,1fr); }
  .rating-row { grid-template-columns: repeat(2,1fr); }
  .comparison-row { grid-template-columns: 1fr; gap: 3px; }
  footer { display: block; }
  footer span { display: block; margin: 5px 0; }
}
