/*--------------------------------------------------------------
# DotLeads landing page
#
# A standalone page: it does not load bootstrap.css or dotleads.css,
# so everything it needs is here. Dark only, by design - it is the
# brand's front door, not a themed app screen.
#
# 3D without libraries: CSS 3D transforms for the cards, the phone
# and the logo tile, and a hand-rolled projection on a 2D canvas for
# the globe (see landing.js). The CSP allows scripts from this origin
# only, and CLAUDE.md keeps the UI to Bootstrap Icons and ApexCharts.
#
# Copy rule from CLAUDE.md applies here too: no em dashes.
--------------------------------------------------------------*/

:root {
    --bg: #030702;
    --ink: #f2f7f3;
    --ink-soft: rgba(242, 247, 243, .76);
    --ink-mute: rgba(242, 247, 243, .54);
    --ink-faint: rgba(242, 247, 243, .34);
    --line: rgba(255, 255, 255, .08);
    --line-strong: rgba(255, 255, 255, .14);

    --lime: #8be33a;
    --lime-hi: #c4ff7a;
    --green: #40b605;
    --emerald: #22c55e;
    --deep: #2f8000;

    --poor: #f87171;
    --fair: #fbbf24;
    --good: #4ade80;

    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --brand-font: "Ubuntu", var(--font);

    --ease: cubic-bezier(.2, .7, .2, 1);
    --wrap: 1220px;

    /* Pointer position over a [data-parallax] container, -0.5 to 0.5, written by landing.js.
       Defaulted here because an undefined variable inside calc() voids the whole transform,
       and the closing call to action's logo tile sits outside the hero that sets them. */
    --px: 0;
    --py: 0;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body.lp {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(1100px 620px at 78% -8%, rgba(64, 182, 5, .17), transparent 62%),
        radial-gradient(900px 520px at -6% 18%, rgba(34, 197, 94, .07), transparent 60%),
        var(--bg);
    color: var(--ink);
    font: 400 16px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: rgba(139, 227, 58, .35); color: #fff; }

.lp-skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--lime);
    color: #052006;
    font-weight: 700;
    text-decoration: none;
}
.lp-skip:focus { top: 16px; }

:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 3px;
    border-radius: 8px;
}

.lp-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/*--------------------------------------------------------------
# Atmosphere: slow aurora light and a film of grain
--------------------------------------------------------------*/

.lp-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Soft light from radial gradients alone, which are already feathered to transparent. These used
   to carry a 90px blur filter as well, on three full-screen layers that were also moving - the
   most expensive thing on the page to composite, for an edge nobody could tell apart. A film of
   grain blended over the whole viewport went too: mix-blend-mode on a fixed full-screen layer
   makes the browser re-blend everything beneath it on every frame of a scroll. */
.lp-aurora {
    position: absolute;
    width: 60vw;
    height: 60vw;
    max-width: 900px;
    max-height: 900px;
    border-radius: 50%;
    opacity: .3;
    animation: lp-drift 48s ease-in-out infinite alternate;
}
.lp-aurora.a1 { top: -24%; right: -16%; background: radial-gradient(circle, rgba(139, 227, 58, .5), rgba(139, 227, 58, .14) 38%, transparent 68%); }
.lp-aurora.a2 { top: 32%; left: -26%; background: radial-gradient(circle, rgba(34, 197, 94, .34), rgba(34, 197, 94, .1) 38%, transparent 68%); animation-duration: 56s; animation-delay: -12s; }
.lp-aurora.a3 { bottom: -32%; right: 10%; background: radial-gradient(circle, rgba(20, 184, 166, .26), rgba(20, 184, 166, .08) 38%, transparent 68%); animation-duration: 64s; animation-delay: -20s; }

@keyframes lp-drift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(-5vw, 4vh, 0) scale(1.08); }
    100% { transform: translate3d(3vw, -3vh, 0) scale(.96); }
}

/*--------------------------------------------------------------
# Layout and type
--------------------------------------------------------------*/

.lp-wrap {
    position: relative;
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

main, .lp-footer { position: relative; z-index: 1; }

.lp-section { padding: clamp(80px, 11vw, 140px) 0; }

/* Neighbouring sections would otherwise stack both paddings into one empty band. */
.lp-section + .lp-section { padding-top: 0; }

section[id] { scroll-margin-top: 88px; }

.lp-head {
    max-width: 760px;
    margin: 0 auto clamp(40px, 6vw, 64px);
    text-align: center;
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--lime);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.lp-eyebrow::before {
    content: "";
    width: 18px;
    height: 1px;
    background: currentColor;
    opacity: .7;
}

.lp-h1 {
    margin: 0;
    font-size: clamp(2.7rem, 1.1rem + 5.4vw, 5.5rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.045em;
}

.lp-h2 {
    margin: 0;
    font-size: clamp(2rem, .9rem + 3.1vw, 3.4rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.038em;
}

.lp-sub {
    margin: 18px auto 0;
    max-width: 38em;
    color: var(--ink-soft);
    font-size: clamp(1.02rem, .95rem + .3vw, 1.16rem);
}

/* Still. A sweeping gradient here repainted the headline on every frame, forever, for an effect
   nobody watches for more than a second. */
.lp-grad {
    background: linear-gradient(100deg, var(--lime-hi) 0%, var(--lime) 34%, var(--emerald) 70%, #a7f3d0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/

.lp-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 1rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
}

.lp-btn .bi { transition: transform .25s var(--ease); }
.lp-btn:hover .bi-arrow-right { transform: translateX(4px); }

.lp-btn--primary {
    background: linear-gradient(135deg, #b5f56a, #6fd11a 45%, #3faa06);
    color: #041a05;
    box-shadow: 0 10px 30px -8px rgba(139, 227, 58, .55), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.lp-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -10px rgba(139, 227, 58, .7), inset 0 1px 0 rgba(255, 255, 255, .5);
}

.lp-btn--ghost {
    background: rgba(255, 255, 255, .04);
    border-color: var(--line-strong);
    color: var(--ink);
}
.lp-btn--ghost:hover {
    border-color: rgba(139, 227, 58, .45);
    background: rgba(139, 227, 58, .07);
}

.lp-btn--sm {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 11px;
    font-size: .9rem;
}

.lp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}
.lp-actions.center { justify-content: center; }

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

.lp-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    padding: 14px 0;
    transition: padding .3s var(--ease), background .3s, border-color .3s;
    border-bottom: 1px solid transparent;
}
/* Nearly opaque rather than frosted. A backdrop blur on a fixed bar re-blurs everything that
   scrolls beneath it on every single frame of a scroll, and at this opacity it looked the same. */
.lp-nav.is-scrolled {
    padding: 9px 0;
    background: rgba(4, 9, 3, .93);
    border-bottom-color: var(--line);
}

.lp-nav-row {
    display: flex;
    align-items: center;
    gap: 28px;
}

.lp-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.lp-brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 0 22px rgba(139, 227, 58, .28); }

.lp-word {
    font-family: var(--brand-font);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -.01em;
}
.lp-word span { color: var(--emerald); }

.lp-links {
    display: flex;
    gap: 6px;
    margin-left: auto;
}
.lp-links a {
    padding: 8px 14px;
    border-radius: 10px;
    color: var(--ink-soft);
    font-size: .93rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s, background .2s;
}
.lp-links a:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }

.lp-nav .lp-btn { margin-left: 6px; }

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/

.lp-hero {
    position: relative;
    padding: clamp(116px, 15vh, 156px) 0 clamp(36px, 6vw, 70px);
    overflow: hidden;
}

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

.lp-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    padding: 7px 14px 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(139, 227, 58, .28);
    background: rgba(139, 227, 58, .07);
    color: var(--ink-soft);
    font-size: .86rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color .2s, background .2s;
}
.lp-pill:hover { border-color: rgba(139, 227, 58, .55); background: rgba(139, 227, 58, .11); }
.lp-pill .bi { color: var(--lime); }

.lp-pulse {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    flex: 0 0 auto;
}
.lp-pulse::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1.5px solid var(--lime);
    animation: lp-ping 2.2s var(--ease) infinite;
}

@keyframes lp-ping {
    0%   { transform: scale(.5); opacity: .9; }
    100% { transform: scale(1.9); opacity: 0; }
}

.lp-lead {
    margin: 26px 0 0;
    max-width: 33em;
    color: var(--ink-soft);
    font-size: clamp(1.05rem, .95rem + .45vw, 1.24rem);
    line-height: 1.62;
}

.lp-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 22px 0 0;
    color: var(--ink-mute);
    font-size: .9rem;
}
.lp-note a { color: var(--lime); text-decoration: none; font-weight: 600; }
.lp-note a:hover { text-decoration: underline; }

/* Entrance: pure CSS, so the hero arrives even if landing.js never runs. Opacity and a slide
   only: it used to un-blur as well, a filter animated over the headline in the very second the
   page is loading and the globe is starting, which is when a phone can least spare it. */
.lp-in {
    opacity: 0;
    animation: lp-rise .8s var(--ease) forwards;
    animation-delay: var(--d, 0s);
}

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

.lp-hero-visual {
    position: relative;
    height: clamp(460px, 46vw, 620px);
    --px: 0;
    --py: 0;
}

.lp-globe {
    position: absolute;
    inset: -4% -10% -4% -6%;
    width: 116%;
    height: 108%;
    opacity: 0;
    animation: lp-fade 1.6s var(--ease) .25s forwards;
}

@keyframes lp-fade { to { opacity: 1; } }

/* The perspective floor the globe sits over. Kept to the globe's side: spread full width, its
   lines ran diagonally behind the paragraph and made it harder to read. Still, too: scrolling
   the grid toward the viewer repainted this masked, tilted layer on every frame. */
.lp-floor {
    position: absolute;
    left: 24%;
    right: -40%;
    bottom: -8%;
    height: 46%;
    background-image:
        linear-gradient(rgba(139, 227, 58, .11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 227, 58, .11) 1px, transparent 1px);
    background-size: 58px 58px;
    transform: perspective(480px) rotateX(66deg);
    transform-origin: center top;
    -webkit-mask-image: radial-gradient(ellipse at center top, #000 0%, rgba(0, 0, 0, .6) 34%, transparent 70%);
    mask-image: radial-gradient(ellipse at center top, #000 0%, rgba(0, 0, 0, .6) 34%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/*---------- the magnet: the owner's logo as a floating 3D tile ----------*/

.lp-mag {
    position: absolute;
    left: 4%;
    top: 4%;
    width: 104px;
    height: 104px;
    perspective: 700px;
    z-index: 3;
}

.lp-mag::before {
    content: "";
    position: absolute;
    inset: -60%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 227, 58, .32), transparent 62%);
    animation: lp-breathe 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes lp-breathe {
    0%, 100% { opacity: .65; transform: scale(.94); }
    50%      { opacity: 1; transform: scale(1.06); }
}

.lp-mag-float {
    position: relative;
    width: 100%;
    height: 100%;
    animation: lp-float 6.5s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes lp-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50%      { transform: translate3d(0, -14px, 0); }
}

.lp-mag-body {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform:
        rotateX(calc(16deg + var(--py) * -16deg))
        rotateY(calc(-26deg + var(--px) * 26deg));
    transition: transform .2s ease-out;
}

/* Stacked slices behind the face give the tile real thickness when it turns. Each slice is a
   little darker than the one in front, mixed once as a colour rather than done with a brightness
   filter: twelve filtered layers per tile, in a stack that never stops moving, was work the
   compositor redid on every frame. */
.lp-mag-edge {
    position: absolute;
    inset: 0;
    border-radius: 24%;
    background: #2a7a05;
    background: color-mix(in srgb, #071c01 calc(var(--i) * 6.5%), #3c9a0a);
    transform: translateZ(calc(var(--i) * -1.7px));
}

.lp-mag-face {
    position: absolute;
    inset: 0;
    border-radius: 24%;
    overflow: hidden;
    transform: translateZ(1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 0 46px rgba(139, 227, 58, .45);
}
.lp-mag-face img { width: 100%; height: 100%; }
.lp-mag-face::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(255, 255, 255, .34), transparent 42%);
}

.lp-mag-shadow {
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -34px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(ellipse closest-side, rgba(0, 0, 0, .62), rgba(0, 0, 0, .25) 55%, transparent);
    animation: lp-shadow 6.5s ease-in-out infinite;
}

@keyframes lp-shadow {
    0%, 100% { transform: scale(1); opacity: .8; }
    50%      { transform: scale(.78); opacity: .5; }
}

.lp-mag-ring {
    position: absolute;
    inset: -10%;
    border-radius: 30%;
    border: 2px solid var(--lime-hi);
    opacity: 0;
    pointer-events: none;
}

.lp-mag.is-hit .lp-mag-ring { animation: lp-hit-ring .8s var(--ease); }
.lp-mag.is-hit .lp-mag-face { animation: lp-hit-face .5s var(--ease); }

@keyframes lp-hit-ring {
    0%   { opacity: .9; transform: scale(.9); }
    100% { opacity: 0; transform: scale(1.7); }
}

@keyframes lp-hit-face {
    0%   { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 0 46px rgba(139, 227, 58, .45); }
    35%  { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 80px rgba(196, 255, 122, .95); }
    100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 0 46px rgba(139, 227, 58, .45); }
}

/*---------- floating glass cards ----------*/

.lp-float {
    position: absolute;
    z-index: 4;
    transform: translate3d(calc(var(--px) * var(--depth, 1) * 26px), calc(var(--py) * var(--depth, 1) * 20px), 0);
    /* Short. At .7s the cards visibly trailed the pointer, which reads as lag however smooth
       each individual frame is. */
    transition: transform .22s ease-out;
}

.lp-float > * { animation: lp-bob 7s ease-in-out infinite; }
.lp-float--opened > * { animation-delay: -2.4s; }
.lp-float--rating > * { animation-delay: -4.6s; }

@keyframes lp-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-9px); }
}

/* Spread to the corners so the globe stays the subject. The third card only appears where the
   column is wide enough for it not to land on top of the feed. */
.lp-float--feed   { left: -2%; bottom: 3%; }
.lp-float--opened { right: -1%; top: 6%; }
.lp-float--rating { right: -4%; bottom: 33%; }

@media (max-width: 1200px) {
    .lp-float--rating { display: none; }
}

/* Opaque glass. These cards float over the globe canvas, which redraws every frame, so a
   backdrop blur here had to be recomputed every frame for all three - the main reason the hero
   could not hold 60fps while sitting still. */
.lp-glass {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .11);
    background: linear-gradient(180deg, rgba(24, 39, 28, .96), rgba(9, 16, 11, .97));
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .07);
}

.lp-chipcard {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 12px;
}
.lp-chipcard b { display: block; font-size: .92rem; font-weight: 650; }
.lp-chipcard small { display: block; color: var(--ink-mute); font-size: .78rem; }

.lp-ico {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    flex: 0 0 auto;
    font-size: 1.05rem;
}
.lp-ico.good { background: rgba(74, 222, 128, .14); color: var(--good); }
.lp-ico.warn { background: rgba(251, 191, 36, .14); color: var(--fair); }
.lp-ico.lime { background: rgba(139, 227, 58, .14); color: var(--lime); }

/* The lead feed: swaps every time an arc lands in the magnet. */
.lp-feed {
    width: 248px;
    padding: 14px 16px 16px;
    transition: border-color .4s, box-shadow .4s;
}
.lp-feed.is-fresh {
    border-color: rgba(139, 227, 58, .55);
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .65), 0 0 0 4px rgba(139, 227, 58, .1), inset 0 1px 0 rgba(255, 255, 255, .07);
}

.lp-feed-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--lime);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.lp-feed-body { transition: opacity .22s, transform .22s var(--ease); }
.lp-feed.is-swapping .lp-feed-body { opacity: 0; transform: translateY(-6px); }

.lp-feed-trade {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 650;
    font-size: .98rem;
}
.lp-feed-trade .bi { color: var(--lime); }

.lp-feed-gap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 9px 0 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(248, 113, 113, .12);
    color: #fca5a5;
    font-size: .8rem;
    font-weight: 600;
}
.lp-feed-gap::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.lp-feed-score {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-mute);
    font-size: .8rem;
}
.lp-feed-meter {
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
}
.lp-feed-meter i {
    display: block;
    height: 100%;
    width: var(--w, 90%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--green), var(--lime-hi));
    transition: width .8s var(--ease);
}
.lp-feed-score b { color: var(--ink); font-size: .95rem; }

/*--------------------------------------------------------------
# Flow strip
--------------------------------------------------------------*/

.lp-flow { padding: 8px 0 0; }

.lp-flow-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0;
    padding: 26px 0 0;
    list-style: none;
}

.lp-flow-track::before,
.lp-flow-track::after {
    content: "";
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 2px;
    border-radius: 2px;
}
.lp-flow-track::before { background: var(--line-strong); }
.lp-flow-track::after {
    background: linear-gradient(90deg, transparent, var(--lime), transparent);
    background-size: 40% 100%;
    background-repeat: no-repeat;
    animation: lp-flow-run 5s linear infinite;
}

@keyframes lp-flow-run {
    from { background-position: -40% 0; }
    to   { background-position: 140% 0; }
}

.lp-flow-track li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    z-index: 1;
}

.lp-flow-ico {
    position: relative;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    border-radius: 16px;
    border: 1px solid var(--line-strong);
    background: #08110b;
    color: var(--ink-soft);
    font-size: 1.25rem;
}

/* The lit state is a layer that fades in and out, so only opacity animates. Animating the
   border, colour and glow themselves meant a repaint of each icon on every frame. */
.lp-flow-ico::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    border: 1px solid rgba(139, 227, 58, .65);
    box-shadow: 0 0 26px rgba(139, 227, 58, .35), inset 0 0 14px rgba(139, 227, 58, .18);
    opacity: 0;
    animation: lp-flow-light 5s ease-in-out infinite;
    animation-delay: calc(var(--n) * 1s);
}

@keyframes lp-flow-light {
    0%, 30%, 100% { opacity: 0; }
    10%, 18%      { opacity: 1; }
}

.lp-flow-track b { font-size: .98rem; font-weight: 650; }
.lp-flow-track small { color: var(--ink-mute); font-size: .82rem; }

/*--------------------------------------------------------------
# Bento grid
--------------------------------------------------------------*/

.lp-bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
        "a a b"
        "c d d"
        "c e f"
        "g g g";
    gap: 18px;
}

.lp-cell { display: flex; min-width: 0; }
.lp-cell > .lp-tile { flex: 1; }
.lp-cell.a { grid-area: a; }
.lp-cell.b { grid-area: b; }
.lp-cell.c { grid-area: c; }
.lp-cell.d { grid-area: d; }
.lp-cell.e { grid-area: e; }
.lp-cell.f { grid-area: f; }
.lp-cell.g { grid-area: g; }

.lp-tile {
    --rx: 0deg;
    --ry: 0deg;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 0;
    padding: 28px;
    border-radius: 26px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(20, 33, 24, .78), rgba(8, 14, 10, .9));
    overflow: hidden;
    isolation: isolate;
    transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
    /* Short enough to feel attached to the pointer; at .4s the tile trailed behind it. */
    transition: transform .15s ease-out, border-color .3s;
}

/* A soft light that follows the pointer across the tile. A fixed glow moved with transform,
   so following the pointer is a move the GPU does, not a repaint of the whole tile on every
   mousemove - which is what positioning the gradient itself cost. */
.lp-tile::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 560px;
    height: 560px;
    margin: -280px 0 0 -280px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(139, 227, 58, .12), transparent);
    transform: translate3d(var(--mx, 50%), var(--my, 0px), 0);
    opacity: 0;
    transition: opacity .35s;
    pointer-events: none;
}
.lp-tile:hover::before { opacity: 1; will-change: transform; }
.lp-tile:hover { border-color: rgba(139, 227, 58, .24); }

.lp-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    color: var(--lime);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.lp-tile-copy h3 {
    margin: 0;
    font-size: clamp(1.25rem, 1.05rem + .55vw, 1.55rem);
    font-weight: 750;
    line-height: 1.18;
    letter-spacing: -.025em;
}

.lp-tile-copy p {
    margin: 10px 0 0;
    color: var(--ink-mute);
    font-size: .97rem;
    line-height: 1.6;
}

.lp-art { position: relative; flex: 1; min-height: 0; }

/*---------- A: discover ----------*/

.lp-cell.a .lp-tile { flex-direction: row; align-items: stretch; }
.lp-cell.a .lp-tile-copy { flex: 0 0 34%; }

.lp-map {
    position: relative;
    flex: 1;
    min-height: 290px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #07130c;
    overflow: hidden;
}

.lp-map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.lp-search {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(9, 18, 12, .95);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
    font-size: .92rem;
    font-weight: 500;
}
.lp-search .bi { color: var(--lime); }

.lp-caret {
    width: 2px;
    height: 18px;
    margin-left: -6px;
    background: var(--lime);
    animation: lp-blink 1s steps(1) infinite;
}

@keyframes lp-blink { 50% { opacity: 0; } }

.lp-chips {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.lp-chips span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(9, 18, 12, .86);
    color: var(--ink-mute);
    font-size: .78rem;
    font-weight: 600;
}
.lp-chips span.on {
    border-color: rgba(139, 227, 58, .5);
    background: rgba(139, 227, 58, .13);
    color: var(--lime-hi);
}

/* Pins, the tip, the chat, the opens list and the rings all default to their finished state,
   and are only held back once landing.js has run (.lp-ready). With scripts off the
   illustrations are complete rather than empty. */
.lp-pin {
    transform-box: fill-box;
    transform-origin: 50% 100%;
}
.lp-ready .lp-map:not(.is-dropping) .lp-pin { opacity: 0; }
.lp-map.is-dropping .lp-pin {
    opacity: 0;
    animation: lp-pin-drop .7s cubic-bezier(.3, 1.6, .5, 1) forwards;
    animation-delay: calc(var(--n) * .14s + .1s);
}

@keyframes lp-pin-drop {
    0%   { opacity: 0; transform: translateY(-34px) scale(.6); }
    60%  { opacity: 1; }
    100% { opacity: 1; transform: none; }
}

.lp-pin-halo {
    transform-box: fill-box;
    transform-origin: center;
    animation: lp-halo 2.4s ease-out infinite;
}

@keyframes lp-halo {
    0%   { transform: scale(.4); opacity: .8; }
    100% { transform: scale(2.4); opacity: 0; }
}

/* Anchored to the centre pin: the map uses "slice", which keeps the viewBox centre at the
   container centre whatever its shape. "translate" places it; "transform" animates it, so the
   two never fight over one property. */
.lp-map-tip {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    translate: 14px calc(-100% - 30px);
    padding: 8px 12px;
    border-radius: 11px;
    border: 1px solid rgba(139, 227, 58, .4);
    background: rgba(9, 18, 12, .92);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
    font-size: .76rem;
    white-space: nowrap;
}
.lp-map-tip b { display: block; color: var(--lime-hi); font-size: .8rem; }
.lp-ready .lp-map:not(.is-dropping) .lp-map-tip { opacity: 0; }
.lp-map.is-dropping .lp-map-tip {
    opacity: 0;
    transform: translateY(6px);
    animation: lp-tip .5s var(--ease) 1.1s forwards;
}

@keyframes lp-tip { to { opacity: 1; transform: none; } }

/*---------- B: website audit scores ----------*/

.lp-rings {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: auto;
}

.lp-ring {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}
.lp-ring svg { width: 100%; max-width: 72px; transform: rotate(-90deg); }
.lp-ring circle { fill: none; stroke-width: 6; }
.lp-ring .bg { stroke: rgba(255, 255, 255, .07); }
.lp-ring .fg {
    stroke-linecap: round;
    stroke-dasharray: 163.36px;
    stroke-dashoffset: calc(163.36px * (1 - var(--v) / 100));
    transition: stroke-dashoffset 1.6s var(--ease);
}
.lp-ready .lp-cell:not(.in) .lp-ring .fg { stroke-dashoffset: 163.36px; }
.lp-ring[data-tone="poor"] .fg { stroke: var(--poor); }
.lp-ring[data-tone="fair"] .fg { stroke: var(--fair); }
.lp-ring[data-tone="good"] .fg { stroke: var(--good); }

.lp-ring b {
    position: absolute;
    top: 0;
    left: 50%;
    width: 72px;
    max-width: 100%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    transform: translateX(-50%);
    font-size: 1.05rem;
    font-weight: 750;
}
.lp-ring small { color: var(--ink-mute); font-size: .74rem; }

.lp-overall {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.lp-overall b {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--poor);
}
.lp-overall span { color: var(--ink-mute); font-size: .9rem; }

/*---------- C: the shareable audit on a phone ----------*/

/* The phone tile spans two rows, so it is tall: the phone sits in the middle of the space under
   the copy rather than pinned to the bottom with a void above it. */

.lp-phone-stage {
    position: relative;
    flex: 1;
    display: grid;
    place-items: center;
    min-height: 540px;
    perspective: 1100px;
}

.lp-phone-stage::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 18%;
    height: 50%;
    border-radius: 50%;
    background: radial-gradient(ellipse closest-side, rgba(139, 227, 58, .2), rgba(139, 227, 58, .07) 55%, transparent);
}

.lp-phone {
    position: relative;
    width: 248px;
    height: 496px;
    border-radius: 38px;
    padding: 9px;
    background: linear-gradient(145deg, #2a312d, #0b0f0c 40%, #181d1a);
    box-shadow:
        inset 0 0 0 1.5px rgba(255, 255, 255, .14),
        0 50px 80px -20px rgba(0, 0, 0, .85),
        0 0 0 1px rgba(0, 0, 0, .6);
    transform-style: preserve-3d;
    transform:
        rotateY(calc(-18deg + var(--ry) * 2.2))
        rotateX(calc(10deg + var(--rx) * 2.2))
        rotateZ(3deg);
    transition: transform .18s ease-out;
}

.lp-phone-notch {
    position: absolute;
    top: 17px;
    left: 50%;
    width: 72px;
    height: 20px;
    border-radius: 12px;
    background: #050706;
    transform: translateX(-50%);
    z-index: 3;
}

.lp-phone-screen {
    position: relative;
    height: 100%;
    border-radius: 30px;
    background: #f8fafc;
    overflow: hidden;
}

.lp-phone-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, .22), transparent 30%);
    pointer-events: none;
}

.lp-audit-scroll { animation: lp-au-scroll 26s linear infinite; }

@keyframes lp-au-scroll {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}

.lp-au {
    padding: 46px 12px 14px;
    color: #0f172a;
    font-size: 9.5px;
    line-height: 1.45;
}
.lp-au-eyebrow { color: #64748b; font-size: 7.5px; letter-spacing: .1em; text-transform: uppercase; }
.lp-au-title { margin-top: 2px; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.lp-au-sub { margin-bottom: 10px; color: #64748b; font-size: 8px; }

.lp-au-card {
    margin-bottom: 7px;
    padding: 9px 10px;
    border-radius: 9px;
    border: 1px solid #e2e8f0;
    background: #fff;
}
.lp-au-h { margin-bottom: 4px; font-size: 9.5px; font-weight: 750; }
.lp-au-card p { margin: 0; color: #334155; }

.lp-au-score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; }
.lp-au-score .big { color: #dc2626; font-size: 24px; font-weight: 800; line-height: 1; }
.lp-au-score span { color: #64748b; font-size: 8px; }
.lp-au-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; width: 100%; margin-top: 6px; }
.lp-au-bars i { height: 4px; border-radius: 4px; background: #e2e8f0; position: relative; overflow: hidden; }
.lp-au-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; }
.lp-au-bars i.poor::after { background: #dc2626; }
.lp-au-bars i.fair::after { background: #d97706; }
.lp-au-bars i.good::after { background: #16a34a; }

.lp-au ul, .lp-au ol { margin: 0; padding: 0; list-style: none; }
.lp-au li + li { margin-top: 4px; }
.lp-au .ticks li::before { content: "\2713"; margin-right: 5px; color: #16a34a; font-weight: 800; }
.lp-au .gaps b { display: block; font-weight: 700; }
.lp-au .gaps span { color: #64748b; }
.lp-au ol { counter-reset: au; }
.lp-au ol li { counter-increment: au; display: flex; gap: 6px; }
.lp-au ol li::before {
    content: counter(au);
    display: grid;
    place-items: center;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    flex: 0 0 auto;
    background: #f1f5f9;
    color: #64748b;
    font-size: 7px;
    font-weight: 800;
}
.lp-au-cta {
    margin: 10px 0 18px;
    padding: 10px;
    border-radius: 9px;
    background: #0f172a;
    color: #fff;
    text-align: center;
    font-weight: 700;
}

/*---------- D: AI reads the business ----------*/

.lp-cell.d .lp-tile { flex-direction: row; align-items: center; }
.lp-cell.d .lp-tile-copy { flex: 0 0 38%; }

.lp-ai {
    flex: 1;
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background:
        radial-gradient(120% 100% at 100% 0%, rgba(139, 227, 58, .1), transparent 55%),
        rgba(5, 11, 7, .7);
}

.lp-ai-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    color: var(--ink-mute);
    font-size: .76rem;
    font-weight: 600;
}
.lp-ai-top .bi { color: var(--lime); }

.lp-ai-row {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
    min-height: 2.9em;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
}
.lp-ai-row .k {
    color: var(--lime);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.lp-ai-row .v { font-size: .93rem; }
.lp-ai-row .v.is-typing::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 2px;
    vertical-align: -2px;
    background: var(--lime);
    animation: lp-blink 1s steps(1) infinite;
}

/*---------- E: WhatsApp draft ----------*/

.lp-chat {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 300px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at 20% 10%, rgba(139, 227, 58, .05), transparent 40%),
        #0a1410;
}

.lp-chat-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 2px;
    border-bottom: 1px solid var(--line);
    font-size: .88rem;
}
.lp-chat-head .av {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a, #0ea5e9);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
}
.lp-chat-head small { display: block; color: var(--ink-mute); font-size: .72rem; }

.lp-msg {
    max-width: 88%;
    padding: 8px 11px;
    border-radius: 12px;
    font-size: .82rem;
    line-height: 1.45;
    transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.lp-msg.out {
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    background: #134d37;
    color: #e9fdf3;
}
.lp-msg.in {
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    background: #1d2924;
    color: var(--ink);
}
.lp-msg b { color: #fff; }

.lp-linkcard {
    display: flex;
    gap: 9px;
    align-items: center;
    margin-top: 7px;
    padding: 8px 9px;
    border-radius: 9px;
    background: rgba(0, 0, 0, .22);
}
.lp-linkcard .bi { font-size: 1.15rem; color: var(--lime-hi); }
.lp-linkcard b { display: block; font-size: .78rem; }
.lp-linkcard small { color: rgba(233, 253, 243, .6); font-size: .7rem; }

.lp-sys {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(139, 227, 58, .14);
    color: var(--lime-hi);
    font-size: .74rem;
    font-weight: 650;
    transition: opacity .45s var(--ease), transform .45s var(--ease);
}

/* The conversation plays out one message at a time once landing.js is driving it. */
.lp-ready .lp-chat [data-step]:not(.is-shown) { opacity: 0; transform: translateY(10px) scale(.96); }

/*---------- F: real opens only ----------*/

.lp-opens {
    position: relative;
    display: grid;
    gap: 8px;
    margin: auto 0 0;
    padding: 0;
    list-style: none;
}

.lp-opens li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .025);
    font-size: .86rem;
    transition: opacity .5s var(--ease), transform .5s var(--ease);
    transition-delay: calc(var(--n) * .16s + .2s);
}
.lp-ready .lp-cell:not(.in) .lp-opens li { opacity: 0; transform: translateX(-10px); }

.lp-opens li > .bi {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .05);
    color: var(--ink-mute);
}
.lp-opens em {
    font-style: normal;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.lp-opens li.yes {
    border-color: rgba(74, 222, 128, .35);
    background: rgba(74, 222, 128, .07);
}
.lp-opens li.yes > .bi { background: rgba(74, 222, 128, .15); color: var(--good); }
.lp-opens li.yes em { color: var(--good); }
.lp-opens li.no span { color: var(--ink-mute); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .25); }
.lp-opens li.no em { color: var(--ink-faint); }

/*---------- G: proposal to paid ----------*/

.lp-cell.g .lp-tile { flex-direction: row; align-items: center; gap: 40px; }
.lp-cell.g .lp-tile-copy { flex: 0 0 32%; }

.lp-chain {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
}

.lp-doc {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 20px 18px;
    border-radius: 18px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
    animation: lp-doc-lift 6s ease-in-out infinite;
    animation-delay: calc(var(--n) * 1.4s);
}

/* The document lifts with transform and its glow is a layer that only changes opacity: both
   are compositor work. Animating the border and shadow repainted the card every frame. */
.lp-doc::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    border: 1px solid rgba(139, 227, 58, .55);
    box-shadow: 0 0 34px rgba(139, 227, 58, .2);
    opacity: 0;
    pointer-events: none;
    animation: lp-doc-glow 6s ease-in-out infinite;
    animation-delay: inherit;
}

@keyframes lp-doc-lift {
    0%, 40%, 100% { transform: none; }
    10%, 26%      { transform: translateY(-4px); }
}

@keyframes lp-doc-glow {
    0%, 40%, 100% { opacity: 0; }
    10%, 26%      { opacity: 1; }
}

.lp-doc > .bi { font-size: 1.5rem; color: var(--lime); margin-bottom: 6px; }
.lp-doc b { font-size: 1rem; }
.lp-doc small { color: var(--ink-mute); font-size: .8rem; }

.lp-link {
    position: relative;
    flex: 0 0 44px;
    height: 2px;
    background: var(--line-strong);
    overflow: hidden;
}
.lp-link i {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, var(--lime), transparent);
    animation: lp-link-run 2.8s linear infinite;
}

@keyframes lp-link-run {
    from { transform: translateX(-100%); }
    to   { transform: translateX(100%); }
}

.lp-stamp {
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 3px 10px;
    border: 2px solid var(--good);
    border-radius: 8px;
    color: var(--good);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    transform: rotate(-12deg);
    opacity: 0;
    animation: lp-stamp 6s var(--ease) infinite;
    animation-delay: 3.2s;
}

@keyframes lp-stamp {
    0%, 4%    { opacity: 0; transform: rotate(-12deg) scale(2.2); }
    10%, 70%  { opacity: 1; transform: rotate(-12deg) scale(1); }
    80%, 100% { opacity: 0; transform: rotate(-12deg) scale(1); }
}

/*--------------------------------------------------------------
# Also inside
--------------------------------------------------------------*/

.lp-also ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}
.lp-also li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .025);
    color: var(--ink-soft);
    font-size: .9rem;
}
.lp-also .bi { color: var(--lime); }

/*--------------------------------------------------------------
# How it works
--------------------------------------------------------------*/

.lp-steps {
    --p: 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ::before is the track, ::after the fill; landing.js sets --p from the scroll position. */
.lp-steps::before,
.lp-steps::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 37px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    border-radius: 2px;
    background: var(--line-strong);
}
.lp-steps::after {
    background: linear-gradient(90deg, var(--green), var(--lime-hi));
    transform: scaleX(var(--p));
    transform-origin: left center;
    box-shadow: 0 0 18px rgba(139, 227, 58, .6);
}

/* Explicitly above the line. Each step is a reveal target, and the reveal's transition makes it
   a stacking context, which traps the icon's own z-index inside it; without this the line
   painted straight across the icons. */
.lp-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 6px;
}

.lp-step-ico {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 22px;
    border-radius: 24px;
    border: 1px solid var(--line-strong);
    background: #08110b;
    color: var(--ink-mute);
    font-size: 1.6rem;
    transition: color .5s, border-color .5s, box-shadow .5s, transform .5s var(--ease);
}
.lp-step.is-lit .lp-step-ico {
    color: var(--lime-hi);
    border-color: rgba(139, 227, 58, .6);
    box-shadow: 0 0 0 6px rgba(139, 227, 58, .08), 0 0 40px rgba(139, 227, 58, .3);
    transform: translateY(-4px);
}

.lp-step-n {
    margin-bottom: 8px;
    color: var(--lime);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.lp-step h3 { margin: 0; font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; }
.lp-step p { margin: 10px 0 0; color: var(--ink-mute); font-size: .94rem; }

/*--------------------------------------------------------------
# Trades marquee
--------------------------------------------------------------*/

.lp-trades { padding: clamp(40px, 5vw, 70px) 0 clamp(20px, 3vw, 40px); }

/* Clipped here, not left to body's overflow-x. The rows are max-content wide - about 4,700px -
   and mobile Chrome does not let body overflow-x stop that: it widened the layout viewport to
   fit and zoomed the whole page out to a fraction of its size on a phone. */
.lp-marquee {
    overflow: hidden;
    display: grid;
    gap: 14px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.lp-marquee-row {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: lp-marquee 48s linear infinite;
}
.lp-marquee-row.rev { animation-direction: reverse; animation-duration: 56s; }
.lp-marquee:hover .lp-marquee-row { animation-play-state: paused; }

@keyframes lp-marquee { to { transform: translateX(-50%); } }

.lp-trade {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px 14px 14px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(20, 33, 24, .7), rgba(8, 14, 10, .8));
    white-space: nowrap;
}
.lp-trade .bi {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(139, 227, 58, .1);
    color: var(--lime);
    font-size: 1.1rem;
}
.lp-trade b { display: block; font-size: .95rem; }
.lp-trade small { display: block; color: var(--ink-mute); font-size: .8rem; }

/*--------------------------------------------------------------
# Principles
--------------------------------------------------------------*/

.lp-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.lp-principle {
    position: relative;
    padding: 30px;
    border-radius: 26px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(20, 33, 24, .7), rgba(8, 14, 10, .85));
    overflow: hidden;
}
.lp-principle::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 227, 58, .14), transparent 70%);
}

.lp-principle .lp-ico {
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 16px;
    font-size: 1.35rem;
}
.lp-principle h3 { margin: 0; font-size: 1.22rem; font-weight: 700; letter-spacing: -.02em; }
.lp-principle p { margin: 10px 0 0; color: var(--ink-mute); }

/*--------------------------------------------------------------
# Closing call to action
--------------------------------------------------------------*/

.lp-cta-card {
    position: relative;
    padding: clamp(56px, 8vw, 96px) 24px;
    border-radius: 34px;
    border: 1px solid rgba(139, 227, 58, .22);
    background:
        radial-gradient(70% 90% at 50% 0%, rgba(139, 227, 58, .2), transparent 60%),
        radial-gradient(60% 80% at 100% 100%, rgba(34, 197, 94, .14), transparent 60%),
        linear-gradient(180deg, #0b1a10, #050b07);
    text-align: center;
    overflow: hidden;
}

.lp-cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(139, 227, 58, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 227, 58, .07) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
    mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
    pointer-events: none;
}

.lp-cta-card > * { position: relative; }

.lp-cta-card .lp-mag {
    position: relative;
    left: auto;
    top: auto;
    width: 112px;
    height: 112px;
    margin: 0 auto 40px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

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

.lp-footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 30px;
}
.lp-footer p { margin: 0; color: var(--ink-mute); font-size: .92rem; }
.lp-footer p a { color: var(--ink-soft); }

.lp-footer nav { display: flex; gap: 22px; margin-left: auto; }
.lp-footer nav a { color: var(--ink-mute); font-size: .92rem; text-decoration: none; }
.lp-footer nav a:hover { color: var(--ink); }
.lp-footer small { width: 100%; color: var(--ink-faint); font-size: .84rem; }

/*--------------------------------------------------------------
# Scroll reveal. Hidden only once landing.js has run, so the page
# still reads in full when scripts are off.
--------------------------------------------------------------*/

/* Opacity and a slide only. A blur here meant animating a filter across whole tiles, which is
   exactly what stutters on the inexpensive phones this page will mostly be opened on. Quick and
   early, too: .6s from a short distance, started as the element enters the bottom of the screen
   (see reveal() in landing.js). At .9s, and waiting until a seventh of a tile was showing,
   content kept arriving after you had scrolled to it - another way for a page to feel slow. */
.lp-ready [data-reveal] {
    opacity: 0;
    translate: 0 16px;
    transition:
        opacity .6s var(--ease) var(--d, 0s),
        translate .6s var(--ease) var(--d, 0s);
}
.lp-ready [data-reveal].in {
    opacity: 1;
    translate: none;
}

/* Nothing animates where nobody can see it. landing.js marks each section off screen as it
   leaves the viewport; the marquee, the documents, the flow strip and the rest stop there, and
   carry on from where they were when the section comes back. */
.lp-offscreen *,
.lp-offscreen *::before,
.lp-offscreen *::after {
    animation-play-state: paused !important;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media (max-width: 1080px) {
    .lp-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "a a"
            "b d"
            "c e"
            "c f"
            "g g";
    }
    .lp-cell.d .lp-tile { flex-direction: column; align-items: stretch; }
    .lp-cell.d .lp-tile-copy { flex: none; }
}

@media (max-width: 980px) {
    .lp-hero-grid { grid-template-columns: 1fr; }
    .lp-hero-copy { text-align: center; }
    .lp-hero-copy .lp-lead { margin-left: auto; margin-right: auto; }
    .lp-hero-copy .lp-actions, .lp-hero-copy .lp-note { justify-content: center; }
    .lp-hero-visual { height: clamp(420px, 82vw, 560px); max-width: 640px; margin: 10px auto 0; width: 100%; }
    .lp-links { display: none; }
    .lp-nav .lp-btn { margin-left: auto; }
    .lp-cell.a .lp-tile, .lp-cell.g .lp-tile { flex-direction: column; align-items: stretch; }
    .lp-cell.a .lp-tile-copy, .lp-cell.g .lp-tile-copy { flex: none; }
    .lp-principles { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 760px) {
    .lp-flow-track { grid-template-columns: repeat(5, minmax(112px, 1fr)); overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
    .lp-flow-track::-webkit-scrollbar { display: none; }
    /* The line turns vertical and runs down through the icons' centres. */
    .lp-steps { grid-template-columns: 1fr; gap: 36px; max-width: 460px; margin: 0 auto; }
    .lp-steps::before, .lp-steps::after { top: 10px; bottom: 10px; left: 37px; right: auto; width: 2px; height: auto; }
    .lp-steps::after { transform: scaleY(var(--p)); transform-origin: center top; }
    .lp-step {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        column-gap: 20px;
        align-items: start;
        text-align: left;
        padding: 0;
    }
    .lp-step-ico { grid-row: 1 / span 3; margin-bottom: 0; }
    .lp-step-n { margin: 8px 0 4px; }
    .lp-chain { flex-direction: column; align-items: stretch; }
    .lp-link { flex: 0 0 26px; width: 2px; height: 26px; margin: 0 auto; }
    .lp-link i { animation-name: lp-link-run-v; }
    .lp-footer nav { margin-left: 0; }
}

@keyframes lp-link-run-v {
    from { transform: translateY(-100%); }
    to   { transform: translateY(100%); }
}

@media (max-width: 640px) {
    .lp-bento { grid-template-columns: 1fr; grid-template-areas: "a" "b" "d" "c" "e" "f" "g"; }
    .lp-tile { padding: 22px; border-radius: 22px; }
    .lp-hero-visual { height: 430px; }
    .lp-float--rating { display: none; }
    .lp-float--opened { top: 2%; right: -2%; transform: scale(.9); }
    .lp-feed { width: 228px; }
    .lp-mag { width: 78px; height: 78px; left: 2%; top: 3%; }
    .lp-ai-row { grid-template-columns: 1fr; gap: 4px; }
    .lp-rings { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
    .lp-btn { width: 100%; }
    .lp-nav .lp-btn { width: auto; }
}

/*--------------------------------------------------------------
# Reduced motion: every moving part settles into its finished state.
--------------------------------------------------------------*/

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .lp-ready [data-reveal] { opacity: 1; translate: none; }
    .lp-pin, .lp-map-tip, .lp-msg, .lp-sys, .lp-opens li { opacity: 1 !important; transform: none !important; }
    .lp-stamp { opacity: 1; transform: rotate(-12deg); }
    .lp-audit-scroll { transform: none; }
}
