.geist {
    font-family: "Geist", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}

.hero-logo-wrapper {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(200, 40, 40, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-logo {
    width: 180px;
    height: 180px;
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: left;
}

.hero-text h1 {
    font-size: 90px;
    margin: 0;
    line-height: 1;
    font-weight: 700;
}

.subdomain {
    opacity: 0.25;
    font-size: 0.6em;
    position: relative;
    color: rgb(120, 120, 120);
    margin-left: 6px;
}

.subtitle {
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

@media (max-width: 720px) {
    .hero {
        flex-direction: column;
        gap: 16px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 48px;
    }

    .subtitle {
        font-size: 16px;
    }

    .subdomain {
        top: 0;
    }
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 40px;
    padding: 30px 80px;
}

.install-navbar {
    position: relative;
    align-items: center;
    padding-left: 160px;
}

.install-navbar .logo-link {
    position: absolute;
    left: 80px;
    top: 50%;
    transform: translateY(-50%);
}

.install-navbar .logo-link::after {
    display: none;
}

.install-navbar .logo-link img {
    display: block;
}

.install-doc {
    max-width: 900px;
    margin: 36px auto 80px;
    padding: 0 20px;
}

.install-doc-header {
    text-align: center;
    margin-bottom: 26px;
}

.install-doc-kicker {
    margin: 0 0 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgb(170, 170, 170);
    font-size: 13px;
}

.install-doc-header h1 {
    margin: 0;
    font-size: 58px;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.install-doc-description {
    margin: 14px auto 0;
    max-width: 760px;
    color: rgb(180, 180, 180);
    font-size: 18px;
    line-height: 1.6;
}

.install-doc-section {
    background: rgba(30, 18, 18, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 24px;
    margin-top: 18px;
}

.install-doc-section h2 {
    margin: 0 0 16px;
    font-size: 26px;
}

.markdown-body> :first-child {
    margin-top: 0;
}

.markdown-body> :last-child {
    margin-bottom: 0;
}

.markdown-body h2 {
    margin: 28px 0 12px;
    font-size: 30px;
}

.markdown-body h3 {
    margin: 18px 0 10px;
    font-size: 20px;
}

.markdown-body p,
.markdown-body li {
    color: rgb(220, 220, 220);
    line-height: 1.6;
}

.markdown-body ul,
.markdown-body ol {
    margin: 0;
    padding-left: 20px;
}

.markdown-body li {
    margin: 8px 0;
}

.markdown-body blockquote {
    margin: 16px 0;
    padding: 0 0 0 1em;
    border-left: #484848 0.25em solid;
}

.markdown-body blockquote p {
    margin: 0;
    color: rgb(130, 130, 130);
}

.markdown-body a {
    color: rgb(220, 220, 220);
}

.markdown-body a::after {
    display: none;
}

.markdown-body a.external-link::after {
    display: inline-block;
}

.markdown-body table {
    width: fit-content;
    max-width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    display: block;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.markdown-body table thead tr th:first-child {
    border-radius: 8px 0 0 0;
}

.markdown-body table thead tr th:last-child {
    border-radius: 0 8px 0 0;
}

.markdown-body table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 8px;
}

.markdown-body table tbody tr:last-child td:last-child {
    border-radius: 0 0 8px 0;
}

.markdown-body table thead tr {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.markdown-body table th {
    padding: 11px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: rgb(160, 160, 160);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.markdown-body table td {
    padding: 10px 18px;
    color: rgb(210, 210, 210);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    vertical-align: middle;
}

.markdown-body table tr:last-child td {
    border-bottom: none;
}

.markdown-body table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.markdown-body table code {
    font-family: "Cascadia Code", "Fira Code", "Consolas", "Menlo", monospace;
    font-size: 12.5px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 2px 7px;
    color: rgb(220, 220, 220);
    white-space: nowrap;
}

.install-steps {
    margin: 0;
    padding-left: 20px;
}

.install-steps li {
    margin-bottom: 18px;
}

.install-steps li:last-child {
    margin-bottom: 0;
}

.install-steps h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.install-steps p {
    margin: 0 0 10px;
    color: rgb(180, 180, 180);
}

.install-doc pre[class*="language-"] {
    margin: 0;
    background: #1e1e1e !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    padding: 12px 14px;
}

.install-doc pre[class*="language-"] code[class*="language-"] {
    padding: 0;
}

@media (max-width: 720px) {
    .install-navbar {
        padding: 20px;
        padding-left: 84px;
        gap: 20px;
    }

    .install-navbar .logo-link {
        left: 20px;
    }

    .install-navbar .logo-link img {
        width: 44px;
        height: 44px;
    }

    .install-doc {
        margin-top: 44px;
    }

    .install-doc-header h1 {
        font-size: 38px;
    }

    .install-doc-kicker {
        font-size: 12px;
    }

    .install-doc-description {
        font-size: 16px;
    }

    .install-doc-section {
        padding: 16px;
    }
}

.code-sample {
    max-width: 1100px;
    margin: 40px auto 80px;
    padding: 20px;
}

.code-inner {
    background: rgba(30, 18, 18, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(200, 40, 40, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 28px;
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

.code-desc {
    margin-top: 6px;
    margin-bottom: 0;
    color: rgb(180, 180, 180);
    line-height: 1.7;
}

.code-kicker {
    margin: 0 0 10px;
    color: rgb(245, 120, 120);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.code-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 6px;
}

.code-left h2 {
    margin: 0;
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.code-points {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: rgb(205, 205, 205);
}

.code-points li {
    position: relative;
    padding-left: 18px;
    line-height: 1.5;
}

.code-points li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: rgb(245, 73, 73);
}

.code-right {
    min-width: 0;
}

pre[class*="language-"] {
    margin: 0;
    overflow: auto;
    border-radius: 6px;
    background: #1e1e1e !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

code[class*="language-"],
pre[class*="language-"] code {
    background: transparent !important;
}

@media (max-width: 720px) {
    .code-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .code-left {
        text-align: center;
        padding: 0;
    }

    .code-left h2 {
        font-size: 30px;
    }

    .code-points li {
        padding-left: 0;
    }

    .code-points li::before {
        position: static;
        margin-right: 6px;
    }

    .code-right {
        width: 100%;
    }
}

.bf::before {
    content: "» ";
    margin-right: 4px;
    opacity: 0.25;
}

pre[class*="language-"],
pre[class*="language-"] code {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.copy-wrapper {
    position: relative;
}

.copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgb(160, 160, 160);
    border-radius: 4px;
    cursor: pointer;
    opacity: 0;
    z-index: 10;
}

.copy-wrapper:hover .copy-btn {
    opacity: 1;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

code[class*="language-adan"] .token.keyword {
    color: #ff2d78 !important;
    font-style: normal;
}

code[class*="language-adan"] .token.type {
    color: #00e5ff !important;
}

code[class*="language-adan"] .token.string {
    color: #ff7c00 !important;
}

code[class*="language-adan"] .token.number {
    color: #ffd166 !important;
}

code[class*="language-adan"] .token.comment {
    color: #666e7a !important;
    font-style: italic;
}

code[class*="language-adan"] .token.operator,
code[class*="language-adan"] .token.punctuation {
    color: #aaaaaa !important;
}

code[class*="language-adan"] .token.boolean {
    color: #00e5ff !important;
}

.docs-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 8px 0;
}

.docs-nav-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.docs-nav-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgb(110, 110, 110);
    padding: 0 18px 6px;
}

.docs-nav-link {
    display: block;
    padding: 6px 18px;
    font-size: 14px;
    color: rgb(180, 180, 180);
    border-radius: 0;
    transition: color 0.15s, background 0.15s;
    border-left: 2px solid transparent;
    line-height: 1.4;
}

.docs-nav-link::after {
    display: none !important;
}

.docs-nav-link:hover {
    color: rgb(230, 230, 230);
    background: rgba(255, 255, 255, 0.05);
}

.docs-nav-link.is-active {
    color: rgb(245, 73, 73);
    border-left-color: rgb(245, 73, 73);
    background: rgba(200, 40, 40, 0.08);
}

.docs-layout {
    display: flex;
    align-items: flex-start;
    max-width: 1164px;
    margin: 0 auto;
    padding: 24px 40px 80px;
    gap: 24px;
    box-sizing: border-box;
    min-height: calc(100vh - 90px);
}

.docs-sidebar {
    flex: 0 0 240px;
    position: sticky;
    top: 24px;
    background: rgba(30, 18, 18, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 16px 0;
    min-height: 120px;
}

.docs-main {
    max-width: 900px;
    flex: 1 1 0;
    min-width: 0;
    align-self: stretch;
    background: rgba(30, 18, 18, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 28px 32px;
    min-height: 120px;
}

@media (max-width: 860px) {
    .docs-layout {
        flex-direction: column;
        padding: 16px 16px 60px;
    }

    .docs-sidebar {
        flex: none;
        width: 100%;
        position: static;
    }

    .docs-main {
        flex: 0 0 auto;
        align-self: auto;
        width: 100%;
        box-sizing: border-box;
    }
}