:root {
    --page-bg: #07111f;
    --surface: rgba(255, 255, 255, 0.08);
    --surface-strong: rgba(255, 255, 255, 0.14);
    --line: rgba(255, 255, 255, 0.18);
    --text: #f7fbff;
    --muted: #b7c4d4;
    --cyan: #38d5ff;
    --green: #5ee28d;
    --coral: #ff8a6b;
    --violet: #9d7cff;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--page-bg);
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto,
                 "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    background:
        radial-gradient(circle at 12% 8%, rgba(56, 213, 255, 0.22), transparent 30%),
        radial-gradient(circle at 78% 18%, rgba(94, 226, 141, 0.16), transparent 28%),
        linear-gradient(135deg, #07111f 0%, #122338 48%, #101323 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 82%);
}

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

.site-header {
    width: min(1180px, calc(100% - 32px));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.brand,
.site-nav {
    display: inline-flex;
    align-items: center;
}

.brand {
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(56, 213, 255, 0.28), rgba(94, 226, 141, 0.22));
    box-shadow: 0 12px 36px rgba(56, 213, 255, 0.18);
    font-size: 13px;
}

.site-nav {
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 17, 31, 0.56);
    backdrop-filter: blur(18px);
}

.site-nav a {
    padding: 10px 14px;
    border-radius: 6px;
    color: var(--muted);
    font-size: 14px;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--text);
    background: var(--surface-strong);
    transform: translateY(-1px);
}

main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    flex: 1;
    position: relative;
    z-index: 1;
}

.hero-section {
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    padding: 42px 0 96px;
}

.hero-copy {
    width: 100%;
    text-align: center;
}

.eyebrow {
    margin: 0;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    margin: 16px 0 0;
    font-size: clamp(52px, 8vw, 112px);
    line-height: 0.92;
    letter-spacing: 0;
}

.hero-lead {
    max-width: 720px;
    margin: 28px auto 0;
    color: var(--muted);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
}

.primary-action,
.secondary-action {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 800;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-action {
    color: #06111f;
    background: linear-gradient(135deg, var(--cyan), var(--green));
    box-shadow: 0 16px 44px rgba(56, 213, 255, 0.2);
}

.secondary-action {
    border: 1px solid var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.primary-action:hover,
.secondary-action:hover {
    transform: translateY(-2px);
}

.docs-shell {
    min-height: calc(100vh - 76px);
}

.docs-blank {
    min-height: calc(100vh - 76px);
}

.site-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 24px;
    position: relative;
    z-index: 1;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.site-footer a {
    color: inherit;
    transition: color 180ms ease;
}

.site-footer a:hover {
    color: var(--text);
}

@media (max-width: 900px) {
    .site-header {
        height: auto;
        min-height: 76px;
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 18px 0;
    }

    .site-nav {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .site-nav a {
        white-space: nowrap;
    }

    .hero-section {
        min-height: auto;
        padding-top: 32px;
    }
}

@media (max-width: 560px) {
    main,
    .site-header {
        width: min(100% - 24px, 1180px);
    }

    h1 {
        font-size: 48px;
    }

    .hero-lead {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .primary-action,
    .secondary-action {
        width: 100%;
    }
}
