:root {
    --bg-main: #040816;
    --bg-soft: rgba(255, 255, 255, 0.04);
    --border-soft: rgba(255, 255, 255, 0.10);
    --text-muted: rgba(241, 245, 249, 0.72);
    --violet-main: #8b5cf6;
    --violet-soft: rgba(139, 92, 246, 0.18);
    --indigo-soft: rgba(99, 102, 241, 0.18);
    --white-soft: rgba(255, 255, 255, 0.06);
    --shadow-main: 0 24px 80px rgba(2, 6, 23, 0.45);
    --nav-height: 88px;
}

html {
    scroll-behavior: auto;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-main);
    color: #ffffff;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 2000;
    transform: translateY(-150%);
    border: 2px solid #ffffff;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    background: #ffffff;
    color: #020617;
    font-weight: 800;
    box-shadow: 0 18px 42px rgba(2, 6, 23, 0.42);
    transition: transform 120ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

a {
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #facc15;
    outline-offset: 4px;
    box-shadow: 0 0 0 6px rgba(250, 204, 21, 0.18);
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.10) !important;
}

.landing-shell {
    overflow-x: hidden;
}

.hero-section {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(168, 85, 247, 0.28), transparent 28%),
        radial-gradient(circle at top left, rgba(99, 102, 241, 0.18), transparent 24%),
        linear-gradient(180deg, #020617 0%, #0b1224 60%, #040816 100%);
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.02) 50%, transparent 100%);
    opacity: 0.5;
}

.landing-nav {
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(18px);
    background: rgba(4, 8, 22, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 16px 48px rgba(2, 6, 23, 0.28);
}

.landing-nav .container-fluid,
.landing-nav .navbar-collapse {
    min-width: 0;
}

.landing-nav .navbar-collapse {
    gap: 0.75rem;
}

.landing-nav .navbar-nav {
    column-gap: 0.35rem;
    row-gap: 0.25rem;
}

.landing-nav .nav-link {
    padding: 0.45rem 0.7rem;
    font-size: 0.96rem;
    white-space: nowrap;
}

.landing-nav-actions {
    flex-shrink: 0;
}

.landing-nav-actions .btn {
    padding-inline: 1.1rem;
    white-space: nowrap;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 1rem;
    background: rgba(139, 92, 246, 0.18);
    border: 1px solid rgba(196, 181, 253, 0.25);
    color: #ede9fe;
    font-size: 1.5rem;
    font-weight: 800;
}

.hero-content {
    min-height: calc(100vh - 10rem);
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(196, 181, 253, 0.18);
    background: rgba(139, 92, 246, 0.10);
    color: #ddd6fe;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-title {
    max-width: 52rem;
    line-height: 1.04;
}

.hero-subtitle,
.section-subtitle,
.text-body-secondary {
    color: var(--text-muted) !important;
}

.metric-card,
.glass-card,
.api-card,
.pricing-card,
.docs-card,
.docs-section,
.form-shell,
.restriction-card,
.cta-panel {
    border: 1px solid var(--border-soft);
    background: var(--bg-soft);
    box-shadow: var(--shadow-main);
    backdrop-filter: blur(12px);
}

.metric-card {
    height: 100%;
    padding: 1.1rem 1rem;
    border-radius: 1.35rem;
}

.metric-card,
.glass-card,
.api-card,
.pricing-card,
.docs-card,
.docs-section,
.form-shell,
.restriction-card,
.cta-panel {
    color: #ffffff;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
}

.metric-label {
    margin-top: 0.35rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.4;
}

.api-card {
    border-radius: 1.75rem;
    padding: 1.5rem;
}

.api-badge {
    color: #bbf7d0;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.16);
}

.code-panel,
.json-panel {
    background: rgba(2, 6, 23, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 1rem 1.1rem;
}

.code-panel pre,
.json-panel pre,
.docs-section pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    color: #dbeafe;
    font-size: 0.92rem;
    line-height: 1.75;
}

.landing-section {
    padding: 5.5rem 0;
}

.border-top-soft {
    position: relative;
}

.border-top-soft::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 50%, transparent 100%);
    opacity: 0.45;
}

.section-heading {
    text-align: center;
    max-width: 54rem;
    margin: 0 auto 3rem;
}

.section-title {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.glass-card {
    border-radius: 1.5rem;
    padding: 1.5rem;
    height: 100%;
}

.icon-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.32), rgba(99, 102, 241, 0.18));
    color: #ede9fe;
    font-weight: 800;
}

.coverage-accordion .accordion-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-soft);
    border-radius: 1.5rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.coverage-accordion .accordion-button {
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
    font-weight: 700;
    padding: 1.25rem 1.5rem;
    box-shadow: none;
}

.coverage-accordion .accordion-button:not(.collapsed) {
    background: rgba(139, 92, 246, 0.12);
    color: #ffffff;
}

.coverage-accordion .accordion-button::after {
    filter: invert(1) brightness(120%);
}

.coverage-accordion .accordion-body {
    background: rgba(2, 6, 23, 0.34);
    padding: 1.5rem;
}

.coverage-pill,
.sdk-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.25rem;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #e2e8f0;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.35;
}

.coverage-pill {
    gap: 0.65rem;
    justify-content: space-between;
}

.coverage-pill > span:first-child {
    min-width: 0;
}

.coverage-pill-ready {
    border-color: rgba(34, 197, 94, 0.22);
    background: rgba(34, 197, 94, 0.07);
}

.coverage-pill-coming-soon {
    border-color: rgba(250, 204, 21, 0.22);
    background: rgba(250, 204, 21, 0.06);
}

.engine-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 1.7rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.engine-status-ready {
    color: #bbf7d0;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.28);
}

.engine-status-coming-soon {
    color: #fde68a;
    background: rgba(250, 204, 21, 0.14);
    border: 1px solid rgba(250, 204, 21, 0.28);
}

.sdk-badge {
    width: auto;
    min-height: auto;
    color: #ffffff;
    gap: 0.55rem;
    justify-content: space-between;
}

.sdk-badge-coming-soon {
    border-color: rgba(250, 204, 21, 0.22);
    background: rgba(250, 204, 21, 0.06);
}

.stack-list {
    display: grid;
    gap: 1rem;
}

.stack-item {
    padding: 1.15rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.stack-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.stack-text {
    color: var(--text-muted);
}

.pricing-card {
    padding: 1.75rem;
    border-radius: 1.75rem;
    height: 100%;
}

.pricing-card-featured {
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.18) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(167, 139, 250, 0.28);
}

.pricing-badge {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-bottom: 0.65rem;
}

.pricing-name {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 800;
}

.pricing-period {
    color: var(--text-muted);
}

.pricing-list li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

.pricing-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: rgba(196, 181, 253, 0.9);
}

.restriction-card {
    border-radius: 1.5rem;
    padding: 1.2rem 1.35rem;
    color: #e2e8f0;
    background: rgba(139, 92, 246, 0.10);
    box-shadow: none;
}

.cta-panel {
    border-radius: 2rem;
    padding: 2rem;
    background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(99, 102, 241, 0.10), rgba(255, 255, 255, 0.03));
}

.legal-footer {
    padding: 1.5rem 0 2rem;
    color: var(--text-muted);
    background: #040816;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}

.form-shell {
    border-radius: 1.5rem;
    padding: 1.5rem;
    background: rgba(4, 8, 22, 0.56);
}

.form-label {
    color: #e2e8f0;
}

.form-control,
.form-select {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-radius: 1rem;
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(196, 181, 253, 0.48);
    color: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(139, 92, 246, 0.14);
}

textarea.form-control::placeholder,
input.form-control::placeholder {
    color: rgba(226, 232, 240, 0.48);
}

.docs-page {
    background:
        radial-gradient(circle at top right, rgba(168, 85, 247, 0.24), transparent 25%),
        linear-gradient(180deg, #020617 0%, #040816 100%);
}

.docs-card {
    border-radius: 2rem;
    padding: 2rem;
}

.docs-section {
    border-radius: 1.25rem;
    padding: 1.25rem;
}

.docs-endpoint-select {
    width: min(100%, 22rem);
    min-height: 2.65rem;
    background-color: rgba(255, 255, 255, 0.06);
}

.docs-endpoint-select option {
    background-color: #1f2431;
    color: #f8fafc;
}

.docs-action-button {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc;
    font-weight: 700;
    padding: 0.65rem 1rem;
    box-shadow: none;
}

.docs-action-button:hover,
.docs-action-button:focus {
    border-color: rgba(255, 255, 255, 0.30);
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
}

.design-system-page .design-system-card {
    display: grid;
    gap: 1.25rem;
}

.design-system-page {
    --xylop-bg: #070b17;
    --xylop-surface: rgba(14, 20, 39, 0.78);
    --xylop-surface-strong: rgba(10, 15, 31, 0.92);
    --xylop-border: rgba(129, 150, 255, 0.18);
    --xylop-border-strong: rgba(122, 147, 255, 0.32);
    --xylop-text: #edf2ff;
    --xylop-muted: #98a4d3;
    --xylop-primary: #7c8cff;
    --xylop-primary-strong: #9f74ff;
    --xylop-success: #37d39a;
    --xylop-warning: #ffcf68;
}

.design-system-page .design-system-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
    max-width: 22rem;
}

.design-system-page .design-system-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2.1rem;
    padding: 0 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.design-system-page .design-system-section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.design-system-page .design-system-subgrid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.9rem;
}

.design-system-page .design-system-token {
    display: grid;
    gap: 0.55rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.design-system-page .design-system-token-swatch {
    min-height: 4.5rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02)),
        var(--swatch-color);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.design-system-page .design-system-token-name,
.design-system-page .design-system-token-value,
.design-system-page .design-system-text-label {
    color: var(--text-muted);
    font-size: 0.86rem;
}

.design-system-page .design-system-token code {
    width: fit-content;
}

.design-system-page .design-system-stack {
    display: grid;
    gap: 1rem;
}

.design-system-page .design-system-text-hero {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    font-weight: 800;
    color: #ffffff;
}

.design-system-page .design-system-text-section {
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff;
}

.design-system-page .design-system-text-body {
    color: #e2e8f0;
    line-height: 1.6;
}

.design-system-page .design-system-text-muted {
    color: var(--text-muted);
    line-height: 1.6;
}

.design-system-page .design-system-surface-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.design-system-page .design-system-surface {
    min-height: 11rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--border-soft);
    background: var(--bg-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
}

.design-system-page .landing-surface {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.03);
}

.design-system-page .customer-surface {
    background:
        linear-gradient(180deg, rgba(14, 20, 39, 0.86), rgba(9, 14, 28, 0.96)),
        rgba(255, 255, 255, 0.03);
    border-color: rgba(129, 150, 255, 0.16);
}

.design-system-page .design-system-surface-title {
    font-weight: 800;
    color: #ffffff;
}

.design-system-page .design-system-surface-text {
    color: var(--text-muted);
    line-height: 1.5;
}

.design-system-page .design-system-button-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.design-system-page .design-system-button-group {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.design-system-page .design-system-button-group-title {
    color: #e2e8f0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.design-system-page .customer-input.form-control,
.design-system-page .usage-payload-textarea.form-control {
    min-height: 48px;
    border-radius: 1rem;
    border: 1px solid rgba(137, 152, 214, 0.24);
    background: rgba(7, 12, 24, 0.94);
    color: #f3f6ff;
}

.design-system-page .usage-payload-textarea.form-control {
    min-height: 160px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.92rem;
    line-height: 1.6;
    resize: vertical;
}

.design-system-page .customer-input.form-control:focus,
.design-system-page .usage-payload-textarea.form-control:focus {
    background: rgba(8, 13, 27, 0.98);
    color: #ffffff;
    border-color: rgba(124, 140, 255, 0.56);
    box-shadow: 0 0 0 0.18rem rgba(124, 140, 255, 0.18);
}

.design-system-page .btn-xylop-primary,
.design-system-page .btn-xylop-secondary,
.design-system-page .btn-xylop-danger {
    border-radius: 16px;
    font-weight: 700;
    padding: 0.9rem 1.15rem;
}

.design-system-page .btn-xylop-primary {
    border: none;
    color: white;
    background: linear-gradient(135deg, var(--xylop-primary), var(--xylop-primary-strong));
    box-shadow: 0 18px 30px rgba(124, 140, 255, 0.22);
}

.design-system-page .btn-xylop-secondary {
    border: 1px solid rgba(137, 152, 214, 0.22);
    color: white;
    background: rgba(255, 255, 255, 0.03);
}

.design-system-page .btn-xylop-danger {
    border: 1px solid rgba(255, 83, 115, 0.32);
    color: #ffe1e8;
    background: rgba(255, 83, 115, 0.10);
}

.design-system-page .btn-xylop-primary:hover,
.design-system-page .btn-xylop-secondary:hover,
.design-system-page .btn-xylop-danger:hover {
    color: white;
}

.design-system-page .btn-xylop-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
}

.design-system-page .btn-xylop-danger:hover {
    background: rgba(255, 83, 115, 0.16);
    border-color: rgba(255, 83, 115, 0.42);
}

.design-system-page .design-system-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.design-system-page .status-pill,
.design-system-page .module-status {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.design-system-page .status-pill-success,
.design-system-page .module-status.ready {
    color: var(--xylop-success);
    background: rgba(55, 211, 154, 0.12);
    border: 1px solid rgba(55, 211, 154, 0.22);
}

.design-system-page .status-pill-warning,
.design-system-page .module-status.planned {
    color: var(--xylop-warning);
    background: rgba(255, 207, 104, 0.12);
    border: 1px solid rgba(255, 207, 104, 0.22);
}

.design-system-page .status-pill-muted {
    color: #cbd4f7;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(137, 152, 214, 0.16);
}

.design-system-page .xylop-alert {
    border-radius: 18px;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(137, 152, 214, 0.18);
    color: var(--xylop-text);
    background: rgba(255, 255, 255, 0.04);
}

.design-system-page .xylop-alert-success {
    border-color: rgba(55, 211, 154, 0.25);
    background: rgba(55, 211, 154, 0.08);
}

.design-system-page .xylop-alert-danger {
    border-color: rgba(255, 100, 124, 0.28);
    background: rgba(255, 100, 124, 0.08);
    color: #ffe2e8;
}

.design-system-page .design-system-component-list {
    display: grid;
    gap: 0.75rem;
}

.design-system-page .design-system-component-item {
    display: grid;
    gap: 0.3rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(137, 152, 214, 0.14);
    background: rgba(255, 255, 255, 0.03);
}

.design-system-page .design-system-component-item strong {
    color: #ffffff;
}

.design-system-page .design-system-component-item span {
    color: var(--text-muted);
    line-height: 1.5;
}

.design-system-page .design-system-footer-note {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(137, 152, 214, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    line-height: 1.55;
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-color: transparent;
    box-shadow: 0 18px 42px rgba(124, 58, 237, 0.28);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    border-color: transparent;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.18);
}

.btn-outline-light:hover {
    color: #020617;
}

code {
    color: #bfdbfe;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (forced-colors: active) {
    .hero-background,
    .brand-mark,
    .icon-chip {
        forced-color-adjust: auto;
    }

    .skip-link,
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible,
    [tabindex]:focus-visible {
        outline: 3px solid Highlight;
        box-shadow: none;
    }
}

@media (max-width: 1499.98px) {
    .landing-nav {
        padding-inline: 1rem;
    }

    .landing-nav .nav-link {
        padding-inline: 0.55rem;
        font-size: 0.92rem;
    }

    .landing-nav-actions .btn {
        padding-inline: 0.9rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 991.98px) {
    .landing-nav {
        border-radius: 1.5rem;
    }

    .hero-content {
        min-height: auto;
        padding-top: 3rem;
    }

    .design-system-page .design-system-subgrid,
    .design-system-page .design-system-button-grid,
    .design-system-page .design-system-surface-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .design-system-page .design-system-button-grid {
        gap: 0.85rem;
    }

    .design-system-page .design-system-subgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .design-system-page .design-system-surface-grid {
        grid-template-columns: 1fr;
    }

    .design-system-page .design-system-meta {
        justify-content: flex-start;
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .landing-section {
        padding: 4rem 0;
    }

    .cta-panel,
    .docs-card,
    .api-card,
    .pricing-card,
    .glass-card,
    .metric-card {
        border-radius: 1.25rem;
    }

    .pricing-price {
        font-size: 2rem;
    }

    .design-system-page .design-system-card {
        padding: 1.25rem;
    }

    .design-system-page .design-system-subgrid,
    .design-system-page .design-system-button-grid,
    .design-system-page .design-system-surface-grid {
        grid-template-columns: 1fr;
    }
}

/* Unified futuristic scrollbar (aligned with Customer/Admin projects) */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 92, 255, 0.82) rgba(5, 10, 24, 0.72);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.landing-shell::-webkit-scrollbar,
.table-responsive::-webkit-scrollbar,
pre::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.landing-shell::-webkit-scrollbar-track,
.table-responsive::-webkit-scrollbar-track,
pre::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(5, 10, 24, 0.96), rgba(10, 18, 42, 0.88));
    border-left: 1px solid rgba(93, 130, 255, 0.14);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.landing-shell::-webkit-scrollbar-thumb,
.table-responsive::-webkit-scrollbar-thumb,
pre::-webkit-scrollbar-thumb {
    min-height: 48px;
    border: 3px solid rgba(5, 10, 24, 0.94);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(141, 113, 255, 0.98), rgba(49, 224, 198, 0.86));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 18px rgba(124, 92, 255, 0.34), 0 0 26px rgba(49, 224, 198, 0.2);
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
.landing-shell::-webkit-scrollbar-thumb:hover,
.table-responsive::-webkit-scrollbar-thumb:hover,
pre::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(174, 151, 255, 1), rgba(64, 244, 216, 0.95));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 0 26px rgba(124, 92, 255, 0.52), 0 0 36px rgba(49, 224, 198, 0.34);
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
.landing-shell::-webkit-scrollbar-corner,
.table-responsive::-webkit-scrollbar-corner,
pre::-webkit-scrollbar-corner {
    background: rgba(5, 10, 24, 0.96);
}
