.chat-home-masthead {
    position: relative;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    min-height: 132px;
    margin: 0 0 14px;
    padding: 10px 24px 10px 16px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(71, 161, 245, .18);
    border-radius: 22px;
    background:
        radial-gradient(circle at 8% 50%, rgba(24, 216, 255, .15), transparent 15rem),
        radial-gradient(circle at 94% 12%, rgba(8, 104, 255, .16), transparent 18rem),
        linear-gradient(135deg, rgba(7, 29, 54, .92), rgba(3, 13, 28, .9));
    box-shadow: 0 18px 54px rgba(0, 5, 20, .3), inset 0 1px 0 rgba(255, 255, 255, .03);
}

.chat-home-masthead::before {
    content: "";
    position: absolute;
    inset: auto 8% 0;
    height: 1px;
    z-index: -1;
    background: linear-gradient(90deg, transparent, rgba(24, 216, 255, .5), rgba(240, 179, 61, .42), transparent);
    box-shadow: 0 0 18px rgba(24, 216, 255, .18);
}

.chat-home-masthead::after {
    content: "";
    position: absolute;
    width: 460px;
    height: 120px;
    right: -110px;
    bottom: -90px;
    z-index: -2;
    border: 1px solid rgba(24, 216, 255, .16);
    border-radius: 50%;
    transform: rotate(-8deg);
    box-shadow: 0 0 34px rgba(8, 104, 255, .08);
}

.chat-home-masthead-visual {
    position: relative;
    min-width: 0;
    height: 112px;
    display: grid;
    place-items: center;
    perspective: 700px;
}

.chat-home-masthead .chatbot-robot--hero {
    --robot-scale: .58;
}

.chat-home-masthead .robot-orbit-bubble {
    position: absolute;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid rgba(24, 216, 255, .22);
    background: linear-gradient(145deg, rgba(7, 38, 72, .86), rgba(5, 19, 38, .8));
    color: #dcf8ff;
    box-shadow: 0 8px 24px rgba(0, 6, 20, .28), 0 0 18px rgba(24, 216, 255, .08);
    font-weight: 800;
    pointer-events: none;
}

.chat-home-masthead .robot-orbit-bubble--chat {
    width: 40px;
    height: 34px;
    left: 4px;
    top: 12px;
    color: var(--cyan);
    letter-spacing: .08em;
}

.chat-home-masthead .robot-orbit-bubble--idea {
    width: 36px;
    height: 36px;
    right: 3px;
    bottom: 8px;
    color: var(--gold-bright);
    border-color: rgba(240, 179, 61, .24);
    box-shadow: 0 8px 24px rgba(0, 6, 20, .28), 0 0 18px rgba(240, 179, 61, .08);
}

.chat-home-masthead-copy {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.chat-home-masthead-logo {
    position: relative;
    font-size: clamp(30px, 3vw, 44px);
    line-height: .94;
    font-weight: 950;
    font-style: italic;
    letter-spacing: -.065em;
    color: #fff;
    text-shadow: 0 0 20px rgba(24, 216, 255, .12);
}

.chat-home-masthead-logo::after {
    content: "";
    display: block;
    width: 78%;
    height: 2px;
    margin-top: 8px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--cyan), transparent);
    box-shadow: 0 0 12px rgba(24, 216, 255, .25);
}

.chat-home-masthead-text {
    min-width: 0;
}

.chat-home-masthead-text strong {
    display: block;
    margin-bottom: 4px;
    color: #f8fcff;
    font-size: 16px;
    font-weight: 760;
}

.chat-home-masthead-text span {
    display: block;
    max-width: 680px;
    color: #86a2bd;
    font-size: 12px;
    line-height: 1.5;
}

.chat-home-masthead-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.chat-home-masthead-badge {
    min-height: 28px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(93, 177, 255, .16);
    background: rgba(8, 31, 57, .62);
    color: #9ebbd5;
    font-size: 10px;
    font-weight: 720;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .chat-home-masthead {
        grid-template-columns: 118px minmax(0, 1fr);
        min-height: 112px;
        padding: 8px 16px 8px 10px;
    }

    .chat-home-masthead-visual {
        height: 96px;
    }

    .chat-home-masthead .chatbot-robot--hero {
        --robot-scale: .48;
    }

    .chat-home-masthead-copy {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 18px;
    }

    .chat-home-masthead-badges {
        display: none;
    }
}

@media (max-width: 720px) {
    .chat-home-masthead {
        grid-template-columns: 82px minmax(0, 1fr);
        min-height: 88px;
        border-radius: 18px;
        padding: 7px 12px 7px 6px;
    }

    .chat-home-masthead-visual {
        height: 74px;
    }

    .chat-home-masthead .chatbot-robot--hero {
        --robot-scale: .36;
    }

    .chat-home-masthead .robot-orbit-bubble {
        display: none;
    }

    .chat-home-masthead-copy {
        display: block;
    }

    .chat-home-masthead-logo {
        font-size: 28px;
    }

    .chat-home-masthead-logo::after {
        width: 92px;
        margin-top: 5px;
    }

    .chat-home-masthead-text strong {
        margin-top: 6px;
        margin-bottom: 0;
        font-size: 12px;
    }

    .chat-home-masthead-text span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chat-home-masthead *,
    .chat-home-masthead *::before,
    .chat-home-masthead *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
    }
}
