.lp {
    --lp-max: 1120px;
    --lp-gutter: 24px;
    --lp-header-h: 64px;
    --lp-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --lp-ease-inout: cubic-bezier(0.45, 0, 0.2, 1);
    --lp-cycle: 12s;
    --accent: #00693E;
    --accent-50: #E6F1EC;
    --accent-100: #CCE3D8;
    --bg: #F5F6F7;
    --surface: #FFFFFF;
    --surface-2: #FAFBFB;
    --border: #E2E5E8;
    --border-strong: #D3D8DC;
    --text: #2B2F33;
    --text-muted: #5F6B73;
    --text-faint: #8C969D;
    --pos: #2E7D32;
    --warn: #B26A00;
    --info: #1565C0;
    --info-bg: #E8F0FB;
    --logo-plate: #FFFFFF;
    --rail-hover: rgba(0, 0, 0, 0.06);
    --radius: 8px;
    --radius-sm: 6px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06);
    --fontFamilyBase: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --fontFamilyMonospace: Consolas, "Courier New", monospace;
    font-family: var(--fontFamilyBase);
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    min-height: 100dvh;
}

.lp-shell {
    width: 100%;
    max-width: var(--lp-max);
    margin: 0 auto;
    padding: 0 var(--lp-gutter);
}

.lp [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.55s var(--lp-ease),
        transform 0.55s var(--lp-ease);
    transition-delay: calc(var(--i, 0) * 70ms);
}

.lp [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

.lp-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: var(--lp-header-h);
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
}

.lp-header.is-scrolled {
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--border);
}

.lp-header-inner {
    width: 100%;
    max-width: var(--lp-max);
    margin: 0 auto;
    padding: 0 var(--lp-gutter);
    display: flex;
    align-items: center;
    gap: 24px;
}

.lp-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.lp-brand-icon {
    display: block;
    width: auto;
    height: 24px;
}

.lp-brand-name {
    font-weight: 650;
    letter-spacing: -0.01em;
}

.lp-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-inline-start: auto;
}

.lp-nav a {
    position: relative;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.15s ease, background 0.15s ease;
}

.lp-nav a:hover {
    color: var(--text);
    background: var(--rail-hover);
}

.lp-nav a::after {
    content: "";
    position: absolute;
    inset-inline: 12px;
    bottom: 3px;
    height: 1.5px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.25s var(--lp-ease);
}

.lp-nav a:hover::after,
.lp-nav a.is-current::after {
    transform: scaleX(1);
}

.lp-nav a.is-current {
    color: var(--text);
}

.lp-nav a:focus-visible,
.lp-ghost-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.lp-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
}

.lp-nav + .lp-header-actions {
    margin-inline-start: 0;
}

.lp-section {
    padding: 88px 0;
}

.lp-section-alt {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.lp-section-head {
    max-width: 660px;
    margin-bottom: 40px;
}

.lp-section-head h2,
.lp-board h2 {
    margin: 10px 0 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 680;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.lp-section-head p {
    margin: 12px 0 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.lp-eyebrow {
    display: inline-block;
    font-family: var(--fontFamilyMonospace);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent);
    padding: 4px 10px;
    border: 1px solid var(--accent-100);
    border-radius: 999px;
    background: var(--accent-50);
}

.lp-code {
    font-family: var(--fontFamilyMonospace);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.lp-num {
    font-family: var(--fontFamilyMonospace);
    font-variant-numeric: tabular-nums;
    text-align: end;
    white-space: nowrap;
}

.lp-hero {
    position: relative;
    padding: clamp(56px, 9vw, 104px) 0 88px;
    overflow: hidden;
}

.lp-hero::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 620px;
    background:
        radial-gradient(46% 60% at 18% 76%, rgba(5, 150, 105, 0.16), transparent 70%),
        radial-gradient(38% 50% at 88% 8%, rgba(2, 132, 199, 0.12), transparent 72%);
    pointer-events: none;
    z-index: 0;
}

.lp-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 56px;
}

.lp-hero-copy h1 {
    margin: 18px 0 0;
    font-size: clamp(2.25rem, 5.2vw, 3.5rem);
    font-weight: 720;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.lp-lede {
    margin: 20px 0 0;
    max-width: 46ch;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.lp-hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
}

.lp-ghost-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    border-bottom: 1px dashed var(--border-strong);
    padding-bottom: 2px;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.lp-ghost-link:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.lp-hero-visual {
    position: relative;
    min-height: 320px;
    padding-bottom: 124px;
}

.lp-route {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.lp-route-ring {
    fill: none;
    stroke: var(--border-strong);
    stroke-width: 1;
    opacity: 0.5;
}

.lp-route-base {
    fill: none;
    stroke: var(--border-strong);
    stroke-width: 1.5;
    stroke-dasharray: 5 7;
    stroke-linecap: round;
}

.lp-route-flown {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.lp-route-flown {
    animation: lp-leg-trail var(--lp-cycle) linear infinite;
}

.lp-route-ping {
    fill: var(--accent);
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: lp-ping var(--lp-cycle) ease-out infinite;
}

.lp-waypoint circle {
    fill: var(--surface);
    stroke: var(--accent);
    stroke-width: 2.5;
}

.lp-waypoint text {
    fill: var(--text-faint);
    font-family: var(--fontFamilyMonospace);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-anchor: middle;
}

.lp-plane {
    display: none;
}

@supports (offset-path: path("M 0 0 L 1 1")) {
    .lp-plane {
        display: block;
        fill: var(--accent);
        offset-rotate: auto;
        offset-distance: 0%;
    }

    .lp-plane {
        animation: lp-leg-plane var(--lp-cycle) linear infinite;
    }
}

@keyframes lp-leg-plane {
    0% {
        offset-distance: 0%;
        opacity: 0;
        animation-timing-function: ease-out;
    }

    3% {
        offset-distance: 0%;
        opacity: 1;
        animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }

    72% {
        offset-distance: 74%;
        opacity: 1;
    }

    92% {
        offset-distance: 74%;
        opacity: 1;
    }

    100% {
        offset-distance: 74%;
        opacity: 0;
    }
}

@keyframes lp-leg-trail {
    0% {
        stroke-dashoffset: 1;
        opacity: 0;
    }

    3% {
        stroke-dashoffset: 1;
        opacity: 1;
        animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }

    72% {
        stroke-dashoffset: 0.26;
        opacity: 1;
    }

    92% {
        stroke-dashoffset: 0.26;
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0.26;
        opacity: 0;
    }
}

@keyframes lp-ping {
    0%,
    70% {
        transform: scale(1);
        opacity: 0;
    }

    71% {
        opacity: 0.55;
    }

    82%,
    100% {
        transform: scale(3.2);
        opacity: 0;
    }
}

.lp-ledger {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(360px, 74%);
    padding: 14px 16px 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.lp-ledger::before {
    content: "";
    position: absolute;
    inset: 44px 16px 10px;
    background: repeating-linear-gradient(to bottom,
            transparent 0 25px,
            var(--border) 25px 26px);
    opacity: 0.55;
    pointer-events: none;
    border-radius: 2px;
}

.lp-ledger-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.lp-ledger-status {
    display: grid;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--accent-50);
    border-radius: 999px;
    padding: 3px 9px;
}

.lp-status-word {
    grid-area: 1 / 1;
    opacity: 0;
    color: var(--gate, var(--pos));
    animation: lp-slot var(--lp-cycle) ease-out infinite both;
    animation-delay: calc(var(--slot) * var(--lp-cycle) / 2);
}

@keyframes lp-slot {
    0% {
        opacity: 0;
        transform: translateY(4px);
    }

    3%,
    47% {
        opacity: 1;
        transform: none;
    }

    50%,
    100% {
        opacity: 0;
        transform: translateY(-4px);
    }
}

.lp-ledger-table {
    position: relative;
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.lp-ledger-table th {
    padding: 8px 0 6px;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    text-align: start;
}

.lp-ledger-table th.lp-num,
.lp-ledger-table td.lp-num {
    padding-inline-start: 12px;
}

.lp-ledger-table th.lp-num {
    text-align: end;
}

.lp-ledger-table td {
    padding: 5px 0;
    color: var(--text-muted);
}

.lp-ledger-table td.lp-num {
    color: var(--text);
}

.lp-ledger-memo {
    display: block;
    font-family: var(--fontFamilyMonospace);
    font-size: 0.625rem;
    letter-spacing: 0.01em;
    color: var(--text-faint);
}

.lp-ledger-drcr {
    font-family: var(--fontFamilyMonospace);
    font-weight: 500;
    margin-inline-start: 8px;
    color: var(--accent);
}

.lp-ledger-table tfoot td {
    padding-top: 8px;
    border-top: 1px solid var(--border-strong);
    color: var(--text);
    font-weight: 600;
}

.lp-stats {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.lp-stat-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lp-stat {
    position: relative;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.lp-stat + .lp-stat {
    border-inline-start: 1px dashed var(--border-strong);
}

.lp-stat-value {
    display: inline-flex;
    align-self: flex-start;
    direction: ltr;
    font-family: var(--fontFamilyMonospace);
    font-variant-numeric: tabular-nums;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--accent);
}

.lp-flap {
    display: inline-block;
    height: 1em;
    line-height: 1;
    overflow: hidden;
    vertical-align: top;
}

.lp-flap-reel {
    display: block;
    transform: translateY(0);
    transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1)
        calc(var(--i, 0) * 70ms + var(--k) * 90ms + 150ms);
}

.lp-flap-reel span {
    display: block;
    height: 1em;
}

.lp-stat.is-revealed .lp-flap-reel {
    transform: translateY(calc(var(--d) * -1em));
}

.lp-stat-label {
    font-weight: 600;
    font-size: 0.875rem;
}

.lp-stat-sub {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.lp-pass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 20px;
}

.lp-pass {
    position: relative;
    display: flex;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.lp .lp-pass {
    transition:
        opacity 0.55s var(--lp-ease) calc(var(--i, 0) * 70ms),
        transform 0.55s var(--lp-ease) calc(var(--i, 0) * 70ms),
        translate 0.25s var(--lp-ease),
        box-shadow 0.25s var(--lp-ease),
        border-color 0.25s var(--lp-ease);
}

.lp-pass:hover {
    translate: 0 -3px;
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}

.lp-pass::before,
.lp-pass::after {
    content: "";
    position: absolute;
    inset-inline-end: 68px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    transform: translateX(50%);
    pointer-events: none;
    z-index: 1;
}

.lp-pass::before {
    top: -8px;
    border-bottom-color: transparent;
}

.lp-pass::after {
    bottom: -8px;
    border-top-color: transparent;
}

.lp-pass-main {
    flex: 1 1 auto;
    min-width: 0;
    padding: 22px 20px;
}

.lp-pass-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.lp-pass-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: var(--accent-50);
    color: var(--accent);
}

.lp-pass-title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.lp-pass-tagline {
    margin: 4px 0 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.lp-pass-items {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lp-pass-items li {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 3px 8px;
}

.lp-pass-stub {
    position: relative;
    flex: 0 0 68px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-inline-start: 1.5px dashed var(--border-strong);
    overflow: hidden;
    border-start-end-radius: var(--radius-lg);
    border-end-end-radius: var(--radius-lg);
    isolation: isolate;
    transition: transform 0.25s var(--lp-ease);
}

.lp-pass-stub::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 40%;
    background: linear-gradient(to bottom,
            transparent,
            color-mix(in srgb, var(--accent) 22%, transparent),
            transparent);
    opacity: 0;
    z-index: -1;
    animation: lp-call calc(var(--lp-cards) * 1.25s) linear infinite;
    animation-delay: calc(var(--i) * 1.25s);
}

@keyframes lp-call {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    1% {
        opacity: 0.9;
    }

    9% {
        transform: translateY(260%);
        opacity: 0;
    }

    100% {
        transform: translateY(260%);
        opacity: 0;
    }
}

.lp-pass-icon {
    transition: transform 0.25s var(--lp-ease);
}

.lp-pass:hover .lp-pass-stub {
    transform: translateX(2px);
}

.lp-pass:hover .lp-pass-icon {
    transform: scale(1.08);
}

.lp-pass-code {
    font-family: var(--fontFamilyMonospace);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--accent);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.lp-pass-seq {
    font-family: var(--fontFamilyMonospace);
    font-size: 0.6875rem;
    color: var(--text-faint);
}

.lp-pipe {
    position: relative;
    isolation: isolate;
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.lp-pipe::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 7px;
    inset-inline-start: 7px;
    height: 0;
    width: 0;
    border-top: 1.5px dashed var(--border-strong);
    transition: width 1.4s var(--lp-ease) 0.15s;
}

.lp-pipe::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 7px;
    inset-inline-start: calc(20% + 10.2px);
    height: 0;
    width: 0;
    border-top: 1.5px solid var(--accent);
    transition: width 1.1s var(--lp-ease) 0.9s;
}

.lp-pipe.is-revealed::before {
    width: calc(80% + 13px);
}

.lp-pipe.is-revealed::after {
    width: calc(60% + 10px);
}

.lp-stage {
    --who: var(--accent);
    position: relative;
    padding-top: 26px;
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.5s var(--lp-ease),
        transform 0.5s var(--lp-ease);
    transition-delay: calc(0.3s + var(--i, 0) * 220ms);
}

.lp-stage[data-who="press"] {
    --who: var(--info);
}

.lp-stage[data-who="person"] {
    --who: var(--warn);
}

.lp-pipe.is-revealed .lp-stage {
    opacity: 1;
    transform: none;
}

.lp-pipe-track {
    position: absolute;
    top: 0;
    inset-inline-start: 7px;
    width: calc(80% + 13px);
    height: 15px;
    pointer-events: none;
    z-index: 1;
}

.lp-pipe-doc {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    width: 25%;
    height: 15px;
    opacity: 0;
    animation: lp-pipe-run var(--lp-pipe-cycle) linear infinite;
    animation-delay: var(--lp-pipe-lead);
}

.lp-pipe-doc::before {
    content: "";
    position: absolute;
    top: 3px;
    inset-inline-end: -6px;
    box-sizing: border-box;
    width: 12px;
    height: 9px;
    border-radius: 2px;
    background: var(--text-muted);
    animation: lp-pipe-face var(--lp-pipe-cycle) linear infinite;
    animation-delay: var(--lp-pipe-lead);
}

.lp-pipe-doc::after {
    content: "";
    position: absolute;
    top: 1px;
    inset-inline-end: -8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--info);
    box-shadow: 0 0 0 1.5px var(--surface);
    opacity: 0;
    animation: lp-pipe-tag var(--lp-pipe-cycle) linear infinite;
    animation-delay: var(--lp-pipe-lead);
}

.lp-pipe-doc-flag,
.lp-pipe-doc-flag::before,
.lp-pipe-doc-flag::after {
    animation-delay: calc(var(--lp-pipe-lead) + var(--lp-pipe-cycle) / 2);
}

.lp-pipe-doc-flag::before {
    border: 2px dashed var(--text-muted);
    animation-name: lp-pipe-flag-face;
}

@keyframes lp-pipe-run {
    0% {
        transform: translateX(-400%);
        opacity: 0;
    }

    2%,
    12% {
        transform: translateX(-400%);
        opacity: 1;
        animation-timing-function: var(--lp-ease-inout);
    }

    15%,
    19% {
        transform: translateX(-300%);
        animation-timing-function: var(--lp-ease-inout);
    }

    22%,
    26% {
        transform: translateX(-200%);
        animation-timing-function: var(--lp-ease-inout);
    }

    29%,
    33% {
        transform: translateX(-100%);
        animation-timing-function: var(--lp-ease-inout);
    }

    36%,
    45% {
        transform: translateX(0);
        opacity: 1;
    }

    49% {
        transform: translateX(0);
        opacity: 0;
    }

    49.5%,
    100% {
        transform: translateX(-400%);
        opacity: 0;
    }
}

@keyframes lp-pipe-face {
    0%,
    12% {
        background: var(--text-muted);
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--surface), 0 0 0 0 var(--accent);
    }

    15%,
    26% {
        background: var(--info);
    }

    29%,
    36% {
        background: var(--accent);
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--surface), 0 0 0 0 var(--accent);
    }

    37.5% {
        transform: scale(1.4);
    }

    39%,
    49% {
        background: var(--accent);
        transform: scale(1);
        box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--accent);
    }

    49.5%,
    100% {
        background: var(--text-muted);
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--surface), 0 0 0 0 var(--accent);
    }
}

@keyframes lp-pipe-flag-face {
    0%,
    12% {
        background: var(--text-muted);
        border-color: var(--text-muted);
        transform: scale(1);
    }

    15%,
    26% {
        background: var(--info);
        border-color: var(--info);
    }

    29% {
        background: var(--surface);
        border-color: var(--warn);
        transform: scale(1);
    }

    30.5% {
        transform: scale(1.3);
    }

    32%,
    49% {
        background: var(--surface);
        border-color: var(--warn);
        transform: scale(1);
    }

    49.5%,
    100% {
        background: var(--text-muted);
        border-color: var(--text-muted);
        transform: scale(1);
    }
}

@keyframes lp-pipe-tag {
    0%,
    21.5% {
        opacity: 0;
        transform: scale(0);
    }

    22.5% {
        opacity: 1;
        transform: scale(1.35);
    }

    23.5%,
    49% {
        opacity: 1;
        transform: scale(1);
    }

    49.5%,
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

.lp-pipe-verdict {
    position: absolute;
    bottom: calc(100% + 8px);
    inset-inline-start: calc(100% - 7.5px);
    display: grid;
    width: max-content;
    perspective: 240px;
}

.lp-pipe-word {
    --who: var(--accent);
    grid-area: 1 / 1;
    justify-self: start;
    padding: 2px 9px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--who) 45%, transparent);
    background: color-mix(in srgb, var(--who) 12%, transparent);
    color: color-mix(in srgb, var(--who) 65%, var(--text));
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform-origin: 50% 0;
    animation: lp-pipe-verdict var(--lp-pipe-cycle) linear infinite;
    animation-delay: var(--lp-pipe-lead);
}

.lp-pipe-word-flag {
    --who: var(--warn);
    animation-delay: calc(var(--lp-pipe-lead) + var(--lp-pipe-cycle) / 2);
}

@keyframes lp-pipe-verdict {
    0%,
    36.5% {
        opacity: 0;
        transform: rotateX(90deg);
        animation-timing-function: var(--lp-ease);
    }

    38.5%,
    45% {
        opacity: 1;
        transform: rotateX(0deg);
    }

    47% {
        opacity: 0;
        transform: rotateX(-90deg);
    }

    47.5%,
    100% {
        opacity: 0;
        transform: rotateX(90deg);
    }
}

.lp-pipe .lp-pipe-doc,
.lp-pipe .lp-pipe-doc::before,
.lp-pipe .lp-pipe-doc::after,
.lp-pipe .lp-pipe-word,
.lp-pipe .lp-stage-who,
.lp-pipe .lp-stage-dot::before,
.lp-pipe .lp-stage-dot::after {
    animation-play-state: paused;
}

.lp-pipe.is-revealed .lp-pipe-doc,
.lp-pipe.is-revealed .lp-pipe-doc::before,
.lp-pipe.is-revealed .lp-pipe-doc::after,
.lp-pipe.is-revealed .lp-pipe-word,
.lp-pipe.is-revealed .lp-stage-who,
.lp-pipe.is-revealed .lp-stage-dot::before,
.lp-pipe.is-revealed .lp-stage-dot::after {
    animation-play-state: running;
}

.lp-stage-dot {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--surface);
    border: 3px solid var(--gate, var(--accent));
    transition: transform 0.2s var(--lp-ease);
}

.lp-stage-dot::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--gate, var(--accent));
    opacity: 0;
    animation: lp-pipe-halo var(--lp-pipe-cycle) ease-out infinite;
    animation-delay: calc(var(--lp-pipe-lead) + var(--lp-pipe-cycle) * (0.08 + var(--i) * 0.07));
}

.lp-stage[data-stage="prove"] .lp-stage-dot::after {
    animation-name: lp-pipe-halo-prove;
}

@keyframes lp-pipe-halo {
    0% {
        transform: scale(1);
        opacity: 0;
    }

    0.5% {
        opacity: 0.7;
    }

    4.5% {
        transform: scale(2.1);
        opacity: 0;
    }

    50% {
        transform: scale(1);
        opacity: 0;
    }

    50.5% {
        opacity: 0.7;
    }

    54.5% {
        transform: scale(2.1);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes lp-pipe-halo-prove {
    0% {
        transform: scale(1);
        opacity: 0;
        border-color: var(--gate);
    }

    0.5% {
        opacity: 0.7;
    }

    4.5% {
        transform: scale(2.1);
        opacity: 0;
        border-color: var(--gate);
    }

    50% {
        transform: scale(1);
        opacity: 0;
        border-color: var(--warn);
    }

    50.5% {
        opacity: 0.7;
    }

    54.5% {
        transform: scale(2.1);
        opacity: 0;
        border-color: var(--warn);
    }

    100% {
        transform: scale(1);
        opacity: 0;
        border-color: var(--gate);
    }
}

.lp-stage[data-who="press"] .lp-stage-dot::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--who);
    opacity: 0;
    transform: scale(2.2);
    animation-name: lp-pipe-press;
    animation-duration: var(--lp-pipe-cycle);
    animation-timing-function: ease-in;
    animation-iteration-count: infinite;
    animation-delay: var(--lp-pipe-lead);
}

@keyframes lp-pipe-press {
    0%,
    8.5% {
        transform: scale(2.2);
        opacity: 0;
    }

    11% {
        transform: scale(1);
        opacity: 0.85;
    }

    12% {
        transform: scale(1);
        opacity: 0;
    }

    12.5%,
    58.5% {
        transform: scale(2.2);
        opacity: 0;
    }

    61% {
        transform: scale(1);
        opacity: 0.85;
    }

    62% {
        transform: scale(1);
        opacity: 0;
    }

    62.5%,
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.lp-stage-who {
    display: inline-block;
    margin-bottom: 8px;
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    border: 1px solid color-mix(in srgb, var(--who) 45%, transparent);
    background: color-mix(in srgb, var(--who) 10%, transparent);
    color: color-mix(in srgb, var(--who) 65%, var(--text));
    font-family: var(--fontFamilyMonospace);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lp-stage[data-who="press"] .lp-stage-who {
    box-shadow: 0 2px 0 color-mix(in srgb, var(--who) 45%, transparent);
    animation-name: lp-pipe-key;
    animation-duration: var(--lp-pipe-cycle);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-delay: var(--lp-pipe-lead);
}

@keyframes lp-pipe-key {
    0%,
    10% {
        transform: translateY(0);
        box-shadow: 0 2px 0 color-mix(in srgb, var(--who) 45%, transparent);
    }

    11% {
        transform: translateY(2px);
        box-shadow: 0 0 0 color-mix(in srgb, var(--who) 45%, transparent);
    }

    12.5%,
    60% {
        transform: translateY(0);
        box-shadow: 0 2px 0 color-mix(in srgb, var(--who) 45%, transparent);
    }

    61% {
        transform: translateY(2px);
        box-shadow: 0 0 0 color-mix(in srgb, var(--who) 45%, transparent);
    }

    62.5%,
    100% {
        transform: translateY(0);
        box-shadow: 0 2px 0 color-mix(in srgb, var(--who) 45%, transparent);
    }
}

.lp-stage:hover .lp-stage-dot {
    transform: scale(1.25);
}

.lp-stage:hover .lp-stage-name {
    color: var(--gate, var(--accent));
}

.lp-stage-name {
    display: block;
    font-weight: 650;
    font-size: 0.9375rem;
}

.lp-stage-blurb {
    display: block;
    margin-top: 6px;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.lp-cap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px 32px;
}

.lp-cap-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--accent-50);
    color: var(--accent);
}

.lp-cap h3 {
    margin: 14px 0 0;
    font-size: 1rem;
    font-weight: 650;
}

.lp-cap p {
    margin: 6px 0 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.lp-cap-icon {
    transition: transform 0.25s var(--lp-ease);
}

.lp-cap:hover .lp-cap-icon {
    transform: translateY(-2px) rotate(-4deg);
}

.lp-cap-head-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.lp-cap-head-grid .lp-section-head {
    margin-bottom: 0;
}

.lp-cap-also,
.lp-pipe-note {
    margin: 36px 0 0;
    padding-top: 20px;
    border-top: 1px dashed var(--border-strong);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.lp-reader {
    --lp-read-cycle: 8s;
    padding: 14px 16px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.lp-reader-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.lp-reader-pages {
    display: flex;
    gap: 4px;
}

.lp-page-chip {
    font-family: var(--fontFamilyMonospace);
    font-size: 0.625rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 2px 6px;
}

.lp-page-chip-ocr {
    color: var(--info);
    border-color: var(--info);
    background: var(--info-bg);
}

.lp-reader-body {
    position: relative;
    overflow: hidden;
}

.lp-scan {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    animation: lp-scan var(--lp-read-cycle) linear infinite;
}

.lp-scan-bar {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
}

@keyframes lp-scan {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    4%,
    52% {
        opacity: 1;
    }

    56%,
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

.lp-reader-table {
    position: relative;
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.lp-reader-table td {
    padding: 6px 0;
    color: var(--text-muted);
}

.lp-reader-table td.lp-num {
    color: var(--text);
}

.lp-reader-table tfoot td {
    padding-top: 9px;
    border-top: 1px solid var(--border-strong);
    color: var(--text);
    font-weight: 600;
}

.lp-read-cell {
    width: 22px;
    text-align: end;
}

.lp-read-tick {
    display: inline-block;
    width: 9px;
    height: 5px;
    border-left: 2px solid var(--pos);
    border-bottom: 2px solid var(--pos);
    opacity: 0;
    transform: rotate(-45deg) scale(0.5);
}

.lp-read-tick-a {
    animation: lp-tick-a var(--lp-read-cycle) ease-out infinite;
}

.lp-read-tick-b {
    animation: lp-tick-b var(--lp-read-cycle) ease-out infinite;
}

.lp-read-tick-c {
    animation: lp-tick-c var(--lp-read-cycle) ease-out infinite;
}

@keyframes lp-tick-a {
    0%,
    19% {
        opacity: 0;
        transform: rotate(-45deg) scale(0.5);
    }

    23%,
    94% {
        opacity: 1;
        transform: rotate(-45deg) scale(1);
    }

    100% {
        opacity: 0;
        transform: rotate(-45deg) scale(0.5);
    }
}

@keyframes lp-tick-b {
    0%,
    31% {
        opacity: 0;
        transform: rotate(-45deg) scale(0.5);
    }

    35%,
    94% {
        opacity: 1;
        transform: rotate(-45deg) scale(1);
    }

    100% {
        opacity: 0;
        transform: rotate(-45deg) scale(0.5);
    }
}

@keyframes lp-tick-c {
    0%,
    43% {
        opacity: 0;
        transform: rotate(-45deg) scale(0.5);
    }

    47%,
    94% {
        opacity: 1;
        transform: rotate(-45deg) scale(1);
    }

    100% {
        opacity: 0;
        transform: rotate(-45deg) scale(0.5);
    }
}

.lp-read-stamp {
    position: absolute;
    inset-inline-end: 2px;
    bottom: 1px;
    padding: 2px 10px;
    border: 1.5px solid var(--pos);
    border-radius: 4px;
    color: var(--pos);
    background: color-mix(in srgb, var(--pos) 12%, transparent);
    font-family: var(--fontFamilyMonospace);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0;
    transform: rotate(-8deg);
    animation: lp-stamp var(--lp-read-cycle) ease-out infinite;
}

@keyframes lp-stamp {
    0%,
    59% {
        opacity: 0;
        transform: rotate(-8deg) scale(1.3);
    }

    63%,
    90% {
        opacity: 1;
        transform: rotate(-8deg) scale(1);
    }

    95%,
    100% {
        opacity: 0;
        transform: rotate(-8deg) scale(1);
    }
}

.lp-board {
    padding: 64px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.lp-board-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.lp-board-row {
    margin: 8px 0 0;
    font-family: var(--fontFamilyMonospace);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.lp-runway {
    position: relative;
    height: 18px;
    margin-top: 40px;
    border-top: 1.5px dashed var(--border-strong);
    overflow: hidden;
}

.lp-runway-lane {
    position: absolute;
    inset: 0;
    animation: lp-runway 14s linear infinite;
}

.lp-runway-glyph {
    position: absolute;
    top: 3px;
    left: 0;
    width: 16px;
    height: 9px;
    fill: var(--accent);
}

@keyframes lp-runway {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    3% {
        opacity: 1;
    }

    68% {
        transform: translateX(calc(100% - 20px));
        opacity: 1;
    }

    72%,
    100% {
        transform: translateX(calc(100% - 20px));
        opacity: 0;
    }
}

.lp-footer {
    padding: 28px 0 40px;
    border-top: 1px solid var(--border);
}

.lp-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.lp-footer-inner p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--text-faint);
}

@media (max-width: 1000px) {
    .lp-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .lp-hero-visual {
        padding-bottom: 0;
    }

    .lp-ledger {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 20px;
    }

    .lp-pipe {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .lp-pipe::before,
    .lp-pipe::after {
        display: none;
    }

    .lp-pipe-track {
        visibility: hidden;
        overflow: clip;
    }

    .lp-stage:last-child {
        grid-column: 1 / -1;
    }

    .lp-stage:last-child .lp-stage-blurb {
        max-width: 60ch;
    }

    .lp-cap-head-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
}

@media (max-width: 860px) {
    .lp-nav {
        display: none;
    }

    .lp-stat-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-stat {
        border-top: 1px dashed var(--border-strong);
    }

    .lp-stat:nth-child(-n + 2) {
        border-top: 0;
    }

    .lp-stat:nth-child(odd) {
        border-inline-start: 0;
    }
}

@media (max-width: 560px) {
    .lp-section {
        padding: 64px 0;
    }

    .lp-stat-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .lp-stat {
        border-inline-start: 0;
        border-top: 1px dashed var(--border-strong);
    }

    .lp-stat:first-child {
        border-top: 0;
    }

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

    .lp-brand-name {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
        border: 0;
    }
}

.lp [data-loop].is-offscreen *,
.lp [data-loop].is-offscreen *::before,
.lp [data-loop].is-offscreen *::after,
body:has(.mud-dialog) .lp [data-loop] *,
body:has(.mud-dialog) .lp [data-loop] *::before,
body:has(.mud-dialog) .lp [data-loop] *::after {
    animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
    .lp *,
    .lp *::before,
    .lp *::after {
        animation: none !important;
        transition: none !important;
    }

    .lp [data-reveal],
    .lp .lp-stage {
        opacity: 1;
        transform: none;
    }

    .lp .lp-route-flown {
        stroke-dashoffset: 0.26;
    }

    .lp .lp-plane {
        offset-distance: 74%;
    }

    .lp .lp-pipe::before {
        width: calc(80% + 13px);
    }

    .lp .lp-pipe::after {
        width: calc(60% + 10px);
    }

    .lp .lp-status-word {
        opacity: 0;
    }

    .lp .lp-status-word:last-child {
        opacity: 1;
        transform: none;
    }

    .lp .lp-flap-reel {
        transform: translateY(calc(var(--d) * -1em));
    }

    .lp .lp-pipe-doc {
        transform: none;
        opacity: 1;
    }

    .lp .lp-pipe-doc::before {
        background: var(--accent);
        box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--accent);
    }

    .lp .lp-pipe-doc::after,
    .lp .lp-pipe-word:first-child {
        opacity: 1;
        transform: none;
    }

    .lp .lp-read-tick {
        opacity: 1;
        transform: rotate(-45deg) scale(1);
    }

    .lp .lp-read-stamp {
        opacity: 1;
        transform: rotate(-8deg);
    }

    .lp .lp-route-ping,
    .lp .lp-stage-dot::before,
    .lp .lp-stage-dot::after,
    .lp .lp-pipe-doc-flag,
    .lp .lp-pass-stub::after,
    .lp .lp-scan {
        opacity: 0;
    }

    .lp .lp-runway-lane {
        opacity: 1;
        transform: none;
    }
}
