body {
    background: #f8fafc;
    color: #0f172a;
    margin: 0;
    font-family: Inter, "Segoe UI", sans-serif;
}

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

.docs-shell {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.docs-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(248, 250, 252, 0.8);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.docs-header-inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 16px;
}

.docs-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.docs-brand-mark {
    display: block;
    width: 104px;
    height: 54px;
    object-fit: contain;
}

.docs-nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    color: #475569;
    font-size: 0.96rem;
}

.docs-nav a,
.docs-link {
    transition: color 0.2s ease;
}

.docs-nav a:hover,
.docs-link:hover {
    color: #0f172a;
}

.docs-nav a.active,
.docs-link.active {
    color: #2563eb;
    font-weight: 700;
}

.docs-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.docs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.8rem 1.2rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.docs-button:hover {
    transform: translateY(-1px);
}

.docs-button-primary {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 18px 30px rgba(37, 99, 235, 0.26);
}

.docs-hero {
    padding: 72px 0 28px;
}

.docs-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: center;
}

.docs-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.15);
    color: #0369a1;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}

.docs-hero h1 {
    margin: 1.2rem 0 1rem;
    font-size: clamp(2.8rem, 4vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.08em;
}

.docs-hero h1 span {
    color: #2563eb;
}

.docs-hero p {
    margin: 0;
    max-width: 610px;
    font-size: 1.12rem;
    line-height: 1.8;
    color: #475569;
}

.docs-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.docs-button-secondary {
    color: #0f172a;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.docs-mini-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
    padding: 0;
    list-style: none;
}

.docs-mini-stats li {
    min-width: 118px;
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
}

.docs-mini-stats strong {
    display: block;
    font-size: 1.08rem;
    margin-bottom: 5px;
}

.docs-mini-stats span {
    color: #64748b;
    font-size: 0.8rem;
}

.docs-hero-panel {
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 28px;
    background: linear-gradient(180deg, #0f172a, #111827);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    padding: 18px;
}

.docs-window {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.82);
}

.docs-window-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(15, 23, 42, 0.95);
}

.docs-window-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.docs-window-dot.red { background: #f87171;
}

.docs-window-dot.yellow { background: #fbbf24;
}

.docs-window-dot.green { background: #4ade80;
}

.docs-window-body {
    padding: 22px 20px 18px;
}

.docs-snippet {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.8;
    color: #e2e8f0;
    font-family: "SFMono-Regular", Consolas, monospace;
    white-space: pre-wrap;
}

.docs-chip {
    position: absolute;
    right: -10px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(74, 222, 128, 0.3);
    background: rgba(20, 83, 45, 0.55);
    color: #dcfce7;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
}

.docs-chip::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #4ade80;
    box-shadow: 0 0 16px rgba(74, 222, 128, 0.85);
}

.docs-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    padding: 18px 0 72px;
}

.docs-sidebar {
    align-self: start;
    position: sticky;
    top: 90px;
}

.docs-sidebar-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    padding: 18px 16px;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.04);
}

.docs-sidebar-card h3 {
    margin: 0 0 16px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.docs-sidebar-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.docs-sidebar-card a {
    display: block;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    color: #334155;
    transition: background 0.2s ease, color 0.2s ease;
}

.docs-sidebar-card a:hover,
.docs-sidebar-card a.active {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
}

.docs-content {
    display: grid;
    gap: 34px;
}

.docs-section {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 24px;
    padding: 30px 28px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04);
}

.docs-section h2 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 2vw, 2.5rem);
    letter-spacing: -0.05em;
}

.docs-section p,
.docs-section li {
    color: #475569;
    line-height: 1.8;
}

.docs-section p {
    margin: 0 0 16px;
}

.docs-code-block {
    margin-top: 18px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.docs-code-block pre {
    margin: 0;
    padding: 18px 20px;
    background: #0f172a;
    color: #e2e8f0;
    overflow-x: auto;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.docs-card {
    padding: 20px 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.docs-card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.docs-card p {
    margin: 0;
}

.docs-list {
    list-style: disc;
    margin: 0;
    padding-left: 1.2rem;
}

.docs-footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.9);
    padding: 20px 0;
    margin-top: 30px;
}

.docs-footer-inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.docs-brand-footer {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 12px;
    background: #fff;
    flex: 0 0 auto;
}

.docs-brand-footer .docs-brand-mark {
    width: 120px;
    height: 62px;
}

.docs-footer-copy {
    margin: 0;
    flex: 1;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.docs-footer-copyright {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.88rem;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .docs-hero-grid,
        .docs-layout,
        .docs-footer-grid {
            grid-template-columns: 1fr;
    }

    .docs-sidebar {
            position: static;
    }

    .docs-grid {
            grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .docs-nav,
        .docs-header-actions {
            display: none;
    }

    .docs-hero {
            padding-top: 52px;
    }

    .docs-section {
            padding: 22px 18px;
    }
}

body {
    margin: 0;
    background: #f8fafc;
    color: #0f172a;
    font-family: Inter, "Segoe UI", sans-serif;
}

.docs-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(14px);
}

.docs-header-inner,
.docs-footer-inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.docs-header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 72px;
    gap: 16px;
}

.docs-brand {
    display: inline-flex;
    align-items: center;
}

.docs-nav,
.docs-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.docs-nav {
    grid-column: 2;
    justify-content: center;
}

.docs-nav,
.docs-link {
    color: #475569;
    font-size: 0.94rem;
}

.docs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
}

.docs-button-primary {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.assets-shell {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 58px 0 76px;
}

.assets-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.assets-eyebrow {
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.assets-heading h1 {
    margin: 12px 0;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.07em;
}

.assets-heading p {
    margin: 0;
    color: #475569;
    font-size: 1.12rem;
    line-height: 1.8;
}

.assets-layout {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    align-items: start;
    gap: 30px;
}

.assets-sidebar {
    position: sticky;
    top: 96px;
    padding: 18px 14px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    background: #fff;
}

.assets-sidebar h2 {
    margin: 0 0 12px;
    padding: 0 8px;
    color: #64748b;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.assets-sidebar ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.assets-sidebar a {
    display: block;
    padding: 0.62rem 0.7rem;
    border-radius: 10px;
    color: #475569;
}

.assets-sidebar a:hover,
.assets-sidebar a.active {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
}

.assets-content {
    display: grid;
    gap: 20px;
}

.assets-card {
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.04);
}

.assets-card h2 {
    margin: 0 0 12px;
    font-size: 1.55rem;
    letter-spacing: -0.04em;
}

.assets-card h3 {
    margin: 22px 0 8px;
    font-size: 1.08rem;
}

.assets-card p,
.assets-card li {
    color: #475569;
    line-height: 1.8;
}

.assets-card p {
    margin: 0 0 12px;
}

.assets-code {
    overflow-x: auto;
    margin: 18px 0 0;
    padding: 20px;
    border: 1px solid #1e293b;
    border-radius: 16px;
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.86rem;
    line-height: 1.75;
}

.assets-code code {
    font-family: "SFMono-Regular", Consolas, monospace;
}

.assets-list {
    margin: 12px 0 0;
    padding-left: 1.3rem;
}

.assets-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-left: 3px solid #38bdf8;
    border-radius: 0 12px 12px 0;
    background: #f0f9ff;
    color: #334155;
    line-height: 1.7;
}

.assets-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    border-radius: 18px;
    background: #eff6ff;
}

.assets-next p {
    margin: 4px 0 0;
    color: #475569;
}

@media (max-width: 900px) {
    .assets-layout,
        .docs-footer-grid {
            grid-template-columns: 1fr;
    }

    .assets-sidebar {
            position: static;
    }
}

@media (max-width: 760px) {
    .assets-card {
            padding: 22px 18px;
    }

    .assets-next,
        .docs-footer-bottom {
            align-items: flex-start;
            flex-direction: column;
    }
}

.controllers-shell {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 58px 0 76px;
}

.controllers-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.controllers-eyebrow {
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.controllers-heading h1 {
    margin: 12px 0;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.07em;
}

.controllers-heading p {
    margin: 0;
    color: #475569;
    font-size: 1.12rem;
    line-height: 1.8;
}

.controllers-layout {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    align-items: start;
    gap: 30px;
}

.controllers-sidebar {
    position: sticky;
    top: 96px;
    padding: 18px 14px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    background: #fff;
}

.controllers-sidebar h2 {
    margin: 0 0 12px;
    padding: 0 8px;
    color: #64748b;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.controllers-sidebar ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.controllers-sidebar a {
    display: block;
    padding: 0.62rem 0.7rem;
    border-radius: 10px;
    color: #475569;
}

.controllers-sidebar a:hover,
.controllers-sidebar a.active {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
}

.controllers-content {
    display: grid;
    gap: 20px;
}

.controllers-card {
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.04);
}

.controllers-card h2 {
    margin: 0 0 12px;
    font-size: 1.55rem;
    letter-spacing: -0.04em;
}

.controllers-card h3 {
    margin: 22px 0 8px;
    font-size: 1.08rem;
}

.controllers-card p,
.controllers-card li {
    color: #475569;
    line-height: 1.8;
}

.controllers-card p {
    margin: 0 0 12px;
}

.controllers-code {
    overflow-x: auto;
    margin: 18px 0 0;
    padding: 20px;
    border: 1px solid #1e293b;
    border-radius: 16px;
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.86rem;
    line-height: 1.75;
}

.controllers-code code {
    font-family: "SFMono-Regular", Consolas, monospace;
}

.controllers-list {
    margin: 12px 0 0;
    padding-left: 1.3rem;
}

.controllers-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-left: 3px solid #38bdf8;
    border-radius: 0 12px 12px 0;
    background: #f0f9ff;
    color: #334155;
    line-height: 1.7;
}

.controllers-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    border-radius: 18px;
    background: #eff6ff;
}

.controllers-next p {
    margin: 4px 0 0;
    color: #475569;
}

@media (max-width: 900px) {
    .controllers-layout,
        .docs-footer-grid {
            grid-template-columns: 1fr;
    }

    .controllers-sidebar {
            position: static;
    }
}

@media (max-width: 760px) {
    .controllers-card {
            padding: 22px 18px;
    }

    .controllers-next,
        .docs-footer-bottom {
            align-items: flex-start;
            flex-direction: column;
    }
}

.docs-nav,
.docs-header-actions {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.docs-nav,
.docs-link {
    color: #475569;
    font-size: 0.96rem;
}

.installation-shell {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 58px 0 76px;
}

.installation-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.installation-eyebrow {
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.installation-heading h1 {
    margin: 12px 0;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.07em;
}

.installation-heading p {
    margin: 0;
    color: #475569;
    font-size: 1.12rem;
    line-height: 1.8;
}

.installation-layout {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    align-items: start;
    gap: 30px;
}

.installation-sidebar {
    position: sticky;
    top: 96px;
    padding: 18px 14px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    background: #fff;
}

.installation-sidebar h2 {
    margin: 0 0 12px;
    padding: 0 8px;
    color: #64748b;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.installation-sidebar ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.installation-sidebar a {
    display: block;
    padding: 0.62rem 0.7rem;
    border-radius: 10px;
    color: #475569;
}

.installation-sidebar a:hover,
.installation-sidebar a.active {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
}

.installation-content {
    display: grid;
    gap: 20px;
}

.installation-card {
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.04);
}

.installation-card h2 {
    margin: 0 0 12px;
    font-size: 1.55rem;
    letter-spacing: -0.04em;
}

.installation-card p,
.installation-card li {
    color: #475569;
    line-height: 1.8;
}

.installation-card p {
    margin: 0 0 12px;
}

.installation-card ul,
.installation-card ol {
    margin: 12px 0 0;
    padding-left: 1.3rem;
}

.installation-code {
    overflow-x: auto;
    margin: 18px 0 0;
    padding: 20px;
    border: 1px solid #1e293b;
    border-radius: 16px;
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.86rem;
    line-height: 1.75;
}

.installation-code code {
    font-family: "SFMono-Regular", Consolas, monospace;
}

.installation-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-left: 3px solid #38bdf8;
    border-radius: 0 12px 12px 0;
    background: #f0f9ff;
    color: #334155;
    line-height: 1.7;
}

.installation-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    border-radius: 18px;
    background: #eff6ff;
}

.installation-next p {
    margin: 4px 0 0;
    color: #475569;
}

@media (max-width: 900px) {
    .installation-layout,
        .docs-footer-grid {
            grid-template-columns: 1fr;
    }

    .installation-sidebar {
            position: static;
    }
}

@media (max-width: 760px) {
    .installation-card {
            padding: 22px 18px;
    }

    .installation-next,
        .docs-footer-bottom {
            align-items: flex-start;
            flex-direction: column;
    }
}

.overview-shell {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 58px 0 76px;
}

.overview-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.overview-eyebrow {
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.overview-heading h1 {
    margin: 12px 0;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.07em;
}

.overview-heading p {
    margin: 0;
    color: #475569;
    font-size: 1.12rem;
    line-height: 1.8;
}

.overview-grid {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    align-items: start;
    gap: 30px;
}

.overview-sidebar {
    position: sticky;
    top: 96px;
    padding: 18px 14px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    background: #fff;
}

.overview-sidebar h2 {
    margin: 0 0 12px;
    padding: 0 8px;
    color: #64748b;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.overview-sidebar ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.overview-sidebar a {
    display: block;
    padding: 0.62rem 0.7rem;
    border-radius: 10px;
    color: #475569;
}

.overview-sidebar a:hover,
.overview-sidebar a.active {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
}

.overview-articles {
    display: grid;
    gap: 20px;
}

.overview-card {
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.04);
}

.overview-card h2 {
    margin: 0 0 12px;
    font-size: 1.55rem;
    letter-spacing: -0.04em;
}

.overview-card p,
.overview-card li {
    color: #475569;
    line-height: 1.8;
}

.overview-card p {
    margin: 0 0 12px;
}

.overview-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.overview-feature {
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
}

.overview-feature h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.overview-feature p {
    margin: 0;
    font-size: 0.94rem;
}

.overview-code {
    overflow-x: auto;
    margin: 18px 0 0;
    padding: 20px;
    border: 1px solid #1e293b;
    border-radius: 16px;
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.86rem;
    line-height: 1.75;
}

.overview-code code {
    font-family: "SFMono-Regular", Consolas, monospace;
}

.overview-list {
    margin: 12px 0 0;
    padding-left: 1.2rem;
}

.overview-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 8px;
    padding: 22px 24px;
    border-radius: 18px;
    background: #eff6ff;
}

.overview-next p {
    margin: 4px 0 0;
    color: #475569;
}

@media (max-width: 900px) {
    .overview-grid {
            grid-template-columns: 1fr;
    }

    .overview-sidebar {
            position: static;
    }

    .overview-cards,
        .docs-footer-grid {
            grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .overview-card {
            padding: 22px 18px;
    }

    .overview-next,
        .docs-footer-bottom {
            align-items: flex-start;
            flex-direction: column;
    }
}

.routing-shell {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 58px 0 76px;
}

.routing-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.routing-eyebrow {
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.routing-heading h1 {
    margin: 12px 0;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.07em;
}

.routing-heading p {
    margin: 0;
    color: #475569;
    font-size: 1.12rem;
    line-height: 1.8;
}

.routing-layout {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    align-items: start;
    gap: 30px;
}

.routing-sidebar {
    position: sticky;
    top: 96px;
    padding: 18px 14px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    background: #fff;
}

.routing-sidebar h2 {
    margin: 0 0 12px;
    padding: 0 8px;
    color: #64748b;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.routing-sidebar ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.routing-sidebar a {
    display: block;
    padding: 0.62rem 0.7rem;
    border-radius: 10px;
    color: #475569;
}

.routing-sidebar a:hover,
.routing-sidebar a.active {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
}

.routing-content {
    display: grid;
    gap: 20px;
}

.routing-card {
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.04);
}

.routing-card h2 {
    margin: 0 0 12px;
    font-size: 1.55rem;
    letter-spacing: -0.04em;
}

.routing-card h3 {
    margin: 22px 0 8px;
    font-size: 1.08rem;
}

.routing-card p,
.routing-card li {
    color: #475569;
    line-height: 1.8;
}

.routing-card p {
    margin: 0 0 12px;
}

.routing-code {
    overflow-x: auto;
    margin: 18px 0 0;
    padding: 20px;
    border: 1px solid #1e293b;
    border-radius: 16px;
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.86rem;
    line-height: 1.75;
}

.routing-code code {
    font-family: "SFMono-Regular", Consolas, monospace;
}

.routing-list {
    margin: 12px 0 0;
    padding-left: 1.3rem;
}

.routing-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-left: 3px solid #38bdf8;
    border-radius: 0 12px 12px 0;
    background: #f0f9ff;
    color: #334155;
    line-height: 1.7;
}

.routing-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    border-radius: 18px;
    background: #eff6ff;
}

.routing-next p {
    margin: 4px 0 0;
    color: #475569;
}

@media (max-width: 760px) {
    .docs-footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 900px) {
    .routing-layout,
        .docs-footer-grid {
            grid-template-columns: 1fr;
    }

    .routing-sidebar {
            position: static;
    }
}

@media (max-width: 760px) {
    .routing-card {
            padding: 22px 18px;
    }

    .routing-next,
        .docs-footer-bottom {
            align-items: flex-start;
            flex-direction: column;
    }
}

.docs-guide-shell {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 58px 0 76px;
}

.docs-guide-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.docs-guide-eyebrow {
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.docs-guide-heading h1 {
    margin: 12px 0;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.07em;
}

.docs-guide-heading p {
    margin: 0;
    color: #475569;
    font-size: 1.12rem;
    line-height: 1.8;
}

.docs-guide-layout {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    align-items: start;
    gap: 30px;
    min-width: 0;
}

.docs-guide-sidebar {
    position: sticky;
    top: 96px;
    padding: 18px 14px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    background: #fff;
}

.docs-guide-sidebar h2 {
    margin: 0 0 12px;
    padding: 0 8px;
    color: #64748b;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.docs-guide-sidebar ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.docs-guide-sidebar a {
    display: block;
    padding: 0.62rem 0.7rem;
    border-radius: 10px;
    color: #475569;
}

.docs-guide-sidebar a:hover,
.docs-guide-sidebar a.active {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
}

.docs-guide-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    min-width: 0;
}

.docs-guide-card {
    min-width: 0;
    padding: 28px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.04);
}

.docs-guide-card h2 {
    margin: 0 0 12px;
    font-size: 1.55rem;
    letter-spacing: -0.04em;
}

.docs-guide-card p,
.docs-guide-card li {
    color: #475569;
    line-height: 1.8;
}

.docs-guide-card p {
    margin: 0 0 12px;
}

.docs-guide-code {
    overflow-x: auto;
    margin: 18px 0 0;
    padding: 20px;
    border: 1px solid #1e293b;
    border-radius: 16px;
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.86rem;
    line-height: 1.75;
}

.docs-guide-code code {
    font-family: "SFMono-Regular", Consolas, monospace;
}

.docs-guide-list {
    margin: 12px 0 0;
    padding-left: 1.3rem;
}

.docs-guide-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-left: 3px solid #38bdf8;
    border-radius: 0 12px 12px 0;
    background: #f0f9ff;
    color: #334155;
    line-height: 1.7;
}

.docs-guide-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    padding: 22px 24px;
    border-radius: 18px;
    background: #eff6ff;
}

.docs-guide-next p {
    margin: 4px 0 0;
    color: #475569;
}

.docs-guide-demo {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background: #eff6ff;
}

.docs-guide-demo > section,
.docs-guide-widget-demos {
    display: grid;
    gap: 14px;
}

.docs-guide-demo > section {
    grid-template-columns: auto 1fr;
    align-items: center;
}

.docs-guide-demo-value {
    margin-left: 12px;
    color: #1e3a8a;
    font-weight: 700;
}

.docs-guide-widget-demos > section {
    display: grid;
    justify-items: start;
    gap: 10px;
}

.docs-guide-widget-demos > section + section {
    padding-top: 16px;
    border-top: 1px solid #bfdbfe;
}

.docs-guide-widget-demos textarea {
    width: min(100%, 520px);
}

.docs-guide-widget-demos output {
    color: #334155;
    line-height: 1.6;
}

.docs-guide-widget-demos .litewire-login-form {
    display: grid;
    width: min(100%, 420px);
    gap: 14px;
    padding: 22px;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.docs-guide-widget-demos .litewire-login-form h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.2rem;
}

.docs-guide-widget-demos .litewire-login-field {
    display: grid;
    width: 100%;
    gap: 6px;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 600;
}

.docs-guide-widget-demos .litewire-login-field input {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    font: inherit;
}

.docs-guide-widget-demos .litewire-login-form button {
    min-height: 44px;
    padding: 0.7rem 1rem;
    border: 1px solid #1d4ed8;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 650;
}

.docs-guide-widget-demos .litewire-login-form button:focus-visible,
.docs-guide-widget-demos .litewire-login-field input:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.32);
    outline-offset: 2px;
}

.docs-litewire-button {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border: 1px solid #1d4ed8;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 5px 12px rgba(37, 99, 235, 0.18);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 650;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.docs-litewire-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.24);
}

.docs-litewire-button:focus-visible,
.docs-litewire-textarea:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.32);
    outline-offset: 2px;
}

.docs-litewire-button-secondary {
    border-color: #cbd5e1;
    background: #fff;
    box-shadow: none;
    color: #334155;
}

.docs-litewire-button-secondary:hover {
    background: #f8fafc;
    box-shadow: 0 5px 12px rgba(15, 23, 42, 0.1);
}

.docs-litewire-textarea {
    display: block;
    min-height: 100px;
    padding: 0.85rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
    color: #0f172a;
    font: inherit;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.docs-litewire-textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.docs-litewire-spinner {
    display: none;
}

.docs-litewire-spinner.litewire-request {
    display: inline;
}

@media (max-width: 900px) {
    .docs-guide-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .docs-guide-sidebar {
        position: static;
    }
}

@media (max-width: 760px) {
    .docs-nav,
    .docs-header-actions {
        display: none;
    }

    .docs-guide-card {
        padding: 22px 18px;
    }

    .docs-guide-next {
        align-items: flex-start;
        flex-direction: column;
    }
}

.docs-dropdown {
    position: relative;
}

.docs-dropdown summary {
    position: relative;
    padding-right: 16px;
    cursor: pointer;
    list-style: none;
}

.docs-dropdown summary::-webkit-details-marker {
    display: none;
}

.docs-dropdown summary::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: "";
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.15s ease;
}

.docs-dropdown[open] summary::after {
    transform: translateY(-20%) rotate(225deg);
}

.docs-dropdown summary.active {
    color: #2563eb;
    font-weight: 700;
}

.docs-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: -14px;
    z-index: 30;
    display: grid;
    min-width: 176px;
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.docs-dropdown-menu a {
    display: block;
    padding: 0.62rem 0.7rem;
    border-radius: 9px;
    color: #475569;
    white-space: nowrap;
}

.docs-dropdown-menu a:hover,
.docs-dropdown-menu a.active {
    background: #eff6ff;
    color: #1d4ed8;
}

@media (max-width: 760px) {
    .docs-header-inner {
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 8px 0;
    }

    .docs-nav {
        display: flex;
        order: 3;
        width: 100%;
        flex: 0 0 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.65rem 1rem;
        overflow: visible;
    }

    .docs-header-actions {
        display: none;
    }

    .docs-dropdown-menu {
        top: calc(100% + 6px);
        right: 0;
        left: auto;
    }
}
