:root {
    --api-bg: #0b1020;
    --api-panel: rgba(255, 255, 255, .06);
    --api-panel-hover: rgba(255, 255, 255, .075);
    --api-border: rgba(255, 255, 255, .10);
    --api-border-hover: rgba(255, 255, 255, .16);
    --api-text: #f8fafc;
    --api-muted: #94a3b8;
    --api-accent: #60a5fa;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    background: radial-gradient( circle at top left, rgba(96, 165, 250, .15), transparent 34% ), var(--api-bg);
    color: var(--api-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.api-shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 96px 0;
}

.api-hero {
    max-width: 760px;
}

.api-brand-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 36px;
}

.api-logo {
    width: 350px;
    max-width: 75vw;
}

    .api-logo .dc-logo-svg {
        display: block;
        width: 100%;
        height: auto;
    }

.dc-logo-primary {
    fill: var(--api-text);
}

.dc-logo-secondary {
    fill: var(--api-accent);
}

.api-brand-version {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.api-brand-label {
    color: var(--api-text);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .08em;
}

.api-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid var(--api-border);
    border-radius: 999px;
    color: var(--api-accent);
    background: var(--api-panel);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.api-brand-version .api-badge {
    min-height: 28px;
    padding: 0 10px;
}

.api-hero h1 {
    margin: 0;
    font-size: clamp(48px, 8vw, 88px);
    line-height: .95;
    letter-spacing: -.05em;
}

.api-hero h2 {
    margin: 20px 0 12px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1;
    letter-spacing: -.04em;
}

.api-lead {
    max-width: 660px;
    margin: 16px 0 0;
    color: var(--api-muted);
    font-size: 20px;
    line-height: 1.6;
}

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

.api-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--api-border);
    border-radius: 12px;
    color: var(--api-text);
    text-decoration: none;
    background: var(--api-panel);
    font-weight: 700;
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

    .api-button:hover {
        transform: translateY(-1px);
        border-color: var(--api-border-hover);
        background: var(--api-panel-hover);
    }

    .api-button:focus-visible {
        outline: 2px solid var(--api-accent);
        outline-offset: 3px;
    }

.api-button-primary {
    border-color: transparent;
    background: var(--api-text);
    color: var(--api-bg);
}

    .api-button-primary:hover {
        background: #ffffff;
    }

.api-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.api-grid-overview {
    margin-top: 72px;
}

.api-grid + .api-hero {
    margin-top: 96px;
}

.api-card {
    min-height: 170px;
    padding: 24px;
    border: 1px solid var(--api-border);
    border-radius: 18px;
    background: var(--api-panel);
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

    .api-card:hover {
        transform: translateY(-2px);
        border-color: var(--api-border-hover);
        background: var(--api-panel-hover);
    }

    .api-card span,
    .api-card small {
        display: block;
        color: var(--api-muted);
    }

    .api-card span {
        font-size: 14px;
        font-weight: 600;
    }

    .api-card strong {
        display: block;
        margin: 14px 0 8px;
        font-size: 20px;
        line-height: 1.3;
    }

    .api-card small {
        font-size: 14px;
        line-height: 1.6;
    }

.api-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 96px;
    padding-top: 32px;
    border-top: 1px solid var(--api-border);
    color: var(--api-muted);
    font-size: 14px;
}

    .api-footer a {
        color: var(--api-accent);
        text-decoration: none;
        font-weight: 700;
    }

        .api-footer a:hover {
            text-decoration: underline;
        }

        .api-footer a:focus-visible {
            outline: 2px solid var(--api-accent);
            outline-offset: 3px;
            border-radius: 4px;
        }

@media (max-width: 760px) {

    .api-shell {
        width: min(100% - 28px, 1120px);
        padding: 64px 0;
    }

    .api-brand-row {
        gap: 14px;
        margin-bottom: 28px;
    }

    .api-logo {
        width: 280px;
    }

    .api-brand-label {
        font-size: 14px;
    }

    .api-lead {
        font-size: 18px;
    }

    .api-grid,
    .api-grid-overview {
        grid-template-columns: 1fr;
        margin-top: 32px;
    }

        .api-grid + .api-hero {
            margin-top: 72px;
        }

    .api-card {
        min-height: auto;
    }

    .api-footer {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 72px;
    }
}