/* static-page--docs-cookie */
body.static-page--docs-cookie {
    --guide-bg: #f8fafc;
    --guide-surface: #ffffff;
    --guide-soft: #f1f5f9;
    --guide-text: #0f172a;
    --guide-muted: #5b6b80;
    --guide-line: rgba(15, 23, 42, 0.1);
    --guide-indigo: #4f46e5;
    --guide-indigo-rgb: 79, 70, 229;
    --guide-emerald: #059669;
    --guide-emerald-rgb: 5, 150, 105;
    --guide-amber: #b45309;
    --guide-amber-rgb: 180, 83, 9;
    background-color: var(--guide-bg);
    background-image: linear-gradient(180deg, #ffffff 0%, #f8fafc 52%, #eef3f8 100%);
    color: var(--guide-text);
}

body.static-page--docs-cookie header {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(15, 23, 42, 0.08);
}

body.static-page--docs-cookie .btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
    box-shadow: 0 18px 42px -24px rgba(79, 70, 229, 0.68);
}

body.static-page--docs-cookie .btn-outline {
    background: rgba(255, 255, 255, 0.76);
    border-color: rgba(79, 70, 229, 0.2);
    color: var(--guide-text);
}

.docs-onboarding-shell,
.resource-economy-shell,
.assembly-line-shell {
    display: grid;
    gap: 58px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 50px 0 78px;
}

.docs-onboarding-hero,
.assembly-line-hero,
.resource-scale-layout,
.docs-safety-section,
.docs-control-section,
.resource-economy-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
    gap: 32px;
    align-items: center;
}

.docs-onboarding-hero-copy,
.assembly-line-hero-copy,
.resource-economy-hero,
.docs-wizard-head,
.resource-section-head,
.assembly-section-head,
.docs-safety-copy,
.assembly-check-head {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.docs-onboarding-kicker,
.docs-wizard-kicker,
.resource-economy-kicker,
.resource-section-kicker,
.assembly-line-kicker,
.assembly-section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid rgba(var(--guide-indigo-rgb), 0.16);
    border-radius: 999px;
    background: rgba(var(--guide-indigo-rgb), 0.08);
    color: var(--guide-indigo);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.docs-onboarding-kicker {
    border-color: rgba(var(--guide-emerald-rgb), 0.18);
    background: rgba(var(--guide-emerald-rgb), 0.08);
    color: var(--guide-emerald);
}

.docs-onboarding-hero h1,
.resource-economy-hero h1,
.assembly-line-hero h1 {
    margin: 0;
    color: var(--guide-text);
    font-size: 4rem;
    line-height: 1.06;
    letter-spacing: 0;
}

.docs-onboarding-hero p,
.resource-economy-hero p,
.assembly-line-hero p,
.docs-wizard-head p,
.resource-section-head p,
.docs-safety-copy p,
.docs-value-card p,
.docs-control-section p,
.resource-scale-body p,
.resource-inside-card li,
.resource-plan-card p,
.resource-plan-card li,
.resource-cost-menu p,
.resource-lifecycle-grid p,
.resource-economy-cta p,
.assembly-section-head p,
.assembly-step-card p,
.assembly-check-head p,
.assembly-check-grid div,
.assembly-handover-grid p,
.assembly-note-card p,
.assembly-final-cta p {
    margin: 0;
    color: var(--guide-muted);
    line-height: 1.7;
}

.docs-onboarding-hero p,
.resource-economy-hero p,
.assembly-line-hero p {
    max-width: 700px;
    font-size: 1.08rem;
}

.docs-onboarding-actions,
.resource-economy-actions,
.assembly-line-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.docs-onboarding-actions--end,
.resource-economy-actions--end {
    justify-content: flex-end;
    margin-top: 0;
}

.docs-onboarding-trust-card,
.assembly-result-card,
.resource-inside-card,
.resource-plan-card,
.resource-cost-menu,
.resource-lifecycle-grid article,
.docs-wizard-step-card,
.docs-value-card,
.assembly-step-card,
.assembly-handover-grid article {
    border: 1px solid var(--guide-line);
    border-radius: 8px;
    background: var(--guide-surface);
    box-shadow: 0 20px 58px rgba(15, 23, 42, 0.08);
}

.docs-onboarding-trust-card,
.assembly-result-card {
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: 26px;
}

.docs-google-mark {
    display: grid;
    grid-template-columns: repeat(2, 18px);
    gap: 6px;
    width: fit-content;
}

.docs-google-mark span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.docs-google-mark span:nth-child(1) { background: #4285f4; }
.docs-google-mark span:nth-child(2) { background: #ea4335; }
.docs-google-mark span:nth-child(3) { background: #fbbc05; }
.docs-google-mark span:nth-child(4) { background: #34a853; }

.docs-shield-icon {
    width: 16px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 10px 10px 8px 8px;
    clip-path: polygon(50% 0, 100% 18%, 100% 62%, 50% 100%, 0 62%, 0 18%);
}

.docs-onboarding-trust-card > span,
.assembly-result-card > span,
.resource-plan-head span,
.assembly-step-card > span,
.assembly-handover-grid span {
    color: var(--guide-muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.docs-onboarding-trust-card strong,
.assembly-result-card strong {
    color: var(--guide-text);
    font-size: 2.1rem;
    line-height: 1;
}

.docs-wizard-section,
.docs-value-section,
.resource-scale-section,
.resource-plans-section,
.resource-menu-section,
.resource-lifecycle-section,
.assembly-steps-section,
.assembly-check-section,
.assembly-handover-section,
.assembly-final-section {
    display: grid;
    gap: 30px;
}

.docs-wizard-head--center,
.resource-section-head--center,
.assembly-section-head--center {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    justify-items: center;
}

.docs-wizard-head h2,
.resource-section-head h2,
.assembly-section-head h2,
.docs-safety-section h2,
.docs-control-section h2,
.resource-economy-cta h2,
.assembly-final-cta h2 {
    margin: 0;
    color: var(--guide-text);
    font-size: 2.8rem;
    line-height: 1.08;
    letter-spacing: 0;
}

.docs-wizard-stepper,
.assembly-stepper {
    position: relative;
    display: grid;
    gap: 28px;
    max-width: 820px;
    margin: 0 auto;
}

.docs-wizard-stepper::before,
.assembly-stepper::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--guide-line);
}

.docs-wizard-step,
.assembly-step {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.docs-wizard-step-number,
.assembly-step-number {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--guide-indigo);
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 14px 32px rgba(var(--guide-indigo-rgb), 0.24);
}

.docs-wizard-step-card,
.assembly-step-card {
    display: grid;
    gap: 11px;
    padding: 24px;
}

.docs-wizard-step-card h3,
.docs-value-card h3,
.resource-inside-card h3,
.resource-plan-card h3,
.assembly-step-card h3,
.assembly-handover-grid h3,
.assembly-note-card h3 {
    margin: 0;
    color: var(--guide-text);
    font-size: 1.35rem;
    line-height: 1.16;
}

.docs-wizard-hint,
.assembly-step-chip {
    display: inline-flex;
    width: fit-content;
    min-height: 32px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(var(--guide-indigo-rgb), 0.08);
    color: var(--guide-indigo);
    font-size: 0.84rem;
    font-weight: 800;
}

.docs-safety-section {
    padding: 30px;
    border: 1px solid rgba(var(--guide-emerald-rgb), 0.2);
    border-radius: 8px;
    background: rgba(var(--guide-emerald-rgb), 0.08);
}

.docs-safety-list,
.assembly-check-grid,
.docs-value-grid,
.resource-plan-grid,
.resource-lifecycle-grid,
.assembly-handover-grid {
    display: grid;
    gap: 14px;
}

.docs-safety-list div,
.assembly-check-grid div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px;
    border: 1px solid rgba(var(--guide-emerald-rgb), 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--guide-text);
    font-weight: 700;
}

.docs-safety-list span,
.assembly-check-grid span {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--guide-emerald);
    box-shadow: 0 0 0 4px rgba(var(--guide-emerald-rgb), 0.12);
}

.docs-value-section,
.resource-plans-section {
    margin: 8px 0;
    padding: 58px 34px;
    border-radius: 8px;
    background: #0f172a;
    color: #f8fafc;
}

.docs-wizard-head--dark h2,
.resource-section-head--dark h2 {
    color: #ffffff;
}

.docs-value-grid,
.resource-plan-grid,
.assembly-handover-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.docs-value-card {
    display: grid;
    gap: 14px;
    padding: 24px;
    background: rgba(30, 41, 59, 0.72);
    border-color: rgba(226, 232, 240, 0.12);
}

.docs-value-card h3,
.resource-plans-section .resource-plan-card h3 {
    color: #ffffff;
}

.docs-value-section .docs-value-card p,
.resource-plans-section .resource-plan-card p,
.resource-plans-section .resource-plan-card li {
    color: rgba(226, 232, 240, 0.78);
}

.docs-value-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(var(--guide-indigo-rgb), 0.18);
    color: #c7d2fe;
    font-weight: 900;
}

.docs-value-card--search .docs-value-icon::before { content: 'Q'; }
.docs-value-card--trend .docs-value-icon::before { content: '+'; }
.docs-value-card--ai .docs-value-icon::before { content: 'AI'; }

.docs-control-section,
.resource-economy-cta {
    padding: 30px;
    border-top: 1px solid var(--guide-line);
    border-bottom: 1px solid var(--guide-line);
}

.resource-economy-hero {
    justify-items: center;
    max-width: 880px;
    margin: 0 auto;
    padding: 42px 0 18px;
    text-align: center;
}

.resource-scale-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
}

.resource-scale-list {
    display: grid;
    gap: 18px;
}

.resource-scale-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.resource-scale-icon {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    background: var(--guide-soft);
}

.resource-scale-row--indigo .resource-scale-icon { background: rgba(var(--guide-indigo-rgb), 0.14); }
.resource-scale-row--violet .resource-scale-icon { background: rgba(124, 58, 237, 0.14); }

.resource-scale-body {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.resource-scale-body div,
.resource-plan-head,
.resource-cost-menu article,
.resource-economy-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.resource-scale-body strong,
.resource-cost-menu strong,
.resource-lifecycle-grid strong {
    color: var(--guide-text);
}

.resource-scale-body span,
.resource-cost-menu span {
    color: var(--guide-indigo);
    font-weight: 900;
    white-space: nowrap;
}

.resource-scale-body i {
    display: block;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.22);
}

.resource-scale-body i::before {
    content: '';
    display: block;
    width: var(--resource-level);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--guide-indigo), var(--guide-emerald));
}

.resource-inside-card {
    padding: 24px;
}

.resource-inside-card ul,
.resource-plan-card ul {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.resource-inside-card li,
.resource-plan-card li {
    position: relative;
    padding-left: 20px;
}

.resource-inside-card li::before,
.resource-plan-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--guide-emerald);
}

.resource-plan-card {
    display: grid;
    gap: 14px;
    padding: 24px;
    background: rgba(30, 41, 59, 0.76);
    border-color: rgba(226, 232, 240, 0.12);
    color: #f8fafc;
}

.resource-plan-card--pro {
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.94), rgba(67, 56, 202, 0.96));
    border-color: rgba(199, 210, 254, 0.28);
    transform: translateY(-12px);
}

.resource-plan-head span {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.resource-plan-credits strong {
    color: #ffffff;
    font-size: 3rem;
    line-height: 1;
}

.resource-plan-credits span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.66);
}

.resource-cost-menu {
    display: grid;
    padding: 26px;
}

.resource-cost-menu article {
    padding: 16px 0;
    border-bottom: 1px solid var(--guide-line);
}

.resource-cost-menu article:last-child {
    border-bottom: 0;
}

.resource-lifecycle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-lifecycle-grid article {
    display: grid;
    gap: 10px;
    padding: 24px;
}

.resource-lifecycle-grid span {
    color: var(--guide-indigo);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.resource-lifecycle-grid strong {
    font-size: 1.7rem;
}

.assembly-line-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
}

.assembly-result-card {
    border-color: rgba(var(--guide-emerald-rgb), 0.22);
    background: linear-gradient(180deg, rgba(var(--guide-emerald-rgb), 0.08), var(--guide-surface));
}

.assembly-step--deploy .assembly-step-number {
    background: var(--guide-emerald);
    box-shadow: 0 14px 32px rgba(var(--guide-emerald-rgb), 0.25);
}

.assembly-step--deploy .assembly-step-card {
    border-color: rgba(var(--guide-emerald-rgb), 0.22);
    box-shadow: 0 20px 58px rgba(5, 150, 105, 0.12);
}

.assembly-check-card {
    display: grid;
    gap: 22px;
    padding: 30px;
    border: 1px solid rgba(var(--guide-amber-rgb), 0.22);
    border-radius: 8px;
    background: rgba(var(--guide-amber-rgb), 0.08);
}

.assembly-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.assembly-check-grid div {
    border-color: rgba(var(--guide-amber-rgb), 0.18);
}

.assembly-handover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.assembly-handover-grid article {
    display: grid;
    gap: 12px;
    padding: 24px;
}

.assembly-handover-grid span {
    color: var(--guide-indigo);
}

.assembly-final-section {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    align-items: center;
}

.assembly-note-card {
    display: grid;
    gap: 10px;
    padding: 24px;
    border: 1px solid rgba(var(--guide-amber-rgb), 0.24);
    border-radius: 8px;
    background: rgba(var(--guide-amber-rgb), 0.08);
}

.assembly-final-cta {
    display: grid;
    justify-items: center;
    gap: 14px;
    text-align: center;
}

.assembly-line-actions--center {
    justify-content: center;
}

body.static-page--docs-cookie.dark-mode {
    --guide-bg: #020617;
    --guide-surface: #0f172a;
    --guide-soft: #172033;
    --guide-text: #f8fafc;
    --guide-muted: #a8b4c8;
    --guide-line: rgba(226, 232, 240, 0.13);
    --guide-indigo: #a5b4fc;
    --guide-indigo-rgb: 165, 180, 252;
    --guide-emerald: #34d399;
    --guide-emerald-rgb: 52, 211, 153;
    --guide-amber: #fbbf24;
    --guide-amber-rgb: 251, 191, 36;
    background-color: var(--guide-bg);
    background-image: linear-gradient(180deg, #020617 0%, #07111f 52%, #0f172a 100%);
}

body.static-page--docs-cookie.dark-mode header {
    background: rgba(8, 15, 28, 0.9);
    border-color: rgba(226, 232, 240, 0.12);
}

body.static-page--docs-cookie.dark-mode .btn-outline {
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(226, 232, 240, 0.16);
    color: #f8fafc;
}

body.static-page--docs-cookie.dark-mode .assembly-check-grid div {
    background: rgba(15, 23, 42, 0.54);
}

body.static-page--docs-cookie.dark-mode .assembly-result-card,
body.static-page--docs-cookie.dark-mode .assembly-step--deploy .assembly-step-card {
    background: linear-gradient(180deg, rgba(6, 78, 59, 0.42), var(--guide-surface));
}

@media (max-width: 980px) {
    .docs-onboarding-hero,
    .assembly-line-hero,
    .resource-scale-layout,
    .docs-safety-section,
    .docs-control-section,
    .resource-economy-cta,
    .assembly-final-section {
        grid-template-columns: 1fr;
    }

    .docs-onboarding-actions--end,
    .resource-economy-actions--end {
        justify-content: flex-start;
    }

    .docs-value-grid,
    .resource-plan-grid,
    .assembly-handover-grid {
        grid-template-columns: 1fr;
    }

    .resource-plan-card--pro {
        transform: none;
    }
}

@media (max-width: 700px) {
    .docs-onboarding-shell,
    .resource-economy-shell,
    .assembly-line-shell {
        width: min(100% - 24px, 1180px);
        gap: 38px;
        padding: 28px 0 54px;
    }

    .docs-onboarding-hero h1,
    .resource-economy-hero h1,
    .assembly-line-hero h1 {
        font-size: 2.35rem;
        line-height: 1.08;
    }

    .docs-wizard-head h2,
    .resource-section-head h2,
    .assembly-section-head h2,
    .docs-safety-section h2,
    .docs-control-section h2,
    .resource-economy-cta h2,
    .assembly-final-cta h2 {
        font-size: 2rem;
    }

    .docs-wizard-step,
    .assembly-step {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 14px;
    }

    .docs-wizard-stepper::before,
    .assembly-stepper::before {
        left: 20px;
    }

    .docs-wizard-step-number,
    .assembly-step-number {
        width: 40px;
        height: 40px;
    }

    .docs-onboarding-trust-card,
    .assembly-result-card,
    .docs-wizard-step-card,
    .assembly-step-card,
    .resource-inside-card,
    .resource-plan-card,
    .resource-cost-menu,
    .resource-lifecycle-grid article,
    .docs-value-card,
    .assembly-handover-grid article,
    .assembly-check-card,
    .docs-safety-section,
    .docs-control-section,
    .resource-economy-cta,
    .assembly-note-card {
        padding: 18px;
    }

    .docs-value-section,
    .resource-plans-section {
        padding: 42px 18px;
    }

    .resource-scale-row {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .resource-scale-icon {
        width: 44px;
        height: 44px;
    }

    .resource-scale-body div,
    .resource-cost-menu article,
    .resource-economy-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-lifecycle-grid,
    .assembly-check-grid {
        grid-template-columns: 1fr;
    }

    .docs-onboarding-actions,
    .resource-economy-actions,
    .assembly-line-actions {
        display: grid;
    }

    .docs-onboarding-actions .btn,
    .resource-economy-actions .btn,
    .assembly-line-actions .btn {
        width: 100%;
    }
}
