@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --orbital-bg: #f3f4f6;
    --orbital-surface: #ffffff;
    --orbital-surface-soft: #f8fafc;
    --orbital-border: #d1d5db;
    --orbital-text: #111827;
    --orbital-muted: #6b7280;
    --orbital-accent: #1f2937;
    --orbital-accent-soft: #e5e7eb;
    --orbital-brand: #f97316;
    --orbital-ring: rgba(31, 41, 55, .12);
}

body,
button,
input {
    font-family: "Montserrat", sans-serif;
}

body.wy-body-for-nav {
    background: linear-gradient(180deg, #eef2f7 0%, var(--orbital-bg) 260px);
    color: var(--orbital-text);
}

.wy-nav-side {
    background: #111827;
    border-right: 1px solid rgba(255, 255, 255, .08);
}

.wy-side-nav-search {
    display: grid;
    gap: 14px;
    padding: 28px 18px 20px;
    background: #111827;
}

.wy-side-nav-search > a {
    position: relative;
    display: grid;
    gap: 3px;
    padding-left: 48px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    text-align: left;
}

.wy-side-nav-search > a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #ffffff url('/images/orbital-logo.png') center / 28px 28px no-repeat;
    transform: translateY(-50%);
}

.wy-side-nav-search > a::after {
    content: "Anonymous Navigation Intelligence";
    color: rgba(255, 255, 255, .58);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.wy-side-nav-search input[type="text"] {
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
    box-shadow: none;
}

.wy-side-nav-search input[type="text"]::placeholder {
    color: rgba(255, 255, 255, .62);
}

.wy-menu-vertical {
    padding: 12px;
}

.wy-menu-vertical p.caption {
    display: none;
}

.wy-menu-vertical p.caption span.caption-text {
    color: rgba(255, 255, 255, .52);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.wy-menu-vertical a {
    margin: 3px 0;
    border-radius: 8px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 700;
}

.wy-menu-vertical a:hover {
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
}

.wy-menu-vertical li.current > a,
.wy-menu-vertical li.on a {
    background: rgba(249, 115, 22, .18);
    color: #ffffff;
    border: 1px solid rgba(249, 115, 22, .24);
}

.wy-menu-vertical li.current a:hover {
    background: rgba(249, 115, 22, .2);
}

.wy-menu-vertical li.current,
.wy-menu-vertical li.current ul {
    background: transparent;
}

.wy-menu-vertical li.current ul {
    margin: 6px 0 10px 12px;
    padding: 4px 0 4px 8px;
    border-left: 1px solid rgba(255, 255, 255, .12);
}

.wy-menu-vertical li.current li.toctree-l2 a,
.wy-menu-vertical li.toctree-l2 a {
    min-height: 32px;
    margin: 2px 0;
    padding: 8px 10px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    font-weight: 600;
}

.wy-menu-vertical li.current li.toctree-l2 a:hover,
.wy-menu-vertical li.toctree-l2 a:hover {
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
}

.wy-menu-vertical li.current li.toctree-l2.current > a {
    background: rgba(249, 115, 22, .16);
    color: #ffffff;
}

.wy-nav-content-wrap {
    background: transparent;
}

.wy-nav-content {
    max-width: 1180px;
    padding: 30px 34px 56px;
}

.rst-content {
    display: grid;
    gap: 18px;
}

.rst-content [role="navigation"][aria-label="breadcrumbs navigation"] {
    display: none;
}

.orbital-docs-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--orbital-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 12px 40px rgba(15, 23, 42, .06);
}

.orbital-docs-kicker {
    color: var(--orbital-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.orbital-docs-title {
    margin-top: 3px;
    color: var(--orbital-text);
    font-size: 20px;
    font-weight: 800;
}

.orbital-docs-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border: 1px solid var(--orbital-border);
    border-radius: 999px;
    background: var(--orbital-surface-soft);
}

.orbital-docs-lang {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--orbital-muted);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.orbital-docs-lang:hover,
.orbital-docs-lang.active {
    background: var(--orbital-brand);
    color: #111827;
}

.orbital-docs-flag {
    font-size: 17px;
    line-height: 1;
}

.rst-content .document {
    padding: 30px 34px;
    border: 1px solid var(--orbital-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 40px rgba(15, 23, 42, .06);
}

.rst-content h1,
.rst-content h2,
.rst-content h3,
.rst-content h4 {
    color: var(--orbital-text);
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    letter-spacing: 0;
}

.rst-content h1 {
    margin-bottom: 18px;
    font-size: 34px;
}

.rst-content h2 {
    margin-top: 34px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
    font-size: 22px;
}

.rst-content p,
.rst-content li {
    color: #374151;
    font-size: 15px;
    line-height: 1.7;
}

.rst-content a {
    color: var(--orbital-accent);
    font-weight: 700;
    text-decoration-color: rgba(249, 115, 22, .5);
}

.rst-content a:hover {
    color: var(--orbital-brand);
}

.rst-content code,
.rst-content tt {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #f8fafc;
    color: #111827;
    font-size: 86%;
}

.rst-content pre,
.rst-content pre code {
    border: 0;
    border-radius: 8px;
    background: #161616;
    color: #f9fafb;
}

.rst-content table.docutils {
    overflow: hidden;
    border: 1px solid var(--orbital-border);
    border-radius: 8px;
}

.rst-content table.docutils thead th {
    background: #f8fafc;
    color: var(--orbital-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rst-content table.docutils td,
.rst-content table.docutils th {
    border-color: #e5e7eb;
}

.rst-footer-buttons .btn {
    border: 0;
    border-radius: 999px;
    background: var(--orbital-accent) !important;
    color: #ffffff !important;
    font-weight: 800;
}

footer {
    color: var(--orbital-muted);
    font-size: 12px;
    visibility: hidden;
}

.orbital-docs-footer {
    margin-top: 26px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    color: var(--orbital-muted);
    font-size: 12px;
    font-weight: 700;
}

footer.orbital-docs-footer-ready {
    visibility: visible;
}

.orbital-docs-footer a {
    color: var(--orbital-accent);
    font-weight: 800;
    text-decoration-color: rgba(249, 115, 22, .5);
}

.rst-versions {
    display: none;
}

.wy-nav-top {
    background: #111827;
}

@media (max-width: 768px) {
    .wy-nav-content {
        padding: 18px 14px 42px;
    }

    .orbital-docs-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .rst-content .document {
        padding: 22px 18px;
    }

    .rst-content h1 {
        font-size: 28px;
    }
}
