/* ============================================================
   Landing page sections: hero refresh, headline ticker, newsroom,
   board calendar, capabilities, workflow, call to action, footer.
   Loads after landing.css and public-articles.css and overrides
   their greens with the emerald palette used on /role-login.
   ============================================================ */

body.lp-home {
    --ls-green-950: #042a1c;
    --ls-green-900: #06402a;
    --ls-green-800: #0a5a3a;
    --ls-green-700: #0d7a4a;
    --ls-green-500: #22b86a;
    --ls-green-100: #e6f5ec;
    --ls-green-50: #f3faf6;
    --ls-green-rgb: 13, 122, 74;
    --ls-gold: #fbc217;
    --ls-gold-deep: #c8961a;
    --ls-ink: #13211a;
    --ls-muted: #5d6b63;
    --ls-line: #e1e9e4;
    --ls-radius: 14px;
    --ls-ease: cubic-bezier(0.22, 1, 0.36, 1);

    /* Re-point the shared header and hero tokens at the emerald palette. */
    --pa-green: var(--ls-green-800);
    --pa-green-btn: var(--ls-green-700);
    --pa-green-deep: var(--ls-green-900);
    --pa-green-mid: var(--ls-green-500);
    --lp-green: var(--ls-green-800);
    --lp-green-btn: var(--ls-green-700);
    --lp-green-dark: var(--ls-green-900);
    --lp-green-deep: var(--ls-green-950);

    background: #fff;
}

.ls-container {
    width: min(100% - 2.5rem, 1240px);
    margin-inline: auto;
}

/* ── Hero ─────────────────────────────────────────────────── */

.ls-hero {
    background-color: var(--ls-green-900);
}

.ls-hero::before {
    background:
        linear-gradient(90deg, rgba(4, 42, 28, 0.96) 0%, rgba(6, 64, 42, 0.86) 40%, rgba(13, 122, 74, 0.58) 72%, rgba(13, 122, 74, 0.34) 100%),
        linear-gradient(0deg, rgba(4, 42, 28, 0.55) 0%, transparent 40%);
}

.ls-hero .lp-hero-inner {
    width: min(100% - 2.5rem, 1240px);
    padding-inline: 0;
}

.ls-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 2.25rem 0 0;
    padding: 0;
    list-style: none;
    color: #eef8f2;
    font-size: 0.84rem;
    font-weight: 600;
}

.ls-hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.ls-hero-trust svg {
    width: 16px;
    height: 16px;
    color: var(--ls-gold);
}

.ls-scroll-cue {
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    transform: translateX(-50%);
    border-radius: 50%;
}

.ls-scroll-cue-mouse {
    display: block;
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
}

.ls-scroll-cue-mouse span {
    display: block;
    width: 4px;
    height: 8px;
    margin: 6px auto 0;
    border-radius: 2px;
    background: var(--ls-gold);
    animation: ls-wheel 1.8s var(--ls-ease) infinite;
}

/* Staggered entrance for the hero copy. */
.ls-enter {
    opacity: 0;
    animation: ls-rise 0.9s var(--ls-ease) forwards;
    animation-delay: calc(0.12s + var(--d, 0) * 0.11s);
}

.lp-hero h1 .ls-enter {
    display: block;
}

/* Hero text colours: gold overline, gold-gradient second line, mint-white copy. */
.ls-hero .lp-hero-overline {
    color: var(--ls-gold);
    letter-spacing: 0.16em;
}

.ls-hero .lp-hero-overline-rule {
    background: linear-gradient(90deg, rgba(251, 194, 23, 0.15), var(--ls-gold));
}

.ls-hero h1 .ls-enter:last-child {
    color: var(--ls-gold);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .ls-hero h1 .ls-enter:last-child {
        padding-bottom: 0.08em;
        margin-bottom: -0.08em;
        background: linear-gradient(95deg, #fff1c2 0%, #fbc217 48%, #f5a524 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: none;
        filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.3));
    }
}

.ls-hero .lp-hero-desc {
    color: #dcefe4;
}

/* ── Hero news panel ──────────────────────────────────────── */

.ls-hero .ls-hero-inner--news {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
    gap: clamp(2.5rem, 5vw, 4.5rem);
}

.ls-hero-news {
    justify-self: end;
    width: 100%;
    min-width: 0;
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(4, 42, 28, 0.74), rgba(6, 64, 42, 0.56));
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #fff;
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    backdrop-filter: blur(16px) saturate(1.2);
}

.ls-hero-news-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.95rem;
}

.ls-hero-news-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border-radius: 12px;
    background: rgba(251, 194, 23, 0.14);
    box-shadow: inset 0 0 0 1px rgba(251, 194, 23, 0.3);
    color: var(--ls-gold);
}

.ls-hero-news-icon svg {
    width: 20px;
    height: 20px;
}

.ls-hero-news-heading {
    flex: 1 1 auto;
    min-width: 0;
}

.ls-hero-news-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--ls-gold);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ls-hero-news h2 {
    margin: 0.15rem 0 0;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
}

.ls-hero-news-all {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex: 0 0 auto;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.ls-hero-news-all svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s var(--ls-ease);
}

.ls-hero-news-all:hover {
    border-color: var(--ls-gold);
    background: var(--ls-gold);
    color: #2a2208;
}

.ls-hero-news-all:hover svg {
    transform: translateX(2px);
}

/* Featured (latest) story. */
.ls-hero-feature {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
    color: var(--ls-ink);
    text-decoration: none;
    transition: transform 0.35s var(--ls-ease), box-shadow 0.35s var(--ls-ease);
}

.ls-hero-feature:hover {
    color: var(--ls-ink);
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
}

.ls-hero-feature-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 7.2;
    background: var(--ls-green-900);
}

.ls-hero-feature-media > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ls-ease);
}

.ls-hero-feature:hover .ls-hero-feature-media > img,
.ls-hero-feature:hover .ls-story-fallback img {
    transform: scale(1.05);
}

.ls-hero-feature-tags {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    gap: 0.4rem;
}

.ls-hero-feature-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.95rem 1.1rem 1.05rem;
}

.ls-hero-feature-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--ls-green-700);
    font-size: 0.74rem;
    font-weight: 700;
}

.ls-hero-feature-date svg {
    width: 14px;
    height: 14px;
}

.ls-hero-feature-title,
.ls-hero-feature-summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.ls-hero-feature-title {
    color: var(--ls-ink);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.ls-hero-feature:hover .ls-hero-feature-title {
    color: var(--ls-green-800);
}

.ls-hero-feature-summary {
    color: var(--ls-muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

.ls-hero-feature-read {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.15rem;
    color: var(--ls-green-700);
    font-size: 0.8rem;
    font-weight: 800;
}

.ls-hero-feature-read svg {
    width: 15px;
    height: 15px;
    transition: transform 0.25s var(--ls-ease);
}

.ls-hero-feature:hover .ls-hero-feature-read svg {
    transform: translateX(3px);
}

/* More headlines under the featured story. */
.ls-hero-headlines {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem;
    margin: 0.7rem 0 0;
    padding: 0;
    list-style: none;
}

.ls-hero-headlines a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.45rem 0.6rem;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.ls-hero-headlines a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.ls-hero-headline-date {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    line-height: 1;
}

.ls-hero-headline-date span {
    color: var(--ls-gold);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.ls-hero-headline-date strong {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
}

.ls-hero-headline-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.ls-hero-headline-body strong {
    overflow: hidden;
    color: #f4fbf7;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category labels tuned for the dark panel. */
.ls-hero-cat {
    color: #ffd866;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ls-hero-cat--news { color: #7ee2a8; }
.ls-hero-cat--memoranda { color: #a5c4ff; }
.ls-hero-cat--events { color: #d4b8ff; }
.ls-hero-cat--general { color: #d6dde5; }

.ls-hero-headline-arrow {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease, background-color 0.2s ease;
}

.ls-hero-headline-arrow svg {
    width: 15px;
    height: 15px;
}

.ls-hero-headlines a:hover .ls-hero-headline-arrow {
    background: var(--ls-gold);
    color: #2a2208;
}

/* Nothing published yet. */
.ls-hero-news-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 2rem 1.25rem 1.5rem;
    border: 1px dashed rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
}

.ls-hero-news-empty-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin-bottom: 0.35rem;
    border-radius: 50%;
    background: rgba(251, 194, 23, 0.14);
    box-shadow: 0 0 0 8px rgba(251, 194, 23, 0.06);
    color: var(--ls-gold);
}

.ls-hero-news-empty-icon svg {
    width: 26px;
    height: 26px;
}

.ls-hero-news-empty strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.ls-hero-news-empty p {
    max-width: 34ch;
    margin: 0 0 0.5rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.86rem;
    line-height: 1.6;
}

@media screen and (max-width: 1199.98px) {
    .ls-hero .ls-hero-inner--news {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    }
}

@media screen and (max-width: 991.98px) {
    .ls-hero .ls-hero-inner--news {
        grid-template-columns: minmax(0, 1fr);
    }

    .ls-hero-news {
        justify-self: start;
        max-width: 560px;
    }

    /* The stacked panel reaches the bottom of the hero, where the cue sits. */
    .ls-hero .ls-scroll-cue {
        display: none;
    }
}

@media screen and (max-width: 575.98px) {
    .ls-hero-news {
        padding: 0.85rem;
        border-radius: 16px;
    }

    .ls-hero-news-icon {
        display: none;
    }

    .ls-hero-news-kicker {
        font-size: 0.6rem;
        letter-spacing: 0.08em;
    }

    .ls-hero-news-all {
        padding: 0.35rem 0.7rem;
    }
}

/* Shorter screens: keep the panel inside the first viewport. */
@media (min-width: 992px) and (max-height: 860px) {
    .ls-hero-feature-summary {
        display: none;
    }
}

@media (min-width: 992px) and (max-height: 780px) {
    .ls-hero-feature-media {
        aspect-ratio: 16 / 6;
    }

    .ls-hero-headlines li:nth-child(n + 3) {
        display: none;
    }
}

/* ── Scroll reveal (activated by landing-sections.js) ─────── */

.ls-js .ls-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.8s var(--ls-ease),
        transform 0.8s var(--ls-ease);
    transition-delay: calc(var(--d, 0) * 0.1s);
}

.ls-js .ls-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ── Headline ticker ──────────────────────────────────────── */

.ls-ticker {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: stretch;
    background: var(--ls-green-950);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}

.ls-ticker-label {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.55rem;
    padding: 0 1.25rem 0 max(1.25rem, calc((100vw - 1240px) / 2));
    background: var(--ls-gold);
    color: #2a2208;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
    padding-right: 2rem;
}

.ls-live-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #b42318;
}

.ls-live-dot::after {
    position: absolute;
    inset: 0;
    content: '';
    border-radius: 50%;
    background: inherit;
    animation: ls-ping 1.6s ease-out infinite;
}

.ls-ticker-viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.ls-ticker-track {
    display: flex;
    width: max-content;
    animation: ls-marquee var(--ls-ticker-duration, 40s) linear infinite;
}

.ls-ticker:hover .ls-ticker-track,
.ls-ticker:focus-within .ls-ticker-track {
    animation-play-state: paused;
}

.ls-ticker-list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ls-ticker-list li {
    display: flex;
    align-items: center;
}

.ls-ticker-list li::after {
    width: 5px;
    height: 5px;
    margin: 0 1.6rem;
    content: '';
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.ls-ticker-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
}

.ls-ticker-list a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ls-ticker-cat {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--ls-gold);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ── Section scaffolding ──────────────────────────────────── */

.ls-section {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
    color: var(--ls-ink);
}

.ls-section-head {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.ls-section-head--split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 2rem;
}

.ls-section-head--center {
    max-width: 46rem;
    margin-inline: auto;
    text-align: center;
}

.ls-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    color: var(--ls-green-700);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ls-kicker::before {
    width: 1.75rem;
    height: 2px;
    content: '';
    background: var(--ls-gold);
}

.ls-section-head--center .ls-kicker::after {
    width: 1.75rem;
    height: 2px;
    content: '';
    background: var(--ls-gold);
}

.ls-kicker--small {
    margin-bottom: 0.2rem;
    font-size: 0.68rem;
}

.ls-kicker--small::before {
    display: none;
}

.ls-title {
    margin: 0;
    color: var(--ls-ink);
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.ls-lead {
    max-width: 40rem;
    margin: 0.85rem 0 0;
    color: var(--ls-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.ls-section-head--center .ls-lead {
    margin-inline: auto;
}

.ls-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ls-green-700);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.ls-link-arrow svg,
.ls-story-read svg,
.ls-calendar-foot svg,
.ls-btn svg {
    width: 17px;
    height: 17px;
    transition: transform 0.3s var(--ls-ease);
}

.ls-link-arrow:hover {
    color: var(--ls-green-900);
}

.ls-link-arrow:hover svg,
.ls-calendar-foot:hover svg,
.ls-btn:hover svg {
    transform: translateX(4px);
}

/* ── Newsroom ─────────────────────────────────────────────── */

.ls-news {
    position: relative;
    background:
        radial-gradient(60rem 30rem at 100% 0%, rgba(var(--ls-green-rgb), 0.06), transparent 70%),
        #fff;
}

.ls-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2rem;
    align-items: start;
}

.ls-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.ls-chip {
    padding: 0.5rem 1rem;
    border: 1px solid var(--ls-line);
    border-radius: 999px;
    background: #fff;
    color: var(--ls-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ls-chip:hover {
    border-color: rgba(var(--ls-green-rgb), 0.4);
    color: var(--ls-green-800);
}

.ls-chip.is-active {
    border-color: var(--ls-green-800);
    background: var(--ls-green-800);
    color: #fff;
    box-shadow: 0 6px 16px rgba(var(--ls-green-rgb), 0.25);
}

.ls-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.ls-story {
    min-width: 0;
}

.ls-story.is-filtered-out {
    display: none;
}

.ls-story.is-filtering-in {
    animation: ls-pop 0.45s var(--ls-ease);
}

.ls-story-link {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--ls-line);
    border-radius: var(--ls-radius);
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(16, 24, 20, 0.04);
    transition: transform 0.4s var(--ls-ease), box-shadow 0.4s var(--ls-ease), border-color 0.4s ease;
}

.ls-story-link:hover {
    border-color: rgba(var(--ls-green-rgb), 0.3);
    box-shadow: 0 22px 44px -18px rgba(6, 64, 42, 0.35);
    transform: translateY(-6px);
}

.ls-story-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ls-green-900);
}

.ls-story-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ls-ease);
}

.ls-story-link:hover .ls-story-media > img,
.ls-story-link:hover .ls-story-fallback img {
    transform: scale(1.07);
}

.ls-story-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 20%, rgba(34, 184, 106, 0.45), transparent 55%),
        radial-gradient(circle at 85% 90%, rgba(251, 194, 23, 0.22), transparent 50%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 14px),
        linear-gradient(135deg, var(--ls-green-800), var(--ls-green-950));
}

.ls-story-fallback img {
    width: 34%;
    max-width: 120px;
    opacity: 0.9;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
    transition: transform 0.9s var(--ls-ease);
}

.ls-story-media .ls-cat {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
}

.ls-story-media .ls-badge--new {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
}

.ls-story-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.1rem 1.2rem 1.25rem;
}

.ls-story-title {
    color: var(--ls-ink);
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.38;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
    transition: background-size 0.45s var(--ls-ease), color 0.3s ease;
}

.ls-story-link:hover .ls-story-title {
    color: var(--ls-green-800);
}

.ls-story-summary {
    color: var(--ls-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.ls-story-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--ls-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.ls-story-meta svg {
    width: 14px;
    height: 14px;
}

.ls-story-read {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.35rem;
    color: var(--ls-green-700);
    font-size: 0.85rem;
    font-weight: 700;
}

.ls-story-link:hover .ls-story-read svg {
    transform: translateX(4px);
}

/* Featured story: full-width magazine card with overlaid copy. */
.ls-story--featured {
    grid-column: 1 / -1;
}

.ls-story--featured .ls-story-link {
    min-height: clamp(280px, 27vw, 360px);
    border: 0;
    color: #fff;
}

.ls-story--featured .ls-story-media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
}

.ls-story--featured .ls-story-media > img {
    animation: ls-kenburns 18s ease-in-out infinite alternate;
}

/* No cover picture: the logo is a faint mark on the right, clear of the headline on the left. */
.ls-story--featured .ls-story-fallback {
    place-items: center end;
    padding-right: 6%;
}

.ls-story--featured .ls-story-fallback img {
    width: 30%;
    max-width: 230px;
    opacity: 0.22;
    filter: grayscale(0.2) drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
    transform: none;
}

.ls-story--featured .ls-story-link:hover .ls-story-fallback img {
    transform: scale(1.04);
}

.ls-story-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(4, 42, 28, 0.95) 0%, rgba(4, 42, 28, 0.6) 45%, rgba(4, 42, 28, 0.05) 80%),
        linear-gradient(90deg, rgba(4, 42, 28, 0.55), transparent 65%);
}

.ls-story--featured .ls-story-body {
    position: relative;
    justify-content: flex-end;
    gap: 0.75rem;
    max-width: 44rem;
    padding: clamp(1.4rem, 3vw, 2.25rem);
}

.ls-story-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ls-story--featured .ls-story-title {
    color: #fff;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.ls-story--featured .ls-story-link:hover .ls-story-title {
    color: #fff;
    background-size: 100% 1.5px;
}

.ls-story--featured .ls-story-summary {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.98rem;
    -webkit-line-clamp: 2;
}

.ls-story--featured .ls-story-meta {
    flex-wrap: wrap;
    gap: 0.45rem 0.6rem;
    color: rgba(255, 255, 255, 0.75);
}

.ls-story--featured .ls-story-read {
    margin: 0 0 0 1rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: var(--ls-gold);
    color: #2a2208;
}

/* Compact headline rows below the cards. */
.ls-story--compact {
    grid-column: 1 / -1;
}

.ls-story--compact .ls-story-link {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.1rem;
}

.ls-story--compact .ls-story-link:hover {
    transform: translateX(4px);
}

.ls-compact-date {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--ls-green-100);
    color: var(--ls-green-900);
    line-height: 1;
}

.ls-compact-date span {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.ls-compact-date strong {
    margin-top: 0.2rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.ls-compact-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    min-width: 0;
}

.ls-compact-body .ls-cat {
    padding: 0;
    background: none;
    box-shadow: none;
}

.ls-story--compact .ls-story-title {
    font-size: 0.98rem;
    -webkit-line-clamp: 2;
}

.ls-compact-arrow {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ls-green-50);
    color: var(--ls-green-700);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.ls-compact-arrow svg {
    width: 16px;
    height: 16px;
}

.ls-story--compact .ls-story-link:hover .ls-compact-arrow {
    background: var(--ls-green-800);
    color: #fff;
}

/* Category pills and badges. */
.ls-cat,
.ls-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.ls-cat {
    background: #fff;
    color: var(--ls-green-800);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.ls-cat--announcements { color: #9a6a00; }
.ls-cat--news { color: var(--ls-green-700); }
.ls-cat--memoranda { color: #1d4ed8; }
.ls-cat--events { color: #7c3aed; }
.ls-cat--general { color: #475569; }

.ls-ticker-cat.ls-cat--news { color: #7ee2a8; }
.ls-ticker-cat.ls-cat--memoranda { color: #a5c4ff; }
.ls-ticker-cat.ls-cat--events { color: #d4b8ff; }
.ls-ticker-cat.ls-cat--general { color: #d6dde5; }

.ls-badge--featured {
    background: var(--ls-gold);
    color: #2a2208;
}

.ls-badge--new {
    background: #b42318;
    color: #fff;
    box-shadow: 0 0 0 0 rgba(180, 35, 24, 0.5);
    animation: ls-glow 2.2s ease-out infinite;
}

.ls-filter-empty {
    margin: 1rem 0 0;
    color: var(--ls-muted);
}

/* Empty newsroom. */
.ls-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(2.5rem, 5vw, 3.75rem) 1.5rem;
    border: 1px dashed rgba(var(--ls-green-rgb), 0.3);
    border-radius: var(--ls-radius);
    background:
        radial-gradient(28rem 14rem at 50% 0%, rgba(var(--ls-green-rgb), 0.08), transparent 70%),
        var(--ls-green-50);
    text-align: center;
}

.ls-empty h3 {
    margin: 1.75rem 0 0.5rem;
    color: var(--ls-ink);
    font-size: 1.25rem;
    font-weight: 800;
}

.ls-empty p {
    max-width: 30rem;
    margin: 0 0 1.5rem;
    color: var(--ls-muted);
    line-height: 1.6;
}

.ls-empty-art {
    position: relative;
    display: block;
    width: 96px;
    height: 96px;
}

.ls-empty-sheet {
    position: absolute;
    inset: 8px 14px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(6, 64, 42, 0.12);
    transform: rotate(-9deg);
    animation: ls-float 5s ease-in-out infinite;
}

.ls-empty-sheet + .ls-empty-sheet {
    transform: rotate(7deg);
    animation-delay: -2.5s;
}

.ls-empty-icon {
    position: absolute;
    inset: 18px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ls-green-700), var(--ls-green-900));
    color: #fff;
    box-shadow: 0 14px 28px rgba(6, 64, 42, 0.3);
}

.ls-empty-icon svg {
    width: 30px;
    height: 30px;
}

.ls-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.ls-btn--outline {
    border: 1.5px solid var(--ls-green-800);
    color: var(--ls-green-800);
}

.ls-btn--outline:hover {
    background: var(--ls-green-800);
    color: #fff;
}

/* ── Board calendar ───────────────────────────────────────── */

.ls-calendar {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ls-line);
    border-radius: var(--ls-radius);
    background: #fff;
    box-shadow: 0 18px 40px -24px rgba(6, 64, 42, 0.35);
}

.ls-calendar-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.2rem 1.25rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(251, 194, 23, 0.25), transparent 55%),
        linear-gradient(135deg, var(--ls-green-800), var(--ls-green-950));
    color: #fff;
}

.ls-calendar-head .ls-kicker {
    color: var(--ls-gold);
}

.ls-calendar-head h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
}

.ls-calendar-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
}

.ls-calendar-icon svg {
    width: 22px;
    height: 22px;
}

.ls-meetings {
    margin: 0;
    padding: 0.5rem 0;
    list-style: none;
}

.ls-meeting {
    display: flex;
    gap: 0.9rem;
    padding: 0.9rem 1.25rem;
    transition: background-color 0.25s ease;
}

.ls-meeting + .ls-meeting {
    border-top: 1px solid var(--ls-line);
}

.ls-meeting:hover {
    background: var(--ls-green-50);
}

.ls-meeting-date {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 58px;
    overflow: hidden;
    border: 1px solid var(--ls-line);
    border-radius: 10px;
    background: #fff;
}

.ls-meeting-date span {
    align-self: stretch;
    padding: 0.15rem 0;
    background: var(--ls-green-800);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: center;
}

.ls-meeting-date strong {
    flex: 1 1 auto;
    display: grid;
    place-items: center;
    color: var(--ls-ink);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
}

.ls-meeting-body {
    min-width: 0;
}

.ls-meeting-type {
    color: var(--ls-green-700);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ls-meeting-body h4 {
    margin: 0.1rem 0 0.35rem;
    color: var(--ls-ink);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
}

.ls-meeting-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin: 0;
    color: var(--ls-muted);
    font-size: 0.8rem;
}

.ls-meeting-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.ls-meeting-meta svg {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
}

.ls-calendar-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 2rem 1.5rem;
    color: var(--ls-muted);
    text-align: center;
}

.ls-calendar-empty svg {
    width: 34px;
    height: 34px;
    color: rgba(var(--ls-green-rgb), 0.45);
}

.ls-calendar-empty p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
}

.ls-calendar-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.25rem;
    border-top: 1px solid var(--ls-line);
    background: var(--ls-green-50);
    color: var(--ls-green-800);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.ls-calendar-foot:hover {
    color: var(--ls-green-950);
}

/* ── Capabilities ─────────────────────────────────────────── */

.ls-features {
    background:
        radial-gradient(circle at 1px 1px, rgba(var(--ls-green-rgb), 0.1) 1px, transparent 0) 0 0 / 22px 22px,
        var(--ls-green-50);
}

.ls-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.ls-feature {
    position: relative;
    overflow: hidden;
    padding: 1.75rem 1.6rem;
    border: 1px solid var(--ls-line);
    border-radius: var(--ls-radius);
    background: #fff;
    transition: transform 0.4s var(--ls-ease), box-shadow 0.4s var(--ls-ease), border-color 0.3s ease;
}

.ls-feature::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    content: '';
    background: linear-gradient(90deg, var(--ls-green-500), var(--ls-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ls-ease);
}

.ls-feature:hover {
    border-color: rgba(var(--ls-green-rgb), 0.25);
    box-shadow: 0 22px 44px -22px rgba(6, 64, 42, 0.35);
    transform: translateY(-5px);
}

.ls-feature:hover::before {
    transform: scaleX(1);
}

.ls-feature-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.2rem;
    border-radius: 14px;
    background: var(--ls-green-100);
    color: var(--ls-green-700);
    transition: background-color 0.35s ease, color 0.35s ease, transform 0.45s var(--ls-ease);
}

.ls-feature:hover .ls-feature-icon {
    background: var(--ls-green-800);
    color: #fff;
    transform: rotate(-6deg) scale(1.05);
}

.ls-feature-icon svg {
    width: 24px;
    height: 24px;
}

.ls-feature h3 {
    margin: 0 0 0.5rem;
    color: var(--ls-ink);
    font-size: 1.1rem;
    font-weight: 700;
}

.ls-feature p {
    margin: 0;
    color: var(--ls-muted);
    font-size: 0.93rem;
    line-height: 1.65;
}

/* ── How it works ─────────────────────────────────────────── */

.ls-flow {
    background: #fff;
}

/* Walkthrough: step tabs on the left, an animated mock window on the right.
   Each scene's animations only run while it has .is-active, so switching
   steps replays them. Elements are styled in their END state and the
   animations (fill-mode both) supply the earlier frames, so reduced motion
   and the paused "static" mode simply show the finished screen. */
.ls-walk {
    --ls-walk-duration: 8s;
    display: grid;
    grid-template-columns: minmax(0, 370px) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}

.ls-walk-steps {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ls-walk-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    overflow: hidden;
    padding: 1rem 1.1rem 1.15rem;
    border: 1px solid transparent;
    border-radius: var(--ls-radius);
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ls-walk-step:hover {
    background: var(--ls-green-50);
}

.ls-walk-step:focus-visible {
    outline: 3px solid rgba(var(--ls-green-rgb), 0.45);
    outline-offset: 2px;
}

.ls-walk-step.is-active {
    border-color: var(--ls-line);
    background: #fff;
    box-shadow: 0 18px 40px -24px rgba(6, 64, 42, 0.4);
}

.ls-walk-num {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--ls-line);
    border-radius: 50%;
    background: #fff;
    color: var(--ls-muted);
    font-weight: 800;
    transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.ls-walk-step.is-done .ls-walk-num {
    border-color: var(--ls-green-500);
    color: var(--ls-green-700);
}

.ls-walk-step.is-active .ls-walk-num {
    border-color: var(--ls-green-800);
    background: var(--ls-green-800);
    color: #fff;
    box-shadow: 0 0 0 5px rgba(var(--ls-green-rgb), 0.12);
}

.ls-walk-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.ls-walk-role {
    color: var(--ls-green-700);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ls-walk-copy strong {
    color: var(--ls-ink);
    font-size: 1.05rem;
    font-weight: 700;
}

.ls-walk-text {
    color: var(--ls-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.ls-walk-step:not(.is-active) .ls-walk-text {
    opacity: 0.75;
}

.ls-walk-progress {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
}

.ls-walk-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--ls-green-500), var(--ls-gold));
    transform: scaleX(0);
    transform-origin: left;
}

.ls-walk-step.is-active .ls-walk-progress span {
    animation: ls-progress var(--ls-walk-duration) linear forwards;
}

.ls-walk.is-paused *,
.ls-walk.is-paused *::before,
.ls-walk.is-paused *::after {
    animation-play-state: paused !important;
}

.ls-walk.is-static .ls-scene *,
.ls-walk.is-static .ls-scene *::before,
.ls-walk.is-static .ls-scene *::after,
.ls-walk.is-static .ls-walk-progress span {
    animation: none !important;
}

/* Stage and browser window. */
.ls-walk-stage {
    position: relative;
    min-width: 0;
}

.ls-walk-stage::before {
    position: absolute;
    z-index: 0;
    inset: 6% -4% -6% 8%;
    content: '';
    border-radius: 32px;
    background:
        radial-gradient(circle at 80% 20%, rgba(251, 194, 23, 0.28), transparent 55%),
        radial-gradient(circle at 20% 80%, rgba(34, 184, 106, 0.3), transparent 60%);
    filter: blur(30px);
}

.ls-window {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid var(--ls-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 40px 80px -40px rgba(6, 64, 42, 0.45), 0 12px 30px -18px rgba(0, 0, 0, 0.2);
}

.ls-window-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    border-bottom: 1px solid var(--ls-line);
    background: #f4f7f5;
}

.ls-window-dots {
    display: flex;
    flex: 0 0 auto;
    gap: 6px;
}

.ls-window-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #ff5f57;
}

.ls-window-dots span:nth-child(2) { background: #febc2e; }
.ls-window-dots span:nth-child(3) { background: #28c840; }

.ls-window-url {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    max-width: 380px;
    margin-inline: auto;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--ls-line);
    border-radius: 999px;
    background: #fff;
    color: var(--ls-muted);
    font-size: 0.75rem;
}

.ls-window-url svg {
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    color: var(--ls-green-700);
}

.ls-window-url span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ls-walk-toggle {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--ls-line);
    border-radius: 50%;
    background: #fff;
    color: var(--ls-green-800);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ls-walk-toggle:hover {
    background: var(--ls-green-800);
    color: #fff;
}

.ls-walk-toggle svg {
    width: 12px;
    height: 12px;
}

.ls-walk-toggle .ls-icon-play,
.ls-walk-toggle.is-paused .ls-icon-pause {
    display: none;
}

.ls-walk-toggle.is-paused .ls-icon-play {
    display: block;
}

.ls-window-body {
    position: relative;
    height: 440px;
    overflow: hidden;
    background:
        radial-gradient(circle at 1px 1px, rgba(var(--ls-green-rgb), 0.08) 1px, transparent 0) 0 0 / 18px 18px,
        linear-gradient(180deg, #fbfdfc, #f2f7f4);
}

.ls-scene {
    position: absolute;
    inset: 0;
    padding: 1.4rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(12px) scale(0.985);
    transition: opacity 0.45s var(--ls-ease), transform 0.45s var(--ls-ease), visibility 0s linear 0.45s;
}

.ls-scene.is-active {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.5s var(--ls-ease) 0.1s, transform 0.5s var(--ls-ease) 0.1s, visibility 0s;
}

.ls-walk-caption {
    display: none;
    position: relative;
    z-index: 1;
    margin: 1rem 0 0;
    color: var(--ls-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    text-align: center;
}

.ls-walk-note {
    position: relative;
    z-index: 1;
    margin: 0.75rem 0 0;
    color: #8a968f;
    font-size: 0.75rem;
    text-align: right;
}

/* Shared mock UI pieces. */
.ls-mock-card {
    position: relative;
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--ls-line);
    border-radius: 12px;
    background: #fff;
    color: var(--ls-ink);
    box-shadow: 0 8px 22px -12px rgba(6, 64, 42, 0.25);
    font-size: 0.82rem;
}

.ls-mock-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ls-mock-head > div {
    min-width: 0;
}

.ls-mock-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
}

.ls-mock-sub {
    display: block;
    color: var(--ls-muted);
    font-size: 0.74rem;
}

.ls-mpill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ls-mpill--grey { background: #eef1ef; color: #5d6b63; }
.ls-mpill--green { background: var(--ls-green-100); color: var(--ls-green-800); }
.ls-mpill--gold { background: #fff3c9; color: #8a6400; }
.ls-mpill--live { background: #fdecea; color: #b42318; }

/* Two states stacked in one cell: the first fades out, the second in, at --t. */
.ls-swap {
    display: inline-grid;
    flex: 0 0 auto;
    justify-items: end;
}

.ls-swap > * {
    grid-area: 1 / 1;
}

.ls-swap-out {
    visibility: hidden;
    opacity: 0;
}

.ls-scene.is-active .ls-swap-out {
    animation: ls-out 0.3s ease both;
    animation-delay: var(--t, 0s);
}

.ls-scene.is-active .ls-swap-in {
    animation: ls-pop 0.45s var(--ls-ease) both;
    animation-delay: var(--t, 0s);
}

.ls-scene.is-active .ls-a {
    animation: ls-in 0.55s var(--ls-ease) both;
    animation-delay: var(--t, 0s);
}

/* Scene 1: prepare. */
.ls-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
    margin-bottom: 0.75rem;
}

.ls-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.ls-label {
    color: var(--ls-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ls-input {
    display: flex;
    align-items: center;
    min-height: 34px;
    overflow: hidden;
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--ls-line);
    border-radius: 8px;
    background: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.ls-scene.is-active .ls-input--focus {
    animation: ls-focus 2s ease both;
    animation-delay: 0.3s;
}

.ls-typed {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: clip;
}

.ls-scene.is-active .ls-typed {
    animation: ls-type 1.6s steps(33, end) both;
    animation-delay: 0.45s;
}

.ls-file {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 70px 18px;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--ls-line);
    border-radius: 8px;
    background: #fafcfb;
}

.ls-file-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    color: #fff;
    font-size: 0.56rem;
    font-weight: 800;
}

.ls-file-icon--pdf { background: #d92d20; }
.ls-file-icon--xls { background: #15803d; }

.ls-file-name {
    overflow: hidden;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ls-file-bar {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7ede9;
}

.ls-file-bar i {
    display: block;
    height: 100%;
    background: var(--ls-green-500);
    transform-origin: left;
}

.ls-scene.is-active .ls-file-bar i {
    animation: ls-grow-x 0.8s ease-out both;
    animation-delay: calc(var(--t, 0s) + 0.2s);
}

.ls-file-ok {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ls-green-700);
    color: #fff;
}

.ls-file-ok svg {
    width: 11px;
    height: 11px;
}

.ls-scene.is-active .ls-file-ok {
    animation: ls-pop 0.4s var(--ls-ease) both;
    animation-delay: calc(var(--t, 0s) + 1s);
}

.ls-mock-foot {
    position: relative;
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.ls-mock-ghost,
.ls-mock-btn {
    padding: 0.5rem 0.95rem;
    border-radius: 8px;
    font-weight: 700;
}

.ls-mock-ghost {
    border: 1px solid var(--ls-line);
    color: var(--ls-muted);
}

.ls-mock-btn {
    background: var(--ls-green-800);
    color: #fff;
    box-shadow: 0 6px 14px -6px rgba(6, 64, 42, 0.6);
}

.ls-scene.is-active .ls-mock-btn {
    animation: ls-press 0.35s ease both;
    animation-delay: 4.85s;
}

.ls-pointer {
    position: absolute;
    z-index: 3;
    right: 1.6rem;
    bottom: -0.55rem;
    width: 22px;
    height: 22px;
    opacity: 0;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

.ls-scene.is-active .ls-pointer {
    animation: ls-pointer 1.9s var(--ls-ease) both;
    animation-delay: 3.8s;
}

/* Desktop: in the empty space left of the form buttons. Phones: top. */
.ls-toast {
    position: absolute;
    z-index: 4;
    bottom: 2.15rem;
    left: 2.6rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    max-width: calc(100% - 2rem);
    padding: 0.6rem 0.95rem;
    border-radius: 10px;
    background: var(--ls-green-950);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.45);
}

.ls-toast-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ls-green-500);
}

.ls-toast-icon svg {
    width: 12px;
    height: 12px;
}

.ls-scene.is-active .ls-toast {
    animation: ls-toast 0.5s var(--ls-ease) both;
    animation-delay: 5.1s;
}

/* Scene 2: review chain. */
.ls-route {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.ls-route-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0;
}

.ls-route-item + .ls-route-item {
    border-top: 1px dashed var(--ls-line);
}

/* Connector from the previous reviewer's avatar, drawn as this one starts. */
.ls-route-item + .ls-route-item::before {
    position: absolute;
    top: -12px;
    left: 18px;
    width: 2px;
    height: 24px;
    content: '';
    background: var(--ls-green-500);
    transform-origin: top;
}

.ls-scene.is-active .ls-route-item + .ls-route-item::before {
    animation: ls-grow-y 0.4s ease both;
    animation-delay: calc(var(--t) - 0.3s);
}

.ls-avatar {
    position: relative;
    z-index: 1;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ls-green-800);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
}

.ls-scene.is-active .ls-avatar {
    animation: ls-avatar 0.5s ease both;
    animation-delay: var(--t);
}

.ls-route-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.ls-route-body strong {
    overflow: hidden;
    font-size: 0.84rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ls-route-body small {
    color: var(--ls-muted);
    font-size: 0.74rem;
}

.ls-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.ls-status svg {
    width: 12px;
    height: 12px;
}

.ls-status--wait {
    background: #f1f4f2;
    color: var(--ls-muted);
}

.ls-status--done {
    background: var(--ls-green-100);
    color: var(--ls-green-800);
}

.ls-spinner {
    width: 11px;
    height: 11px;
    border: 2px solid #c9d3cd;
    border-top-color: var(--ls-green-700);
    border-radius: 50%;
    animation: ls-spin 0.8s linear infinite;
}

.ls-meter {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.ls-meter-bar {
    display: flex;
    gap: 4px;
    height: 8px;
}

.ls-meter-bar i {
    flex: 1 1 0;
    border-radius: 999px;
    background: var(--ls-green-500);
    transform-origin: left;
}

.ls-scene.is-active .ls-meter-bar i {
    animation: ls-grow-x 0.6s ease-out both;
    animation-delay: var(--t);
}

.ls-meter .ls-swap {
    justify-items: start;
}

.ls-meter-label {
    color: var(--ls-muted);
    font-size: 0.75rem;
    font-weight: 600;
}

.ls-meter-label--done {
    color: var(--ls-green-800);
    font-weight: 800;
}

/* Scene 3: approve and sign. */
.ls-sign {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 1rem;
    align-items: center;
    height: 100%;
}

.ls-paper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    height: 100%;
    padding: 1.2rem 1.3rem;
    border: 1px solid var(--ls-line);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.35);
}

.ls-paper-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--ls-green-800);
}

.ls-paper-head img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.ls-paper-head span {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.ls-paper-head b {
    color: var(--ls-green-900);
    font-size: 0.72rem;
}

.ls-paper-head small {
    color: var(--ls-muted);
    font-size: 0.64rem;
}

.ls-paper-title {
    margin: 0.3rem 0 0.2rem;
    font-size: 0.86rem;
    text-align: center;
}

.ls-paper-line {
    display: block;
    height: 7px;
    border-radius: 4px;
    background: #edf1ee;
}

.ls-paper-line--gap {
    margin-top: 0.5rem;
}

.ls-sigline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: auto;
}

.ls-signature {
    width: 210px;
    height: 66px;
    margin-bottom: -12px;
}

.ls-signature path {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}

.ls-scene.is-active .ls-sig-main {
    animation: ls-draw 1.7s ease-in-out both;
    animation-delay: 0.7s;
}

.ls-scene.is-active .ls-sig-flourish {
    animation: ls-draw 0.5s ease-out both;
    animation-delay: 2.4s;
}

.ls-sig-rule {
    width: 180px;
    height: 1px;
    background: var(--ls-ink);
}

.ls-sigline small {
    margin-top: 0.25rem;
    color: var(--ls-muted);
    font-size: 0.68rem;
    font-weight: 700;
}

.ls-seal {
    position: absolute;
    right: 1.1rem;
    bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    width: 84px;
    height: 84px;
    border: 3px double var(--ls-green-700);
    border-radius: 50%;
    background: rgba(230, 245, 236, 0.92);
    color: var(--ls-green-800);
    text-align: center;
    transform: rotate(-12deg);
}

.ls-seal svg {
    width: 20px;
    height: 20px;
}

.ls-seal b {
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    line-height: 1.15;
    text-transform: uppercase;
}

.ls-scene.is-active .ls-seal {
    animation: ls-stamp 0.55s var(--ls-ease) both;
    animation-delay: 2.8s;
}

.ls-cert-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.8rem;
}

.ls-cert-head b {
    flex: 1 1 auto;
    font-size: 0.86rem;
}

.ls-cert-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--ls-green-800);
    color: #fff;
}

.ls-cert-icon svg {
    width: 18px;
    height: 18px;
}

.ls-cert dl {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0;
}

.ls-cert dl div {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eef2ef;
}

.ls-cert dt {
    color: var(--ls-muted);
    font-weight: 500;
}

.ls-cert dd {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0;
    font-weight: 700;
    text-align: right;
}

.ls-cert dd svg {
    width: 12px;
    height: 12px;
    color: var(--ls-green-700);
}

/* Scene 4: board action. */
.ls-scene--board .ls-mock-head {
    justify-content: flex-start;
}

.ls-mock-head-text {
    flex: 1 1 auto;
}

.ls-cal-chip {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    width: 44px;
    overflow: hidden;
    border: 1px solid var(--ls-line);
    border-radius: 8px;
    line-height: 1.1;
}

.ls-cal-chip small {
    align-self: stretch;
    background: var(--ls-green-800);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    text-align: center;
}

.ls-cal-chip b {
    padding: 0.2rem 0;
    font-size: 1rem;
}

.ls-agenda {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0 0 0.9rem;
    padding: 0;
    list-style: none;
}

.ls-agenda li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--ls-line);
    border-radius: 8px;
}

.ls-agenda-no {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #eef1ef;
    color: var(--ls-muted);
    font-size: 0.7rem;
    font-weight: 800;
}

.ls-agenda-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ls-agenda-new {
    border-color: rgba(251, 194, 23, 0.6) !important;
    background: #fffbeb;
    box-shadow: 0 0 0 3px rgba(251, 194, 23, 0.15);
}

.ls-agenda-new .ls-agenda-no {
    background: var(--ls-gold);
    color: #2a2208;
}

.ls-scene.is-active .ls-agenda-new {
    animation: ls-slide-in 0.7s var(--ls-ease) both;
    animation-delay: var(--t);
}

.ls-vote {
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    background: var(--ls-green-50);
}

.ls-vote-head {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--ls-muted);
    font-size: 0.74rem;
    font-weight: 600;
}

.ls-vote-head b {
    color: var(--ls-green-900);
    white-space: nowrap;
}

@property --ls-votes {
    syntax: '<integer>';
    inherits: false;
    initial-value: 10;
}

.ls-vote-count {
    --ls-votes: 10;
    counter-reset: ls-votes var(--ls-votes);
}

.ls-vote-count::before {
    content: counter(ls-votes);
}

.ls-scene.is-active .ls-vote-count {
    animation: ls-count 1.6s ease-out both;
    animation-delay: 2.4s;
}

.ls-vote-bar {
    display: flex;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #dfe7e2;
}

.ls-vote-bar i {
    transform-origin: left;
}

.ls-vote-yes {
    width: 83.3%;
    background: linear-gradient(90deg, var(--ls-green-700), var(--ls-green-500));
}

.ls-vote-abstain {
    width: 8.3%;
    background: var(--ls-gold);
}

.ls-scene.is-active .ls-vote-yes {
    animation: ls-grow-x 1.6s ease-out both;
    animation-delay: 2.4s;
}

.ls-scene.is-active .ls-vote-abstain {
    animation: ls-grow-x 0.4s ease-out both;
    animation-delay: 4s;
}

.ls-vote-legend {
    display: flex;
    gap: 0.9rem;
    margin-top: 0.45rem;
    color: var(--ls-muted);
    font-size: 0.68rem;
}

.ls-vote-legend span::before {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 0.3rem;
    content: '';
    border-radius: 50%;
    background: var(--ls-green-700);
}

.ls-vote-legend span:nth-child(2)::before { background: var(--ls-gold); }
.ls-vote-legend span:nth-child(3)::before { background: #c7d2cb; }

.ls-resolution {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.85rem;
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    background: var(--ls-green-800);
    color: #fff;
    font-weight: 700;
}

.ls-resolution svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: var(--ls-gold);
}

.ls-scene.is-active .ls-resolution {
    animation: ls-pop 0.55s var(--ls-ease) both;
    animation-delay: 4.9s;
}

@media screen and (max-width: 991.98px) {
    .ls-walk {
        grid-template-columns: minmax(0, 1fr);
    }

    .ls-walk-steps {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.4rem;
    }

    .ls-walk-step {
        flex-direction: column;
        align-items: center;
        gap: 0.45rem;
        padding: 0.7rem 0.4rem 0.85rem;
        text-align: center;
    }

    .ls-walk-role,
    .ls-walk-text {
        display: none;
    }

    .ls-walk-copy strong {
        font-size: 0.8rem;
        line-height: 1.25;
    }

    .ls-walk-num {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .ls-walk-caption {
        display: block;
    }

    .ls-walk-note {
        text-align: center;
    }
}

@media screen and (max-width: 575.98px) {
    .ls-window-body {
        height: 470px;
    }

    .ls-scene {
        padding: 0.9rem;
    }

    .ls-mock-card {
        padding: 0.95rem;
        font-size: 0.78rem;
    }

    .ls-file {
        grid-template-columns: auto minmax(0, 1fr) 18px;
    }

    .ls-file-bar {
        display: none;
    }

    .ls-toast {
        right: 0;
        bottom: 0.7rem;
        left: 0;
        margin-inline: auto;
    }

    .ls-paper-line--gap,
    .ls-paper-line--gap ~ .ls-paper-line {
        display: none;
    }

    .ls-sign {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .ls-paper {
        height: auto;
        padding: 1rem;
    }

    .ls-sigline {
        margin-top: 0.4rem;
    }

    .ls-cert {
        padding: 0.8rem 0.9rem;
    }

    .ls-cert-head {
        margin-bottom: 0.6rem;
    }

    .ls-cert dl div:nth-child(n + 3) {
        display: none;
    }

    .ls-seal {
        width: 70px;
        height: 70px;
    }

    .ls-agenda-2 {
        display: none !important;
    }

    .ls-window-dots {
        display: none;
    }
}

.ls-roles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1rem;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-top: 2rem;
    border-top: 1px solid var(--ls-line);
}

.ls-roles-label {
    color: var(--ls-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ls-roles ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ls-roles li {
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--ls-line);
    border-radius: 999px;
    background: var(--ls-green-50);
    color: var(--ls-green-900);
    font-size: 0.84rem;
    font-weight: 600;
}

/* ── Call to action ───────────────────────────────────────── */

.ls-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(3.5rem, 7vw, 5rem) 0;
    background:
        radial-gradient(40rem 20rem at 85% 120%, rgba(251, 194, 23, 0.22), transparent 70%),
        radial-gradient(36rem 22rem at 0% 0%, rgba(34, 184, 106, 0.35), transparent 70%),
        linear-gradient(120deg, var(--ls-green-800), var(--ls-green-950));
    color: #fff;
}

.ls-cta::after {
    position: absolute;
    top: -40%;
    right: -10%;
    width: 520px;
    height: 520px;
    content: '';
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.03), 0 0 0 120px rgba(255, 255, 255, 0.02);
    animation: ls-spin 60s linear infinite;
    pointer-events: none;
}

.ls-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2.5rem;
}

.ls-cta h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.ls-cta p {
    max-width: 36rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.02rem;
    line-height: 1.6;
}

.ls-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ── Footer ───────────────────────────────────────────────── */

.ls-footer {
    padding: 3.5rem 0 1.5rem;
    background: var(--ls-green-950);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.ls-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

.ls-footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.ls-footer-brand img {
    width: 56px;
    height: auto;
    flex: 0 0 auto;
}

.ls-footer-brand strong {
    display: block;
    color: #fff;
    font-size: 1rem;
}

.ls-footer-brand span {
    color: var(--ls-gold);
    font-size: 0.82rem;
    font-weight: 600;
}

.ls-footer-brand p {
    max-width: 26rem;
    margin: 0.75rem 0 0;
    line-height: 1.6;
}

.ls-footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.ls-footer-col h3 {
    margin: 0 0 0.35rem;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ls-footer-col a {
    width: fit-content;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.ls-footer-col a:hover {
    color: #fff;
    transform: translateX(3px);
}

.ls-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
}

/* ── Keyframes ────────────────────────────────────────────── */

@keyframes ls-rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}

@keyframes ls-wheel {
    0% { opacity: 0; transform: translateY(0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translateY(12px); }
}

@keyframes ls-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes ls-ping {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 0; transform: scale(2.6); }
}

@keyframes ls-glow {
    0% { box-shadow: 0 0 0 0 rgba(180, 35, 24, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(180, 35, 24, 0); }
    100% { box-shadow: 0 0 0 0 rgba(180, 35, 24, 0); }
}

@keyframes ls-kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.08) translate(-1%, -1%); }
}

@keyframes ls-pop {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

@keyframes ls-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -5px; }
}

@keyframes ls-spin {
    to { transform: rotate(360deg); }
}

/* Walkthrough scene keyframes: each animates FROM an earlier state to the
   element's own (finished) style. */
@keyframes ls-progress {
    to { transform: scaleX(1); }
}

@keyframes ls-in {
    from { opacity: 0; transform: translateY(8px); }
}

@keyframes ls-out {
    from { visibility: visible; opacity: 1; }
    to { visibility: hidden; opacity: 0; }
}

@keyframes ls-type {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

@keyframes ls-focus {
    0%, 85% {
        border-color: var(--ls-green-500);
        box-shadow: 0 0 0 3px rgba(34, 184, 106, 0.18);
    }
}

@keyframes ls-grow-x {
    from { transform: scaleX(0); }
}

@keyframes ls-grow-y {
    from { transform: scaleY(0); }
}

@keyframes ls-pointer {
    0% { opacity: 0; transform: translate(-190px, -150px); }
    15% { opacity: 1; }
    55% { transform: translate(0, 0); }
    62% { transform: translate(0, 0) scale(0.8); }
    70% { transform: translate(0, 0) scale(1); }
    85% { opacity: 1; }
    100% { opacity: 0; transform: translate(0, 0); }
}

@keyframes ls-press {
    50% { transform: scale(0.93); box-shadow: none; }
}

@keyframes ls-toast {
    from { opacity: 0; transform: translateY(-14px) scale(0.96); }
}

@keyframes ls-avatar {
    from { background: #e3e9e5; color: var(--ls-muted); }
}

@keyframes ls-draw {
    from { stroke-dashoffset: 1; }
}

@keyframes ls-stamp {
    0% { opacity: 0; transform: rotate(-32deg) scale(1.9); }
    70% { opacity: 1; transform: rotate(-10deg) scale(0.92); }
    100% { transform: rotate(-12deg); }
}

@keyframes ls-slide-in {
    from { opacity: 0; transform: translateX(32px); }
}

@keyframes ls-count {
    from { --ls-votes: 0; }
}

/* ── Responsive ───────────────────────────────────────────── */

@media screen and (max-width: 1099.98px) {
    .ls-news-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .ls-calendar {
        position: static;
    }

    .ls-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ls-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 767.98px) {
    .ls-container,
    .ls-hero .lp-hero-inner {
        width: min(100% - 2rem, 1240px);
    }

    .ls-scroll-cue {
        display: none;
    }

    .ls-hero-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-top: 1.75rem;
    }

    .ls-ticker-label {
        padding-left: 1rem;
        padding-right: 1.6rem;
    }

    .ls-news-grid,
    .ls-feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ls-story--featured .ls-story-link {
        min-height: 360px;
    }

    .ls-story--featured .ls-story-read {
        margin-left: 0;
    }

    .ls-cta-actions,
    .ls-cta-actions .lp-action {
        width: 100%;
    }

    .ls-footer-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .ls-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ls-enter,
    .ls-js .ls-reveal {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }

    .ls-ticker-track {
        animation: none;
    }

    .ls-ticker-viewport {
        overflow-x: auto;
    }

    .ls-ticker-list[aria-hidden='true'] {
        display: none;
    }

    .ls-scroll-cue-mouse span,
    .ls-live-dot::after,
    .ls-badge--new,
    .ls-story--featured .ls-story-media > img,
    .ls-empty-sheet,
    .ls-cta::after {
        animation: none;
    }

    .ls-story-link,
    .ls-story-media > img,
    .ls-feature,
    .ls-feature-icon,
    .ls-hero-feature,
    .ls-hero-feature-media > img {
        transition: none;
    }

    .ls-story-link:hover,
    .ls-feature:hover,
    .ls-hero-feature:hover,
    .ls-hero-feature:hover .ls-hero-feature-media > img {
        transform: none;
    }

    /* Walkthrough: no autoplay; each step shows its finished screen. */
    .ls-scene *,
    .ls-scene *::before,
    .ls-scene *::after {
        animation: none !important;
    }

    .ls-scene,
    .ls-scene.is-active {
        transform: none;
        transition: none;
    }

    .ls-walk-progress,
    .ls-walk-toggle {
        display: none;
    }
}

/* ============================================================
   Full-screen sections (desktop): each scroll lands on one whole
   section. Below 992px wide or 620px tall the page scrolls freely.
   ============================================================ */

@media (min-width: 992px) and (min-height: 620px) {
    html.ls-snap {
        scroll-snap-type: y mandatory;
        scroll-padding-top: 76px; /* the sticky emerald nav */
    }

    /* The first stop is the very top of the page (header + hero); a 1px anchor marks it whatever the header holds. */
    html.ls-snap .ls-snap-top {
        position: absolute;
        top: 0;
        left: 0;
        width: 1px;
        height: 1px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        pointer-events: none;
    }

    html.ls-snap body.lp-home main > .ls-section,
    html.ls-snap body.lp-home main > .ls-cta {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: calc(100vh - 76px);
        min-height: calc(100svh - 76px);
        padding-block: clamp(1.5rem, 4.5vh, 3.5rem);
        box-sizing: border-box;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    html.ls-snap body.lp-home .ls-footer { scroll-snap-align: end; }

    html.ls-snap body.lp-home .ls-section-head { margin-bottom: clamp(1.25rem, 3.2vh, 2.25rem); }
}

/* ── The CSW flow: animated journey ───────────────────────── */

.ls-journey {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(46rem 24rem at 90% -10%, rgba(251, 194, 23, 0.16), transparent 70%),
        radial-gradient(40rem 26rem at 0% 110%, rgba(34, 184, 106, 0.28), transparent 70%),
        linear-gradient(160deg, var(--ls-green-900), var(--ls-green-950));
    color: #fff;
}

.ls-journey::before {
    position: absolute;
    inset: 0;
    content: '';
    background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.07) 1px, transparent 0) 0 0 / 26px 26px;
    pointer-events: none;
}

.ls-journey .ls-container { position: relative; }

.ls-section-head--light .ls-title { color: #fff; }
.ls-section-head--light .ls-lead { color: rgba(255, 255, 255, 0.78); }
.ls-section-head--light .ls-kicker { color: var(--ls-gold); }

.ls-jr { display: flex; flex-direction: column; gap: clamp(1.1rem, 3vh, 2rem); }

.ls-jr-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

/* The line behind the nodes, and the part of it the packet has already covered. */
.ls-jr-rail {
    position: absolute;
    top: 1.7rem;
    left: 6.25%;
    right: 6.25%;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.16);
}

.ls-jr-fill {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ls-green-500), var(--ls-gold));
    transform: scaleX(var(--p, 0));
    transform-origin: left;
    transition: transform 0.9s var(--ls-ease);
}

/* The packet itself, riding the line to the active stage. */
.ls-jr-packet {
    position: absolute;
    top: 1.7rem;
    left: calc(6.25% + (100% - 12.5%) * var(--p, 0));
    z-index: 3;
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.55rem;
    background: #fff;
    color: var(--ls-green-800);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transform: translate(-50%, calc(-50% - 2.6rem));
    transition: left 0.9s var(--ls-ease);
    pointer-events: none;
    animation: ls-jr-bob 1.8s ease-in-out infinite;
}

.ls-jr-packet svg { width: 1.2rem; height: 1.2rem; }

.ls-jr-packet::after {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 0.9rem;
    content: '';
    background: linear-gradient(var(--ls-gold), transparent);
    transform: translateX(-50%);
}

@keyframes ls-jr-bob {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -6px; }
}

.ls-jr-item { position: relative; z-index: 2; display: flex; justify-content: center; }

.ls-jr-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
    padding: 0 0.2rem;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    cursor: pointer;
}

.ls-jr-dot {
    position: relative;
    display: grid;
    place-items: center;
    width: 3.4rem;
    height: 3.4rem;
    margin-bottom: 0.35rem;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: var(--ls-green-900);
    color: rgba(255, 255, 255, 0.85);
    transition: transform 0.4s var(--ls-ease), background 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.ls-jr-dot svg { width: 1.35rem; height: 1.35rem; grid-area: 1 / 1; transition: opacity 0.3s ease, transform 0.4s var(--ls-ease); }
.ls-jr-tick { opacity: 0; transform: scale(0.4); }

.ls-jr-office {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.ls-jr-name { font-size: 0.88rem; line-height: 1.25; color: inherit; }

.ls-jr-node:hover .ls-jr-dot { border-color: rgba(255, 255, 255, 0.7); }

.ls-jr-node.is-done { color: rgba(255, 255, 255, 0.88); }
.ls-jr-node.is-done .ls-jr-dot { border-color: var(--ls-green-500); background: var(--ls-green-700); color: #fff; }
.ls-jr-node.is-done .ls-jr-icon { opacity: 0; transform: scale(0.4); }
.ls-jr-node.is-done .ls-jr-tick { opacity: 1; transform: none; }

.ls-jr-node.is-active { color: #fff; }
.ls-jr-node.is-active .ls-jr-dot {
    border-color: var(--ls-gold);
    background: var(--ls-gold);
    color: var(--ls-green-950);
    transform: scale(1.14);
    box-shadow: 0 0 0 6px rgba(251, 194, 23, 0.2), 0 10px 26px rgba(0, 0, 0, 0.35);
    animation: ls-jr-pulse 2s ease-out infinite;
}
.ls-jr-node.is-active .ls-jr-office { color: var(--ls-gold); }

@keyframes ls-jr-pulse {
    0% { box-shadow: 0 0 0 0 rgba(251, 194, 23, 0.5), 0 10px 26px rgba(0, 0, 0, 0.35); }
    100% { box-shadow: 0 0 0 16px rgba(251, 194, 23, 0), 0 10px 26px rgba(0, 0, 0, 0.35); }
}

.ls-jr-body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(1rem, 3vw, 2.25rem);
    align-items: stretch;
}

.ls-jr-detail {
    position: relative;
    min-height: 11rem;
    padding: clamp(1.1rem, 2.4vw, 1.8rem);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--ls-radius);
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.ls-jr-panel { display: none; }
.ls-jr-panel.is-active { display: block; animation: ls-jr-in 0.55s var(--ls-ease) both; }

@keyframes ls-jr-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.ls-jr-step {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(251, 194, 23, 0.18);
    color: var(--ls-gold);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ls-jr-panel h3 { margin: 0.7rem 0 0.1rem; color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -0.01em; }
.ls-jr-who { display: block; color: var(--ls-green-500); font-size: 0.85rem; font-weight: 700; }
.ls-jr-panel p { margin: 0.8rem 0 0; max-width: 34rem; color: rgba(255, 255, 255, 0.84); font-size: 1rem; line-height: 1.65; }

/* The packet collects a stamp at every stage. */
.ls-jr-paper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.15rem;
    border-radius: var(--ls-radius);
    background: #fff;
    color: var(--ls-ink);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.ls-jr-paper-head { display: flex; align-items: center; gap: 0.65rem; padding-bottom: 0.55rem; border-bottom: 1px solid var(--ls-line); }
.ls-jr-paper-head img { width: 2.2rem; height: 2.2rem; object-fit: contain; }
.ls-jr-paper-head span { display: flex; flex-direction: column; line-height: 1.25; }
.ls-jr-paper-head b { font-size: 0.86rem; }
.ls-jr-paper-head small { color: var(--ls-muted); font-size: 0.74rem; }

.ls-jr-line { display: block; height: 0.42rem; border-radius: 4px; background: #e6ece8; }

.ls-jr-stamps { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.35rem 0 0; padding: 0; list-style: none; }

.ls-jr-stamp {
    display: none;
    align-items: center;
    gap: 0.3rem;
    padding: 0.22rem 0.6rem 0.22rem 0.45rem;
    border: 1.5px solid var(--ls-green-500);
    border-radius: 999px;
    background: var(--ls-green-100);
    color: var(--ls-green-800);
    font-size: 0.72rem;
    font-weight: 800;
}

.ls-jr-stamp svg { width: 0.8rem; height: 0.8rem; }
.ls-jr-stamp.is-on { display: inline-flex; animation: ls-jr-stamp 0.5s var(--ls-ease) both; }

@keyframes ls-jr-stamp {
    0% { opacity: 0; transform: scale(1.7) rotate(-8deg); }
    100% { opacity: 1; transform: none; }
}

.ls-jr-controls { display: flex; align-items: center; justify-content: center; gap: 0.9rem; }

.ls-jr-toggle {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
}

.ls-jr-toggle:hover { background: rgba(255, 255, 255, 0.22); }
.ls-jr-toggle svg { width: 0.9rem; height: 0.9rem; }
.ls-jr-toggle .ls-icon-play,
.ls-jr-toggle.is-paused .ls-icon-pause { display: none; }
.ls-jr-toggle.is-paused .ls-icon-play { display: block; }
.ls-jr-counter { color: rgba(255, 255, 255, 0.8); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.ls-jr-counter b { color: var(--ls-gold); }
.ls-jr-controls .ls-walk-note { margin: 0; color: rgba(255, 255, 255, 0.55); }

@media (max-width: 991.98px) {
    .ls-jr-track { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 1.1rem; }
    .ls-jr-rail, .ls-jr-packet { display: none; }
    .ls-jr-body { grid-template-columns: minmax(0, 1fr); }
    .ls-journey { padding-block: clamp(2.5rem, 7vw, 4rem); }
}

@media (max-width: 575.98px) {
    .ls-jr-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ls-jr-controls { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    .ls-jr-packet, .ls-jr-node.is-active .ls-jr-dot { animation: none; }
    .ls-jr-fill, .ls-jr-packet { transition: none; }
}

/* Full-screen fit: the walkthrough shows the text of the active step only, and the closing call to action is larger. */
@media (min-width: 992px) and (min-height: 620px) {
    html.ls-snap .ls-walk-step:not(.is-active) .ls-walk-text { display: none; }
    html.ls-snap .ls-cta h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
    html.ls-snap .ls-cta p { font-size: 1.15rem; }
}

@media (min-width: 992px) and (min-height: 620px) {
    html.ls-snap .ls-flow .ls-section-head { margin-bottom: 1rem; }
    html.ls-snap .ls-flow .ls-roles { margin-top: 1rem; padding-top: 0.9rem; }
}

/* Side column: the board calendar, then the older headlines (sticky together on wide screens). */
.ls-news-side {
    position: sticky;
    top: 1.5rem;
    display: grid;
    gap: 1.25rem;
    min-width: 0;
}

.ls-more-news {
    overflow: hidden;
    border: 1px solid var(--ls-line);
    border-radius: var(--ls-radius);
    background: #fff;
    box-shadow: 0 18px 40px -24px rgba(6, 64, 42, 0.35);
}

.ls-more-news[hidden] { display: none; }

.ls-more-news-title {
    margin: 0;
    padding: 1rem 1.25rem 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--ls-green-950, #052e1f);
}

.ls-more-news .ls-story--compact { margin: 0; }

.ls-more-news .ls-story--compact .ls-story-link {
    border: 0;
    border-top: 1px solid var(--ls-line);
    border-radius: 0;
    box-shadow: none;
    padding: 0.8rem 1.25rem;
}

.ls-more-news .ls-story--compact .ls-story-title {
    font-size: 0.9rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ls-more-news .ls-compact-arrow { display: none; }

@media screen and (max-width: 1099.98px) {
    .ls-news-side { position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
}

@media screen and (max-width: 767.98px) {
    .ls-story--featured .ls-story-fallback img { width: 42%; opacity: 0.16; }
}

/* The headline ticker sits at the very top of the newsroom (no gap above it); the section's spacing moves below it. */
.ls-news { padding-top: 0; }
.ls-news > .ls-container { padding-top: clamp(4rem, 8vw, 6.5rem); }
/* The side column stops below the top bar and the pinned ticker, not under them. */
.ls-news-side { top: calc(var(--ls-header-h, 76px) + 52px + 1rem); }


/* ── Newsroom = one screen on every device, at 100% zoom ──────────────────────────────────────
   The ticker and the heading stay put; everything under them (filters, stories, calendar, More news)
   scrolls inside the section. At the end of that list the wheel moves on to the next section
   (landing-sections.js). --ls-header-h is the real height of the top bar, measured by the script. */
@media (min-height: 480px) {
    html.ls-js body.lp-home main > .ls-section.ls-news {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        height: calc(100vh - var(--ls-header-h, 76px) - var(--ls-tabbar-h, 0px));
        height: calc(100svh - var(--ls-header-h, 76px) - var(--ls-tabbar-h, 0px));
        min-height: 0;
        padding: 0;
        overflow: hidden;
    }
    html.ls-js body.lp-home .ls-news > .ls-ticker { flex: 0 0 auto; position: relative; top: auto; }
    html.ls-js body.lp-home main > .ls-section.ls-news > .ls-container {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        margin-block: 0;
        padding-top: clamp(0.75rem, 2.4vh, 1.6rem);
        padding-bottom: clamp(0.5rem, 1.6vh, 1rem);
    }
    html.ls-js body.lp-home .ls-news .ls-section-head { flex: 0 0 auto; margin-bottom: clamp(0.5rem, 1.6vh, 1rem); }
    html.ls-js body.lp-home .ls-news .ls-title { font-size: clamp(1.5rem, 4.2vh, 2.5rem); }
    html.ls-js body.lp-home .ls-news .ls-lead { margin-top: 0.2rem; font-size: clamp(0.85rem, 1.9vh, 1rem); }
    html.ls-js body.lp-home .ls-news .ls-news-layout {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 2px 10px 12px 2px;
        scrollbar-width: thin;
        scrollbar-color: rgba(6, 64, 42, 0.35) transparent;
    }
    html.ls-js body.lp-home .ls-news .ls-chips { margin-bottom: 0.8rem; }
    html.ls-js body.lp-home .ls-news .ls-story--featured .ls-story-link { min-height: clamp(200px, 34vh, 330px); }
    html.ls-js body.lp-home .ls-news .ls-news-side { position: sticky; top: 0; }
    html.ls-js body.lp-home .ls-news .ls-calendar-empty { padding: 1rem 1.25rem; }
}

/* Narrower screens: one column, the side cards follow the stories (still inside the same scroll). */
@media (min-height: 480px) and (max-width: 1099.98px) {
    html.ls-js body.lp-home .ls-news .ls-news-side { position: static; }
}

/* Phones: the heading is shorter so the stories get most of the screen. */
@media (min-height: 480px) and (max-width: 575.98px) {
    html.ls-js body.lp-home .ls-news .ls-section-head--split { gap: 0.4rem; }
    html.ls-js body.lp-home .ls-news .ls-lead { display: none; }
    html.ls-js body.lp-home .ls-news .ls-kicker { margin-bottom: 0.2rem; }
}
/* Jumping to the newsroom (Latest news, the scroll cue) stops below the sticky top bar on every screen. */
#news { scroll-margin-top: var(--ls-header-h, 76px); }
@media (min-width: 992px) and (min-height: 620px) {
    html.ls-snap #news { scroll-margin-top: 0; } /* desktop paging already leaves room for the top bar */
}

/* ── Newsroom carousel: every article, one at a time ───────────────────────────────────────── */
.ls-carousel { display: flex; flex-direction: column; gap: 0.9rem; min-height: 0; }
.ls-carousel-track {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    border-radius: var(--ls-radius);
    outline: none;
}
.ls-carousel-track::-webkit-scrollbar { display: none; }
.ls-carousel-track:focus-visible { box-shadow: 0 0 0 3px rgba(var(--ls-green-rgb), 0.35); }
.ls-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.ls-slide-link {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    height: 100%;
    min-height: 340px;
    overflow: hidden;
    border: 1px solid var(--ls-line);
    border-radius: var(--ls-radius);
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 18px 40px -26px rgba(6, 64, 42, 0.4);
}
.ls-slide-media { position: relative; min-height: 0; overflow: hidden; background: var(--ls-green-900); }
.ls-slide-media > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ls-ease); }
.ls-slide-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 20%, rgba(34, 184, 106, 0.45), transparent 55%),
        radial-gradient(circle at 85% 90%, rgba(251, 194, 23, 0.22), transparent 50%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 14px),
        linear-gradient(135deg, var(--ls-green-800), var(--ls-green-950));
}
.ls-slide-fallback img { width: 34%; max-width: 190px; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35)); transition: transform 0.9s var(--ls-ease); }
.ls-slide-link:hover .ls-slide-media img { transform: scale(1.04); }
.ls-slide-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(0.5rem, 1.4vh, 0.9rem);
    min-height: 0;
    padding: clamp(1.25rem, 3vw, 2.75rem);
    overflow: hidden;
}
.ls-slide-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ls-slide-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--ls-green-950);
    font-size: clamp(1.25rem, 2.3vw, 2.1rem);
    font-weight: 800;
    line-height: 1.2;
}
.ls-slide-link:hover .ls-slide-title { color: var(--ls-green-700); }
.ls-slide-summary {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--ls-muted);
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    line-height: 1.55;
}
.ls-slide-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 0.25rem; }
.ls-slide-meta time { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--ls-muted); font-size: 0.85rem; font-weight: 600; }
.ls-slide-meta time svg, .ls-slide-read svg { width: 16px; height: 16px; }
.ls-slide-read {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: var(--ls-gold);
    color: var(--ls-green-950);
    font-size: 0.9rem;
    font-weight: 700;
}
.ls-carousel-bar { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 0.75rem; }
.ls-carousel-btn {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border: 1px solid var(--ls-line);
    border-radius: 50%;
    background: #fff;
    color: var(--ls-green-800);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.ls-carousel-btn:hover, .ls-carousel-btn:focus-visible { background: var(--ls-green-800); color: #fff; outline: none; }
.ls-carousel-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; max-width: 60%; }
.ls-carousel-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(var(--ls-green-rgb), 0.22);
    cursor: pointer;
    transition: width 0.3s var(--ls-ease), background 0.3s;
}
.ls-carousel-dot.is-active { width: 26px; background: var(--ls-green-700); }
.ls-carousel-count { min-width: 3.5em; color: var(--ls-muted); font-size: 0.8rem; font-variant-numeric: tabular-nums; text-align: center; }

/* One screen (see the newsroom block above): the carousel takes all the room under the heading. */
@media (min-height: 480px) {
    html.ls-js body.lp-home .ls-news .ls-carousel { flex: 1 1 auto; }
    html.ls-js body.lp-home .ls-news .ls-carousel-track { flex: 1 1 auto; min-height: 0; }
    html.ls-js body.lp-home .ls-news .ls-slide-link { min-height: 0; }
}

/* Phones and small tablets: the picture on top, the story under it. */
@media screen and (max-width: 767.98px) {
    .ls-slide-link { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 38%) minmax(0, 1fr); min-height: 460px; }
    .ls-slide-title { -webkit-line-clamp: 3; font-size: clamp(1.1rem, 5vw, 1.4rem); }
    .ls-slide-summary { -webkit-line-clamp: 3; font-size: 0.9rem; }
    .ls-slide-body { justify-content: flex-start; padding: 1rem 1.1rem 1.1rem; }
    .ls-carousel-count { display: none; }
}
@media screen and (max-width: 767.98px) { .ls-slide-title { line-height: 1.28; } }

/* ── The platform: a ruled list beside the heading ────────────────
   Replaces the 3 x 2 card grid (icon tiles, hover lift) with a plainer, document-like layout:
   heading and summary on the left, six numbered capabilities on the right, separated by hairlines.
   It is shorter than the viewport on desktop, so it fits its full-screen section. */
.ls-features {
    background: #f6f8f7;
}

.ls-platform {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 6vw, 5.5rem);
    align-items: start;
}

.ls-platform-eyebrow {
    display: block;
    margin-bottom: 0.9rem;
    color: var(--ls-green-700);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ls-platform-title {
    margin: 0;
    color: var(--ls-ink);
    font-size: clamp(1.8rem, 2.9vw, 2.45rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.022em;
}

.ls-platform-lead {
    margin: 1.1rem 0 0;
    max-width: 30rem;
    color: var(--ls-muted);
    font-size: 1.02rem;
    line-height: 1.65;
}

.ls-platform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.6rem;
    padding-bottom: 0.15rem;
    border-bottom: 1px solid currentColor;
    color: var(--ls-green-800);
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;
}

.ls-platform-link svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s ease;
}

.ls-platform-link:hover {
    color: var(--ls-green-950);
}

.ls-platform-link:hover svg {
    transform: translateX(3px);
}

.ls-platform-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #d8e0db;
}

.ls-platform-item {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.5rem;
    padding: clamp(0.8rem, 1.9vh, 1.2rem) 0;
    border-top: 1px solid #d8e0db;
}

.ls-platform-no {
    padding-top: 0.15rem;
    color: var(--ls-green-700);
    font-size: 0.82rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}

.ls-platform-item h3 {
    margin: 0;
    color: var(--ls-ink);
    font-size: 1.04rem;
    font-weight: 650;
    letter-spacing: -0.005em;
}

.ls-platform-item p {
    margin: 0.2rem 0 0;
    max-width: 38rem;
    color: var(--ls-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

@media screen and (max-width: 991.98px) {
    .ls-platform {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.75rem;
    }
}

@media screen and (max-width: 575.98px) {
    .ls-platform-item {
        grid-template-columns: 2.4rem minmax(0, 1fr);
    }
}

/* Short windows: tighter rows so the whole list still fits the screen. */
@media screen and (max-height: 760px) and (min-width: 992px) {
    .ls-platform-item { padding: 0.6rem 0; }
    .ls-platform-item p { font-size: 0.88rem; line-height: 1.45; }
    .ls-platform-lead { margin-top: 0.8rem; }
}
@media screen and (max-height: 760px) and (max-width: 1100px) and (min-width: 992px) {
    .ls-platform { gap: 2rem; }
    .ls-platform-title { font-size: 1.7rem; }
}

/* ── The platform: pick a step, see a sample of it ──────────────────
   Six capabilities on the left; the chosen one on the right with who does it, where it lives in the
   portal and a small sample of what the screen or document looks like. Plain paper surfaces, thin
   rules and real wording instead of icon tiles and glow. landing-sections.js switches the steps. */
.pf-head {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 1rem clamp(2rem, 5vw, 4.5rem);
    align-items: end;
    margin-bottom: clamp(1.25rem, 3.5vh, 2.25rem);
}
.pf-head .ls-platform-lead { margin-top: 0; }
.pf-head .ls-platform-link { margin-top: 0.9rem; }

.pf {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: stretch;
}

/* Step list */
.pf-tabs { display: flex; flex-direction: column; border-top: 1px solid #d8e0db; }
.pf-tab {
    position: relative;
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    align-items: center;
    gap: 0.25rem;
    width: 100%;
    padding: clamp(0.55rem, 1.4vh, 0.85rem) 0.9rem clamp(0.55rem, 1.4vh, 0.85rem) 1rem;
    border: 0;
    border-bottom: 1px solid #d8e0db;
    background: transparent;
    color: var(--ls-muted);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}
.pf-tab::before {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    content: '';
    background: transparent;
    transition: background-color 0.18s ease;
}
.pf-tab:hover { background: rgba(255, 255, 255, 0.7); color: var(--ls-ink); }
.pf-tab:focus-visible { outline: 2px solid var(--ls-green-700); outline-offset: -2px; }
.pf-tab.is-active { background: #fff; color: var(--ls-ink); }
.pf-tab.is-active::before { background: var(--ls-green-800); }
.pf-tab-no { font-size: 0.8rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ls-green-700); }
.pf-tab-text { display: flex; flex-direction: column; min-width: 0; }
.pf-tab-text strong { font-size: 0.98rem; font-weight: 650; color: inherit; }
.pf-tab-text small { font-size: 0.78rem; color: var(--ls-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* thin timer under the active step while the steps advance on their own */
.pf-tab-bar { position: absolute; left: 1rem; right: 0.9rem; bottom: -1px; height: 2px; overflow: hidden; }
.pf-tab-bar i { display: block; height: 100%; width: 0; background: var(--ls-green-700); }
.pf.is-playing .pf-tab.is-active .pf-tab-bar i { animation: pf-timer 7s linear forwards; }
.pf.is-held .pf-tab.is-active .pf-tab-bar i { animation-play-state: paused; }
@keyframes pf-timer { from { width: 0; } to { width: 100%; } }

/* Panel */
.pf-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(1rem, 2.2vh, 1.5rem) clamp(1rem, 2vw, 1.6rem);
    border: 1px solid #d8e0db;
    border-radius: 10px;
    background: #fff;
}
.pf-panel { display: flex; flex-direction: column; flex: 1; }
.pf-panel[hidden] { display: none; }
.pf-panel.is-active { animation: pf-in 0.35s ease both; }
@keyframes pf-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pf-panel-top { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.78rem; color: var(--ls-muted); }
.pf-where b { color: var(--ls-green-800); font-weight: 600; }
.pf-step { font-variant-numeric: tabular-nums; }
.pf-panel-title { margin: 0.55rem 0 0.25rem; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ls-ink); }
.pf-panel-text { margin: 0 0 0.9rem; max-width: 34rem; font-size: 0.94rem; line-height: 1.55; color: var(--ls-muted); }
.pf-sample { margin-top: auto; padding: 0.9rem; border-radius: 8px; background: #f4f6f5; border: 1px solid #e3e9e5; font-size: 0.86rem; color: var(--ls-ink); }
.pf-note { margin: 0.6rem 0 0; font-size: 0.72rem; color: #8a968f; text-align: right; }
.pf-muted { color: var(--ls-muted); }
.pf-good { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--ls-green-700); font-weight: 600; }
.pf-good svg, .pf-dot svg { width: 0.85rem; height: 0.85rem; }

/* 1 · the packet */
.pf-sheet { background: #fff; border: 1px solid #dde4df; border-radius: 6px; }
.pf-sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.55rem 0.75rem; border-bottom: 1px solid #eef2ef; }
.pf-chip { padding: 0.08rem 0.5rem; border-radius: 4px; font-size: 0.72rem; font-weight: 600; }
.pf-chip--ok { background: #e3f3e8; color: #1c6b3c; }
.pf-files { margin: 0; padding: 0.3rem 0.75rem; list-style: none; }
.pf-files li { display: grid; grid-template-columns: 2.2rem 1fr auto; align-items: center; gap: 0.5rem; padding: 0.32rem 0; border-bottom: 1px dashed #e6ebe8; }
.pf-files li:last-child { border-bottom: 0; }
.pf-files em { font-style: normal; font-size: 0.74rem; color: var(--ls-muted); }
.pf-ft { display: inline-block; padding: 0.05rem 0.3rem; border-radius: 3px; background: #e7efe9; color: var(--ls-green-800); font-size: 0.66rem; font-weight: 700; text-align: center; }
.pf-ft--pdf { background: #fbe4e1; color: #a3271b; }
.pf-ft--xls { background: #e1f1e5; color: #17703b; }
.pf-sheet-foot { padding: 0.45rem 0.75rem; border-top: 1px solid #eef2ef; font-size: 0.74rem; color: var(--ls-muted); }

/* 2 · the route */
.pf-route { margin: 0; padding: 0; list-style: none; }
.pf-route li { position: relative; display: grid; grid-template-columns: 1.5rem 1fr auto; align-items: start; gap: 0.6rem; padding: 0.35rem 0; }
.pf-route li:not(:last-child)::after { position: absolute; left: 0.7rem; top: 1.6rem; bottom: -0.35rem; width: 1px; content: ''; background: #cfd9d3; }
.pf-route small { display: block; color: var(--ls-muted); font-size: 0.76rem; }
.pf-route time { font-size: 0.74rem; color: var(--ls-muted); }
.pf-dot { display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #fff; border: 1.5px solid #cfd9d3; color: #fff; }
.pf-route .is-done .pf-dot { background: var(--ls-green-700); border-color: var(--ls-green-700); }
.pf-route .is-now .pf-dot { border-color: #c8961a; box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px #f2c94c; }

/* 3 · the signature */
.pf-sig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1rem; align-items: center; }
.pf-sig-line { text-align: center; }
.pf-sig-line svg { display: block; width: 100%; max-width: 13rem; margin: 0 auto -0.4rem; }
.pf-sig-line span { display: block; padding-top: 0.3rem; border-top: 1px solid #9aa7a0; font-size: 0.76rem; color: var(--ls-muted); }
.pf-cert { margin: 0; display: grid; gap: 0.35rem; }
.pf-cert div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.5rem; }
.pf-cert dt { font-weight: 500; color: var(--ls-muted); font-size: 0.78rem; }
.pf-cert dd { margin: 0; font-size: 0.82rem; }

/* 4 · the agenda */
.pf-agenda { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #dde4df; }
.pf-agenda td { padding: 0.4rem 0.6rem; border-bottom: 1px solid #eef2ef; font-size: 0.84rem; }
.pf-agenda tr:last-child td { border-bottom: 0; }
.pf-agenda .pf-tab-letter { width: 2.2rem; font-weight: 700; color: var(--ls-green-800); text-align: center; border-right: 1px solid #eef2ef; }
.pf-agenda .pf-muted { width: 5.5rem; font-size: 0.76rem; text-align: right; }
.pf-agenda tr.is-new td { background: #fffaeb; }

/* 5 · the vote */
.pf-vote-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.45rem; }
.pf-vote-head span { font-weight: 600; color: var(--ls-green-800); }
.pf-vote-bar { display: flex; height: 0.6rem; border-radius: 3px; overflow: hidden; background: #dfe6e2; }
.pf-vote-bar i { display: block; height: 100%; background: var(--ls-green-700); }
.pf-vote-bar i.pf-abs { background: #c8961a; }
.pf-vote-key { display: flex; gap: 1rem; margin-top: 0.4rem; font-size: 0.74rem; color: var(--ls-muted); }
.pf-otp { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.8rem; padding-top: 0.7rem; border-top: 1px dashed #d6ded9; font-size: 0.78rem; color: var(--ls-muted); }
.pf-otp span { margin-right: auto; }
.pf-otp b { padding: 0.15rem 0.45rem; border: 1px solid #cfd9d3; border-radius: 4px; background: #fff; color: var(--ls-ink); font-variant-numeric: tabular-nums; letter-spacing: 0.18em; }

/* 6 · the verification */
.pf-verify { display: grid; grid-template-columns: 5.2rem 1fr; gap: 1rem; align-items: center; }
.pf-qr { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; padding: 6px; background: #fff; border: 1px solid #dde4df; border-radius: 4px; aspect-ratio: 1; }
.pf-qr i { background: transparent; border-radius: 1px; }
.pf-qr i.on { background: #17231d; }
.pf-verify p { margin: 0.25rem 0 0; font-size: 0.82rem; line-height: 1.5; color: var(--ls-muted); }

/* Short windows: a little less air so everything stays on one screen. */
@media screen and (max-height: 760px) and (min-width: 992px) {
    .pf-head { margin-bottom: 1rem; }
    .pf-head .ls-platform-title { font-size: 1.85rem; }
    .pf-panel-text { margin-bottom: 0.6rem; }
    .pf-sample { padding: 0.7rem; }
}

@media screen and (max-width: 991.98px) {
    .pf-head, .pf { grid-template-columns: minmax(0, 1fr); }
    .pf-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; gap: 0.4rem; }
    .pf-tab { border: 1px solid #d8e0db; border-radius: 8px; padding: 0.55rem 0.7rem; }
    .pf-tab::before { display: none; }
    .pf-tab.is-active { border-color: var(--ls-green-700); box-shadow: inset 0 0 0 1px var(--ls-green-700); }
    .pf-tab-text small, .pf-tab-bar { display: none; }
}
@media screen and (max-width: 575.98px) {
    .pf-sig, .pf-verify { grid-template-columns: minmax(0, 1fr); }
    .pf-qr { width: 5rem; }
    .pf-panel-top { flex-direction: column; gap: 0.15rem; }
}
@media (prefers-reduced-motion: reduce) {
    .pf-panel.is-active { animation: none; }
}
.pf-sample { margin-top: 0; }
.pf-qr { grid-template-columns: repeat(11, 1fr); gap: 1px; padding: 5px; }
.pf-qr i { border-radius: 0; }
