.public-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.25rem 2rem;
    border-top: 0.0625rem solid var(--brd);
    color: var(--t3);
    font-size: 0.8rem;
}

.public-foot a {
    color: var(--t2);
    text-decoration: none;
}

.public-foot a:hover {
    color: var(--t1);
}

.ld {
    position: relative;
    max-width: 68rem;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.ld-glow {
    pointer-events: none;
    position: absolute;
    inset: -4rem -8% auto;
    height: 28rem;
    background:
        radial-gradient(ellipse 50% 55% at 72% 35%, color-mix(in srgb, var(--acc) 28%, transparent), transparent 70%),
        radial-gradient(ellipse 40% 50% at 18% 10%, color-mix(in srgb, var(--a2) 14%, transparent), transparent 68%);
    filter: blur(2px);
    z-index: 0;
}

.ld-hero,
.ld-metrics,
.ld-insert,
.ld-stack,
.ld-download {
    position: relative;
    z-index: 1;
}

.ld-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2.25rem 2.5rem;
    align-items: center;
    margin: 1.25rem 0 2.5rem;
}

.ld-hero .landing-hero,
.ld-hero-copy .landing-kicker {
    margin-top: 0;
}

.ld-hero h1 {
    font-family: var(--fd), sans-serif;
    font-size: clamp(1.85rem, 3.4vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0 0 0.85rem;
}

.ld-facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
    color: var(--t3);
    font-size: 0.82rem;
}

.ld-facts li::before {
    content: "— ";
    color: var(--acc);
}

.ld-hero-stage {
    min-width: 0;
}

.ld-app {
    border: 0.0625rem solid var(--brd);
    border-radius: 0.95rem;
    background: color-mix(in srgb, var(--bg2) 88%, #000);
    box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.ld-app-bar {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.75rem;
    background: var(--bg1);
    border-bottom: 0.0625rem solid var(--brd);
}

.ld-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--bg4);
}

.ld-dot:nth-child(1) { background: #ff5f57; }
.ld-dot:nth-child(2) { background: #febc2e; }
.ld-dot:nth-child(3) { background: #28c840; }

.ld-app-title {
    margin-left: 0.5rem;
    font-family: var(--fm), monospace;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--t3);
}

.ld-app-body {
    display: grid;
    grid-template-columns: 8.4rem minmax(0, 1fr);
    min-height: 16.5rem;
}

.ld-side {
    padding: 0.75rem 0.6rem;
    background: var(--bg1);
    border-right: 0.0625rem solid var(--brd);
}

.ld-side-lab {
    font-size: 0.65rem;
    color: var(--t3);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
}

.ld-user {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--t2);
    padding: 0.28rem 0.2rem;
}

.ld-user i {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--offline);
    flex-shrink: 0;
}

.ld-user.on i { background: var(--online); }
.ld-user.mute { opacity: 0.55; }
.ld-user.speak i {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--online) 70%, transparent);
    animation: ld-ring 1.6s ease-out infinite;
}

.ld-user.join {
    animation: ld-slide-in 8s ease-out infinite;
}

.ld-vu {
    display: inline-flex;
    align-items: flex-end;
    gap: 0.08rem;
    height: 0.7rem;
    margin-left: auto;
}

.ld-vu b {
    display: block;
    width: 0.14rem;
    height: 20%;
    background: var(--a2);
    animation: ld-vu 0.9s ease-in-out infinite;
}

.ld-vu b:nth-child(2) { animation-delay: -0.2s; }
.ld-vu b:nth-child(3) { animation-delay: -0.45s; }
.ld-vu b:nth-child(4) { animation-delay: -0.1s; }

.ld-stage {
    padding: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ld-screen {
    position: relative;
    flex: 1;
    min-height: 8.2rem;
    border-radius: 0.55rem;
    overflow: hidden;
    background: #12151c;
    border: 0.0625rem solid var(--brd);
}

.ld-screen-chrome {
    position: absolute;
    z-index: 2;
    top: 0.4rem;
    left: 0.5rem;
    font-family: var(--fm), monospace;
    font-size: 0.62rem;
    color: var(--t3);
}

.ld-screen-map {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 40%, color-mix(in srgb, var(--acc) 18%, transparent) 50%, transparent 60%),
        repeating-linear-gradient(90deg, transparent 0 18px, color-mix(in srgb, #fff 4%, transparent) 18px 19px),
        repeating-linear-gradient(0deg, transparent 0 18px, color-mix(in srgb, #fff 4%, transparent) 18px 19px);
    opacity: 0.35;
    animation: ld-pan 12s linear infinite;
}

.ld-watch {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: rgba(10, 11, 15, 0.72);
    font-size: 0.78rem;
    font-weight: 600;
    animation: ld-watch 9s ease-in-out infinite;
}

.ld-watch span {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: #fff;
    background: var(--red);
    padding: 0.12rem 0.4rem;
    border-radius: 0.25rem;
}

.ld-bubbles p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--t2);
}

.ld-bubbles p.late {
    animation: ld-fade-in 8s ease-in-out infinite;
}

.ld-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 2.75rem;
}

.ld-metrics > div {
    border: 0.0625rem solid var(--brd);
    border-radius: 0.8rem;
    padding: 0.9rem 1rem;
    background: color-mix(in srgb, var(--bg3) 80%, transparent);
}

.ld-metrics strong {
    display: block;
    font-family: var(--fd), sans-serif;
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
}

.ld-metrics span {
    color: var(--t2);
    font-size: 0.82rem;
}

.ld-insert {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.95fr);
    gap: 1.75rem 2.25rem;
    align-items: center;
    margin: 0 0 2.6rem;
}

.ld-insert.rev {
    grid-template-columns: minmax(16rem, 0.95fr) minmax(0, 1.05fr);
}

.ld-insert.rev .ld-insert-copy { order: 2; }
.ld-insert.rev .ld-card { order: 1; }

.ld-insert-kicker {
    margin: 0 0 0.4rem;
    color: var(--acc);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ld-insert h2 {
    font-family: var(--fd), sans-serif;
    font-size: 1.55rem;
    line-height: 1.15;
    margin: 0 0 0.7rem;
}

.ld-insert-copy p {
    margin: 0 0 0.7rem;
    color: var(--t2);
    font-size: 0.95rem;
    line-height: 1.45;
}

.ld-card {
    border: 0.0625rem solid var(--brd);
    border-radius: 0.9rem;
    padding: 1.15rem 1.2rem;
    background: var(--bg2);
    min-height: 10.5rem;
}

.ld-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.ld-switch-a,
.ld-switch-b {
    padding: 0.35rem 0.55rem;
    border-radius: 0.45rem;
    background: var(--bg3);
}

.ld-switch-a { animation: ld-from 5.5s ease-in-out infinite; }
.ld-switch-b { animation: ld-to 5.5s ease-in-out infinite; }

.ld-switch-arrow {
    color: var(--acc);
    animation: ld-nudge 5.5s ease-in-out infinite;
}

.ld-switch-status {
    margin: 0.75rem 0 1rem;
    font-family: var(--fm), monospace;
    font-size: 0.7rem;
    color: var(--a2);
    letter-spacing: 0.04em;
}

.ld-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.28rem;
    height: 3.2rem;
}

.ld-bars span {
    flex: 1;
    background: linear-gradient(180deg, var(--acc), color-mix(in srgb, var(--acc) 20%, var(--bg3)));
    border-radius: 0.15rem 0.15rem 0 0;
    animation: ld-bar 1.2s ease-in-out infinite;
}

.ld-bars span:nth-child(2) { animation-delay: -0.15s; }
.ld-bars span:nth-child(3) { animation-delay: -0.4s; }
.ld-bars span:nth-child(4) { animation-delay: -0.05s; }
.ld-bars span:nth-child(5) { animation-delay: -0.55s; }
.ld-bars span:nth-child(6) { animation-delay: -0.25s; }
.ld-bars span:nth-child(7) { animation-delay: -0.7s; }
.ld-bars span:nth-child(8) { animation-delay: -0.35s; }

.ld-stream-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.45rem;
    min-height: 8.5rem;
}

.ld-tile {
    border-radius: 0.5rem;
    background: var(--bg3);
    padding: 0.55rem 0.65rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.ld-tile.author {
    grid-row: 1 / span 2;
    background:
        linear-gradient(180deg, transparent 30%, var(--bg1) 100%),
        repeating-linear-gradient(-20deg, #1a2230 0 10px, #15202e 10px 20px);
}

.ld-tile em {
    font-style: normal;
    font-size: 0.82rem;
}

.ld-tile small {
    color: var(--t3);
    font-size: 0.68rem;
}

.ld-tile.wait small {
    color: var(--acc);
    animation: ld-blink 2.8s step-end infinite;
}

.ld-tile.wait.late small { animation-delay: 1.1s; }

.ld-code {
    font-family: var(--fm), monospace;
    font-size: 0.95rem;
    color: var(--t2);
    margin-bottom: 0.65rem;
}

.ld-code span {
    display: inline-block;
    color: var(--t1);
    overflow: hidden;
    white-space: nowrap;
    max-width: 0;
    animation: ld-type 7s steps(4, end) infinite;
    border-right: 0.08rem solid var(--acc);
}

.ld-ttl {
    color: var(--t3);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.ld-ttl b {
    color: var(--t1);
    font-family: var(--fm), monospace;
    animation: ld-tick 1s step-end infinite;
}

.ld-guest-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ld-guest-row span {
    font-size: 0.75rem;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: var(--bg3);
}

.ld-guest-row .guest {
    animation: ld-slide-in 7s ease-out infinite;
    box-shadow: inset 0 0 0 0.0625rem color-mix(in srgb, var(--a2) 45%, var(--brd));
}

.ld-stack {
    margin: 0 0 2.75rem;
}

.ld-stack h2 {
    font-family: var(--fd), sans-serif;
    font-size: 1.45rem;
    margin: 0 0 1rem;
}

.ld-stack-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.ld-stack-grid article {
    border: 0.0625rem solid var(--brd);
    border-radius: 0.85rem;
    padding: 1rem 1.1rem;
    background: var(--bg3);
}

.ld-stack-grid h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.ld-stack-grid p {
    margin: 0;
    color: var(--t2);
    font-size: 0.9rem;
}

.ld-download {
    max-width: none;
}

.ld-download-tg {
    margin-top: 1rem;
    color: var(--t2);
    font-size: 0.9rem;
}

.ld-download-tg a {
    color: var(--acc);
}

@keyframes ld-vu {
    0%, 100% { height: 22%; }
    50% { height: 100%; }
}

@keyframes ld-ring {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--online) 55%, transparent); }
    100% { box-shadow: 0 0 0 0.45rem transparent; }
}

@keyframes ld-pan {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-18px, -10px, 0); }
}

@keyframes ld-watch {
    0%, 38% { opacity: 1; }
    48%, 88% { opacity: 0; pointer-events: none; }
    100% { opacity: 1; }
}

@keyframes ld-fade-in {
    0%, 20% { opacity: 0; }
    35%, 100% { opacity: 1; }
}

@keyframes ld-slide-in {
    0%, 25% { opacity: 0; transform: translateX(-0.5rem); }
    40%, 100% { opacity: 1; transform: none; }
}

@keyframes ld-from {
    0%, 40% { outline: 0.0625rem solid color-mix(in srgb, var(--acc) 70%, transparent); }
    55%, 100% { outline: 0.0625rem solid transparent; }
}

@keyframes ld-to {
    0%, 40% { outline: 0.0625rem solid transparent; }
    55%, 100% { outline: 0.0625rem solid color-mix(in srgb, var(--a2) 70%, transparent); }
}

@keyframes ld-nudge {
    0%, 40% { transform: translateX(0); opacity: 0.45; }
    55%, 100% { transform: translateX(0.15rem); opacity: 1; }
}

@keyframes ld-bar {
    0%, 100% { height: 28%; }
    50% { height: 92%; }
}

@keyframes ld-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.35; }
}

@keyframes ld-type {
    0%, 12% { max-width: 0; }
    35%, 80% { max-width: 4.2rem; }
    100% { max-width: 4.2rem; }
}

@keyframes ld-tick {
    50% { opacity: 0.55; }
}

@media (max-width: 860px) {
    .ld-hero,
    .ld-insert,
    .ld-insert.rev {
        grid-template-columns: 1fr;
    }

    .ld-insert.rev .ld-insert-copy,
    .ld-insert.rev .ld-card {
        order: unset;
    }

    .ld-metrics,
    .ld-stack-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .ld-app-body {
        grid-template-columns: 1fr;
    }

    .ld-side {
        border-right: 0;
        border-bottom: 0.0625rem solid var(--brd);
    }

    .ld-metrics,
    .ld-stack-grid {
        grid-template-columns: 1fr;
    }

    .ld-hero h1 {
        font-size: 1.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ld-user.speak i,
    .ld-vu b,
    .ld-user.join,
    .ld-screen-map,
    .ld-watch,
    .ld-bubbles p.late,
    .ld-switch-a,
    .ld-switch-b,
    .ld-switch-arrow,
    .ld-bars span,
    .ld-tile.wait small,
    .ld-code span,
    .ld-ttl b,
    .ld-guest-row .guest {
        animation: none;
    }

    .ld-watch { opacity: 0; }
    .ld-code span { max-width: 4.2rem; border: 0; }
    .ld-user.join,
    .ld-bubbles p.late,
    .ld-guest-row .guest { opacity: 1; transform: none; }
}
