 :root {
    --bg: #0f0f0f;
    --text: #ffffff;
    --muted: #b8b8b8;
    --surface: #181818;
    --surface-strong: #222222;
    --border: #303030;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.7;
}
.topbar {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    min-height: 76px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: var(--text);
    text-decoration: none;
}

.logo .accent { opacity: 0.9; }
.links {
    display: flex;
    gap: 8px;
    font-weight: 700;
}

.links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.97rem;
    padding: 10px 18px;
    border-radius: 999px;
    transition: all 0.2s;
}

.links a:hover,
.links a.active {
    background: var(--text);
    color: var(--bg);
}
.hero {
    padding: 4.5rem 5% 3rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.hero p {
    color: var(--muted);
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto;
}
main { 
    max-width: 1280px; 
    margin: 0 auto; 
    padding: 3rem 5% 5rem; 
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.search-box input {
    width: 100%;
    max-width: 560px;
    padding: 1.2rem 1.8rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9999px;
    color: var(--text);
    font-size: 1.1rem;
}

.search-box input:focus { 
    outline: none; 
    border-color: #ffffff; 
}

.county-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.75rem 1.7rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9999px;
    color: var(--muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--text);
    color: var(--bg);
}
.table-container {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}

table { 
    width: 100%; 
    border-collapse: collapse; 
}

th {
    background: var(--surface-strong);
    padding: 1.4rem 1.6rem;
    text-align: left;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    font-size: 0.83rem;
    letter-spacing: 0.6px;
}

td {
    padding: 1.4rem 1.6rem;
    border-top: 1px solid var(--border);
}

.freq {
    font-family: monospace;
    color: var(--text);
    font-size: 1.32rem;
    font-weight: 700;
}

tr:hover { 
    background: var(--surface-strong); 
}
footer {
    text-align: center;
    padding: 4rem 5% 3rem;
    color: var(--muted);
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .links a { padding: 8px 12px; font-size: 0.9rem; }
}
