/* ============================================================================
   STEMLabs — landing page
   ----------------------------------------------------------------------------
   Loaded by index.php only, on top of style.css (tokens, buttons, the hero
   nav, cards and plan cards all come from there). The same rules hold: square
   corners, colour on the edges, nothing soft-focus. What this file adds is
   motion — and every animation here stops for prefers-reduced-motion.
   ========================================================================= */

@keyframes lpRise  { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lpPulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } }
@keyframes lpBlink { 50% { opacity: 0; } }
@keyframes lpShine { 0% { left: -60%; } 24%, 100% { left: 130%; } }
@keyframes lpMarquee { to { transform: translateX(-50%); } }
@keyframes lpDashX { to { background-position: 18px 0; } }
@keyframes lpDashY { to { background-position: 0 18px; } }
@keyframes lpDrift { to { background-position: 340px 0; } }
@keyframes lpWiggle { 30% { transform: rotate(-10deg) scale(1.12); } 60% { transform: rotate(8deg) scale(1.12); } }
@keyframes lwFade { from { opacity: .15; } }

/* ---------- reveal on scroll (landing.js adds .motion, then .in) ---------- */
/* `translate` rather than `transform`, so a card's own hover lift still works. */
.motion .rv {
    opacity: 0; translate: 0 24px;
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0s),
                translate .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0s),
                transform .2s, box-shadow .2s, border-color .2s;
}
.motion .rv.in { opacity: 1; translate: none; }

/* ---------- shared bits ---------- */
.lp-kicker {
    text-align: center; font-size: .78rem; font-weight: 800; letter-spacing: .16em;
    text-transform: uppercase; color: var(--blue-600); margin-bottom: .5rem;
}
.landing .section h2 { margin-top: 0; }
.lp-sub { text-align: center; color: var(--muted); max-width: 46rem; margin: 0 auto 2.2rem; }
.lp-center { text-align: center; margin: 2.4rem 0 0; }
.lp-btn-lg { padding: .85rem 1.25rem; font-size: 1.02rem; }
.lp-shine { position: relative; overflow: hidden; }
.lp-shine::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
    transform: skewX(-20deg); animation: lpShine 5s ease-in-out 1.5s infinite; pointer-events: none;
}
.lp-checks { list-style: none; padding: 0; margin: 1.1rem 0 1.5rem; }
.lp-checks li { position: relative; padding-left: 1.75rem; margin: .5rem 0; color: #dbe8f8; }
.lp-checks li::before {
    content: '\2713'; position: absolute; left: 0; top: .15em; width: 1.15rem; height: 1.15rem;
    line-height: 1.15rem; text-align: center; font-size: .72rem; font-weight: 800;
    background: rgba(34, 211, 238, .16); color: var(--cyan-300);
}
.lp-checks-dark li { color: var(--ink); }
.lp-checks-dark li::before { background: #d8f2fa; color: #06506b; }

/* ---------- sticky sign-up bar ---------- */
.lp-sticky {
    position: fixed; top: 0; left: 0; right: 0; z-index: 60;
    background: rgba(5, 16, 31, .97); border-bottom: var(--edge) solid var(--cyan-400);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    transform: translateY(-110%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
}
.lp-sticky.on { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
.lp-sticky-inner {
    max-width: 1140px; margin: 0 auto; padding: .55rem 1.5rem;
    display: flex; align-items: center; gap: .8rem;
}
.lp-sticky .logo { font-size: 1.25rem; color: #fff; margin-right: auto; }
.lp-sticky .logo span { color: var(--cyan-400); }
.lp-sticky-note { color: #93b3d8; font-size: .86rem; }
.lp-sticky .btn-ghost { color: #fff; border-color: rgba(127, 180, 255, .45); }
.lp-sticky .btn-ghost:hover { border-color: var(--cyan-400); color: #fff; }

/* ---------- hero ---------- */
.landing header.lp-hero { padding-bottom: 6.5rem; }
.lp-hero-grid {
    position: relative; z-index: 1; max-width: 1140px; margin: 2.8rem auto 0;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; align-items: center;
}
.lp-hero-copy > * { animation: lpRise .7s cubic-bezier(.2, .7, .2, 1) both; }
/* The headline is the page's largest paint, so it moves but is never invisible. */
.lp-hero-copy > h1 { animation-name: lpLift; }
@keyframes lpLift { from { transform: translateY(14px); } }
.lp-hero-copy > :nth-child(2) { animation-delay: .07s; }
.lp-hero-copy > :nth-child(3) { animation-delay: .14s; }
.lp-hero-copy > :nth-child(4) { animation-delay: .21s; }
.lp-hero-copy > :nth-child(5) { animation-delay: .28s; }
.lp-hero-copy > :nth-child(6) { animation-delay: .35s; }
.lp-hero-copy > :nth-child(7) { animation-delay: .42s; }

.lp-live {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--cyan-300); background: rgba(34, 211, 238, .08);
    border-left: var(--edge) solid var(--cyan-400); padding: .38rem .8rem;
}
.lp-live i { width: 8px; height: 8px; background: #4ade80; animation: lpPulse 1.8s infinite; }
.lp-hero h1 { font-size: clamp(2rem, 4.1vw, 3.15rem); margin: 1rem 0 .7rem; letter-spacing: -.03em; }
.lp-typed {
    font-family: Consolas, "SF Mono", monospace; color: var(--cyan-300);
    font-size: 1.12rem; margin: 0 0 1rem; min-height: 1.6em;
}
.lp-prompt { color: var(--blue-300); }
.lp-caret {
    display: inline-block; width: .55em; height: 1.1em; margin-left: 2px; vertical-align: -.18em;
    background: var(--cyan-400); animation: lpBlink 1s steps(1) infinite;
}
.lp-lede { color: #bcd2ee; font-size: 1.06rem; max-width: 36rem; margin: 0 0 1.7rem; }
.lp-cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.lp-hero .btn-ghost, .lp-final .btn-ghost { color: #fff; border-color: rgba(127, 180, 255, .45); }
.lp-hero .btn-ghost:hover, .lp-final .btn-ghost:hover {
    border-color: var(--cyan-400); color: #fff; box-shadow: inset 0 -2px 0 var(--cyan-400);
}
.lp-demo-link { margin: 1rem 0 0; color: #93b3d8; font-size: .92rem; }
.lp-demo-link a { color: var(--cyan-300); font-weight: 700; }
.lp-ticks {
    list-style: none; padding: 0; margin: 1.3rem 0 0;
    display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; color: #cfe0f7; font-size: .9rem;
}
.lp-ticks li::before { content: '\2713'; color: var(--cyan-400); font-weight: 800; margin-right: .45rem; }

/* ---------- the lab window ---------- */
.lp-window {
    position: relative; background: var(--navy-900);
    border: 1px solid rgba(127, 180, 255, .25);
    border-top: var(--edge) solid var(--blue-500); border-bottom: var(--edge) solid var(--cyan-400);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
    animation: lpRise .9s .25s cubic-bezier(.2, .7, .2, 1) both;
}
.lw-chrome {
    display: flex; align-items: center; gap: 6px; padding: .5rem .7rem;
    background: #0b1a2e; border-bottom: 1px solid rgba(127, 180, 255, .14);
}
.lw-chrome i { width: 10px; height: 10px; flex-shrink: 0; background: #f87171; }
.lw-chrome i:nth-child(2) { background: #f5c542; }
.lw-chrome i:nth-child(3) { background: #4ade80; }
.lw-url {
    flex: 1; min-width: 0; margin-left: .6rem; padding: .22rem .6rem;
    font: 12px Consolas, "SF Mono", monospace; color: #7e97b8; background: rgba(127, 180, 255, .07);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lw-url b { color: var(--cyan-300); font-weight: 400; }
.lw-tabs { display: flex; background: #0b1a2e; }
.lw-tab {
    flex: 1; min-width: 0; background: transparent; border: 0; border-bottom: 2px solid transparent;
    color: #93b3d8; font: 600 .84rem "Segoe UI", system-ui, sans-serif;
    padding: .62rem .4rem; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: color .15s, background .15s;
}
.lw-tab:hover { color: #fff; background: rgba(127, 180, 255, .07); }
.lw-tab.on { color: #fff; background: rgba(61, 144, 255, .16); border-bottom-color: var(--cyan-400); }
.lw-tab:focus-visible { outline: 2px solid var(--cyan-400); outline-offset: -2px; }
.lw-progress { height: 2px; background: rgba(127, 180, 255, .1); }
.lw-progress span {
    display: block; height: 100%; background: var(--cyan-400);
    transform: scaleX(0); transform-origin: left;
}
.lw-body { display: grid; grid-template-columns: minmax(0, 1fr) 176px; }
/* The canvas is laid over the stage rather than sizing it, so its own pixel
   size can never feed back into the height of the row. */
.lw-stage { position: relative; min-height: 290px; background: #0a1626; line-height: 0; }
.lw-stage canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.lw-swap .lw-stage canvas { animation: lwFade .45s ease; }
.lw-title {
    position: absolute; left: .7rem; right: .7rem; bottom: .6rem; line-height: 1.3;
    display: flex; align-items: center; gap: .45rem; pointer-events: none;
    font-size: .8rem; font-weight: 700; color: #e7eef7; text-shadow: 0 1px 3px #000;
}
.lw-title [hidden] { display: none; }
.lw-panel {
    display: flex; flex-direction: column; padding: .85rem .8rem;
    background: #f4f8fe; color: var(--ink); border-left: var(--edge) solid var(--cyan-400);
}
.lw-panel h3 { margin: 0 0 .6rem; font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; color: #3a557d; }
.lw-ctl { margin-bottom: .65rem; }
.lw-ctl label {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 .3rem;
    margin: 0 0 .3rem; font-size: .64rem; letter-spacing: .05em;
}
.lw-ctl output { color: var(--blue-700); font-weight: 800; text-transform: none; letter-spacing: 0; }
.lw-range { position: relative; height: 4px; background: #cfdcee; }
.lw-range span { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; background: var(--blue-600); }
.lw-range span::after {
    content: ''; position: absolute; right: -6px; top: -5px; width: 10px; height: 14px;
    background: #fff; border: 2px solid var(--blue-600);
}
.lw-readout {
    margin: .2rem 0 .75rem; padding: .55rem; min-height: 5.1em; white-space: pre-wrap;
    background: var(--navy-900); color: var(--cyan-300); border-left: var(--edge) solid var(--cyan-400);
    font: 11.5px/1.45 Consolas, "SF Mono", monospace;
}
.lw-panel .btn { margin-top: auto; }

/* ---------- stats strip, overlapping the hero's lower edge ---------- */
.lp-stats {
    position: relative; z-index: 2; max-width: 1080px; margin: -3.4rem auto 0;
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--card); border: 1px solid var(--line);
    border-top: 4px solid var(--blue-600); border-bottom: 4px solid var(--cyan-400);
    box-shadow: 0 18px 40px rgba(8, 26, 48, .14);
}
.lp-stat { padding: 1.3rem 1rem; text-align: center; border-left: 1px solid var(--line); }
.lp-stat:first-child { border-left: 0; }
.lp-stat b {
    display: block; font-size: 2.5rem; font-weight: 800; line-height: 1.05;
    color: var(--blue-700); font-variant-numeric: tabular-nums;
}
.lp-stat span { color: var(--muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- showcase of live previews ---------- */
.lp-showcase { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.lp-sim {
    display: flex; flex-direction: column; background: var(--card);
    border: 1px solid var(--line); border-top: var(--edge) solid var(--blue-600); box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.lp-sim:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(8, 26, 48, .16); border-top-color: var(--cyan-400); }
.lp-sim-stage { position: relative; display: block; background: #0a1626; line-height: 0; }
.lp-sim-stage canvas { display: block; width: 100%; aspect-ratio: 16 / 10; }
.lp-sim-play {
    position: absolute; right: .6rem; bottom: .6rem; line-height: 1;
    padding: .45rem .7rem; background: var(--cyan-400); color: #04283a; font-size: .78rem; font-weight: 800;
    opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s;
}
.lp-sim:hover .lp-sim-play, .lp-sim-stage:focus-visible .lp-sim-play { opacity: 1; transform: none; }
.lp-sim-stage:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: -3px; }
.lp-sim-body { padding: 1rem 1.15rem 1.25rem; }
.lp-sim-meta {
    display: flex; justify-content: space-between; align-items: center; gap: .5rem;
    font-size: .74rem; font-weight: 700; color: var(--blue-600); text-transform: uppercase; letter-spacing: .08em;
}
.lp-sim h3 { margin: .45rem 0 .35rem; font-size: 1.08rem; }
.lp-sim p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (hover: none) { .lp-sim-play { opacity: 1; transform: none; } }

/* ---------- how it works ---------- */
.lp-steps {
    position: relative; list-style: none; padding: 0; margin: 2.2rem 0 0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
}
/* the dashed line between the steps flows from one to the next */
.lp-steps::before {
    content: ''; position: absolute; top: 26px; left: 17%; right: 17%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--blue-400) 0 10px, transparent 10px 18px);
    animation: lpDashX 1.1s linear infinite;
}
.lp-steps li { position: relative; text-align: center; padding: 0 .6rem; }
.lp-step-n {
    position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
    width: 54px; height: 54px; background: var(--navy-800); color: var(--cyan-300);
    font-size: 1.35rem; font-weight: 800; border-bottom: var(--edge) solid var(--cyan-400);
    box-shadow: 0 0 0 6px var(--bg);
}
.lp-steps h3 { margin: .95rem 0 .4rem; font-size: 1.12rem; }
.lp-steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- subjects band: drifting catalogue + cards ---------- */
.landing .section-band .lp-marquee {
    max-width: none; margin: 0 -1.5rem 2.4rem; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.lp-marquee-row { display: flex; width: max-content; animation: lpMarquee 90s linear infinite; }
.lp-marquee-row.rev { animation-direction: reverse; animation-duration: 100s; }
.lp-marquee-row + .lp-marquee-row { margin-top: .6rem; }
.lp-marquee:hover .lp-marquee-row { animation-play-state: paused; }
.lp-marquee ul { display: flex; gap: .6rem; list-style: none; margin: 0; padding: 0 .6rem 0 0; }
.lp-marquee li {
    white-space: nowrap; padding: .42rem .8rem; font-size: .88rem; font-weight: 600;
    background: #fff; border: 1px solid var(--line); border-left: var(--edge) solid var(--blue-500);
}
.lp-marquee li b {
    margin-left: .3rem; padding: .08rem .35rem; font-size: .64rem; letter-spacing: .05em;
    background: var(--navy-700); color: var(--cyan-300);
}
.lp-subject { display: flex; flex-direction: column; }
.lp-subject .icon { display: inline-block; align-self: flex-start; transition: transform .3s; }
.lp-subject:hover .icon { transform: scale(1.18) rotate(-6deg); }
.lp-subject ul { margin: .3rem 0 1rem; padding-left: 1.2rem; color: var(--muted); font-size: .9rem; }
.lp-subject-link { margin-top: auto; font-weight: 700; font-size: .92rem; text-decoration: none; }
.lp-subject-link:hover { text-decoration: underline; }

/* ---------- 3-D equipment spotlight ---------- */
.lp-equip {
    color: #fff; padding: 4.2rem 1.5rem;
    background:
        repeating-linear-gradient(112deg, rgba(61, 144, 255, .08) 0 3px, rgba(61, 144, 255, 0) 3px 34px),
        linear-gradient(155deg, var(--navy-700) 0%, var(--navy-900) 100%);
    border-top: 5px solid var(--blue-600); border-bottom: 5px solid var(--cyan-400);
}
.lp-equip-inner {
    max-width: 1140px; margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; align-items: center;
}
.lp-equip-stage {
    position: relative; background: #0e1726;
    border: 1px solid rgba(127, 180, 255, .2); border-top: var(--edge) solid var(--cyan-400);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}
.lp-equip-stage canvas { display: block; width: 100%; aspect-ratio: 4 / 3; cursor: grab; touch-action: pan-y; }
.lp-equip-stage canvas:active { cursor: grabbing; }
.lp-equip-hint {
    position: absolute; top: .6rem; right: .7rem; pointer-events: none;
    font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #7e97b8;
}
.lp-equip-off canvas, .lp-equip-off .lp-equip-hint { visibility: hidden; }
.lp-equip-chips {
    display: flex; flex-wrap: wrap; gap: .35rem; padding: .6rem;
    background: #0b1a2e; border-top: 1px solid rgba(127, 180, 255, .14);
}
.lp-equip-chips button {
    padding: .4rem .7rem; border: 0; border-bottom: 2px solid transparent; cursor: pointer;
    background: rgba(127, 180, 255, .08); color: #bed4ef; font: 600 .8rem "Segoe UI", system-ui, sans-serif;
}
.lp-equip-chips button:hover { color: #fff; background: rgba(127, 180, 255, .14); }
.lp-equip-chips button.on { background: var(--blue-600); color: #fff; border-bottom-color: var(--cyan-400); }
.lp-equip-copy .lp-kicker { text-align: left; color: var(--cyan-300); }
.lp-equip-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: .2rem 0 .9rem; }
.lp-equip-copy p { color: #bcd2ee; }

/* ---------- why STEMLabs ---------- */
.lp-why { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 2rem; }
.lp-why-item {
    background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--blue-600);
    padding: 1.3rem; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.lp-why-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-left-color: var(--cyan-400); }
.lp-why-ico { display: inline-block; font-size: 1.75rem; }
.lp-why-item:hover .lp-why-ico { animation: lpWiggle .6s; }
.lp-why h3 { margin: .5rem 0 .35rem; font-size: 1.08rem; }
.lp-why p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- two ways to join ---------- */
.lp-join { padding-top: 1rem; }
.lp-join-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 1.6rem; }
.lp-join-card { display: flex; flex-direction: column; padding: 1.7rem; }
.lp-join-card .hint { margin: 0 0 1.1rem; }
.lp-join-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- FAQ ---------- */
.lp-faq-list { max-width: 780px; margin: 1.8rem auto 0; }
.lp-faq details {
    margin-bottom: .6rem; background: var(--card);
    border: 1px solid var(--line); border-left: var(--edge) solid var(--line-strong);
}
.lp-faq details[open] { border-left-color: var(--blue-600); }
.lp-faq summary {
    position: relative; cursor: pointer; list-style: none;
    padding: 1rem 3rem 1rem 1.2rem; font-weight: 700;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
    content: '+'; position: absolute; right: 1.1rem; top: 50%; line-height: 1;
    font-size: 1.45rem; color: var(--blue-600); transform: translateY(-50%); transition: transform .25s;
}
.lp-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.lp-faq summary:focus-visible { outline: 2px solid var(--blue-500); outline-offset: -2px; }
.lp-faq details p { margin: 0; padding: 0 1.2rem 1.15rem; color: var(--muted); }
.lp-faq details[open] p { animation: lpRise .35s ease both; }

/* ---------- closing call to action ---------- */
.lp-final {
    position: relative; overflow: hidden; color: #fff; text-align: center; padding: 4.4rem 1.5rem;
    background: linear-gradient(155deg, var(--navy-600) 0%, var(--navy-800) 55%, var(--navy-900) 100%);
    border-top: 5px solid var(--cyan-400);
}
.lp-final::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: repeating-linear-gradient(112deg, rgba(61, 144, 255, .1) 0 3px, rgba(61, 144, 255, 0) 3px 34px);
    animation: lpDrift 30s linear infinite;
}
.lp-final-inner { position: relative; max-width: 760px; margin: 0 auto; }
.lp-final h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 .7rem; }
.lp-final p { color: #bcd2ee; font-size: 1.08rem; margin: 0; }
.lp-final .lp-cta { justify-content: center; margin-top: 1.7rem; }
.lp-final p.lp-final-note { margin-top: 1.2rem; font-size: .9rem; color: #93b3d8; }
.lp-final-note a { color: var(--cyan-300); font-weight: 700; }
.lp-final + .site-footer { margin-top: 0; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
    .lp-hero-grid { grid-template-columns: 1fr; gap: 2.6rem; margin-top: 2rem; }
    .lp-hero-copy { text-align: center; }
    .lp-lede { margin-left: auto; margin-right: auto; }
    .lp-cta, .lp-ticks { justify-content: center; }
    .lp-window { width: 100%; max-width: 680px; margin: 0 auto; }
    .lp-equip-inner { grid-template-columns: 1fr; gap: 2.2rem; }
}
@media (max-width: 760px) {
    .lp-stats { grid-template-columns: 1fr 1fr; margin: -2.6rem 1rem 0; }
    .lp-stat:nth-child(3) { border-left: 0; }
    .lp-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .lp-stat b { font-size: 2rem; }
    .lp-steps { grid-template-columns: 1fr; gap: 1.6rem; }
    .lp-steps::before {
        top: 0; bottom: 0; left: 26px; right: auto; width: 2px; height: auto;
        background: repeating-linear-gradient(180deg, var(--blue-400) 0 10px, transparent 10px 18px);
        animation-name: lpDashY;
    }
    .lp-steps li { text-align: left; padding: 0 0 0 76px; min-height: 54px; }
    .lp-step-n { position: absolute; left: 0; top: 0; }
    .lp-steps h3 { margin-top: .25rem; }
}
@media (max-width: 640px) {
    .landing header.lp-hero { padding-left: 1rem; padding-right: 1rem; padding-bottom: 5.4rem; }
    .landing .section { padding-left: 1rem; padding-right: 1rem; }
    .landing .section-band .lp-marquee { margin-left: -1rem; margin-right: -1rem; }
    .lp-equip { padding: 3.2rem 1rem; }
    .lp-final { padding: 3.6rem 1rem; }
    .lp-sticky-inner { padding: .5rem 1rem; }
    .lp-sticky-note, .lp-hide-sm { display: none; }
    .lp-cta .btn { width: 100%; text-align: center; }
    .lp-showcase, .lp-why, .lp-join-grid { grid-template-columns: 1fr; }
    .lw-body { grid-template-columns: 1fr; }
    .lw-stage { min-height: 0; aspect-ratio: 16 / 11; }
    .lw-panel { border-left: 0; border-top: var(--edge) solid var(--cyan-400); padding: .7rem .8rem; }
    .lw-panel h3, .lw-readout, .lw-panel .btn { display: none; }
    #lwControls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
    .lw-ctl { margin: 0; }
    .lw-tab { font-size: .76rem; padding: .55rem .2rem; }
    .lw-url { font-size: 11px; }
}

/* Motion is decoration: for anyone who asks for less, it all stops. */
@media (prefers-reduced-motion: reduce) {
    .lp-hero-copy > *, .lp-window, .lp-faq details[open] p, .lw-swap .lw-stage canvas { animation: none; }
    .lp-shine::after, .lp-caret, .lp-live i, .lp-steps::before, .lp-final::before,
    .landing .hero-bg span, .lp-why-item:hover .lp-why-ico { animation: none; }
    .lp-marquee-row { animation: none; }
    .landing .section-band .lp-marquee { overflow-x: auto; }
    .lp-sim, .lp-why-item, .lp-sticky { transition: none; }
}
