:root {
    --bg-dark: #050816;
    --bg-card: #0b1020;
    --accent: #facc15;
    --accent-soft: rgba(250, 204, 21, 0.12);
    --border-subtle: rgba(148, 163, 184, 0.35);
    --text-main: #e5e7eb;
    --text-soft: #9ca3af;
    --text-muted: #6b7280;
    --link: #bfdbfe;
    --link-hover: #facc15;
    --radius-xl: 18px;
    --shadow-soft: 0 22px 60px rgba(15, 23, 42, 0.9);
    --max-width: 1120px;
}

/* Reset-ish */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at top left, #1d4ed8 0, transparent 55%),
        radial-gradient(circle at bottom right, #4c1d95 0, transparent 55%),
        var(--bg-dark);
}

body {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

/* Layout */

.page-wrap {
    width: 100%;
    max-width: var(--max-width);
    padding: 32px 16px 64px;
    margin: 0 auto;
}

.card {
    background:
        radial-gradient(circle at top, rgba(148, 163, 184, 0.12) 0, transparent 65%),
        var(--bg-card);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.3);
    padding: 32px 20px 32px;
}

@media (min-width: 768px) {
    .card {
        padding: 40px 40px 44px;
    }
}

/* Hero */

.badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-soft);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.2);
}

.badge-sub {
    font-size: 11px;
    color: var(--text-muted);
}

/* 60px between major sections */
.section {
    padding-top: 60px;
}

.hero {
    display: grid;
    gap: 18px;
}

@media (min-width: 768px) {
    .hero {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
        gap: 24px;
        align-items: center;
    }
}

.hero-title {
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin: 0 0 10px;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
}

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 14px;
    color: var(--text-soft);
    max-width: 640px;
    margin-bottom: 14px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.hero-meta span {
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.9);
}

.hero-highlight {
    border-radius: 18px;
    padding: 16px 16px 14px;
    background:
        radial-gradient(circle at top left, rgba(250, 204, 21, 0.18) 0, transparent 60%),
        var(--accent-soft);
    border: 1px solid rgba(250, 204, 21, 0.45);
    font-size: 12px;
    color: #fef9c3;
}

.hero-highlight strong {
    color: #facc15;
}

.hero-highlight p {
    margin: 0 0 6px;
}

.hero-highlight small {
    display: block;
    color: #e5e7eb;
    opacity: 0.9;
}

.hero-right {
    border-radius: 18px;
    padding: 16px 16px 14px;
    border: 1px dashed var(--border-subtle);
    background:
        radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.14) 0, transparent 65%),
        rgba(15, 23, 42, 0.9);
    font-size: 12px;
    color: var(--text-soft);
}

.hero-right h2 {
    margin: 0 0 8px;
    font-size: 14px;
    color: var(--text-main);
}

.hero-right ul {
    margin: 0 0 8px 18px;
    padding: 0;
}

.hero-right li {
    margin-bottom: 4px;
}

/* Links */

a {
    color: var(--link);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover);
}

/* Section headers */

.section-header {
    margin-bottom: 18px;
}

.section-title {
    font-size: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 4px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-soft);
    margin: 0;
}

/* Directory grid */

.directory-grid-wrapper {
    border-radius: 18px;
    border: 1px solid var(--border-subtle);
    background: rgba(15, 23, 42, 0.9);
    padding: 18px 16px;
}

@media (min-width: 768px) {
    .directory-grid-wrapper {
        padding: 22px 22px 20px;
    }
}

.directory-section-title {
    font-size: 15px;
    margin: 0 0 10px;
    color: var(--text-main);
}

.directory-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px 16px;
    font-size: 14px;
}

@media (min-width: 600px) {
    .directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .directory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.directory-link-group {
    margin-bottom: 14px;
}

.directory-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin: 0 0 8px;
}

.directory-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: rgba(15, 23, 42, 0.9);
    transition:
        border-color 0.15s ease,
        background-color 0.15s ease,
        color 0.15s ease,
        transform 0.1s ease;
    font-size: 13px;
    margin-bottom: 6px;
}

.directory-link span.icon {
    font-size: 10px;
    opacity: 0.8;
}

.directory-link:hover {
    border-color: rgba(250, 204, 21, 0.6);
    background: rgba(30, 64, 175, 0.9);
    color: var(--accent);
    transform: translateY(-1px);
}

/* CTA footer */

.cta-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    margin-top: 28px;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .cta-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(250, 204, 21, 0.7);
    background: rgba(15, 23, 42, 0.95);
    color: #fef9c3;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
}

.cta-pill span.icon {
    font-size: 13px;
}

.cta-pill:hover {
    background: rgba(30, 64, 175, 1);
    color: #fefce8;
}

/* City-page specific helpers */

.city-hero-title {
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin: 0 0 10px;
}

@media (min-width: 768px) {
    .city-hero-title {
        font-size: 32px;
    }
}

.city-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .city-grid {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
        align-items: flex-start;
    }
}

.city-panel {
    border-radius: 18px;
    padding: 18px 16px;
    border: 1px solid var(--border-subtle);
    background: rgba(15, 23, 42, 0.9);
    font-size: 14px;
}

.city-panel h2 {
    margin: 0 0 10px;
    font-size: 16px;
}

.city-panel h3 {
    margin: 18px 0 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.city-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.city-list li {
    margin-bottom: 8px;
}

.city-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px dashed var(--border-subtle);
    font-size: 12px;
    color: var(--text-soft);
    background: rgba(15, 23, 42, 0.95);
}

.city-pill span.icon {
    font-size: 11px;
}
