/* Static SEO pages: facility, city, directory. Reuses app.css tokens. */
.page { background: var(--bg); }
.page .container { max-width: 900px; }

.crumb { font-size: 13px; color: var(--muted); padding: 22px 0 6px; }
.crumb a { color: var(--accent); }
.crumb span { color: var(--muted-2); }

.gp { display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; border-radius: 4px; }
.gp.sm { width: 24px; height: 24px; font-size: 13px; }
.gp.lg { width: 60px; height: 60px; font-size: 30px; border-radius: var(--radius); flex: 0 0 auto; }
/* "N/A" is 3 glyphs — shrink so it fits on one line in the fixed pill box */
.gp.na { white-space: nowrap; }
.gp.sm.na { font-size: 10px; }
.gp.lg.na { font-size: 20px; letter-spacing: -0.5px; }

/* facility */
.fac-head { display: flex; gap: 18px; align-items: flex-start; margin: 8px 0 18px; }
.fac-head h1 { font-size: 30px; margin: 0 0 6px; line-height: 1.15; }
.fac-sub { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.fac-badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.badge { background: var(--bg-3); border: 1px solid var(--border); border-radius: 3px;
  font-size: 11px; font-weight: 700; padding: 3px 10px; text-transform: uppercase; letter-spacing: .4px; }
.badge.ghost { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 600; }
.badge.warn { background: color-mix(in srgb, var(--g-f) 10%, transparent); border-color: color-mix(in srgb, var(--g-f) 45%, transparent); color: var(--g-f); }
.fac-headline { font-size: 19px; line-height: 1.5; color: var(--text); margin: 4px 0 26px;
  border-left: 3px solid var(--brand); padding-left: 16px; }

.fac-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0 32px; }
.fac-stats .st { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.fac-stats .st b { display: block; font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.fac-stats .st span { font-size: 12px; color: var(--muted); }
.fac-stats .st.bad b { color: var(--g-f, #f87171); }
.fac-stats .st.warn b { color: var(--g-c); }
.fac-stats .st.good b { color: var(--g-a, #34d399); }
@media (max-width: 640px) { .fac-stats { grid-template-columns: repeat(2, 1fr); } .fac-head h1 { font-size: 24px; } }

/* watchlist */
.mini.bad { background: color-mix(in srgb, var(--g-f) 12%, transparent); color: var(--g-f); }
.wl-badges { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.wl-badges .mini { margin-left: 0; }
.wl-loc { color: var(--muted); font-size: 13px; white-space: nowrap; }
.wl-table td { vertical-align: top; }
.watch-callout { display: flex; gap: 12px; align-items: center; text-decoration: none;
  background: color-mix(in srgb, var(--g-f) 7%, var(--bg-2)); border: 1px solid color-mix(in srgb, var(--g-f) 35%, transparent);
  border-radius: var(--radius); padding: 14px 16px; margin: 0 0 20px; color: var(--text); line-height: 1.45; }
.watch-callout:hover { background: color-mix(in srgb, var(--g-f) 11%, var(--bg-2)); border-color: color-mix(in srgb, var(--g-f) 55%, transparent); }
.watch-callout .wc-ic { display: none; }
.watch-callout b { color: var(--g-f); }

.res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.res-card { display: flex; gap: 12px; align-items: flex-start; text-decoration: none;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; color: var(--text); transition: border-color .15s, background .15s; }
.res-card:hover { border-color: var(--brand); background: var(--bg-3, #1a2432); }
.res-card .res-ic { display: none; }
.res-card .res-tx { display: flex; flex-direction: column; gap: 3px; }
.res-card b { font-size: 15px; }
.res-card small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }

.fac-why, .fac-cta, .fac-peers, .fac-cost, .city section { margin: 0 0 34px; }
.fac-why h2, .fac-cta h2, .fac-peers h2, .fac-cost h2, .city-head + section h2 { font-size: 20px; margin: 0 0 12px; }
.fac-cost { background: var(--bg-2); border: 1px solid var(--border); border-left: 3px solid var(--brand);
  border-radius: 12px; padding: 18px 22px; }
.fac-cost p { line-height: 1.6; margin: 0 0 8px; }
.fac-cost p:last-child { margin-bottom: 0; }
.reasons { list-style: none; padding: 0; margin: 0; }
.reasons li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px dashed var(--border);
  font-size: 15px; line-height: 1.4; }
.reasons li::before { content: "•"; position: absolute; left: 6px; color: var(--muted); }
.reasons li.bad::before { content: "⚠"; color: var(--g-f, #f87171); }
.reasons li.good::before { content: "✓"; color: var(--brand); font-weight: 800; }
.fac-source-action { margin: 16px 0 0; }
.src { font-size: 12px; color: var(--muted-2); line-height: 1.6; margin-top: 12px; }
.src a { color: var(--accent); }

.fac-cta { background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); border-radius: var(--radius); padding: 24px; }
.fac-cta p { color: var(--muted); margin: 0 0 16px; line-height: 1.5; }
.fac-cta .btn { margin-right: 10px; }

/* Pro upgrade box on SEO landing pages (city/state) — high-intent conversion point */
.pro-cta { background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); border-radius: var(--radius); padding: 22px 24px; margin: 34px 0; }
.pro-cta .pc-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 6px; }
.pro-cta h2 { font-size: 20px; margin: 0; }
.pro-cta .pc-price { font-size: 13px; font-weight: 700; color: var(--brand); }
.pro-cta .pc-price s { color: var(--muted-2); font-weight: 400; margin-right: 5px; }
.pro-cta ul { list-style: none; padding: 0; margin: 10px 0 16px; display: grid;
  grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.pro-cta li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--text); line-height: 1.45; }
.pro-cta li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.pro-cta .pc-fine { font-size: 11.5px; color: var(--muted-2); margin: 10px 0 0; }
@media (max-width: 640px) { .pro-cta ul { grid-template-columns: 1fr; } }

.peer-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
.peer-list li { display: flex; align-items: center; gap: 8px; padding: 5px 0;
  break-inside: avoid; font-size: 14px; }
.peer-list a { color: var(--text); }
.peer-city { color: var(--muted); font-size: 12px; margin-left: auto; white-space: nowrap; }
@media (max-width: 640px) { .peer-list { columns: 1; } }

.faq-item { border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: 13px 0; margin: 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.faq-item[open] summary { margin-bottom: 8px; }
.faq-item p { color: var(--muted); line-height: 1.6; font-size: 15px; margin: 0; }

/* city + directory */
.city-head h1, .dir-head h1 { font-size: 30px; margin: 8px 0 8px; }
.city-sub { color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 66ch; margin: 0 0 20px; }
.city-actions { margin: 0 0 24px; }
.fac-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fac-table th, .fac-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); }
.fac-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
.fac-table td.num, .fac-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.fac-table td.bad { color: var(--g-f, #f87171); font-weight: 700; }
.fac-table a { color: var(--text); }
.fac-table a:hover { color: var(--accent); }
.mini { font-size: 10px; padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: middle; }
.mini.warn { background: color-mix(in srgb, var(--g-f) 10%, transparent); color: var(--g-f); }

.dir-state { margin: 0 0 30px; }
.dir-state h2 { font-size: 20px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.dir-state h2 .ct, .dir-grid .ct { color: var(--muted-2); font-size: 13px; font-weight: 500; }
.dir-grid { list-style: none; padding: 0; margin: 12px 0 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 20px; }
.dir-grid li { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; }
.dir-grid a { color: var(--text); }
.dir-grid a:hover { color: var(--accent); }

.pf { border-top: 1px solid var(--border); margin-top: 40px; padding: 28px 0; }
.pf .disc { font-size: 12px; color: var(--muted-2); line-height: 1.6; max-width: 80ch; }
.pf .fl { margin-top: 14px; font-size: 13px; color: var(--muted); }
.pf .fl a { color: var(--accent); }

/* ad slots — collapse to nothing until AdSense is live (ads.js adds .ad-live) */
.ad-slot { display: none; }
.ad-slot.ad-live { display: block; margin: 28px auto; max-width: 760px; text-align: center; }
.ad-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--muted-2); margin-bottom: 4px; }
