/* SplitType wraps chars in divs — gradient must cascade to them */
        .gradient-text .char,
        .gradient-text .word {
            background: inherit;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Typing cursor */
        .typing-cursor {
            font-weight: 100;
            color: var(--copper);
            animation: blink 1s step-end infinite;
            margin-left: 4px;
        }
        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }

        /* Stats Glow Effect */
        .hero-stat-num {
            transition: text-shadow 0.3s ease, transform 0.3s ease;
            cursor: default;
        }
        .hero-stat:hover .hero-stat-num {
            transform: translateY(-5px);
            text-shadow: 0 0 20px rgba(245, 158, 11, 0.4), 0 0 40px rgba(52, 211, 153, 0.2);
        }

        /* Feature Beam (Hover Laser Line) */
        .capability-card {
            position: relative;
            overflow: hidden;
        }
        .capability-card::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: -100%;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, #38bdf8, #818cf8, transparent);
            transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            opacity: 0;
            z-index: 10;
        }
        .capability-card:hover::after {
            left: 100%;
            opacity: 1;
            transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s;
        }

        /* EPIC LABS BANNER & CARDS CSS */
        .labs-banner {
            position: relative;
            width: 100%;
            padding: 5rem 1rem;
            background: linear-gradient(to bottom, #050a10, rgba(217, 119, 6, 0.05), #050a10);
            border-top: 1px solid rgba(217, 119, 6, 0.15);
            border-bottom: 1px solid rgba(217, 119, 6, 0.15);
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: -2px; /* Pull up to hide gap */
        }
        .labs-blob {
            position: absolute;
            border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            animation: blob-float 12s infinite alternate ease-in-out;
            filter: blur(40px);
            z-index: 1;
            opacity: 0.6;
        }
        @keyframes blob-float {
            0% { transform: translate(0,0) rotate(0deg) scale(1); }
            50% { transform: translate(30px, -30px) rotate(10deg) scale(1.1); }
            100% { transform: translate(-20px, 20px) rotate(-5deg) scale(0.95); }
        }
        .blob-1 { background: rgba(217,119,6,0.6); width: 400px; height: 400px; left: 10%; top: -20%; }
        .blob-2 { background: rgba(56,189,248,0.4); width: 450px; height: 420px; right: 10%; bottom: -30%; border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; animation-delay: -3s; }
        
        .labs-center-content {
            position: relative;
            z-index: 10;
            text-align: center;
            max-width: 900px;
        }
        .labs-super-title {
            font-size: 3.5rem;
            font-weight: 900;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            color: #fff;
            text-shadow: 0 4px 24px rgba(0,0,0,0.5);
            letter-spacing: -1px;
        }
        .labs-super-title span {
            background: linear-gradient(135deg, #fbbf24, #d97706, #b45309);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .labs-super-subtitle {
            font-size: 1.25rem;
            color: rgba(255,255,255,0.8);
            margin-bottom: 2rem;
            font-weight: 400;
            line-height: 1.6;
        }

        /* LABS CARD EFFECT (Araç Kutusu) */
        .labs-tools-wrap {
            display: flex;
            gap: 2rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 3rem;
        }
        .labs-card {
            width: min(420px, 100%);
            min-height: 180px;
            border-radius: 28px;
            padding: 1.8rem;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            text-decoration: none;
            background: rgba(255,255,255,0.02);
            border: 1px solid rgba(255,255,255,0.05);
        }
        .labs-card:hover {
            transform: translateY(-8px) rotate(-0.6deg);
            box-shadow: 0 26px 52px rgba(0,0,0,0.28);
            border-color: rgba(255,255,255,0.2);
        }
        .labs-card-bg-shape {
            position: absolute;
            top: 8%; left: 12%; right: 12%; bottom: 46%;
            background: rgba(255,255,255,0.9);
            border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
            box-shadow: inset 0 0 20px rgba(0,0,0,0.05), 0 10px 30px rgba(0,0,0,0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            transition: all 0.5s ease;
            animation: blob-float 8s infinite alternate ease-in-out;
        }
        .labs-card:hover .labs-card-bg-shape {
            border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
            transform: scale(1.05);
        }
        .card-riskai { background: linear-gradient(145deg, #1e3a8a, #0f172a); color: #fff; }
        .card-riskai .labs-card-bg-shape { color: #3b82f6; }
        .card-dofai { background: linear-gradient(145deg, #78350f, #0f172a); color: #fff; }
        .card-dofai .labs-card-bg-shape { color: #d97706; }

        .labs-card-content {
            position: relative;
            z-index: 2;
        }
        .labs-card-title {
            font-size: 1.55rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
            letter-spacing: -0.5px;
        }
        .labs-card-desc {
            font-size: 0.96rem;
            opacity: 0.9;
            margin-bottom: 1.25rem;
            line-height: 1.5;
        }
        .labs-card-btn {
            display: inline-block;
            padding: 0.75rem 1.5rem;
            border: 2px solid rgba(255,255,255,0.4);
            border-radius: 30px;
            background: rgba(255,255,255,0.05);
            color: #fff;
            font-weight: 600;
            backdrop-filter: blur(4px);
            transition: all 0.3s;
        }
        .labs-card:hover .labs-card-btn {
            background: #fff;
            color: #0f172a;
            border-color: #fff;
        }

        /* Old council styles removed — now using .council-hex grid */
        
        
        .epic-faq-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 1.5rem;
            margin-top: 3rem;
        }
        .epic-faq-card {
            background: rgba(255,255,255,0.02);
            border: 1px solid rgba(255,255,255,0.05);
            border-radius: 20px;
            padding: 2.5rem;
            cursor: pointer;
            transition: all 0.3s;
        }
        .epic-faq-card:hover {
            background: rgba(255,255,255,0.05);
            border-color: rgba(217,119,6,0.4);
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }
        .epic-faq-q {
            font-size: 1.25rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 1rem;
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }
        .epic-faq-q::before { content: 'Q.'; color: var(--copper); font-size: 1.5rem; line-height: 1; }
        .epic-faq-a {
            font-size: 1rem;
            color: rgba(255,255,255,0.7);
            line-height: 1.6;
        }

        .faq-accordion {
            max-width: 920px;
            margin: 0 auto;
            display: grid;
            gap: 14px;
        }

        .faq-item {
            overflow: hidden;
            border: 1px solid rgba(148, 163, 184, 0.16);
            border-radius: 22px;
            background:
                linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.74)),
                radial-gradient(circle at 12% 0%, rgba(34, 211, 238, 0.10), transparent 32%);
            box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
            transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
        }

        .faq-item.open {
            border-color: rgba(200, 117, 51, 0.52);
            background:
                linear-gradient(135deg, rgba(20, 27, 40, 0.96), rgba(5, 10, 16, 0.84)),
                radial-gradient(circle at 12% 0%, rgba(200, 117, 51, 0.16), transparent 34%);
        }

        .faq-item:hover {
            transform: translateY(-2px);
            border-color: rgba(34, 211, 238, 0.34);
        }

        .faq-question {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            padding: 22px 24px;
            border: 0;
            background: transparent;
            color: var(--text, #f8fafc);
            font: inherit;
            font-size: 1.05rem;
            font-weight: 800;
            line-height: 1.35;
            text-align: left;
            cursor: pointer;
        }

        .faq-question::after {
            content: '+';
            flex: 0 0 auto;
            width: 34px;
            height: 34px;
            display: inline-grid;
            place-items: center;
            border-radius: 999px;
            border: 1px solid rgba(34, 211, 238, 0.26);
            color: #22d3ee;
            background: rgba(34, 211, 238, 0.08);
            transition: transform 180ms ease, color 180ms ease, border-color 180ms ease;
        }

        .faq-item.open .faq-question::after {
            content: '-';
            color: #fbbf24;
            border-color: rgba(200, 117, 51, 0.44);
            transform: rotate(180deg);
        }

        .faq-question:focus-visible {
            outline: 3px solid rgba(34, 211, 238, 0.42);
            outline-offset: -3px;
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            padding: 0 24px;
            color: rgba(226, 232, 240, 0.76);
            line-height: 1.75;
            border-top: 1px solid transparent;
            transition: max-height 240ms ease, padding 240ms ease, border-color 240ms ease;
        }

        .faq-item.open .faq-answer {
            max-height: 420px;
            padding: 0 24px 24px;
            border-color: rgba(148, 163, 184, 0.12);
        }

        [data-theme="light"] .faq-item {
            background:
                linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.86)),
                radial-gradient(circle at 12% 0%, rgba(8, 145, 178, 0.10), transparent 32%);
            border-color: rgba(15, 23, 42, 0.10);
            box-shadow: 0 18px 54px rgba(15, 23, 42, 0.08);
        }

        [data-theme="light"] .faq-question {
            color: #0f172a;
        }

        [data-theme="light"] .faq-answer {
            color: rgba(30, 41, 59, 0.76);
        }
/* Extracted from index.html inline */
/* ── Section backgrounds (landing.css'de tanımlı değil) ── */
.demo-section    { background:linear-gradient(180deg,rgba(52,211,153,0.03),transparent); }
.council-section { background:linear-gradient(180deg,rgba(245,158,11,0.03),transparent); }
/* .suite-gateway background → controlled by landing.css animated blob */
.suite-gateway-content { text-align:center; }
/* ── Result card (demo output) ── */
.result-score       { font-size:2.5rem; font-weight:900; display:block; }
.result-score-label { font-size:0.75rem; display:block; opacity:0.6; }
.result-level       { font-weight:700; font-size:1.1rem; margin:0.5rem 0; }
.result-summary     { color:rgba(255,255,255,0.75); font-size:0.9rem; line-height:1.6; }
.result-actions     { padding-left:1.25rem; color:rgba(255,255,255,0.7); font-size:0.88rem; line-height:1.7; }
.demo-fallback      { color:#fbbf24; }
.demo-loading       { color:#34d399; }
.demo-error         { color:#ef4444; }

/* ═══════════════════════════════════════════════
   HERO CHANNEL BADGES
   ═══════════════════════════════════════════════ */
.hero-channel-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0.85rem 0 0.4rem;
}

/* Demo-first homepage: keep the channel/product signal, but let the real demo
   surface own the first impression instead of a static hero mockup. */
.hero--demo-first {
    min-height: auto;
    align-items: flex-start;
    padding-top: clamp(66px, 5vw, 78px);
    padding-bottom: 0;
}
.hero--demo-first .hero-shell {
    grid-template-columns: 1fr;
    gap: 8px;
    width: min(1180px, calc(100% - 32px));
}
.hero--demo-first .hero-content {
    max-width: 1180px;
}
.hero--demo-first .hero-kicker {
    margin-bottom: 0;
    min-height: 36px;
    padding: 8px 18px;
}
.hero--demo-first .hero-channel-badges {
    gap: 8px;
    margin: 8px 0 0;
}
.hero--demo-first .channel-badge {
    min-height: 38px;
    padding: 8px 14px;
}
.hero--demo-first .hero-title {
    max-width: 960px;
    margin: 8px 0 6px;
    font-size: clamp(1.75rem, 3.7vw, 2.55rem);
    line-height: 1.05;
    letter-spacing: 0;
}
.hero--demo-first .hero-sub {
    max-width: 740px;
    margin-bottom: 0;
    font-size: clamp(0.9rem, 1.15vw, 0.98rem);
    line-height: 1.4;
}
.hero--demo-first .hero-product-pills {
    margin-bottom: 0;
}
.hero--demo-first .hero-product-pill {
    min-height: 66px;
    padding: 12px 14px;
    gap: 4px;
    border-radius: 14px;
}
.hero--demo-first .hero-product-pill strong {
    font-size: 0.96rem;
}
.hero--demo-first .hero-product-pill small {
    font-size: 0.76rem;
    line-height: 1.35;
}
.hero--demo-first .hero-actions {
    margin-bottom: 0;
}
.hero--demo-first .hero-actions .btn-primary,
.hero--demo-first .hero-actions .btn-secondary {
    min-height: 44px;
    padding: 0 18px;
}
.hero--demo-first .hero-support-line {
    margin-top: 8px;
    font-size: 0.86rem;
    line-height: 1.42;
}
.hero--demo-first + .demo-section {
    padding-top: 0;
}
.hero--demo-first + .demo-section .section-header {
    margin-bottom: 10px;
    text-align: left;
}
.hero--demo-first + .demo-section .section-title {
    max-width: 900px;
    font-size: clamp(1.35rem, 2.7vw, 2.15rem);
    letter-spacing: 0;
    line-height: 1.08;
}
.hero--demo-first + .demo-section .section-sub {
    max-width: 780px;
    margin: 6px 0 0;
    font-size: 0.95rem;
    line-height: 1.45;
}

@media (min-width: 920px) {
    .hero--demo-first .hero-content {
        display: grid;
        grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.75fr);
        grid-template-areas:
            "kicker products"
            "channels products"
            "title actions"
            "sub support"
            "console console";
        column-gap: 24px;
        row-gap: 8px;
        align-items: center;
    }
    .hero--demo-first .hero-kicker {
        grid-area: kicker;
    }
    .hero--demo-first .hero-channel-badges {
        grid-area: channels;
    }
    .hero--demo-first .hero-title {
        grid-area: title;
    }
    .hero--demo-first .hero-sub {
        grid-area: sub;
    }
    .hero--demo-first .hero-product-pills {
        grid-area: products;
        align-self: center;
        width: 100%;
    }
    .hero--demo-first .hero-actions {
        grid-area: actions;
        align-self: center;
    }
    .hero--demo-first .hero-support-line {
        grid-area: support;
    }
    .hero--demo-first .hero-live-console {
        grid-area: console;
    }
}

@media (max-width: 760px) {
    .hero--demo-first {
        padding-top: 70px;
        padding-bottom: 4px;
    }
    .hero--demo-first .hero-channel-badges {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 8px;
        margin: 8px 0 4px;
        padding-bottom: 2px;
        scrollbar-width: none;
    }
    .hero--demo-first .hero-channel-badges::-webkit-scrollbar {
        display: none;
    }
    .hero--demo-first .channel-badge {
        flex: 0 0 auto;
        min-height: 34px;
        padding: 7px 12px;
        font-size: 0.8rem;
    }
    .hero--demo-first .hero-product-pills {
        gap: 8px;
        margin-bottom: 6px;
    }
    .hero--demo-first .hero-product-pill {
        min-height: 70px;
        padding: 10px 12px;
    }
    .hero--demo-first .hero-title {
        margin: 8px 0 6px;
        font-size: clamp(1.6rem, 8vw, 2.15rem);
    }
    .hero--demo-first .hero-sub {
        font-size: 0.9rem;
        line-height: 1.35;
    }
    .hero--demo-first .hero-actions {
        gap: 8px;
        margin-top: 8px;
    }
    .hero--demo-first .hero-actions .btn-secondary,
    .hero--demo-first .hero-support-line {
        display: none;
    }
    .hero-live-console {
        margin-top: 10px;
        padding: 12px;
    }
    .hero-live-console__actions,
    .demo-orchestrator-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .demo-orchestrator-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .hero--demo-first + .demo-section {
        padding-top: 4px;
    }
    .hero--demo-first + .demo-section .section-header {
        margin-bottom: 8px;
    }
    .hero--demo-first + .demo-section .section-title {
        font-size: 1.35rem;
    }
    .hero--demo-first + .demo-section .section-sub {
        display: none;
    }
}

.hero-live-console {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(34,211,238,0.18);
    border-radius: 18px;
    background:
        radial-gradient(circle at 8% 0%, rgba(34,211,238,0.14), transparent 34%),
        linear-gradient(180deg, rgba(8,16,30,0.92), rgba(2,6,23,0.6));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 22px 46px rgba(2,6,23,0.22);
}
.hero-live-console__input-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hero-live-console__input-wrap span {
    color: #67e8f9;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
}
.hero-live-console__input-wrap input {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,0.22);
    background: rgba(2,6,23,0.78);
    color: #f8fafc;
    font-size: 0.96rem;
    font-weight: 700;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.hero-live-console__input-wrap input:focus {
    border-color: rgba(34,211,238,0.46);
    box-shadow: 0 0 0 4px rgba(34,211,238,0.12);
}
.hero-live-console__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}
.hero-live-console__truth {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.hero-live-console__truth span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(245,158,11,0.22);
    background: rgba(245,158,11,0.08);
    color: #f8d38d;
    font-size: 0.72rem;
    font-weight: 850;
}

.demo-orchestrator-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(1040px, 100%);
    margin: 14px auto 0;
    padding: 14px 16px;
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: 16px;
    background:
        radial-gradient(circle at 12% 0%, rgba(245,158,11,0.14), transparent 32%),
        linear-gradient(180deg, rgba(15,23,42,0.84), rgba(2,6,23,0.56));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 18px 34px rgba(2,6,23,0.18);
}
.demo-orchestrator-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}
.demo-orchestrator-copy strong {
    color: #f8fafc;
    font-size: 0.92rem;
}
.demo-orchestrator-copy small {
    color: rgba(226,232,240,0.72);
    font-size: 0.78rem;
    line-height: 1.45;
}
.demo-orchestrator-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.demo-orchestrator-btn {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(148,163,184,0.2);
    background: rgba(15,23,42,0.72);
    color: rgba(226,232,240,0.94);
    font-size: 0.8rem;
    font-weight: 850;
    cursor: pointer;
    transition: transform .2s, border-color .2s, box-shadow .2s, background .2s;
}
.demo-orchestrator-btn:hover:not(.is-disabled):not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(34,211,238,0.32);
    box-shadow: 0 14px 28px rgba(2,6,23,0.2);
}
.demo-orchestrator-btn--primary {
    color: #07111f;
    border-color: rgba(245,158,11,0.34);
    background: linear-gradient(135deg, rgba(245,158,11,0.98), rgba(200,117,51,0.94));
}
.demo-orchestrator-btn.is-disabled,
.demo-orchestrator-btn:disabled,
.hero-live-console__actions .btn-secondary.is-disabled,
.hero-live-console__actions .btn-secondary:disabled {
    opacity: 0.56;
    cursor: not-allowed;
    box-shadow: none;
}

.demo-prompt-truth {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.demo-prompt-truth span {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(34,211,238,0.18);
    background: rgba(34,211,238,0.07);
    color: #a5f3fc;
    font-size: 0.72rem;
    font-weight: 850;
}

/* Product demo depth: sector cards, column contract signals, and low-cost score emphasis */
.demo-section:not(.demo-stage) .demo-sample-pills {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
.demo-section:not(.demo-stage) .demo-scenario-card {
    display: flex;
    min-height: 154px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 14px;
    text-align: left;
    white-space: normal;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,0.16);
    background:
        linear-gradient(180deg, rgba(15,23,42,0.72), rgba(2,6,23,0.58)),
        radial-gradient(circle at 18% 10%, rgba(34,211,238,0.12), transparent 42%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 14px 30px rgba(2,6,23,0.18);
}
.demo-section:not(.demo-stage) .demo-scenario-card:hover {
    transform: translateY(-2px);
    border-color: rgba(34,211,238,0.34);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 18px 34px rgba(2,6,23,0.24);
}
.demo-section:not(.demo-stage) .demo-scenario-card.demo-sample-pill--active {
    border-color: rgba(245,158,11,0.52) !important;
    background:
        linear-gradient(180deg, rgba(245,158,11,0.18), rgba(15,23,42,0.68)),
        radial-gradient(circle at 85% 16%, rgba(34,211,238,0.14), transparent 40%) !important;
    color: #f8fafc !important;
}
.demo-scenario-sector {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    color: #67e8f9;
    background: rgba(34,211,238,0.09);
    border: 1px solid rgba(34,211,238,0.14);
    font-size: 0.68rem;
    font-weight: 900;
}
.demo-scenario-title {
    color: #f8fafc;
    font-size: 0.9rem;
    line-height: 1.22;
}
.demo-scenario-risk,
.demo-scenario-dof {
    display: block;
    color: rgba(226,232,240,0.78);
    font-size: 0.74rem;
    line-height: 1.3;
}
.demo-scenario-risk b {
    color: #fbbf24;
}
.demo-scenario-dof b {
    color: #34d399;
}
.demo-column-teasers {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
    padding: 0 1.2rem 0.85rem;
}
.demo-column-teaser {
    min-height: 86px;
    padding: 10px 11px;
    border-radius: 12px;
    border: 1px solid rgba(148,163,184,0.14);
    background: rgba(15,23,42,0.54);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}
.demo-column-teaser span {
    display: block;
    margin-bottom: 6px;
    color: rgba(148,163,184,0.86);
    font-size: 0.66rem;
    font-weight: 900;
    text-transform: uppercase;
}
.demo-column-teaser strong {
    display: -webkit-box;
    overflow: hidden;
    color: #f8fafc;
    font-size: 0.78rem;
    line-height: 1.32;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.demo-column-teaser--hazard,
.demo-column-teaser--score,
.demo-column-teaser--risk {
    border-color: rgba(245,158,11,0.24);
}
.demo-column-teaser--action,
.demo-column-teaser--owner {
    border-color: rgba(34,197,94,0.22);
}
.demo-column-teaser--law,
.demo-column-teaser--due,
.demo-column-teaser--cyan {
    border-color: rgba(34,211,238,0.22);
}
.demo-proof-meta {
    display: grid;
    gap: 9px;
    padding: 0 1.2rem 0.85rem;
}
.demo-column-ledger {
    margin: 0 1.2rem 0.9rem;
    padding: 0.56rem 0.72rem;
    border: 1px solid rgba(34,211,238,0.18);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(15,23,42,0.76), rgba(15,23,42,0.48));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}
.demo-column-ledger--risk {
    border-color: rgba(245,158,11,0.22);
}
.demo-column-ledger--dof {
    border-color: rgba(34,211,238,0.22);
}
.demo-column-ledger-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: rgba(226,232,240,0.72);
    font-size: 0.72rem;
    font-weight: 800;
}
.demo-column-ledger-head span {
    letter-spacing: 0;
}
.demo-column-ledger-head strong {
    color: #f8fafc;
    white-space: nowrap;
}
.demo-proof-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.demo-proof-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.16);
    background: rgba(15,23,42,0.5);
    color: rgba(226,232,240,0.78);
    font-size: 0.68rem;
    font-weight: 800;
}
.demo-proof-chip strong {
    color: #f8fafc;
}
.demo-proof-chip--credit {
    border-color: rgba(34,211,238,0.24);
    background: rgba(34,211,238,0.08);
}
.demo-proof-chip--sector {
    border-color: rgba(245,158,11,0.24);
    background: rgba(245,158,11,0.08);
}
.demo-confidence-meter {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
    min-height: 36px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(34,197,94,0.18);
    background: rgba(15,23,42,0.48);
    color: rgba(226,232,240,0.78);
    font-size: 0.72rem;
    font-weight: 900;
}
.demo-confidence-meter strong {
    color: #bbf7d0;
}
.demo-confidence-meter i {
    grid-column: 1 / -1;
    display: block;
    height: 5px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, #22c55e, #67e8f9) 0 0 / var(--score, 0%) 100% no-repeat,
        rgba(148,163,184,0.16);
}
.demo-trace-footer {
    display: block;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 5px 8px;
    border-radius: 10px;
    color: rgba(148,163,184,0.8);
    background: rgba(2,6,23,0.46);
    border: 1px solid rgba(148,163,184,0.11);
    font-size: 0.66rem;
}
.demo-clarify-option {
    opacity: 0;
    transform: translateY(8px);
    animation: demo-clarify-enter 0.36s ease forwards;
    animation-delay: calc(var(--clarify-i, 0) * 70ms);
}
.demo-signal-card--epic {
    animation: demo-score-glow 3.4s ease-in-out infinite;
}
.demo-score-flash {
    display: inline-flex;
    min-width: 42px;
    justify-content: center;
    padding: 3px 8px;
    border-radius: 999px;
    color: #fff7ed;
    background: linear-gradient(135deg, rgba(239,68,68,0.92), rgba(245,158,11,0.92));
    box-shadow: 0 0 0 1px rgba(255,255,255,0.16), 0 0 22px rgba(245,158,11,0.26);
    animation: demo-score-glow 3.4s ease-in-out infinite;
}
button.demo-fade-link {
    cursor: pointer;
    font: inherit;
    appearance: none;
}
.demo-fade-link--download {
    min-width: 152px;
}
@keyframes demo-score-glow {
    0%, 100% {
        filter: brightness(1);
        box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 0 18px rgba(245,158,11,0.18);
    }
    50% {
        filter: brightness(1.14);
        box-shadow: 0 0 0 1px rgba(255,255,255,0.2), 0 0 30px rgba(245,158,11,0.34);
    }
}
[data-theme="light"] .demo-section:not(.demo-stage) .demo-scenario-card,
[data-theme="light"] .demo-column-teaser {
    background: rgba(255,255,255,0.86);
    border-color: rgba(15,23,42,0.12);
    box-shadow: 0 14px 30px rgba(15,23,42,0.08);
}
[data-theme="light"] .demo-column-ledger {
    background: rgba(255,255,255,0.86);
    border-color: rgba(15,23,42,0.12);
    box-shadow: 0 14px 30px rgba(15,23,42,0.08);
}
[data-theme="light"] .demo-column-ledger-head {
    color: rgba(15,23,42,0.64);
}
[data-theme="light"] .demo-column-ledger-head strong {
    color: #0f172a;
}
[data-theme="light"] .demo-scenario-title,
[data-theme="light"] .demo-column-teaser strong {
    color: #0f172a;
}
[data-theme="light"] .demo-scenario-risk,
[data-theme="light"] .demo-scenario-dof,
[data-theme="light"] .demo-column-teaser span {
    color: rgba(15,23,42,0.68);
}
@media (max-width: 1120px) {
    .demo-section:not(.demo-stage) .demo-sample-pills {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .demo-column-teasers {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    .demo-section:not(.demo-stage) .demo-sample-pills {
        grid-template-columns: 1fr;
        overflow: visible;
        padding-bottom: 0;
    }
    .demo-section:not(.demo-stage) .demo-scenario-card {
        min-height: 0;
    }
    .demo-column-teasers {
        grid-template-columns: 1fr;
        padding: 0 0.9rem 0.8rem;
    }
    .demo-proof-meta {
        padding: 0 0.9rem 0.8rem;
    }
    .demo-column-ledger {
        margin: 0 0.9rem 0.8rem;
        padding: 0.56rem 0.72rem;
    }
    .demo-column-ledger-head {
        align-items: center;
        flex-direction: row;
        gap: 8px;
    }
    .demo-confidence-meter {
        grid-template-columns: 1fr;
    }
}
@media (prefers-reduced-motion: reduce) {
    .demo-signal-card--epic,
    .demo-score-flash,
    .demo-clarify-option {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
@keyframes demo-clarify-enter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.channel-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);
    transition: all 0.3s;
}
.channel-badge:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}
.channel-badge--sheets  { border-color: rgba(52,168,83,0.3); }
.channel-badge--whatsapp { border-color: rgba(37,211,102,0.3); }
.channel-badge--telegram { border-color: rgba(34,158,217,0.3); }
.channel-badge--suite   { border-color: rgba(45,212,191,0.3); color: #2dd4bf; }

.hero-product-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: min(100%, 560px);
    margin: 0.85rem 0 1rem;
}
.hero-product-pill {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 78px;
    padding: 14px 16px;
    border-radius: 18px;
    text-decoration: none;
    background:
        radial-gradient(circle at 10% 0%, rgba(255,255,255,0.06), transparent 30%),
        linear-gradient(145deg, rgba(15,23,42,0.82), rgba(2,6,23,0.58));
    border: 1px solid rgba(148,163,184,0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}
.hero-product-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(34,211,238,0.28);
    box-shadow: 0 18px 34px rgba(2,6,23,0.22), 0 0 24px rgba(34,211,238,0.08);
}
.hero-product-pill strong {
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}
.hero-product-pill small {
    color: rgba(203,213,225,0.78);
    font-size: 0.8rem;
    line-height: 1.45;
}
.hero-product-pill--risk {
    border-color: rgba(245,158,11,0.22);
    background:
        radial-gradient(circle at 10% 0%, rgba(245,158,11,0.18), transparent 32%),
        linear-gradient(145deg, rgba(15,23,42,0.84), rgba(2,6,23,0.58));
}
.hero-product-pill--dof {
    border-color: rgba(34,211,238,0.2);
    background:
        radial-gradient(circle at 10% 0%, rgba(34,211,238,0.16), transparent 32%),
        linear-gradient(145deg, rgba(15,23,42,0.84), rgba(2,6,23,0.58));
}
.hero-support-line {
    margin: 14px 0 0;
    color: rgba(191,219,254,0.78);
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 560px;
}

/* ═══════════════════════════════════════════════
   PRODUCT TRIPTYCH — 3 Cards
   ═══════════════════════════════════════════════ */
.product-triptych {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 2rem;
}
.product-card {
    position: relative;
    min-height: 380px;
    padding: 1.35rem 1.28rem 1.28rem;
    border-radius: 14px;
    background:
        radial-gradient(circle at 14% 8%, rgba(34,211,238,0.1), transparent 34%),
        linear-gradient(180deg, rgba(15,23,42,0.78), rgba(2,6,23,0.64));
    border: 1px solid rgba(148,163,184,0.16);
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 18px 46px rgba(2,6,23,0.2);
}
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.07), transparent 28%, transparent 70%, rgba(34,211,238,0.06));
    opacity: 0.7;
}
.product-card:hover {
    border-color: rgba(34,211,238,0.28);
    transform: translateY(-3px);
    box-shadow: 0 24px 58px rgba(2,6,23,0.34), 0 0 34px rgba(34,211,238,0.08);
}
.product-card-accent {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 2px;
    width: auto;
    border-radius: 999px;
    transition: width 0.3s;
}
.product-card:hover .product-card-accent { left: 12px; right: 12px; }
.product-card--sheets .product-card-accent  { background: linear-gradient(90deg, transparent, #34A853, transparent); }
.product-card--bot .product-card-accent     { background: linear-gradient(90deg, transparent, #25D366, #229ED9, transparent); }
.product-card--suite .product-card-accent   { background: linear-gradient(90deg, transparent, #2dd4bf, #8b5cf6, transparent); }

.product-card-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: rgba(2,6,23,0.42);
    border: 1px solid rgba(148,163,184,0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.product-card-icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.product-card-icon--sheets {
    color: #4ade80;
    box-shadow: 0 0 26px rgba(52,168,83,0.12), inset 0 1px 0 rgba(255,255,255,0.05);
}
.product-card-icon--sheets svg rect,
.product-card-icon--sheets svg path:first-of-type {
    fill: rgba(52,168,83,0.16);
    stroke: #4ade80;
}
.product-card-icon--bot {
    color: #38bdf8;
    box-shadow: 0 0 26px rgba(34,158,217,0.13), inset 0 1px 0 rgba(255,255,255,0.05);
}
.product-card-icon--bot svg circle {
    fill: rgba(37,211,102,0.12);
    stroke: #25D366;
}
.product-card-icon--suite {
    color: #a78bfa;
    box-shadow: 0 0 28px rgba(139,92,246,0.14), inset 0 1px 0 rgba(255,255,255,0.05);
}
.product-card-kicker {
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    color: #67e8f9;
    margin-bottom: 0.6rem;
    display: block;
}
.product-card-title {
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0;
}
.product-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.2rem;
    flex: 1;
}
.product-card-feature {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    padding-left: 1.1rem;
    position: relative;
}
.product-card-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: currentColor;
    color: #22d3ee;
    box-shadow: 0 0 12px currentColor;
}
.product-card-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1rem;
}
.product-channel-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 7px 12px;
    border-radius: 999px;
    text-decoration: none;
}
.product-channel-pill::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 13px currentColor;
}
.product-channel-pill--wa { background: rgba(37,211,102,0.15); color: #25D366; border: 1px solid rgba(37,211,102,0.3); }
.product-channel-pill--tg { background: rgba(34,158,217,0.15); color: #229ED9; border: 1px solid rgba(34,158,217,0.3); }

.product-card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1rem;
}
.product-card-chips span {
    font-size: 0.7rem;
    font-weight: 850;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(45,212,191,0.1);
    color: #2dd4bf;
    border: 1px solid rgba(45,212,191,0.2);
}
.product-card-actions {
    margin-top: auto;
}
.product-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.68rem 1.1rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-align: center;
}
.product-card-btn--primary {
    background: linear-gradient(135deg, rgba(34,211,238,0.13), rgba(139,92,246,0.13));
    color: #fff;
    border: 1px solid rgba(34,211,238,0.24);
}
.product-card-btn--primary:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}
.product-card-btn--glow {
    background: linear-gradient(135deg, rgba(45,212,191,0.2), rgba(14,165,233,0.2));
    border-color: rgba(45,212,191,0.4);
    box-shadow: 0 0 20px rgba(45,212,191,0.15);
}
.product-card-btn--glow:hover {
    box-shadow: 0 0 30px rgba(45,212,191,0.3);
    border-color: rgba(45,212,191,0.6);
}

.mobile-nav-group {
    padding: 14px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 0%, rgba(34,211,238,0.08), transparent 30%),
        linear-gradient(145deg, rgba(15,23,42,0.56), rgba(2,6,23,0.38));
    border: 1px solid rgba(148,163,184,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}

/* Premium card — Suite */
.product-card--premium {
    border-color: rgba(45,212,191,0.15);
    background: linear-gradient(145deg, rgba(45,212,191,0.03), rgba(14,165,233,0.02));
    box-shadow: 0 0 40px rgba(45,212,191,0.05);
}
.product-card--premium:hover {
    border-color: rgba(45,212,191,0.3);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 0 40px rgba(45,212,191,0.1);
}
.product-card--premium .product-card-kicker { color: #2dd4bf; }

/* Pricing package visuals */
.pricing-card {
    min-height: 100%;
}
.pricing-price {
    min-height: 2.65em;
    font-size: clamp(1.15rem, 2.2vw, 1.55rem) !important;
    line-height: 1.12;
    letter-spacing: 0 !important;
}
.pricing-period {
    min-height: 2.2em;
}
.pricing-plan-visual {
    --pv-main: #38bdf8;
    --pv-soft: #8b5cf6;
    position: relative;
    height: 94px;
    margin: 0 0 18px;
    border: 1px solid color-mix(in srgb, var(--pv-main) 32%, transparent);
    border-radius: 14px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--pv-main) 18%, transparent), transparent 40%),
        radial-gradient(circle at 88% 70%, color-mix(in srgb, var(--pv-soft) 16%, transparent), transparent 42%),
        linear-gradient(180deg, rgba(15,23,42,0.74), rgba(2,6,23,0.52));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 18px 34px rgba(2,6,23,0.18);
}
.pricing-plan-visual::before {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.045);
    pointer-events: none;
}
.pricing-plan-visual svg {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}
.pricing-plan-visual .pv-orbit,
.pricing-plan-visual .pv-spark {
    stroke: var(--pv-main);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.86;
}
.pricing-plan-visual .pv-card {
    stroke: color-mix(in srgb, var(--pv-main) 72%, white);
    stroke-width: 2.2;
    fill: color-mix(in srgb, var(--pv-main) 12%, transparent);
}
.pricing-plan-visual .pv-card-soft {
    stroke: color-mix(in srgb, var(--pv-soft) 70%, white);
    fill: color-mix(in srgb, var(--pv-soft) 13%, transparent);
}
.pricing-plan-visual .pv-dot {
    fill: var(--pv-main);
    filter: drop-shadow(0 0 10px color-mix(in srgb, var(--pv-main) 70%, transparent));
}
.pricing-plan-visual--demo {
    --pv-main: #22d3ee;
    --pv-soft: #60a5fa;
}
.pricing-plan-visual--sheets {
    --pv-main: #34d399;
    --pv-soft: #22d3ee;
}
.pricing-plan-visual--pro {
    --pv-main: #60a5fa;
    --pv-soft: #a78bfa;
}
.pricing-plan-visual--enterprise {
    --pv-main: #f59e0b;
    --pv-soft: #22d3ee;
}

/* ═══════════════════════════════════════════════
   TOOLBOX STRIP — Compact
   ═══════════════════════════════════════════════ */
.toolbox-strip {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    margin-top: 0;
}
.toolbox-strip-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}
.toolbox-kicker {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--copper, #c87533);
}
.toolbox-count {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}
.toolbox-tiles {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.toolbox-tiles::-webkit-scrollbar { display: none; }
.toolbox-tile {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.75);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.25s;
}
.toolbox-tile:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(217,119,6,0.3);
    color: #fff;
    transform: translateY(-2px);
}
.toolbox-tile-icon { font-size: 1rem; }
.toolbox-tile--cta {
    background: rgba(217,119,6,0.08);
    border-color: rgba(217,119,6,0.2);
    color: var(--copper, #c87533);
    font-weight: 700;
}
.toolbox-tile--cta:hover {
    background: rgba(217,119,6,0.15);
    color: #fbbf24;
}

/* ═══════════════════════════════════════════════
   PRICING HINT — Compact progression
   ═══════════════════════════════════════════════ */
.pricing-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.pricing-hint-step {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}
.pricing-hint-step strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(245,158,11,0.15);
    color: #fbbf24;
    font-size: 0.72rem;
    font-weight: 800;
    margin-right: 8px;
}
.pricing-hint-arrow {
    color: rgba(255,255,255,0.25);
    font-size: 1.1rem;
    font-weight: 300;
}
.social-proof-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Product Triptych + Toolbox
   ═══════════════════════════════════════════════ */
@media (max-width: 960px) {
    .product-triptych {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .product-card--premium {
        order: 0; /* Keep Sheets-first hierarchy on mobile */
    }
    .hero-channel-badges {
        justify-content: center;
    }
}
@media (max-width: 640px) {
    .pricing-hint {
        flex-direction: column;
        gap: 8px;
    }
    .pricing-hint-arrow {
        transform: rotate(90deg);
    }
    .social-proof-ctas {
        flex-direction: column;
        align-items: stretch;
    }
    .social-proof-ctas .btn-primary,
    .social-proof-ctas .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════
   DEMO SHEETS TABLE PREVIEW
   ═══════════════════════════════════════════════ */
.demo-result--table {
    padding: 0;
}
.result-table-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-wrap: wrap;
}
.result-table-badge {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(245,158,11,0.15);
    color: #fbbf24;
    border: 1px solid rgba(245,158,11,0.3);
}
.result-table-info {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}
.demo-result--table .result-summary {
    padding: 0.8rem 1.2rem 0.5rem;
    margin: 0;
    font-size: 0.84rem;
}
.demo-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
    position: relative;
}
.demo-table-scroll::-webkit-scrollbar {
    height: 6px;
}
.demo-table-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.demo-table-scroll::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.12);
    border-radius: 3px;
}

.demo-sheets-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.72rem;
    line-height: 1.4;
    min-width: 1100px;
}
.demo-sheets-table--dof {
    min-width: 1400px;
}
.demo-sheets-table th {
    position: sticky;
    top: 0;
    padding: 8px 10px;
    text-align: left;
    font-weight: 700;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fbbf24;
    background: rgba(15,23,42,0.95);
    border-bottom: 2px solid rgba(245,158,11,0.25);
    white-space: nowrap;
    backdrop-filter: blur(8px);
}
.demo-sheets-table td {
    padding: 7px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.78);
    vertical-align: top;
    max-width: 220px;
}
.demo-sheets-table tbody tr {
    transition: background 0.2s;
}
.demo-sheets-table tbody tr:hover {
    background: rgba(255,255,255,0.03);
}

/* Blur effect for last visible rows */
.demo-row-blur {
    opacity: 0.4;
    filter: blur(1.5px);
    pointer-events: none;
    user-select: none;
}
.demo-row-locked td {
    padding: 14px 16px;
    text-align: center;
    background: linear-gradient(90deg, rgba(8, 145, 178, 0.1), rgba(245, 158, 11, 0.1));
    color: rgba(226, 232, 240, 0.78);
    font-weight: 800;
    letter-spacing: 0;
}
.demo-row-locked span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 999px;
    padding: 7px 14px;
    background: rgba(2, 6, 23, 0.42);
}

/* Fade overlay at bottom */
.demo-table-fade {
    text-align: center;
    padding: 1rem 1.2rem;
    background: linear-gradient(to bottom, rgba(15,23,42,0.4), rgba(15,23,42,0.9));
    border-top: 1px solid rgba(255,255,255,0.04);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}
.demo-table-fade span {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 999px;
    background: rgba(245,158,11,0.08);
    border: 1px solid rgba(245,158,11,0.2);
    color: #fbbf24;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Split CTA buttons for product card */
.product-card-actions--split {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.product-card-actions--split .product-card-btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
    font-size: 0.82rem;
    padding: 0.6rem 1rem;
}

/* Light theme table overrides */
[data-theme="light"] .demo-sheets-table th {
    background: rgba(248,250,252,0.95);
    color: #92400e;
    border-bottom-color: rgba(217,119,6,0.3);
}
[data-theme="light"] .demo-sheets-table td {
    color: rgba(15,23,42,0.78);
    border-bottom-color: rgba(15,23,42,0.06);
}
[data-theme="light"] .demo-sheets-table tbody tr:hover {
    background: rgba(15,23,42,0.03);
}
[data-theme="light"] .result-table-badge {
    background: rgba(217,119,6,0.1);
    border-color: rgba(217,119,6,0.25);
    color: #92400e;
}
[data-theme="light"] .result-table-info {
    color: rgba(15,23,42,0.5);
}
[data-theme="light"] .demo-table-fade {
    background: linear-gradient(to bottom, rgba(248,250,252,0.4), rgba(248,250,252,0.9));
}
[data-theme="light"] .demo-table-fade span {
    background: rgba(217,119,6,0.08);
    border-color: rgba(217,119,6,0.2);
    color: #92400e;
}
[data-theme="light"] .demo-row-locked td {
    background: linear-gradient(90deg, rgba(8, 145, 178, 0.08), rgba(217, 119, 6, 0.08));
    color: rgba(15, 23, 42, 0.72);
}
[data-theme="light"] .demo-row-locked span {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(8, 145, 178, 0.22);
}
[data-theme="light"] .demo-result--table .result-summary {
    color: rgba(15,23,42,0.7);
}

/* ═══════════════════════════════════════════════
   METHODOLOGY RAIL + CHIPS (Landing Demo)
   ═══════════════════════════════════════════════ */
.methodology-rail {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
    padding: 10px 0;
}
.method-chip {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.2);
    background: rgba(15,23,42,0.6);
    color: rgba(226,232,240,0.72);
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.01em;
}
.method-chip:hover {
    border-color: rgba(200,117,51,0.45);
    background: rgba(200,117,51,0.12);
    color: #fff;
    transform: translateY(-2px);
}
.method-chip.active {
    background: rgba(200,117,51,0.18);
    border-color: var(--copper, #c87533);
    color: #fbbf24;
    box-shadow: 0 0 16px rgba(200,117,51,0.2);
}
.method-chip:focus-visible {
    outline: 2px solid rgba(200,117,51,0.6);
    outline-offset: 2px;
}

/* Scenario pill active state */
.demo-sample-pill--active {
    border-color: rgba(200,117,51,0.5) !important;
    background: rgba(200,117,51,0.15) !important;
    color: #fbbf24 !important;
}

/* Light theme overrides */
[data-theme="light"] .method-chip {
    background: rgba(255,255,255,0.8);
    border-color: rgba(15,23,42,0.1);
    color: rgba(15,23,42,0.72);
}
[data-theme="light"] .method-chip:hover {
    background: rgba(217,119,6,0.08);
    border-color: rgba(217,119,6,0.3);
    color: #0f172a;
}
[data-theme="light"] .method-chip.active {
    background: rgba(217,119,6,0.12);
    border-color: rgba(217,119,6,0.5);
    color: #92400e;
    box-shadow: 0 0 12px rgba(217,119,6,0.12);
}
[data-theme="light"] .methodology-rail {
    border-color: rgba(15,23,42,0.06);
}

/* Responsive: methodology rail */
@media (max-width: 640px) {
    .methodology-rail {
        gap: 6px;
        padding: 8px 0;
    }
    .method-chip {
        padding: 5px 10px;
        font-size: 0.68rem;
    }
}

/* ═══════════════════════════════════════════════
   SV POLISH PASS — channels, demo, toolbox, chat
   ═══════════════════════════════════════════════ */
.nav-bot-rail {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: 12px;
}
.nav-brand {
    gap: 10px;
}
.nav-brand .brand-logo-panel {
    width: 44px;
    min-height: 42px;
    padding: 4px;
    border-radius: 10px;
    overflow: hidden;
}
.nav-brand .brand-logo-image {
    width: 34px;
    max-width: 34px;
    height: 34px;
    object-fit: contain;
}
.nav-brand-copy {
    display: grid;
    gap: 1px;
    line-height: 1;
}
.nav-brand-copy strong {
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: 0;
}
.nav-brand-copy small {
    color: rgba(203,213,225,0.7);
    font-size: 0.57rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.nav-bot-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: rgba(226,232,240,0.86);
    border: 1px solid rgba(148,163,184,0.18);
    background: linear-gradient(145deg, rgba(15,23,42,0.78), rgba(2,6,23,0.54));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
    transition: transform .22s, border-color .22s, box-shadow .22s, color .22s;
}
.nav-bot-chip span {
    font-size: 0.8rem;
    filter: drop-shadow(0 0 7px currentColor);
}
.nav-bot-chip--sheets span { color: #22c55e; }
.nav-bot-chip--wa span { color: #25D366; }
.nav-bot-chip--tg span { color: #38bdf8; }
.nav-bot-chip--suite span { color: #a78bfa; }
.nav-bot-chip:hover {
    transform: translateY(-2px);
    color: #fff;
    border-color: rgba(56,189,248,0.34);
    box-shadow: 0 14px 28px rgba(2,6,23,0.3), 0 0 24px rgba(56,189,248,0.08);
}
.nav-toggle.is-active .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle.is-active .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.mobile-nav-cta-stack {
    display: grid;
    gap: 10px;
}
.mobile-nav-cta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.mobile-nav-cta-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 74px;
    padding: 14px 16px;
    border-radius: 18px;
    text-decoration: none;
    color: #f8fafc;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background:
        radial-gradient(circle at 10% 0%, rgba(255,255,255,0.14), transparent 34%),
        linear-gradient(145deg, rgba(15,23,42,0.92), rgba(2,6,23,0.94));
    box-shadow: 0 18px 40px rgba(2,6,23,0.36), inset 0 1px 0 rgba(255,255,255,0.04);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.mobile-nav-cta-card::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.12) 45%, transparent 72%);
    opacity: 0;
    transform: translateX(-45%);
    transition: opacity .25s ease, transform .45s ease;
}
.mobile-nav-cta-card:hover {
    transform: translateY(-2px);
    border-color: rgba(56,189,248,0.28);
    box-shadow: 0 22px 46px rgba(2,6,23,0.42), 0 0 28px rgba(56,189,248,0.08);
}
.mobile-nav-cta-card:hover::before {
    opacity: 1;
    transform: translateX(40%);
}
.mobile-nav-cta-card--suite {
    background:
        radial-gradient(circle at 14% 0%, rgba(56,189,248,0.16), transparent 34%),
        linear-gradient(135deg, rgba(8,47,73,0.96), rgba(7,21,39,0.98));
    border-color: rgba(56,189,248,0.28);
}
.mobile-nav-cta-card--wa {
    background:
        radial-gradient(circle at 12% 0%, rgba(37,211,102,0.16), transparent 34%),
        linear-gradient(135deg, rgba(7,26,22,0.98), rgba(10,15,30,0.98));
}
.mobile-nav-cta-card--tg {
    background:
        radial-gradient(circle at 12% 0%, rgba(56,189,248,0.16), transparent 34%),
        linear-gradient(135deg, rgba(8,24,45,0.98), rgba(10,15,30,0.98));
}
.mobile-nav-cta-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 1rem;
    flex-shrink: 0;
}
.mobile-nav-cta-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}
.mobile-nav-cta-copy strong {
    font-size: .93rem;
    font-weight: 800;
    line-height: 1.15;
    color: #f8fafc;
}
.mobile-nav-cta-copy small {
    font-size: .72rem;
    line-height: 1.3;
    color: rgba(226,232,240,0.74);
}
.mobile-nav-cta-arrow {
    margin-left: auto;
    font-size: 1rem;
    color: rgba(255,255,255,0.52);
}
.hero-channel-badges {
    gap: 12px;
}
.toolbox-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}
.toolbox-feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 148px;
    padding: 16px;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: #f8fafc;
    border: 1px solid rgba(255,255,255,0.08);
    background:
        radial-gradient(circle at 12% 0%, rgba(255,255,255,0.12), transparent 34%),
        linear-gradient(145deg, rgba(15,23,42,0.74), rgba(2,6,23,0.52));
    box-shadow: 0 20px 44px rgba(2,6,23,0.26), inset 0 1px 0 rgba(255,255,255,0.04);
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.toolbox-feature-card::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.12) 42%, transparent 74%);
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity .24s ease, transform .45s ease;
}
.toolbox-feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34,211,238,0.26);
    box-shadow: 0 24px 50px rgba(2,6,23,0.32), 0 0 28px rgba(34,211,238,0.08);
}
.toolbox-feature-card:hover::before {
    opacity: 1;
    transform: translateX(42%);
}
.toolbox-feature-card--matrix {
    background:
        radial-gradient(circle at 12% 0%, rgba(245,158,11,0.16), transparent 34%),
        linear-gradient(145deg, rgba(58,25,8,0.9), rgba(15,23,42,0.6));
}
.toolbox-feature-card--law {
    background:
        radial-gradient(circle at 12% 0%, rgba(56,189,248,0.16), transparent 34%),
        linear-gradient(145deg, rgba(8,34,52,0.9), rgba(15,23,42,0.6));
}
.toolbox-feature-card--all {
    background:
        radial-gradient(circle at 12% 0%, rgba(45,212,191,0.16), transparent 34%),
        linear-gradient(145deg, rgba(7,31,30,0.92), rgba(15,23,42,0.58));
}
.toolbox-feature-kicker {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(226,232,240,0.82);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.toolbox-feature-card strong {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    line-height: 1.25;
    letter-spacing: -.01em;
}
.toolbox-feature-card small {
    position: relative;
    z-index: 1;
    color: rgba(226,232,240,0.74);
    font-size: .78rem;
    line-height: 1.45;
}
.channel-badge {
    position: relative;
    text-decoration: none;
    min-height: 38px;
    padding: 8px 15px;
    isolation: isolate;
    overflow: hidden;
}
.channel-badge::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.13) 45%, transparent 70%);
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity .25s, transform .45s;
    z-index: -1;
}
.channel-badge:hover::before {
    opacity: 1;
    transform: translateX(45%);
}
.channel-badge--whatsapp {
    box-shadow: 0 0 22px rgba(37,211,102,0.07);
}
.channel-badge--telegram {
    box-shadow: 0 0 22px rgba(34,158,217,0.07);
}
.channel-badge--suite {
    box-shadow: 0 0 24px rgba(45,212,191,0.09);
}
.demo-live-badge {
    background: rgba(217,119,6,0.1);
    border: 1px solid rgba(217,119,6,0.3);
    color: var(--copper);
    box-shadow: 0 0 15px rgba(217,119,6,0.2);
}
.demo-stage {
    background:
        radial-gradient(circle at 14% 20%, rgba(34,211,238,0.08), transparent 34%),
        radial-gradient(circle at 85% 74%, rgba(245,158,11,0.08), transparent 35%),
        linear-gradient(180deg, rgba(3,10,21,0.22), transparent 70%);
}
.demo-command-surface {
    overflow: hidden;
    border-color: rgba(56,189,248,0.18);
    background:
        linear-gradient(155deg, rgba(6,13,28,0.96), rgba(11,13,24,0.88)),
        radial-gradient(circle at 12% 0%, rgba(37,211,102,0.14), transparent 38%),
        radial-gradient(circle at 100% 55%, rgba(14,165,233,0.12), transparent 36%);
    box-shadow:
        0 34px 90px rgba(2,6,23,0.56),
        0 0 0 1px rgba(255,255,255,0.03) inset,
        0 0 72px rgba(14,165,233,0.08);
}
.demo-command-surface::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, rgba(56,189,248,0.09), transparent),
        repeating-linear-gradient(0deg, rgba(148,163,184,0.035) 0 1px, transparent 1px 28px);
    mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 82%, transparent);
}
.demo-command-surface::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34,211,238,0.76), rgba(245,158,11,0.62), transparent);
    box-shadow: 0 0 22px rgba(34,211,238,0.35);
}
.demo-card-panel .demo-sample-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.demo-surface-topline {
    margin-bottom: 1rem;
}
.demo-surface-topline span {
    border-color: rgba(56,189,248,0.16);
    background: rgba(8,15,32,0.54);
    color: rgba(226,232,240,0.88);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.demo-tab-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.demo-tab-card {
    min-width: min(100%, 300px);
    background: linear-gradient(145deg, rgba(15,23,42,0.82), rgba(2,6,23,0.42));
}
.demo-tab-card.active {
    background:
        radial-gradient(circle at 10% 20%, rgba(245,158,11,0.15), transparent 34%),
        linear-gradient(145deg, rgba(15,23,42,0.88), rgba(2,6,23,0.55));
}
.demo-glass {
    border-radius: 24px;
    border-color: rgba(245,158,11,0.2);
    background:
        linear-gradient(180deg, rgba(200,117,51,0.075), rgba(5,9,20,0.88)),
        radial-gradient(circle at 80% 10%, rgba(34,211,238,0.08), transparent 40%);
}
.demo-input-console {
    border-radius: 18px;
    border-color: rgba(245,158,11,0.24);
    background: linear-gradient(135deg, rgba(2,6,23,0.68), rgba(15,23,42,0.52));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 16px 36px rgba(2,6,23,0.2);
}
.demo-input-console button {
    background: linear-gradient(135deg, #f59e0b, #c87533 52%, #0ea5e9);
    color: #07111f;
    text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}
.demo-result-box {
    border-radius: 22px;
    border-color: rgba(56,189,248,0.13);
    background:
        radial-gradient(circle at 0% 0%, rgba(34,211,238,0.08), transparent 36%),
        linear-gradient(180deg, rgba(2,6,23,0.42), rgba(2,6,23,0.7));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}
.demo-signal-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0 1.2rem 0.75rem;
}
.demo-signal-card {
    position: relative;
    overflow: hidden;
    min-height: 82px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(15,23,42,0.62);
    border: 1px solid rgba(148,163,184,0.16);
}
.demo-signal-card::after {
    content: '';
    position: absolute;
    inset: auto 12px 10px 12px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: .5;
}
.demo-signal-card span {
    display: block;
    margin-bottom: 8px;
    color: rgba(148,163,184,0.82);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.demo-signal-card strong {
    display: block;
    color: #f8fafc;
    font-size: clamp(.82rem, 1.7vw, 1rem);
    line-height: 1.28;
}
.result-photo-placeholder {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(14,165,233,0.1);
    border: 1px solid rgba(14,165,233,0.16);
    color: #7dd3fc;
    font-size: .74rem;
    font-weight: 800;
}
.demo-signal-card--risk {
    color: #ef4444;
    border-color: rgba(239,68,68,0.22);
    box-shadow: 0 0 28px rgba(239,68,68,0.08);
}
.demo-signal-card--action {
    color: #22c55e;
    border-color: rgba(34,197,94,0.2);
    box-shadow: 0 0 28px rgba(34,197,94,0.07);
}
.demo-signal-card--cyan {
    color: #22d3ee;
    border-color: rgba(34,211,238,0.22);
    box-shadow: 0 0 28px rgba(34,211,238,0.08);
}
.demo-result--clarify {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(245,158,11,0.22);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(245,158,11,0.08), rgba(15,23,42,0.7));
}
.demo-clarify-orb {
    position: absolute;
    width: 180px;
    height: 180px;
    right: -60px;
    top: -70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,0.22), transparent 67%);
    filter: blur(2px);
}
.demo-clarify-body {
    position: relative;
    padding: 1rem 1.2rem 1.2rem;
}
.demo-clarify-body h4 {
    margin: 0 0 8px;
    color: #fff7ed;
    font-size: 1rem;
}
.demo-clarify-body p {
    margin: 0;
    color: rgba(226,232,240,0.78);
    line-height: 1.6;
}
.demo-clarify-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.demo-clarify-examples span {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(245,158,11,0.22);
    background: rgba(245,158,11,0.08);
    color: #f8d38d;
    font-size: .72rem;
    font-weight: 800;
}
.demo-clarify-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.demo-clarify-option {
    border: 1px solid rgba(34,211,238,0.24);
    background: rgba(15,23,42,0.72);
    color: #e0f2fe;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.demo-clarify-option small {
    opacity: .72;
    font-size: .7rem;
    margin-left: 6px;
}
.demo-clarify-option:hover,
.demo-clarify-option:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(34,211,238,0.44);
    background: rgba(8,47,73,0.78);
    outline: none;
}
.demo-clarify-warnings {
    margin: 12px 0 0;
    color: rgba(252,211,77,0.86);
    font-size: .78rem;
    line-height: 1.45;
}
.toolbox-strip {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 1.15rem 1.35rem;
    background:
        radial-gradient(circle at 10% 0%, rgba(34,211,238,0.12), transparent 32%),
        linear-gradient(145deg, rgba(15,23,42,0.76), rgba(2,6,23,0.52));
    border-color: rgba(56,189,248,0.14);
    box-shadow: 0 22px 55px rgba(2,6,23,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
}
.toolbox-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
    transform: translateX(-100%);
    animation: toolboxScan 7s ease-in-out infinite;
}
@keyframes toolboxScan {
    0%, 72% { transform: translateX(-110%); opacity: 0; }
    78% { opacity: 1; }
    100% { transform: translateX(110%); opacity: 0; }
}
.toolbox-tile {
    position: relative;
    min-height: 42px;
    padding: 9px 15px;
    border-radius: 13px;
    background: rgba(15,23,42,0.72);
    border-color: rgba(148,163,184,0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
    scroll-snap-align: start;
}
.toolbox-tile:hover {
    border-color: rgba(34,211,238,0.34);
    box-shadow: 0 14px 30px rgba(2,6,23,0.24), 0 0 22px rgba(34,211,238,0.08);
}
.toolbox-tiles {
    scroll-snap-type: x proximity;
    padding-bottom: 8px;
    padding-right: 8px;
}
.toolbox-tile--cta {
    border-color: rgba(217,119,6,0.28);
    box-shadow: 0 0 0 1px rgba(217,119,6,0.08) inset, 0 0 26px rgba(217,119,6,0.08);
}
.toolbox-tile--cta:hover {
    border-color: rgba(251,191,36,0.4);
    box-shadow: 0 16px 34px rgba(2,6,23,0.26), 0 0 26px rgba(251,191,36,0.12);
}
.product-channel-pill {
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.product-channel-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(2,6,23,0.2);
}
.floating-chat-window {
    border-color: rgba(34,211,238,0.22);
    background:
        linear-gradient(150deg, rgba(5,12,26,0.98), rgba(9,14,27,0.96)),
        radial-gradient(circle at 10% 10%, rgba(34,211,238,0.12), transparent 38%);
    box-shadow: 0 34px 90px rgba(2,6,23,0.58), 0 0 46px rgba(34,211,238,0.08);
}
.floating-chat-header {
    background:
        linear-gradient(135deg, rgba(14,165,233,0.14), rgba(15,23,42,0.88)),
        rgba(2,6,23,0.9);
}
.floating-chat-title {
    letter-spacing: -.01em;
}
.floating-chat-status {
    color: rgba(191,219,254,0.95);
}
.chat-welcome {
    border: 1px solid rgba(56,189,248,0.12);
    border-radius: 18px;
    padding: 16px;
    background:
        radial-gradient(circle at 10% 0%, rgba(34,211,238,0.12), transparent 34%),
        rgba(15,23,42,0.48);
}
.chat-welcome h3 {
    margin: 8px 0 6px;
    color: #f8fafc;
}
.chat-welcome p {
    margin: 0;
    color: rgba(203,213,225,0.78);
    line-height: 1.55;
}
.floating-chat-btn {
    background:
        radial-gradient(circle at 35% 28%, rgba(255,255,255,0.65), transparent 16%),
        linear-gradient(135deg, #0ea5e9, #2dd4bf 45%, #7c3aed);
}
.btn-cookie-reject {
    border: 1px solid rgba(148,163,184,0.26);
    color: rgba(226,232,240,0.9);
    background: rgba(15,23,42,0.62);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s, border-color .2s, background .2s;
}
.btn-cookie-reject:hover {
    transform: translateY(-1px);
    border-color: rgba(34,211,238,0.4);
    background: rgba(15,23,42,0.82);
}
.cookie-banner {
    left: auto;
    right: 18px;
    bottom: 14px;
    width: min(calc(100% - 36px), 300px);
    max-width: 300px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 14px;
}
.cookie-content {
    gap: 10px;
}
.cookie-icon {
    display: none;
}
.cookie-text {
    font-size: 0.7rem;
    line-height: 1.22;
}
.cookie-text > strong {
    font-size: 0.82rem;
}
.cookie-text > span {
    display: none;
}
.cookie-links {
    display: none;
}
.cookie-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.cookie-actions button,
.btn-cookie-reject {
    width: 100%;
    min-height: 34px;
    padding: 7px 8px;
    border-radius: 10px;
    font-size: 0.66rem;
    line-height: 1.15;
}
[data-theme="light"] .nav-bot-chip {
    color: #0f172a;
    background: rgba(255,255,255,0.82);
    border-color: rgba(15,23,42,0.1);
}
[data-theme="light"] .hero-product-pill {
    color: #0f172a;
    background:
        radial-gradient(circle at 10% 0%, rgba(14,165,233,0.08), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,0.97), rgba(241,245,249,0.92));
    border-color: rgba(15,23,42,0.1);
    box-shadow: 0 18px 38px rgba(15,23,42,0.12), inset 0 1px 0 rgba(255,255,255,0.92);
}
[data-theme="light"] .hero-product-pill strong {
    color: #0f172a;
}
[data-theme="light"] .hero-product-pill small,
[data-theme="light"] .hero-support-line {
    color: rgba(30,41,59,0.74);
}
[data-theme="light"] .mobile-nav-group {
    background:
        radial-gradient(circle at 12% 0%, rgba(14,165,233,0.08), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,0.97), rgba(241,245,249,0.92));
    border-color: rgba(15,23,42,0.1);
    box-shadow: 0 18px 40px rgba(15,23,42,0.1), inset 0 1px 0 rgba(255,255,255,0.92);
}
[data-theme="light"] .mobile-nav-cta-card {
    color: #0f172a;
    background:
        radial-gradient(circle at 12% 0%, rgba(14,165,233,0.1), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,0.96), rgba(241,245,249,0.92));
    border-color: rgba(15,23,42,0.1);
    box-shadow: 0 18px 36px rgba(15,23,42,0.12), inset 0 1px 0 rgba(255,255,255,0.92);
}
[data-theme="light"] .mobile-nav-cta-copy strong {
    color: #0f172a;
}
[data-theme="light"] .mobile-nav-cta-copy small,
[data-theme="light"] .mobile-nav-cta-arrow {
    color: rgba(15,23,42,0.62);
}
[data-theme="light"] .mobile-nav-cta-icon {
    background: rgba(255,255,255,0.82);
    border-color: rgba(15,23,42,0.08);
}
[data-theme="light"] .toolbox-feature-card {
    color: #0f172a;
    background:
        radial-gradient(circle at 12% 0%, rgba(14,165,233,0.08), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,0.97), rgba(241,245,249,0.92));
    border-color: rgba(15,23,42,0.1);
    box-shadow: 0 18px 40px rgba(15,23,42,0.12), inset 0 1px 0 rgba(255,255,255,0.92);
}
[data-theme="light"] .toolbox-feature-kicker {
    background: rgba(255,255,255,0.78);
    border-color: rgba(15,23,42,0.08);
    color: rgba(15,23,42,0.72);
}
[data-theme="light"] .toolbox-feature-card strong {
    color: #0f172a;
}
[data-theme="light"] .toolbox-feature-card small {
    color: rgba(30,41,59,0.74);
}
[data-theme="light"] .channel-badge,
[data-theme="light"] .toolbox-tile,
[data-theme="light"] .demo-tab-card,
[data-theme="light"] .demo-input-console,
[data-theme="light"] .demo-result-box,
[data-theme="light"] .demo-signal-card {
    background: rgba(255,255,255,0.86);
    color: rgba(15,23,42,0.84);
    border-color: rgba(15,23,42,0.12);
}
[data-theme="light"] .demo-command-surface,
[data-theme="light"] .demo-glass,
[data-theme="light"] .toolbox-strip,
[data-theme="light"] .floating-chat-window {
    background:
        radial-gradient(circle at 12% 0%, rgba(14,165,233,0.1), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,0.96), rgba(241,245,249,0.9));
    border-color: rgba(15,23,42,0.12);
    box-shadow: 0 24px 60px rgba(15,23,42,0.12), inset 0 1px 0 rgba(255,255,255,0.9);
}
[data-theme="light"] .demo-panel-head h3,
[data-theme="light"] .demo-tab-label,
[data-theme="light"] .product-card-title,
[data-theme="light"] .demo-signal-card strong,
[data-theme="light"] .chat-welcome h3,
[data-theme="light"] .demo-clarify-body h4,
[data-theme="light"] .hero-command-tags span,
[data-theme="light"] .floating-chat-title {
    color: #0f172a;
}
[data-theme="light"] .demo-tab-sublabel,
[data-theme="light"] .demo-panel-chip-row span,
[data-theme="light"] .toolbox-count,
[data-theme="light"] .product-card-feature,
[data-theme="light"] .result-summary,
[data-theme="light"] .demo-clarify-body p,
[data-theme="light"] .chat-welcome p,
[data-theme="light"] .demo-chat-mini,
[data-theme="light"] .floating-chat-status {
    color: rgba(30,41,59,0.74);
}
[data-theme="light"] .hero-kicker,
[data-theme="light"] .demo-panel-kicker,
[data-theme="light"] .demo-sample-pill,
[data-theme="light"] .demo-chat-status,
[data-theme="light"] .chat-role {
    color: #0f766e;
}
[data-theme="light"] .hero-command-tags span,
[data-theme="light"] .demo-sample-pill,
[data-theme="light"] .demo-chat-status,
[data-theme="light"] .chat-msg.assistant {
    background: rgba(255,255,255,0.82);
    border-color: rgba(15,23,42,0.12);
}
[data-theme="light"] .demo-input-console input,
[data-theme="light"] .floating-chat-footer input {
    background: rgba(255,255,255,0.92);
    color: #0f172a;
    border-color: rgba(15,23,42,0.14);
}
[data-theme="light"] .btn-cookie-reject {
    color: #0f172a;
    background: rgba(255,255,255,0.84);
    border-color: rgba(15,23,42,0.14);
}
@media (max-width: 980px) {
    .nav-bot-rail { display: none; }
    .nav-brand-copy { display: none; }
}
@media (max-width: 640px) {
    .hero-shell {
        width: min(100%, calc(100% - 16px));
        gap: 14px;
    }
    .hero-content {
        text-align: left;
    }
    .hero-sub {
        margin-left: 0;
        margin-right: 0;
    }
    .hero-channel-badges {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 10px;
    }
    .channel-badge {
        min-height: 52px;
        padding: 12px 12px;
        border-radius: 16px;
        justify-content: flex-start;
        background: linear-gradient(145deg, rgba(15,23,42,0.82), rgba(2,6,23,0.56));
        border: 1px solid rgba(148,163,184,0.16);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    }
    .hero-actions {
        width: 100%;
    }
    .hero-actions .btn-primary {
        box-shadow: 0 16px 36px rgba(59,130,246,0.32);
    }
    .hero-command-deck {
        margin-top: 6px;
    }
    .hero-preview-card {
        border-radius: 22px;
        box-shadow: 0 24px 52px rgba(2,6,23,0.34), 0 0 0 1px rgba(255,255,255,0.04) inset;
    }
    .demo-card-panel .demo-sample-pills {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 78%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        margin-right: -4px;
        scrollbar-width: none;
    }
    .demo-card-panel .demo-sample-pills::-webkit-scrollbar {
        display: none;
    }
    .demo-sample-pill {
        scroll-snap-align: start;
        min-height: 46px;
        padding: 10px 14px;
        text-align: left;
        justify-content: flex-start;
        border-radius: 16px;
    }
    .mobile-nav-cta-grid {
        grid-template-columns: 1fr;
    }
    .mobile-nav-cta-card {
        min-height: 68px;
        padding: 13px 14px;
        border-radius: 16px;
    }
    .demo-tab-cards {
        grid-auto-flow: column;
        grid-auto-columns: 82%;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        margin-right: -4px;
        scrollbar-width: none;
    }
    .demo-tab-cards::-webkit-scrollbar {
        display: none;
    }
    .demo-tab-card {
        min-width: 0;
        scroll-snap-align: start;
        border-radius: 18px;
    }
    .demo-tab-card.active {
        box-shadow: 0 22px 44px rgba(2,6,23,0.34), 0 0 26px rgba(245,158,11,0.12);
    }
    .methodology-rail {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        padding-bottom: 8px;
        scrollbar-width: none;
    }
    .methodology-rail::-webkit-scrollbar {
        display: none;
    }
    .method-chip {
        scroll-snap-align: start;
    }
    .demo-input-console {
        position: sticky;
        bottom: 0;
        z-index: 2;
        border-radius: 18px;
        background: linear-gradient(145deg, rgba(2,6,23,0.96), rgba(15,23,42,0.92));
        box-shadow: 0 18px 36px rgba(2,6,23,0.26);
    }
    .toolbox-feature-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 12px;
    }
    .toolbox-feature-card {
        min-height: 128px;
        padding: 14px;
        border-radius: 16px;
    }
}
@media (max-width: 1080px) {
    .demo-tab-card {
        min-width: min(100%, 260px);
    }
}
@media (max-width: 720px) {
    .demo-signal-row {
        grid-template-columns: 1fr;
        padding-left: 0;
        padding-right: 0;
    }
    .demo-glass {
        padding: 1.15rem;
    }
    .demo-panel-head {
        flex-direction: column;
    }
    .toolbox-strip-head {
        align-items: flex-start;
        gap: 6px;
        flex-direction: column;
    }
    .toolbox-strip {
        padding: 1rem 1rem .9rem;
        border-radius: 18px;
    }
    .toolbox-tiles {
        gap: 10px;
        margin-right: -2px;
    }
    .toolbox-tile {
        min-height: 46px;
        padding: 10px 14px;
        font-size: .8rem;
    }
}

/* ═══════════════════════════════════════════════
   HERO / DEMO / TOOLBOX — Conversion polish
   ═══════════════════════════════════════════════ */
.hero-deck-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}
.hero-deck-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    text-decoration: none;
    color: #dbeafe;
    font-weight: 800;
    font-size: 0.82rem;
    border: 1px solid rgba(148,163,184,0.16);
    background: linear-gradient(145deg, rgba(15,23,42,0.74), rgba(2,6,23,0.56));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    transition: transform .2s, border-color .2s, box-shadow .2s, background .2s;
}
.hero-deck-link:hover {
    transform: translateY(-2px);
    border-color: rgba(34,211,238,0.32);
    box-shadow: 0 16px 32px rgba(2,6,23,0.24), 0 0 24px rgba(34,211,238,0.08);
}
.hero-deck-link--primary {
    color: #07111f;
    border-color: rgba(245,158,11,0.3);
    background: linear-gradient(135deg, #f59e0b, #c87533 56%, #0ea5e9);
}
.hero-deck-link--primary:hover {
    border-color: rgba(251,191,36,0.42);
    box-shadow: 0 18px 34px rgba(2,6,23,0.28), 0 0 26px rgba(245,158,11,0.14);
}
.demo-table-fade-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.demo-fade-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    text-decoration: none;
    color: rgba(226,232,240,0.92);
    font-size: 0.78rem;
    font-weight: 800;
    border: 1px solid rgba(148,163,184,0.18);
    background: rgba(15,23,42,0.62);
    transition: transform .2s, border-color .2s, box-shadow .2s, background .2s;
}
.demo-fade-link:hover {
    transform: translateY(-1px);
    border-color: rgba(34,211,238,0.32);
    box-shadow: 0 12px 24px rgba(2,6,23,0.22);
}
.demo-fade-link--primary {
    color: #07111f;
    border-color: rgba(245,158,11,0.3);
    background: linear-gradient(135deg, rgba(245,158,11,0.96), rgba(200,117,51,0.94));
}
.demo-chat-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.demo-chat-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(148,163,184,0.18);
    background: rgba(15,23,42,0.56);
    color: rgba(226,232,240,0.92);
    font-size: 0.78rem;
    font-weight: 800;
    transition: transform .2s, border-color .2s, box-shadow .2s, background .2s;
}
.demo-chat-link:hover {
    transform: translateY(-1px);
    border-color: rgba(34,211,238,0.3);
    box-shadow: 0 12px 24px rgba(2,6,23,0.18);
}
.demo-chat-link--primary {
    color: #07111f;
    border-color: rgba(245,158,11,0.3);
    background: linear-gradient(135deg, rgba(245,158,11,0.98), rgba(200,117,51,0.94));
}
.social-proof-meta {
    margin-top: 14px;
}
.social-proof-meta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(191,219,254,0.92);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 800;
    border-bottom: 1px solid rgba(191,219,254,0.22);
    transition: color .2s, border-color .2s, transform .2s;
}
.social-proof-meta a:hover {
    color: #e0f2fe;
    border-color: rgba(34,211,238,0.34);
    transform: translateY(-1px);
}
[data-theme="light"] .hero-deck-link {
    color: #0f172a;
    background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(241,245,249,0.92));
    border-color: rgba(15,23,42,0.1);
    box-shadow: 0 16px 32px rgba(15,23,42,0.12), inset 0 1px 0 rgba(255,255,255,0.92);
}
[data-theme="light"] .hero-deck-link--primary {
    color: #111827;
    border-color: rgba(217,119,6,0.24);
    background: linear-gradient(135deg, rgba(251,191,36,0.92), rgba(249,115,22,0.9));
}
[data-theme="light"] .demo-fade-link {
    color: #0f172a;
    background: rgba(255,255,255,0.92);
    border-color: rgba(15,23,42,0.1);
}
[data-theme="light"] .demo-fade-link--primary {
    color: #111827;
    background: linear-gradient(135deg, rgba(251,191,36,0.92), rgba(249,115,22,0.9));
    border-color: rgba(217,119,6,0.24);
}
[data-theme="light"] .demo-chat-link {
    color: #0f172a;
    background: rgba(255,255,255,0.92);
    border-color: rgba(15,23,42,0.1);
}
[data-theme="light"] .demo-chat-link--primary {
    color: #111827;
    border-color: rgba(217,119,6,0.24);
    background: linear-gradient(135deg, rgba(251,191,36,0.92), rgba(249,115,22,0.9));
}
[data-theme="light"] .social-proof-meta a {
    color: #0f172a;
    border-color: rgba(15,23,42,0.12);
}
[data-theme="light"] .demo-surface-topline span {
    color: rgba(30,41,59,0.8);
    background: rgba(255,255,255,0.88);
    border-color: rgba(15,23,42,0.1);
}
@media (max-width: 640px) {
    .hero-kicker {
        width: 100%;
        justify-content: flex-start;
        padding-inline: 14px;
    }
    .hero-title {
        font-size: clamp(2.25rem, 12vw, 3.35rem);
        letter-spacing: -0.05em;
    }
    .hero-product-pills {
        width: 100%;
        gap: 10px;
        margin-bottom: 0.8rem;
    }
    .hero-product-pill {
        min-height: 84px;
        padding: 14px 13px;
        border-radius: 16px;
    }
    .hero-product-pill strong {
        font-size: 0.96rem;
    }
    .hero-product-pill small {
        font-size: 0.76rem;
    }
    .hero-preview-input {
        padding: 13px 14px;
        font-size: 0.92rem;
    }
    .hero-preview-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .hero-preview-metrics div {
        min-height: 74px;
        padding: 10px 9px;
    }
    .hero-preview-metrics strong {
        font-size: 0.98rem;
    }
    .hero-preview-metrics span {
        font-size: 0.68rem;
    }
    .hero-preview-list {
        gap: 8px;
        font-size: 0.8rem;
    }
    .hero-deck-actions {
        grid-template-columns: 1fr;
    }
    .hero-support-line {
        max-width: none;
        font-size: 0.84rem;
    }
    .demo-command-surface {
        padding: 14px;
        border-radius: 24px;
    }
    .demo-surface-topline {
        display: grid;
        grid-template-columns: 1fr;
    }
    .demo-panel-head {
        margin-bottom: 0.8rem;
    }
    .demo-result-box {
        min-height: 220px;
    }
    .demo-table-fade-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .demo-chat-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .toolbox-strip {
        padding-bottom: 1.05rem;
    }
    .toolbox-feature-card strong {
        font-size: 1rem;
        line-height: 1.35;
    }
    .toolbox-feature-card small {
        font-size: 0.8rem;
        line-height: 1.55;
    }
    .cookie-banner {
        left: 7px;
        right: 7px;
        width: auto;
        max-width: none;
        border-radius: 18px;
        bottom: 10px;
    }
    .cookie-content {
        gap: 10px;
    }
    .cookie-icon {
        display: none;
    }
    .cookie-text strong {
        font-size: 0.92rem;
    }
    .cookie-text > span {
        display: block;
        font-size: 0.78rem;
        line-height: 1.45;
    }
    .cookie-links {
        gap: 6px 10px;
    }
    .cookie-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .cookie-actions button {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 0.78rem;
    }
    #cookieDetailsBtn {
        grid-column: 1 / -1;
    }
}

/* Demo cockpit override: the mockup-inspired layout, wired to the real public demo endpoints. */
.nav-inner {
    width: min(1490px, calc(100% - 32px));
    max-width: none;
}
.nav-bot-rail {
    border: 1px solid rgba(148,163,184,0.18);
    border-radius: 10px;
    overflow: visible;
    flex: 0 0 auto;
    gap: 0;
    background: rgba(2,6,23,0.34);
}
.nav-bot-chip {
    min-height: 45px;
    padding: 8px 9px;
    border-width: 0 1px 0 0;
    border-radius: 0;
    background: rgba(15,23,42,0.56);
    line-height: 1.1;
    white-space: nowrap;
}
.nav-link {
    padding-left: 10px;
    padding-right: 10px;
}
.nav-bot-chip:last-child {
    border-right: 0;
}
.nav-links > a[href="#demo"] {
    display: none;
}
.nav-controls {
    gap: 8px;
    margin-left: 8px;
}
.nav-segment [data-lang-btn="en"] {
    display: none;
}
.nav-theme-toggle {
    width: 38px;
    min-width: 38px;
    padding: 0;
}
.nav-theme-label {
    display: none;
}
.nav-cta {
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
}
@media (max-width: 1480px) {
    .nav-inner {
        width: min(100% - 20px, 1490px);
        gap: 12px;
    }
    .nav-brand {
        gap: 7px;
    }
    .nav-brand .brand-logo-panel {
        width: 40px;
        min-height: 38px;
    }
    .nav-brand .brand-logo-image {
        width: 30px;
        max-width: 30px;
        height: 30px;
    }
    .nav-brand-copy strong {
        font-size: 0.92rem;
    }
    .nav-brand-copy small {
        font-size: 0.5rem;
    }
    .nav-bot-chip {
        min-height: 40px;
        padding: 7px 7px;
        gap: 5px;
        font-size: 0.61rem;
    }
    .nav-link {
        padding-left: 7px;
        padding-right: 7px;
        font-size: 0.8rem;
    }
    .nav-controls {
        gap: 6px;
        margin-left: 4px;
    }
    .nav-cta {
        padding-left: 9px;
        padding-right: 9px;
        font-size: 0.8rem;
    }
}
.hero--demo-first {
    display: none;
}
.hero--demo-first + .demo-section {
    min-height: 100vh;
    padding-top: 86px;
    padding-bottom: 24px;
    background:
        radial-gradient(circle at 18% 12%, rgba(34,211,238,0.13), transparent 30%),
        radial-gradient(circle at 84% 18%, rgba(99,102,241,0.12), transparent 30%),
        linear-gradient(180deg, #050914 0%, #07111f 44%, #050914 100%);
}
.hero--demo-first + .demo-section .container {
    width: min(1480px, calc(100% - 44px));
    max-width: none;
}
.hero--demo-first + .demo-section .section-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.56fr);
    gap: 22px;
    align-items: end;
    margin-bottom: 14px;
    text-align: left;
}
.hero--demo-first + .demo-section .section-title {
    max-width: none;
    margin: 0;
    color: #f8fafc;
    font-size: clamp(2.15rem, 3.55vw, 3.35rem);
    line-height: 0.98;
    letter-spacing: 0;
}
.hero--demo-first + .demo-section .section-sub {
    max-width: 920px;
    margin: 7px 0 0;
    color: rgba(226,232,240,0.82);
    font-size: clamp(0.92rem, 1.12vw, 1.04rem);
}
.demo-header-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.demo-header-products span {
    min-height: 58px;
    padding: 11px 14px 11px 48px;
    border: 1px solid rgba(34,211,238,0.18);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(15,23,42,0.92), rgba(8,16,30,0.82)),
        radial-gradient(circle at 12% 30%, rgba(34,211,238,0.18), transparent 30%);
    color: #f8fafc;
    position: relative;
}
.demo-header-products span::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 17px;
    width: 22px;
    height: 22px;
    border: 2px solid #22d3ee;
    border-radius: 7px;
    box-shadow: 0 0 18px rgba(34,211,238,0.24);
}
.demo-header-products span:nth-child(2)::before {
    border-color: #22c55e;
    box-shadow: 0 0 18px rgba(34,197,94,0.24);
}
.demo-header-products strong,
.demo-header-products small {
    display: block;
}
.demo-header-products strong {
    font-size: 1.03rem;
    line-height: 1.1;
}
.demo-header-products small {
    margin-top: 4px;
    color: rgba(203,213,225,0.76);
    font-size: 0.82rem;
}
.hero--demo-first + .demo-section .demo-sample-pills {
    counter-reset: demoScenario;
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: clamp(238px, 22vw, 292px);
    gap: 12px;
    width: 100%;
    max-width: none;
    margin: 0 0 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 5px;
    scroll-padding-inline: 10px;
    scroll-snap-type: x proximity;
    scrollbar-color: rgba(34,211,238,0.44) rgba(15,23,42,0.36);
    scrollbar-width: thin;
}
.hero--demo-first + .demo-section .demo-sample-pills::-webkit-scrollbar {
    height: 7px;
}
.hero--demo-first + .demo-section .demo-sample-pills::-webkit-scrollbar-track {
    background: rgba(15,23,42,0.36);
    border-radius: 999px;
}
.hero--demo-first + .demo-section .demo-sample-pills::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #22d3ee, #8b5cf6);
    border-radius: 999px;
}
.hero--demo-first + .demo-section .demo-scenario-card {
    counter-increment: demoScenario;
    height: 148px;
    min-height: 148px;
    scroll-snap-align: start;
    overflow: hidden;
    padding: 14px 14px 12px 92px;
    border: 1px solid rgba(148,163,184,0.2);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(15,23,42,0.86), rgba(8,16,30,0.76)),
        radial-gradient(circle at 60% 20%, rgba(59,130,246,0.08), transparent 38%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
    position: relative;
}
.hero--demo-first + .demo-section .demo-scenario-card::before {
    content: counter(demoScenario);
    position: absolute;
    left: 12px;
    top: 12px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(148,163,184,0.48);
    border-radius: 999px;
    color: rgba(226,232,240,0.82);
    font-weight: 900;
    font-size: 0.9rem;
}
.hero--demo-first + .demo-section .demo-scenario-card::after {
    content: '';
    position: absolute;
    left: 37px;
    top: 50px;
    width: 44px;
    height: 44px;
    background: rgba(148,163,184,0.12);
    border: 1px solid rgba(148,163,184,0.22);
    border-radius: 13px;
    color: rgba(226,232,240,0.82);
    display: grid;
    place-items: center;
    font-size: 1.6rem;
}
.hero--demo-first + .demo-section .demo-scenario-card[data-scenario="forklift"]::after { content: '▦'; }
.hero--demo-first + .demo-section .demo-scenario-card[data-scenario="merdiven"]::after { content: '↗'; }
.hero--demo-first + .demo-section .demo-scenario-card[data-scenario="kimyasal"]::after { content: '◖'; }
.hero--demo-first + .demo-section .demo-scenario-card[data-scenario="makine"]::after { content: '⚙'; }
.hero--demo-first + .demo-section .demo-scenario-card[data-scenario="insaat"]::after { content: '╬'; }
.hero--demo-first + .demo-section .demo-scenario-card[data-scenario="hastane"]::after { content: '+'; }
.hero--demo-first + .demo-section .demo-scenario-card[data-scenario="mutfak"]::after { content: '⌁'; }
.hero--demo-first + .demo-section .demo-scenario-card[data-scenario="enerji"]::after { content: 'ϟ'; }
.hero--demo-first + .demo-section .demo-scenario-card[data-scenario="ofis"]::after { content: '▥'; }
.hero--demo-first + .demo-section .demo-scenario-card[data-scenario="otoservis"]::after { content: '◉'; }
.hero--demo-first + .demo-section .demo-scenario-card[data-scenario="akaryakit"]::after { content: '◇'; }
.hero--demo-first + .demo-section .demo-scenario-card[data-scenario="tunel"]::after { content: '◒'; }
.hero--demo-first + .demo-section .demo-scenario-card.demo-sample-pill--active {
    border-color: rgba(34,211,238,0.85) !important;
    background:
        linear-gradient(180deg, rgba(15,23,42,0.95), rgba(15,23,42,0.82)),
        radial-gradient(circle at 70% 18%, rgba(99,102,241,0.2), transparent 42%) !important;
    box-shadow: 0 0 0 1px rgba(34,211,238,0.28), 0 18px 36px rgba(34,211,238,0.12), inset 0 1px 0 rgba(255,255,255,0.05) !important;
}
.hero--demo-first + .demo-section .demo-scenario-card.demo-sample-pill--active::before {
    border-color: rgba(34,211,238,0.9);
    color: #67e8f9;
}
.hero--demo-first + .demo-section .demo-scenario-card.demo-sample-pill--active::after {
    border-color: rgba(34,211,238,0.46);
    color: #67e8f9;
}
.hero--demo-first + .demo-section .demo-scenario-card.demo-sample-pill--active .demo-scenario-sector::after {
    content: '✓';
    position: absolute;
    right: 11px;
    top: 11px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22d3ee, #0ea5e9);
    color: #02111f;
    font-size: 0.78rem;
    font-weight: 950;
    box-shadow: 0 0 18px rgba(34,211,238,0.36);
}
.hero--demo-first + .demo-section .demo-scenario-sector {
    display: block;
    width: fit-content;
    margin-bottom: 6px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(34,211,238,0.16);
    color: #67e8f9;
    font-size: 0.74rem;
    font-weight: 900;
}
.hero--demo-first + .demo-section .demo-scenario-title {
    color: #f8fafc;
    font-size: 0.91rem;
    line-height: 1.16;
}
.hero--demo-first + .demo-section .demo-scenario-risk,
.hero--demo-first + .demo-section .demo-scenario-dof {
    display: block;
    color: rgba(203,213,225,0.86);
    font-size: 0.76rem;
    line-height: 1.25;
}
.hero--demo-first + .demo-section .demo-scenario-risk {
    margin-top: auto;
    padding-top: 7px;
    border-top: 1px solid rgba(148,163,184,0.12);
}
.hero--demo-first + .demo-section .demo-scenario-risk b {
    color: #60a5fa;
}
.hero--demo-first + .demo-section .demo-scenario-dof b {
    color: #34d399;
}
.demo-command-surface--decision {
    padding: 14px;
    border: 1px solid rgba(34,211,238,0.26);
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 0%, rgba(34,211,238,0.16), transparent 42%),
        linear-gradient(180deg, rgba(15,23,42,0.9), rgba(8,16,30,0.8));
    box-shadow: 0 28px 72px rgba(2,6,23,0.38), inset 0 1px 0 rgba(255,255,255,0.05);
}
.demo-command-console {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 820px);
    justify-content: center;
    gap: 12px;
    align-items: stretch;
    padding: 18px;
    overflow: hidden;
    border: 1px solid rgba(34,211,238,0.28);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(2,6,23,0.78), rgba(15,23,42,0.68)),
        radial-gradient(circle at 50% 0%, rgba(14,165,233,0.2), transparent 50%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.055), 0 0 42px rgba(34,211,238,0.12);
}
.demo-command-console::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, rgba(34,211,238,0.11), transparent);
    transform: translateX(-100%);
    animation: demo-input-sweep 8s ease-in-out infinite;
}
.demo-command-input-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-areas:
        "icon label"
        "icon hint"
        "input input";
    align-items: center;
    column-gap: 12px;
    row-gap: 8px;
    min-width: 0;
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(245,158,11,0.32);
    border-radius: 18px;
    background:
        radial-gradient(circle at 0 0, rgba(245,158,11,0.14), transparent 36%),
        rgba(2,6,23,0.5);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.045), 0 0 34px rgba(245,158,11,0.1);
}
.demo-command-input-icon {
    grid-area: icon;
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 16px;
    border: 1px solid rgba(34,211,238,0.34);
    background:
        linear-gradient(145deg, rgba(8,47,73,0.76), rgba(2,6,23,0.72));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 24px rgba(34,211,238,0.16);
}
.demo-command-input-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: none;
    stroke: #67e8f9;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.demo-command-input-wrap > span:not(.demo-command-input-icon) {
    grid-area: label;
    color: #67e8f9;
    font-size: 0.88rem;
    font-weight: 950;
    letter-spacing: 0;
    text-align: left;
    text-transform: uppercase;
}
.demo-command-input-wrap small {
    grid-area: hint;
    display: block;
    color: rgba(226,232,240,0.68);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
}
.demo-command-input-wrap input {
    grid-area: input;
    width: 100%;
    padding: 0 18px;
    border: 1px solid rgba(245,158,11,0.34);
    border-radius: 14px;
    outline: none;
    color: #f8fafc;
    background:
        linear-gradient(180deg, rgba(2,6,23,0.72), rgba(15,23,42,0.6));
    font: inherit;
    font-weight: 900;
    min-height: 56px;
    font-size: clamp(1rem, 1.7vw, 1.22rem);
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.045), 0 0 26px rgba(34,211,238,0.1);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.demo-command-input-wrap input::placeholder {
    color: rgba(148,163,184,0.72);
}
.demo-command-input-wrap:focus-within {
    border-color: rgba(245,158,11,0.58);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.055), 0 0 0 1px rgba(245,158,11,0.18), 0 0 38px rgba(245,158,11,0.16);
}
.demo-command-input-wrap:focus-within input {
    border-color: rgba(245,158,11,0.72);
    background:
        linear-gradient(180deg, rgba(3,7,18,0.9), rgba(69,26,3,0.32));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 0 4px rgba(245,158,11,0.08), 0 0 32px rgba(245,158,11,0.18);
}
.demo-command-actions,
.demo-panel-run {
    display: flex;
    align-items: center;
    gap: 10px;
}
.demo-command-actions button,
.demo-panel-run button {
    min-width: 174px;
    min-height: 48px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    color: #07111f;
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    box-shadow: 0 14px 30px rgba(37,99,235,0.22);
    font: inherit;
    font-size: 0.96rem;
    font-weight: 950;
    white-space: nowrap;
}
.demo-command-actions .demo-action-dof,
.demo-panel-run .demo-action-dof {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #f8fafc;
    box-shadow: 0 14px 30px rgba(34,197,94,0.2);
}
.demo-command-export,
.demo-panel-export {
    display: grid;
    grid-template-columns: repeat(2, minmax(86px, 1fr));
    gap: 10px;
}
.demo-command-export button,
.demo-panel-export button {
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid rgba(245,158,11,0.28);
    border-radius: 10px;
    background: rgba(15,23,42,0.82);
    color: #f8fafc;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 7px;
    align-items: center;
    text-align: left;
    line-height: 1.05;
}
.demo-command-export button:last-child,
.demo-panel-export button:last-child {
    border-color: rgba(239,68,68,0.34);
}
.demo-panel-export button span {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    color: #bbf7d0;
    background: rgba(34,197,94,0.14);
    box-shadow: 0 0 18px rgba(34,197,94,0.1);
}
.demo-panel-export button:last-child span {
    color: #fecaca;
    background: rgba(239,68,68,0.14);
    box-shadow: 0 0 18px rgba(239,68,68,0.1);
}
.demo-panel-export button strong {
    font-size: 0.78rem;
}
.demo-panel-export button small {
    color: rgba(203,213,225,0.68);
    font-size: 0.62rem;
    font-weight: 800;
}
.demo-panel-actionbar {
    display: grid;
    grid-template-columns: minmax(190px, auto) minmax(180px, 1fr);
    gap: 10px;
    align-items: center;
    margin: 4px 0 8px;
}
.demo-panel-run {
    flex-wrap: wrap;
}
.demo-panel-run .demo-credit-badge {
    min-height: 34px;
}
.demo-credit-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(34,211,238,0.18);
    border-radius: 999px;
    color: #a5f3fc;
    background: rgba(8,16,30,0.74);
    font-size: 0.72rem;
    font-weight: 950;
    white-space: nowrap;
}
.demo-history {
    position: relative;
    width: min(1040px, 100%);
    margin: 12px auto 0;
    padding: 11px 12px 12px;
    border: 1px solid rgba(34,211,238,0.16);
    border-radius: 12px;
    background:
        radial-gradient(circle at 8% 0%, rgba(34,211,238,0.12), transparent 32%),
        linear-gradient(180deg, rgba(8,16,30,0.86), rgba(2,6,23,0.44));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 14px 34px rgba(2,6,23,0.2);
    overflow: hidden;
}
.demo-history::before {
    content: '';
    position: absolute;
    inset: 0 16px auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34,211,238,0.7), rgba(245,158,11,0.6), transparent);
    pointer-events: none;
}
.demo-history-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    color: #67e8f9;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0;
}
.demo-history-head button {
    min-height: 28px;
    padding: 0 11px;
    border: 1px solid rgba(148,163,184,0.22);
    border-radius: 999px;
    color: rgba(226,232,240,0.82);
    background: rgba(15,23,42,0.72);
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 850;
}
.demo-history-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(214px, 1fr));
    gap: 8px;
}
.demo-history-list button {
    position: relative;
    min-width: 0;
    min-height: 82px;
    padding: 9px 10px 9px 36px;
    border: 1px solid rgba(34,211,238,0.2);
    border-radius: 10px;
    color: #f8fafc;
    background:
        radial-gradient(circle at 8% 20%, rgba(34,211,238,0.12), transparent 36%),
        linear-gradient(145deg, rgba(15,23,42,0.86), rgba(2,6,23,0.56));
    text-align: left;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}
.demo-history-list button::before {
    content: '↺';
    position: absolute;
    left: 10px;
    top: 14px;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    color: #22d3ee;
    background: rgba(34,211,238,0.12);
    font-size: 0.72rem;
    font-weight: 950;
    box-shadow: 0 0 14px rgba(34,211,238,0.12);
}
.demo-history-list strong,
.demo-history-list small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.demo-history-scope,
.demo-history-restore {
    display: block;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0;
}
.demo-history-scope {
    margin-bottom: 4px;
    color: #67e8f9;
}
.demo-history-list strong {
    font-size: 0.75rem;
}
.demo-history-list small {
    margin-top: 3px;
    color: rgba(191,219,254,0.74);
    font-size: 0.62rem;
    font-weight: 800;
}
.demo-history-restore {
    margin-top: 7px;
    color: #f8d38d;
}
[data-theme="light"] .hero-live-console,
[data-theme="light"] .demo-orchestrator-bar,
[data-theme="light"] .demo-history {
    background:
        radial-gradient(circle at 8% 0%, rgba(34,211,238,0.08), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(241,245,249,0.9));
}
[data-theme="light"] .hero-live-console__input-wrap input,
[data-theme="light"] .demo-orchestrator-btn {
    background: rgba(255,255,255,0.92);
    color: rgba(15,23,42,0.94);
}
[data-theme="light"] .hero-live-console__truth span,
[data-theme="light"] .demo-prompt-truth span {
    color: rgba(146,64,14,0.92);
    background: rgba(245,158,11,0.08);
}
[data-theme="light"] .demo-orchestrator-copy strong,
[data-theme="light"] .demo-history-list strong {
    color: rgba(15,23,42,0.94);
}
[data-theme="light"] .demo-orchestrator-copy small,
[data-theme="light"] .demo-history-list small {
    color: rgba(51,65,85,0.82);
}
.demo-command-surface--decision .demo-pipeline-ribbon {
    counter-reset: demoPipeline;
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: min(1040px, 100%);
    margin: 18px auto 16px;
    gap: 14px;
    overflow: visible;
}
.demo-command-surface--decision .demo-pipeline-ribbon::before {
    content: '';
    position: absolute;
    left: 6%;
    right: 6%;
    top: 50%;
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, #38bdf8, #22c55e, #f59e0b, #a78bfa);
    opacity: 0.78;
}
.demo-command-surface--decision .demo-pipeline-ribbon span {
    counter-increment: demoPipeline;
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: 58px;
    padding: 15px 10px 10px;
    border-radius: 999px;
    border-color: rgba(34,211,238,0.34);
    background:
        radial-gradient(circle at 50% -10%, rgba(34,211,238,0.18), transparent 54%),
        rgba(8,16,30,0.96);
    box-shadow: 0 0 24px rgba(34,211,238,0.13), inset 0 1px 0 rgba(255,255,255,0.05);
    font-weight: 950;
    color: #dbeafe;
    text-align: center;
}
.demo-command-surface--decision .demo-pipeline-ribbon span::before {
    content: counter(demoPipeline);
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(34,211,238,0.44);
    border-radius: 999px;
    color: #07111f;
    background: linear-gradient(135deg, #67e8f9, #38bdf8);
    box-shadow: 0 0 20px rgba(34,211,238,0.25);
    font-size: 0.7rem;
    font-weight: 950;
}
.demo-contract-strip {
    display: none;
}
.demo-decision-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}
.demo-decision-pane {
    display: flex;
    flex-direction: column;
    min-height: 568px;
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(15,23,42,0.88), rgba(8,16,30,0.78));
}
.demo-decision-pane .demo-panel-head {
    align-items: start;
    min-height: 52px;
}
.demo-decision-pane .demo-panel-kicker {
    color: #67e8f9;
}
.demo-decision-pane .demo-panel-head h3 {
    max-width: 420px;
    color: #f8fafc;
    font-size: 0.96rem;
    line-height: 1.25;
}
.demo-decision-pane .methodology-rail {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 0 6px;
    scrollbar-width: none;
}
.demo-decision-pane .methodology-rail::-webkit-scrollbar {
    display: none;
}
.demo-decision-pane .method-chip {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 0.64rem;
}
.demo-decision-pane .demo-result-box {
    flex: 1 1 auto;
    min-height: 322px;
    border-radius: 10px;
    overflow: hidden;
}
.demo-decision-pane .demo-result-box > span {
    display: grid;
    min-height: 100%;
    place-items: center;
    padding: 28px;
    color: rgba(148,163,184,0.9) !important;
    text-align: center;
}
.demo-decision-grid .demo-result--table {
    border-radius: 10px;
    background: rgba(2,6,23,0.18);
}
.demo-decision-grid .demo-result--risk {
    border: 1px solid rgba(34,211,238,0.18);
    box-shadow: inset 0 1px 0 rgba(34,211,238,0.06), 0 0 34px rgba(34,211,238,0.06);
}
.demo-decision-grid .demo-result--dof {
    border: 1px solid rgba(245,158,11,0.2);
    box-shadow: inset 0 1px 0 rgba(245,158,11,0.06), 0 0 34px rgba(245,158,11,0.07);
}
.demo-decision-grid .result-table-header {
    padding: 10px 12px 6px;
}
.demo-decision-grid .demo-result--risk .result-table-header {
    background: linear-gradient(90deg, rgba(14,165,233,0.16), rgba(8,16,30,0));
}
.demo-decision-grid .demo-result--dof .result-table-header {
    background: linear-gradient(90deg, rgba(245,158,11,0.14), rgba(8,16,30,0));
}
.demo-decision-grid .demo-result--risk .result-table-badge {
    border-color: rgba(34,211,238,0.38);
    background: rgba(34,211,238,0.12);
    color: #67e8f9;
}
.demo-decision-grid .demo-result--dof .result-table-badge {
    border-color: rgba(245,158,11,0.36);
    background: rgba(245,158,11,0.12);
    color: #fbbf24;
}
.demo-decision-grid .result-summary {
    padding: 0 14px 8px;
}
.demo-decision-grid .result-summary {
    display: none;
}
.demo-decision-grid .demo-proof-meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    padding: 0 12px 5px;
}
.demo-decision-grid .demo-proof-chips,
.demo-decision-grid .demo-trace-footer {
    display: none;
}
.demo-decision-grid .demo-confidence-meter {
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 9px;
    font-size: 0.66rem;
}
.demo-decision-grid .demo-confidence-meter i {
    height: 4px;
}
.demo-input-echo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 12px 7px;
    padding: 7px 9px;
    border: 1px solid rgba(34,211,238,0.14);
    border-radius: 9px;
    background: rgba(2,6,23,0.32);
    min-width: 0;
}
.demo-input-echo span {
    flex: 0 0 auto;
    color: #67e8f9;
    font-size: 0.6rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.demo-input-echo strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #e2e8f0;
    font-size: 0.74rem;
}
.demo-decision-grid .demo-signal-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    padding: 0 12px 5px;
}
.demo-decision-grid .demo-signal-card {
    min-height: 40px;
    padding: 7px 8px;
}
.demo-decision-grid .demo-signal-card span {
    margin-bottom: 3px;
    font-size: 0.61rem;
}
.demo-decision-grid .demo-signal-card strong {
    font-size: 0.78rem;
    line-height: 1.18;
}
.demo-decision-grid .demo-column-teasers {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 0 12px 5px;
}
.demo-decision-grid .demo-column-teasers--dof {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.demo-decision-grid .demo-column-teaser {
    min-height: 44px;
    padding: 6px 7px;
    border-radius: 9px;
}
.demo-decision-grid .demo-column-teaser span {
    margin-bottom: 2px;
    font-size: 0.58rem;
}
.demo-decision-grid .demo-column-teaser strong {
    font-size: 0.7rem;
    line-height: 1.18;
    -webkit-line-clamp: 2;
}
.demo-decision-grid .demo-table-scroll {
    max-height: 208px;
    margin: 0 12px 10px;
    border: 1px solid rgba(148,163,184,0.14);
    border-radius: 10px;
}
.demo-decision-grid .demo-sheets-table {
    min-width: 980px;
}
.demo-decision-grid .demo-sheets-table--dof {
    min-width: 1120px;
}
.demo-decision-grid .demo-sheets-table th {
    color: #facc15;
    background: rgba(8,16,30,0.96);
}
.demo-urgent-due {
    color: #fecaca !important;
    font-weight: 900;
    animation: demoUrgentDuePulse 2.8s ease-in-out infinite;
}
.method-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.method-chip-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(34,211,238,0.1);
    color: #67e8f9;
    font-size: 0.64rem;
    font-weight: 950;
}
.method-chip.active .method-chip-score {
    background: rgba(245,158,11,0.18);
    color: #fbbf24;
}
.demo-credit-badge.is-updated {
    animation: demoCreditPulse .78s ease both;
}
.demo-decision-grid .demo-table-fade {
    position: sticky;
    bottom: 0;
    z-index: 4;
    backdrop-filter: blur(14px);
}
.demo-decision-grid .demo-table-fade-actions {
    padding: 0 12px 8px;
}
.demo-decision-grid .table-scroll-hint {
    display: none;
}
.hero--demo-first + .demo-section .demo-guide-panel {
    display: none;
}
.demo-cockpit-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 14px;
    border: 1px solid rgba(148,163,184,0.16);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(8,16,30,0.86), rgba(5,9,20,0.8)),
        radial-gradient(circle at 8% 10%, rgba(34,211,238,0.12), transparent 34%);
    overflow: hidden;
}
.demo-cockpit-trust div {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 10px;
    align-items: center;
    min-height: 54px;
    padding: 10px 16px;
    border-right: 1px solid rgba(148,163,184,0.16);
}
.demo-cockpit-trust div:last-child {
    border-right: 0;
}
.demo-cockpit-trust span {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(34,211,238,0.28);
    border-radius: 8px;
    color: #22d3ee;
    background: rgba(2,6,23,0.32);
    box-shadow: 0 0 18px rgba(34,211,238,0.08);
    font-weight: 950;
}
.demo-cockpit-trust div:nth-child(2) span { color: #60a5fa; border-color: rgba(96,165,250,0.28); }
.demo-cockpit-trust div:nth-child(3) span { color: #f59e0b; border-color: rgba(245,158,11,0.3); }
.demo-cockpit-trust strong,
.demo-cockpit-trust small {
    display: block;
    min-width: 0;
}
.demo-cockpit-trust strong {
    color: #f8fafc;
    font-size: 0.86rem;
    line-height: 1.15;
}
.demo-cockpit-trust small {
    margin-top: 3px;
    color: rgba(203,213,225,0.72);
    font-size: 0.75rem;
    line-height: 1.25;
}
@media (max-width: 1180px) {
    .hero--demo-first + .demo-section .section-header,
    .demo-command-console,
    .demo-decision-grid {
        grid-template-columns: 1fr;
    }
    .demo-header-products {
        max-width: 640px;
    }
    .hero--demo-first + .demo-section .demo-sample-pills {
        grid-template-columns: none;
        grid-auto-columns: minmax(260px, 48%);
    }
    .demo-command-export {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .demo-panel-actionbar {
        grid-template-columns: 1fr;
    }
    .demo-history-list {
        grid-template-columns: repeat(auto-fit, minmax(214px, 1fr));
    }
    .demo-cockpit-trust {
        grid-template-columns: 1fr;
    }
    .demo-cockpit-trust div {
        border-right: 0;
        border-bottom: 1px solid rgba(148,163,184,0.16);
    }
    .demo-cockpit-trust div:last-child {
        border-bottom: 0;
    }
}

/* Live demo scenario grid: keep legacy rail pseudo-icons out of the real card grid. */
#demo .demo-scenario-grid .demo-scenario-card {
    height: auto;
    min-height: 218px;
    overflow: hidden;
    padding: 18px;
    border-radius: 22px;
}
#demo .demo-scenario-grid .demo-scenario-card::before,
#demo .demo-scenario-grid .demo-scenario-card::after {
    content: none;
}
#demo .demo-scenario-grid .demo-sample-pill--active.demo-scenario-card {
    padding-right: 56px;
}
#demo .demo-scenario-grid .demo-sample-pill--active.demo-scenario-card::after {
    content: "✓";
    position: absolute;
    inset: 14px 14px auto auto;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(34,211,238,0.48);
    background: linear-gradient(135deg, #22d3ee, #0ea5e9);
    color: #02111f;
    font-size: 0.86rem;
    font-weight: 950;
    box-shadow: 0 0 18px rgba(34,211,238,0.36);
}
#demo .demo-scenario-grid .demo-sample-pill--active.demo-scenario-card .demo-scenario-sector::after {
    content: none;
}
#demo .demo-scenario-grid .demo-scenario-badge,
#demo .demo-scenario-grid .demo-scenario-sector,
#demo .demo-scenario-grid .demo-scenario-title,
#demo .demo-scenario-grid .demo-scenario-summary,
#demo .demo-scenario-grid .demo-scenario-proof,
#demo .demo-scenario-grid .demo-scenario-lanes {
    position: relative;
    z-index: 1;
}
#demo .demo-scenario-grid .demo-scenario-badge {
    max-width: calc(100% - 38px);
}
#demo .demo-scenario-grid .demo-scenario-sector {
    max-width: 100%;
    white-space: normal;
    line-height: 1.25;
}
#demo .demo-scenario-grid .demo-scenario-proof {
    margin-top: auto;
}
@media (max-width: 720px) {
    #demo .demo-scenario-grid .demo-scenario-card {
        min-height: 0;
        padding: 16px;
    }
    #demo .demo-scenario-grid .demo-sample-pill--active.demo-scenario-card {
        padding-right: 54px;
    }
}
@media (max-width: 760px) {
    .hero--demo-first + .demo-section {
        padding-top: 82px;
    }
    .hero--demo-first + .demo-section .container {
        width: min(100% - 24px, 560px);
    }
    .hero--demo-first + .demo-section .section-title {
        font-size: clamp(2rem, 11vw, 3rem);
    }
    .demo-header-products {
        grid-template-columns: 1fr;
    }
    .hero--demo-first + .demo-section .demo-sample-pills {
        grid-template-columns: none;
        grid-auto-columns: minmax(236px, 86vw);
    }
    .hero--demo-first + .demo-section .demo-scenario-card {
        min-height: 132px;
        padding-left: 104px;
    }
    .hero--demo-first + .demo-section .demo-scenario-card::after {
        left: 40px;
        top: 50px;
        width: 48px;
        height: 48px;
    }
    .demo-command-console {
        padding: 12px;
    }
    .demo-command-actions,
    .demo-command-export,
    .demo-panel-run,
    .demo-panel-export {
        display: grid;
        grid-template-columns: 1fr;
    }
    .demo-command-actions button,
    .demo-command-export button,
    .demo-panel-run button,
    .demo-panel-export button {
        width: 100%;
    }
    .demo-command-surface--decision .demo-pipeline-ribbon {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(148px, 58vw);
        gap: 10px;
        overflow-x: auto;
        overflow-y: visible;
        padding: 12px 4px 4px;
        scroll-snap-type: x proximity;
    }
    .demo-command-surface--decision .demo-pipeline-ribbon::before {
        display: none;
    }
    .demo-command-surface--decision .demo-pipeline-ribbon span {
        scroll-snap-align: start;
    }
    .demo-decision-pane {
        min-height: 0;
    }
    .demo-decision-grid .demo-signal-row,
    .demo-decision-grid .demo-column-teasers,
    .demo-decision-grid .demo-column-teasers--dof {
        grid-template-columns: 1fr;
    }
    .demo-input-echo {
        align-items: flex-start;
        flex-direction: column;
    }
    .demo-input-echo strong {
        white-space: normal;
    }
    .demo-cockpit-trust {
        grid-template-columns: 1fr;
    }
    .demo-cockpit-trust div {
        border-right: 0;
        border-bottom: 1px solid rgba(148,163,184,0.16);
    }
    .demo-cockpit-trust div:last-child {
        border-bottom: 0;
    }
}
@keyframes demoUrgentDuePulse {
    0%, 100% { text-shadow: 0 0 0 rgba(239,68,68,0); }
    50% { text-shadow: 0 0 14px rgba(239,68,68,0.34); }
}
@keyframes demoCreditPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 rgba(34,211,238,0); }
    45% { transform: scale(1.04); box-shadow: 0 0 24px rgba(34,211,238,0.22); }
    100% { transform: scale(1); box-shadow: 0 0 0 rgba(34,211,238,0); }
}
@media (prefers-reduced-motion: reduce) {
    .demo-urgent-due,
    .demo-credit-badge.is-updated {
        animation: none;
    }
}
.release-refresh-toast{
  position:fixed;
  left:50%;
  bottom:22px;
  z-index:1200;
  display:flex;
  align-items:center;
  gap:12px;
  max-width:min(92vw,420px);
  padding:10px 12px 10px 16px;
  transform:translateX(-50%);
  border:1px solid rgba(34,211,238,.34);
  border-radius:999px;
  background:rgba(5,12,24,.92);
  box-shadow:0 18px 50px rgba(0,0,0,.35),0 0 24px rgba(34,211,238,.16);
  color:#eaf6ff;
  font-size:13px;
  font-weight:800;
  backdrop-filter:blur(14px);
}
.release-refresh-toast button{
  min-height:34px;
  padding:0 14px;
  border:0;
  border-radius:999px;
  background:linear-gradient(135deg,#06b6d4,#2563eb);
  color:#fff;
  font:inherit;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(37,99,235,.3);
}
.release-refresh-toast button:focus-visible{
  outline:2px solid #7dd3fc;
  outline-offset:2px;
}
@media(max-width:640px){
  .release-refresh-toast{
    bottom:14px;
    width:calc(100vw - 28px);
    justify-content:space-between;
  }
}

/* Compact landing demo scenario rails: real scenario buttons, low-cost transform motion. */
#demo .demo-scenario-groups {
  display:grid;
  gap:10px;
  margin:18px 0 20px;
}
#demo .demo-scenario-group {
  display:grid;
  grid-template-columns:minmax(170px,.22fr) minmax(0,1fr);
  align-items:center;
  gap:14px;
  min-height:0;
  overflow:hidden;
  padding:12px;
  border:1px solid rgba(34,211,238,.16);
  border-radius:18px;
  background:linear-gradient(90deg,rgba(8,47,73,.34),rgba(15,23,42,.58)),rgba(2,6,23,.52);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 14px 34px rgba(2,6,23,.2);
}
#demo .demo-scenario-group--guided {
  border-color:rgba(148,163,184,.14);
  background:linear-gradient(90deg,rgba(15,23,42,.66),rgba(8,47,73,.2)),rgba(2,6,23,.44);
}
#demo .demo-scenario-group__head {
  display:grid;
  gap:6px;
  align-content:center;
  min-width:0;
  overflow:hidden;
}
#demo .demo-scenario-group__head>div {
  display:grid;
  gap:3px;
  min-width:0;
}
#demo .demo-scenario-group__eyebrow {
  display:inline-flex;
  width:fit-content;
  margin-bottom:7px;
  padding:4px 9px;
  border:1px solid rgba(34,211,238,.16);
  border-radius:999px;
  background:rgba(34,211,238,.09);
  color:#67e8f9;
  font-size:.68rem;
  font-weight:950;
  letter-spacing:0;
  text-transform:uppercase;
  white-space:nowrap;
}
#demo .demo-scenario-group__head h3 {
  display:none;
  overflow:hidden;
  max-width:160px;
  margin:0;
  color:#f8fafc;
  font-size:.9rem;
  line-height:1.16;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
#demo .demo-scenario-group__head p,
#demo .demo-scenario-group__head small {
  display:none;
}
#demo .demo-scenario-grid {
  display:flex;
  width:max-content;
  max-width:none;
  gap:10px;
  will-change:transform;
  animation:demo-scenario-rail 42s linear infinite;
}
#demo .demo-scenario-grid--guided {
  animation-duration:36s;
}
#demo .demo-scenario-group:hover .demo-scenario-grid,
#demo .demo-scenario-group:focus-within .demo-scenario-grid {
  animation-play-state:paused;
}
#demo .demo-scenario-grid .demo-scenario-card {
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  column-gap:8px;
  row-gap:7px;
  flex:0 0 clamp(220px,22vw,292px);
  width:clamp(220px,22vw,292px);
  min-height:88px;
  height:auto;
  overflow:hidden;
  padding:12px 14px;
  border:1px solid rgba(148,163,184,.15);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(15,23,42,.82),rgba(2,6,23,.62)),radial-gradient(circle at 8% 0%,rgba(34,211,238,.12),transparent 38%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
  text-align:left;
  white-space:normal;
}
#demo .demo-scenario-grid .demo-scenario-card:hover {
  transform:translateY(-1px);
  border-color:rgba(34,211,238,.32);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 14px 24px rgba(2,6,23,.22);
}
#demo .demo-scenario-grid .demo-sample-pill--active.demo-scenario-card {
  padding-right:44px;
  border-color:rgba(34,211,238,.56)!important;
  background:linear-gradient(145deg,rgba(14,165,233,.18),rgba(15,23,42,.78)),radial-gradient(circle at 90% 8%,rgba(245,158,11,.18),transparent 34%)!important;
  color:#f8fafc!important;
}
#demo .demo-scenario-grid .demo-sample-pill--active.demo-scenario-card::after {
  content:"";
  position:absolute;
  inset:12px 12px auto auto;
  width:14px;
  height:14px;
  border-radius:999px;
  background:#22d3ee;
  box-shadow:0 0 0 4px rgba(34,211,238,.12),0 0 18px rgba(34,211,238,.5);
}
#demo .demo-scenario-grid .demo-scenario-badge,
#demo .demo-scenario-grid .demo-scenario-sector {
  min-height:0;
  max-width:100%;
  padding:4px 8px;
  border-radius:999px;
  font-size:.64rem;
  font-weight:950;
  line-height:1;
  white-space:nowrap;
}
#demo .demo-scenario-grid .demo-scenario-badge {
  border:1px solid rgba(34,211,238,.18);
  background:rgba(34,211,238,.11);
  color:#67e8f9;
}
#demo .demo-scenario-grid .demo-scenario-card--guided .demo-scenario-badge {
  border-color:rgba(139,92,246,.2);
  background:rgba(139,92,246,.12);
  color:#c4b5fd;
}
#demo .demo-scenario-grid .demo-scenario-sector {
  overflow:hidden;
  border:1px solid rgba(148,163,184,.12);
  background:rgba(148,163,184,.08);
  color:rgba(226,232,240,.78);
  text-overflow:ellipsis;
}
#demo .demo-scenario-grid .demo-scenario-title {
  display:-webkit-box;
  grid-column:1/-1;
  overflow:hidden;
  color:#f8fafc;
  font-size:clamp(.92rem,1.35vw,1.04rem);
  line-height:1.16;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
#demo .demo-scenario-grid .demo-scenario-summary,
#demo .demo-scenario-grid .demo-scenario-proof,
#demo .demo-scenario-grid .demo-scenario-lanes {
  display:none;
}
@keyframes demo-scenario-rail {
  0% { transform:translate3d(0,0,0); }
  50% { transform:translate3d(-18%,0,0); }
  100% { transform:translate3d(0,0,0); }
}
@keyframes demo-input-sweep {
  0%, 72%, 100% { transform:translateX(-100%); opacity:0; }
  12%, 45% { opacity:1; }
  58% { transform:translateX(100%); opacity:0; }
}
@media(max-width:980px){
  #demo .demo-scenario-group {
    grid-template-columns:1fr;
    gap:9px;
    padding:10px;
  }
  #demo .demo-scenario-group__head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
  }
  #demo .demo-scenario-group__eyebrow {
    flex:0 0 auto;
    margin-bottom:0;
  }
  #demo .demo-scenario-group__head h3 {
    text-align:right;
  }
}
@media(max-width:720px){
  #demo .demo-scenario-groups {
    margin:14px 0 16px;
  }
  #demo .demo-scenario-group {
    border-radius:16px;
  }
  #demo .demo-scenario-group__head {
    align-items:flex-start;
    flex-direction:column;
    gap:7px;
  }
  #demo .demo-scenario-group__head h3 {
    text-align:left;
  }
  #demo .demo-scenario-grid {
    width:100%;
    overflow-x:auto;
    scroll-snap-type:x proximity;
    animation:none;
    scrollbar-width:none;
  }
  #demo .demo-scenario-grid::-webkit-scrollbar {
    display:none;
  }
  #demo .demo-scenario-grid .demo-scenario-card {
    flex-basis:78%;
    width:78%;
    scroll-snap-align:start;
  }
}
@media(prefers-reduced-motion:reduce){
  .demo-command-console::before,
  #demo .demo-scenario-grid {
    animation:none;
  }
}

/* Demo UX balance pass: centered stage, brighter product cards, cleaner command flow. */
#demo.demo-stage > .container {
  width:min(1760px, calc(100% - 40px));
  max-width:none;
  margin-inline:auto;
  padding-inline:0;
}
#demo.demo-stage .section-header {
  grid-template-columns:minmax(0,1fr) minmax(430px,.46fr);
  align-items:center;
  gap:26px;
}
#demo.demo-stage .section-title {
  max-width:none;
  font-size:clamp(2.6rem,4.2vw,4.55rem);
  line-height:.98;
}
#demo.demo-stage .section-sub {
  max-width:980px;
  font-size:clamp(1rem,1.25vw,1.28rem);
}
#demo .demo-header-products {
  align-self:center;
  gap:14px;
}
#demo .demo-header-products span {
  min-height:86px;
  padding:18px 18px 18px 70px;
  border-radius:18px;
  border-color:rgba(34,211,238,.26);
  background:
    linear-gradient(145deg, rgba(15,23,42,.94), rgba(8,16,30,.78)),
    radial-gradient(circle at 18% 50%, rgba(34,211,238,.22), transparent 34%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 18px 38px rgba(2,6,23,.22);
}
#demo .demo-header-products span:nth-child(2) {
  border-color:rgba(34,197,94,.26);
  background:
    linear-gradient(145deg, rgba(15,23,42,.94), rgba(8,16,30,.78)),
    radial-gradient(circle at 18% 50%, rgba(34,197,94,.2), transparent 34%);
}
#demo .demo-header-products span::before {
  content:"R";
  left:18px;
  top:50%;
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  transform:translateY(-50%);
  border-radius:12px;
  color:#67e8f9;
  font-size:1rem;
  font-weight:950;
  background:rgba(34,211,238,.1);
  box-shadow:0 0 0 1px rgba(34,211,238,.28),0 0 24px rgba(34,211,238,.22);
}
#demo .demo-header-products span:nth-child(2)::before {
  content:"D";
  color:#86efac;
  background:rgba(34,197,94,.1);
  box-shadow:0 0 0 1px rgba(34,197,94,.28),0 0 24px rgba(34,197,94,.2);
}
#demo .demo-header-products strong {
  font-size:1.28rem;
}
#demo .demo-header-products small {
  font-size:.92rem;
}
#demo .demo-scenario-groups {
  gap:12px;
  margin:20px auto 24px;
}
#demo .demo-scenario-group {
  position:relative;
  display:block;
  min-height:134px;
  padding:44px 18px 18px;
  border-radius:20px;
}
#demo .demo-scenario-group__head {
  position:absolute;
  inset:14px auto auto 18px;
  z-index:2;
  display:block;
  max-width:calc(100% - 36px);
  overflow:visible;
}
#demo .demo-scenario-group__eyebrow {
  margin:0;
  box-shadow:0 0 24px rgba(34,211,238,.12);
}
#demo .demo-scenario-grid {
  justify-self:center;
  width:max-content;
  min-width:100%;
  justify-content:center;
  gap:12px;
  animation:demo-scenario-drift 28s ease-in-out infinite;
}
#demo .demo-scenario-grid--guided {
  animation-duration:24s;
}
#demo .demo-scenario-grid .demo-scenario-card {
  flex:0 0 clamp(300px,24vw,430px);
  width:clamp(300px,24vw,430px);
  min-height:82px;
  padding:13px 16px;
  border-radius:15px;
}
#demo .demo-scenario-grid .demo-scenario-title {
  font-size:clamp(1rem,1.18vw,1.18rem);
}
#demo .demo-scenario-grid .demo-scenario-badge,
#demo .demo-scenario-grid .demo-scenario-sector {
  font-size:.68rem;
}
@keyframes demo-scenario-drift {
  0%,100% { transform:translate3d(0,0,0); }
  50% { transform:translate3d(-7%,0,0); }
}
#demo .demo-orchestrator-bar {
  width:min(930px,100%);
  margin:12px auto 0;
  padding:10px;
  border-radius:16px;
  border-color:rgba(245,158,11,.18);
  background:rgba(15,23,42,.58);
}
#demo .demo-orchestrator-copy small {
  display:none;
}
#demo .demo-orchestrator-copy strong {
  font-size:.9rem;
}
#demo .demo-orchestrator-actions {
  flex-wrap:nowrap;
}
#demo .demo-orchestrator-btn {
  min-height:38px;
  border-radius:12px;
}
#demo .demo-command-surface--decision .demo-pipeline-ribbon {
  display:none;
}
@media(max-width:1180px){
  #demo.demo-stage .section-header {
    grid-template-columns:1fr;
  }
  #demo .demo-header-products {
    max-width:none;
  }
}
@media(max-width:760px){
  #demo.demo-stage > .container {
    width:min(100% - 24px, 560px);
  }
  #demo.demo-stage .section-title {
    font-size:clamp(2.25rem,12vw,3rem);
  }
  #demo .demo-header-products span {
    min-height:74px;
    padding:14px 14px 14px 62px;
  }
  #demo .demo-scenario-group {
    min-height:0;
    padding:42px 10px 10px;
  }
  #demo .demo-scenario-grid {
    min-width:0;
    justify-content:flex-start;
    animation:none;
  }
  #demo .demo-scenario-grid .demo-scenario-card {
    flex-basis:82%;
    width:82%;
  }
  #demo .demo-orchestrator-bar {
    display:grid;
    grid-template-columns:1fr;
  }
  #demo .demo-orchestrator-actions {
    display:grid;
    grid-template-columns:1fr;
  }
}
@media(prefers-reduced-motion:reduce){
  #demo .demo-scenario-grid {
    animation:none;
  }
}

/* Final scenario balance: full-width grids, no clipped cards; motion comes from a cheap light sweep. */
#demo .demo-scenario-groups {
  width:100%!important;
  max-width:none!important;
}
#demo .demo-scenario-group {
  width:100%;
}
#demo .demo-scenario-group::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg, transparent 0%, rgba(34,211,238,.08) 42%, rgba(245,158,11,.06) 50%, transparent 62%);
  transform:translateX(-100%);
  animation:demo-scenario-light 9s ease-in-out infinite;
}
#demo .demo-scenario-grid {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  width:100%;
  min-width:0;
  gap:12px;
  animation:none!important;
  transform:none!important;
}
#demo .demo-scenario-grid--guided {
  grid-template-columns:repeat(4,minmax(0,1fr));
}
#demo .demo-scenario-grid .demo-scenario-card {
  width:auto;
  min-width:0;
  max-width:none;
  flex:auto;
  padding:13px 12px;
}
#demo .demo-scenario-grid .demo-scenario-title {
  font-size:clamp(.88rem,.9vw,1.04rem);
}
#demo .demo-scenario-grid .demo-scenario-badge,
#demo .demo-scenario-grid .demo-scenario-sector {
  font-size:.62rem;
}
@keyframes demo-scenario-light {
  0%,64%,100% { transform:translateX(-100%); opacity:0; }
  15%,42% { opacity:1; }
  58% { transform:translateX(100%); opacity:0; }
}
@media(max-width:1180px){
  #demo .demo-scenario-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  #demo .demo-scenario-grid--guided {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:720px){
  #demo .demo-scenario-grid,
  #demo .demo-scenario-grid--guided {
    display:flex;
    width:100%;
    min-width:0;
    justify-content:flex-start;
    overflow-x:auto;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
  }
  #demo .demo-scenario-grid::-webkit-scrollbar {
    display:none;
  }
  #demo .demo-scenario-grid .demo-scenario-card {
    flex:0 0 82%;
    width:82%;
    scroll-snap-align:start;
  }
}
@media(prefers-reduced-motion:reduce){
  #demo .demo-scenario-group::after {
    animation:none;
  }
}

.demo-inline-error {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.demo-inline-error small {
  margin-left:auto;
  padding:3px 7px;
  border-radius:999px;
  color:#fecaca;
  background:rgba(239,68,68,.12);
  border:1px solid rgba(239,68,68,.26);
  font-size:.64rem;
  font-weight:900;
  letter-spacing:.02em;
}
.demo-feedback {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  margin:8px 12px 12px;
  color:rgba(226,232,240,.72);
  font-size:.72rem;
  font-weight:900;
}
.demo-feedback button {
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(34,211,238,.22);
  color:#dff7ff;
  background:rgba(15,23,42,.72);
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.demo-feedback button:hover,
.demo-feedback button.is-selected {
  transform:translateY(-1px);
  border-color:rgba(34,211,238,.58);
  background:rgba(34,211,238,.12);
}
.demo-feedback[data-feedback-state="sent"] span {
  color:#86efac;
}
@media(max-width:640px){
  .demo-decision-grid .demo-table-scroll {
    max-height:none;
    overflow:visible;
    margin:0 8px 10px;
  }
  .demo-decision-grid .demo-sheets-table,
  .demo-decision-grid .demo-sheets-table--dof {
    min-width:0;
    border-collapse:separate;
    border-spacing:0 8px;
  }
  .demo-decision-grid .demo-sheets-table thead {
    display:none;
  }
  .demo-decision-grid .demo-sheets-table tbody,
  .demo-decision-grid .demo-sheets-table tr,
  .demo-decision-grid .demo-sheets-table td {
    display:block;
    width:100%;
  }
  .demo-decision-grid .demo-sheets-table tr {
    border:1px solid rgba(148,163,184,.16);
    border-radius:14px;
    overflow:hidden;
    background:rgba(8,16,30,.7);
  }
  .demo-decision-grid .demo-sheets-table td {
    display:grid;
    grid-template-columns:minmax(92px,34%) minmax(0,1fr);
    gap:10px;
    align-items:start;
    padding:9px 10px;
    border-bottom:1px solid rgba(148,163,184,.08);
    white-space:normal;
  }
  .demo-decision-grid .demo-sheets-table td::before {
    content:attr(data-label);
    color:#67e8f9;
    font-size:.66rem;
    font-weight:950;
    line-height:1.25;
  }
  .demo-decision-grid .demo-sheets-table .demo-row-locked td {
    display:block;
  }
  .demo-decision-grid .demo-sheets-table .demo-row-locked td::before {
    content:"";
  }
  .demo-feedback {
    justify-content:flex-start;
    flex-wrap:wrap;
  }
}
