/* ═══════════════════════════════════════════════════════════════
   FMCSA Lookup — Dark Industrial Command Center
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ── Tokens ── */
:root {
    --bg-base: #0a0c10;
    --bg-raised: #111520;
    --bg-surface: #181d2a;
    --bg-hover: #222838;
    --border: #283048;
    --border-accent: #3d4660;
    --text: #f0f2f7;
    --text-muted: #8b94b0;
    --text-dim: #556080;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.15);
    --green: #22c55e;
    --green-dim: rgba(34, 197, 94, 0.12);
    --red: #ef4444;
    --red-dim: rgba(239, 68, 68, 0.1);
    --amber: #f59e0b;
    --amber-dim: rgba(245, 158, 11, 0.1);
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
    --font-body: 'Inter', -apple-system, sans-serif;
    --radius: 8px;
    --radius-lg: 14px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: none; color: #60a5fa; }

/* ── Grid Lines Background ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

/* ── Nav ── */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(12, 14, 19, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 0 1.5rem;
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
}
.nav-logo {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-logo::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--green);
    animation: pulse-dot 3s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.nav-logo:hover { text-decoration: none; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-hover); text-decoration: none; }

/* ── Hero ── */
.hero {
    position: relative;
    text-align: center;
    padding: 5rem 1.5rem 3.5rem;
    overflow: visible;
    z-index: 10;
}
.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.hero h1 {
    font-family: var(--font-mono);
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    position: relative;
}
.hero h1 span {
    color: var(--accent);
}
.hero-sub {
    color: var(--text-muted);
    margin: 1rem 0 2.5rem;
    font-size: 1.05rem;
    font-weight: 400;
}
.hero-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 1.5rem;
}
.hero-stat::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
}

/* ── Search ── */
.search-form {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    position: relative;
    z-index: 50;
}
.search-input {
    flex: 1;
    padding: 0.9rem 1.25rem;
    font-size: 0.95rem;
    font-family: var(--font-mono);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
}
.search-input::placeholder { color: var(--text-dim); }
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.search-btn {
    padding: 0.9rem 1.75rem;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-body);
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.search-btn:hover { background: #2563eb; }
.search-form-sm { margin: 1.5rem auto; max-width: 500px; }

/* ── Value Props ── */
.value-props {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.prop {
    background: var(--bg-raised);
    padding: 2rem;
}
.prop h3 {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 0.75rem;
}
.prop p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ── Search Results ── */
.search-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
    position: relative;
}
.result-count {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    margin: 1rem 0;
    letter-spacing: 0.03em;
}
.result-card {
    display: block;
    background: var(--bg-raised);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 0.5rem;
    transition: all 0.15s;
}
.result-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-surface);
    text-decoration: none;
    transform: translateY(-1px);
}
.result-name { font-weight: 600; font-size: 1rem; color: var(--text); }
.result-meta { color: var(--text-muted); font-size: 0.82rem; margin-top: 0.2rem; }
.result-details {
    font-family: var(--font-mono);
    color: var(--text-dim);
    font-size: 0.78rem;
    margin-top: 0.25rem;
}
.no-results { color: var(--text-muted); padding: 2rem 0; }
.load-more {
    display: inline-block;
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ── Status Badges ── */
.status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.2rem 0.65rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.status-authorized { background: var(--green-dim); color: var(--green); }
.status-authorized::before { background: var(--green); box-shadow: 0 0 6px var(--green); }
.status-not { background: var(--red-dim); color: var(--red); }
.status-not::before { background: var(--red); }
.status-revoked { background: var(--red-dim); color: var(--red); }
.status-revoked::before { background: var(--red); }
.status-not-authorized { background: var(--red-dim); color: var(--red); }
.status-not-authorized::before { background: var(--red); }
.status-out-of-service { background: var(--red-dim); color: var(--red); }
.status-out-of-service::before { background: var(--red); }
.status-inactive { background: var(--amber-dim); color: var(--amber); }
.status-inactive::before { background: var(--amber); }

/* ── Carrier Page ── */
.carrier-page {
    max-width: 1320px;
    margin: 0 auto;
    padding: 2rem 2rem;
    position: relative;
}
.carrier-page--wide {
    max-width: none;
    padding: 2rem 4rem;
}
.carrier-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.carrier-header h1 {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}
.dba {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 0.75rem;
}

.tone-good { color: var(--green); text-shadow: 0 0 12px rgba(34,197,94,0.3); }
.tone-warn { color: var(--amber); text-shadow: 0 0 12px rgba(245,158,11,0.3); }
.tone-danger { color: var(--red); text-shadow: 0 0 12px rgba(239,68,68,0.3); }
.tone-muted { color: var(--text-muted); }

.carrier-hero {
    display: grid;
    grid-template-columns: 1fr minmax(380px, 42%);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
.carrier-hero-main,
.carrier-hero-sidebar {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    align-self: stretch;
}
.carrier-hero-main {
    padding: 2.5rem;
    background:
        radial-gradient(circle at top right, rgba(59,130,246,0.30), transparent 45%),
        radial-gradient(circle at bottom left, rgba(139,92,246,0.12), transparent 35%),
        radial-gradient(circle at center, rgba(34,197,94,0.05), transparent 50%),
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0)),
        var(--bg-raised);
    border-color: rgba(59,130,246,0.2);
}
.carrier-hero-main::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255,255,255,0.03);
    pointer-events: none;
}
.carrier-kicker {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.9rem;
    text-shadow: 0 0 20px rgba(59,130,246,0.3);
}
.carrier-kicker--muted {
    color: var(--text-dim);
    margin-bottom: 0.65rem;
}
.carrier-hero-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}
.carrier-hero-main h1 {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
    max-width: 18ch;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent) 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.carrier-subtitle {
    max-width: 60ch;
    color: var(--text-muted);
    font-size: 1.12rem;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}
.carrier-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}
.hero-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid transparent;
    white-space: nowrap;
}
.hero-chip--amber {
    color: var(--amber);
    background: var(--amber-dim);
    border-color: rgba(245,158,11,0.25);
}
.hero-chip--blue {
    color: var(--accent);
    background: rgba(59,130,246,0.12);
    border-color: rgba(59,130,246,0.25);
}
.hero-chip--neutral {
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}
.carrier-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.carrier-meta-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.2);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1;
    font-weight: 500;
}
.carrier-hero-sidebar {
    padding: 1.75rem;
    background:
        linear-gradient(180deg, rgba(59,130,246,0.14), rgba(139,92,246,0.05) 50%, rgba(59,130,246,0) 100%),
        var(--bg-raised);
    border-color: rgba(59,130,246,0.25);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.carrier-sidebar-copy {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}
.carrier-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}
@media (max-width: 1199px) {
    .carrier-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.summary-card {
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(59,130,246,0.2);
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.05));
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.summary-card:hover {
    border-color: rgba(59,130,246,0.4);
    background: linear-gradient(135deg, rgba(59,130,246,0.16), rgba(139,92,246,0.08));
    transform: translateY(-1px);
}
.summary-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.7;
}
.summary-value {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}
.summary-sub {
    font-size: 0.86rem;
    color: var(--text-muted);
}
.carrier-hero-note-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding-top: 0.25rem;
}
.carrier-hero-note {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.carrier-hero-note span {
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.carrier-hero-note strong {
    color: var(--text);
    font-size: 0.92rem;
}

/* ── Data Sections ── */
.carrier-section {
    background: var(--bg-raised);
    border: 1px solid rgba(59,130,246,0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.25rem;
    position: relative;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
    overflow: hidden;
}
.carrier-section h2 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}
.carrier-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.carrier-section-head h2 {
    border: 0;
    margin: 0.25rem 0 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--text);
}
.section-kicker {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    text-shadow: 0 0 16px rgba(59,130,246,0.25);
}
.section-note {
    max-width: 38ch;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    text-align: right;
}
.carrier-layout-grid,
.section-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.carrier-panel {
    padding: 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59,130,246,0.04), var(--bg-surface));
    border: 1px solid rgba(59,130,246,0.12);
    border-top: 3px solid rgba(59,130,246,0.35);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.carrier-panel--spacious {
    margin-top: 1rem;
}
.panel-kicker {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.info-grid--auto {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.info-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.info-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.info-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.label {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.value {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    overflow-wrap: break-word;
    word-break: break-all;
}
.value a { color: var(--accent); word-break: break-all; }
.copy-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.copy-block strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
}
.copy-block p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.panel-footnote,
.panel-empty {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}
.panel-footnote {
    margin-top: 1rem;
}
.metric-shelf {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.85rem;
}
.metric-shelf--records {
    margin-top: 0.85rem;
}
.section-divider-label {
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
}

/* ── Safety Score Bars ── */
.safety-metric {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
}
.safety-metric:last-child { border-bottom: none; }
.safety-metric .label { flex: 0 0 155px; margin: 0; font-size: 0.74rem; }
.safety-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-hover);
    border-radius: 4px;
    overflow: hidden;
}
.safety-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.safety-bar-fill.good { background: var(--green); box-shadow: 0 0 8px rgba(34,197,94,0.3); }
.safety-bar-fill.warn { background: var(--amber); box-shadow: 0 0 8px rgba(245,158,11,0.3); }
.safety-bar-fill.danger { background: var(--red); box-shadow: 0 0 8px rgba(239,68,68,0.3); }
.safety-val {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 600;
    flex: 0 0 52px;
    text-align: right;
}

/* ── Cargo Tags ── */
.cargo-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    font-family: var(--font-mono);
    background: rgba(59,130,246,0.06);
    border: 1px solid rgba(59,130,246,0.15);
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    color: var(--text-muted);
}

/* ── Detail Links / Action Row ── */
.detail-links {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.access-card,
.access-inline {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(59,130,246,0.22);
    padding: 1.6rem;
}
.access-card {
    margin-bottom: 1rem;
    background:
        linear-gradient(135deg, rgba(59,130,246,0.18), rgba(59,130,246,0.04)),
        var(--bg-raised);
}
.access-card--purple {
    border-color: rgba(139,92,246,0.24);
    background:
        linear-gradient(135deg, rgba(139,92,246,0.18), rgba(109,40,217,0.06)),
        var(--bg-raised);
}
.access-card--soft {
    margin-top: 1rem;
}
.access-card h2,
.access-inline h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.55rem;
}
.access-caption,
.access-inline p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}
.unlock-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 1.5rem;
    margin: 1rem 0 1.2rem;
}
.unlock-feature-grid span {
    color: rgba(255,255,255,0.82);
    font-size: 0.84rem;
}
.access-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.access-inline {
    margin-top: 1.25rem;
    background: rgba(255,255,255,0.02);
}
.access-inline--subtle {
    border-color: rgba(59,130,246,0.18);
    background: rgba(59,130,246,0.08);
}

/* ── Gate / Paywall ── */
.gate-section { position: relative; min-height: 140px; }
.gate-overlay {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-surface);
    border: 1px dashed var(--border-accent);
    border-radius: var(--radius-lg);
}
.gate-overlay p { color: var(--text-muted); margin-bottom: 1rem; }
.gate-banner {
    text-align: center;
    padding: 1.25rem;
    background: var(--accent-glow);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius);
    margin-top: 1.25rem;
}
.gate-banner p { color: var(--text-muted); margin-bottom: 0.75rem; font-size: 0.9rem; }
.gated-blur {
    filter: blur(4px);
    user-select: none;
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}
.blurred-panel {
    filter: blur(8px);
    -webkit-filter: blur(8px);
    pointer-events: none;
    user-select: none;
    opacity: 0.5;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.82rem;
    font-family: var(--font-body);
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text);
    cursor: pointer;
    transition: all 0.15s;
}
.btn:hover { background: var(--bg-hover); border-color: var(--border-accent); text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: #2563eb; }
.btn-secondary { background: transparent; border-color: var(--border); color: var(--text-muted); }
.btn-sm { padding: 0.3rem 0.75rem; font-size: 0.78rem; }

.carrier-inline-cta {
    margin-bottom: 1rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(59,130,246,0.22);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(59,130,246,0.04));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.carrier-inline-cta__copy {
    max-width: 42rem;
}
.carrier-inline-cta__copy strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}
.carrier-inline-cta__copy p:last-child {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}
.dense-list {
    display: flex;
    flex-direction: column;
}
.dense-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dense-row:last-child { border-bottom: 0; }
.dense-row__right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.dense-label {
    color: var(--text);
    font-weight: 600;
}
.dense-meta {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--text-dim);
}
.dense-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.dense-badge--good {
    color: var(--green);
    background: var(--green-dim);
}
.dense-badge--danger {
    color: var(--red);
    background: var(--red-dim);
}
.chart-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.chart-card {
    padding: 1.1rem;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    background: var(--bg-surface);
}
.chart-card h3 {
    font-size: 0.94rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
}
.chart-frame {
    position: relative;
    height: 420px;
}
.chart-frame--square {
    min-height: 380px;
}
.analytics-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(260px, 1fr);
    gap: 1rem;
    align-items: flex-start;
}
.chart-table-wrap {
    overflow-x: auto;
}
.data-table--compact {
    font-size: 0.82rem;
}
.nearby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}
.nearby-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    background: var(--bg-surface);
    color: var(--text);
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.nearby-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59,130,246,0.28);
    background: var(--bg-hover);
    text-decoration: none;
    color: var(--text);
}
.nearby-card__title {
    font-weight: 600;
}
.nearby-card__meta {
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.72rem;
}
.carrier-link-row {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.carrier-product-grid {
    margin-top: 1.25rem;
    display: flex;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.promo-tag--blue,
.promo-cta--blue { color: var(--accent); }
.promo-tag--green,
.promo-cta--green { color: var(--green); }

/* ── Auth Pages ── */
.auth-page {
    max-width: 400px;
    margin: 4rem auto;
    padding: 2.5rem;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}
.auth-page h1 {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.auth-page p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.9rem; }
.auth-form { display: flex; flex-direction: column; gap: 0.75rem; }
.auth-input {
    padding: 0.75rem;
    font-size: 1rem;
    font-family: var(--font-mono);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    text-align: center;
    outline: none;
}
.auth-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.auth-code { font-size: 1.5rem; letter-spacing: 8px; font-weight: 700; }
.resend-link { margin-top: 1rem; font-size: 0.82rem; color: var(--text-muted); }
.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    text-align: left;
    font-size: 0.84rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1.5;
}
.terms-check input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    flex-shrink: 0;
    cursor: pointer;
}
.terms-check a { color: var(--accent); text-decoration: underline; }

/* ── Legal Pages ── */
.legal-page {
    max-width: 760px;
    margin: 2rem auto;
    padding: 2rem;
}
.legal-page h1 {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.legal-updated {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 2.5rem;
}
.legal-page section {
    margin-bottom: 2rem;
}
.legal-page h2 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}
.legal-page p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}
.legal-page ul {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}
.legal-page li { margin-bottom: 0.35rem; }

/* ── Pricing ── */
.pricing-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    text-align: center;
}
.pricing-page h1 {
    font-family: var(--font-mono);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.pricing-page > p { color: var(--text-muted); margin-bottom: 2.5rem; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.plan {
    background: var(--bg-raised);
    padding: 2.5rem 2rem;
    text-align: left;
}
.plan-featured { background: var(--bg-surface); }
.plan h3 {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}
.price {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.price span { font-size: 0.85rem; font-weight: 400; color: var(--text-muted); }
.plan ul { list-style: none; margin-bottom: 2rem; }
.plan li {
    padding: 0.4rem 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.plan li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    font-size: 0.75rem;
}

/* ── Dashboard ── */
.dashboard-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}
.dash-section {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin-bottom: 1rem;
}
.dash-section h2 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}
.badge {
    background: var(--red);
    color: #fff;
    padding: 0.1rem 0.5rem;
    border-radius: 10px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
}
.alert-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.88rem;
}
.alert-item:last-child { border-bottom: none; }
.alert-item.unread { font-weight: 600; }
.alert-type {
    font-family: var(--font-mono);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.watched-item {
    padding: 0.6rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}
.watched-item:last-child { border-bottom: none; }
.btn-remove {
    background: none;
    border: none;
    color: var(--red);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    opacity: 0.5;
    transition: opacity 0.15s;
}
.btn-remove:hover { opacity: 1; }
.inline-form { display: inline; }

/* ── Billing ── */
.billing-page {
    max-width: 500px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}

/* ── Data Table ── */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.data-table th, .data-table td {
    padding: 0.6rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.data-table th {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
}
.data-table td { color: var(--text-muted); }
.data-table tr:hover td { color: var(--text); background: var(--bg-hover); }

/* ── Upsell ── */
.upsell-banners { margin-top: 1.5rem; }
.upsell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all 0.15s;
}
.upsell:hover { border-color: var(--border-accent); color: var(--text); text-decoration: none; }

/* ── Product Banners — Animations ── */
@keyframes banner-slide-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes banner-glow-blue {
    0%, 100% { box-shadow: 0 0 0 rgba(59,130,246,0); border-color: var(--border); }
    50% { box-shadow: 0 0 20px rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.3); }
}
@keyframes banner-glow-green {
    0%, 100% { box-shadow: 0 0 0 rgba(34,197,94,0); border-color: var(--border); }
    50% { box-shadow: 0 0 20px rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.3); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes topbar-shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.promo-topbar {
    padding: 6px 1rem;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(270deg, #1a56db, #3b82f6, #2563eb, #1a56db);
    background-size: 300% 300%;
    animation: topbar-shimmer 8s ease infinite;
}
.promo-topbar a { color: #fff; text-decoration: none; }
.promo-topbar a:hover { color: #fff; }
.promo-card {
    flex: 1;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text);
    position: relative;
    overflow: hidden;
    animation: banner-slide-up 0.6s ease both;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
@keyframes gradient-shift-blue {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes gradient-shift-green {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.promo-card--blue {
    background: linear-gradient(135deg, rgba(59,130,246,0.15), var(--bg-raised), rgba(37,99,235,0.1), var(--bg-raised)) !important;
    background-size: 300% 300% !important;
    animation: banner-slide-up 0.6s ease both, gradient-shift-blue 8s ease 0.6s infinite;
}
.promo-card--green {
    background: linear-gradient(135deg, rgba(34,197,94,0.15), var(--bg-raised), rgba(22,163,74,0.1), var(--bg-raised)) !important;
    background-size: 300% 300% !important;
    animation: banner-slide-up 0.6s ease both, gradient-shift-green 8s ease 0.8s infinite;
}
.promo-card:nth-child(2) { animation-delay: 0.12s; }
.promo-card:hover {
    transform: translateY(-3px);
    text-decoration: none;
    color: var(--text);
}
.promo-card--blue:hover { box-shadow: 0 8px 30px rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.3); }
.promo-card--green:hover { box-shadow: 0 8px 30px rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.3); }
.promo-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    transition: left 0.5s ease;
}
.promo-card:hover::after { left: 120%; }
.promo-card .promo-tag {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-mono);
    margin-bottom: 6px;
}
.promo-card .promo-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.promo-card .promo-desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 10px; }
.promo-card .promo-cta {
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
}
.promo-card:hover .promo-cta { gap: 8px; }

.promo-inline {
    animation: banner-slide-up 0.5s ease both;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    animation: banner-glow-blue 4s ease infinite;
}
.promo-inline:hover { box-shadow: 0 4px 20px rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.3); }

.promo-mid {
    animation: banner-slide-up 0.4s ease both;
    animation: banner-glow-blue 5s ease infinite;
    transition: transform 0.2s ease;
}
.promo-mid:hover { transform: translateY(-2px); }

/* ── Compact Promo Strips (home page) ── */
.promo-strip {
    flex: 1;
    min-width: 240px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    position: relative;
    overflow: hidden;
    animation: banner-slide-up 0.5s ease both;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.promo-strip:nth-child(2) { animation-delay: 0.1s; }
.promo-strip:hover { transform: translateY(-2px); text-decoration: none; color: var(--text); }
.promo-strip--blue {
    background: linear-gradient(135deg, rgba(59,130,246,0.12) 0%, rgba(37,99,235,0.06) 100%);
    border: 1px solid rgba(59,130,246,0.2);
}
.promo-strip--blue:hover { box-shadow: 0 4px 16px rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.4); }
.promo-strip--green {
    background: linear-gradient(135deg, rgba(34,197,94,0.12) 0%, rgba(22,163,74,0.06) 100%);
    border: 1px solid rgba(34,197,94,0.2);
}
.promo-strip--green:hover { box-shadow: 0 4px 16px rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.4); }
.promo-strip-label {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.82rem;
    white-space: nowrap;
}
.promo-strip-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
}
.promo-strip-cta {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}
.promo-strip--blue .promo-strip-cta { color: var(--accent); }
.promo-strip--green .promo-strip-cta { color: var(--green); }

/* ── Gate Gradient Animations ── */
@keyframes gate-gradient-blue {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes gate-gradient-purple {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes gate-fade-in {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}
.gate-gradient {
    position: relative;
    animation: gate-fade-in 0.5s ease both;
}
.gate-gradient--blue {
    background: linear-gradient(135deg, rgba(59,130,246,0.18), var(--bg-surface), rgba(37,99,235,0.12), rgba(59,130,246,0.08), var(--bg-surface));
    background-size: 400% 400%;
    animation: gate-fade-in 0.5s ease both, gate-gradient-blue 6s ease infinite;
    border: 1px solid rgba(59,130,246,0.25);
}
.gate-gradient--purple {
    background: linear-gradient(135deg, rgba(139,92,246,0.18), var(--bg-surface), rgba(109,40,217,0.12), rgba(139,92,246,0.08), var(--bg-surface));
    background-size: 400% 400%;
    animation: gate-fade-in 0.5s ease both, gate-gradient-purple 6s ease infinite;
    border: 1px solid rgba(139,92,246,0.25);
}

/* ── Flash Messages ── */
.flash-messages { max-width: 800px; margin: 1rem auto; padding: 0 1.5rem; }
.flash {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
    border: 1px solid;
}
.flash-error { background: var(--red-dim); color: var(--red); border-color: rgba(239,68,68,0.2); }
.flash-success { background: var(--green-dim); color: var(--green); border-color: rgba(34,197,94,0.2); }
.flash-info { background: rgba(59,130,246,0.1); color: var(--accent); border-color: rgba(59,130,246,0.2); }

/* ── Footer ── */
.footer {
    padding: 2rem 1.5rem;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 4rem;
    border-top: 1px solid var(--border);
}
.footer a { color: var(--text-muted); }
.footer-inner p { margin-bottom: 0.25rem; }

/* ── Autocomplete ── */
.autocomplete-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 200;
    max-height: 400px;
    overflow-y: auto;
}
.autocomplete-item {
    display: block;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background 0.1s;
}
.autocomplete-item:hover, .autocomplete-item.active { background: var(--bg-hover); text-decoration: none; }
.autocomplete-item:last-child { border-bottom: none; }
.ac-name { display: block; font-weight: 600; font-size: 0.9rem; color: var(--text); }
.ac-meta {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 2px;
}

/* ── Ad Layout (three-column with sticky sidebars) ── */
.ads-layout {
    display: grid;
    grid-template-columns: 160px 1fr 160px;
    gap: 1rem;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 1rem;
}

.ads-layout .carrier-page {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.ad-rail {
    padding-top: 2rem;
}

.ad-sticky {
    position: sticky;
    top: 72px; /* 56px nav + 16px gap */
}

/* ── Responsive ── */
@media (max-width: 1199px) {
    .ads-layout {
        grid-template-columns: 1fr;
        max-width: 960px;
    }
    .ad-rail {
        display: none;
    }
    .ads-layout .carrier-page {
        max-width: 1320px;
    }
}
@media (max-width: 768px) {
    body { font-size: 15px; }
    .hero h1 { font-size: 2rem; }
    .value-props, .pricing-grid { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr 1fr; }
    .info-grid--auto { grid-template-columns: 1fr 1fr; }
    .info-grid--two { grid-template-columns: 1fr 1fr; }
    .info-grid--three { grid-template-columns: 1fr 1fr 1fr; }
    .search-form { flex-direction: column; }
    .search-input { border-radius: var(--radius); border-right: 1px solid var(--border); }
    .search-btn { border-radius: var(--radius); }
    .safety-metric .label { flex: 0 0 100px; font-size: 0.7rem; }
    .safety-metric { gap: 8px; }
    .carrier-hero,
    .carrier-layout-grid,
    .section-split,
    .analytics-grid,
    .carrier-product-grid {
        grid-template-columns: 1fr;
    }
    .carrier-hero-main { padding: 1.5rem; }
    .carrier-hero-main h1 { font-size: 1.8rem; max-width: none; }
    .carrier-subtitle { font-size: 0.95rem; }
    .carrier-hero-head,
    .carrier-section-head,
    .carrier-inline-cta,
    .carrier-hero-note {
        flex-direction: column;
        align-items: flex-start;
    }
    .carrier-badge-row { justify-content: flex-start; }
    .section-note { text-align: left; max-width: none; }
    .metric-shelf,
    .carrier-summary-grid,
    .unlock-feature-grid {
        grid-template-columns: 1fr 1fr;
    }
    .carrier-section { padding: 1.25rem; }
    .carrier-panel { padding: 1rem; }
    .carrier-section-head h2 { font-size: 1.2rem; }
    .summary-value { font-size: 1.35rem; }
    .chart-frame { height: 300px; }
    .chart-frame--square { min-height: 260px; }
    .nearby-grid { grid-template-columns: 1fr 1fr; }
    .data-table { font-size: 0.82rem; }
    .data-table th, .data-table td { padding: 0.5rem 0.4rem; }
    .access-card { padding: 1.25rem; }
    .access-card h2 { font-size: 1.1rem; }
    .access-actions { flex-direction: column; }
    .access-actions .btn { width: 100%; text-align: center; }
    .carrier-page--wide { padding: 1.5rem 1.25rem; }
    .carrier-link-row { flex-wrap: wrap; }
    .promo-card { padding: 1.25rem; }
    .promo-title { font-size: 1.1rem; }
    .nav-inner { height: 48px; }
    .nav-logo { font-size: 0.85rem; }
    .nav-links { gap: 0.6rem; font-size: 0.82rem; }
    .promo-topbar { font-size: 0.72rem; padding: 6px 0.75rem; }
    .footer-inner { padding: 1.5rem 1rem; }
    .legal-page { padding: 1.5rem 1rem; }
    .legal-page h1 { font-size: 1.5rem; }
    .auth-page { margin: 2rem auto; padding: 0 1rem; }
    .pricing-grid { gap: 1rem; }
    .plan { padding: 1.25rem; }
    .plan .price { font-size: 2rem; }
    .copy-block p, .copy-block strong { font-size: 0.88rem; }
    .dense-row { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
    .dense-row__right { justify-content: flex-start; }
}
@media (max-width: 480px) {
    .info-grid,
    .info-grid--auto,
    .info-grid--two,
    .info-grid--three { grid-template-columns: 1fr; }
    .carrier-header h1 { font-size: 1.3rem; }
    .detail-links { flex-direction: column; }
    .detail-links .btn { width: 100%; text-align: center; }
    .metric-shelf,
    .carrier-summary-grid,
    .unlock-feature-grid,
    .info-grid--compact {
        grid-template-columns: 1fr;
    }
    .carrier-page, .carrier-page--wide { padding: 1rem 0.75rem; }
    .carrier-hero-main h1 { font-size: 1.5rem; }
    .carrier-hero-sidebar { padding: 1rem; }
    .summary-value { font-size: 1.2rem; }
    .summary-card { min-height: 85px; padding: 0.85rem; }
    .carrier-meta-strip { gap: 0.35rem; }
    .carrier-meta-pill { font-size: 0.7rem; padding: 0.3rem 0.6rem; }
    .hero-chip { font-size: 0.65rem; padding: 0.25rem 0.6rem; }
    .chart-frame { height: 250px; }
    .nearby-grid { grid-template-columns: 1fr; }
    .carrier-product-grid { gap: 0.75rem; }
    .section-kicker, .panel-kicker { font-size: 0.7rem; }
    .label { font-size: 0.7rem; }
    .value { font-size: 1rem; }
}
