﻿*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #070d1a;
    --bg-surface: #0d1625;
    --bg-card: #111d30;
    --border: rgba(255, 255, 255, 0.07);
    --border-strong: rgba(255, 255, 255, 0.13);
    --text: #e8f0f8;
    --text-muted: #9ab2cc;
    --text-dim: #7f97b2;
    --amber: #e8a020;
    --amber-light: #f5c050;
    --amber-glow: rgba(232, 160, 32, 0.1);
    --red: #e05050;
    --red-bg: rgba(224, 80, 80, 0.1);
    --red-border: rgba(224, 80, 80, 0.22);
    --green: #38b88a;
    --green-bg: rgba(56, 184, 138, 0.1);
    --mono: "IBM Plex Mono", monospace;
    --sans: "DM Sans", sans-serif;
    --display: "Syne", sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 13, 26, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: 56px;
}

nav .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--amber);
    letter-spacing: 0.08em;
}

.nav-logo span {
    color: var(--text-muted);
}

.nav-back {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}

.nav-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-proof {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

.nav-back:hover {
    color: var(--text);
}

.footer {
    border-top: 1px solid var(--border);
    padding: 24px 0;
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer p,
.footer a {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.04em;
}

.footer a:hover {
    color: var(--text-muted);
}

.section-label {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--amber);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--display);
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 560px;
    line-height: 1.65;
}

/* Home page */
.page-home .hero {
    min-height: calc(100vh - 56px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 80px;
    text-align: center;
}

.hero-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--amber);
    text-transform: uppercase;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: "";
    display: block;
    width: 32px;
    height: 1px;
    background: var(--amber);
    opacity: 0.5;
}

.hero-headline {
    font-family: var(--display);
    font-size: clamp(36px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    max-width: 780px;
    margin-bottom: 20px;
}

.hero-headline em {
    font-style: normal;
    color: var(--amber);
}

.hero-sub {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.65;
    margin-bottom: 44px;
}

.search-wrap {
    width: 100%;
    max-width: 520px;
    margin-bottom: 16px;
    position: relative;
}

.search-box {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.search-box:focus-within {
    border-color: var(--amber);
}

.search-box input {
    flex: 1;
    min-width: 0;
    width: 0;
    background: transparent;
    border: none;
    outline: none;
    padding: 18px 20px;
    font-family: var(--mono);
    font-size: 22px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.08em;
}

.search-box input::placeholder {
    color: var(--text-dim);
    font-size: 20px;
}

.search-box button {
    background: var(--amber);
    border: none;
    padding: 0 28px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    color: #07100a;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
    flex-shrink: 0;
}

.search-box button:hover {
    background: var(--amber-light);
}

.search-note {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
    display: inline-block;
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 94px;
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
    max-height: 280px;
    overflow-y: auto;
    z-index: 20;
    text-align: left;
    display: none;
}

.search-results.visible {
    display: block;
}

.search-results button {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    padding: 10px 12px;
    cursor: pointer;
    font: inherit;
    color: var(--text);
}

.search-results button:hover,
.search-results button.active {
    background: rgba(255, 255, 255, 0.05);
}

.search-item-city {
    font-weight: 600;
    display: inline-block;
    margin-right: 8px;
}

.search-item-zip {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-surface);
    padding: 12px 0;
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: scroll 28s linear infinite;
}

.ticker-item {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    padding: 0 36px;
    color: var(--text-muted);
}

.ticker-item .flag {
    color: var(--red);
    font-size: 10px;
    font-weight: 500;
    background: var(--red-bg);
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.06em;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.page-home section {
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.preview-section,
.how-section,
.trust-section,
.cta-section,
.seo-section {
    border-top: 1px solid var(--border);
}

.preview-grid,
.steps-grid,
.trust-grid {
    display: grid;
    gap: 24px;
}

.preview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.steps-grid,
.trust-grid {
    grid-template-columns: repeat(3, 1fr);
}

.step,
.trust-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.step-num {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--amber);
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.step h3,
.trust-card h4 {
    font-family: var(--display);
    margin-bottom: 8px;
}

.step p,
.trust-card p {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 300;
}

.featured-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.featured-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
}

.featured-item a {
    color: var(--text-muted);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.04em;
}

.featured-item a:hover {
    color: var(--text);
}

.state-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.state-link-chip {
    display: block;
    text-align: center;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.state-link-chip:hover {
    color: var(--text);
    border-color: var(--border-strong);
}

.seo-section .section-sub {
    max-width: 800px;
}

/* ZIP page */
.page-zip .page {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 24px 80px;
}

.loc-zip {
    font-family: var(--mono);
    font-size: 40px;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1;
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--text-dim);
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--text);
}

.loc-city {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    margin-top: 6px;
    text-transform: uppercase;
}

.loc-system {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.06em;
    margin-top: 4px;
}

.loc-headline {
    margin-top: 10px;
    font-family: var(--display);
    font-size: clamp(20px, 4.2vw, 32px);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.zip-coverage {
    margin: 8px 0 6px;
    padding: 8px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.zip-locality {
    margin-top: 8px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.zip-coverage-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    padding: 4px 0;
}

.zip-coverage-group + .zip-coverage-group {
    border-top: 1px dashed var(--border);
}

.zip-coverage-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    flex-shrink: 0;
}

.zip-coverage-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    font-size: 13px;
}

.zip-coverage-list li {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
}

.zip-coverage-list a {
    color: var(--text);
    text-decoration: none;
}

.zip-coverage-list a:hover {
    text-decoration: underline;
}

.status-banner {
    border-radius: 12px;
    padding: 16px 20px;
    margin: 14px 0 10px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.status-banner.status-banner--clickable {
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.status-banner.status-banner--clickable:hover {
    border-color: rgba(232, 160, 32, 0.6);
    box-shadow: 0 0 0 1px rgba(232, 160, 32, 0.22) inset;
}

.source-badge {
    margin-top: -10px;
    margin-bottom: 16px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.05em;
    color: var(--text-dim);
}

.status-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(224, 80, 80, 0.2);
    animation: pulse 2.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(224, 80, 80, 0.2);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(224, 80, 80, 0.08);
    }
}

.status-text {
    flex: 1;
    min-width: 220px;
}

.status-main {
    font-family: var(--display);
    font-size: 20px;
    line-height: 1.2;
}

.status-sub {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 300;
}

.status-badge-lg {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 6px;
    padding: 6px 12px;
    flex-shrink: 0;
}

.status-banner.above-guideline {
    background: var(--red-bg);
    border-color: var(--red-border);
    border: 1px solid var(--red-border);
}

.status-banner.above-guideline .status-main,
.status-banner.above-guideline .status-badge-lg {
    color: var(--red);
}

.status-banner.above-guideline .status-badge-lg {
    background: var(--red-bg);
    border: 1px solid var(--red-border);
}

.status-banner.some-concern {
    background: rgba(232, 160, 32, 0.08);
    border-color: rgba(232, 160, 32, 0.25);
    border: 1px solid rgba(232, 160, 32, 0.25);
}

.status-banner.some-concern .status-main,
.status-banner.some-concern .status-badge-lg {
    color: var(--amber-light);
}

.status-banner.some-concern .status-indicator {
    background: var(--amber);
    box-shadow: 0 0 0 4px rgba(232, 160, 32, 0.2);
}

.status-banner.some-concern .status-badge-lg {
    background: rgba(232, 160, 32, 0.1);
    border: 1px solid rgba(232, 160, 32, 0.3);
}

.status-banner.below-guideline {
    background: var(--green-bg);
    border-color: rgba(56, 184, 138, 0.25);
    border: 1px solid rgba(56, 184, 138, 0.25);
}

.status-banner.below-guideline .status-main,
.status-banner.below-guideline .status-badge-lg {
    color: var(--green);
}

.status-banner.below-guideline .status-indicator {
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(56, 184, 138, 0.2);
}

.status-banner.below-guideline .status-badge-lg {
    background: rgba(56, 184, 138, 0.1);
    border: 1px solid rgba(56, 184, 138, 0.3);
}

.status-banner.no-data {
    background: var(--bg-surface);
    border-color: var(--border);
    border: 1px solid var(--border);
}

.status-banner.no-data .status-main,
.status-banner.no-data .status-badge-lg {
    color: var(--text-muted);
}

.status-banner.no-data .status-indicator {
    background: var(--text-dim);
    box-shadow: 0 0 0 4px rgba(127, 151, 178, 0.2);
}

.status-banner.no-data .status-badge-lg {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}

.direct-answer {
    margin-top: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.direct-answer h2 {
    font-family: var(--display);
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 10px;
}

.direct-answer p {
    color: var(--text-muted);
    font-size: 15px;
}

.gauge-section,
.products-section,
.meta-box,
.check-another,
.data-section {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
}

.gauge-section,
.products-section,
.meta-box,
.data-section {
    margin-top: 20px;
}

.data-section {
    padding: 20px;
}

.gauge-section {
    padding: 24px;
}

.gauge-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.gauge-label span {
    color: var(--text-dim);
}

.gauge-bar-wrap {
    position: relative;
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 99px;
    margin-bottom: 10px;
    margin-top: 30px;
    overflow: visible;
}

.gauge-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #f5c050 0%, #e05050 100%);
}

.gauge-threshold {
    position: absolute;
    left: 30%;
    top: -6px;
    bottom: -6px;
    width: 2px;
    background: rgba(255, 255, 255, 0.25);
}

.gauge-threshold::after {
    content: "EPA limit";
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-dim);
    white-space: nowrap;
}

.gauge-reading {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gauge-plain-summary {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.gauge-numbers {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.04em;
}

.reading-item {
    text-align: center;
}

.reading-val {
    font-family: var(--mono);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
}

.reading-val.warn {
    color: var(--red);
}
.reading-val.limit {
    color: var(--amber);
}
.reading-val.ok {
    color: var(--green);
}
.reading-val.close {
    color: var(--amber-light);
}
.reading-val.neutral {
    color: var(--text-muted);
}

.reading-lbl {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-top: 4px;
}

.reading-sub {
    margin-top: 2px;
    color: var(--text-dim);
    font-size: 11px;
}

.explain-box {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--amber);
    border-radius: 0 10px 10px 0;
    padding: 18px 20px;
    margin-top: 20px;
}

.explain-box h3 {
    font-family: var(--display);
    font-size: 14px;
    font-weight: 700;
    color: var(--amber);
    margin-bottom: 8px;
}

.pfas-context {
    margin-top: 0;
    background: transparent;
    border-left: 0;
    border-radius: 0;
    padding: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}

.pfas-context strong {
    color: var(--text);
}

.risk-explanation {
    margin-top: 12px;
    color: var(--text-muted);
}

.risk-explanation li {
    margin-left: 20px;
}

.technical-details {
    margin-top: 20px;
}

.technical-details summary {
    cursor: pointer;
    color: var(--amber);
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.details-content {
    margin-top: 12px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    min-width: 460px;
}

.comparison-table th {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
    padding: 12px;
}

.comparison-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .value-cell,
.comparison-table .percentage-cell {
    font-family: var(--mono);
}

.comparison-table .percentage-above {
    color: var(--red);
}

.comparison-table .percentage-below {
    color: var(--green);
}

.comparison-table .percentage-close {
    color: var(--amber-light);
}

.products-section {
    padding: 20px;
}

.above-fold-product {
    margin-top: 20px;
}

.products-section-context {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.product-label-row {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 15px;
}

.product-label-row::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--amber);
    opacity: 0.2;
}

.products-grid {
    display: grid;
    gap: 12px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid rgba(232, 160, 32, 0.25);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.15s;
}

.product-card:hover {
    border-color: rgba(232, 160, 32, 0.5);
}

.product-card-body {
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.product-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--amber-glow);
    border: 1px solid rgba(232, 160, 32, 0.2);
    flex-shrink: 0;
}

.product-info {
    flex: 1;
}

.product-type {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 4px;
}

.product-name {
    font-family: var(--display);
    font-size: 20px;
    line-height: 1.2;
}

.product-tagline {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.55;
    margin-bottom: 14px;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.spec-tag {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.07em;
    color: var(--green);
    background: var(--green-bg);
    border: 1px solid rgba(56, 184, 138, 0.2);
    padding: 4px 9px;
    border-radius: 4px;
    text-transform: uppercase;
}

.product-card-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--amber-glow);
}

.product-why {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
}

.product-why strong {
    color: var(--text);
    font-weight: 500;
}

.product-cta-btn {
    background: var(--amber);
    color: #07100a;
    border: none;
    border-radius: 9px;
    padding: 12px 18px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.product-cta-btn:hover {
    background: var(--amber-light);
}

.product-alt {
    margin-top: 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: border-color 0.15s;
}

.product-alt:hover {
    border-color: var(--border-strong);
}

.product-alt-info {
    flex: 1;
}

.product-alt-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 3px;
}

.product-alt-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.product-alt-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
    font-weight: 300;
}

.product-alt-btn {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--border-strong);
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    text-decoration: none;
    transition:
        border-color 0.15s,
        color 0.15s;
}

.product-alt-btn:hover {
    color: var(--text);
    border-color: var(--text-muted);
}

.homeowner-btn {
    margin-top: 14px;
    width: 100%;
    background: var(--amber-glow);
    border: 1px solid rgba(232, 160, 32, 0.25);
    border-left: 3px solid var(--amber);
    border-radius: 10px;
    padding: 16px 16px 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    transition:
        border-color 0.2s,
        background 0.2s;
    text-align: left;
    font-family: inherit;
}

.homeowner-btn:hover {
    border-color: rgba(232, 160, 32, 0.55);
    border-left-color: var(--amber);
    background: rgba(232, 160, 32, 0.15);
}

.homeowner-btn-left {
    flex: 1;
    min-width: 0;
}

.homeowner-btn-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 4px;
}

.homeowner-btn-title {
    font-size: 17px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 3px;
}

.homeowner-btn-sub {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.5;
}

.homeowner-btn-cta {
    flex-shrink: 0;
    background: var(--amber);
    color: #07100a;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 7px;
    white-space: nowrap;
    letter-spacing: 0.01em;
    transition: background 0.15s;
}

.homeowner-btn:hover .homeowner-btn-cta {
    background: var(--amber-light);
}

@media (max-width: 600px) {
    .homeowner-btn {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .homeowner-btn-cta {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
}

.status-banner .status-badge-lg {
    cursor: pointer;
}

.status-badge-lg.status-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
}

.status-badge-lg.status-badge-btn::after {
    content: "↓";
    font-size: 11px;
    opacity: 0.7;
}

/* Filter modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(4, 8, 18, 0.62);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: all;
}

.modal-sheet {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 560px;
    transform: translateY(32px);
    transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 92vh;
    overflow-y: auto;
}

.modal-close-btn {
    position: sticky;
    top: max(8px, env(safe-area-inset-top));
    margin: 10px 10px 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid #ffffff;
    border-radius: 999px;
    background: rgba(15, 28, 46, 0.98);
    color: #ffffff;
    font-size: 45px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    z-index: 4;
    backdrop-filter: blur(6px);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(232, 160, 32, 0.24);
    -webkit-tap-highlight-color: transparent;
    transition:
        transform 0.12s ease,
        background 0.15s ease,
        border-color 0.15s ease;
}

.modal-close-btn:hover {
    background: rgba(22, 40, 64, 0.99);
    border-color: rgba(245, 192, 80, 1);
    color: #fff1cf;
}

.modal-close-btn:active {
    transform: scale(0.96);
}

.modal-close-btn:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
}

.modal-backdrop.open .modal-sheet {
    transform: translateY(0);
}

.modal-handle {
    width: 36px;
    height: 4px;
    border-radius: 99px;
    background: var(--border-strong);
    margin: 14px auto 0;
}

.modal-header {
    padding: 18px 24px 0;
}

.modal-eyebrow {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 5px;
}

.modal-title {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 6px;
}

.modal-sub {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.55;
    margin-bottom: 20px;
}

.modal-education {
    margin: 0 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.edu-warning {
    background: var(--red-bg);
    border: 1px solid var(--red-border);
    border-radius: 10px;
    padding: 13px 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.edu-warning-icon {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1.3;
}

.edu-warning p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
}

.edu-warning p strong {
    color: var(--text);
    font-weight: 500;
}

.edu-compare {
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    overflow: hidden;
}

.edu-compare-header {
    padding: 11px 16px;
    border-bottom: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.edu-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.edu-col {
    padding: 14px 16px;
}

.edu-col + .edu-col {
    border-left: 1px solid var(--border);
    background: rgba(232, 160, 32, 0.04);
}

.edu-col-title {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.edu-col-badge {
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 3px;
    background: var(--amber-glow);
    color: var(--amber);
    border: 1px solid rgba(232, 160, 32, 0.2);
}

.edu-row {
    display: flex;
    gap: 7px;
    align-items: flex-start;
    margin-bottom: 7px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.4;
}

.edu-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

.edu-dot.ok {
    background: var(--green);
}

.edu-dot.warn {
    background: var(--red);
    opacity: 0.7;
}

.edu-row:last-child {
    margin-bottom: 0;
}

.edu-divider {
    margin: 4px 16px 10px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-align: center;
}

.filter-options {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.filter-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    padding: 16px 18px;
    cursor: pointer;
    transition:
        border-color 0.15s,
        background 0.15s;
    text-decoration: none;
    display: block;
}

.filter-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--amber);
}

.filter-card.recommended {
    border-color: rgba(232, 160, 32, 0.35);
    background: var(--amber-glow);
}

.filter-card.recommended:hover {
    border-color: rgba(232, 160, 32, 0.6);
}

.filter-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.filter-card-left {
    flex: 1;
}

.filter-tag {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
    background: var(--amber-glow);
    border: 1px solid rgba(232, 160, 32, 0.2);
    padding: 3px 7px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 6px;
}

.filter-name {
    font-family: var(--display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.filter-price {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text-muted);
    text-align: right;
    flex-shrink: 0;
    padding-top: 4px;
}

.filter-price strong {
    display: block;
    font-size: 16px;
    color: var(--text);
    font-weight: 500;
}

.filter-best-for {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.5;
}

.filter-best-for strong {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
}

.filter-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.filter-spec-tag {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--green);
    background: var(--green-bg);
    border: 1px solid rgba(56, 184, 138, 0.18);
    padding: 3px 7px;
    border-radius: 3px;
}

.filter-cta-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 10px;
}

.filter-cta {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.filter-card:hover .filter-cta {
    color: var(--amber);
}

.filter-card.recommended .filter-cta {
    background: var(--amber);
    color: #07100a;
    padding: 8px 16px;
    border-radius: 7px;
}

.modal-footer-note {
    padding: 14px 24px 28px;
    font-size: 11px;
    color: var(--text-dim);
    text-align: center;
    line-height: 1.6;
    border-top: 1px solid var(--border);
    margin-top: 6px;
}

.meta-box {
    padding: 18px 20px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
}

.meta-row:last-child {
    border-bottom: none;
}

.meta-key {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.meta-val {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-muted);
    text-align: right;
}

.bottom-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-another {
    padding: 20px;
}

.check-another p {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* Anchor dropdown to the input row (sibling ul was positioning vs viewport). */
.zip-inline-wrap {
    position: relative;
}

.zip-inline {
    display: flex;
}

/* Full width of input+button row; not homepage's right: 94px offset. */
.zip-inline-wrap .search-results.zip-inline-results {
    left: 0;
    right: 0;
}

.zip-inline input {
    flex: 1;
    min-width: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 12px 16px;
    font-family: var(--mono);
    font-size: 18px;
    color: var(--text);
    letter-spacing: 0.1em;
    outline: none;
}

.zip-inline button {
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    font-family: var(--sans);
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    white-space: nowrap;
}

.zip-inline button:hover {
    color: var(--text);
    border-color: var(--amber);
}

.nearby-zips-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
}

.nearby-zips-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nearby-zips-list li a {
    display: block;
    flex: 1;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.01em;
    color: var(--text-muted);
}

.nearby-zips-list li a:hover {
    border-color: var(--border-strong);
    color: var(--text);
}

.zip-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 98px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    color: var(--text-muted);
    background: rgba(15, 20, 31, 0.55);
}

.zip-status-chip.zip-status--higher {
    color: #ffb4b4;
    border-color: #8f2f2f;
    background: rgba(109, 28, 28, 0.28);
}

.zip-status-chip.zip-status--some {
    color: #f5cf9f;
    border-color: #866535;
    background: rgba(120, 88, 34, 0.28);
}

.zip-status-chip.zip-status--ok {
    color: #b4e4ba;
    border-color: #2f7a3c;
    background: rgba(31, 101, 42, 0.28);
}

.nearby-empty {
    color: var(--text-dim);
    font-size: 13px;
}

.service-areas {
    margin-top: 20px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
}

.service-areas h2 {
    font-family: var(--display);
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 8px;
}

.service-areas-summary {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 14px;
}

.service-areas-fallback {
    list-style: none;
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.service-areas-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-surface);
}

.service-areas-link {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}

.service-areas-status {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 999px;
    border: 1px solid var(--border);
    padding: 4px 8px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
}

.service-areas-status.above-guideline {
    color: #ffb4b4;
    border-color: #8f2f2f;
    background: rgba(109, 28, 28, 0.28);
}

.service-areas-status.some-concern {
    color: #f5cf9f;
    border-color: #866535;
    background: rgba(120, 88, 34, 0.28);
}

.service-areas-status.looks-ok {
    color: #b4e4ba;
    border-color: #2f7a3c;
    background: rgba(31, 101, 42, 0.28);
}

.service-areas-pop,
.service-areas-tier {
    color: var(--text-dim);
    font-size: 11px;
    font-family: var(--mono);
}

.service-areas-map-wrap {
    margin-top: 12px;
}

/* Empty = no Leaflet geometry to draw; keep notes visible, hide only the map tile area. */
.service-areas-map-wrap.service-areas-map--empty .service-area-map {
    display: none;
}

.service-areas-map-wrap.service-areas-map--empty .service-areas-note {
    margin-top: 0;
}

.service-area-map {
    width: 100%;
    height: 320px;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

/* Clickable map regions get pointer cursor */
.service-area-map-clickable {
    cursor: pointer;
}

.service-areas-note {
    margin-top: 8px;
    color: var(--text-dim);
    font-size: 11px;
    font-family: var(--mono);
}

.service-area-map-legend {
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(8, 14, 24, 0.9);
    color: var(--text);
    font-size: 11px;
    font-family: var(--mono);
}

.service-area-map-legend ul {
    list-style: none;
    margin-top: 4px;
    display: grid;
    gap: 4px;
}

.service-area-map-legend li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-area-map-swatch {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    display: inline-block;
}

.service-area-map-swatch.above-guideline {
    background: var(--red);
}

.service-area-map-swatch.some-concern {
    background: var(--amber);
}

.service-area-map-swatch.looks-ok {
    background: var(--green);
}

.service-area-map-swatch.no-data {
    background: var(--text-dim);
}

.service-area-map-legend-sampling {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 10px;
    color: var(--text-dim);
}

.service-area-map-dot-swatch {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.service-area-map-dot-swatch.above-guideline {
    background: var(--red);
}

.service-area-map-dot-swatch.some-concern {
    background: var(--amber);
}

.share-row {
    display: flex;
    gap: 10px;
}

.share-btn {
    flex: 1;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 12px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: center;
}

.share-btn:hover {
    color: var(--text);
    border-color: var(--border-strong);
}

.sticky-cta-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(7, 13, 26, 0.95);
    border-top: 1px solid var(--border-strong);
    backdrop-filter: blur(10px);
    z-index: 120;
    transform: translateY(130%);
    transition: transform 0.2s ease;
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

.sticky-cta-bar.hidden {
    display: none;
}

.sticky-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--amber);
    color: #07100a;
    border-radius: 10px;
    padding: 13px 14px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
}

.sticky-cta-btn:hover {
    background: var(--amber-light);
}

.disclaimer {
    margin-top: 30px;
    color: var(--text-dim);
    font-size: 11px;
}

/* Static / legal pages */
.page-static .prose {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.page-static .prose h1 {
    font-family: var(--display);
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.page-static .prose .page-updated {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.06em;
    margin-bottom: 36px;
}

.page-static .prose h2 {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 12px;
}

.page-static .prose h3 {
    font-family: var(--display);
    font-size: 17px;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 8px;
}

.page-static .prose p {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 16px;
}

.page-static .prose ul,
.page-static .prose ol {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 16px;
    padding-left: 24px;
}

.page-static .prose li {
    margin-bottom: 6px;
}

.page-static .prose a {
    color: var(--amber);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-static .prose a:hover {
    color: var(--amber-light);
}

.page-static .prose strong {
    color: var(--text);
    font-weight: 500;
}

.page-static .contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.page-static .contact-card p {
    margin-bottom: 8px;
}

.page-static .contact-card p:last-child {
    margin-bottom: 0;
}

/* 404 page */
.page-404 .error-wrap {
    max-width: 600px;
    margin: 0 auto;
    padding: 100px 24px 120px;
    text-align: center;
}

.page-404 .error-code {
    font-family: var(--mono);
    font-size: 96px;
    font-weight: 500;
    color: var(--amber);
    letter-spacing: 0.1em;
    line-height: 1;
    margin-bottom: 16px;
}

.page-404 .error-wrap h1 {
    font-family: var(--display);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-404 .error-wrap p {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 32px;
}

.page-404 .error-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.page-404 .error-links a {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    padding: 10px 18px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.page-404 .error-links a:hover {
    color: var(--text);
    border-color: var(--amber);
}

@media (max-width: 768px) {
    .container,
    .page-home section,
    .page-zip .page {
        padding-left: 20px;
        padding-right: 20px;
    }

    .preview-grid,
    .steps-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .search-results {
        right: 0;
    }

    .breadcrumbs {
        display: none;
    }

    .nav-proof {
        display: none;
    }

    .sticky-cta-bar {
        display: block;
    }
}

@media (max-width: 600px) {
    .search-box {
        flex-direction: column;
    }

    .search-box input {
        width: 100%;
    }

    .search-box input,
    .search-box button {
        border-radius: 0;
    }

    .search-box button {
        padding: 14px;
    }

    .page-zip .page {
        padding: 16px 16px 80px;
    }

    .loc-zip {
        font-size: 32px;
    }

    .loc-headline {
        margin-top: 8px;
        font-size: 20px;
    }

    .loc-city {
        margin-top: 4px;
    }

    .status-banner {
        align-items: flex-start;
        padding: 14px 16px;
        margin: 12px 0 8px;
    }

    .status-badge-lg {
        margin-left: 32px;
    }

    .gauge-reading {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .product-card-body,
    .product-card-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .product-cta-btn {
        width: 100%;
        text-align: center;
    }

    .share-row {
        flex-direction: column;
        opacity: 0.85;
    }

    .check-another {
        opacity: 0.88;
    }

    .comparison-table {
        min-width: 0;
        font-size: 12px;
    }
}

/* ============================================================
   City hub page — editorial sections (city-page-depth)
   ============================================================ */

.page-city .city-direct-answer {
    background: rgba(45, 125, 210, 0.08);
    border-left: 4px solid var(--amber);
    padding: 18px 20px;
    border-radius: 6px;
    margin: 20px 0;
}
.page-city .city-answer-text {
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0;
    color: var(--text);
}

/* Stats card */
.city-stats-card {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}
.city-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    padding: 14px 18px;
    min-width: 130px;
    flex: 1 1 130px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.city-stat .stat-val {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    font-family: "Syne", sans-serif;
    color: var(--text);
}
.city-stat .stat-lbl {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.city-stat .stat-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.city-stat--warn .stat-val {
    color: var(--red);
}
.city-stat--ok .stat-val {
    color: var(--green);
}
.city-stat--meta {
    border-style: dashed;
    background: var(--bg-surface);
}

/* Editorial body sections */
.city-editorial-section {
    margin: 28px 0;
}
.city-editorial-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}
.city-editorial-section p {
    line-height: 1.7;
    margin: 0 0 8px;
    color: var(--text);
}

/* Contaminants table */
.city-contaminants-table-wrap {
    overflow-x: auto;
    margin-top: 14px;
}
.city-contaminants-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.city-contaminants-table th,
.city-contaminants-table td {
    text-align: left;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.city-contaminants-table th {
    font-weight: 600;
    background: var(--bg-surface);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}
.city-contaminants-table td.num {
    font-variant-numeric: tabular-nums;
}
.pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.pill--warn {
    background: var(--red-bg);
    color: var(--red);
    border: 1px solid var(--red-border);
}
.pill--ok {
    background: var(--green-bg);
    color: var(--green);
    border: 1px solid rgba(56, 184, 138, 0.25);
}

/* Filter recommendations */
.city-filters-section {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    padding: 20px 22px;
}
.city-filters-cta {
    margin-top: 10px;
    font-weight: 600;
    color: var(--text);
}
.city-filters-cta a {
    color: var(--amber);
}

/* FAQ */
.city-faq,
.zip-faq {
    margin: 28px 0;
}
.city-faq h2,
.zip-faq h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.faq-item {
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    overflow: hidden;
}
.faq-q {
    padding: 13px 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    color: var(--text);
}
.faq-q::after {
    content: "+";
    font-size: 1.2rem;
    color: var(--text-muted);
}
details[open] .faq-q::after {
    content: "-";
}
.faq-a {
    padding: 12px 16px;
    margin: 0;
    line-height: 1.65;
    border-top: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text);
}

/* News section */
.city-news-section {
    background: rgba(232, 160, 32, 0.06);
    border: 1px solid rgba(232, 160, 32, 0.2);
    border-radius: 8px;
    padding: 18px 20px;
}

/* City filter product mini-cards */
.city-filter-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 14px 0;
}
.city-filter-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    padding: 14px 16px;
    flex: 1 1 240px;
    max-width: 360px;
}
.city-filter-card__name {
    font-weight: 600;
    margin-bottom: 4px;
}
.city-filter-card__name a {
    color: var(--amber);
    text-decoration: none;
}
.city-filter-card__name a:hover {
    text-decoration: underline;
}
.city-filter-card__tag {
    display: inline-block;
    font-size: 0.72rem;
    background: rgba(232, 160, 32, 0.1);
    color: var(--amber);
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 6px;
}
.city-filter-card__tagline {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 600px) {
    .city-stats-card {
        gap: 8px;
    }
    .city-stat {
        min-width: 100px;
        padding: 10px 14px;
    }
    .city-stat .stat-val {
        font-size: 1.3rem;
    }
    .city-contaminants-table {
        font-size: 0.78rem;
    }
    .city-contaminants-table th,
    .city-contaminants-table td {
        padding: 6px 8px;
    }
}

/* ZIP share card (shareable JPEG + social actions) */
.share-section {
    margin-top: 8px;
    padding: 22px 22px 18px;
    background: linear-gradient(
        165deg,
        rgba(18, 28, 48, 0.98) 0%,
        rgba(7, 13, 26, 0.99) 100%
    );
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.share-section-header {
    margin-bottom: 18px;
}
.share-eyebrow {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 8px;
}
.share-headline {
    font-family: var(--display);
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 10px;
}
.share-sub {
    font-family: var(--sans);
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--text-muted);
    margin: 0;
    max-width: 52ch;
}
.share-preview-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 18px;
    align-items: start;
}
.share-preview-wrap--no-preview {
    grid-template-columns: 1fr;
}
.share-img-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    background: var(--bg-card);
    aspect-ratio: 9 / 16;
    max-height: 320px;
    margin: 0 auto;
    width: 100%;
    max-width: 200px;
    cursor: zoom-in;
    outline: none;
}
.share-img-frame:focus-visible {
    box-shadow:
        0 0 0 2px var(--bg-card),
        0 0 0 4px var(--amber);
}
.share-section--no-image .share-img-frame {
    display: none;
}
.share-infographic-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.share-img-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(7, 13, 26, 0.45) 0%,
        transparent 42%
    );
    border-radius: 12px;
}
.share-buttons-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}
.share-main-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: #0a0e18;
    background: var(--amber);
    box-shadow: 0 4px 14px rgba(232, 160, 32, 0.25);
    transition:
        transform 0.12s ease,
        filter 0.12s ease;
}
.share-main-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}
.share-main-btn:active {
    transform: translateY(0);
}
.share-main-btn__icon {
    flex-shrink: 0;
    opacity: 0.9;
}
.share-main-btn__label {
    pointer-events: none;
}
.share-alt-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.share-alt-btn {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-muted);
    padding: 10px 8px;
    border-radius: 8px;
    border: 1px solid var(--border-strong);
    background: rgba(7, 13, 26, 0.5);
    transition:
        color 0.15s ease,
        border-color 0.15s ease,
        background 0.15s ease;
}
.share-alt-btn:hover {
    color: var(--text);
    border-color: var(--amber);
    background: rgba(232, 160, 32, 0.06);
}
.share-download-btn {
    display: block;
    text-align: center;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-muted);
    padding: 11px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-strong);
    background: rgba(7, 13, 26, 0.35);
}
.share-download-btn:hover {
    color: var(--text);
    border-color: var(--border-strong);
}
.share-embed-details {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.share-embed-details > summary {
    list-style: none;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    color: var(--text-muted);
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-strong);
    background: rgba(7, 13, 26, 0.35);
    transition:
        color 0.15s ease,
        border-color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}
.share-embed-details > summary::-webkit-details-marker {
    display: none;
}
.share-embed-details > summary::marker {
    display: none;
}
.share-embed-details > summary:hover {
    color: var(--text);
    border-color: var(--amber);
}
.share-embed-details[open] > summary {
    margin-bottom: 12px;
    color: var(--amber);
    border-color: rgba(232, 160, 32, 0.35);
}
.share-embed-panel {
    padding-bottom: 2px;
}
.share-embed-hint {
    font-family: var(--sans);
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--text-muted);
    margin: 0 0 10px;
}
.share-embed-textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 120px;
    margin: 0 0 10px;
    padding: 10px 12px;
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1.45;
    color: var(--text);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    resize: vertical;
}
.share-embed-copy-btn {
    display: block;
    width: 100%;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    color: var(--text-muted);
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-strong);
    background: rgba(7, 13, 26, 0.35);
    transition:
        color 0.15s ease,
        border-color 0.15s ease;
}
.share-embed-copy-btn:hover {
    color: var(--text);
    border-color: var(--amber);
}
.share-section-footer {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border-strong);
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}
.share-nearby-wrap {
    margin: 12px 0 0;
    text-align: center;
}
.share-nearby-link {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--amber);
    text-decoration: none;
}
.share-nearby-link:hover {
    text-decoration: underline;
}

/* Full-screen infographic preview (share section) */
.share-img-lightbox[hidden] {
    display: none !important;
}
.share-img-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: block;
    padding: 0;
    box-sizing: border-box;
}
.share-img-lightbox__backdrop {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    border: none;
    background: rgba(0, 0, 0, 0.94);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.share-img-lightbox__surface {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(12px, env(safe-area-inset-top))
        max(12px, env(safe-area-inset-right))
        max(20px, env(safe-area-inset-bottom))
        max(12px, env(safe-area-inset-left));
    box-sizing: border-box;
    pointer-events: none;
}
.share-img-lightbox__close {
    position: absolute;
    top: max(8px, calc(env(safe-area-inset-top) + 4px));
    right: max(8px, calc(env(safe-area-inset-right) + 4px));
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    -webkit-tap-highlight-color: transparent;
    transition:
        background 0.15s ease,
        transform 0.12s ease;
}
.share-img-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.22);
}
.share-img-lightbox__close:active {
    transform: scale(0.96);
}
.share-img-lightbox__close svg {
    display: block;
}
.share-img-lightbox__img {
    max-width: 100%;
    max-height: min(96dvh, 100%);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.55);
    pointer-events: none;
    touch-action: pan-y pinch-zoom;
}
@media (max-width: 720px) {
    .share-preview-wrap:not(.share-preview-wrap--no-preview) {
        grid-template-columns: 1fr;
    }
    .share-img-frame {
        max-width: 220px;
        max-height: 360px;
    }
}
