/* ══ Pricing (/boost and /boost/success) in the Playground look ══
 * views/look/boost.ejs and views/look/boost-success.ejs, on top of the kit (public/css/look.css). Every rule starts
 * with .lk-boost, the pages' body class. The plans follow the new home's Prices section: Free and Boost on white, Pro on
 * ink with the yellow button, lifted. The hooks public/js/boost.js and dashboard.js toggle (.is-active, aria-pressed,
 * hidden, disabled, .is-loading, .is-playing, the launch toast) are styled here under the page's own names. */

.lk-boost {
    /* Pro's card is the ink ground: its words' muted tone, and the light purple its button's shadow takes (the home's). */
    --lkb-ink-muted: #d1cbe3;
    --lkb-pro-shadow: #a78bfa;
}

/* ── Shared small parts ── */

.lk-boost .lk-boost-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r-sm);
    background: var(--lk-surface);
    color: var(--lk-ink);
}

.lk-boost .lk-boost-icon svg {
    width: 18px;
    height: 18px;
}

.lk-boost .lk-boost-icon--two {
    width: auto;
    padding: 0 5px;
}

.lk-boost .lk-boost-icon--two svg {
    width: 16px;
    height: 16px;
}

.lk-boost .lk-boost-icon--two svg + svg {
    margin-left: -3px;
}

.lk-boost .lk-boost-icon--lilac { background: var(--lk-lilac); }
.lk-boost .lk-boost-icon--mint { background: var(--lk-mint); }
.lk-boost .lk-boost-icon--y { background: var(--lk-y); color: var(--lk-on-y); }

.lk-boost .lk-boost-icon--brand {
    border-color: var(--lk-brand);
    background: var(--lk-brand);
    color: var(--lk-on-brand);
}

.lk-boost .lk-boost-line {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lk-boost .lk-boost-ticks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
    line-height: 1.45;
}

.lk-boost .lk-boost-ticks li {
    display: flex;
    gap: 10px;
}

.lk-boost .lk-boost-tick {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--lk-ok);
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── The hero, on the dotted ground the plans share ── */

.lk-boost .lk-boost-top {
    padding: 44px 0 72px;
}

.lk-boost .lk-boost-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Today's banner, as the hero's eyebrow (the home opens the same way): centred, and free to wrap on a phone. */
.lk-boost .lk-boost-banner {
    justify-content: center;
    max-width: 100%;
    text-align: center;
}

.lk-boost .lk-boost-banner svg {
    flex: 0 0 auto;
}

.lk-boost .lk-boost-title {
    margin-top: 16px;
}

.lk-boost .lk-boost-sub {
    max-width: 40rem;
    margin: 18px auto 0;
}

/* ── The plans ── */

.lk-boost .lk-boost-plans-section {
    margin-top: 28px;
}

.lk-boost .lk-boost-plans {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
}

/* boost.js's box for Monthly and Yearly (.st-pr-plan--pro): drawn as nothing, so its switch, Free and Pro are the
   grid's own items. */
.lk-boost .lk-boost-scope {
    display: contents;
}

/* In the page it comes between Free and Pro, so on phones and tablets it sits right above Pro's price; from 1,024 px
   it moves up over the three cards, centred over Pro's column. */
.lk-boost .lk-boost-period {
    grid-column: 1 / -1;
    align-self: start;
    justify-self: center;
    flex-wrap: nowrap;
}

.lk-boost .lk-boost-period > button {
    min-height: 44px;
    padding: 8px 16px;
    white-space: nowrap;
}

.lk-boost .lk-boost-period small {
    margin-left: 6px;
    padding: 2px 7px;
    border-radius: 6px;
    background: var(--lk-y);
    color: var(--lk-on-y);
    font-size: 11.5px;
    font-weight: 800;
}

.lk-boost .lk-boost-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    padding: 28px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r-lg);
    background: var(--lk-surface);
    box-shadow: var(--lk-sh-lg);
    color: var(--lk-ink);
}

/* The price sits at the head's foot, so side by side the three prices share a line whether or not a plan has a tag. */
.lk-boost .lk-boost-plan-head {
    display: flex;
    flex-direction: column;
}

.lk-boost .lk-boost-plan-head > .lk-boost-price,
.lk-boost .lk-boost-plan-head > .lk-boost-price-box {
    margin-top: auto;
    padding-top: 16px;
}

.lk-boost .lk-boost-plan-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lk-boost .lk-boost-tier {
    font: 800 24px/1.15 var(--lk-disp);
    letter-spacing: -0.01em;
}

.lk-boost .lk-boost-tag {
    margin-top: 8px;
    color: var(--lk-muted);
    font-size: 14.5px;
}

.lk-boost .lk-boost-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
}

.lk-boost .lk-boost-price b {
    font: 900 48px/1 var(--lk-disp);
    letter-spacing: -0.02em;
}

.lk-boost .lk-boost-price span {
    color: var(--lk-muted);
    font-size: 15px;
}

.lk-boost .lk-boost-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
}

/* Launching…: the button keeps its solid edge and shows the kit's spinner after its words. The spinner is drawn by CSS,
   so it stays when dashboard.js writes the words. */
.lk-boost .lk-boost-plan .lk-btn.is-loading,
.lk-boost .lk-boost-plan .lk-btn.is-loading:hover {
    opacity: 1;
    cursor: progress;
    transform: none;
}

.lk-boost .lk-boost-plan .lk-btn.is-loading::after {
    content: "";
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    border: 2.5px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: lk-spin 0.7s linear infinite;
}

/* Coming soon: a dashed edge and no shadow, still readable. Launching… (dashboard.js's .is-loading) has its own look,
   below, and the quiet button keeps the kit's fade. */
.lk-boost .lk-boost-plan .lk-btn[disabled]:not(.lk-btn--quiet):not(.is-loading),
.lk-boost .lk-boost-plan .lk-btn[disabled]:not(.lk-btn--quiet):not(.is-loading):hover {
    opacity: 1;
    border-style: dashed;
    background: var(--lk-surface-2);
    box-shadow: none;
    color: var(--lk-muted);
    transform: none;
}

/* A Pro member: what they have, where Get Pro would be. */
.lk-boost .lk-boost-have {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 16px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r);
    background: var(--lk-mint);
    color: var(--lk-ink);
    font-weight: 700;
    text-align: center;
}

/* Striqr Pro: the ink card with the yellow button, as on the home. */
.lk-boost .lk-boost-plan--pro {
    --lk-muted: var(--lkb-ink-muted);
    --lk-focus: var(--lk-y);
    /* As on the kit's ink band: the shadows inside take the light purple (a var() is worked out where it is set, so the
       three sizes are set again here). */
    --lk-shadow: var(--lkb-pro-shadow);
    --lk-sh-sm: 3px 3px 0 var(--lk-shadow);
    --lk-sh: 4px 4px 0 var(--lk-shadow);
    --lk-sh-lg: 6px 6px 0 var(--lk-shadow);
    background: var(--lk-ground);
    box-shadow: 8px 8px 0 var(--lk-brand);
    color: var(--lk-on-ground);
}

.lk-boost .lk-boost-plan--pro .lk-boost-tick {
    color: var(--lk-y);
}

.lk-boost .lk-boost-plan--pro .lk-boost-have .lk-boost-tick {
    color: var(--lk-ok);
}

.lk-boost .lk-boost-plan--pro .lk-btn[disabled]:not(.lk-btn--quiet):not(.is-loading),
.lk-boost .lk-boost-plan--pro .lk-btn[disabled]:not(.lk-btn--quiet):not(.is-loading):hover {
    border-color: var(--lkb-ink-muted);
    background: transparent;
    box-shadow: none;
    color: var(--lkb-ink-muted);
}

.lk-boost .lk-boost-pop {
    top: -18px;
    right: 22px;
    box-shadow: 3px 3px 0 var(--lk-ink);
    --r: 3deg;
    animation: lkb-pop 0.55s cubic-bezier(0.3, 1.6, 0.4, 1) 0.35s both;
}

@keyframes lkb-pop {
    from {
        opacity: 0;
        transform: rotate(var(--r)) scale(0.5);
    }

    to {
        opacity: 1;
        transform: rotate(var(--r)) scale(1);
    }
}

/* Tablets: Free runs across the top (its list beside its price), Pro and Boost under it. */
@media (min-width: 641px) and (max-width: 1023.98px) {
    .lk-boost .lk-boost-plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
    }

    .lk-boost .lk-boost-plan--free {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "head ticks" "actions ticks";
        gap: 20px 32px;
        align-items: start;
    }

    .lk-boost .lk-boost-plan--free > .lk-boost-plan-head { grid-area: head; }
    .lk-boost .lk-boost-plan--free > .lk-boost-ticks { grid-area: ticks; align-self: center; }
    .lk-boost .lk-boost-plan--free > .lk-boost-actions { grid-area: actions; margin-top: 0; }

    /* Its own row, over Pro's column (the left one under Free), with Pro and Boost under it. */
    .lk-boost .lk-boost-period {
        grid-row: 2;
        grid-column: 1;
    }

    .lk-boost .lk-boost-plan--pro {
        grid-row: 3;
        grid-column: 1;
    }

    .lk-boost .lk-boost-plan--boost {
        grid-row: 3;
        grid-column: 2;
    }
}

/* Laptops and up: three side by side, Pro lifted. With subgrid, the heads, lists and buttons line up across them. */
@media (min-width: 1024px) {
    .lk-boost .lk-boost-plans {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 40px 24px;
        align-items: stretch;
    }

    .lk-boost .lk-boost-period {
        grid-row: 1;
    }

    .lk-boost .lk-boost-plan--pro {
        transform: translateY(-10px);
    }
}

/* Small laptops: a narrower price, so "US$9.99 / mes" keeps one line in a third of the frame. */
@media (min-width: 1024px) and (max-width: 1279.98px) {
    .lk-boost .lk-boost-plan {
        padding: 26px 24px;
    }

    .lk-boost .lk-boost-price b {
        font-size: 42px;
    }
}

@supports (grid-template-rows: subgrid) {
    @media (min-width: 1024px) {
        .lk-boost .lk-boost-plans {
            row-gap: 0;
        }

        .lk-boost .lk-boost-period {
            margin-bottom: 40px;
        }

        .lk-boost .lk-boost-plan {
            display: grid;
            grid-row: span 3;
            grid-template-rows: subgrid;
            gap: 0;
        }

        .lk-boost .lk-boost-plan > .lk-boost-ticks {
            margin-top: 22px;
        }

        .lk-boost .lk-boost-plan > .lk-boost-actions {
            align-self: start;
            margin-top: 24px;
        }
    }
}

/* ── How Boosts work ── */

.lk-boost .lk-boost-level-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.lk-boost .lk-boost-level {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lk-boost .lk-boost-level .lk-boost-icon {
    align-self: flex-start;
    margin-bottom: 4px;
}

.lk-boost .lk-boost-level p {
    color: var(--lk-muted);
}

.lk-boost .lk-boost-level--super {
    background: var(--lk-sun);
}

/* Two side by side where they have the room: a phone held sideways and tablets, and wide laptops. */
@media (min-width: 640px) and (max-width: 899.98px), (min-width: 1200px) {
    .lk-boost .lk-boost-level-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ── AI credits: what they're for, and buying them ── */

.lk-boost .lk-boost-credits-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
}

.lk-boost .lk-boost-credits-copy .lk-boost-ticks {
    margin-top: 24px;
}

.lk-boost .lk-boost-buy {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 26px;
    box-shadow: 8px 8px 0 var(--lk-brand);
}

.lk-boost .lk-boost-presets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.lk-boost .lk-boost-preset {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 86px;
    margin: 0;
    padding: 12px 8px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r);
    background: var(--lk-surface);
    box-shadow: var(--lk-sh);
    color: var(--lk-ink);
    font: inherit;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
    -webkit-tap-highlight-color: transparent;
}

.lk-boost .lk-boost-preset:hover {
    background: var(--lk-lilac);
}

.lk-boost .lk-boost-preset-amt {
    font: 900 26px/1 var(--lk-disp);
    letter-spacing: -0.01em;
}

.lk-boost .lk-boost-preset-cr {
    color: var(--lk-muted);
    font: 600 12.5px/1.2 var(--lk-mono);
}

/* The chosen pack (boost.js and dashboard.js move .is-active): pressed in, ink, with a tick badge, so colour isn't the
   only sign. */
.lk-boost .lk-boost-preset.is-active,
.lk-boost .lk-boost-preset.is-active:hover {
    background: var(--lk-ink);
    box-shadow: none;
    color: var(--lk-bg);
    transform: translate(3px, 3px);
}

.lk-boost .lk-boost-preset.is-active .lk-boost-preset-cr {
    color: inherit;
}

.lk-boost .lk-boost-preset.is-active::before,
.lk-boost .lk-boost-preset.is-active::after {
    content: "";
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.lk-boost .lk-boost-preset.is-active::before {
    border: var(--lk-bw) solid var(--lk-line);
    background: var(--lk-y);
}

.lk-boost .lk-boost-preset.is-active::after {
    background: var(--lk-ink);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.lk-boost .lk-boost-amount-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* The amount box: the currency and the number in one outlined field; the ring shows on the field while typing. */
.lk-boost .lk-boost-amount-box {
    display: flex;
    flex: 1 1 200px;
    align-items: center;
    min-width: 0;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r);
    background: var(--lk-surface);
    box-shadow: var(--lk-sh-sm);
}

.lk-boost .lk-boost-amount-box:focus-within {
    outline: 3px solid var(--lk-focus);
    outline-offset: 2px;
}

.lk-boost .lk-boost-cur {
    flex: 0 0 auto;
    padding-left: 14px;
    color: var(--lk-muted);
    font: 700 18px var(--lk-body);
}

/* The box around it draws the edge, the shadow and the focus ring. */
.lk-boost .lk-boost-amount-input,
.lk-boost .lk-boost-amount-input:focus {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 8px;
    border: 0;
    background: transparent;
    box-shadow: none;
    outline: none;
    font-size: 18px;
    font-weight: 700;
}

.lk-boost .lk-boost-total {
    padding: 8px 14px;
    font: 600 14px/1.2 var(--lk-mono);
}

/* ── What credits buy: the demo ── */

.lk-boost .lk-boost-demo {
    margin: 64px 0 0;
    overflow: hidden;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r-lg);
    background: var(--lk-surface);
    box-shadow: 8px 8px 0 var(--lk-brand);
}

.lk-boost .lk-boost-demo-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.lk-boost .lk-boost-demo-chat {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    border-bottom: var(--lk-bw) solid var(--lk-line);
    background: var(--lk-surface-2);
}

.lk-boost .lk-boost-demo-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.lk-boost .lk-boost-demo-name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font: 800 18px var(--lk-disp);
}

.lk-boost .lk-boost-demo-name .lk-boost-icon {
    width: 30px;
    height: 30px;
}

.lk-boost .lk-boost-demo-name .lk-boost-icon svg {
    width: 16px;
    height: 16px;
}

.lk-boost .lk-boost-demo-me {
    align-self: flex-end;
    max-width: 85%;
    padding: 11px 15px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 16px 16px 4px 16px;
    background: var(--lk-lilac);
    font-weight: 600;
}

.lk-boost .lk-boost-demo-bot {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: flex-start;
    max-width: 92%;
    padding: 13px 16px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 16px 16px 16px 4px;
    background: var(--lk-surface);
}

.lk-boost .lk-boost-demo-files {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lk-boost .lk-boost-demo-files li {
    padding: 3px 9px;
    border: 1.5px solid var(--lk-line);
    border-radius: 999px;
    background: var(--lk-mint);
    font: 500 12.5px var(--lk-mono);
}

.lk-boost .lk-boost-demo-files li::after {
    content: " \2713";
}

.lk-boost .lk-boost-demo-side {
    padding: 22px;
}

.lk-boost .lk-boost-demo-app {
    box-shadow: var(--lk-sh);
}

.lk-boost .lk-boost-demo-page {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px 20px;
}

.lk-boost .lk-boost-demo-title {
    font: 900 24px/1.1 var(--lk-disp);
}

.lk-boost .lk-boost-demo-add {
    display: flex;
    gap: 8px;
}

.lk-boost .lk-boost-demo-add span {
    flex: 1;
    min-height: 40px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r-sm);
}

.lk-boost .lk-boost-demo-add b {
    display: grid;
    place-items: center;
    padding: 0 16px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r-sm);
    background: var(--lk-brand);
    color: var(--lk-on-brand);
}

.lk-boost .lk-boost-demo-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lk-boost .lk-boost-demo-items li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r-sm);
    font-size: 15px;
}

.lk-boost .lk-boost-demo-items li::before {
    content: "";
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 5px;
    background: var(--lk-surface);
}

.lk-boost .lk-boost-demo-items li.is-done {
    background: var(--lk-mint);
    text-decoration: line-through;
}

.lk-boost .lk-boost-demo-items li.is-done::before {
    background: var(--lk-ink);
}

.lk-boost .lk-boost-demo-cap {
    padding: 14px 22px;
    border-top: var(--lk-bw) solid var(--lk-line);
    background: var(--lk-sun);
    font-size: 15px;
    font-weight: 700;
}

/* It moves only while boost.js says it is in view (.is-playing), on a 9 s loop; still otherwise, and with less motion. */
.lk-boost .lk-boost-demo.is-playing .lk-boost-demo-s1 { animation: lkb-demo-1 9s infinite both; }
.lk-boost .lk-boost-demo.is-playing .lk-boost-demo-s2 { animation: lkb-demo-2 9s infinite both; }
.lk-boost .lk-boost-demo.is-playing .lk-boost-demo-s3 { animation: lkb-demo-3 9s infinite both; }
.lk-boost .lk-boost-demo.is-playing .lk-boost-demo-s4 { animation: lkb-demo-4 9s infinite both; }
.lk-boost .lk-boost-demo.is-playing .lk-boost-demo-s5 { animation: lkb-demo-5 9s infinite both; }
.lk-boost .lk-boost-demo.is-playing .lk-boost-demo-s5:nth-child(2) { animation-name: lkb-demo-6; }
.lk-boost .lk-boost-demo.is-playing .lk-boost-demo-s5:nth-child(3) { animation-name: lkb-demo-7; }

@keyframes lkb-demo-1 { 0%, 4% { opacity: 0; transform: translateY(8px); } 9%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes lkb-demo-2 { 0%, 16% { opacity: 0; transform: translateY(8px); } 22%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes lkb-demo-3 { 0%, 30% { opacity: 0; transform: scale(0.94); } 36%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes lkb-demo-4 { 0%, 44% { opacity: 0; transform: translateY(10px); } 52%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes lkb-demo-5 { 0%, 58% { opacity: 0; transform: translateX(-8px); } 63%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes lkb-demo-6 { 0%, 63% { opacity: 0; transform: translateX(-8px); } 68%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes lkb-demo-7 { 0%, 68% { opacity: 0; transform: translateX(-8px); } 73%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

@media (min-width: 760px) {
    .lk-boost .lk-boost-demo-stage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lk-boost .lk-boost-demo-chat {
        border-right: var(--lk-bw) solid var(--lk-line);
        border-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .lk-boost .lk-boost-credits-grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: clamp(40px, 5vw, 96px);
        align-items: center;
    }

    .lk-boost .lk-boost-buy {
        padding: 30px;
    }
}

/* ── The launch toast (dashboard.js adds #stLaunchFailed to the body when a project couldn't start) ── */

.lk-boost .st-launch-failed {
    position: fixed;
    top: calc(var(--lk-nav-h) + 12px);
    left: 50%;
    z-index: 950;
    max-width: calc(100% - 32px);
    padding: 12px 16px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r);
    background: var(--lk-danger-bg);
    box-shadow: var(--lk-sh-sm);
    color: var(--lk-ink);
    font: 600 15px/1.4 var(--lk-body);
    transform: translateX(-50%);
}

/* ── The page after paying ── */

.lk-boost .lk-boost-ok-band {
    padding: 64px 0 88px;
    background: var(--lk-dots), var(--lk-mint);
}

.lk-boost .lk-boost-ok-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 48px 40px 40px;
    box-shadow: 8px 8px 0 var(--lk-shadow);
    text-align: center;
}

.lk-boost .lk-boost-ok-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r-lg);
    background: var(--lk-y);
    box-shadow: var(--lk-sh);
    color: var(--lk-on-y);
    transform: rotate(-4deg);
}

.lk-boost .lk-boost-ok-icon svg {
    width: 36px;
    height: 36px;
}

.lk-boost .lk-boost-ok-title {
    margin-top: 26px;
}

.lk-boost .lk-boost-ok-lead {
    margin-top: 12px;
}

.lk-boost .lk-boost-ok-receipt {
    margin-top: 10px;
    color: var(--lk-muted);
    overflow-wrap: anywhere;
}

.lk-boost .lk-boost-ok-go {
    margin-top: 30px;
}

.lk-boost .lk-boost-ok-name {
    top: -18px;
    right: 24px;
    --r: 4deg;
    animation: lkb-pop 0.55s cubic-bezier(0.3, 1.6, 0.4, 1) 0.3s both;
}

/* ── Phones ── */

@media (max-width: 640px) {
    .lk-boost .lk-boost-top {
        padding: 32px 0 56px;
    }

    .lk-boost .lk-boost-plan {
        padding: 24px 22px;
    }

    .lk-boost .lk-boost-plan--pro {
        box-shadow: 6px 6px 0 var(--lk-brand);
    }

    .lk-boost .lk-boost-buy {
        padding: 22px 20px;
    }

    .lk-boost .lk-boost-demo {
        margin-top: 48px;
    }

    .lk-boost .lk-boost-demo-chat,
    .lk-boost .lk-boost-demo-side {
        padding: 18px;
    }

    .lk-boost .lk-boost-demo-cap {
        padding: 12px 18px;
    }

    .lk-boost .lk-boost-ok-band {
        padding: 44px 0 64px;
    }

    .lk-boost .lk-boost-ok-card {
        padding: 40px 22px 24px;
    }

    .lk-boost .lk-boost-ok-go {
        width: 100%;
    }
}

/* Narrow phones: the packs as rows, the price on the left and its credits on the right. */
@media (max-width: 520px) {
    .lk-boost .lk-boost-presets {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .lk-boost .lk-boost-preset {
        flex-direction: row;
        justify-content: space-between;
        min-height: 56px;
        padding: 10px 18px;
    }
}

/* ── Big monitors: a little more room and type, as on the home ── */

@media (min-width: 1600px) {
    .lk-boost .lk-boost-top {
        padding: clamp(56px, 3.4vw, 88px) 0 clamp(96px, 5.6vw, 136px);
    }

    .lk-boost .lk-boost-plans-section {
        margin-top: 36px;
    }

    .lk-boost .lk-boost-period > button {
        min-height: 48px;
        font-size: 15px;
    }

    .lk-boost .lk-boost-plans {
        column-gap: 36px;
    }

    .lk-boost .lk-boost-plan {
        padding: 34px;
    }

    .lk-boost .lk-boost-tier {
        font-size: 27px;
    }

    .lk-boost .lk-boost-icon {
        width: 38px;
        height: 38px;
    }

    .lk-boost .lk-boost-icon--two {
        width: auto;
    }

    .lk-boost .lk-boost-tag,
    .lk-boost .lk-boost-price span {
        font-size: 16px;
    }

    .lk-boost .lk-boost-price b {
        font-size: 56px;
    }

    .lk-boost .lk-boost-ticks {
        gap: 12px;
        font-size: 16.5px;
    }

    .lk-boost .lk-boost-tick {
        width: 20px;
        height: 20px;
    }

    .lk-boost .lk-boost-buy {
        justify-self: end;
        width: 100%;
        max-width: 680px;
        padding: 36px;
    }

    .lk-boost .lk-boost-preset {
        min-height: 98px;
    }

    .lk-boost .lk-boost-preset-amt {
        font-size: 30px;
    }

    .lk-boost .lk-boost-preset-cr {
        font-size: 13.5px;
    }

    .lk-boost .lk-boost-demo {
        margin-top: 80px;
    }

    .lk-boost .lk-boost-demo-chat,
    .lk-boost .lk-boost-demo-side {
        padding: 28px;
    }

    .lk-boost .lk-boost-demo-me,
    .lk-boost .lk-boost-demo-bot,
    .lk-boost .lk-boost-demo-items li {
        font-size: 16.5px;
    }

    .lk-boost .lk-boost-demo-title {
        font-size: 28px;
    }

    .lk-boost .lk-boost-demo-cap {
        padding: 16px 28px;
        font-size: 16px;
    }

    .lk-boost .lk-boost-ok-card {
        max-width: 680px;
        padding: 56px 48px 48px;
    }
}

/* ── Less motion: the stickers sit still, the demo shows every step at once, the packs don't slide ── */

@media (prefers-reduced-motion: reduce) {
    .lk-boost .lk-boost-pop,
    .lk-boost .lk-boost-ok-name {
        animation: none;
    }

    .lk-boost .lk-boost-demo.is-playing [class*="lk-boost-demo-s"] {
        animation: none;
    }

    .lk-boost .lk-boost-preset {
        transition: none;
    }

    .lk-boost .lk-boost-plan .lk-btn.is-loading::after {
        animation: none;
    }
}

/* ══ Pricing in the Playground look: end ══ */
