@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --void-black: #0f0f0f;
    --pure-black: #000000;
    --charcoal: #2c2c2c;
    --pure-white: #ffffff;
    --ghost-white: rgba(255,255,255,0.6);
    --whisper-white: rgba(255,255,255,0.5);
    --phantom-white: rgba(255,255,255,0.2);
    --cobalt: #0007cd;
    --cyan: #00ffff;
    --signal-blue: #0089ff;
    --ocean-blue: #0096ff;
    --border-12: rgba(255,255,255,0.12);
    --border-10: rgba(255,255,255,0.10);
    --border-08: rgba(255,255,255,0.08);
    --border-06: rgba(255,255,255,0.06);
    --border-04: rgba(255,255,255,0.04);
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--void-black);
    color: var(--pure-white);
    font-family: 'abcDiatype', 'abcDiatype Fallback', ui-sans-serif, system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--void-black);
    border-bottom: 1px solid var(--border-06);
    padding: 16px 0;
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav__logo {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 16px;
    font-weight: 400;
    color: var(--pure-white);
    letter-spacing: -0.32px;
    white-space: nowrap;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__links a {
    font-size: 15px;
    color: var(--ghost-white);
    transition: color 0.2s;
}

.nav__links a:hover { color: var(--pure-white); }

.nav__cta {
    background: var(--pure-white);
    color: oklch(0.145 0 0) !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.nav__cta:hover { opacity: 0.9; }

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.nav__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--pure-white);
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(0,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero__overline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--ghost-white);
    margin-bottom: 24px;
}

.hero__title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    line-height: 0.87;
    color: var(--pure-white);
    margin-bottom: 28px;
    max-width: 800px;
}

.hero__title span {
    color: var(--cyan);
    opacity: 0.85;
}

.hero__desc {
    font-size: 18px;
    color: var(--ghost-white);
    line-height: 1.6;
    max-width: 580px;
    margin-bottom: 40px;
}

.hero__meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--ghost-white);
    letter-spacing: 0.3px;
}

/* ===== SECTION LAYOUT ===== */
.section {
    padding: 80px 0;
    border-top: 1px solid var(--border-06);
}

.section__label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--ghost-white);
    margin-bottom: 16px;
}

.section__title {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 400;
    line-height: 1.0;
    color: var(--pure-white);
    margin-bottom: 16px;
}

.section__desc {
    font-size: 16px;
    color: var(--ghost-white);
    line-height: 1.5;
    max-width: 600px;
}

/* ===== ARTICLES GRID ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-08);
    border: 1px solid var(--border-08);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 48px;
}

.article-card {
    background: var(--pure-black);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: background 0.2s;
    position: relative;
}

.article-card:hover { background: #0a0a0a; }

.article-card__tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--ghost-white);
}

.article-card__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid var(--border-08);
}

.article-card__title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--pure-white);
}

.article-card__excerpt {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.63;
    flex: 1;
}

.article-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--signal-blue);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.28px;
    transition: color 0.2s;
}

.article-card__link:hover { color: var(--cyan); }
.article-card__link::after { content: '→'; }

/* ===== DISTRICTS SECTION ===== */
.districts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border-06);
    border: 1px solid var(--border-06);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 48px;
}

.district-card {
    background: var(--pure-black);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background 0.2s;
}

.district-card:hover { background: #070707; }

.district-card__name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--cyan);
    opacity: 0.75;
}

.district-card__title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--pure-white);
}

.district-card__stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.district-card__stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.district-card__stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    font-weight: 400;
    color: var(--pure-white);
}

.district-card__stat-label {
    font-size: 12px;
    color: var(--ghost-white);
    letter-spacing: 0.3px;
}

.district-card__desc {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.63;
}

/* ===== CONTACT FORM ===== */
.contact-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-06);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-top: 48px;
    align-items: start;
}

.contact-info__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-06);
}

.contact-info__label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--ghost-white);
}

.contact-info__value {
    font-size: 15px;
    color: var(--pure-white);
}

.contact-info__value a { transition: color 0.2s; }
.contact-info__value a:hover { color: var(--signal-blue); }

.form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form__label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--ghost-white);
}

.form__input {
    background: transparent;
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 12px 14px;
    color: var(--pure-white);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
}

.form__input::placeholder { color: var(--whisper-white); }
.form__input:focus { border-color: var(--signal-blue); }

.form__btn {
    background: var(--pure-white);
    color: oklch(0.145 0 0);
    border: none;
    border-radius: 4px;
    padding: 12px 28px;
    font-size: 15px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    align-self: flex-start;
    margin-top: 4px;
}

.form__btn:hover { opacity: 0.9; }

/* ===== ARTICLE PAGE ===== */
.article-header {
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--border-06);
}

.article-header__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--ghost-white);
}

.article-header__breadcrumb a:hover { color: var(--pure-white); }
.article-header__breadcrumb span { opacity: 0.4; }

.article-header__tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--ghost-white);
    margin-bottom: 16px;
}

.article-header__title {
    font-size: clamp(28px, 4vw, 56px);
    font-weight: 400;
    line-height: 0.95;
    color: var(--pure-white);
    margin-bottom: 24px;
    max-width: 900px;
}

.article-header__meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.article-header__meta-item {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--ghost-white);
    letter-spacing: 0.3px;
}

.article-body {
    padding: 60px 0 80px;
}

.article-content {
    max-width: 760px;
}

.article-content p {
    font-size: 16px;
    color: var(--ghost-white);
    line-height: 1.75;
    margin-bottom: 24px;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--pure-white);
    margin: 48px 0 16px;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--pure-white);
    margin: 32px 0 12px;
}

.article-content ul {
    list-style: none;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-content ul li {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.63;
    padding-left: 20px;
    position: relative;
}

.article-content ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--ghost-white);
    opacity: 0.4;
    font-family: 'JetBrains Mono', monospace;
}

.article-content a {
    color: var(--signal-blue);
    text-decoration: underline;
    text-decoration-color: rgba(0,137,255,0.3);
    transition: color 0.2s;
}

.article-content a:hover { color: var(--cyan); }

.article-img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--border-08);
    margin: 32px 0;
}

.article-img-caption {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--ghost-white);
    opacity: 0.6;
    margin-top: -24px;
    margin-bottom: 32px;
}

.info-box {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-left: 2px solid var(--signal-blue);
    border-radius: 4px;
    padding: 20px 24px;
    margin: 32px 0;
}

.info-box p {
    margin-bottom: 0 !important;
    font-size: 14px !important;
}

/* ===== RELATED ARTICLES ===== */
.related-articles {
    padding: 60px 0;
    border-top: 1px solid var(--border-06);
}

.related-articles__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border-06);
    border: 1px solid var(--border-06);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 32px;
}

.related-card {
    background: var(--pure-black);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: background 0.2s;
}

.related-card:hover { background: #080808; }

.related-card__tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--ghost-white);
}

.related-card__title {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--pure-white);
}

.related-card__link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--signal-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.related-card__link::after { content: '→'; }
.related-card__link:hover { color: var(--cyan); }

/* ===== STATIC PAGES ===== */
.page-header {
    padding: 80px 0 48px;
    border-bottom: 1px solid var(--border-06);
}

.page-header__title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 400;
    line-height: 1.0;
    color: var(--pure-white);
}

.page-header__updated {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--ghost-white);
    margin-top: 16px;
}

.page-body {
    padding: 60px 0 80px;
    max-width: 760px;
}

.page-body h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--pure-white);
    margin: 40px 0 12px;
}

.page-body h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--pure-white);
    margin: 28px 0 10px;
}

.page-body p {
    font-size: 15px;
    color: var(--ghost-white);
    line-height: 1.75;
    margin-bottom: 20px;
}

.page-body ul {
    list-style: none;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.page-body ul li {
    font-size: 15px;
    color: var(--ghost-white);
    padding-left: 20px;
    position: relative;
}

.page-body ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    opacity: 0.4;
}

.page-body a { color: var(--signal-blue); }
.page-body a:hover { color: var(--cyan); }

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    margin-top: 48px;
    align-items: start;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border-06);
    border: 1px solid var(--border-06);
    border-radius: 4px;
    overflow: hidden;
}

.about-stat {
    background: var(--pure-black);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.about-stat__value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 32px;
    color: var(--pure-white);
}

.about-stat__label {
    font-size: 13px;
    color: var(--ghost-white);
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border-06);
    padding: 60px 0 40px;
    margin-top: 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__brand {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    color: var(--pure-white);
    margin-bottom: 12px;
}

.footer__tagline {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.63;
    margin-bottom: 16px;
}

.footer__col-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--ghost-white);
    margin-bottom: 16px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a {
    font-size: 14px;
    color: var(--ghost-white);
    transition: color 0.2s;
}

.footer__links a:hover { color: var(--pure-white); }

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 28px;
    border-top: 1px solid var(--border-06);
    flex-wrap: wrap;
    gap: 16px;
}

.footer__copyright {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--ghost-white);
}

.footer__legal {
    display: flex;
    gap: 20px;
}

.footer__legal a {
    font-size: 12px;
    color: var(--ghost-white);
    transition: color 0.2s;
}

.footer__legal a:hover { color: var(--pure-white); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 700px;
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 200;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    flex-wrap: wrap;
}

.cookie-banner__text {
    font-size: 13px;
    color: var(--ghost-white);
    line-height: 1.5;
    flex: 1;
    min-width: 200px;
}

.cookie-banner__text a { color: var(--signal-blue); }

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn--accept {
    background: var(--pure-white);
    color: oklch(0.145 0 0);
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 13px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cookie-btn--accept:hover { opacity: 0.9; }

.cookie-btn--reject {
    background: transparent;
    color: var(--ghost-white);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.cookie-btn--reject:hover {
    border-color: var(--border-12);
    color: var(--pure-white);
}

.hidden { display: none !important; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--ghost-white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-04);
}

.breadcrumb a:hover { color: var(--pure-white); }
.breadcrumb__sep { opacity: 0.4; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .articles-grid { grid-template-columns: 1fr 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav__links { display: none; }
    .nav__hamburger { display: flex; }
    .nav__links.is-open {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--void-black);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 90;
    }
    .nav__links.is-open a { font-size: 20px; }
    .hero { padding: 60px 0 50px; }
    .articles-grid { grid-template-columns: 1fr; }
    .districts-grid { grid-template-columns: 1fr; }
    .related-articles__grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .section { padding: 56px 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .cookie-banner { bottom: 16px; left: 16px; right: 16px; width: auto; transform: none; }
}
