﻿@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #06110c;
    --panel: #0b1911;
    --panel2: #102218;
    --green: #8b7cff;
    --mint: #b7b0ff;
    --lime: #f0a8ff;
    --cyan: #35d9ff;
    --text: #f3f7f4;
    --muted: #9ca9a1;
    --line: rgba(255,255,255,.10);
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    background: #040610
}

body {
    margin: 0;
    background: transparent;
    color: var(--text);
    font-family: Manrope,Arial,sans-serif;
    overflow-x: hidden
}

    body::-webkit-scrollbar {
        width: 0
    }

body {
    scrollbar-width: none
}

button {
    font: inherit
}

.bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: #060711
}

.shapegrid-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: .72;
    mix-blend-mode: screen
}

.bgTint {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 42%,rgba(96,78,255,.10),transparent 38%),radial-gradient(circle at 20% 20%,rgba(38,205,255,.08),transparent 30%),linear-gradient(180deg,rgba(5,6,17,.30),rgba(5,6,17,.62))
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 76px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    border-bottom: 1px solid var(--line);
    background: rgba(5,14,9,.70);
    backdrop-filter: blur(18px)
}

.logo {
    font-weight: 800;
    letter-spacing: .12em;
    font-size: 18px
}

.aria-logo {
    width: 150px !important;
    height: auto !important;
    max-height: 42px !important;
    object-fit: contain !important;
    display: block !important;
}

.logo small {
    font-family: 'DM Mono';
    font-size: 7px;
    color: var(--green);
    margin-left: 7px;
    letter-spacing: .18em
}

.navtag {
    font: 9px 'DM Mono';
    letter-spacing: .18em;
    color: #7d9a91
}

.navbtn {
    border: 1px solid rgba(0,245,160,.38);
    background: rgba(0,245,160,.07);
    color: #fff;
    border-radius: 999px;
    padding: 10px 17px;
    font-size: 10px;
    cursor: pointer
}

section {
    max-width: 1240px;
    margin: auto;
    padding-left: 7vw;
    padding-right: 7vw
}

.eyebrow {
    font: 9px 'DM Mono';
    letter-spacing: .19em;
    color: var(--green)
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 90px
}

    .hero h1 {
        font-size: clamp(50px,7.4vw,104px);
        line-height: .91;
        letter-spacing: -.065em;
        max-width: 1050px;
        margin: 24px 0
    }

        .hero h1 em {
            font-style: normal;
            color: var(--mint)
        }

    .hero p {
        max-width: 650px;
        color: var(--muted);
        font-size: 17px;
        line-height: 1.65
    }

.actions {
    display: flex;
    gap: 12px;
    margin-top: 28px
}

.primary, .ghost {
    padding: 13px 19px;
    border-radius: 999px;
    font-size: 10px;
    cursor: pointer
}

.primary {
    border: 0;
    background: var(--green);
    color: #031009;
    font-weight: 800
}

.ghost {
    background: transparent;
    border: 1px solid var(--line);
    color: #fff
}

.problem {
    padding-top: 110px;
    padding-bottom: 100px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px
}

    .problem h2, .stackIntro h2, .final h2 {
        font-size: clamp(35px,4.5vw,64px);
        line-height: 1;
        letter-spacing: -.05em;
        margin: 17px 0
    }

    .problem p, .stackIntro > p, .final p {
        color: var(--muted);
        font-size: 15px;
        line-height: 1.7
    }

    .problem strong {
        color: #fff
    }

.stackSection {
    max-width: none;
    padding: 100px 0 130px;
    border-top: 1px solid var(--line)
}

.stackIntro {
    max-width: 1240px;
    margin: auto;
    padding: 0 7vw 55px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px;
    align-items: end
}

.stack {
    position: relative;
    width: min(960px,90vw);
    height: 760px;
    margin: auto;
    overflow-y: auto;
    overflow-x: hidden;
    touch-action: pan-y;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
    scrollbar-width: none;
}

    .stack::-webkit-scrollbar {
        width: 0;
        height: 0
    }

.stackCard {
    pointer-events: none
}

.stackScrollHint {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #73a89a;
    font: 8px 'DM Mono';
    letter-spacing: .12em;
}

    .stackScrollHint span {
        writing-mode: vertical-rl
    }

    .stackScrollHint i {
        font-style: normal;
        font-size: 16px;
        color: var(--green);
        animation: scrollArrow 1.3s ease-in-out infinite
    }

@keyframes scrollArrow {
    50% {
        transform: translateY(5px);
        opacity: .5
    }
}

.stack::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 130px;
    background: linear-gradient(transparent,var(--bg));
    pointer-events: none;
    z-index: 30;
}

.stackCard {
    position: absolute;
    left: 50%;
    top: 30px;
    width: 100%;
    height: 410px;
    transform: translateX(-50%);
    border: 1px solid rgba(127,255,212,.18);
    border-radius: 30px;
    background: linear-gradient(145deg,rgba(17,38,25,.98),rgba(7,19,12,.98));
    box-shadow: 0 35px 90px rgba(0,0,0,.34);
    overflow: hidden;
    transition: transform .18s linear,opacity .25s ease,filter .25s ease;
    will-change: transform;
}

    .stackCard .num {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 105px;
        padding: 30px;
        border-right: 1px solid var(--line);
        font: 12px 'DM Mono';
        color: var(--green)
    }

.cardContent {
    margin-left: 105px;
    padding: 38px 42px
}

.cardLabel {
    font: 9px 'DM Mono';
    letter-spacing: .18em;
    color: #74867b
}

.cardContent h3 {
    font-size: clamp(29px,4vw,51px);
    line-height: .98;
    letter-spacing: -.05em;
    margin: 20px 0 15px;
    max-width: 760px
}

.cardContent p {
    color: #a5b0a9;
    line-height: 1.6;
    font-size: 15px;
    max-width: 700px
}

.flow {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 25px;
    font: 8px 'DM Mono';
    letter-spacing: .1em;
    color: var(--mint)
}

    .flow i {
        font-style: normal;
        color: #53645a
    }

.stackHint {
    text-align: center;
    margin-top: -80px;
    position: relative;
    z-index: 40;
    color: #738078;
    font: 8px 'DM Mono';
    letter-spacing: .16em
}

.loop {
    padding-top: 110px;
    padding-bottom: 130px;
    border-top: 1px solid var(--line);
    text-align: center
}

    .loop h2 {
        font-size: clamp(36px,5vw,70px);
        letter-spacing: -.05em;
        line-height: 1;
        margin: 20px auto;
        max-width: 950px
    }

    .loop p {
        max-width: 620px;
        margin: auto
    }

.final {
    padding-top: 100px;
    padding-bottom: 160px;
    border-top: 1px solid var(--line);
    text-align: center
}

    .final h2 {
        max-width: 800px;
        margin: 18px auto
    }

    .final p {
        max-width: 600px;
        margin: 0 auto 30px
    }


.heroTitle span, .heroTitle em {
    display: inline-block;
    animation: heroIn .9s cubic-bezier(.2,.8,.2,1) both
}

.heroTitle em {
    animation-delay: .18s
}

.heroSub {
    animation-delay: .35s !important
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(35px);
        filter: blur(10px)
    }

    to {
        opacity: 1;
        transform: none;
        filter: none
    }
}

.heroTitle em {
    background: linear-gradient(90deg,var(--green),var(--cyan),var(--lime),var(--green));
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: heroIn .9s .18s both,heroGradient 5s linear 1s infinite
}

@keyframes heroGradient {
    to {
        background-position: 250% 0
    }
}

.problemList {
    list-style: none;
    padding: 0;
    margin: 0 0 28px
}

    .problemList li {
        position: relative;
        padding: 10px 0 10px 27px;
        border-bottom: 1px solid rgba(255,255,255,.07);
        color: #a5b2aa;
        font-size: 14px
    }

        .problemList li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 17px;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: linear-gradient(135deg,var(--green),var(--cyan));
            box-shadow: 0 0 12px rgba(0,245,160,.55)
        }

.automationVisual {
    position: relative;
    height: 430px;
    max-width: 1050px;
    margin: 70px auto 0
}

.visualLine {
    position: absolute;
    left: 9%;
    right: 9%;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg,transparent,var(--green),var(--cyan),var(--lime),transparent);
    box-shadow: 0 0 20px rgba(0,245,160,.25)
}

.vNode {
    position: absolute;
    top: calc(50% - 32px);
    width: 150px;
    text-align: center;
    transform: translateX(-50%);
    transition: .4s
}

    .vNode:nth-of-type(2) {
        left: 10%
    }

    .vNode:nth-of-type(3) {
        left: 30%
    }

    .vNode:nth-of-type(4) {
        left: 50%
    }

    .vNode:nth-of-type(5) {
        left: 70%
    }

    .vNode:nth-of-type(6) {
        left: 90%
    }

    .vNode span {
        display: grid;
        place-items: center;
        margin: auto;
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: #091a12;
        border: 1px solid rgba(127,255,212,.25);
        color: var(--green);
        font: 10px 'DM Mono';
        box-shadow: 0 0 0 8px rgba(0,245,160,.035),0 0 30px rgba(0,245,160,.12)
    }

    .vNode b {
        display: block;
        font: 10px 'DM Mono';
        letter-spacing: .12em;
        margin-top: 16px
    }

    .vNode small {
        display: block;
        color: #708078;
        font-size: 9px;
        line-height: 1.4;
        margin-top: 7px
    }

    .vNode.active span {
        background: linear-gradient(145deg,#0b3322,#07160e);
        border-color: var(--green);
        box-shadow: 0 0 0 12px rgba(0,245,160,.05),0 0 50px rgba(0,245,160,.3);
        animation: pulseNode 2s ease-in-out infinite
    }

@keyframes pulseNode {
    50% {
        transform: scale(1.08)
    }
}

.visualCenter {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 105px;
    height: 105px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle,#163b28,#06110c 70%);
    border: 1px solid rgba(37,217,255,.35);
    box-shadow: 0 0 70px rgba(37,217,255,.14)
}

.core {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    background: linear-gradient(145deg,#8b7cff,#25d9ff);
    color: #03100b;
    box-shadow: 0 0 35px rgba(37,217,255,.3)
}

    .core small {
        font: 5px 'DM Mono';
        letter-spacing: .08em
    }

@media (max-width:800px) {
    .automationVisual {
        height: 620px;
        margin-top: 45px
    }

    .visualLine {
        left: 50%;
        right: auto;
        top: 7%;
        bottom: 7%;
        height: auto;
        width: 2px;
        background: linear-gradient(180deg,transparent,var(--green),var(--cyan),var(--lime),transparent)
    }

    .vNode {
        left: 50% !important;
        width: 180px
    }

        .vNode:nth-of-type(2) {
            top: 7%
        }

        .vNode:nth-of-type(3) {
            top: 27%
        }

        .vNode:nth-of-type(4) {
            top: 47%
        }

        .vNode:nth-of-type(5) {
            top: 67%
        }

        .vNode:nth-of-type(6) {
            top: 87%
        }

    .visualCenter {
        width: 80px;
        height: 80px
    }

    .core {
        width: 55px;
        height: 55px;
        font-size: 9px
    }

    .stack {
        height: 650px
    }

    .stackCard {
        height: 470px
    }
}

@media (max-width:800px) {
    .aria-logo {
        width: 125px !important;
        max-height: 36px !important
    }

    nav {
        height: 66px;
        padding: 0 20px
    }

    .navtag {
        display: none
    }

    section {
        padding-left: 24px;
        padding-right: 24px
    }

    .hero h1 {
        font-size: 52px
    }

    .hero p {
        font-size: 14px
    }

    .problem, .stackIntro {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .problem {
        padding-top: 75px;
        padding-bottom: 70px
    }

    .stackSection {
        padding-top: 75px
    }

    .stack {
        height: 700px;
        width: calc(100vw - 30px)
    }

    .stackCard {
        height: 470px
    }

        .stackCard .num {
            width: 62px;
            padding: 22px
        }

    .cardContent {
        margin-left: 62px;
        padding: 25px 22px
    }

        .cardContent h3 {
            font-size: 31px
        }

        .cardContent p {
            font-size: 13px
        }
}

/* V3 background visibility */
body {
    background: #050713 !important
}

.hero, .problem, .stackSection, .loop, .final {
    position: relative
}

.nav {
    background: rgba(5,7,19,.68) !important
}

/* 02 — intentional 2–3 line heading */
.problem h2 {
    max-width: 700px
}

.problem {
    align-items: start
}

/* 03 — reliable workflow viewer */
.stack {
    height: 620px !important;
    overflow: hidden !important;
    position: relative;
}

.stackCard {
    top: 45px !important;
    transition: transform .45s cubic-bezier(.22,.8,.2,1),opacity .35s ease,filter .35s ease !important;
}

.workflowNav {
    position: absolute;
    right: 22px;
    z-index: 60;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(139,124,255,.35);
    background: rgba(8,10,25,.72);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(12px);
}

    .workflowNav:hover {
        background: rgba(139,124,255,.16);
        border-color: rgba(139,124,255,.7)
    }

    .workflowNav.prev {
        top: 24px
    }

    .workflowNav.next {
        top: 72px
    }

.workflowCounter {
    position: absolute;
    left: 24px;
    top: 28px;
    z-index: 60;
    font: 9px 'DM Mono';
    color: #7f899c;
}

    .workflowCounter b {
        font-size: 16px;
        color: #b7b0ff;
        margin-right: 4px
    }

.stackScrollHint {
    display: none !important
}

/* 04 — clean separation between graphic and copy */
.automationVisual {
    height: 300px !important;
    margin: 70px auto 0 !important
}

.vNode {
    top: calc(50% - 32px) !important
}

    .vNode span {
        width: 62px !important;
        height: 62px !important
    }

.visualLabels {
    max-width: 1050px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 20px;
    text-align: center;
}

    .visualLabels div {
        padding-top: 24px
    }

    .visualLabels b {
        font: 10px 'DM Mono';
        letter-spacing: .13em;
        color: #e9eaf2
    }

    .visualLabels small {
        display: block;
        color: #747e90;
        font-size: 9px;
        line-height: 1.5;
        margin-top: 8px
    }

.visualCenter {
    z-index: 10
}

/* Stronger background contrast behind the content */
.problem, .stackSection, .loop, .final {
    background: linear-gradient(180deg,rgba(5,7,19,.08),rgba(5,7,19,.02))
}

@media (max-width:800px) {
    .problem h2 {
        max-width: 100%
    }

    .stack {
        height: 610px !important
    }

    .workflowNav {
        right: 12px
    }

    .visualLabels {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 10px
    }

        .visualLabels div {
            display: grid;
            grid-template-columns: 100px 1fr;
            text-align: left;
            align-items: center;
            padding: 9px 20px
        }

        .visualLabels small {
            margin-top: 0
        }

    .automationVisual {
        height: 320px !important
    }
}

/* ================= V4 VISUAL OVERRIDES ================= */

/* A clearly visible non-green background */
.bg {
    background: radial-gradient(ellipse at 18% 18%,rgba(103,74,255,.34),transparent 30%), radial-gradient(ellipse at 82% 24%,rgba(30,205,255,.26),transparent 28%), radial-gradient(ellipse at 55% 78%,rgba(213,83,255,.22),transparent 34%), radial-gradient(ellipse at 50% 45%,rgba(64,75,180,.08),transparent 52%), #040610 !important;
}

.nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    mix-blend-mode: screen
}

.nebula1 {
    width: 45vw;
    height: 45vw;
    left: -12vw;
    top: 0;
    background: #6547ff;
    opacity: .26;
    animation: neb1 13s ease-in-out infinite alternate
}

.nebula2 {
    width: 38vw;
    height: 38vw;
    right: -8vw;
    top: 18%;
    background: #21c9ff;
    opacity: .22;
    animation: neb2 16s ease-in-out infinite alternate
}

.nebula3 {
    width: 40vw;
    height: 40vw;
    left: 32%;
    bottom: -20%;
    background: #c04dff;
    opacity: .18;
    animation: neb3 18s ease-in-out infinite alternate
}

@keyframes neb1 {
    to {
        transform: translate(18vw,14vh) scale(1.18)
    }
}

@keyframes neb2 {
    to {
        transform: translate(-15vw,12vh) scale(1.13)
    }
}

@keyframes neb3 {
    to {
        transform: translate(7vw,-13vh) scale(1.2)
    }
}

.lightArc {
    position: absolute;
    left: -15%;
    width: 130%;
    height: 300px;
    border: 1px solid rgba(95,120,255,.16);
    border-left: 0;
    border-right: 0;
    border-radius: 50%;
    transform: rotate(-7deg);
    box-shadow: 0 0 55px rgba(72,111,255,.06)
}

.arc1 {
    top: 16%;
    animation: arcMove 14s ease-in-out infinite alternate
}

.arc2 {
    top: 50%;
    transform: rotate(8deg);
    border-color: rgba(198,82,255,.12);
    animation: arcMove 19s ease-in-out infinite alternate-reverse
}

.arc3 {
    top: 76%;
    transform: rotate(-4deg);
    border-color: rgba(35,210,255,.10);
    animation: arcMove 17s ease-in-out infinite alternate
}

@keyframes arcMove {
    to {
        transform: translateX(5%) rotate(-2deg) scale(1.04)
    }
}

/* Keep sections transparent so the background remains visible */
.problem, .stackSection, .loop, .final {
    background: transparent !important
}

    /* Section 02: exactly two visual lines */
    .problem h2 {
        font-size: clamp(38px,4.8vw,68px) !important;
        line-height: 1.02 !important;
        max-width: 780px !important
    }

/* Section 03: blue/violet cards + remove ghosted previous cards */
.stackCard {
    background: linear-gradient(145deg,rgba(19,24,54,.98),rgba(7,10,24,.99)) !important;
    border-color: rgba(139,124,255,.25) !important;
}

    .stackCard[style*="opacity: 0"] {
        visibility: hidden
    }

.workflowCounter b {
    color: #a99fff !important
}

.workflowNav {
    border-color: rgba(139,124,255,.45) !important
}

    .workflowNav:hover {
        background: rgba(139,124,255,.18) !important
    }

.stack::after {
    background: linear-gradient(transparent,rgba(4,6,16,.96)) !important
}

/* Section 04: six-position line, ARIA centered between 03 and 04 */
.automationVisual {
    height: 300px !important;
    max-width: 1120px !important;
    margin: 42px auto 0 !important;
}

.visualLine {
    left: 5% !important;
    right: 5% !important;
    top: 50% !important;
    background: linear-gradient(90deg,rgba(139,124,255,.05),#8b7cff,#35d9ff,#d17cff,#8b7cff,rgba(139,124,255,.05)) !important;
    box-shadow: 0 0 24px rgba(90,110,255,.22) !important;
}

.flowNode {
    position: absolute;
    top: calc(50% - 31px);
    width: 62px;
    height: 62px;
    transform: translateX(-50%);
    z-index: 5;
}

    .flowNode span {
        display: grid;
        place-items: center;
        width: 62px;
        height: 62px;
        border-radius: 50%;
        background: #080d1d;
        border: 1px solid rgba(139,124,255,.42);
        color: #a99fff;
        font: 11px 'DM Mono';
        box-shadow: 0 0 0 8px rgba(94,88,255,.035),0 0 30px rgba(94,88,255,.12);
    }

.fn1 {
    left: 7.5%
}

.fn2 {
    left: 24.5%
}

.fn3 {
    left: 39%
}

.fn4 {
    left: 61%
}

.fn5 {
    left: 92.5%
}

.fn3 span {
    border-color: #35d9ff;
    color: #35d9ff;
    box-shadow: 0 0 0 8px rgba(53,217,255,.04),0 0 32px rgba(53,217,255,.18)
}

.visualCenter {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 108px;
    height: 108px;
    z-index: 10;
    background: radial-gradient(circle,rgba(41,61,130,.9),#080d1d 68%) !important;
    border-color: rgba(53,217,255,.65) !important;
    box-shadow: 0 0 0 12px rgba(53,217,255,.025),0 0 55px rgba(53,217,255,.22) !important;
}

.core {
    width: 72px !important;
    height: 72px !important;
    background: linear-gradient(145deg,#8b7cff,#35d9ff) !important;
}

.visualLabels {
    max-width: 1120px !important;
    margin: -8px auto 0 !important;
    gap: 30px !important;
    align-items: start;
}

    .visualLabels div {
        padding-top: 8px !important
    }

    .visualLabels b {
        font-size: 13px !important;
        letter-spacing: .13em !important;
        color: #f0f1f7 !important
    }

    .visualLabels small {
        font-size: 12px !important;
        line-height: 1.65 !important;
        color: #8992a5 !important;
        margin-top: 10px !important
    }

/* Put section 04 content higher */
.loop {
    padding-top: 85px !important;
    padding-bottom: 100px !important
}

    .loop h2 {
        margin-bottom: 12px !important
    }

    .loop > p {
        font-size: 16px !important
    }

/* Mobile */
@media (max-width:800px) {
    .problem h2 {
        font-size: 40px !important
    }

    .automationVisual {
        height: 520px !important;
        margin-top: 30px !important
    }

    .visualLine {
        left: 50% !important;
        right: auto !important;
        top: 5% !important;
        bottom: 5% !important;
        width: 2px;
        height: auto !important
    }

    .flowNode {
        left: 50% !important
    }

    .fn1 {
        top: 7%;
    }

    .fn2 {
        top: 24%;
    }

    .fn3 {
        top: 41%;
    }

    .visualCenter {
        top: 50%
    }

    .fn4 {
        top: 64%
    }

    .fn5 {
        top: 86%
    }

    .visualLabels {
        grid-template-columns: 1fr !important;
        margin-top: 15px !important
    }

        .visualLabels div {
            padding: 11px 18px !important;
            text-align: left !important
        }

        .visualLabels b {
            font-size: 11px !important
        }

        .visualLabels small {
            font-size: 11px !important
        }
}

/* ================= V5 FIXES ================= */

/* Let the cinematic background actually paint above the document and remain visible */
body {
    background: transparent !important
}

main, section {
    background: transparent !important
}

.bg {
    z-index: 0 !important
}

nav {
    z-index: 100 !important
}

main {
    position: relative;
    z-index: 1 !important
}

.hero, .problem, .stackSection, .loop, .final {
    position: relative;
    z-index: 2
}

    /* 02 — exactly two lines on desktop */
    .problem h2 {
        width: 900px !important;
        max-width: none !important;
        font-size: clamp(42px,4.15vw,64px) !important;
        white-space: nowrap !important;
        line-height: 1.02 !important;
    }

        .problem h2 br {
            display: block !important
        }

/* 03 — counter clearly separated above the card */
.stack {
    padding-top: 0 !important
}

.workflowCounter {
    top: 6px !important;
    left: 24px !important;
    height: 25px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding-bottom: 3px !important;
}

.stackCard {
    top: 58px !important
}

.workflowNav.prev {
    top: 6px !important
}

.workflowNav.next {
    top: 52px !important
}

/* 04 — clean 01 → 02 → 03 → ARIA → 04 → 05 line */
.automationVisual {
    height: 255px !important;
    margin: 25px auto 0 !important;
}

.visualLine {
    left: 3% !important;
    right: 3% !important;
    top: 50% !important;
}

.fn1 {
    left: 5% !important
}

.fn2 {
    left: 24% !important
}

.fn3 {
    left: 40% !important
}

.fn4 {
    left: 60% !important
}

.fn5 {
    left: 95% !important
}

.flowNode {
    top: calc(50% - 31px) !important
}

/* Bring the five explanations substantially closer to the graphic */
.visualLabels {
    margin: -38px auto 0 !important;
    transform: translateY(-4px);
    gap: 28px !important;
}

    .visualLabels div {
        padding-top: 0 !important
    }

    .visualLabels b {
        font-size: 15px !important;
        line-height: 1.2 !important;
    }

    .visualLabels small {
        font-size: 13px !important;
        line-height: 1.55 !important;
        margin-top: 9px !important;
    }

    /* Stronger stage relationship */
    .visualLabels div:nth-child(3) b {
        color: #35d9ff !important
    }

    .visualLabels div:nth-child(1) b,
    .visualLabels div:nth-child(2) b,
    .visualLabels div:nth-child(4) b,
    .visualLabels div:nth-child(5) b {
        color: #b7b0ff !important
    }

@media (max-width:1000px) and (min-width:801px) {
    .problem h2 {
        width: 100% !important;
        white-space: normal !important
    }
}

@media (max-width:800px) {
    .problem h2 {
        width: auto !important;
        white-space: normal !important;
        font-size: 40px !important
    }

    .workflowCounter {
        top: 6px !important
    }

    .stackCard {
        top: 58px !important
    }

    .automationVisual {
        height: 440px !important;
        margin-top: 22px !important
    }

    .visualLine {
        left: 50% !important;
        right: auto !important;
        top: 4% !important;
        bottom: 4% !important;
        width: 2px !important;
        height: auto !important
    }

    .flowNode {
        left: 50% !important
    }

    .fn1 {
        top: 7% !important
    }

    .fn2 {
        top: 23% !important
    }

    .fn3 {
        top: 39% !important
    }

    .visualCenter {
        top: 50% !important
    }

    .fn4 {
        top: 62% !important
    }

    .fn5 {
        top: 79% !important
    }

    .visualLabels {
        margin: 0 auto !important;
        transform: none !important
    }
}

/* V6 — floating navigation */
nav {
    position: fixed !important;
    top: 18px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    width: min(1120px,calc(100vw - 42px));
    height: 64px !important;
    padding: 0 18px 0 24px !important;
    border: 1px solid rgba(139,124,255,.30) !important;
    border-radius: 24px !important;
    background: linear-gradient(100deg,rgba(10,12,30,.82),rgba(13,17,38,.70),rgba(7,18,28,.78)) !important;
    box-shadow: 0 14px 50px rgba(0,0,0,.30),0 0 30px rgba(53,217,255,.07) !important;
    backdrop-filter: blur(20px) saturate(130%) !important;
}

    nav:before {
        content: "";
        position: absolute;
        inset: -1px;
        border-radius: 24px;
        padding: 1px;
        background: linear-gradient(90deg,rgba(139,124,255,.0),rgba(139,124,255,.55),rgba(53,217,255,.45),rgba(139,124,255,0));
        -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }

.logo {
    position: relative;
    z-index: 2
}

.navtag {
    position: relative;
    z-index: 2
}

.navbtn {
    position: relative;
    z-index: 2;
    border-color: rgba(53,217,255,.38) !important
}

/* V6 — tighter section rhythm */
.hero {
    min-height: 84vh !important;
    padding-top: 115px !important;
    padding-bottom: 45px !important
}

.problem {
    padding-top: 58px !important;
    padding-bottom: 48px !important
}

.stackSection {
    padding-top: 56px !important;
    padding-bottom: 90px !important
}

.loop {
    padding-top: 72px !important
}

.final {
    padding-top: 80px !important
}

.problem {
    grid-template-columns: minmax(430px,.88fr) minmax(420px,1.12fr) !important;
    gap: 70px !important;
    align-items: start !important
}

.problemLead h2 {
    max-width: 680px !important
}

.problemSummary {
    color: #8992a5 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    max-width: 430px !important;
    margin-top: 22px !important
}

.problemTasks {
    max-width: 690px !important
}

.problemList {
    margin: 0 !important;
    width: 100% !important
}

    .problemList li {
        padding: 10px 0 10px 27px !important;
        border-bottom: 1px solid rgba(180,190,220,.18) !important
    }

        .problemList li:first-child {
            border-top: 1px solid rgba(180,190,220,.18) !important
        }

.problemTogether {
    display: block !important;
    max-width: 570px !important;
    margin: 22px 0 0 !important;
    color: #dfe4f0 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    text-align: left !important
}

/* V6 — richer automation cards */
.cardContent {
    position: relative !important;
    padding-right: 340px !important
}

    .cardContent h3, .cardContent p {
        position: relative;
        z-index: 2
    }

    .cardContent h3 {
        max-width: 620px !important
    }

    .cardContent p {
        max-width: 610px !important
    }

.cardVisual {
    position: absolute;
    right: 38px;
    top: 50%;
    transform: translateY(-50%);
    width: 245px;
    height: 210px;
    border: 1px solid rgba(139,124,255,.20);
    border-radius: 24px;
    background: radial-gradient(circle at 50% 45%,rgba(139,124,255,.16),rgba(10,12,28,.72) 65%);
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(53,217,255,.04),0 15px 45px rgba(0,0,0,.20)
}

.visualGlow {
    position: absolute;
    width: 120px;
    height: 120px;
    left: 63px;
    top: 42px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(53,217,255,.22),transparent 68%);
    filter: blur(4px)
}

.miniNode {
    position: absolute;
    left: 18px;
    top: 48px;
    padding: 9px 10px;
    border: 1px solid rgba(139,124,255,.35);
    border-radius: 10px;
    background: rgba(12,15,34,.9);
    font: 7px 'DM Mono';
    letter-spacing: .1em;
    color: #b7b0ff
}

    .miniNode.center {
        left: 88px;
        top: 86px;
        border-color: rgba(53,217,255,.5);
        color: #35d9ff;
        box-shadow: 0 0 25px rgba(53,217,255,.10)
    }

    .miniNode.right {
        left: auto;
        right: 18px;
        top: 124px;
        color: #f0a8ff;
        border-color: rgba(240,168,255,.34)
    }

.miniArrow {
    position: absolute;
    left: 130px;
    top: 128px;
    color: #fff;
    font-size: 18px
}

.miniLine {
    position: absolute;
    left: 58px;
    right: 58px;
    top: 112px;
    height: 1px;
    background: linear-gradient(90deg,rgba(139,124,255,.1),rgba(53,217,255,.65),rgba(240,168,255,.25))
}

.flow {
    position: relative;
    z-index: 3
}

/* V6 — aligned automation loop */
.loop {
    overflow: hidden
}

.automationVisual {
    position: relative !important;
    width: min(1120px,94vw) !important;
    height: 205px !important;
    margin: 48px auto 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1.35fr 1fr 1fr !important;
    align-items: center !important;
}

    .automationVisual .visualLine {
        position: absolute !important;
        left: 4% !important;
        right: 4% !important;
        top: 50% !important;
        height: 2px !important;
        width: auto !important;
        background: linear-gradient(90deg,rgba(139,124,255,.1),#8b7cff,#35d9ff,#f0a8ff,#35d9ff,#8b7cff,rgba(139,124,255,.1)) !important;
        box-shadow: 0 0 18px rgba(53,217,255,.18) !important;
        z-index: 1 !important;
    }

.flowNode {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 70px !important;
    height: 70px !important;
    justify-self: center !important;
    z-index: 5 !important
}

.fn1 {
    grid-column: 1
}

.fn2 {
    grid-column: 2
}

.fn3 {
    grid-column: 3
}

.visualCenter {
    grid-column: 4
}

.fn4 {
    grid-column: 5
}

.fn5 {
    grid-column: 6
}

.flowNode span {
    width: 70px !important;
    height: 70px !important
}

.visualCenter {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 112px !important;
    height: 112px !important;
    justify-self: center !important;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center !important;
}

.visualLabels {
    max-width: 1120px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(5,1fr) !important;
    gap: 26px !important;
    text-align: left !important;
    align-items: start !important;
}

    .visualLabels div {
        padding: 0 4px !important;
        border-left: 1px solid rgba(255,255,255,.08)
    }

    .visualLabels b {
        font-size: 13px !important;
        color: #f1f2f7 !important
    }

    .visualLabels small {
        font-size: 13px !important;
        line-height: 1.65 !important;
        color: #8f98aa !important;
        margin-top: 10px !important
    }

@media (max-width:800px) {
    nav {
        top: 10px !important;
        width: calc(100vw - 24px) !important;
        border-radius: 20px !important
    }

    .hero {
        min-height: 78vh !important;
        padding-top: 105px !important
    }

    .problem {
        grid-template-columns: 1fr !important;
        gap: 35px !important
    }

    .problemTasks {
        max-width: none !important
    }

    .stackSection {
        padding-top: 45px !important
    }

    .cardContent {
        padding-right: 190px !important
    }

    .cardVisual {
        width: 150px;
        height: 160px;
        right: 18px
    }

    .miniNode {
        font-size: 5px;
        padding: 7px;
        left: 8px
    }

        .miniNode.center {
            left: 53px
        }

        .miniNode.right {
            right: 8px
        }

    .miniArrow {
        left: 77px
    }

    .miniLine {
        left: 32px;
        right: 32px
    }

    .automationVisual {
        height: 500px !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: repeat(6,1fr) !important;
        width: 90vw !important
    }

        .automationVisual .visualLine {
            left: 50% !important;
            right: auto !important;
            top: 5% !important;
            bottom: 5% !important;
            width: 2px !important;
            height: auto !important;
            background: linear-gradient(180deg,rgba(139,124,255,.1),#8b7cff,#35d9ff,#f0a8ff,#35d9ff,#8b7cff,rgba(139,124,255,.1)) !important
        }

    .fn1, .fn2, .fn3, .visualCenter, .fn4, .fn5 {
        grid-column: 1 !important;
        justify-self: center !important
    }

    .fn1 {
        grid-row: 1
    }

    .fn2 {
        grid-row: 2
    }

    .fn3 {
        grid-row: 3
    }

    .visualCenter {
        grid-row: 4
    }

    .fn4 {
        grid-row: 5
    }

    .fn5 {
        grid-row: 6
    }

    .visualLabels {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        margin-top: 24px !important
    }

        .visualLabels div {
            border-left: 0;
            border-bottom: 1px solid rgba(255,255,255,.08);
            padding: 13px 0 !important
        }
}

/* V7 — navigation readability */
nav .logo {
    font-size: 21px !important
}

    nav .logo small {
        font-size: 8px !important
    }

nav .navtag {
    font-size: 11px !important;
    letter-spacing: .20em !important
}

nav .navbtn {
    font-size: 12px !important;
    padding: 12px 19px !important
}

/* 02 — description first, bullets beneath it */
.problem {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
}

    .problem > div:first-child {
        max-width: 850px
    }

    .problem > p {
        max-width: 850px !important;
        margin: 0 !important;
    }

.problemList {
    max-width: 850px !important;
    margin-top: 20px !important;
    margin-bottom: 28px !important;
}

    .problemList li {
        font-size: 15px !important;
        padding: 11px 0 11px 28px !important
    }

        .problemList li::before {
            top: 18px !important
        }

.problem > p strong {
    display: block !important;
    max-width: 700px !important;
    margin-top: 24px !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

/* keep the section compact after the rearrangement */
.problem {
    padding-top: 65px !important;
    padding-bottom: 65px !important
}


.problemTasks {
    max-width: 850px
}

.problemIntro {
    max-width: 650px !important;
    color: var(--muted) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin: 22px 0 0 !important;
}

.problemTasks .problemList {
    margin-top: 0 !important
}

.problemTogether {
    display: block;
    max-width: 700px;
    margin-top: 24px;
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
}


/* V8 FIX — 02 readability and hierarchy */
.problemIntro {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.65 !important;
    color: #e6e9f2 !important;
    max-width: 760px !important;
}

.problemTogether {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #fff !important;
}

/* 03 — two-line title and highlighted workflow phrase */
.stackIntro h2 {
    max-width: 900px !important;
    line-height: 1.02 !important;
}

    .stackIntro h2 em {
        display: inline-block;
        font-style: normal;
        color: #a99cff;
        text-shadow: 0 0 22px rgba(139,124,255,.45),0 0 48px rgba(53,217,255,.18);
        animation: workflowGlow 3s ease-in-out infinite alternate;
    }

.stackIntro > p {
    font-size: 16px !important;
    line-height: 1.7 !important;
}

@keyframes workflowGlow {
    from {
        text-shadow: 0 0 14px rgba(139,124,255,.28),0 0 30px rgba(53,217,255,.10)
    }

    to {
        text-shadow: 0 0 28px rgba(139,124,255,.72),0 0 55px rgba(53,217,255,.25)
    }
}

/* 04 — make ARIA / AI ENGINE readable */
.visualCenter {
    width: 126px !important;
    height: 126px !important;
    background: radial-gradient(circle at 35% 30%,#7565ff 0%,#3148bd 38%,#11183e 72%,#080b1d 100%) !important;
    border: 2px solid rgba(82,220,255,.9) !important;
    box-shadow: 0 0 0 8px rgba(139,124,255,.08),0 0 45px rgba(53,217,255,.45),0 0 90px rgba(139,124,255,.25) !important;
}

    .visualCenter .core {
        width: 104px !important;
        height: 104px !important;
        background: transparent !important;
        color: #fff !important;
        font-size: 18px !important;
        font-weight: 800 !important;
        letter-spacing: .12em !important;
        line-height: 1.15 !important;
        text-shadow: 0 2px 10px rgba(0,0,0,.65);
    }

        .visualCenter .core small {
            display: block !important;
            margin-top: 8px !important;
            font-size: 9px !important;
            font-weight: 700 !important;
            letter-spacing: .16em !important;
            color: #d2f7ff !important;
        }

/* V8 atmospheric background — purple / blue / cyan, no green */
.bg::before, .bg::after {
    content: "";
    position: absolute;
    inset: -20%;
    pointer-events: none;
    filter: blur(22px);
    opacity: .42;
    transform: rotate(-7deg);
}

.bg::before {
    background: radial-gradient(ellipse 55% 16% at 32% 30%,rgba(126,92,255,.30),transparent 70%), radial-gradient(ellipse 48% 13% at 70% 54%,rgba(31,213,255,.24),transparent 70%), radial-gradient(ellipse 42% 10% at 45% 78%,rgba(211,91,255,.20),transparent 70%);
    animation: auroraMove 14s ease-in-out infinite alternate;
}

.bg::after {
    background: linear-gradient(112deg,transparent 35%,rgba(105,91,255,.10) 43%,rgba(46,217,255,.12) 49%,transparent 57%), linear-gradient(68deg,transparent 44%,rgba(205,82,255,.09) 50%,transparent 57%);
    animation: auroraMove2 18s ease-in-out infinite alternate;
}

@keyframes auroraMove {
    from {
        transform: translate3d(-4%,0,0) rotate(-7deg) scale(1)
    }

    to {
        transform: translate3d(5%,3%,0) rotate(-4deg) scale(1.08)
    }
}

@keyframes auroraMove2 {
    from {
        transform: translate3d(5%,2%,0) rotate(4deg) scale(1)
    }

    to {
        transform: translate3d(-4%,-3%,0) rotate(7deg) scale(1.12)
    }
}

.hero, .problem, .stackSection, .loop, .final {
    background: transparent !important
}

/* V2 — Section 03 navigator sits cleanly beside the card */
.stack {
    width: min(960px,calc(100vw - 180px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.workflowNav {
    right: -58px !important;
}

.workflowCounter {
    left: -72px !important;
    top: 28px !important;
}

.stackScrollHint {
    display: none !important
}

/* Section 04 — true centered AI engine */
.automationVisual {
    position: relative !important;
    width: min(1050px,100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.visualCenter {
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%,-50%) !important;
    margin: 0 !important;
}

@media (max-width:800px) {
    .stack {
        width: calc(100vw - 70px) !important
    }

    .workflowNav {
        right: -48px !important
    }

    .workflowCounter {
        left: 8px !important;
        top: 6px !important
    }
}

/* V3 — perfectly centered automation loop */
.automationVisual {
    position: relative !important;
    width: min(1100px,100%) !important;
    height: 330px !important;
    margin: 45px auto 0 !important;
}

    .automationVisual .visualLine {
        left: 0 !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .automationVisual .visualCenter {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%,-50%) !important;
        margin: 0 !important;
        z-index: 20 !important;
    }

    .automationVisual .vNode {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
    }

    .automationVisual .n1 {
        left: 10% !important
    }

    .automationVisual .n2 {
        left: 30% !important
    }

    .automationVisual .n3 {
        left: 40% !important
    }

    .automationVisual .n4 {
        left: 60% !important
    }

    .automationVisual .n5 {
        left: 90% !important
    }

/* Keep the five explanatory blocks exactly aligned with their nodes */
.visualLabels {
    width: min(1100px,100%) !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(5,1fr) !important;
    gap: 0 !important;
    text-align: center !important;
}

    .visualLabels > div {
        min-width: 0 !important;
        padding: 0 18px !important;
        text-align: center !important;
    }

    .visualLabels b {
        display: block !important;
        text-align: center !important;
        font-size: 12px !important;
        letter-spacing: .14em !important;
    }

    .visualLabels small {
        display: block !important;
        text-align: center !important;
        font-size: 13px !important;
        line-height: 1.55 !important;
        max-width: 190px !important;
        margin: 9px auto 0 !important;
    }

@media (max-width:800px) {
    .automationVisual {
        height: 360px !important
    }

        .automationVisual .n1 {
            left: 5% !important
        }

        .automationVisual .n2 {
            left: 27% !important
        }

        .automationVisual .n3 {
            left: 40% !important
        }

        .automationVisual .n4 {
            left: 60% !important
        }

        .automationVisual .n5 {
            left: 95% !important
        }

    .visualLabels {
        grid-template-columns: 1fr 1fr !important;
        row-gap: 18px !important
    }

        .visualLabels > div {
            padding: 0 8px !important
        }
}

/* V4 — align ARIA directly above ACT */
.automationVisual {
    position: relative !important;
    width: min(1100px,100%) !important;
    height: 330px !important;
    margin: 45px auto 0 !important;
}

    .automationVisual .visualLine {
        left: 0 !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .automationVisual .vNode {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
    }

    .automationVisual .n1 {
        left: 10% !important
    }

    .automationVisual .n2 {
        left: 30% !important
    }

    .automationVisual .n3 {
        left: 50% !important
    }

    .automationVisual .n4 {
        left: 70% !important
    }

    .automationVisual .n5 {
        left: 90% !important
    }

    /* ARIA is the ACT engine: directly over the fourth label */
    .automationVisual .visualCenter {
        position: absolute !important;
        left: 70% !important;
        top: 50% !important;
        transform: translate(-50%,-50%) !important;
        margin: 0 !important;
        z-index: 30 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

.visualCenter .core {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 104px !important;
    height: 104px !important;
    margin: 0 !important;
}

    .visualCenter .core small {
        text-align: center !important;
        margin-top: 8px !important;
    }

/* Labels match the five visual positions */
.visualLabels {
    width: min(1100px,100%) !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(5,1fr) !important;
    gap: 0 !important;
    text-align: center !important;
}

    .visualLabels > div {
        min-width: 0 !important;
        padding: 0 18px !important;
        text-align: center !important;
    }

    .visualLabels b,
    .visualLabels small {
        display: block !important;
        text-align: center !important;
    }

    .visualLabels small {
        max-width: 190px !important;
        margin: 9px auto 0 !important;
    }

@media (max-width:800px) {
    .automationVisual {
        height: 360px !important
    }

        .automationVisual .n1 {
            left: 8% !important
        }

        .automationVisual .n2 {
            left: 29% !important
        }

        .automationVisual .n3 {
            left: 50% !important
        }

        .automationVisual .n4 {
            left: 71% !important
        }

        .automationVisual .n5 {
            left: 92% !important
        }

        .automationVisual .visualCenter {
            left: 71% !important
        }
}

/* FINAL FIX — Section 04 uses one shared 5-column coordinate system.
           01 / 02 / 03 / ARIA(ACT) / 05 */
.automationVisual {
    position: relative !important;
    width: min(1100px,100%) !important;
    height: 300px !important;
    margin: 45px auto 0 !important;
    display: grid !important;
    grid-template-columns: repeat(5,1fr) !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
}

    .automationVisual .visualLine {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: auto !important;
        height: 2px !important;
        z-index: 1 !important;
    }

    .automationVisual .flowNode,
    .automationVisual .visualCenter {
        grid-row: 1 !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        justify-self: center !important;
        align-self: center !important;
        margin: 0 !important;
    }

    /* Exact columns */
    .automationVisual .fn1 {
        grid-column: 1 !important
    }

    .automationVisual .fn2 {
        grid-column: 2 !important
    }

    .automationVisual .fn3 {
        grid-column: 3 !important
    }

    .automationVisual .visualCenter {
        grid-column: 4 !important
    }

    .automationVisual .fn5 {
        grid-column: 5 !important
    }

    /* ARIA is the ACT / 4th-column engine */
    .automationVisual .visualCenter {
        width: 126px !important;
        height: 126px !important;
        z-index: 20 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        border-radius: 50% !important;
        box-sizing: border-box !important;
    }

        .automationVisual .visualCenter .core {
            width: 108px !important;
            height: 108px !important;
            margin: 0 !important;
            padding: 0 !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
            text-align: center !important;
            line-height: 1.1 !important;
            box-sizing: border-box !important;
        }

            .automationVisual .visualCenter .core small {
                display: block !important;
                width: 100% !important;
                margin: 8px 0 0 !important;
                text-align: center !important;
                line-height: 1 !important;
            }

/* Labels use the SAME five columns, so ACT is directly below ARIA */
.visualLabels {
    width: min(1100px,100%) !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(5,1fr) !important;
    gap: 0 !important;
    text-align: center !important;
    align-items: start !important;
}

    .visualLabels > div {
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 16px !important;
        margin: 0 !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .visualLabels b {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }

    .visualLabels small {
        display: block !important;
        width: 100% !important;
        max-width: 190px !important;
        margin: 9px auto 0 !important;
        text-align: center !important;
        line-height: 1.55 !important;
    }

/* Mobile: keep the desktop alignment until the breakpoint, then stack cleanly */
@media (max-width:800px) {
    .automationVisual {
        height: 500px !important;
        width: 90vw !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: repeat(5,1fr) !important;
    }

        .automationVisual .visualLine {
            left: 50% !important;
            right: auto !important;
            top: 5% !important;
            bottom: 5% !important;
            width: 2px !important;
            height: auto !important;
            transform: none !important;
        }

        .automationVisual .fn1,
        .automationVisual .fn2,
        .automationVisual .fn3,
        .automationVisual .visualCenter,
        .automationVisual .fn5 {
            grid-column: 1 !important;
            justify-self: center !important;
        }

        .automationVisual .fn1 {
            grid-row: 1 !important
        }

        .automationVisual .fn2 {
            grid-row: 2 !important
        }

        .automationVisual .fn3 {
            grid-row: 3 !important
        }

        .automationVisual .visualCenter {
            grid-row: 4 !important
        }

        .automationVisual .fn5 {
            grid-row: 5 !important
        }

    .visualLabels {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
}

/* =========================================================
           SHIVI — persistent AI assistant
           Self-contained: no external assets / no extra dependencies.
           ========================================================= */
body {
    overflow-x: hidden !important
}

html, body {
    scrollbar-width: none !important
}

    html::-webkit-scrollbar, body::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important
    }

/* Fixed assistant layer */
#shiviRoot {
    position: fixed !important;
    right: 24px !important;
    bottom: 22px !important;
    z-index: 2147483000 !important;
    width: 320px;
    font-family: Manrope,Arial,sans-serif;
    pointer-events: none;
}

    #shiviRoot * {
        box-sizing: border-box
    }

#shiviToggle {
    pointer-events: auto;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 76px;
    height: 76px;
    padding: 0;
    border: 1px solid rgba(177,165,255,.55);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%,#8b7cff 0%,#6256df 42%,#171936 78%);
    box-shadow: 0 10px 35px rgba(0,0,0,.45),0 0 0 7px rgba(139,124,255,.07),0 0 42px rgba(102,88,255,.35);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: transform .25s ease,box-shadow .25s ease;
}

    #shiviToggle:hover {
        transform: translateY(-3px) scale(1.04);
        box-shadow: 0 14px 40px rgba(0,0,0,.5),0 0 0 9px rgba(139,124,255,.1),0 0 55px rgba(102,88,255,.46);
    }

.shiviAvatar {
    width: 58px;
    height: 58px;
    display: block;
    animation: shiviBreathe 3.4s ease-in-out infinite;
}

.shiviArm {
    transform-origin: 44px 29px;
    animation: shiviWave 2.8s ease-in-out infinite;
}

@keyframes shiviBreathe {
    50% {
        transform: translateY(-2px) scale(1.025)
    }
}

@keyframes shiviWave {
    0%,55%,100% {
        transform: rotate(0deg)
    }

    65% {
        transform: rotate(14deg)
    }

    73% {
        transform: rotate(-8deg)
    }

    81% {
        transform: rotate(12deg)
    }
}

#shiviBubble {
    pointer-events: auto;
    position: absolute;
    right: 4px;
    bottom: 91px;
    width: 245px;
    padding: 13px 15px;
    border: 1px solid rgba(139,124,255,.28);
    border-radius: 16px 16px 4px 16px;
    background: rgba(10,12,27,.94);
    backdrop-filter: blur(18px);
    color: #eef0ff;
    box-shadow: 0 18px 55px rgba(0,0,0,.4),0 0 30px rgba(96,78,255,.10);
    font-size: 12px;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(10px) scale(.96);
    visibility: hidden;
    transition: .28s ease;
}

    #shiviBubble.show {
        opacity: 1;
        transform: none;
        visibility: visible
    }

    #shiviBubble strong {
        display: block;
        color: #a99fff;
        font-size: 10px;
        letter-spacing: .12em;
        margin-bottom: 5px
    }

#shiviChat {
    pointer-events: auto;
    position: absolute;
    right: 0;
    bottom: 92px;
    width: 320px;
    height: 430px;
    border: 1px solid rgba(139,124,255,.28);
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(160deg,rgba(13,16,34,.98),rgba(6,8,19,.98));
    box-shadow: 0 25px 80px rgba(0,0,0,.6),0 0 55px rgba(77,66,200,.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.97);
    transform-origin: bottom right;
    transition: .28s ease;
}

    #shiviChat.open {
        opacity: 1;
        visibility: visible;
        transform: none
    }

.shiviHead {
    height: 64px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
}

.shiviHeadLeft {
    display: flex;
    align-items: center;
    gap: 10px
}

.shiviMini {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg,#8b7cff,#35d9ff);
    box-shadow: 0 0 18px rgba(139,124,255,.28);
}

    .shiviMini svg {
        width: 28px;
        height: 28px
    }

.shiviTitle {
    font-weight: 800;
    font-size: 12px;
    color: #fff
}

.shiviStatus {
    font: 8px 'DM Mono';
    letter-spacing: .12em;
    color: #69efba;
    margin-top: 2px
}

.shiviClose {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #aab0c8;
    cursor: pointer;
    font-size: 17px;
}

    .shiviClose:hover {
        background: rgba(255,255,255,.06);
        color: #fff
    }

.shiviForm, .shiviConversation {
    height: calc(100% - 64px)
}

.shiviForm {
    padding: 20px 18px;
    display: flex;
    flex-direction: column
}

.shiviWelcome {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 6px;
}

.shiviSub {
    font-size: 11px;
    color: #8e95ab;
    line-height: 1.55;
    margin-bottom: 17px
}

.shiviField {
    margin-bottom: 11px
}

    .shiviField label {
        display: block;
        font: 8px 'DM Mono';
        letter-spacing: .13em;
        color: #8f96aa;
        margin: 0 0 6px 2px;
    }

    .shiviField input {
        width: 100%;
        height: 40px;
        padding: 0 12px;
        border-radius: 11px;
        border: 1px solid rgba(255,255,255,.11);
        background: #090c18;
        color: #fff;
        outline: none;
        font-size: 11px;
    }

        .shiviField input:focus {
            border-color: rgba(139,124,255,.65);
            box-shadow: 0 0 0 3px rgba(139,124,255,.08)
        }

.phoneWrap {
    display: flex
}

.phonePrefix {
    height: 40px;
    min-width: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.11);
    border-right: 0;
    border-radius: 11px 0 0 11px;
    background: #0d1020;
    color: #a9aefc;
    font-size: 11px;
}

.phoneWrap input {
    border-radius: 0 11px 11px 0
}

.shiviStart {
    margin-top: auto;
    width: 100%;
    height: 43px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(90deg,#8b7cff,#5f75ff);
    color: #050711;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(104,88,255,.22);
}

    .shiviStart:hover {
        filter: brightness(1.08);
        transform: translateY(-1px)
    }

.shiviFine {
    font-size: 8px;
    color: #667087;
    line-height: 1.45;
    text-align: center;
    margin-top: 9px
}

.shiviConversation {
    display: flex;
    flex-direction: column
}

.shiviMsgs {
    flex: 1;
    overflow: auto;
    padding: 16px 14px;
    scrollbar-width: none;
}

    .shiviMsgs::-webkit-scrollbar {
        display: none
    }

.sMsg {
    max-width: 82%;
    padding: 10px 11px;
    margin-bottom: 9px;
    border-radius: 13px;
    font-size: 10.5px;
    line-height: 1.5;
}

    .sMsg.ai {
        margin-right: auto;
        color: #e9ebf8;
        background: #12172a;
        border: 1px solid rgba(139,124,255,.13);
        border-bottom-left-radius: 4px;
    }

    .sMsg.user {
        margin-left: auto;
        color: #07101a;
        background: linear-gradient(135deg,#a99fff,#65dfff);
        border-bottom-right-radius: 4px;
    }

.shiviComposer {
    padding: 10px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    gap: 7px;
    background: rgba(255,255,255,.02);
}

    .shiviComposer input {
        flex: 1;
        height: 39px;
        min-width: 0;
        padding: 0 11px;
        border-radius: 11px;
        border: 1px solid rgba(255,255,255,.1);
        background: #080b16;
        color: #fff;
        outline: none;
        font-size: 10.5px;
    }

.shiviSend {
    width: 39px;
    height: 39px;
    border: 0;
    border-radius: 11px;
    background: #8b7cff;
    color: #050711;
    font-weight: 900;
    cursor: pointer;
}

    .shiviSend:hover {
        filter: brightness(1.08)
    }

.shiviTyping {
    font-size: 9px;
    color: #7e86a0;
    margin: 0 0 8px 3px;
    opacity: .8
}

#shiviLeadFrame {
    display: none
}

/* prevent the assistant from becoming huge on mobile */
@media (max-width:600px) {
    #shiviRoot {
        right: 14px;
        bottom: 14px;
        width: min(310px,calc(100vw - 28px))
    }

    #shiviChat {
        width: min(310px,calc(100vw - 28px));
        height: 420px
    }

    #shiviBubble {
        right: 0;
        width: 220px
    }

    #shiviToggle {
        width: 68px;
        height: 68px
    }
}


/* SHIVI V2 — explicit sizing so global page CSS cannot collapse the form */
#shiviRoot, #shiviRoot * {
    box-sizing: border-box !important
}

#shiviRoot {
    width: 360px !important;
    max-width: calc(100vw - 28px) !important
}

#shiviChat {
    width: 360px !important;
    max-width: calc(100vw - 28px) !important;
    min-width: 0 !important;
}

#shiviLeadForm {
    width: 100% !important;
    min-width: 0 !important;
    padding: 22px 20px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: left !important;
}

    #shiviLeadForm .shiviWelcome,
    #shiviLeadForm .shiviSub,
    #shiviLeadForm .shiviField,
    #shiviLeadForm .shiviField label,
    #shiviLeadForm .shiviField input,
    #shiviLeadForm .phoneWrap,
    #shiviLeadForm .shiviStart,
    #shiviLeadForm .shiviFine {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    #shiviLeadForm .shiviWelcome {
        font-size: 20px !important;
        line-height: 1.2 !important
    }

    #shiviLeadForm .shiviSub {
        font-size: 12px !important;
        line-height: 1.55 !important
    }

    #shiviLeadForm .shiviField {
        display: block !important
    }

    #shiviLeadForm .phoneWrap {
        display: flex !important
    }

    #shiviLeadForm .phonePrefix {
        flex: 0 0 52px !important;
        width: 52px !important
    }

    #shiviLeadForm .phoneWrap input {
        flex: 1 1 auto !important;
        width: auto !important
    }

    #shiviLeadForm .shiviStart {
        display: block !important
    }

    #shiviLeadForm .shiviFine {
        display: block !important
    }

/* Lead form modal */
#ariaLeadModal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147482000 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(2,4,12,.72);
    backdrop-filter: blur(10px);
}

    #ariaLeadModal.open {
        display: flex !important
    }

#ariaLeadCard {
    width: min(440px,calc(100vw - 30px)) !important;
    max-height: calc(100vh - 40px) !important;
    overflow: auto !important;
    border: 1px solid rgba(139,124,255,.35);
    border-radius: 24px;
    background: linear-gradient(155deg,#11152b 0%,#080b18 100%);
    box-shadow: 0 30px 100px rgba(0,0,0,.65),0 0 70px rgba(92,76,255,.18);
    padding: 25px;
    color: #fff;
    scrollbar-width: none;
}

    #ariaLeadCard::-webkit-scrollbar {
        display: none
    }

.ariaLeadHead {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 18px
}

.ariaLeadEyebrow {
    font: 9px 'DM Mono';
    letter-spacing: .16em;
    color: #9b8fff;
    margin-bottom: 8px
}

.ariaLeadTitle {
    font-size: 25px;
    line-height: 1.12;
    font-weight: 800;
    margin: 0
}

.ariaLeadCopy {
    font-size: 12px;
    line-height: 1.6;
    color: #9299b0;
    margin: 8px 0 0
}

#ariaLeadClose {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    color: #b8bfd2;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

    #ariaLeadClose:hover {
        background: rgba(139,124,255,.12);
        color: #fff
    }

.ariaLeadField {
    margin: 0 0 13px
}

    .ariaLeadField label {
        display: block;
        font: 9px 'DM Mono';
        letter-spacing: .13em;
        color: #9299b0;
        margin: 0 0 7px 2px
    }

    .ariaLeadField input {
        width: 100% !important;
        height: 46px !important;
        padding: 0 13px !important;
        border-radius: 12px !important;
        border: 1px solid rgba(255,255,255,.11) !important;
        background: #070a14 !important;
        color: #fff !important;
        outline: none !important;
        font: 12px Arial,sans-serif !important;
    }

        .ariaLeadField input:focus {
            border-color: rgba(139,124,255,.7) !important;
            box-shadow: 0 0 0 3px rgba(139,124,255,.09)
        }

.ariaPhone {
    display: flex !important
}

.ariaPhonePrefix {
    width: 55px !important;
    flex: 0 0 55px !important;
    height: 46px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(255,255,255,.11) !important;
    border-right: 0 !important;
    border-radius: 12px 0 0 12px !important;
    background: #0d1020;
    color: #aaa4ff;
    font-size: 12px;
}

.ariaPhone input {
    border-radius: 0 12px 12px 0 !important
}

#ariaLeadSubmit {
    width: 100% !important;
    height: 47px !important;
    border: 0 !important;
    border-radius: 13px !important;
    margin-top: 5px !important;
    background: linear-gradient(90deg,#8b7cff,#5e79ff) !important;
    color: #050711 !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    cursor: pointer !important;
}

    #ariaLeadSubmit:hover {
        filter: brightness(1.08)
    }

.ariaLeadFine {
    text-align: center;
    font-size: 8px;
    line-height: 1.5;
    color: #656e84;
    margin-top: 9px
}

.ariaLeadSuccess {
    display: none;
    text-align: center;
    padding: 30px 8px 15px
}

    .ariaLeadSuccess.show {
        display: block
    }

.ariaSuccessIcon {
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(105,239,186,.1);
    border: 1px solid rgba(105,239,186,.35);
    color: #69efba;
    font-size: 24px;
}

@media (max-width:600px) {
    #shiviRoot {
        right: 14px !important;
        bottom: 14px !important;
        width: calc(100vw - 28px) !important
    }

    #shiviChat {
        width: 100% !important
    }

    #ariaLeadCard {
        padding: 20px
    }
}

/* SHIVI V3 — isolated widget layout, immune to page-level form/grid CSS */
#shiviRoot {
    position: fixed !important;
    right: 24px !important;
    bottom: 22px !important;
    width: 390px !important;
    height: 0 !important;
    z-index: 2147483646 !important;
    pointer-events: none !important;
    isolation: isolate !important;
}

    #shiviRoot #shiviChat {
        position: absolute !important;
        right: 0 !important;
        bottom: 92px !important;
        width: 390px !important;
        height: 500px !important;
        max-width: calc(100vw - 28px) !important;
        display: block !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    #shiviRoot #shiviLeadForm {
        position: absolute !important;
        inset: 64px 0 0 0 !important;
        width: 100% !important;
        height: calc(100% - 64px) !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 28px 28px 22px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

        #shiviRoot #shiviLeadForm .shiviWelcome {
            display: block !important;
            width: 100% !important;
            margin: 0 0 8px !important;
            padding: 0 !important;
            font-size: 22px !important;
            line-height: 1.18 !important;
            font-weight: 800 !important;
            text-align: left !important;
            white-space: normal !important;
        }

        #shiviRoot #shiviLeadForm .shiviSub {
            display: block !important;
            width: 100% !important;
            margin: 0 0 25px !important;
            padding: 0 !important;
            font-size: 12.5px !important;
            line-height: 1.6 !important;
            color: #9299b0 !important;
            text-align: left !important;
        }

        #shiviRoot #shiviLeadForm .shiviField {
            display: block !important;
            width: 100% !important;
            height: auto !important;
            margin: 0 0 16px !important;
            padding: 0 !important;
            min-width: 0 !important;
            max-width: none !important;
        }

            #shiviRoot #shiviLeadForm .shiviField label {
                display: block !important;
                width: 100% !important;
                margin: 0 0 7px !important;
                padding: 0 !important;
                font-size: 9px !important;
                line-height: 1.2 !important;
                letter-spacing: .14em !important;
                text-align: left !important;
                color: #9299b0 !important;
            }

            #shiviRoot #shiviLeadForm .shiviField input {
                display: block !important;
                width: 100% !important;
                height: 46px !important;
                min-height: 46px !important;
                max-width: none !important;
                min-width: 0 !important;
                margin: 0 !important;
                padding: 0 13px !important;
                border: 1px solid rgba(255,255,255,.11) !important;
                border-radius: 12px !important;
                background: #070a14 !important;
                color: #fff !important;
                font: 12px Arial,sans-serif !important;
                text-align: left !important;
            }

        #shiviRoot #shiviLeadForm .phoneWrap {
            display: flex !important;
            width: 100% !important;
            height: 46px !important;
            min-height: 46px !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        #shiviRoot #shiviLeadForm .phonePrefix {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex: 0 0 56px !important;
            width: 56px !important;
            height: 46px !important;
            padding: 0 !important;
            margin: 0 !important;
        }

        #shiviRoot #shiviLeadForm .phoneWrap input {
            flex: 1 1 auto !important;
            width: auto !important;
            height: 46px !important;
            border-radius: 0 12px 12px 0 !important;
        }

        #shiviRoot #shiviLeadForm .shiviStart {
            display: block !important;
            width: 100% !important;
            height: 48px !important;
            min-height: 48px !important;
            margin: 8px 0 0 !important;
            padding: 0 !important;
            flex: 0 0 48px !important;
        }

        #shiviRoot #shiviLeadForm .shiviFine {
            display: block !important;
            width: 100% !important;
            margin: 10px 0 0 !important;
            padding: 0 !important;
            text-align: center !important;
            font-size: 8px !important;
            line-height: 1.45 !important;
        }

    #shiviRoot #shiviConversation {
        position: absolute !important;
        inset: 64px 0 0 0 !important;
        width: 100% !important;
        height: calc(100% - 64px) !important;
        margin: 0 !important;
        padding: 0 !important;
    }

@media (max-width:600px) {
    #shiviRoot {
        right: 14px !important;
        bottom: 14px !important;
        width: calc(100vw - 28px) !important
    }

        #shiviRoot #shiviChat {
            width: 100% !important;
            max-width: none !important;
            height: 470px !important
        }

        #shiviRoot #shiviLeadForm {
            padding: 24px 22px 18px !important
        }
}

/* SHIVI V4 — final visual/layout fix */
#shiviRoot #shiviChat {
    background: radial-gradient(circle at 85% 8%, rgba(116,96,255,.14), transparent 34%), radial-gradient(circle at 10% 92%, rgba(45,213,255,.07), transparent 30%), linear-gradient(145deg,#11172a 0%,#0b1020 52%,#070a15 100%) !important;
    border: 1px solid rgba(139,124,255,.42) !important;
    box-shadow: 0 28px 90px rgba(0,0,0,.72),0 0 65px rgba(94,76,255,.18) !important;
}

/* Never allow the hidden conversation to paint over the lead form. */
#shiviRoot #shiviConversation[hidden] {
    display: none !important;
}

/* Clean header alignment */
#shiviRoot .shiviHead {
    height: 68px !important;
    min-height: 68px !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    background: rgba(255,255,255,.025) !important;
}

#shiviRoot .shiviHeadLeft {
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    min-width: 0 !important;
}

#shiviRoot .shiviMini {
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
}

#shiviRoot .shiviTitle {
    font-size: 13px !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
}

#shiviRoot .shiviStatus {
    font-size: 8px !important;
    line-height: 1.2 !important;
}

#shiviRoot .shiviClose {
    flex: 0 0 30px !important;
    width: 30px !important;
    height: 30px !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 !important;
}

/* Form occupies only the content area below header, with consistent left/right edges. */
#shiviRoot #shiviLeadForm {
    position: absolute !important;
    top: 68px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    inset: auto 0 0 0 !important;
    width: 100% !important;
    height: calc(100% - 68px) !important;
    padding: 24px 26px 20px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
}

    /* Intro copy is aligned to the same grid as every field. */
    #shiviRoot #shiviLeadForm .shiviWelcome {
        width: 100% !important;
        margin: 0 0 7px !important;
        padding: 0 !important;
        text-align: left !important;
        font-size: 21px !important;
        line-height: 1.18 !important;
    }

    #shiviRoot #shiviLeadForm .shiviSub {
        width: 100% !important;
        margin: 0 0 22px !important;
        padding: 0 !important;
        text-align: left !important;
        font-size: 12px !important;
        line-height: 1.55 !important;
        color: #9aa2b8 !important;
    }

    /* Every field has exactly the same width and vertical rhythm. */
    #shiviRoot #shiviLeadForm .shiviField {
        width: 100% !important;
        margin: 0 0 14px !important;
        padding: 0 !important;
    }

        #shiviRoot #shiviLeadForm .shiviField label {
            width: 100% !important;
            margin: 0 0 6px !important;
            padding: 0 0 0 1px !important;
            text-align: left !important;
        }

        #shiviRoot #shiviLeadForm .shiviField input {
            width: 100% !important;
            height: 45px !important;
            min-height: 45px !important;
            display: block !important;
            margin: 0 !important;
            padding: 0 13px !important;
            text-align: left !important;
            border-radius: 11px !important;
        }

    #shiviRoot #shiviLeadForm .phoneWrap {
        width: 100% !important;
        height: 45px !important;
        display: flex !important;
        align-items: stretch !important;
    }

    #shiviRoot #shiviLeadForm .phonePrefix {
        flex: 0 0 54px !important;
        width: 54px !important;
        height: 45px !important;
        border-radius: 11px 0 0 11px !important;
    }

    #shiviRoot #shiviLeadForm .phoneWrap input {
        flex: 1 1 auto !important;
        width: auto !important;
        height: 45px !important;
        border-radius: 0 11px 11px 0 !important;
    }

    /* Button sits naturally after the fields instead of being pushed/overlapped. */
    #shiviRoot #shiviLeadForm .shiviStart {
        width: 100% !important;
        height: 46px !important;
        min-height: 46px !important;
        flex: 0 0 46px !important;
        margin: 4px 0 0 !important;
        padding: 0 !important;
    }

    #shiviRoot #shiviLeadForm .shiviFine {
        width: 100% !important;
        margin: 9px 0 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }

/* The message composer also stays aligned once chat starts. */
#shiviRoot #shiviConversation:not([hidden]) {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 68px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100% - 68px) !important;
}

#shiviRoot .shiviMsgs {
    width: 100% !important;
    flex: 1 1 auto !important;
    padding: 18px 20px !important;
}

#shiviRoot .shiviComposer {
    width: 100% !important;
    flex: 0 0 auto !important;
    padding: 12px 14px 14px !important;
}

@media (max-width:600px) {
    #shiviRoot #shiviChat {
        width: calc(100vw - 28px) !important;
        max-width: calc(100vw - 28px) !important;
    }

    #shiviRoot #shiviLeadForm {
        padding: 22px 22px 18px !important;
    }
}

/* SHIVI V5 — hard reset against global site/header/form styles */
#shiviRoot {
    all: initial !important;
    position: fixed !important;
    right: 24px !important;
    bottom: 22px !important;
    width: 390px !important;
    height: 0 !important;
    z-index: 2147483646 !important;
    display: block !important;
    font-family: Arial,Helvetica,sans-serif !important;
    pointer-events: none !important;
}

    #shiviRoot *, #shiviRoot *::before, #shiviRoot *::after {
        box-sizing: border-box !important;
    }

    #shiviRoot #shiviChat {
        all: initial !important;
        position: absolute !important;
        right: 0 !important;
        bottom: 92px !important;
        width: 390px !important;
        height: 500px !important;
        display: block !important;
        overflow: hidden !important;
        pointer-events: auto !important;
        border: 1px solid rgba(139,124,255,.48) !important;
        border-radius: 24px !important;
        background: radial-gradient(circle at 85% 0%,rgba(120,95,255,.20),transparent 36%), radial-gradient(circle at 0% 100%,rgba(38,204,255,.08),transparent 32%), linear-gradient(145deg,#151b32 0%,#0d1222 55%,#080b16 100%) !important;
        box-shadow: 0 30px 100px rgba(0,0,0,.72),0 0 70px rgba(100,80,255,.20) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(14px) scale(.97) !important;
        transform-origin: bottom right !important;
        transition: opacity .22s ease,transform .22s ease,visibility .22s ease !important;
    }

        #shiviRoot #shiviChat.open {
            opacity: 1 !important;
            visibility: visible !important;
            transform: none !important;
        }

        /* Header: full-width, never inherit a site header's max-width/margin/padding rules */
        #shiviRoot #shiviChat > header.shiviHead {
            all: initial !important;
            width: 100% !important;
            height: 68px !important;
            min-height: 68px !important;
            max-width: none !important;
            margin: 0 !important;
            padding: 0 20px !important;
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            justify-content: space-between !important;
            position: relative !important;
            border: 0 !important;
            border-bottom: 1px solid rgba(255,255,255,.10) !important;
            background: rgba(255,255,255,.045) !important;
            color: #fff !important;
        }

    #shiviRoot .shiviHeadLeft {
        all: initial !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 11px !important;
        width: auto !important;
        min-width: 0 !important;
    }

    #shiviRoot .shiviMini {
        all: initial !important;
        flex: 0 0 40px !important;
        width: 40px !important;
        height: 40px !important;
        display: grid !important;
        place-items: center !important;
        border-radius: 50% !important;
        background: linear-gradient(145deg,#8b7cff,#35d9ff) !important;
        box-shadow: 0 0 20px rgba(139,124,255,.30) !important;
    }

        #shiviRoot .shiviMini svg {
            width: 30px !important;
            height: 30px !important;
            display: block !important
        }

    #shiviRoot .shiviTitle {
        all: initial !important;
        display: block !important;
        color: #fff !important;
        font: 800 14px/1.25 Arial,Helvetica,sans-serif !important;
        white-space: nowrap !important;
    }

    #shiviRoot .shiviStatus {
        all: initial !important;
        display: block !important;
        margin-top: 4px !important;
        color: #69efba !important;
        font: 8px/1 'Courier New',monospace !important;
        letter-spacing: .14em !important;
    }

    #shiviRoot .shiviClose {
        all: initial !important;
        flex: 0 0 30px !important;
        width: 30px !important;
        height: 30px !important;
        display: grid !important;
        place-items: center !important;
        border-radius: 50% !important;
        color: #aeb5ca !important;
        background: transparent !important;
        cursor: pointer !important;
        font: 18px/1 Arial,sans-serif !important;
        text-align: center !important;
    }

        #shiviRoot .shiviClose:hover {
            background: rgba(255,255,255,.08) !important;
            color: #fff !important
        }

    /* Lead form */
    #shiviRoot #shiviLeadForm {
        all: initial !important;
        position: absolute !important;
        top: 68px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: auto !important;
        padding: 24px 26px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        overflow: hidden !important;
        color: #fff !important;
    }

        #shiviRoot #shiviLeadForm .shiviWelcome {
            all: initial !important;
            display: block !important;
            width: 100% !important;
            margin: 0 0 7px !important;
            color: #fff !important;
            font: 800 22px/1.18 Arial,Helvetica,sans-serif !important;
        }

        #shiviRoot #shiviLeadForm .shiviSub {
            all: initial !important;
            display: block !important;
            width: 100% !important;
            margin: 0 0 22px !important;
            color: #9aa2b8 !important;
            font: 12px/1.55 Arial,Helvetica,sans-serif !important;
        }

        #shiviRoot #shiviLeadForm .shiviField {
            all: initial !important;
            display: block !important;
            width: 100% !important;
            margin: 0 0 14px !important;
        }

            #shiviRoot #shiviLeadForm .shiviField label {
                all: initial !important;
                display: block !important;
                width: 100% !important;
                margin: 0 0 6px !important;
                color: #9299b0 !important;
                font: 9px/1 'Courier New',monospace !important;
                letter-spacing: .14em !important;
            }

            #shiviRoot #shiviLeadForm .shiviField input {
                all: initial !important;
                display: block !important;
                width: 100% !important;
                height: 45px !important;
                padding: 0 13px !important;
                border: 1px solid rgba(255,255,255,.12) !important;
                border-radius: 11px !important;
                background: #080c18 !important;
                color: #fff !important;
                font: 12px/45px Arial,Helvetica,sans-serif !important;
            }

        #shiviRoot #shiviLeadForm .phoneWrap {
            all: initial !important;
            display: flex !important;
            width: 100% !important;
            height: 45px !important;
        }

        #shiviRoot #shiviLeadForm .phonePrefix {
            all: initial !important;
            flex: 0 0 54px !important;
            width: 54px !important;
            height: 45px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            border: 1px solid rgba(255,255,255,.12) !important;
            border-right: 0 !important;
            border-radius: 11px 0 0 11px !important;
            background: #10152a !important;
            color: #a9aefc !important;
            font: 12px/1 Arial,Helvetica,sans-serif !important;
        }

        #shiviRoot #shiviLeadForm .phoneWrap input {
            flex: 1 1 auto !important;
            width: auto !important;
            border-radius: 0 11px 11px 0 !important;
        }

        #shiviRoot #shiviLeadForm .shiviStart {
            all: initial !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 100% !important;
            height: 46px !important;
            margin: 4px 0 0 !important;
            border-radius: 12px !important;
            background: linear-gradient(90deg,#8b7cff,#5f75ff) !important;
            color: #050711 !important;
            font: 800 12px/1 Arial,Helvetica,sans-serif !important;
            cursor: pointer !important;
        }

        #shiviRoot #shiviLeadForm .shiviFine {
            all: initial !important;
            display: block !important;
            width: 100% !important;
            margin: 9px 0 0 !important;
            text-align: center !important;
            color: #687188 !important;
            font: 8px/1.45 Arial,Helvetica,sans-serif !important;
        }

    /* Conversation is completely hidden until Start Chat */
    #shiviRoot #shiviConversation[hidden] {
        display: none !important
    }

    #shiviRoot #shiviConversation:not([hidden]) {
        position: absolute !important;
        top: 68px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
    }

    #shiviRoot .shiviMsgs {
        flex: 1 1 auto !important;
        width: 100% !important;
        padding: 18px 20px !important;
        overflow: auto !important;
    }

    #shiviRoot .shiviComposer {
        flex: 0 0 auto !important;
        width: 100% !important;
        display: flex !important;
        gap: 8px !important;
        padding: 12px 14px 14px !important;
    }

@media (max-width:600px) {
    #shiviRoot {
        right: 14px !important;
        bottom: 14px !important;
        width: calc(100vw - 28px) !important
    }

        #shiviRoot #shiviChat {
            width: 100% !important;
            height: 470px !important
        }
}

/* SHIVI V6 — compact premium widget, no oversized takeover */
#shiviRoot {
    right: 20px !important;
    bottom: 18px !important;
    width: 350px !important;
}

    #shiviRoot #shiviChat {
        right: 0 !important;
        bottom: 82px !important;
        width: 350px !important;
        height: 438px !important;
        max-width: calc(100vw - 24px) !important;
        border-radius: 22px !important;
    }

        #shiviRoot #shiviChat > header.shiviHead {
            height: 62px !important;
            min-height: 62px !important;
            padding: 0 17px !important;
        }

    #shiviRoot .shiviMini {
        width: 34px !important;
        height: 34px !important;
        flex-basis: 34px !important;
    }

        #shiviRoot .shiviMini svg {
            width: 26px !important;
            height: 26px !important;
        }

    #shiviRoot .shiviHeadLeft {
        gap: 9px !important
    }

    #shiviRoot .shiviTitle {
        font-size: 13px !important
    }

    #shiviRoot .shiviClose {
        width: 28px !important;
        height: 28px !important;
        flex-basis: 28px !important;
    }

    #shiviRoot #shiviLeadForm {
        top: 62px !important;
        height: calc(100% - 62px) !important;
        padding: 19px 20px 15px !important;
    }

        #shiviRoot #shiviLeadForm .shiviWelcome {
            font-size: 20px !important;
            margin-bottom: 5px !important;
        }

        #shiviRoot #shiviLeadForm .shiviSub {
            font-size: 11.5px !important;
            line-height: 1.45 !important;
            margin-bottom: 15px !important;
        }

        #shiviRoot #shiviLeadForm .shiviField {
            margin-bottom: 10px !important;
        }

            #shiviRoot #shiviLeadForm .shiviField label {
                margin-bottom: 5px !important;
                font-size: 8px !important;
            }

            #shiviRoot #shiviLeadForm .shiviField input,
            #shiviRoot #shiviLeadForm .phoneWrap,
            #shiviRoot #shiviLeadForm .phonePrefix,
            #shiviRoot #shiviLeadForm .phoneWrap input {
                height: 40px !important;
            }

            #shiviRoot #shiviLeadForm .shiviField input {
                font-size: 11px !important;
            }

        #shiviRoot #shiviLeadForm .phonePrefix {
            flex-basis: 50px !important;
            width: 50px !important;
            font-size: 11px !important;
        }

        #shiviRoot #shiviLeadForm .shiviStart {
            height: 42px !important;
            margin-top: 3px !important;
            font-size: 11px !important;
        }

        #shiviRoot #shiviLeadForm .shiviFine {
            font-size: 7px !important;
            margin-top: 7px !important;
        }

@media (max-width:600px) {
    #shiviRoot {
        right: 12px !important;
        bottom: 12px !important;
        width: calc(100vw - 24px) !important;
    }

        #shiviRoot #shiviChat {
            width: 100% !important;
            max-width: none !important;
            height: 420px !important;
            bottom: 78px !important;
        }
}
/* Anti-copy */
html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    html::-webkit-scrollbar {
        display: none;
    }

body {
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}




/* =========================================================
   FINAL MOBILE RESPONSIVE PATCH
   Cross-browser: Chrome / Edge / Firefox / Safari
   ========================================================= */

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden !important;
}

*, *::before, *::after {
    max-width: 100%;
}

img, svg, canvas, video {
    max-width: 100%;
}

@media (max-width: 800px) {
    nav {
        /* left: 12px !important; */
        /* right: 12px !important; */
        width: 100% !important;
        max-width: none !important;
        height: 58px !important;
        min-height: 58px !important;
        padding: 0 14px !important;
        top: 10px !important;
        border-radius: 16px !important;
    }

        nav .aria-logo,
        .aria-logo {
            width: 92px !important;
            max-width: 92px !important;
            max-height: 30px !important;
            height: auto !important;
        }

        nav .navtag {
            display: none !important;
        }

        nav .navbtn {
            padding: 9px 12px !important;
            font-size: 8px !important;
            white-space: nowrap !important;
        }

    main {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    section {
        width: 100% !important;
        max-width: 1240px !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* HERO */
    .hero {
        width: 100% !important;
        min-height: 88svh !important;
        min-height: 88vh !important;
        padding-top: 105px !important;
        padding-bottom: 45px !important;
        justify-content: center !important;
    }

        .heroTitle,
        .hero h1 {
            width: 100% !important;
            max-width: 100% !important;
            margin: 18px 0 !important;
            font-size: clamp(38px, 11.5vw, 58px) !important;
            line-height: .92 !important;
            letter-spacing: -.065em !important;
            overflow-wrap: normal !important;
            word-break: normal !important;
        }

            .heroTitle span,
            .heroTitle em {
                display: block !important;
                width: max-content !important;
                max-width: 100% !important;
                white-space: normal !important;
            }

            .heroTitle .heroSub {
                width: auto !important;
            }

        .hero p {
            width: 100% !important;
            max-width: 620px !important;
            font-size: 13px !important;
            line-height: 1.65 !important;
            margin: 0 !important;
        }

    .actions {
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 9px !important;
        margin-top: 22px !important;
    }

    .primary,
    .ghost {
        min-height: 38px !important;
        padding: 10px 14px !important;
        font-size: 9px !important;
    }

    /* PROBLEM */
    .problem {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 25px !important;
        padding-top: 58px !important;
        padding-bottom: 58px !important;
    }

        .problem > div,
        .problemTasks,
        .problem > div:first-child {
            width: 100% !important;
            max-width: none !important;
            min-width: 0 !important;
        }

        .problem h2 {
            width: 100% !important;
            max-width: 100% !important;
            white-space: normal !important;
            font-size: clamp(32px, 9.5vw, 46px) !important;
            line-height: .98 !important;
            overflow-wrap: break-word !important;
            word-break: normal !important;
        }

    .problemIntro {
        max-width: 100% !important;
        font-size: 14px !important;
        line-height: 1.65 !important;
    }

    .problemList {
        width: 100% !important;
        max-width: none !important;
    }

        .problemList li {
            width: 100% !important;
            padding: 10px 0 10px 22px !important;
            font-size: 12px !important;
            line-height: 1.55 !important;
        }

    .problemTogether {
        width: 100% !important;
        max-width: none !important;
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    /* AUTOMATION INTRO */
    .stackSection {
        width: 100% !important;
        padding: 58px 0 80px !important;
        overflow: hidden !important;
    }

    .stackIntro {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

        .stackIntro h2 {
            width: 100% !important;
            max-width: 100% !important;
            font-size: clamp(32px, 9.5vw, 46px) !important;
            line-height: .98 !important;
        }

        .stackIntro > p {
            width: 100% !important;
            max-width: 100% !important;
            font-size: 13px !important;
            line-height: 1.65 !important;
        }

    /* WORKFLOW STACK */
    .stack {
        width: calc(100vw - 36px) !important;
        max-width: calc(100vw - 36px) !important;
        height: 555px !important;
        margin: 0 auto !important;
        overflow: hidden !important;
        min-width: 0 !important;
    }

    .workflowCounter {
        left: 12px !important;
        top: 6px !important;
        z-index: 80 !important;
    }

    .workflowNav {
        right: 10px !important;
        width: 34px !important;
        height: 34px !important;
        z-index: 80 !important;
    }

        .workflowNav.prev {
            top: 4px !important;
        }

        .workflowNav.next {
            top: 46px !important;
        }

    .stackCard {
        left: 50% !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 460px !important;
        top: 58px !important;
        border-radius: 20px !important;
        overflow: hidden !important;
    }

        .stackCard .num {
            width: 46px !important;
            padding: 18px 10px !important;
            font-size: 9px !important;
        }

    .cardContent {
        width: auto !important;
        min-width: 0 !important;
        margin-left: 46px !important;
        padding: 25px 18px !important;
    }

    .cardLabel {
        font-size: 7px !important;
        line-height: 1.4 !important;
    }

    .cardContent h3 {
        width: 100% !important;
        max-width: 100% !important;
        font-size: clamp(25px, 7.8vw, 36px) !important;
        line-height: .98 !important;
        margin: 14px 0 12px !important;
    }

    .cardContent p {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 11px !important;
        line-height: 1.55 !important;
    }

    .cardVisual {
        display: none !important;
    }

    .cardContent .flow {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 7px !important;
        margin-top: 18px !important;
        font-size: 7px !important;
    }

    .stackHint {
        margin-top: 15px !important;
        font-size: 7px !important;
    }

    /* AUTOMATION LOOP */
    .loop {
        width: 100% !important;
        padding-top: 65px !important;
        padding-bottom: 75px !important;
        overflow: hidden !important;
    }

        .loop h2 {
            width: 100% !important;
            max-width: 100% !important;
            font-size: clamp(35px, 10vw, 52px) !important;
            line-height: .98 !important;
        }

        .loop > p {
            width: 100% !important;
            max-width: 620px !important;
            font-size: 13px !important;
            line-height: 1.6 !important;
        }

    .automationVisual {
        width: min(100%, 360px) !important;
        max-width: 360px !important;
        height: 430px !important;
        margin: 30px auto 0 !important;
        display: block !important;
    }

        .automationVisual .visualLine {
            left: 50% !important;
            right: auto !important;
            top: 5% !important;
            bottom: 5% !important;
            width: 2px !important;
            height: auto !important;
            transform: translateX(-50%) !important;
            background: linear-gradient(180deg, rgba(139,124,255,.08), #8b7cff, #35d9ff, #f0a8ff, #35d9ff, #8b7cff, rgba(139,124,255,.08)) !important;
        }

        .automationVisual .flowNode {
            position: absolute !important;
            left: 50% !important;
            width: 56px !important;
            height: 56px !important;
            transform: translateX(-50%) !important;
            z-index: 5 !important;
        }

            .automationVisual .flowNode span {
                width: 56px !important;
                height: 56px !important;
                font-size: 9px !important;
            }

        .automationVisual .fn1 {
            top: 5% !important;
        }

        .automationVisual .fn2 {
            top: 22% !important;
        }

        .automationVisual .fn3 {
            top: 39% !important;
        }

        .automationVisual .fn4 {
            top: 61% !important;
        }

        .automationVisual .fn5 {
            top: 82% !important;
        }

        .automationVisual .visualCenter {
            position: absolute !important;
            left: 50% !important;
            top: 50% !important;
            width: 92px !important;
            height: 92px !important;
            transform: translate(-50%, -50%) !important;
            z-index: 20 !important;
        }

            .automationVisual .visualCenter .core {
                width: 74px !important;
                height: 74px !important;
                font-size: 13px !important;
            }

                .automationVisual .visualCenter .core small {
                    font-size: 6px !important;
                    margin-top: 5px !important;
                }

    .visualLabels {
        width: 100% !important;
        max-width: 520px !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        margin: 5px auto 0 !important;
        text-align: left !important;
    }

        .visualLabels > div {
            display: grid !important;
            grid-template-columns: 90px minmax(0, 1fr) !important;
            gap: 12px !important;
            width: 100% !important;
            min-width: 0 !important;
            padding: 9px 0 !important;
            border-left: 0 !important;
            border-bottom: 1px solid rgba(255,255,255,.07) !important;
            text-align: left !important;
        }

        .visualLabels b {
            font-size: 9px !important;
            line-height: 1.3 !important;
            text-align: left !important;
        }

        .visualLabels small {
            max-width: none !important;
            margin: 0 !important;
            font-size: 10px !important;
            line-height: 1.5 !important;
            text-align: left !important;
        }

    /* FINAL CTA */
    .final {
        width: 100% !important;
        padding-top: 65px !important;
        padding-bottom: 100px !important;
    }

        .final h2 {
            width: 100% !important;
            max-width: 100% !important;
            font-size: clamp(34px, 10vw, 52px) !important;
            line-height: .98 !important;
        }

        .final p {
            width: 100% !important;
            max-width: 560px !important;
            font-size: 12px !important;
            line-height: 1.6 !important;
        }

    /* LEAD MODAL */
    #ariaLeadModal {
        padding: 12px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    #ariaLeadCard {
        width: min(100%, 430px) !important;
        max-width: 100% !important;
        max-height: calc(100svh - 24px) !important;
        max-height: calc(100vh - 24px) !important;
        overflow-y: auto !important;
        border-radius: 20px !important;
    }

    /* SHIVI */
    #shiviRoot {
        right: 12px !important;
        bottom: 12px !important;
        width: 58px !important;
        max-width: 58px !important;
        height: 58px !important;
    }

        #shiviRoot #shiviChat {
            right: 0 !important;
            bottom: 68px !important;
            width: min(350px, calc(100vw - 24px)) !important;
            max-width: calc(100vw - 24px) !important;
            height: min(420px, calc(100svh - 90px)) !important;
            max-height: calc(100vh - 90px) !important;
        }
}

@media (max-width: 380px) {
    nav {
       
        padding: 0 10px !important;
    }

        nav .aria-logo,
        .aria-logo {
            width: 82px !important;
            max-width: 82px !important;
        }

        nav .navbtn {
            padding: 8px 9px !important;
            font-size: 7px !important;
        }

    section {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .hero {
        padding-top: 96px !important;
    }

        .heroTitle,
        .hero h1 {
            font-size: clamp(34px, 11vw, 44px) !important;
        }

        .hero p {
            font-size: 12px !important;
        }

    .problem h2,
    .stackIntro h2 {
        font-size: clamp(29px, 9.2vw, 38px) !important;
    }

    .problemList li {
        font-size: 11px !important;
    }

    .stackIntro {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .stack {
        width: calc(100vw - 28px) !important;
        max-width: calc(100vw - 28px) !important;
        height: 530px !important;
    }

    .stackCard {
        height: 445px !important;
    }

    .cardContent {
        padding-left: 15px !important;
        padding-right: 14px !important;
    }

        .cardContent h3 {
            font-size: 24px !important;
        }

        .cardContent p {
            font-size: 10.5px !important;
        }

    .visualLabels > div {
        grid-template-columns: 82px minmax(0, 1fr) !important;
        gap: 8px !important;
    }

    .visualLabels small {
        font-size: 9px !important;
    }
}

@media (min-width: 801px) and (max-width: 1100px) {
    section {
        padding-left: 4vw !important;
        padding-right: 4vw !important;
    }

    .problem {
        grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) !important;
        gap: 35px !important;
    }

        .problem h2 {
            width: auto !important;
            max-width: 100% !important;
            white-space: normal !important;
        }

    .stack {
        width: min(960px, calc(100vw - 80px)) !important;
    }

    .cardContent {
        padding-right: 280px !important;
    }

    .cardVisual {
        width: 210px !important;
        right: 24px !important;
    }
}
