.landing-assistant {
    margin-block-start: var(--section-gap);
}

.landing-assistant-panel {
    display: grid;
    gap: var(--space-5);
    padding: var(--space-4);
    border: 1px solid #d8e8ce;
    border-radius: 1rem;
    background:
        linear-gradient(152deg, #ffffff08 18%, transparent 19% 42%, #bcffd01a 53%, transparent 60%),
        radial-gradient(ellipse at 75% 130%, #14674c 3%, transparent 62%),
        linear-gradient(128deg, #093e2e, #03271f 69%, #0a4937);
    box-shadow: 0 .22rem .3rem #051d2440, inset 0 1px 0 #ffffff22;
    color: #fffdf3;
}

.landing-assistant-intro,
.landing-assistant-chat {
    min-width: 0;
}

.landing-assistant-intro h2 {
    color: inherit;
    text-wrap: balance;
}

.landing-assistant-intro h2 span {
    display: inline-block;
    padding: .03em .26em .08em;
    border-radius: .19em;
    background: linear-gradient(#e4fe61, #c2f218 74%);
    box-shadow: inset 0 1px 0 #fbffd3;
    color: #0b2c1f;
    font-weight: var(--weight-bold);
}

.landing-assistant-prompts {
    display: grid;
    gap: var(--space-2);
    max-width: 29rem;
    margin: var(--heading-gap) 0 0;
    padding: 0;
    list-style: none;
}

.landing-assistant-prompt {
    display: grid;
    grid-template-columns: 1.15rem minmax(0, 1fr) 1.15rem;
    align-items: center;
    gap: .65rem;
    width: 100%;
    min-height: var(--control-min);
    padding: .31rem .72rem;
    border: 1px solid #eef7e6b8;
    border-radius: 999px;
    background: linear-gradient(180deg, #1662484d, #011d1759);
    color: #fffdf3;
    font: var(--type-control);
    text-align: left;
}

.landing-assistant-prompt:hover {
    background: #246e51;
}

.landing-assistant-prompt > .icon {
    filter: brightness(0) saturate(100%) invert(89%) sepia(97%) saturate(943%) hue-rotate(12deg) brightness(105%) contrast(96%);
}

.landing-assistant-chat {
    display: grid;
    align-content: center;
    gap: var(--space-2);
}

.landing-assistant-turn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    min-width: 0;
}

.landing-assistant-question {
    justify-content: flex-end;
}

.landing-assistant-user,
.landing-assistant-avatar {
    display: grid;
    flex: none;
    width: 1.95rem;
    height: 1.95rem;
    place-items: center;
    border-radius: 50%;
}

.landing-assistant-user {
    border: 1px solid #e7f1df;
    background: linear-gradient(#dfebdb, #9bc091);
}

.landing-assistant-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid #c5deac;
    background: radial-gradient(ellipse at top, #4a7758, #063829 56%, #001e15);
    box-shadow: 0 .1rem .15rem #001b13;
}

.landing-assistant-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.landing-assistant-bubble {
    position: relative;
    max-width: min(92%, calc(100% - 2.8rem));
    padding: .42rem .68rem;
    border-radius: .55rem;
    color: #10251d;
    font: var(--type-body);
    overflow-wrap: anywhere;
}

.landing-assistant-question .landing-assistant-bubble {
    background: linear-gradient(#edffd3, #d3efaa);
}

.landing-assistant-reply .landing-assistant-bubble {
    background: linear-gradient(#fbfdfc, #e4ece9);
}

@media (prefers-reduced-motion: no-preference) {
    .landing-assistant-reply-entering {
        animation: landing-assistant-reply-in var(--motion-feedback, 190ms) var(--motion-ease, cubic-bezier(.2, .7, .25, 1));
    }
}

@keyframes landing-assistant-reply-in {
    from { opacity: 0; transform: translateY(.35rem); }
    to { opacity: 1; transform: translateY(0); }
}

.landing-assistant-bubble::before {
    position: absolute;
    inset-block-start: 50%;
    width: .42rem;
    height: .5rem;
    transform: translateY(-50%);
    content: '';
}

.landing-assistant-question .landing-assistant-bubble::before {
    inset-inline-start: calc(100% - .05rem);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    background: #e0f7bd;
}

.landing-assistant-reply .landing-assistant-bubble::before {
    inset-inline-end: calc(100% - .05rem);
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
    background: #eff5f1;
}

.landing-assistant-bubble a {
    display: inline-block;
    margin-top: .28rem;
    font-weight: var(--weight-semibold);
    text-underline-offset: .15em;
}

.landing-assistant-form {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: var(--space-1);
    min-width: 0;
    min-height: var(--control-min);
    margin-top: .16rem;
    padding: .14rem;
    border: 1px solid #e8eee9;
    border-radius: 999px;
    background: linear-gradient(105deg, #f9fbfa, #e7ebea);
    color: #10251d;
    box-shadow: 0 .1rem .2rem #001f196b;
}

.landing-assistant-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.landing-assistant-form input {
    flex: 1;
    min-width: 0;
    padding: .35rem .62rem .35rem .8rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font: var(--type-body);
}

.landing-assistant-form input::placeholder {
    color: #526057;
    opacity: 1;
}

.landing-assistant-send {
    display: grid;
    flex: none;
    min-width: 3.75rem;
    min-height: var(--control-min);
    padding: 0 .27rem;
    place-items: center;
    border: 1px solid #d0e75a;
    border-radius: 999px;
    background: linear-gradient(#f0ff78, #c7f520 52%, #bbde18);
    box-shadow: inset 0 1px 0 #f9ffd9, 0 1px 3px #27501b3d;
}

.landing-assistant-send:hover {
    background: #d7f944;
}

.landing-assistant-send img {
    width: 2.45rem;
    height: 2.45rem;
    filter: brightness(.6) saturate(1.25);
}

.landing-assistant-mode {
    margin: -.2rem .33rem 0;
    color: #deebdf;
    font: var(--type-caption);
}

.landing-assistant-panel :focus-visible {
    outline-color: #e6fc93;
    outline-offset: 2px;
}

.landing-assistant-form input:focus-visible,
.landing-assistant-send:focus-visible,
.landing-assistant-bubble a:focus-visible {
    outline-color: #27613b;
    outline-offset: -2px;
}

.landing-assistant-noscript {
    color: #fffdf3;
}

.landing-assistant-saved {
    margin-top: var(--space-1);
    color: var(--forest, #103f2d);
}

.landing-assistant-saved > summary {
    width: fit-content;
    display: list-item;
    align-content: center;
    min-height: var(--control-min);
    margin-inline-start: auto;
    padding: .3rem .3rem .3rem .66rem;
    font: var(--type-label);
    cursor: pointer;
}

.landing-assistant-saved-list {
    display: grid;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--line, #dbe3d4);
    border-radius: .65rem;
    background: var(--paper, #fffdf6);
}

.landing-assistant-saved-list details + details {
    border-top: 1px solid var(--line, #dbe3d4);
}

.landing-assistant-saved-list summary {
    min-height: var(--control-min);
    padding-block: .48rem;
    font: var(--type-label);
    cursor: pointer;
}

.landing-assistant-saved-list summary span {
    margin-inline-start: .45rem;
    color: var(--muted, #495d4f);
    font: var(--type-caption);
}

.landing-assistant-answer-source {
    color: var(--muted, #495d4f);
    font: var(--type-caption);
}

.landing-assistant-answer-copy {
    max-width: 74ch;
    margin-block: .3rem .4rem;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

@media (min-width: 48rem) {
    .landing-assistant-panel {
        grid-template-columns: minmax(0, 41fr) minmax(0, 59fr);
        align-items: center;
        gap: var(--space-5);
        padding: var(--space-5) var(--space-6);
    }

    .landing-assistant-intro {
        height: 100%;
        padding-inline-end: var(--space-5);
        border-inline-end: 1px solid #d6e6d092;
    }

    .landing-assistant-prompts {
        max-width: 20rem;
    }

    .landing-assistant-prompt {
        padding-block: .13rem;
    }

    .landing-assistant-user {
        width: 1.64rem;
        height: 1.64rem;
    }

    .landing-assistant-form {
        margin-top: var(--space-1);
    }

    .landing-assistant-form input {
        padding-block: .18rem;
    }

    .landing-assistant-send img {
        width: 2.15rem;
        height: 1.85rem;
    }

}
