:root {
    --bg: #07111f;
    --bg2: #0b1728;
    --panel: rgba(14, 29, 49, .82);
    --panel2: rgba(17, 36, 60, .92);
    --line: rgba(145, 190, 230, .14);
    --text: #e9f3ff;
    --muted: #91a7bd;
    --accent: #35d0ba;
    --accent2: #5ca8ff;
    --danger: #ff6b7a;
    --shadow: 0 24px 70px rgba(0,0,0,.30);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 15% 0%, rgba(53,208,186,.09), transparent 32%),
        radial-gradient(circle at 85% 10%, rgba(92,168,255,.10), transparent 32%),
        linear-gradient(180deg, var(--bg), #050b14 100%);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin: auto;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    background: rgba(5, 12, 22, .78);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #04101b;
    font-weight: 900;
}

.nav-links {
    display: flex;
    gap: 20px;
    color: var(--muted);
    font-size: 14px;
}

.nav-links a:hover {
    color: var(--text);
}

.hero {
    padding: 92px 0 70px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(53,208,186,.24);
    background: rgba(53,208,186,.06);
    color: var(--accent);
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 13px;
    font-weight: 700;
}

h1 {
    margin: 20px 0 18px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: .98;
    letter-spacing: -.055em;
}

h2 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -.035em;
}

h3 {
    line-height: 1.2;
}

.hero p {
    max-width: 820px;
    color: var(--muted);
    font-size: 18px;
}

.author-line {
    margin-top: 24px;
    color: #b9cadb;
    font-size: 14px;
}

.author-line a {
    color: var(--accent);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.04);
    color: var(--text);
    font-weight: 700;
    transition: .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    border-color: rgba(53,208,186,.35);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #04101b;
    border: none;
}

.section {
    padding: 70px 0;
}

.section-head {
    margin-bottom: 30px;
}

.section-head p {
    max-width: 760px;
    color: var(--muted);
}

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

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.card h3 {
    margin-top: 0;
}

.card p {
    color: var(--muted);
}

.stat {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.stat-label {
    color: var(--muted);
    font-size: 13px;
}

.code {
    overflow-x: auto;
    background: #030912;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    color: #cce7ff;
    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;
    font-size: 13px;
    line-height: 1.65;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 16px;
}

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

th,
td {
    padding: 13px 15px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

th {
    color: var(--accent);
    font-size: 13px;
}

td {
    color: #c9d8e8;
    font-size: 14px;
}

.badge {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(92,168,255,.10);
    border: 1px solid rgba(92,168,255,.18);
    color: #9ecaff;
    font-size: 12px;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 13px;
}

.footer {
    margin-top: 70px;
    padding: 40px 0 60px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.footer a {
    color: var(--accent);
}

.list {
    padding-left: 20px;
}

.list li {
    margin: 7px 0;
    color: #c7d6e5;
}

.notice {
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(53,208,186,.06);
    border: 1px solid rgba(53,208,186,.16);
    color: #ccebe5;
}

.warning {
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(255,107,122,.06);
    border: 1px solid rgba(255,107,122,.16);
    color: #ffd0d5;
}

.breadcrumb {
    padding-top: 28px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumb a {
    color: var(--accent);
}

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

@media (max-width: 650px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .nav-inner {
        min-height: 62px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 60px 0 45px;
    }

    .section {
        padding: 50px 0;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 48px;
    }
}
