/* ══ The product pages (/product/<slug>) and Pygame online (/pygame-online-compiler) in the Playground look ══
 * views/look/product-feature.ejs and views/look/pygame-online.ejs, on top of the kit (public/css/look.css). Both
 * bodies say lk-product (Pygame adds lk-pygame), and every rule here starts with .lk-product.
 * The pictures are the partials home and today's product pages share (views/partials/fx/: st-fx-*, st-collab-*,
 * st-update-*, st-gui-card-*), redrawn here in ink outlines and offset shadows. partials/fx/scripts toggles their
 * is-hidden, is-typing and st-collab-line--active, which this file styles too. */

.lk-product {
    /* Code, as the editor colours it. */
    --lkp-kw: #7c3aed;
    --lkp-fn: #0369a1;
    --lkp-str: #15803d;
    --lkp-num: #c2410c;
    /* Terminals and the dark starter editor. */
    --lkp-term: #17131f;
    --lkp-term-bar: #241f31;
    --lkp-term-line: rgba(255, 255, 255, 0.16);
    --lkp-term-text: #f3f0fa;
    --lkp-term-dim: #c9c2d8;
    --lkp-term-ok: #86efac;
    --lkp-term-err: #fca5a5;
    --lkp-on-dark-focus: #c4b5fd;
    --lkp-on-dark-shadow: #a78bfa;
    /* A window's three dots. */
    --lkp-dot-r: #ff8fa3;
    --lkp-dot-g: #7ee2a8;
    /* People in the live editor: the editor's cursor colours. */
    --lkp-p1: #7c3aed;
    --lkp-p2: #db2777;
    --lkp-p3: #0369a1;
    --lkp-live: #16a34a;
    /* The games, drawn. */
    --lkp-sky: #7dd3fc;
    --lkp-cloud: rgba(255, 255, 255, 0.92);
    --lkp-grass: #86efac;
    --lkp-grass-edge: #15803d;
    --lkp-pipe: #22c55e;
    --lkp-pipe-edge: #14532d;
    --lkp-bird: #facc15;
    --lkp-beak: #fb923c;
    --lkp-snake: #22c55e;
    --lkp-snake-head: #4ade80;
    --lkp-apple: #ef4444;
    --lkp-pong: #1e1b4b;
    --lkp-pong-net: #818cf8;
    --lkp-white: #ffffff;
}

/* Buttons inside the page wrap rather than push past a phone's edge (Spanish and Portuguese are longer). */
.lk-product main .lk-btn {
    max-width: 100%;
    white-space: normal;
}

.lk-product main .lk-btn--lg {
    min-height: 54px;
    padding-block: 10px;
}

.lk-product .lk-pf-nowrap {
    white-space: nowrap;
}

/* ── The crumb trail (both pages) ── */

.lk-product .lk-pf-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
    margin: 0;
    padding: 0;
    list-style: none;
    font: 500 13px/1.4 var(--lk-mono);
    color: var(--lk-muted);
}

.lk-product .lk-pf-crumbs li + li::before {
    content: "/";
    margin: 0 10px;
    color: var(--lk-faint);
}

.lk-product .lk-pf-crumbs a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--lk-line-soft);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.lk-product .lk-pf-crumbs a:hover {
    color: var(--lk-ink);
    text-decoration-color: var(--lk-y);
}

.lk-product .lk-pf-crumbs [aria-current="page"] {
    color: var(--lk-ink);
    font-weight: 700;
}

/* ── Product pages: the hero ── */

.lk-product .lk-pf-hero {
    padding: 36px 0 64px;
    border-bottom: var(--lk-bw) solid var(--lk-line);
}

.lk-product .lk-pf-hero-inner {
    display: grid;
    gap: 44px;
    align-items: center;
}

.lk-product .lk-pf-hero-copy {
    min-width: 0;
}

.lk-product .lk-pf-label {
    margin-top: 22px;
}

.lk-product .lk-pf-title {
    margin-top: 12px;
    font-size: clamp(36px, 9.6vw, 48px);
    overflow-wrap: break-word;
}

.lk-product .lk-pf-lead {
    margin-top: 18px;
}

.lk-product .lk-pf-actions {
    margin-top: 28px;
}

.lk-product .lk-pf-hero-media {
    position: relative;
    min-width: 0;
    max-width: 600px;
}

@media (min-width: 640px) {
    .lk-product .lk-pf-hero-media .lk-pf-pic {
        transform: rotate(1.2deg);
    }
}

@media (min-width: 640px) {
    .lk-product .lk-pf-title {
        font-size: clamp(44px, 6.4vw, 60px);
    }
}

@media (min-width: 960px) {
    .lk-product .lk-pf-hero {
        padding: 44px 0 88px;
    }

    .lk-product .lk-pf-hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(40px, 5vw, 88px);
    }

    .lk-product .lk-pf-title {
        font-size: clamp(48px, 4.9vw, 72px);
    }

    .lk-product .lk-pf-hero-media {
        padding: 12px 6px 12px 0;
    }
}

/* ── Product pages: one row a point, the picture beside the words, sides taking turns ── */

.lk-product .lk-pf-rows {
    padding: 64px 0 72px;
}

.lk-product .lk-pf-row {
    display: grid;
    gap: 28px;
    align-items: center;
}

.lk-product .lk-pf-row + .lk-pf-row {
    margin-top: 64px;
}

.lk-product .lk-pf-row-copy,
.lk-product .lk-pf-row-media {
    min-width: 0;
}

.lk-product .lk-pf-row-title {
    font-size: clamp(28px, 2.8vw, 40px);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.02em;
}

.lk-product .lk-pf-row-copy p {
    max-width: 34rem;
    margin-top: 14px;
    color: var(--lk-muted);
    font-size: 17px;
    line-height: 1.65;
}

@media (min-width: 900px) {
    .lk-product .lk-pf-rows {
        padding: 96px 0 104px;
    }

    .lk-product .lk-pf-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(40px, 5vw, 88px);
    }

    .lk-product .lk-pf-row + .lk-pf-row {
        margin-top: 96px;
    }

    .lk-product .lk-pf-row--flip .lk-pf-row-media {
        order: -1;
    }
}

/* ── Product pages with sections (the Editor's Live preview and Turbo, the AI page's Smart Bolt): each opens on a
   band of its own tint, its kicker and h2 beside its opening line from 900 px, then its rows ── */

.lk-product .lk-pf-part-band {
    padding: 48px 0 52px;
}

.lk-product .lk-pf-part-head {
    display: grid;
    gap: 16px;
}

.lk-product .lk-pf-part-title {
    margin-top: 10px;
    font-size: clamp(36px, 9vw, 48px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.025em;
    overflow-wrap: break-word;
}

.lk-product .lk-pf-part-lead {
    max-width: 36rem;
    color: var(--lk-ink);
}

@media (min-width: 900px) {
    .lk-product .lk-pf-part-band {
        padding: 64px 0 68px;
    }

    .lk-product .lk-pf-part-head {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(40px, 5vw, 88px);
        align-items: end;
    }

    .lk-product .lk-pf-part-title {
        font-size: clamp(48px, 4.4vw, 64px);
    }
}

/* ── Product pages: How it works, on lilac ── */

.lk-product .lk-pf-steps-list {
    display: grid;
    gap: 20px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.lk-product .lk-pf-step {
    min-width: 0;
    padding: 22px 22px 24px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r-lg);
    background: var(--lk-surface);
    box-shadow: var(--lk-sh-lg);
}

.lk-product .lk-pf-step-n {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 11px;
    background: var(--lk-y);
    color: var(--lk-on-y);
    font: 900 19px/1 var(--lk-disp);
}

.lk-product .lk-pf-step h3 {
    margin-top: 16px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.lk-product .lk-pf-step p {
    margin-top: 6px;
    color: var(--lk-muted);
    font-size: 15.5px;
}

@media (min-width: 860px) {
    .lk-product .lk-pf-steps-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

/* ── Product pages: questions and answers, every answer shown ── */

.lk-product .lk-pf-faq {
    padding: 72px 0;
}

.lk-product .lk-pf-faq-list {
    display: grid;
    gap: 16px;
    margin-top: 32px;
    align-items: start;
}

.lk-product .lk-pf-qa {
    min-width: 0;
    padding: 18px 20px 20px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r);
    background: var(--lk-surface);
    box-shadow: var(--lk-sh);
}

.lk-product .lk-pf-qa h3 {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.lk-product .lk-pf-qa p {
    margin-top: 8px;
    color: var(--lk-muted);
    font-size: 15.5px;
}

@media (min-width: 900px) {
    .lk-product .lk-pf-faq {
        padding: 96px 0;
    }

    .lk-product .lk-pf-faq-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 24px;
    }
}

/* ── Product pages: the closing band, on sun ── */

.lk-product .lk-pf-closing-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.lk-product .lk-pf-closing-inner .lk-lead {
    margin-top: 14px;
}

.lk-product .lk-pf-closing-inner .lk-btn-row {
    justify-content: center;
}

/* ── Product pages: the other pages, as tinted cards ── */

.lk-product .lk-pf-more {
    padding: 72px 0 88px;
}

.lk-product .lk-pf-cards {
    display: grid;
    gap: 20px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.lk-product .lk-pf-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 20px 22px 64px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r-lg);
    background: var(--lk-surface);
    box-shadow: var(--lk-sh-lg);
    transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.lk-product .lk-pf-card--lilac { background: var(--lk-lilac); }
.lk-product .lk-pf-card--mint { background: var(--lk-mint); }
.lk-product .lk-pf-card--sun { background: var(--lk-sun); }
.lk-product .lk-pf-card--sky { background: var(--lk-sky); }
.lk-product .lk-pf-card--rose { background: var(--lk-rose); }

.lk-product .lk-pf-card-label {
    font: 700 12px/1.3 var(--lk-mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lk-brand-deep);
}

.lk-product .lk-pf-card h3 {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
}

/* The whole card is the link. */
.lk-product .lk-pf-card h3 a {
    color: var(--lk-ink);
    text-decoration: none;
}

.lk-product .lk-pf-card h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.lk-product .lk-pf-card p {
    color: var(--lk-muted);
    font-size: 15px;
}

.lk-product .lk-pf-card-arrow {
    position: absolute;
    right: 18px;
    bottom: 16px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 50%;
    background: var(--lk-surface);
    box-shadow: var(--lk-sh-sm);
}

.lk-product .lk-pf-card-arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lk-product .lk-pf-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--lk-shadow);
}

.lk-product .lk-pf-card:hover .lk-pf-card-arrow {
    background: var(--lk-y);
}

.lk-product .lk-pf-card:active {
    transform: translate(2px, 2px);
    box-shadow: var(--lk-sh-sm);
}

/* One ring, round the card, when its link has the keyboard. */
.lk-product .lk-pf-card h3 a:focus-visible {
    outline: none;
}

.lk-product .lk-pf-card:has(a:focus-visible) {
    outline: 3px solid var(--lk-focus);
    outline-offset: 4px;
}

@supports not selector(:has(*)) {
    .lk-product .lk-pf-card h3 a:focus-visible {
        outline: 3px solid var(--lk-focus);
        outline-offset: 3px;
    }
}

@media (min-width: 640px) {
    .lk-product .lk-pf-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 980px) {
    .lk-product .lk-pf-more {
        padding: 96px 0 112px;
    }

    .lk-product .lk-pf-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

/* ══ The pictures (views/partials/fx/) ══ */

.lk-product .lk-pf-pic {
    position: relative;
    min-width: 0;
    max-width: 100%;
    color: var(--lk-ink);
    font-family: var(--lk-body);
}

.lk-product .lk-pf-row-media .lk-pf-pic {
    max-width: 560px;
    margin-inline: auto;
}

/* Every picture is a window: an ink outline, a hard shadow, nothing spilling out. */
.lk-product .st-fx,
.lk-product .st-collab-editor,
.lk-product .st-update-term,
.lk-product .lk-pf-pic > .st-gui-card-window {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r-lg);
    box-shadow: var(--lk-sh-lg);
}

.lk-product .st-fx,
.lk-product .st-collab-editor {
    background: var(--lk-surface);
}

.lk-product .st-fx {
    justify-content: center;
    min-height: 220px;
}

/* In the hero the picture is the page's picture: a little larger. */
.lk-product .lk-pf-hero-media .st-fx {
    min-height: 290px;
}

@media (min-width: 640px) {
    .lk-product .lk-pf-hero-media .st-collab-code {
        padding: 20px 0 26px;
        font-size: 15.5px;
    }
}

.lk-product .lk-pf-hero-media .st-fx-code {
    font-size: 16.5px;
}

.lk-product .lk-pf-hero-media .st-fx-bubble {
    font-size: 16px;
}

.lk-product .st-fx--drawn,
.lk-product .lk-pf-hero-media .st-fx--drawn {
    justify-content: flex-start;
    min-height: 0;
}

/* A window's bar: three dots and its name. */
.lk-product .st-fx-bar,
.lk-product .st-collab-editor-bar {
    display: flex;
    flex: none;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 14px;
    border-bottom: var(--lk-bw) solid var(--lk-line);
    background: var(--lk-surface-2);
}

.lk-product .st-fx-bar > span,
.lk-product .st-collab-dots i,
.lk-product .st-fx-termbar > span,
.lk-product .st-update-term-bar > span,
.lk-product .lk-pg-window-bar > i,
.lk-product .lk-pg-editor-bar i,
.lk-product .lk-pg-terminal > div > i {
    flex: none;
    width: 11px;
    height: 11px;
    border: 1.5px solid var(--lk-line);
    border-radius: 50%;
    background: var(--lkp-dot-r);
}

.lk-product .st-fx-bar > span:nth-child(2),
.lk-product .st-collab-dots i:nth-child(2),
.lk-product .st-fx-termbar > span:nth-child(2),
.lk-product .st-update-term-bar > span:nth-child(2),
.lk-product .lk-pg-window-bar > i:nth-child(2),
.lk-product .lk-pg-editor-bar i:nth-child(2),
.lk-product .lk-pg-terminal > div > i:nth-child(2) {
    background: var(--lk-y);
}

.lk-product .st-fx-bar > span:nth-child(3),
.lk-product .st-collab-dots i:nth-child(3),
.lk-product .st-fx-termbar > span:nth-child(3),
.lk-product .st-update-term-bar > span:nth-child(3),
.lk-product .lk-pg-window-bar > i:nth-child(3),
.lk-product .lk-pg-editor-bar i:nth-child(3),
.lk-product .lk-pg-terminal > div > i:nth-child(3) {
    background: var(--lkp-dot-g);
}

.lk-product .st-fx-bar em,
.lk-product .st-collab-editor-bar em,
.lk-product .st-fx-termbar em,
.lk-product .st-update-term-bar em {
    min-width: 0;
    margin-left: 8px;
    overflow: hidden;
    font: 600 12.5px/1.2 var(--lk-mono);
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lk-product .st-fx-bar em,
.lk-product .st-collab-editor-bar em {
    color: var(--lk-muted);
}

/* Code colours. */
.lk-product .c-kw { color: var(--lkp-kw); font-style: normal; font-weight: 600; }
.lk-product .c-fn { color: var(--lkp-fn); font-style: normal; }
.lk-product .c-str { color: var(--lkp-str); font-style: normal; }
.lk-product .c-num { color: var(--lkp-num); font-style: normal; }

/* A home mock-up fills its window, its pieces in the middle. */
.lk-product .st-fx > .st-fx-inspect,
.lk-product .st-fx > .st-fx-team,
.lk-product .st-fx > .st-fx-host {
    flex: 1;
    align-content: center;
}

.lk-product .st-fx > .st-fx-chat {
    flex: 1;
    justify-content: center;
}

/* The code window (editor). */
.lk-product .st-fx-win {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.lk-product .st-fx-code {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 20px 22px;
    font: 500 15px/2 var(--lk-mono);
}

.lk-product .st-fx-code > span {
    white-space: pre;
}

/* The live preview: an address bar over a running page. */
.lk-product .st-fx-urlbar {
    display: flex;
    flex: none;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    border-bottom: var(--lk-bw) solid var(--lk-line);
    background: var(--lk-surface-2);
    font: 600 13px var(--lk-mono);
}

.lk-product .st-fx-urlbar > span:last-child {
    min-width: 0;
    padding: 3px 12px;
    overflow: hidden;
    border: 1.5px solid var(--lk-line-soft);
    border-radius: 999px;
    background: var(--lk-surface);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lk-product .st-fx-live,
.lk-product .st-collab-live {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border: 1.5px solid var(--lk-line);
    border-radius: 999px;
    background: var(--lk-mint);
    color: var(--lk-ink);
    font: 700 11.5px/1.2 var(--lk-body);
}

.lk-product .st-fx-live i,
.lk-product .st-collab-live i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lkp-live);
    animation: lkp-pulse 1.6s ease-in-out infinite;
}

.lk-product .st-fx-preview {
    display: grid;
    flex: 1;
    align-content: center;
    gap: 12px;
    padding: 24px 26px;
    background: var(--lk-dots), var(--lk-surface);
}

.lk-product .st-fx-block {
    display: block;
    border-radius: 7px;
}

.lk-product .st-fx-block--lg {
    width: 64%;
    height: 26px;
    background: var(--lk-ink);
}

.lk-product .st-fx-block--md {
    width: 88%;
    height: 12px;
    background: var(--lk-line-soft);
    box-shadow: 0 22px 0 var(--lk-line-soft);
    margin-bottom: 22px;
}

.lk-product .st-fx-block--sm {
    width: 128px;
    height: 36px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 11px;
    background: var(--lk-y);
    box-shadow: var(--lk-sh-sm);
}

/* Visual Turbo: a picked element, its handles and one of its styles. */
.lk-product .st-fx-inspect {
    display: grid;
    gap: 14px;
    padding: 26px;
}

.lk-product .st-fx-inspect > .st-fx-tag {
    justify-self: start;
}

.lk-product .st-fx-tag {
    padding: 3px 10px;
    border: 1.5px solid var(--lk-line);
    border-radius: 8px;
    background: var(--lk-brand);
    color: var(--lk-on-brand);
    font: 600 12.5px/1.3 var(--lk-mono);
}

.lk-product .st-fx-selected {
    position: relative;
    height: 104px;
    border: var(--lk-bw) dashed var(--lk-brand);
    border-radius: 12px;
    background: var(--lk-lilac);
}

.lk-product .st-fx-handle {
    position: absolute;
    width: 12px;
    height: 12px;
    border: var(--lk-bw) solid var(--lk-brand);
    border-radius: 3px;
    background: var(--lk-surface);
}

.lk-product .st-fx-handle--tl { top: -7px; left: -7px; }
.lk-product .st-fx-handle--tr { top: -7px; right: -7px; }
.lk-product .st-fx-handle--bl { bottom: -7px; left: -7px; }
.lk-product .st-fx-handle--br { bottom: -7px; right: -7px; }

.lk-product .st-fx-prop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 12px;
    background: var(--lk-surface);
    box-shadow: var(--lk-sh-sm);
    font: 600 13.5px var(--lk-mono);
}

.lk-product .st-fx-swatch {
    width: 24px;
    height: 24px;
    border: 1.5px solid var(--lk-line);
    border-radius: 7px;
    background: var(--lk-brand);
}

/* Striqr AI: a question and its answer. */
.lk-product .st-fx-chat {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background: var(--lk-dots), var(--lk-surface);
}

.lk-product .st-fx-bubble {
    max-width: 88%;
    padding: 11px 14px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.45;
}

.lk-product .st-fx-bubble--user {
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    background: var(--lk-lilac);
}

.lk-product .st-fx-bubble--ai {
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    background: var(--lk-surface);
    box-shadow: var(--lk-sh-sm);
}

.lk-product .st-fx-model {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border: 1.5px solid var(--lk-line);
    border-radius: 999px;
    background: var(--lk-sun);
    font: 700 12px/1.3 var(--lk-body);
}

/* Live collab's team (home's card; drawn here should a page name it). */
.lk-product .st-fx-team {
    display: grid;
    gap: 10px;
    padding: 22px;
}

.lk-product .st-fx-member {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 12px;
    background: var(--lk-surface);
    font-weight: 700;
    font-size: 15px;
}

.lk-product .st-fx-member > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lk-product .st-fx-member em {
    color: var(--lk-muted);
    font: 500 12.5px var(--lk-mono);
    font-style: normal;
}

.lk-product .st-fx-member--add {
    justify-content: flex-start;
    border-style: dashed;
}

.lk-product .st-fx-avatar {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 50%;
    background: var(--a, var(--lk-brand));
    color: var(--lkp-white);
    font: 800 11px var(--lk-body);
}

.lk-product .st-fx-avatar--add {
    background: var(--lk-y);
    color: var(--lk-on-y);
    font-size: 16px;
}

/* Hosting: a domain switched on and a week up. */
.lk-product .st-fx-host {
    display: grid;
    gap: 18px;
    padding: 26px;
    background: var(--lk-dots), var(--lk-surface);
}

.lk-product .st-fx-domain {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 14px;
    background: var(--lk-surface);
    box-shadow: var(--lk-sh-sm);
    font: 800 18px var(--lk-disp);
}

.lk-product .st-fx-domain .st-fx-live {
    padding: 4px;
}

.lk-product .st-fx-toggle {
    position: relative;
    width: 44px;
    height: 26px;
    margin-left: auto;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 999px;
    background: var(--lkp-live);
}

.lk-product .st-fx-toggle::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--lk-line);
    border-radius: 50%;
    background: var(--lkp-white);
}

.lk-product .st-fx-uptime {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    font: 800 15px var(--lk-mono);
}

.lk-product .st-fx-uptime span {
    flex: 1;
    height: 38px;
    border: 1.5px solid var(--lk-line);
    border-radius: 7px;
    background: var(--lkp-pipe);
}

/* The live editor: three lines type themselves (partials/fx/scripts). */
.lk-product .st-collab-dots {
    display: inline-flex;
    flex: none;
    gap: 7px;
}

.lk-product .st-collab-editor-bar em {
    flex: 1;
}

.lk-product .st-collab-code {
    padding: 16px 0 20px;
    font: 500 14.5px/2 var(--lk-mono);
}

.lk-product .st-collab-line {
    display: flex;
    align-items: center;
    min-height: 2em;
    padding-right: 16px;
}

.lk-product .st-collab-line--active {
    background: var(--lk-sun);
}

.lk-product .st-collab-gutter {
    flex: none;
    width: 48px;
    padding-right: 14px;
    color: var(--lk-faint);
    text-align: right;
    user-select: none;
}

.lk-product .st-collab-line code {
    position: relative;
    min-width: 0;
    font: inherit;
    white-space: pre;
}

.lk-product .st-collab-cursor {
    position: relative;
    display: inline-block;
    width: 2px;
    height: 1.3em;
    margin-left: 1px;
    vertical-align: middle;
    transition: opacity 0.2s ease;
}

.lk-product .st-collab-cursor b {
    position: absolute;
    inset: 0;
    background: var(--who, var(--lkp-p1));
}

.lk-product .st-collab-cursor em {
    position: absolute;
    bottom: calc(100% - 2px);
    left: 0;
    padding: 1px 7px;
    border-radius: 6px 6px 6px 0;
    background: var(--who, var(--lkp-p1));
    color: var(--lkp-white);
    font: 700 11px/1.5 var(--lk-body);
    font-style: normal;
    white-space: nowrap;
}

.lk-product .st-collab-cursor b {
    animation: lkp-caret 1s steps(1) infinite;
}

.lk-product .st-collab-cursor--violet { --who: var(--lkp-p1); }
.lk-product .st-collab-cursor--pink { --who: var(--lkp-p2); }
.lk-product .st-collab-cursor--sky { --who: var(--lkp-p3); }

.lk-product .st-collab-cursor.is-hidden {
    opacity: 0;
}

/* Smart Bolt: a run that fails, then its card (partials/fx/scripts types it). */
.lk-product .st-update-term {
    background: var(--lkp-term);
}

.lk-product .st-update-term-bar,
.lk-product .st-fx-termbar {
    display: flex;
    flex: none;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 14px;
    border-bottom: var(--lk-bw) solid var(--lkp-term-line);
    background: var(--lkp-term-bar);
}

.lk-product .st-update-term-bar em,
.lk-product .st-fx-termbar em {
    color: var(--lkp-term-dim);
}

.lk-product .st-update-term-body {
    flex: 1;
    min-height: 168px;
    margin: 0;
    padding: 18px 20px 196px;
    color: var(--lkp-term-err);
    font: 500 13.5px/1.7 var(--lk-mono);
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.lk-product .st-update-bolt-card {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 14px 16px 16px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 16px;
    background: var(--lk-surface);
    box-shadow: 4px 4px 0 var(--lkp-on-dark-shadow);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.lk-product .st-update-bolt-card.is-hidden {
    opacity: 0;
    transform: translateY(10px);
}

.lk-product .st-update-bolt-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 800 14px var(--lk-disp);
}

.lk-product .st-update-bolt-icon {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 1.5px solid var(--lk-line);
    border-radius: 8px;
    background: var(--lk-y);
}

.lk-product .st-update-bolt-icon svg {
    width: 15px;
    height: 15px;
}

.lk-product .st-update-bolt-title {
    margin-top: 8px;
    font: 800 17px/1.25 var(--lk-disp);
}

.lk-product .st-update-bolt-body {
    margin-top: 4px;
    color: var(--lk-muted);
    font-size: 14px;
    line-height: 1.45;
}

.lk-product .st-update-bolt-actions,
.lk-product .st-fx-note-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.lk-product .st-update-bolt-btn,
.lk-product .st-fx-note-btn {
    padding: 6px 12px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 10px;
    background: var(--lk-surface);
    box-shadow: var(--lk-sh-sm);
    font: 700 13.5px/1.3 var(--lk-body);
}

.lk-product .st-update-bolt-btn--primary,
.lk-product .st-fx-note-btn--primary {
    background: var(--lk-brand);
    color: var(--lk-on-brand);
}

/* ── The small pictures drawn from a page's words ── */

/* A row of labels: the starters. */
.lk-product .st-fx-chiplist {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 22px;
}

.lk-product .st-fx-chip {
    padding: 7px 13px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 12px;
    background: var(--lk-surface);
    box-shadow: var(--lk-sh-sm);
    font: 700 14px/1.3 var(--lk-body);
}

.lk-product .st-fx-chip.is-on {
    background: var(--lk-y);
}

/* A terminal. */
.lk-product .st-fx--terminal {
    background: var(--lkp-term);
}

.lk-product .st-fx-termwin {
    display: flex;
    flex-direction: column;
}

.lk-product .st-fx-termbody {
    display: flex;
    flex-direction: column;
    padding: 18px 20px 20px;
    font: 500 13.5px/1.85 var(--lk-mono);
}

.lk-product .st-fx-tl {
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.lk-product .st-fx-tl--cmd { color: var(--lkp-term-text); }
.lk-product .st-fx-tl--out { color: var(--lkp-term-dim); }
.lk-product .st-fx-tl--ok { color: var(--lkp-term-ok); }
.lk-product .st-fx-tl--err { color: var(--lkp-term-err); }

/* A card the editor shows. */
.lk-product .st-fx-note {
    padding: 20px 22px 22px;
}

.lk-product .st-fx-note-head {
    display: flex;
    align-items: center;
    gap: 9px;
    font: 800 14px var(--lk-disp);
}

.lk-product .st-fx-note-head svg {
    width: 28px;
    height: 28px;
    padding: 6px;
    border: 1.5px solid var(--lk-line);
    border-radius: 9px;
    background: var(--lk-y);
}

.lk-product .st-fx-note-title {
    margin-top: 12px;
    font: 800 20px/1.2 var(--lk-disp);
    overflow-wrap: break-word;
}

.lk-product .st-fx-note-body {
    margin-top: 6px;
    color: var(--lk-muted);
    font-size: 15px;
}

/* A menu, the picked item filled and ticked. */
.lk-product .st-fx-menu {
    padding: 16px;
}

.lk-product .st-fx-menu-head {
    margin: 2px 4px 12px;
    color: var(--lk-muted);
    font: 700 12px/1.3 var(--lk-mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.lk-product .st-fx-menu-items {
    display: grid;
    gap: 8px;
}

.lk-product .st-fx-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 10px 12px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 12px;
    background: var(--lk-surface);
}

.lk-product .st-fx-menu-item.is-on {
    background: var(--lk-pick);
    box-shadow: var(--lk-sh-sm);
}

.lk-product .st-fx-menu-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.lk-product .st-fx-menu-copy strong {
    font-size: 15px;
    line-height: 1.3;
}

.lk-product .st-fx-menu-copy small {
    color: var(--lk-muted);
    font-size: 13px;
    line-height: 1.35;
}

.lk-product .st-fx-check {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--lk-brand);
}

.lk-product .st-fx-menu--grid .st-fx-menu-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lk-product .st-fx-menu--grid .st-fx-menu-item {
    min-height: 60px;
}

/* A panel of settings, or a small table. */
.lk-product .st-fx-panel {
    padding: 16px 18px 18px;
}

.lk-product .st-fx-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.lk-product .st-fx-panel-head strong {
    font: 800 17px var(--lk-disp);
}

.lk-product .st-fx-panel-head .st-fx-tag {
    background: var(--lk-lilac);
    color: var(--lk-ink);
}

.lk-product .st-fx-panel-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-top: 1.5px solid var(--lk-line-soft);
}

.lk-product .st-fx-cell {
    padding: 4px 10px;
    border: 1.5px solid var(--lk-line);
    border-radius: 8px;
    background: var(--lk-surface);
    font: 600 13px/1.3 var(--lk-mono);
}

.lk-product .st-fx-panel-row > .st-fx-cell:first-child {
    flex: 1;
    padding: 0;
    border: 0;
    background: transparent;
    font: 700 14.5px var(--lk-body);
}

.lk-product .st-fx-cell.is-on {
    background: var(--lk-y);
    box-shadow: var(--lk-sh-sm);
}

/* The values (an address) get the most room, so a cell's words stay whole on a phone. */
.lk-product .st-fx-panel--table .st-fx-panel-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: 0;
    padding: 0;
    border: var(--lk-bw) solid var(--lk-line);
    border-top-width: 0;
}

.lk-product .st-fx-panel--table .st-fx-panel-head + .st-fx-panel-row {
    border-top-width: var(--lk-bw);
    border-radius: 12px 12px 0 0;
}

.lk-product .st-fx-panel--table .st-fx-panel-row:last-child {
    border-radius: 0 0 12px 12px;
}

.lk-product .st-fx-panel--table .st-fx-cell,
.lk-product .st-fx-panel--table .st-fx-panel-row > .st-fx-cell:first-child {
    min-width: 0;
    padding: 10px clamp(8px, 2.6vw, 12px);
    border: 0;
    border-radius: 0;
    background: transparent;
    font: 500 13.5px/1.3 var(--lk-mono);
    overflow-wrap: break-word;
}

.lk-product .st-fx-panel--table .st-fx-cell + .st-fx-cell {
    border-left: 1.5px solid var(--lk-line);
}

.lk-product .st-fx-panel--table .st-fx-panel-row.is-head {
    background: var(--lk-sun);
}

.lk-product .st-fx-panel--table .st-fx-panel-row.is-head .st-fx-cell {
    font-weight: 700;
}

.lk-product .st-fx-panel--table .st-fx-panel-row + .st-fx-panel-row {
    border-top: 1.5px solid var(--lk-line);
}

/* A code window: numbered lines, a marked one, and who is on which. */
.lk-product .st-fx-lines {
    display: flex;
    flex-direction: column;
    padding: 12px 0 14px;
    font: 500 14px/1.95 var(--lk-mono);
}

.lk-product .st-fx-line {
    display: flex;
    align-items: center;
    min-width: 0;
    padding-right: 14px;
}

.lk-product .st-fx-line.is-marked {
    background: var(--lk-sun);
}

.lk-product .st-fx-ln {
    flex: none;
    width: 44px;
    padding-right: 12px;
    color: var(--lk-faint);
    font-weight: 500;
    text-align: right;
}

.lk-product .st-fx-line code {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font: inherit;
    text-overflow: ellipsis;
    white-space: pre;
}

.lk-product .st-fx-who {
    flex: none;
    margin-left: 10px;
    padding: 1px 8px;
    border-radius: 6px;
    background: var(--who, var(--lkp-p1));
    color: var(--lkp-white);
    font: 700 11.5px/1.6 var(--lk-body);
    font-style: normal;
}

.lk-product .st-fx-line--who0 { --who: var(--lkp-p1); box-shadow: inset 3px 0 0 var(--lkp-p1); background: var(--lk-lilac); }
.lk-product .st-fx-line--who1 { --who: var(--lkp-p2); box-shadow: inset 3px 0 0 var(--lkp-p2); background: var(--lk-rose); }
.lk-product .st-fx-line--who2 { --who: var(--lkp-p3); box-shadow: inset 3px 0 0 var(--lkp-p3); background: var(--lk-sky); }

/* ── The games, drawn (partials/fx/game: Flappy Bird, Snake, Pong) ── */

.lk-product .st-gui-card-window {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    /* The scores size with the window. */
    container-type: inline-size;
}

.lk-product .st-gui-card-screen {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
}

.lk-product .st-gui-card-screen > span {
    position: absolute;
    display: block;
}

.lk-product .st-gui-card-screen--flappy {
    background: var(--lkp-sky);
}

.lk-product .st-flappy-cloud {
    width: 14%;
    aspect-ratio: 3 / 1;
    border-radius: 999px;
    background: var(--lkp-cloud);
}

.lk-product .st-flappy-cloud--a { top: 13%; left: 9%; }
.lk-product .st-flappy-cloud--b { top: 24%; left: 52%; width: 11%; }

.lk-product .st-flappy-pipe {
    top: 0;
    bottom: 15%;
    width: 10%;
}

.lk-product .st-flappy-pipe::before,
.lk-product .st-flappy-pipe::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    border: 3px solid var(--lkp-pipe-edge);
    background: var(--lkp-pipe);
}

.lk-product .st-flappy-pipe::before {
    top: 0;
    height: var(--top, 32%);
    border-top: 0;
}

.lk-product .st-flappy-pipe::after {
    bottom: 0;
    height: var(--bottom, 30%);
    border-bottom: 0;
}

.lk-product .st-flappy-pipe--a { left: 33%; --top: 30%; --bottom: 36%; }
.lk-product .st-flappy-pipe--b { left: 72%; --top: 46%; --bottom: 22%; }

.lk-product .st-flappy-ground {
    right: 0;
    bottom: 0;
    left: 0;
    height: 15%;
    border-top: 4px solid var(--lkp-grass-edge);
    background: var(--lkp-grass);
}

.lk-product .st-flappy-bird {
    top: 42%;
    left: 15%;
    width: 8%;
    aspect-ratio: 5 / 4;
    border: 3px solid var(--lk-ink);
    border-radius: 50% 60% 50% 50%;
    background: var(--lkp-bird);
    animation: lkp-flap 0.9s ease-in-out infinite;
}

.lk-product .st-flappy-bird::after {
    content: "";
    position: absolute;
    top: 42%;
    right: -30%;
    width: 36%;
    height: 30%;
    border: 2px solid var(--lk-ink);
    border-radius: 3px 8px 8px 3px;
    background: var(--lkp-beak);
}

.lk-product .st-flappy-bird i {
    position: absolute;
    top: 14%;
    right: 12%;
    width: 30%;
    aspect-ratio: 1;
    border: 2px solid var(--lk-ink);
    border-radius: 50%;
    background: var(--lkp-white);
}

.lk-product .st-flappy-score {
    top: 6%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--lkp-white);
    font: 900 clamp(18px, 8cqi, 46px)/1 var(--lk-disp);
    text-shadow: 2px 0 var(--lk-ink), -2px 0 var(--lk-ink), 0 2px var(--lk-ink), 0 -2px var(--lk-ink), 2px 2px var(--lk-ink), -2px -2px var(--lk-ink), 2px -2px var(--lk-ink), -2px 2px var(--lk-ink);
}

.lk-product .st-gui-card-screen--snake {
    background: var(--lk-ink);
}

.lk-product .st-snake-seg {
    top: 50%;
    width: 6%;
    aspect-ratio: 1;
    background: var(--lkp-snake);
}

.lk-product .st-snake-seg:nth-child(2) { left: 50%; background: var(--lkp-snake-head); }
.lk-product .st-snake-seg:nth-child(3) { left: 43%; }
.lk-product .st-snake-seg:nth-child(4) { left: 36%; }
.lk-product .st-snake-seg:nth-child(5) { left: 29%; }
.lk-product .st-snake-seg:nth-child(6) { left: 22%; }
.lk-product .st-snake-seg:nth-child(7) { left: 15%; }

.lk-product .st-snake-apple {
    top: 50%;
    left: 76%;
    width: 6%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--lkp-apple);
}

.lk-product .st-snake-score {
    top: 10px;
    right: 14px;
    color: var(--lkp-white);
    font: 500 12px var(--lk-mono);
}

.lk-product .st-gui-card-screen--pong {
    background: var(--lkp-pong);
}

.lk-product .st-pong-net {
    top: 0;
    bottom: 0;
    left: 50%;
    border-left: 3px dashed var(--lkp-pong-net);
}

.lk-product .st-pong-score {
    top: 8%;
    color: var(--lkp-white);
    font: 900 clamp(16px, 6cqi, 34px)/1 var(--lk-disp);
}

.lk-product .st-pong-score--l { right: calc(50% + 16px); }
.lk-product .st-pong-score--r { left: calc(50% + 16px); }

.lk-product .st-pong-paddle {
    width: 2.6%;
    height: 26%;
    background: var(--lkp-white);
}

.lk-product .st-pong-paddle--l { top: 28%; left: 5%; }
.lk-product .st-pong-paddle--r { top: 50%; right: 5%; }

.lk-product .st-pong-ball {
    top: 58%;
    left: 36%;
    width: 3%;
    aspect-ratio: 1;
    background: var(--lkp-white);
}

/* ══ Pygame online ══ */

.lk-product .lk-pg-hero {
    padding: 36px 0 64px;
    border-bottom: var(--lk-bw) solid var(--lk-line);
}

.lk-product .lk-pg-hero-inner {
    display: grid;
    gap: 40px;
    align-items: center;
}

.lk-product .lk-pg-hero-copy {
    min-width: 0;
}

.lk-product .lk-pg-kicker {
    margin-top: 22px;
}

.lk-product .lk-pg-title {
    margin-top: 12px;
    font-size: clamp(34px, 9vw, 46px);
    overflow-wrap: break-word;
}

.lk-product .lk-pg-lead {
    margin-top: 18px;
}

.lk-product .lk-pg-actions {
    margin-top: 28px;
}

.lk-product .lk-pg-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.lk-product .lk-pg-proof li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 10px;
    background: var(--lk-surface);
    font: 600 13px/1.3 var(--lk-mono);
}

.lk-product .lk-pg-proof svg {
    flex: none;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: var(--lk-ok);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lk-product .lk-pg-hero-art {
    position: relative;
    min-width: 0;
    max-width: 600px;
    padding: 22px 0 26px;
}

.lk-product .lk-pg-window {
    overflow: hidden;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r-lg);
    background: var(--lk-surface);
    box-shadow: var(--lk-sh-lg);
}

.lk-product .lk-pg-window-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 46px;
    padding: 0 14px;
    border-bottom: var(--lk-bw) solid var(--lk-line);
    background: var(--lk-surface);
}

.lk-product .lk-pg-window-bar em {
    margin-left: 8px;
    font: 700 13px var(--lk-mono);
    font-style: normal;
}

.lk-product .lk-pg-window .st-gui-card-window,
.lk-product .lk-pg-game-art .st-gui-card-window {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.lk-product .lk-pg-sticker {
    font-size: 13px;
}

.lk-product .lk-pg-sticker--a {
    top: 64px;
    left: -6px;
    --r: -6deg;
}

@media (min-width: 640px) {
    .lk-product .lk-pg-title {
        font-size: clamp(44px, 6.6vw, 56px);
    }

    .lk-product .lk-pg-window {
        transform: rotate(1.2deg);
    }

    .lk-product .lk-pg-sticker {
        font-size: 14px;
    }

    .lk-product .lk-pg-sticker--a {
        top: 92px;
        left: -14px;
    }
}

@media (min-width: 960px) {
    .lk-product .lk-pg-hero {
        padding: 44px 0 88px;
    }

    .lk-product .lk-pg-hero-inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: clamp(40px, 5vw, 88px);
    }

    .lk-product .lk-pg-title {
        font-size: clamp(46px, 4.6vw, 70px);
    }
}

/* The article, with the list of its sections beside it from 1,024 px. */
.lk-product .lk-pg-article {
    display: grid;
    gap: 40px;
    padding-top: 64px;
    padding-bottom: 88px;
}

.lk-product .lk-pg-toc {
    display: none;
}

.lk-product .lk-pg-body {
    min-width: 0;
    container-type: inline-size;
}

@media (min-width: 1024px) {
    .lk-product .lk-pg-article {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: clamp(40px, 4vw, 72px);
        align-items: start;
        padding-top: 88px;
        padding-bottom: 112px;
    }

    .lk-product .lk-pg-toc {
        position: sticky;
        top: calc(var(--lk-nav-h) + 24px);
        display: block;
        /* Clear of the menu above. */
        max-height: calc(100vh - var(--lk-nav-h) - 48px);
        overflow-y: auto;
        padding: 18px 18px 10px;
        border: var(--lk-bw) solid var(--lk-line);
        border-radius: var(--lk-r-lg);
        background: var(--lk-lilac);
        box-shadow: var(--lk-sh-lg);
    }
}

.lk-product .lk-pg-toc-title {
    font: 800 16px/1.2 var(--lk-disp);
}

.lk-product .lk-pg-toc ol {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.lk-product .lk-pg-toc li + li {
    border-top: 1.5px dashed var(--lk-line-soft);
}

.lk-product .lk-pg-toc a {
    display: block;
    padding: 9px 2px;
    color: var(--lk-ink);
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
}

.lk-product .lk-pg-toc a:hover {
    text-decoration: underline;
    text-decoration-color: var(--lk-brand);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.lk-product .lk-pg-section + .lk-pg-section {
    margin-top: 88px;
}

.lk-product .lk-pg-h2 {
    /* The list of sections lands a heading with its kicker in view. */
    scroll-margin-top: 36px;
    margin-top: 10px;
    font-size: clamp(28px, 2.7vw, 40px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.lk-product .lk-pg-intro,
.lk-product .lk-pg-prose {
    max-width: 68ch;
    margin-top: 16px;
    color: var(--lk-muted);
    font-size: 17px;
    line-height: 1.7;
}

.lk-product .lk-pg-prose p + p {
    margin-top: 1em;
}

.lk-product .lk-pg-prose strong {
    color: var(--lk-ink);
}

.lk-product .lk-pg-body code {
    padding: 0.1em 0.38em;
    border-radius: 6px;
    background: var(--lk-lilac);
    color: var(--lk-ink);
    font: 500 0.88em var(--lk-mono);
}

/* The starter: a dark editor with its Run button and status line, then the three steps. */
.lk-product .lk-pg-playground {
    display: grid;
    gap: 24px;
    margin-top: 28px;
}

.lk-product .lk-pg-editor {
    min-width: 0;
    overflow: hidden;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r-lg);
    background: var(--lkp-term);
    box-shadow: 6px 6px 0 var(--lk-brand);
}

.lk-product .lk-pg-editor-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 0 18px;
    border-bottom: var(--lk-bw) solid var(--lkp-term-line);
    background: var(--lkp-term-bar);
    color: var(--lkp-term-text);
}

.lk-product .lk-pg-editor-bar > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.lk-product .lk-pg-editor-bar b {
    margin-left: 8px;
    font: 600 13px var(--lk-mono);
}

.lk-product .lk-pg-editor-bar small {
    color: var(--lkp-term-dim);
    font: 600 11.5px var(--lk-mono);
}

/* Its sizes are today's: 500 px tall at least, taller by dragging, 13.5 px text (16 px on touch screens and small
   ones, so iPhone Safari doesn't zoom), lines that never wrap. */
.lk-product #pygameStarterCode {
    display: block;
    width: 100%;
    min-height: 500px;
    margin: 0;
    resize: vertical;
    padding: 22px;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: var(--lkp-term);
    color: var(--lkp-term-text);
    font: 400 13.5px/1.65 var(--lk-mono);
    tab-size: 4;
    white-space: pre;
    overflow-wrap: normal;
    overflow-x: auto;
}

.lk-product #pygameStarterCode:focus-visible {
    outline: 0;
    box-shadow: inset 0 0 0 3px var(--lkp-on-dark-focus);
}

@media (pointer: coarse), (max-width: 640px) {
    .lk-product #pygameStarterCode {
        font-size: 16px;
    }
}

/* The hint public/js/pygame-online.js shows under the code box (how to leave it). */
.lk-product .pg-editor-hint {
    margin: 0;
    padding: 10px 22px;
    border-top: var(--lk-bw) solid var(--lkp-term-line);
    background: var(--lkp-term);
    color: var(--lkp-term-dim);
    font-size: 14px;
    line-height: 1.5;
}

.lk-product .lk-pg-editor-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 14px;
    min-height: 74px;
    padding: 12px 16px;
    border-top: var(--lk-bw) solid var(--lkp-term-line);
    background: var(--lkp-term-bar);
}

/* On the dark bar the hard shadow is lilac. While it launches, the button is the kit's disabled one (grey, no shadow),
   its words still AA. */
.lk-product .lk-pg-editor-actions .lk-btn:not([disabled]),
.lk-product .lk-pg-editor-actions .lk-btn:not([disabled]):hover {
    box-shadow: 4px 4px 0 var(--lkp-on-dark-shadow);
}

.lk-product .lk-pg-editor-actions .lk-btn:not([disabled]):active {
    box-shadow: 2px 2px 0 var(--lkp-on-dark-shadow);
}

.lk-product .lk-pg-editor-actions .lk-btn[disabled] {
    cursor: wait;
}

.lk-product .lk-pg-editor :focus-visible {
    outline-color: var(--lkp-on-dark-focus);
}

.lk-product .lk-pg-reset {
    min-height: 44px;
    padding: 0 6px;
    border: 0;
    background: transparent;
    color: var(--lkp-term-text);
    font: 600 14.5px var(--lk-body);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    cursor: pointer;
}

.lk-product .lk-pg-reset:hover {
    text-decoration-color: var(--lk-y);
}

.lk-product #pygameLaunchStatus {
    min-width: 0;
    margin-left: auto;
    color: var(--lkp-term-dim);
    font-size: 13.5px;
}

.lk-product .lk-pg-steps {
    min-width: 0;
    padding: 22px 24px 24px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r-lg);
    background: var(--lk-sun);
    box-shadow: var(--lk-sh);
    container-type: inline-size;
}

.lk-product .lk-pg-steps h3 {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
}

.lk-product .lk-pg-steps ol {
    display: grid;
    gap: 18px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: lkp-steps;
}

.lk-product .lk-pg-steps li {
    position: relative;
    min-width: 0;
    padding-left: 48px;
    counter-increment: lkp-steps;
}

.lk-product .lk-pg-steps li::before {
    content: counter(lkp-steps);
    position: absolute;
    top: -2px;
    left: 0;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 10px;
    background: var(--lk-y);
    font: 900 16px/1 var(--lk-disp);
}

.lk-product .lk-pg-steps strong,
.lk-product .lk-pg-steps span {
    display: block;
}

.lk-product .lk-pg-steps strong {
    font: 800 16.5px/1.3 var(--lk-disp);
}

.lk-product .lk-pg-steps span {
    margin-top: 4px;
    color: var(--lk-muted);
    font-size: 15px;
    line-height: 1.5;
}

@container (min-width: 520px) {
    .lk-product .lk-pg-steps ol {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }
}

/* What a runner is: three tinted cards. */
.lk-product .lk-pg-definitions {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.lk-product .lk-pg-def {
    min-width: 0;
    padding: 18px 20px 20px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r-lg);
    box-shadow: var(--lk-sh);
}

.lk-product .lk-pg-def--lilac { background: var(--lk-lilac); }
.lk-product .lk-pg-def--mint { background: var(--lk-mint); }
.lk-product .lk-pg-def--sky { background: var(--lk-sky); }

.lk-product .lk-pg-def span {
    color: var(--lk-brand-deep);
    font: 700 13px var(--lk-mono);
}

.lk-product .lk-pg-def h3 {
    margin-top: 6px;
    font-size: 21px;
    font-weight: 800;
}

.lk-product .lk-pg-def p {
    margin-top: 6px;
    color: var(--lk-muted);
    font-size: 15px;
}

/* Installing at home: the words and the commands it takes. */
.lk-product .lk-pg-split {
    display: grid;
    gap: 28px;
    align-items: center;
}

.lk-product .lk-pg-split > * {
    min-width: 0;
}

.lk-product .lk-pg-terminal {
    overflow: hidden;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r-lg);
    background: var(--lkp-term);
    box-shadow: 6px 6px 0 var(--lk-brand);
}

.lk-product .lk-pg-terminal > div {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 14px;
    border-bottom: var(--lk-bw) solid var(--lkp-term-line);
    background: var(--lkp-term-bar);
    color: var(--lkp-term-dim);
    font: 600 12.5px var(--lk-mono);
}

.lk-product .lk-pg-terminal > div > span {
    margin-left: auto;
}

.lk-product .lk-pg-terminal pre {
    margin: 0;
    padding: 20px 22px 22px;
    overflow-x: auto;
    color: var(--lkp-term-text);
    font: 500 13.5px/1.85 var(--lk-mono);
}

.lk-product .lk-pg-terminal pre code {
    padding: 0;
    background: none;
    color: inherit;
    font: inherit;
}

/* Under the hood: three steps with arrows. */
.lk-product .lk-pg-flow {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 26px 0;
}

.lk-product .lk-pg-flow span {
    padding: 12px 16px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 14px;
    background: var(--lk-surface);
    box-shadow: var(--lk-sh-sm);
    font-weight: 700;
    font-size: 15px;
    text-align: center;
}

.lk-product .lk-pg-flow span:first-child {
    background: var(--lk-sun);
}

.lk-product .lk-pg-flow span:last-child {
    background: var(--lk-mint);
}

.lk-product .lk-pg-flow b {
    font-family: var(--lk-mono);
}

.lk-product .lk-pg-flow i {
    align-self: center;
    color: var(--lk-brand);
    font: 900 22px/1 var(--lk-disp);
    font-style: normal;
    transform: rotate(90deg);
}

/* The three games, each a button that opens it in a new project. */
.lk-product .lk-pg-games {
    display: grid;
    gap: 20px;
    margin-top: 28px;
}

.lk-product .lk-pg-game {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    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);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.lk-product .lk-pg-game:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--lk-shadow);
}

.lk-product .lk-pg-game:active {
    transform: translate(2px, 2px);
    box-shadow: var(--lk-sh-sm);
}

/* While one launches every game waits: the others grey, as the kit's disabled buttons (words still AA), the pressed
   one in its colours with a spinner. */
.lk-product .lk-pg-game[disabled] {
    cursor: progress;
    transform: none;
    box-shadow: var(--lk-sh-sm);
}

.lk-product .lk-pg-game[disabled]:not(.is-loading) {
    border-color: var(--lk-faint);
    box-shadow: none;
    color: var(--lk-faint);
}

.lk-product .lk-pg-game[disabled]:not(.is-loading) .lk-pg-game-art {
    border-color: var(--lk-faint);
}

.lk-product .lk-pg-game[disabled]:not(.is-loading) .lk-pg-game-body small,
.lk-product .lk-pg-game[disabled]:not(.is-loading) .lk-pg-game-body em {
    border-color: var(--lk-faint);
    background: var(--lk-surface-2);
    box-shadow: none;
    color: var(--lk-faint);
}

.lk-product .lk-pg-game-art {
    display: block;
    border-bottom: var(--lk-bw) solid var(--lk-line);
}

.lk-product .lk-pg-game-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 18px 20px;
}

.lk-product .lk-pg-game-body strong {
    font: 800 23px/1.15 var(--lk-disp);
}

.lk-product .lk-pg-game-body small {
    padding: 2px 10px;
    border: 1.5px solid var(--lk-line);
    border-radius: 999px;
    font: 700 12.5px/1.4 var(--lk-body);
}

.lk-product .lk-pg-game-body em {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 8px 14px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 12px;
    background: var(--lk-brand);
    box-shadow: var(--lk-sh-sm);
    color: var(--lk-on-brand);
    font: 700 14.5px/1.2 var(--lk-body);
    font-style: normal;
}

.lk-product .lk-pg-game.is-loading em::after {
    content: "";
    width: 14px;
    height: 14px;
    border: 2.5px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: lk-spin 0.7s linear infinite;
}

/* Limits and local work, side by side once there's room. */
.lk-product .lk-pg-two {
    display: grid;
    gap: 56px;
}

.lk-product .lk-pg-col {
    min-width: 0;
}

/* The FAQ: each answer is in the page, folded. */
.lk-product .lk-pg-faq-list {
    display: grid;
    gap: 12px;
    max-width: 52rem;
    margin-top: 26px;
}

.lk-product .lk-pg-faq details {
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: var(--lk-r);
    background: var(--lk-surface);
    box-shadow: var(--lk-sh);
}

.lk-product .lk-pg-faq details[open] {
    background: var(--lk-surface-2);
}

.lk-product .lk-pg-faq summary {
    position: relative;
    display: block;
    min-height: 56px;
    padding: 16px 64px 16px 18px;
    border-radius: inherit;
    font: 700 16.5px/1.4 var(--lk-body);
    list-style: none;
    cursor: pointer;
}

.lk-product .lk-pg-faq summary::-webkit-details-marker {
    display: none;
}

/* A plus that turns into a minus: drawn, so no sign is read out with the question. */
.lk-product .lk-pg-faq summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 30px;
    height: 30px;
    border: var(--lk-bw) solid var(--lk-line);
    border-radius: 9px;
    background:
        linear-gradient(var(--lk-ink), var(--lk-ink)) center / 12px 2.5px no-repeat,
        linear-gradient(var(--lk-ink), var(--lk-ink)) center / 2.5px 12px no-repeat,
        var(--lk-lilac);
    transform: translateY(-50%);
}

.lk-product .lk-pg-faq details[open] summary::after {
    background:
        linear-gradient(var(--lk-ink), var(--lk-ink)) center / 12px 2.5px no-repeat,
        var(--lk-y);
}

.lk-product .lk-pg-faq details p {
    padding: 0 18px 18px;
    color: var(--lk-muted);
    font-size: 16px;
    line-height: 1.6;
}

/* The closing band, on sun. */
.lk-product .lk-pg-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.lk-product .lk-pg-cta-inner .lk-lead {
    margin-top: 14px;
}

.lk-product .lk-pg-cta-inner .lk-btn-row {
    justify-content: center;
    margin-top: 28px;
}

@container (min-width: 580px) {
    .lk-product .lk-pg-definitions,
    .lk-product .lk-pg-games {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lk-product .lk-pg-flow {
        flex-direction: row;
        align-items: center;
    }

    .lk-product .lk-pg-flow span {
        flex: 1;
    }

    .lk-product .lk-pg-flow i {
        transform: none;
    }
}

@container (min-width: 760px) {
    .lk-product .lk-pg-split {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        gap: 40px;
    }

    .lk-product .lk-pg-two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px;
    }
}

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

@media (min-width: 1600px) {
    .lk-product .lk-pf-title {
        font-size: clamp(64px, 4.2vw, 84px);
    }

    .lk-product .lk-pg-title {
        font-size: clamp(60px, 3.9vw, 80px);
    }

    .lk-product .lk-pf-row-copy p,
    .lk-product .lk-pg-intro,
    .lk-product .lk-pg-prose {
        font-size: 18px;
    }

    .lk-product .lk-pf-rows {
        padding: 120px 0 128px;
    }

    .lk-product .lk-pf-row + .lk-pf-row {
        margin-top: 120px;
    }

    .lk-product .lk-pf-row-media .lk-pf-pic {
        max-width: 620px;
    }

    .lk-product .lk-pg-article {
        grid-template-columns: 280px minmax(0, 1fr);
    }
}

/* ── Phones: a row of a label and its control stacks, the buttons fill the line ── */

@media (max-width: 479px) {
    .lk-product .lk-pf-actions .lk-btn,
    .lk-product .lk-pg-actions .lk-btn {
        flex: 1 1 100%;
    }

    .lk-product .lk-pg-editor-actions #runPygameStarter {
        flex: 1 1 100%;
    }

    .lk-product #pygameLaunchStatus {
        flex: 1 1 100%;
        margin-left: 0;
    }

    .lk-product .st-fx-menu--grid .st-fx-menu-items {
        grid-template-columns: minmax(0, 1fr);
    }

    .lk-product .st-collab-code {
        font-size: 13px;
    }

    .lk-product .st-collab-gutter {
        width: 38px;
        padding-right: 10px;
    }
}

/* ── Today's small motions, as home.css draws them ── */

@keyframes lkp-caret {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}

@keyframes lkp-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.8); }
}

@keyframes lkp-flap {
    0%, 100% { transform: translateY(-40%) rotate(-12deg); }
    50% { transform: translateY(40%) rotate(14deg); }
}

/* ── Less motion: nothing lifts, fades, blinks or flies ── */

@media (prefers-reduced-motion: reduce) {
    .lk-product .lk-pf-card,
    .lk-product .lk-pg-game,
    .lk-product .st-collab-cursor,
    .lk-product .st-update-bolt-card {
        transition: none;
    }

    .lk-product .lk-pf-card:hover,
    .lk-product .lk-pf-card:active,
    .lk-product .lk-pg-game:hover,
    .lk-product .lk-pg-game:active {
        transform: none;
    }

    .lk-product .lk-pg-game.is-loading em::after,
    .lk-product .st-collab-cursor b,
    .lk-product .st-fx-live i,
    .lk-product .st-collab-live i,
    .lk-product .st-flappy-bird {
        animation: none;
    }
}
