@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);
    --muted-smoke: #444444;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--void-black);
    color: var(--pure-white);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--void-black);
    border-bottom: 1px solid var(--border-08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 32px;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 500;
    color: var(--pure-white);
    letter-spacing: -0.28px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.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;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.nav-cta:hover {
    opacity: 0.88;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--pure-white);
    border-radius: 2px;
    transition: 0.3s;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border-08);
    background: var(--void-black);
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile a {
    padding: 14px 24px;
    font-size: 15px;
    color: var(--ghost-white);
    border-bottom: 1px solid var(--border-04);
    transition: color 0.2s;
}

.nav-mobile a:hover {
    color: var(--pure-white);
}

.hero {
    padding: 96px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(0,255,255,0.07) 0%, transparent 65%);
    pointer-events: none;
}

.hero-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--cyan);
    border: 1px solid rgba(0,255,255,0.3);
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    line-height: 0.87;
    color: var(--pure-white);
    max-width: 820px;
    margin-bottom: 28px;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.5;
    color: var(--ghost-white);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-10);
    margin-top: 56px;
}

.section {
    padding: 80px 0;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: var(--ghost-white);
    margin-bottom: 16px;
}

.section-heading {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 400;
    line-height: 1.0;
    color: var(--pure-white);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 16px;
    color: var(--ghost-white);
    max-width: 560px;
    line-height: 1.5;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.article-card {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.25s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    border-color: var(--border-12);
    box-shadow: 4px 4px 0px 0px rgba(0,0,0,0.15);
}

.article-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    color: var(--ghost-white);
    margin-bottom: 12px;
}

.article-card h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--pure-white);
    margin-bottom: 12px;
}

.article-card p {
    font-size: 14px;
    line-height: 1.63;
    color: var(--ghost-white);
    flex: 1;
    margin-bottom: 20px;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--signal-blue);
    border: 1px solid var(--signal-blue);
    padding: 7px 14px;
    border-radius: 4px;
    width: fit-content;
    transition: background 0.2s;
}

.article-link:hover {
    background: rgba(0,137,255,0.1);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.info-card {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 28px;
}

.info-card-icon {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 14px;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--pure-white);
    margin-bottom: 12px;
}

.info-card p {
    font-size: 14px;
    line-height: 1.63;
    color: var(--ghost-white);
}

.info-card ul {
    list-style: none;
    margin-top: 12px;
}

.info-card ul li {
    font-size: 14px;
    color: var(--ghost-white);
    padding: 6px 0;
    border-bottom: 1px solid var(--border-04);
    line-height: 1.5;
}

.info-card ul li:last-child {
    border-bottom: none;
}

.info-card ul li::before {
    content: '—';
    color: var(--muted-smoke);
    margin-right: 8px;
    font-family: var(--font-mono);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-08);
    border: 1px solid var(--border-08);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 48px;
}

.stat-item {
    background: var(--void-black);
    padding: 32px 24px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 40px;
    font-weight: 400;
    color: var(--pure-white);
    letter-spacing: -0.32px;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--ghost-white);
    line-height: 1.4;
}

.divider {
    height: 1px;
    background: var(--border-06);
}

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 500;
    color: var(--pure-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-row-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    color: var(--ghost-white);
}

.contact-row-value {
    font-size: 15px;
    color: var(--pure-white);
}

.contact-row-value a {
    color: var(--signal-blue);
    transition: opacity 0.2s;
}

.contact-row-value a:hover {
    opacity: 0.8;
}

.contact-form {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 32px;
}

.contact-form h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--pure-white);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--ghost-white);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 15px;
    color: var(--pure-white);
    font-family: var(--font-sans);
    transition: border-color 0.2s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--whisper-white);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--signal-blue);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    background: var(--pure-white);
    color: oklch(0.145 0 0);
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: var(--font-sans);
}

.form-submit:hover {
    opacity: 0.88;
}

.form-success {
    display: none;
    padding: 12px 16px;
    background: rgba(0,255,255,0.08);
    border: 1px solid rgba(0,255,255,0.25);
    border-radius: 4px;
    font-size: 14px;
    color: var(--cyan);
    margin-top: 14px;
    text-align: center;
}

footer {
    padding: 48px 0 32px;
    border-top: 1px solid var(--border-06);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand-name {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--pure-white);
    letter-spacing: -0.28px;
    margin-bottom: 12px;
}

.footer-brand-desc {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.63;
    max-width: 280px;
}

.footer-col-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--pure-white);
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul a {
    font-size: 14px;
    color: var(--ghost-white);
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--pure-white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-04);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 13px;
    color: var(--ghost-white);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 13px;
    color: var(--ghost-white);
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--pure-white);
}

.article-page {
    padding: 64px 0 96px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.article-meta-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    color: var(--cyan);
    border: 1px solid rgba(0,255,255,0.3);
    padding: 3px 8px;
    border-radius: 2px;
}

.article-meta-date {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ghost-white);
    letter-spacing: -0.28px;
}

.article-page h1 {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 400;
    line-height: 0.9;
    color: var(--pure-white);
    margin-bottom: 28px;
    max-width: 820px;
}

.article-intro {
    font-size: 18px;
    color: var(--ghost-white);
    line-height: 1.5;
    max-width: 680px;
    margin-bottom: 48px;
}

.article-hero-img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-10);
    margin-bottom: 56px;
}

.article-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--pure-white);
    margin: 40px 0 16px;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--pure-white);
    margin: 28px 0 12px;
}

.article-content p {
    font-size: 15px;
    line-height: 1.63;
    color: var(--ghost-white);
    margin-bottom: 18px;
}

.article-content ul,
.article-content ol {
    margin: 14px 0 18px 0;
    padding-left: 0;
    list-style: none;
}

.article-content ul li,
.article-content ol li {
    font-size: 15px;
    line-height: 1.63;
    color: var(--ghost-white);
    padding: 7px 0 7px 20px;
    border-bottom: 1px solid var(--border-04);
    position: relative;
}

.article-content ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--muted-smoke);
    font-family: var(--font-mono);
}

.article-content ol {
    counter-reset: item;
}

.article-content ol li::before {
    counter-increment: item;
    content: counter(item) '.';
    position: absolute;
    left: 0;
    color: var(--muted-smoke);
    font-family: var(--font-mono);
    font-size: 13px;
}

.article-content a {
    color: var(--signal-blue);
    text-decoration: underline;
    text-decoration-color: rgba(0,137,255,0.4);
    transition: text-decoration-color 0.2s;
}

.article-content a:hover {
    text-decoration-color: var(--signal-blue);
}

.note-box {
    background: rgba(0,255,255,0.05);
    border: 1px solid rgba(0,255,255,0.15);
    border-radius: 4px;
    padding: 20px 24px;
    margin: 24px 0;
}

.note-box-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 8px;
}

.note-box p {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.63;
    margin: 0;
}

.sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: var(--pure-black);
    border: 1px solid var(--border-10);
    border-radius: 4px;
    padding: 24px;
}

.sidebar-card-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--pure-white);
    margin-bottom: 14px;
}

.sidebar-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-card ul li a {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.5;
    transition: color 0.2s;
}

.sidebar-card ul li a:hover {
    color: var(--pure-white);
}

.sidebar-ref {
    font-size: 13px;
    color: var(--ghost-white);
    line-height: 1.5;
    border-bottom: 1px solid var(--border-04);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.sidebar-ref:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-ref a {
    color: var(--signal-blue);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.breadcrumb a {
    font-size: 13px;
    color: var(--ghost-white);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--pure-white);
}

.breadcrumb-sep {
    font-size: 13px;
    color: var(--muted-smoke);
}

.breadcrumb-current {
    font-size: 13px;
    color: var(--ghost-white);
}

.page-simple {
    padding: 64px 0 96px;
    max-width: 820px;
}

.page-simple h1 {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 400;
    line-height: 1.0;
    color: var(--pure-white);
    margin-bottom: 24px;
}

.page-simple h2 {
    font-size: 24px;
    font-weight: 500;
    color: var(--pure-white);
    margin: 36px 0 14px;
    line-height: 1.2;
}

.page-simple p {
    font-size: 15px;
    line-height: 1.63;
    color: var(--ghost-white);
    margin-bottom: 16px;
}

.page-simple ul {
    list-style: none;
    margin: 12px 0 18px;
}

.page-simple ul li {
    font-size: 15px;
    color: var(--ghost-white);
    padding: 6px 0 6px 20px;
    position: relative;
    border-bottom: 1px solid var(--border-04);
    line-height: 1.5;
}

.page-simple ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--muted-smoke);
    font-family: var(--font-mono);
}

.page-simple a {
    color: var(--signal-blue);
}

.updated-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ghost-white);
    letter-spacing: -0.28px;
    margin-bottom: 32px;
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: var(--pure-black);
    border: 1px solid var(--border-12);
    border-radius: 4px;
    padding: 20px 24px;
    max-width: 580px;
    width: calc(100% - 48px);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0px 8px 32px rgba(0,0,0,0.5);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-text {
    font-size: 14px;
    color: var(--ghost-white);
    line-height: 1.5;
    flex: 1;
}

.cookie-text a {
    color: var(--signal-blue);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    align-items: center;
}

.cookie-accept {
    background: var(--pure-white);
    color: oklch(0.145 0 0);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: opacity 0.2s;
}

.cookie-accept:hover {
    opacity: 0.88;
}

.cookie-reject {
    background: transparent;
    color: var(--ghost-white);
    border: 1px solid var(--charcoal);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: border-color 0.2s, color 0.2s;
}

.cookie-reject:hover {
    border-color: var(--ghost-white);
    color: var(--pure-white);
}

@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-body {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner {
        flex-direction: column;
    }

    .cookie-buttons {
        align-self: flex-end;
    }

    .hero h1 {
        line-height: 0.95;
    }
}

@media (max-width: 480px) {
    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        padding: 64px 0 56px;
    }

    .section {
        padding: 56px 0;
    }
}
