
        :root {
            --bg: #0b1220;
            --panel: rgba(15, 27, 51, 0.82);
            --text: #e5e7eb;
            --muted: #9ca3af;
            --border: rgba(255, 255, 255, 0.08);
            --blue: #3b82f6;
            --green: #10b981;
            --white: #f8fafc;
        }

        * { box-sizing: border-box; }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: var(--header-offset, 96px);
        }

        body {
            margin: 0;
            font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
            color: var(--text);
            background:
                radial-gradient(1200px 720px at 10% 0%, rgba(59, 130, 246, 0.18), transparent 45%),
                radial-gradient(960px 640px at 100% 10%, rgba(16, 185, 129, 0.16), transparent 50%),
                linear-gradient(180deg, #08111f 0%, #0b1220 100%);
            line-height: 1.6;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        button {
            font: inherit;
        }

        .container {
            width: min(1120px, calc(100% - 32px));
            margin: 0 auto;
        }

        .site-header {
            position: sticky;
            top: 0;
            z-index: 20;
            backdrop-filter: blur(14px);
            background: rgba(8, 17, 31, 0.72);
            border-bottom: 1px solid var(--border);
        }

        .site-header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            padding: 14px 0;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 14px;
            min-width: 0;
        }

        .brand-mark {
            width: 44px;
            height: 44px;
            border-radius: 14px;
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(16, 185, 129, 0.9));
            display: grid;
            place-items: center;
            font-weight: 800;
            color: var(--white);
            letter-spacing: 0.04em;
            box-shadow: 0 12px 30px rgba(16, 185, 129, 0.18);
            flex-shrink: 0;
        }

        .brand-copy {
            display: flex;
            flex-direction: column;
            gap: 2px;
            min-width: 0;
        }

        .brand-title {
            font-size: 18px;
            font-weight: 700;
        }

        .brand-subtitle {
            font-size: 12px;
            color: var(--muted);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 16px;
            min-width: 0;
        }

        .nav {
            display: flex;
            align-items: center;
            gap: 16px;
            color: var(--muted);
            font-size: 13px;
            flex-wrap: wrap;
        }

        .nav-link {
            position: relative;
            padding: 8px 0;
            color: rgba(229, 231, 235, 0.72);
            transition: color 0.15s ease;
        }

        .nav-link::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -2px;
            height: 2px;
            border-radius: 999px;
            background: linear-gradient(135deg, var(--blue), var(--green));
            opacity: 0;
            transform: scaleX(0.3);
            transition: opacity 0.2s ease, transform 0.2s ease;
        }

        .nav-link:hover,
        .nav-link.active {
            color: var(--text);
        }

        .nav-link.active::after,
        .nav-link:hover::after {
            opacity: 1;
            transform: scaleX(1);
        }

        .lang-switcher {
            display: inline-flex;
            align-items: center;
            gap: 2px;
            padding-left: 14px;
            margin-left: 2px;
            border-left: 1px solid rgba(255, 255, 255, 0.08);
        }

        .lang-option {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            padding: 7px 9px 9px;
            border-radius: 10px;
            border: 0;
            background: transparent;
            color: var(--muted);
            cursor: pointer;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            position: relative;
            transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
        }

        .lang-option:hover {
            background: rgba(255, 255, 255, 0.04);
            color: var(--text);
        }

        .lang-option.active {
            background: rgba(255, 255, 255, 0.05);
            color: var(--white);
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
        }

        .lang-option.active::after {
            content: "";
            position: absolute;
            left: 9px;
            right: 9px;
            bottom: 4px;
            height: 2px;
            border-radius: 999px;
            background: linear-gradient(135deg, var(--blue), var(--green));
        }

        .lang-option:focus-visible {
            outline: 0;
            color: var(--white);
            background: rgba(255, 255, 255, 0.04);
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
        }

        a.lang-option {
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            box-sizing: border-box;
        }

        .hero {
            padding: 84px 0 56px;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 28px;
            align-items: stretch;
        }

        .hero-card,
        .panel,
        .faq-item {
            background: var(--panel);
            border: 1px solid var(--border);
            border-radius: 24px;
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
        }

        .hero-main {
            padding: 34px;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 12px;
            border-radius: 999px;
            background: rgba(59, 130, 246, 0.12);
            color: #bfdbfe;
            border: 1px solid rgba(59, 130, 246, 0.2);
            font-size: 13px;
            margin-bottom: 18px;
        }

        h1, h2, h3 {
            margin: 0;
            line-height: 1.15;
        }

        .hero-main h1 {
            font-size: clamp(38px, 6vw, 62px);
            margin-bottom: 16px;
        }

        .hero-main h1 .accent {
            background: linear-gradient(135deg, #93c5fd, #6ee7b7);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .hero-line {
            font-size: clamp(20px, 3vw, 28px);
            color: var(--white);
            margin-bottom: 10px;
        }

        .hero-subline {
            font-size: 18px;
            color: #cbd5e1;
            margin-bottom: 16px;
        }

        .hero-desc {
            color: var(--muted);
            font-size: 16px;
            max-width: 680px;
            margin-bottom: 26px;
        }

        .cta-row {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 24px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 138px;
            padding: 12px 18px;
            border-radius: 14px;
            font-weight: 600;
            border: 1px solid transparent;
            transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
        }

        .btn:hover {
            transform: translateY(-1px);
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--blue), var(--green));
            color: var(--white);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.04);
            color: var(--text);
            border-color: var(--border);
        }

        .hero-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .tag {
            padding: 8px 12px;
            border-radius: 999px;
            font-size: 13px;
            color: #dbeafe;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid var(--border);
        }

        .hero-side {
            padding: 28px;
            display: grid;
            gap: 16px;
        }

        .metric {
            padding: 18px 18px 16px;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--border);
        }

        .metric-title {
            font-size: 13px;
            color: var(--muted);
            margin-bottom: 8px;
        }

        .metric strong {
            display: block;
            font-size: 24px;
            color: var(--white);
            margin-bottom: 6px;
        }

        .metric p {
            margin: 0;
            color: var(--muted);
            font-size: 14px;
        }

        section {
            padding: 28px 0;
            scroll-margin-top: var(--header-offset, 96px);
        }

        .section-head {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 22px;
        }

        .section-head h2 {
            font-size: clamp(28px, 4vw, 40px);
        }

        .section-head p {
            margin: 0;
            color: var(--muted);
            max-width: 760px;
        }

        .section-kicker {
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: #93c5fd;
            margin-bottom: 6px;
        }

        .grid-3,
        .grid-4 {
            display: grid;
            gap: 18px;
        }

        .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
        .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

        .panel {
            padding: 22px;
        }

        .panel h3 {
            font-size: 20px;
            margin-bottom: 12px;
        }

        .panel p {
            margin: 0;
            color: var(--muted);
        }

        .panel .panel-note {
            margin-top: 10px;
            font-size: 14px;
            color: #cbd5e1;
        }

        .feature-index {
            display: inline-flex;
            width: 30px;
            height: 30px;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            margin-bottom: 14px;
            background: rgba(59, 130, 246, 0.14);
            color: #bfdbfe;
            font-size: 13px;
            font-weight: 700;
        }

        .compare {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
        }

        .compare ul {
            margin: 0;
            padding-left: 18px;
            color: var(--muted);
        }

        .faq-list {
            display: grid;
            gap: 14px;
        }

        .faq-item {
            padding: 20px 22px;
        }

        .faq-item h3 {
            font-size: 18px;
            margin-bottom: 10px;
        }

        .faq-item p {
            margin: 0;
            color: var(--muted);
        }

        .cta-banner {
            padding: 28px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            margin-top: 10px;
        }

        .cta-banner p {
            margin: 8px 0 0;
            color: var(--muted);
        }

        .store-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 16px;
        }

        .store-badge {
            min-width: 178px;
            padding: 12px 14px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid var(--border);
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .store-badge small {
            color: var(--muted);
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .store-badge strong {
            color: var(--white);
            font-size: 16px;
            font-weight: 700;
        }

        .store-badge span {
            color: var(--muted);
            font-size: 13px;
        }

        .download-note {
            margin-top: 14px;
            color: var(--muted);
            font-size: 13px;
        }

        .footer {
            padding: 20px 0 48px;
            color: var(--muted);
            font-size: 14px;
        }

        .footer-inner {
            display: flex;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
            border-top: 1px solid var(--border);
            padding-top: 18px;
        }

        .footer-geo {
            flex-basis: 100%;
            margin-top: 4px;
            padding-top: 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            font-size: 12px;
            line-height: 1.45;
            color: var(--muted);
            opacity: 0.92;
        }

        .footer-geo-line {
            margin: 0.2em 0;
        }

        .footer-geo-server-line {
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            justify-content: space-between;
            gap: 8px 12px;
        }

        .footer-geo-server-main {
            flex: 1 1 14rem;
            min-width: 0;
        }

        .footer-geo-latency {
            flex: 1 1 12rem;
            min-width: 0;
            max-width: 36rem;
            white-space: normal;
            text-align: right;
        }

        .footer-geo-latency:empty {
            display: none;
        }

        .footer-geo-primary {
            color: inherit;
        }

        .footer-geo-meta {
            color: #b7bec9;
        }

        .footer-geo-line:empty {
            display: none;
        }

        @media (max-width: 1040px) {
            .site-header-inner {
                align-items: flex-start;
            }

            .header-right {
                flex-direction: column;
                align-items: flex-start;
                width: 100%;
                gap: 10px;
            }

            .nav {
                gap: 12px;
            }

            .lang-switcher {
                padding-left: 0;
                margin-left: 0;
                border-left: 0;
            }
        }

        @media (max-width: 960px) {
            .hero-grid,
            .grid-3,
            .grid-4,
            .compare {
                grid-template-columns: 1fr;
            }

            .cta-banner {
                flex-direction: column;
                align-items: flex-start;
            }

            .hero {
                padding-top: 48px;
            }
        }

/* --- wiki / article (shared) --- */
.header-nav {
    font-size: 13px;
}

.header-nav a {
    color: rgba(229, 231, 235, 0.72);
    padding: 8px 0;
    transition: color 0.15s ease;
}

.header-nav a:hover {
    color: var(--text);
}

.doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--muted);
}

.doc-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-pill {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.14);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.article-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    padding: 34px 36px 40px;
}

.article-card h1 {
    margin: 0 0 22px;
    font-size: clamp(28px, 4.2vw, 40px);
    line-height: 1.2;
    font-weight: 700;
    color: var(--white);
}

.article-card h1 .accent {
    background: linear-gradient(135deg, #93c5fd, #6ee7b7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.article-body h2 {
    margin: 32px 0 14px;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
}

.article-body p {
    margin: 0 0 1em;
    color: #cbd5e1;
    font-size: 16px;
}

.article-body p:last-child {
    margin-bottom: 0;
}

.article-body a {
    color: #93c5fd;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

.article-body a:hover {
    color: #bfdbfe;
}

.article-body ul {
    margin: 0 0 1em;
    padding-left: 1.35em;
    color: #cbd5e1;
}

.article-body li {
    margin-bottom: 0.45em;
}

.article-body li:last-child {
    margin-bottom: 0;
}

.disclaimer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--muted);
}

main.article-page {
    padding: 36px 0 48px;
}

[id] {
    scroll-margin-top: var(--header-offset, 96px);
}

@media (max-width: 640px) {
    .article-card {
        padding: 24px 20px 28px;
    }
}

.lang-redirect-body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0 48px;
}

.lang-redirect-hub {
    width: min(28rem, 100%);
    text-align: center;
}

.lang-redirect-hub h1 {
    margin: 0 0 12px;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, var(--blue), var(--green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lang-redirect-lead {
    margin: 0 0 16px;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.55;
}

.lang-redirect-msg {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 0.95rem;
}

.lang-redirect-nav {
    width: 100%;
}

.lang-redirect-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lang-redirect-links a {
    display: block;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-weight: 600;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.lang-redirect-links a:hover {
    border-color: rgba(59, 130, 246, 0.45);
    background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.lang-redirect-hint {
    margin: 24px 0 0;
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
}

.lang-redirect-hint code {
    font-size: 0.8em;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
}

.lang-redirect-hint a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}
