*,
*::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: 40px 24px 80px;
}

.loc-zip {
    font-family: var(--mono);
    font-size: 48px;
    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: 8px;
    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: 14px;
    font-family: var(--display);
    font-size: clamp(24px, 4.6vw, 38px);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

.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;
}

.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-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);
}

.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 a {
    display: block;
    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.04em;
    color: var(--text-muted);
}

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

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

.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;
    }

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

    .status-banner {
        align-items: flex-start;
    }

    .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;
    }
}
