:root {
  --ink: #142521;
  --muted: #62716d;
  --paper: #f8f6ef;
  --card: #fffdf8;
  --line: #d9ddd5;
  --green: #0d684f;
  --green-dark: #084939;
  --mint: #dceee6;
  --lime: #d6ef74;
  --peach: #f1c6a8;
  --shadow: 0 20px 55px rgba(26, 55, 46, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header { min-height: 80px; padding: 14px clamp(22px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; background: #f8f6efee; border-bottom: 1px solid rgba(20,37,33,.08); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.brand { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-size: 19px; letter-spacing: -.03em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .18em; }
.brand-mark { width: 35px; height: 35px; border-radius: 10px; background: var(--green); display: flex; align-items: end; justify-content: center; gap: 3px; padding: 8px; transform: rotate(-2deg); }
.brand-mark i { display: block; width: 4px; border-radius: 4px; background: var(--lime); }
.brand-mark i:nth-child(1) { height: 9px; }.brand-mark i:nth-child(2) { height: 18px; }.brand-mark i:nth-child(3) { height: 13px; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 650; }
.status-pill { background: var(--mint); color: var(--green-dark); border: 1px solid #b9d9ca; border-radius: 100px; padding: 8px 12px; font-size: 12px; font-weight: 700; display: inline-flex; gap: 7px; align-items: center; }
.status-pill span { width: 7px; height: 7px; border-radius: 50%; background: #25a06f; box-shadow: 0 0 0 3px #25a06f22; }

.hero { padding: clamp(64px, 9vw, 126px) clamp(22px, 9vw, 140px) 72px; min-height: 590px; position: relative; overflow: hidden; background: radial-gradient(circle at 87% 4%, #d6ef7466 0, transparent 25%), linear-gradient(145deg, #eff5eb, #f8f6ef 48%, #f6eee4); }
.hero::after { content: ""; position: absolute; right: -140px; bottom: -210px; width: 470px; height: 470px; border: 1px solid #0d684f25; border-radius: 45% 55% 60% 40%; transform: rotate(18deg); }
.hero-copy { max-width: 850px; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 16px; color: var(--green); text-transform: uppercase; letter-spacing: .17em; font-weight: 800; font-size: 11px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; max-width: 830px; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(48px, 7vw, 88px); line-height: .96; letter-spacing: -.055em; }
h1 em { color: var(--green); font-style: italic; }
.hero-lede { max-width: 680px; color: #495b55; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.search-panel { position: relative; z-index: 2; margin-top: 42px; max-width: 1120px; display: grid; grid-template-columns: 1.35fr .55fr .45fr auto; align-items: end; gap: 0; padding: 10px; border: 1px solid #cad2c8; border-radius: 18px; background: #fffdf8; box-shadow: var(--shadow); }
.field { padding: 5px 16px 9px; }
.procedure-field { border-right: 1px solid var(--line); }
.location-field { border-right: 1px solid var(--line); }
.field label { display: block; margin: 0 0 4px 30px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.input-shell { display: flex; align-items: center; gap: 10px; }
.input-shell svg { width: 20px; height: 20px; flex: none; stroke: var(--green); stroke-width: 1.8; fill: none; }
.input-shell input { width: 100%; padding: 7px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-weight: 650; }
.input-shell input::placeholder { color: #89948f; font-weight: 500; }
.radius-field select { width: 100%; padding: 7px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-weight: 650; }
.search-panel > button { height: 58px; border: 0; border-radius: 12px; padding: 0 24px; color: white; background: var(--green); font-weight: 750; cursor: pointer; transition: transform .2s, background .2s; }
.search-panel > button:hover { background: var(--green-dark); transform: translateY(-1px); }
.search-panel > button span { margin-left: 14px; }
.search-note { display: none; }
.quick-links { position: relative; z-index: 2; margin-top: 19px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.quick-links span { margin-right: 3px; font-weight: 700; }
.quick-links button { color: var(--green-dark); background: #ffffff99; border: 1px solid #bfcac2; border-radius: 100px; padding: 7px 11px; cursor: pointer; }
.quick-links button:hover { background: white; border-color: var(--green); }
.saved-searches { position: relative; z-index: 2; margin-top: 14px; max-width: 1040px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 12px; }.saved-searches.hidden { display: none; }.saved-searches button { border: 1px solid #bfcac2; border-radius: 100px; padding: 7px 11px; color: var(--green-dark); background: var(--card); cursor: pointer; }

.results-section { padding: 88px clamp(22px, 8vw, 126px) 104px; }
.results-heading { display: flex; justify-content: space-between; gap: 28px; align-items: end; }
.results-heading h2, .how-section h2, .methodology h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -.035em; margin-bottom: 12px; }
.results-heading p:last-child { color: var(--muted); }
.sort-control { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; }
.sort-control select { min-width: 210px; padding: 11px 36px 11px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.results-controls { display: flex; align-items: end; gap: 8px; flex-wrap: wrap; }
.utility-button { padding: 11px 13px; border: 1px solid #aac1b5; border-radius: 10px; color: var(--green-dark); background: var(--card); font-weight: 750; cursor: pointer; }
.utility-button { text-decoration: none; }.utility-button.hidden { display: none; }
.utility-button:hover { background: var(--mint); }
.coverage-banner { margin: 26px 0 22px; padding: 16px 18px; background: #edf5e9; border: 1px solid #cdddc7; border-radius: 12px; display: flex; gap: 24px; justify-content: space-between; align-items: center; }
.coverage-banner div { display: flex; gap: 10px; align-items: baseline; white-space: nowrap; }
.coverage-banner strong { font-size: 13px; }.coverage-banner span, .coverage-banner p { color: var(--muted); font-size: 12px; }.coverage-banner p { margin: 0; text-align: right; }
.result-list { display: grid; gap: 12px; }
.result-card { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(160px, .55fr) auto; align-items: center; gap: 24px; padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; transition: border .2s, transform .2s, box-shadow .2s; }
.result-card:hover { border-color: #9bb5a8; transform: translateY(-2px); box-shadow: 0 12px 34px rgba(26,55,46,.08); }
.facility h3 { margin-bottom: 7px; font-size: 18px; letter-spacing: -.02em; }
.facility p, .price-block p { margin: 0; color: var(--muted); font-size: 13px; }
.facility .tag { display: inline-block; margin-top: 11px; padding: 5px 8px; background: #f0eee6; border-radius: 5px; color: #5d6763; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.facility .status-comparable { background: var(--mint); color: var(--green-dark); }.facility .status-needs_review { background: #fff0d5; color: #805719; }
.price-block { text-align: right; }
.price { display: block; color: var(--green-dark); font-family: Georgia, serif; font-size: 34px; line-height: 1; letter-spacing: -.04em; }
.price-range { display: block; margin-top: 5px; color: #9a633f; font-size: 11px; font-weight: 700; }
.detail-button { padding: 10px 13px; border: 1px solid #aac1b5; color: var(--green-dark); background: transparent; border-radius: 9px; font-weight: 750; cursor: pointer; }
.detail-button:hover { background: var(--mint); }
.empty-state { margin-top: 28px; min-height: 270px; border: 1px dashed #b9c2ba; border-radius: 16px; display: grid; place-content: center; text-align: center; padding: 30px; }
.empty-state.hidden { display: none; }
.empty-icon { width: 54px; height: 54px; margin: 0 auto 17px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--green); font-size: 28px; }
.empty-state h3 { margin-bottom: 8px; }.empty-state p { margin: 0; color: var(--muted); max-width: 480px; }

.how-section { padding: 102px clamp(22px, 8vw, 126px); background: var(--green-dark); color: white; }
.how-section .eyebrow { color: var(--lime); }.section-intro { max-width: 700px; }
.steps { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps article { padding: 28px; border: 1px solid #ffffff2c; border-radius: 14px; background: #ffffff0a; }
.steps span { color: var(--lime); font-family: Georgia, serif; font-size: 13px; }
.steps h3 { margin: 40px 0 12px; font-size: 19px; }.steps p { margin: 0; color: #d4dfdb; line-height: 1.6; font-size: 14px; }
.methodology { padding: 100px clamp(22px, 8vw, 126px); display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; }
.method-copy { padding-top: 25px; color: var(--muted); line-height: 1.7; }
.method-copy a { display: inline-block; margin-top: 14px; color: var(--green); font-weight: 800; text-decoration: none; border-bottom: 1px solid #88aa9b; }
.method-copy a span { margin-left: 8px; }
footer { padding: 34px clamp(22px, 5vw, 76px); display: flex; align-items: center; gap: 28px; border-top: 1px solid var(--line); background: #efeee7; }
footer p { margin: 0; color: var(--muted); font-size: 11px; }.footer-brand { margin-right: auto; }
footer a { color: var(--green-dark); }

.content-page { min-height: 70vh; padding: clamp(64px,8vw,110px) clamp(22px,8vw,126px); }
.content-page > h1 { max-width: 980px; }
.page-lede { max-width: 780px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.primary-link { display: inline-block; padding: 12px 16px; border-radius: 9px; background: var(--green); color: white; text-decoration: none; font-weight: 750; }
.data-table { margin-top: 36px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.data-table table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 15px 17px; border-bottom: 1px solid var(--line); text-align: left; }
.data-table th { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.data-table td { font-size: 14px; }.data-table td a { color: var(--green-dark); font-weight: 750; }.data-table td small { display: block; margin-top: 4px; color: var(--muted); }
.page-note, .prose { max-width: 820px; margin-top: 50px; line-height: 1.7; color: var(--muted); }.page-note h2, .prose h2 { color: var(--ink); font-family: Georgia,serif; font-weight: 500; }.prose h2 { margin-top: 38px; }
.outpatient-section { margin-top: 80px; padding-top: 60px; border-top: 1px solid var(--line); }.outpatient-section.hidden { display: none; }.provider-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 24px; }.provider-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }.provider-grid h3 { margin-bottom: 8px; font-size: 16px; }.provider-grid p,.provider-grid span { color: var(--muted); font-size: 12px; }.provider-grid span { color: var(--green-dark); font-weight: 700; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 35px; }.panel-form { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }.panel-form.compact { max-width: 650px; }.panel-form label { display: block; margin: 14px 0; color: var(--muted); font-weight: 700; }.panel-form input,.panel-form textarea,.panel-form select { display: block; width: 100%; margin-top: 6px; padding: 11px; border: 1px solid var(--line); border-radius: 8px; background: white; }.panel-form button { padding: 12px 16px; border: 0; border-radius: 9px; background: var(--green); color: white; font-weight: 750; }.notice { max-width: 780px; padding: 14px 16px; border-radius: 10px; }.notice.success { background: var(--mint); }.notice.error { background: #ffe1d9; color: #7d2b1d; }
.guide-content { display: grid; gap: 18px; margin-top: 24px; }.guide-content section { border-top: 1px solid var(--line); padding-top: 15px; }.guide-content h3 { margin-bottom: 9px; }.guide-content section div { display: flex; flex-wrap: wrap; gap: 7px; }.guide-content button { padding: 8px 10px; border: 1px solid #aac1b5; border-radius: 8px; background: white; color: var(--green-dark); cursor: pointer; }
.confirmation-card { max-width: 800px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }.confirmation-card dl { display: grid; grid-template-columns: 170px 1fr; gap: 8px 18px; }.confirmation-card dt { color: var(--muted); font-weight: 700; }.confirmation-card dd { margin: 0; }.checklist { max-width: 800px; margin-top: 40px; }.checklist > label { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }.notes-space { min-height: 140px; margin: 10px 0 22px; border: 1px solid var(--line); background: repeating-linear-gradient(white,white 31px,#d9ddd5 32px); }
.metric-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; margin: 28px 0; }.metric-grid article { padding: 18px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); }.metric-grid strong,.metric-grid span { display: block; }.metric-grid strong { color: var(--green-dark); font-size: 25px; }.metric-grid span { color: var(--muted); font-size: 11px; }.inline-review { display: grid; gap: 5px; min-width: 200px; }.inline-review select,.inline-review input,.inline-review button { padding: 7px; border: 1px solid var(--line); border-radius: 6px; }.inline-review button { color: white; background: var(--green); }

dialog { width: min(650px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 35px 100px #071d1755; background: var(--card); color: var(--ink); }
dialog::backdrop { background: #071d1777; backdrop-filter: blur(4px); }
.dialog-close { position: absolute; right: 16px; top: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eceee8; font-size: 24px; cursor: pointer; }
.dialog-body { padding: 34px; }.dialog-body h2 { margin: 6px 45px 8px 0; font-family: Georgia, serif; font-size: 34px; font-weight: 500; }.dialog-body .dialog-price { margin: 26px 0; padding: 24px; border-radius: 12px; background: var(--mint); }.dialog-price strong { display: block; font-family: Georgia, serif; color: var(--green-dark); font-size: 46px; font-weight: 500; }.dialog-price span { color: var(--muted); font-size: 12px; }.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.detail-grid div { padding: 13px; border: 1px solid var(--line); border-radius: 9px; }.detail-grid small { display: block; margin-bottom: 5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }.dialog-caveat { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.6; }

@media (max-width: 820px) {
  nav a { display: none; }
  .hero { padding-top: 70px; }
  .search-panel { grid-template-columns: 1fr; gap: 6px; }
  .procedure-field, .location-field { border-right: 0; border-bottom: 1px solid var(--line); }
  .search-panel > button { width: 100%; }
  .results-heading { align-items: start; flex-direction: column; }.results-controls, .sort-control, .sort-control select { width: 100%; }
  .coverage-banner { align-items: start; flex-direction: column; }.coverage-banner p { text-align: left; }
  .result-card { grid-template-columns: 1fr auto; }.detail-button { grid-column: 1 / -1; }.price-block { text-align: right; }
  .steps, .methodology { grid-template-columns: 1fr; }.methodology { gap: 15px; }
  .provider-grid, .account-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  footer { align-items: start; flex-direction: column; gap: 14px; }.footer-brand { margin: 0; }
}

@media (max-width: 520px) {
  .site-header { min-height: 68px; }.status-pill { font-size: 0; padding: 10px; }.status-pill span { width: 8px; height: 8px; }
  h1 { font-size: 50px; }.hero-lede { font-size: 17px; }
  .results-section, .how-section, .methodology { padding-top: 70px; padding-bottom: 70px; }
  .result-card { grid-template-columns: 1fr; gap: 16px; }.price-block { text-align: left; }.detail-button { grid-column: auto; }
  .coverage-banner div { align-items: start; flex-direction: column; gap: 4px; white-space: normal; }
  .detail-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

@media print { .site-header, .hero, .how-section, .methodology, footer, .results-controls, .detail-button { display: none !important; } .results-section { padding: 20px; } .result-card { break-inside: avoid; box-shadow: none; } }
