:root {
    --alc-rollout-ink: #f4f7fb;
    --alc-rollout-muted: rgba(220, 229, 240, 0.68);
    --alc-rollout-dim: rgba(220, 229, 240, 0.42);
    --alc-rollout-panel: rgba(8, 12, 17, 0.74);
    --alc-rollout-panel-strong: rgba(14, 19, 26, 0.9);
    --alc-rollout-border: rgba(220, 229, 240, 0.13);
    --alc-rollout-accent: #76b8d8;
    --alc-rollout-accent-rgb: 118, 184, 216;
    --alc-rollout-green: #8fbf76;
    --alc-rollout-green-rgb: 143, 191, 118;
    --alc-rollout-rose: #d57691;
    --alc-rollout-rose-rgb: 213, 118, 145;
}

body.theme-secure {
    --alc-rollout-accent: #8fb4d8;
    --alc-rollout-accent-rgb: 143, 180, 216;
}

body.theme-labs {
    --alc-rollout-accent: var(--alc-rollout-green);
    --alc-rollout-accent-rgb: var(--alc-rollout-green-rgb);
}

body.page-pricing-chrome {
    --alc-rollout-accent: #b7c3d6;
    --alc-rollout-accent-rgb: 183, 195, 214;
}

body.theme-secure .section-hero,
body.page-pricing-chrome .pricing-hero-shell {
    background: #05070a !important;
}

body.theme-labs {
    background: #050705;
}

body.theme-labs .gradient-text,
body.theme-labs .hero-title .gradient-text,
body.page-workers-chrome .hero-h1-workers .serif-accent,
body.theme-secure .secure-hero-signal,
body.page-pricing-chrome .pricing-hero-shell h1 span {
    font-family: var(--font-display, "Manrope", system-ui, sans-serif) !important;
    font-style: normal !important;
    font-weight: 760 !important;
    letter-spacing: -0.03em;
}

.alc-live-proof-receipt {
    position: relative;
    width: min(100%, 360px);
    margin: 12px 0 0 auto;
    padding: 13px 48px 13px 16px;
    border: 1px solid rgba(69, 240, 135, 0.2);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(69, 240, 135, 0.12), rgba(5, 9, 13, 0.82) 42%),
        rgba(7, 12, 10, 0.86);
    color: rgba(244, 247, 251, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.alc-live-proof-receipt::before {
    content: "";
    position: absolute;
    left: 16px;
    right: 60px;
    bottom: 11px;
    height: 1px;
    background: linear-gradient(90deg, rgba(69, 240, 135, 0.64), transparent);
    transform-origin: left;
    animation: alcLiveDraw 4.8s ease-in-out infinite;
}

.alc-live-proof-receipt span,
.alc-live-proof-receipt strong {
    display: block;
    font-family: var(--font-mono, "IBM Plex Mono", monospace);
    text-transform: uppercase;
}

.alc-live-proof-receipt span {
    margin-bottom: 5px;
    color: #45f087;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
}

.alc-live-proof-receipt strong {
    color: rgba(244, 247, 251, 0.82);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
}

.alc-live-proof-receipt i {
    position: absolute;
    right: 15px;
    top: 50%;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(69, 240, 135, 0.38);
    border-radius: 999px;
    transform: translateY(-50%);
}

.alc-live-proof-receipt i::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 7px;
    width: 9px;
    height: 5px;
    border-left: 2px solid #45f087;
    border-bottom: 2px solid #45f087;
    transform: rotate(-45deg);
}

.alc-live-route-map .homepage-agent-map__route {
    stroke-dasharray: 460;
    stroke-dashoffset: 460;
    animation: alcLiveRouteDraw 7.5s cubic-bezier(0.19, 1, 0.22, 1) infinite;
}

.alc-live-route-map .homepage-agent-map__route--research {
    animation-delay: 0.25s;
}

.alc-live-route-map .homepage-agent-map__route--operator {
    animation-delay: 0.5s;
}

.alc-live-route-map .homepage-agent-map__route--approval {
    animation-delay: 0.75s;
}

.alc-live-route-map .homepage-agent-core {
    animation: alcLivePulse 3.2s ease-in-out infinite;
}

.alc-live-worker-route {
    position: relative;
    margin-top: 20px;
    padding: 16px 16px 14px;
    border: 1px solid rgba(118, 184, 216, 0.14);
    border-radius: 16px;
    background: rgba(5, 9, 13, 0.46);
}

.alc-live-worker-route__track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 0;
    min-height: 24px;
}

.alc-live-worker-route__track::before {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    top: 50%;
    height: 1px;
    background: rgba(223, 231, 243, 0.16);
}

.alc-live-worker-route__track::after {
    content: "";
    position: absolute;
    left: 11px;
    top: 50%;
    width: calc(100% - 22px);
    height: 1px;
    background: linear-gradient(90deg, #62d7ff, #8b6cff, #45f087);
    transform: translateY(-50%) scaleX(0);
    transform-origin: left;
    animation: alcLiveDraw 5.8s cubic-bezier(0.19, 1, 0.22, 1) infinite;
}

.alc-live-worker-route__track span {
    position: relative;
    z-index: 1;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(223, 231, 243, 0.24);
    border-radius: 999px;
    background: #05090d;
}

.alc-live-worker-route__track span:nth-child(1) {
    background: #62d7ff;
}

.alc-live-worker-route__track span:nth-child(3) {
    justify-self: center;
    background: #8b6cff;
    animation: alcLivePulse 2.8s ease-in-out infinite;
}

.alc-live-worker-route__track span:nth-child(4) {
    justify-self: end;
    background: #45f087;
}

.alc-live-worker-route__labels,
.alc-live-decision-path,
.alc-live-research-pipeline span {
    font-family: var(--font-mono, "IBM Plex Mono", monospace);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.alc-live-worker-route__labels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 9px;
    color: rgba(223, 231, 243, 0.48);
}

.alc-live-worker-route__labels span:nth-child(4) {
    text-align: right;
}

.secure-control-panel {
    position: relative;
}

.secure-control-panel .alc-live-trust-boundary {
    grid-column: 1 / -1;
}

.alc-live-trust-boundary {
    position: relative;
    height: 54px;
    margin-top: 2px;
    border: 1px solid rgba(213, 118, 145, 0.24);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(5, 9, 13, 0.82), rgba(12, 25, 29, 0.82), rgba(50, 15, 22, 0.82));
    overflow: hidden;
}

.alc-live-trust-boundary span:first-child,
.alc-live-trust-boundary span:last-child,
.alc-live-trust-boundary strong {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 999px;
}

.alc-live-trust-boundary span:first-child {
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(143, 180, 216, 0.62), transparent);
}

.alc-live-trust-boundary strong {
    left: 50%;
    width: 26%;
    height: 26px;
    border: 1px solid rgba(143, 180, 216, 0.24);
    background: rgba(5, 9, 13, 0.78);
    transform: translate(-50%, -50%);
    animation: alcTrustBoundary 5.2s ease-in-out infinite;
}

.alc-live-trust-boundary span:last-child {
    right: 28%;
    width: 10px;
    height: 10px;
    background: #d57691;
    box-shadow: 0 0 22px rgba(213, 118, 145, 0.42);
    animation: alcLivePulse 2.4s ease-in-out infinite;
}

.alc-live-decision-path {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: min(100%, 560px);
    margin: 24px auto 24px;
    padding: 18px;
    border: 1px solid rgba(183, 195, 214, 0.14);
    border-radius: 18px;
    background: rgba(6, 9, 13, 0.56);
    color: rgba(223, 231, 243, 0.72);
}

.alc-live-decision-path::before {
    content: "";
    position: absolute;
    left: 42px;
    right: 42px;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, rgba(98, 215, 255, 0.36), rgba(76, 132, 255, 0.5), rgba(143, 180, 216, 0.36));
    transform-origin: left;
    animation: alcLiveDraw 6s ease-in-out infinite;
}

.alc-live-decision-path span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: 34px;
    border: 1px solid rgba(76, 132, 255, 0.28);
    border-radius: 999px;
    background: #05090d;
}

.alc-live-decision-path span:nth-child(3) {
    animation: alcLivePulse 3s ease-in-out infinite;
}

.alc-live-research-pipeline {
    display: grid;
    gap: 11px;
    width: min(100%, 560px);
    margin: 24px auto 0;
    padding: 18px 20px;
    border: 1px solid rgba(143, 191, 118, 0.18);
    border-radius: 18px;
    background: rgba(5, 10, 6, 0.58);
}

.alc-live-research-pipeline div {
    display: grid;
    grid-template-columns: 104px 1fr;
    align-items: center;
    gap: 16px;
}

.alc-live-research-pipeline span {
    color: rgba(244, 247, 251, 0.62);
}

.alc-live-research-pipeline i {
    position: relative;
    display: block;
    height: 2px;
    background: rgba(143, 191, 118, 0.22);
    overflow: hidden;
}

.alc-live-research-pipeline i::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #45f087, rgba(143, 191, 118, 0.2));
    transform-origin: left;
    animation: alcLiveDraw 4.6s ease-in-out infinite;
}

.alc-live-research-pipeline div:nth-child(2) i::before {
    animation-delay: 0.45s;
}

.alc-live-research-pipeline div:nth-child(3) i::before {
    animation-delay: 0.9s;
}

@keyframes alcLiveDraw {
    0%,
    18% {
        transform: scaleX(0);
    }
    58%,
    82% {
        transform: scaleX(1);
    }
    100% {
        transform: scaleX(0);
        transform-origin: right;
    }
}

@keyframes alcLiveRouteDraw {
    0%,
    20% {
        stroke-dashoffset: 460;
        opacity: 0.24;
    }
    56%,
    84% {
        stroke-dashoffset: 0;
        opacity: 0.92;
    }
    100% {
        stroke-dashoffset: -460;
        opacity: 0.24;
    }
}

@keyframes alcLivePulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.84;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes alcTrustBoundary {
    0%,
    100% {
        width: 18%;
        border-color: rgba(143, 180, 216, 0.18);
    }
    50% {
        width: 34%;
        border-color: rgba(213, 118, 145, 0.42);
    }
}

body.homepage-chrome-prism .homepage-spectrum-hero-visual,
body.page-workers-chrome .hero-right,
body.theme-secure .hero-content,
body.page-pricing-chrome .pricing-hero-shell > div,
body.theme-labs .hero-content {
    z-index: 2;
}

body.homepage-chrome-prism .homepage-primitive-stage {
    display: none !important;
}

body.page-pricing-chrome .pricing-hero-shell .prism-base {
    opacity: 0.028 !important;
    filter: saturate(0.08) brightness(0.24) !important;
    transform: translate3d(9%, 0, 0) scale(0.84);
}

body.page-pricing-chrome .pricing-hero-shell::after {
    opacity: 0.56;
}

body.theme-labs .hero-bg-grid {
    opacity: 0.68;
}

@media (prefers-reduced-motion: reduce) {
    .alc-live-route-map .homepage-agent-map__route,
    .alc-live-route-map .homepage-agent-core,
    .alc-live-worker-route__track::after,
    .alc-live-worker-route__track span:nth-child(3),
    .alc-live-proof-receipt::before,
    .alc-live-decision-path::before,
    .alc-live-decision-path span:nth-child(3),
    .alc-live-research-pipeline i::before,
    .alc-live-trust-boundary strong,
    .alc-live-trust-boundary span:last-child {
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (max-width: 640px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden !important;
    }

    body.homepage-chrome-prism .homepage-spectrum-copy,
    body.page-workers-chrome .hero-left,
    body.theme-secure .hero-content,
    body.page-pricing-chrome .pricing-hero-shell > div,
    body.theme-labs .hero-content {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        margin-left: 16px !important;
        margin-right: 16px !important;
    }

    body.homepage-chrome-prism .homepage-spectrum-title {
        max-width: 100% !important;
        font-size: clamp(2.85rem, 12.2vw, 3.5rem) !important;
        line-height: 0.98 !important;
        letter-spacing: -0.04em !important;
    }

    body.homepage-chrome-prism .homepage-spectrum-title span {
        display: block !important;
    }

    body.page-workers-chrome .hero-h1-workers .serif-accent {
        display: block !important;
    }

    body.homepage-chrome-prism .homepage-spectrum-kicker,
    body.homepage-chrome-prism .homepage-spectrum-body,
    body.page-workers-chrome .hero-sub-workers,
    body.theme-secure .hero-subtitle,
    body.page-pricing-chrome .hero-subtitle,
    body.theme-labs .hero-subtitle,
    body.theme-labs .hero-subnote {
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: break-word;
        font-size: 0.95rem !important;
    }

    body.homepage-chrome-prism :is(.homepage-spectrum-title, .homepage-spectrum-kicker, .homepage-spectrum-body, .homepage-spectrum-actions),
    body.page-workers-chrome :is(.hero-h1-workers, .hero-sub-workers, .hero-cta-row, .hero-footnote),
    body.theme-secure :is(.classification-stamp, .hero-headline, .hero-subtitle, .cta-group, .secure-control-panel),
    body.page-pricing-chrome :is(.section-label, .pricing-hero-shell h1, .hero-subtitle, .billing-toggle),
    body.theme-labs :is(.hero-eyebrow, .hero-title, .hero-subtitle, .hero-subnote) {
        width: calc(100vw - 72px) !important;
        max-width: calc(100vw - 72px) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.page-pricing-chrome .pricing-hero-shell h1,
    body.theme-secure .hero-headline,
    body.theme-secure .hero-subtitle,
    body.theme-labs .hero-title,
    body.theme-labs .hero-subtitle,
    body.theme-labs .hero-subnote {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.homepage-chrome-prism :is(.homepage-spectrum-title, .homepage-spectrum-kicker, .homepage-spectrum-body),
    body.page-workers-chrome :is(.hero-h1-workers, .hero-sub-workers, .hero-footnote),
    body.theme-secure :is(.classification-stamp, .hero-headline, .hero-subtitle),
    body.page-pricing-chrome :is(.section-label, .pricing-hero-shell h1, .hero-subtitle),
    body.theme-labs :is(.hero-eyebrow, .hero-title, .hero-subtitle, .hero-subnote) {
        width: calc(100vw - 136px) !important;
        max-width: calc(100vw - 136px) !important;
    }

    body.homepage-chrome-prism .homepage-spectrum-actions,
    body.page-workers-chrome .hero-cta-row,
    body.theme-secure .cta-group,
    body.page-pricing-chrome .billing-toggle {
        width: calc(100vw - 80px) !important;
        max-width: calc(100vw - 80px) !important;
    }

    body.homepage-chrome-prism .homepage-spectrum-kicker {
        font-size: 0.9rem !important;
        line-height: 1.55 !important;
    }

    body.page-workers-chrome .hero-h1-workers {
        max-width: 100% !important;
        font-size: clamp(2.4rem, 10.2vw, 3rem) !important;
        line-height: 1.02 !important;
        letter-spacing: -0.035em !important;
    }

    body.theme-secure .hero-headline,
    body.page-pricing-chrome .pricing-hero-shell h1,
    body.theme-labs .hero-title {
        max-width: 100% !important;
        font-size: clamp(2rem, 8.8vw, 2.72rem) !important;
        line-height: 1.02 !important;
        letter-spacing: -0.035em !important;
    }

    body.theme-secure .cta-group,
    body.page-pricing-chrome .billing-toggle {
        width: 100%;
        max-width: 100%;
    }

    body.page-pricing-chrome .billing-toggle {
        overflow: hidden;
    }

    body.page-pricing-chrome .savings-badge {
        display: none !important;
    }

    .alc-live-decision-path,
    .alc-live-research-pipeline,
    .alc-live-worker-route {
        width: min(100%, calc(100vw - 80px));
        max-width: calc(100vw - 80px);
    }
}
