:root {
    color: #1f2933;
    background: #ffffff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-width: 320px;
}

a {
    color: #075985;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}

a:hover,
a:focus-visible {
    color: #0c4a6e;
}

.docs-shell {
    display: grid;
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
    min-height: 100vh;
}

.docs-sidebar {
    border-right: 1px solid #cbd5e1;
    padding: 2rem 1.5rem;
}

.docs-brand {
    color: #0f172a;
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}

.docs-description {
    color: #475569;
    font-size: 0.9rem;
    margin: 0.75rem 0 1.5rem;
}

.docs-navigation {
    border-top: 1px solid #cbd5e1;
    display: grid;
    gap: 0.15rem;
    padding-top: 1rem;
}

.docs-navigation a {
    color: #334155;
    display: block;
    padding: 0.35rem 0.5rem;
    text-decoration: none;
}

.docs-navigation a[aria-current="page"] {
    border-left: 3px solid #075985;
    color: #0f172a;
    font-weight: 700;
}

.docs-main {
    min-width: 0;
    padding: 3rem clamp(1.5rem, 5vw, 5rem);
}

.docs-index,
.docs-article {
    max-width: 52rem;
}

.docs-page-header,
.docs-article-header {
    border-bottom: 1px solid #cbd5e1;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
}

.docs-eyebrow,
.docs-section-link {
    color: #0369a1;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.docs-page-header h1,
.docs-article-header h1 {
    color: #0f172a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.15;
    margin: 0.25rem 0 0.75rem;
}

.docs-page-header p,
.docs-lede {
    color: #475569;
    font-size: 1.1rem;
    margin: 0;
}

.docs-entry {
    border-bottom: 1px solid #cbd5e1;
    padding: 1.25rem 0;
}

.docs-entry h2 {
    font-size: 1.25rem;
    margin: 0;
}

.docs-entry h2 a {
    color: #0f172a;
}

.docs-entry p {
    margin: 0.5rem 0;
}

.docs-meta {
    color: #64748b;
    font-size: 0.85rem;
}

.docs-article-layout {
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 48rem) minmax(12rem, 16rem);
}

.docs-toc {
    align-self: start;
    border-left: 1px solid #cbd5e1;
    font-size: 0.875rem;
    padding-left: 1rem;
    position: sticky;
    top: 2rem;
}

.docs-toc h2 {
    color: #475569;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
}

.docs-toc ol {
    display: grid;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.docs-toc a {
    color: #475569;
    text-decoration: none;
}

.docs-toc .docs-toc-level-3 {
    padding-left: 0.75rem;
}

.docs-content {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
}

.docs-content > :first-child {
    margin-top: 0;
}

.docs-content h2,
.docs-content h3 {
    color: #0f172a;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    line-height: 1.25;
    scroll-margin-top: 1.5rem;
}

.docs-content h2 {
    border-bottom: 1px solid #cbd5e1;
    font-size: 1.55rem;
    margin: 2.75rem 0 1rem;
    padding-bottom: 0.5rem;
}

.docs-content h3 {
    font-size: 1.2rem;
    margin: 2rem 0 0.75rem;
}

.docs-content p,
.docs-content ul,
.docs-content ol,
.docs-content pre,
.docs-content blockquote {
    margin: 0 0 1.25rem;
}

.docs-content ul,
.docs-content ol {
    padding-left: 1.5rem;
}

.docs-content li + li {
    margin-top: 0.4rem;
}

.docs-content blockquote {
    border-left: 3px solid #075985;
    color: #475569;
    padding-left: 1rem;
}

.docs-content code {
    border: 1px solid #cbd5e1;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.9em;
    padding: 0.1em 0.25em;
}

.docs-content pre {
    border: 1px solid #94a3b8;
    overflow-x: auto;
    padding: 1rem;
}

.docs-content pre code {
    border: 0;
    padding: 0;
}

.docs-content img,
.docs-feature-image img {
    height: auto;
    max-width: 100%;
}

.docs-feature-image {
    border-bottom: 1px solid #cbd5e1;
    margin: 0 0 2rem;
    padding-bottom: 1rem;
}

.docs-support {
    border-top: 1px solid #cbd5e1;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
}

.zap-button {
    background: #075985;
    border: 1px solid #075985;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 0.6rem 0.9rem;
}

.zap-button:hover,
.zap-button:focus-visible {
    background: #0c4a6e;
}

.docs-comments {
    border-top: 1px solid #cbd5e1;
    margin-top: 3rem;
    padding-top: 1.5rem;
}

.docs-comment {
    border-bottom: 1px solid #cbd5e1;
    padding: 1rem 0;
}

.docs-comment p {
    margin: 0 0 0.5rem;
}

.docs-people {
    padding-left: 1.25rem;
}

.docs-footer {
    border-top: 1px solid #cbd5e1;
    color: #475569;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 0.85rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
}

.docs-footer p {
    margin: 0 0 0.75rem;
}

.docs-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 70rem) {
    .docs-article-layout {
        grid-template-columns: minmax(0, 48rem);
    }

    .docs-toc {
        display: none;
    }
}

@media (max-width: 48rem) {
    .docs-shell {
        display: block;
    }

    .docs-sidebar {
        border-bottom: 1px solid #cbd5e1;
        border-right: 0;
        padding: 1.25rem;
    }

    .docs-navigation {
        grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
    }

    .docs-main {
        padding: 2rem 1.25rem;
    }
}
