/* ==========================================================================
   ObScreener - landing 2.0
   Standalone stylesheet. Landing 1.0 keeps using CSS/landing.css untouched.
   ========================================================================== */

:root {
    --void: #05070c;
    --bg: #070a11;
    --panel: #0b0f18;
    --panel-2: #10161f;
    --panel-3: #151d2a;

    --line: rgba(255, 255, 255, 0.075);
    --line-2: rgba(255, 255, 255, 0.14);
    --line-3: rgba(255, 255, 255, 0.22);

    --tx: #eaeefa;
    --tx-2: #97a2ba;
    --tx-3: #66718a;

    --cy: #22d3ee;
    --mint: #2ee6a8;
    --amber: #ffb648;
    --red: #ff5f6d;
    --violet: #8b6cff;

    --grad: linear-gradient(135deg, #22d3ee 0%, #2ee6a8 100%);

    --f-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --f-dis: 'Inter Tight', 'Inter', -apple-system, sans-serif;
    --f-ser: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --f-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, Consolas, monospace;

    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 18px;
    --r-xl: 26px;

    --wrap: 1320px;
    --pad: clamp(20px, 5vw, 48px);
    /* Sections size their border box to --wrap (padding included). Containers
       that sit inside an already-padded parent use this instead, so every
       content column lines up on the same left edge. */
    --col: calc(var(--wrap) - var(--pad) * 2);
    --sec: clamp(78px, 10vw, 148px);
    --head-h: 66px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--head-h) + 18px);
    -webkit-text-size-adjust: 100%;
}

html, body.l2 {
    min-height: 100%;
    background: var(--void);
    color: var(--tx);
    font-family: var(--f-ui);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Only on the root: `overflow-x` on <body> would make it a scroll container
   and silently break every position:sticky on the page (header, docs nav). */
html { overflow-x: hidden; }

body.l2 {
    background:
        radial-gradient(1100px 620px at 8% -6%, rgba(34, 211, 238, 0.10), transparent 58%),
        radial-gradient(900px 560px at 96% 4%, rgba(139, 108, 255, 0.09), transparent 52%),
        var(--void);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }
[hidden] { display: none !important; }

::selection { background: rgba(34, 211, 238, 0.3); color: #fff; }

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

/* ---------- atmosphere ---------- */

.l2-grain {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 60;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.l2-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 70;
    background: transparent;
    pointer-events: none;
}

.l2-progress i {
    display: block;
    height: 100%;
    width: 0;
    background: var(--grad);
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.55);
    transition: width 0.12s linear;
}

.l2-skip {
    position: fixed;
    top: -60px;
    left: 16px;
    z-index: 90;
    padding: 10px 16px;
    border-radius: var(--r-sm);
    background: var(--panel-2);
    border: 1px solid var(--line-2);
    transition: top 0.2s;
}
.l2-skip:focus { top: 12px; }

/* ---------- header ---------- */

.l2-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 22px;
    height: var(--head-h);
    padding: 0 var(--pad);
    background: rgba(5, 7, 12, 0.5);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.l2-header.is-scrolled {
    background: rgba(5, 7, 12, 0.86);
    border-bottom-color: var(--line);
}

.l2-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--f-dis);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.l2-brand-mark {
    display: inline-flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 18px;
}

.l2-brand-mark i {
    display: block;
    width: 3.5px;
    border-radius: 2px;
    background: var(--grad);
}
.l2-brand-mark i:nth-child(1) { height: 9px; opacity: 0.55; }
.l2-brand-mark i:nth-child(2) { height: 18px; }
.l2-brand-mark i:nth-child(3) { height: 13px; opacity: 0.75; }

.l2-brand:hover .l2-brand-mark i:nth-child(1) { height: 14px; }
.l2-brand:hover .l2-brand-mark i:nth-child(3) { height: 17px; }
.l2-brand-mark i { transition: height 0.3s var(--ease); }

.l2-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 10px;
    margin-right: auto;
}

.l2-nav a {
    position: relative;
    padding: 7px 12px;
    border-radius: 7px;
    font-size: 13.5px;
    color: var(--tx-2);
    transition: color 0.2s, background 0.2s;
}
.l2-nav a:hover { color: var(--tx); background: rgba(255, 255, 255, 0.05); }

.l2-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.l2-ghost-link {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--tx-2);
    transition: color 0.2s, background 0.2s;
}
.l2-ghost-link:hover { color: var(--tx); background: rgba(255, 255, 255, 0.05); }

.l2-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 170px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, 0.03);
    font-size: 13px;
    font-family: var(--f-mono);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: border-color 0.2s, background 0.2s;
}
.l2-user-chip:hover { border-color: var(--line-3); background: rgba(255, 255, 255, 0.06); }

/* language menu */

.l2-lang { position: relative; }

.l2-lang-btn {
    min-width: 44px;
    padding: 7px 10px;
    border-radius: 8px;
    border: 1px solid var(--line);
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--tx-2);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.l2-lang-btn:hover { color: var(--tx); border-color: var(--line-2); background: rgba(255, 255, 255, 0.04); }

.l2-lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 60;
    min-width: 194px;
    padding: 8px;
    border-radius: var(--r-md);
    border: 1px solid var(--line-2);
    background: rgba(12, 16, 24, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.6);
    animation: l2-pop 0.22s var(--ease) both;
}

@keyframes l2-pop {
    from { opacity: 0; transform: translateY(-8px) scale(0.97); }
    to { opacity: 1; transform: none; }
}

.land-lang-kicker,
.l2-lang-dropdown .land-lang-kicker {
    padding: 6px 10px 8px;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--tx-3);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--tx-2);
    text-align: left;
    transition: background 0.18s, color 0.18s;
}
.lang-option:hover { background: rgba(255, 255, 255, 0.06); color: var(--tx); }
.lang-option.is-active { color: var(--tx); background: rgba(34, 211, 238, 0.1); }

.lang-option-code {
    min-width: 26px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--cy);
}

/* burger + mobile nav */

.l2-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 0 9px;
    border-radius: 9px;
    border: 1px solid var(--line);
}
.l2-burger i {
    display: block;
    height: 1.5px;
    background: var(--tx);
    border-radius: 2px;
    transition: transform 0.28s var(--ease), opacity 0.2s;
}
.l2-burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.l2-burger[aria-expanded="true"] i:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

.l2-mobile-nav {
    position: sticky;
    top: var(--head-h);
    z-index: 45;
    display: grid;
    padding: 10px var(--pad) 18px;
    background: rgba(5, 7, 12, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    animation: l2-pop 0.24s var(--ease) both;
}
.l2-mobile-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    font-family: var(--f-dis);
    font-size: 17px;
    color: var(--tx-2);
}
.l2-mobile-nav a:last-child { border-bottom: 0; }

/* ---------- buttons ---------- */

.land-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-family: var(--f-ui);
    font-size: 14.5px;
    font-weight: 550;
    letter-spacing: -0.01em;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
                background 0.25s, border-color 0.25s, color 0.25s;
}
.land-btn:active { transform: translateY(1px); }

.land-btn-primary {
    color: #04121a;
    background: var(--grad);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset,
                0 10px 30px -12px rgba(34, 211, 238, 0.75);
    font-weight: 600;
}
.land-btn-primary:hover {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset,
                0 16px 44px -14px rgba(34, 211, 238, 0.95);
    transform: translateY(-1.5px);
}

.land-btn-ghost {
    color: var(--tx);
    border-color: var(--line-2);
    background: rgba(255, 255, 255, 0.025);
}
.land-btn-ghost:hover {
    border-color: var(--line-3);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1.5px);
}

.land-btn-danger {
    color: #fff;
    background: linear-gradient(135deg, #ff5f6d, #e0343f);
    box-shadow: 0 10px 28px -14px rgba(255, 95, 109, 0.9);
}

.land-btn-block { display: flex; width: 100%; }

.land-btn.is-disabled { opacity: 0.55; }

.l2-btn-lg { padding: 15px 28px; font-size: 15.5px; border-radius: 12px; }
.l2-btn-sm { padding: 8px 15px; font-size: 13.5px; border-radius: 9px; }

.land-text-btn {
    align-self: center;
    padding: 4px 2px;
    font-size: 13.5px;
    color: var(--tx-3);
    transition: color 0.2s;
}
.land-text-btn:hover { color: var(--cy); }

.land-text-danger {
    padding: 4px 2px;
    font-size: 13.5px;
    color: var(--tx-3);
    transition: color 0.2s;
}
.land-text-danger:hover { color: var(--red); }

/* ---------- shared typography ---------- */

.l2-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.19em;
    text-transform: uppercase;
    color: var(--cy);
}
.l2-kicker::before {
    content: "";
    width: 22px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cy));
}

.l2-h1 {
    font-family: var(--f-dis);
    font-weight: 700;
    font-size: clamp(2.65rem, 6.1vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -0.043em;
}

.l2-h2 {
    font-family: var(--f-dis);
    font-weight: 700;
    font-size: clamp(1.95rem, 3.9vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.l2-h3 {
    font-family: var(--f-dis);
    font-weight: 650;
    font-size: clamp(1.6rem, 2.9vw, 2.35rem);
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.l2-h1 em, .l2-h2 em, .l2-h3 em {
    font-family: var(--f-ser);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.015em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.l2-lead {
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    line-height: 1.62;
    color: var(--tx-2);
}
.l2-lead-wide { max-width: 62ch; }

.l2-section {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: var(--sec) var(--pad);
}

.l2-head {
    display: grid;
    gap: 18px;
    justify-items: start;
    max-width: 860px;
    margin-bottom: clamp(40px, 5vw, 68px);
}

/* ---------- hero ---------- */

.l2-hero {
    position: relative;
    padding: clamp(56px, 8vw, 104px) var(--pad) clamp(88px, 9vw, 128px);
    overflow: hidden;
}

.l2-hero-glow {
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 120%;
    pointer-events: none;
    background:
        radial-gradient(46% 42% at 22% 28%, rgba(34, 211, 238, 0.17), transparent 68%),
        radial-gradient(40% 40% at 78% 22%, rgba(139, 108, 255, 0.15), transparent 66%),
        radial-gradient(38% 38% at 62% 74%, rgba(46, 230, 168, 0.09), transparent 64%);
    filter: blur(12px);
    transform: translate3d(var(--hero-mx, 0px), calc(var(--hero-y, 0px) + var(--hero-my, 0px)), 0);
    will-change: transform;
}

.l2-hero-rules {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.5;
}
.l2-hero-rules i {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.l2-hero-rules i:nth-child(1) { top: 14%; }
.l2-hero-rules i:nth-child(2) { top: 32%; }
.l2-hero-rules i:nth-child(3) { top: 50%; }
.l2-hero-rules i:nth-child(4) { top: 68%; }
.l2-hero-rules i:nth-child(5) { top: 86%; }

.l2-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
    max-width: var(--col);
    margin: 0 auto;
}

.l2-hero-copy { display: grid; gap: 24px; justify-items: start; }

.l2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 15px 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, 0.03);
    font-family: var(--f-mono);
    font-size: 11.5px;
    letter-spacing: 0.05em;
    color: var(--tx-2);
}

.l2-pulse {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 0 rgba(46, 230, 168, 0.6);
    animation: l2-pulse 2.4s ease-out infinite;
}
@keyframes l2-pulse {
    0% { box-shadow: 0 0 0 0 rgba(46, 230, 168, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(46, 230, 168, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 230, 168, 0); }
}

.l2-hero-copy .l2-lead { max-width: 54ch; }

.l2-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.l2-hero-note {
    font-size: 13.5px;
    color: var(--tx-3);
}

.l2-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 3vw, 40px);
    margin-top: 10px;
    padding-top: 26px;
    width: 100%;
    border-top: 1px solid var(--line);
}
.l2-hero-facts div { display: flex; align-items: baseline; gap: 9px; }
.l2-hero-facts b {
    font-family: var(--f-dis);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.l2-hero-facts span { font-size: 13px; color: var(--tx-3); max-width: 12ch; line-height: 1.35; }

/* ready card (shown when access is active) */

.l2-ready {
    display: grid;
    gap: 12px;
    justify-items: start;
    width: 100%;
    padding: 22px;
    border-radius: var(--r-lg);
    border: 1px solid rgba(46, 230, 168, 0.34);
    background: linear-gradient(180deg, rgba(46, 230, 168, 0.09), rgba(46, 230, 168, 0.02));
}
.l2-ready h2 {
    font-family: var(--f-dis);
    font-size: 1.4rem;
    font-weight: 650;
    letter-spacing: -0.03em;
}
.l2-ready .l2-kicker { color: var(--mint); }
.l2-ready .l2-kicker::before { background: linear-gradient(90deg, transparent, var(--mint)); }
.l2-ready-copy { font-size: 14px; color: var(--tx-2); }

/* scroll hint */

.l2-scroll {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    margin: clamp(38px, 5vw, 66px) auto 0;
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--tx-3);
}
.l2-scroll i {
    display: block;
    width: 1px;
    height: 34px;
    background: linear-gradient(180deg, var(--line-3), transparent);
    animation: l2-scroll 2.2s ease-in-out infinite;
    transform-origin: top;
}
@keyframes l2-scroll {
    0%, 100% { transform: scaleY(0.45); opacity: 0.4; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- hero demo (density map illustration) ---------- */

.l2-demo-wrap { display: grid; gap: 12px; }

.l2-demo {
    position: relative;
    border-radius: var(--r-xl);
    border: 1px solid var(--line-2);
    background:
        linear-gradient(180deg, rgba(18, 24, 36, 0.92), rgba(8, 11, 17, 0.96));
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.07) inset,
        0 50px 100px -50px rgba(0, 0, 0, 0.95),
        0 0 90px -50px rgba(34, 211, 238, 0.5);
    overflow: hidden;
}

.l2-demo-chrome {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.018);
}
.l2-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.l2-dot:nth-child(1) { background: rgba(255, 95, 109, 0.55); }
.l2-dot:nth-child(2) { background: rgba(255, 182, 72, 0.5); }
.l2-dot:nth-child(3) { background: rgba(46, 230, 168, 0.5); }

.l2-demo-title {
    margin-left: 10px;
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.19em;
    color: var(--tx-3);
}

.l2-demo-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 238, 0.28);
    font-family: var(--f-mono);
    font-size: 9.5px;
    letter-spacing: 0.16em;
    color: var(--cy);
}
.l2-demo-tag i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cy);
    animation: l2-blink 1.8s ease-in-out infinite;
}
@keyframes l2-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.l2-demo-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 12px 4px;
}
.l2-demo-cols span {
    padding: 6px 0;
    border-radius: 7px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.022);
    font-family: var(--f-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-align: center;
    color: var(--tx-3);
}
.l2-demo-cols .is-a { border-color: rgba(46, 230, 168, 0.28); color: rgba(46, 230, 168, 0.85); }
.l2-demo-cols .is-b { border-color: rgba(34, 211, 238, 0.22); color: rgba(34, 211, 238, 0.8); }

.l2-demo-map {
    position: relative;
    height: clamp(360px, 40vw, 470px);
    margin: 8px 12px 14px;
    border-radius: var(--r-md);
    background:
        linear-gradient(180deg, rgba(255, 95, 109, 0.045), transparent 46%, transparent 54%, rgba(46, 230, 168, 0.045));
    overflow: hidden;
}

.l2-axis { position: absolute; inset: 0; }
.l2-axis i {
    position: absolute;
    top: var(--t);
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line);
}
.l2-axis i b {
    position: absolute;
    left: 0;
    top: -8px;
    padding-right: 6px;
    background: #090d14;
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 400;
    color: var(--tx-3);
}

.l2-sweep {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.055), transparent);
    animation: l2-sweep 7.5s linear infinite;
}
@keyframes l2-sweep {
    0% { transform: translateY(-130px); }
    100% { transform: translateY(480px); }
}

.l2-priceline {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    top: 58%;
    height: 0;
    border-top: 1px dashed rgba(34, 211, 238, 0.55);
    animation: l2-drift 9s ease-in-out infinite;
}
.l2-priceline span {
    position: absolute;
    right: 8px;
    top: -9px;
    padding: 2px 8px;
    border-radius: 5px;
    background: var(--cy);
    color: #05131a;
    font-family: var(--f-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
}
@keyframes l2-drift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

.l2-wall {
    position: absolute;
    z-index: 2;
    top: var(--t);
    left: var(--l);
    width: var(--w);
    padding: 7px 9px 10px;
    border-radius: 8px;
    border: 1px solid hsl(var(--h) 55% 52% / 0.45);
    background: linear-gradient(180deg,
        hsl(var(--h) 48% 24% / 0.94),
        hsl(var(--h) 48% 15% / 0.94));
    box-shadow: 0 8px 22px -12px rgba(0, 0, 0, 0.9);
    overflow: hidden;
    opacity: 0;
    animation: l2-wall-in 0.8s var(--ease) var(--d) forwards,
               l2-wall-float 7s ease-in-out var(--d) infinite;
}
@keyframes l2-wall-in {
    from { opacity: 0; transform: translateY(10px) scale(0.96); }
    to { opacity: 1; transform: none; }
}
@keyframes l2-wall-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -3px; }
}

.l2-wall header {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--f-mono);
    font-size: 11px;
}
.l2-wall header b { margin-left: auto; font-weight: 700; letter-spacing: 0.02em; }
.l2-wall header i { font-style: normal; margin-left: auto; color: rgba(255, 255, 255, 0.92); }
.l2-wall header b + i { margin-left: auto; }

.l2-vb {
    padding: 1px 5px;
    border-radius: 4px;
    background: hsl(var(--h) 60% 60% / 0.28);
    color: #fff;
    font-size: 8.5px;
    letter-spacing: 0.06em;
}

.l2-wall p {
    margin-top: 3px;
    font-family: var(--f-mono);
    font-size: 9px;
    color: rgba(255, 255, 255, 0.55);
}

.l2-wall footer {
    display: flex;
    gap: 5px;
    margin-top: 6px;
}
.l2-wall footer span {
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
    font-family: var(--f-mono);
    font-size: 8.5px;
    color: rgba(255, 255, 255, 0.6);
}

.l2-wall u {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.5px;
    background: rgba(0, 0, 0, 0.35);
    text-decoration: none;
}
.l2-wall u::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--fill);
    background: hsl(var(--h) 70% 65%);
    animation: l2-bar-breathe 5.5s ease-in-out var(--d) infinite;
}
@keyframes l2-bar-breathe {
    0%, 100% { opacity: 0.75; }
    50% { opacity: 1; }
}

/* the wall being eaten - 12s loop shared with the toast */
.l2-wall.is-eaten {
    animation: l2-wall-in 0.8s var(--ease) var(--d) forwards,
               l2-eaten 12s ease-in-out 2s infinite;
}
.l2-wall.is-eaten u::after {
    animation: l2-eat-bar 12s ease-in-out 2s infinite;
}
@keyframes l2-eaten {
    0%, 28% { border-color: hsl(var(--h) 55% 52% / 0.45); }
    38%, 62% { border-color: rgba(255, 95, 109, 0.85); box-shadow: 0 0 26px -6px rgba(255, 95, 109, 0.6); }
    80%, 100% { border-color: hsl(var(--h) 55% 52% / 0.45); }
}
@keyframes l2-eat-bar {
    0%, 26% { width: var(--fill); }
    46%, 66% { width: 22%; background: var(--red); }
    86%, 100% { width: var(--fill); }
}

.l2-demo-toast {
    position: absolute;
    z-index: 4;
    left: 14px;
    right: 14px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 95, 109, 0.42);
    background: rgba(22, 12, 16, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 44px -22px rgba(0, 0, 0, 0.95);
    opacity: 0;
    animation: l2-toast 12s ease-in-out 2s infinite;
}
@keyframes l2-toast {
    0%, 34% { opacity: 0; transform: translateY(14px); }
    42%, 66% { opacity: 1; transform: none; }
    76%, 100% { opacity: 0; transform: translateY(14px); }
}
.l2-toast-kind {
    padding: 3px 8px;
    border-radius: 5px;
    background: rgba(255, 95, 109, 0.16);
    color: var(--red);
    font-family: var(--f-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.13em;
}
.l2-toast-body {
    font-family: var(--f-mono);
    font-size: 10.5px;
    color: var(--tx-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.l2-toast-body b { color: var(--tx); }

.l2-demo-caption {
    font-size: 11.5px;
    color: var(--tx-3);
    text-align: center;
}

/* ---------- marquee ---------- */

.l2-marquee {
    position: relative;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.014);
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.l2-marquee-track { display: flex; width: max-content; animation: l2-marquee 46s linear infinite; }
.l2-marquee-run { display: flex; align-items: center; gap: 20px; padding-right: 20px; }
.l2-marquee-run span {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--tx-3);
    white-space: nowrap;
}
.l2-marquee-run b { color: rgba(34, 211, 238, 0.45); font-weight: 400; }
@keyframes l2-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- problem ---------- */

.l2-thesis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 18px;
}

.l2-thesis article {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 30px 26px 32px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.012));
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
    transform: translate3d(var(--tilt-x, 0px), var(--tilt-y, 0px), 0);
    transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}
.l2-thesis article:hover { border-color: var(--line-2); }

.l2-num {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--cy);
}

.l2-thesis h3 {
    font-family: var(--f-dis);
    font-size: 1.22rem;
    font-weight: 650;
    line-height: 1.24;
    letter-spacing: -0.025em;
}
.l2-thesis p { font-size: 14.5px; color: var(--tx-2); }

.l2-pivot {
    max-width: 46ch;
    margin: clamp(44px, 5vw, 70px) auto 0;
    font-family: var(--f-dis);
    font-size: clamp(1.3rem, 2.4vw, 1.95rem);
    font-weight: 600;
    line-height: 1.32;
    letter-spacing: -0.03em;
    text-align: center;
}
.l2-pivot em {
    font-family: var(--f-ser);
    font-style: italic;
    font-weight: 400;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- steps ---------- */

.l2-step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.l2-step {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 28px 26px 26px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.01));
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
    transform: translate3d(var(--tilt-x, 0px), var(--tilt-y, 0px), 0);
    transition: transform 0.4s var(--ease), border-color 0.3s;
    overflow: hidden;
}
.l2-step:hover { border-color: var(--line-2); }

.l2-step-n {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--tx-3);
}
.l2-step h3 {
    font-family: var(--f-dis);
    font-size: 1.3rem;
    font-weight: 650;
    letter-spacing: -0.028em;
}
.l2-step p { font-size: 14.5px; color: var(--tx-2); }

.l2-step-art {
    position: relative;
    height: 132px;
    margin-top: 10px;
    border-radius: var(--r-md);
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.l2-art-map i {
    position: absolute;
    top: var(--t);
    left: var(--l);
    width: var(--w);
    height: 15px;
    border-radius: 5px;
    border: 1px solid hsl(var(--h) 55% 52% / 0.5);
    background: hsl(var(--h) 48% 22% / 0.9);
}
.l2-art-price {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px dashed rgba(34, 211, 238, 0.5);
}

.l2-art-score {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 10px;
    padding: 16px;
}
.l2-art-score em {
    font-family: var(--f-dis);
    font-style: normal;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.l2-gauge {
    width: 100%;
    max-width: 190px;
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
}
.l2-gauge i {
    display: block;
    height: 100%;
    width: 83%;
    border-radius: 3px;
    background: var(--grad);
    animation: l2-gauge 4.5s ease-in-out infinite;
}
@keyframes l2-gauge {
    0%, 100% { width: 83%; }
    50% { width: 58%; }
}
.l2-art-cols { display: flex; gap: 6px; width: 100%; max-width: 190px; }
.l2-art-cols span { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.09); }
.l2-art-cols .is-a { background: rgba(46, 230, 168, 0.7); }
.l2-art-cols .is-b { background: rgba(34, 211, 238, 0.45); }

.l2-art-alert { display: grid; align-content: center; gap: 7px; padding: 14px; }
.l2-mini-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 7px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    font-family: var(--f-mono);
    font-size: 9px;
    letter-spacing: 0.08em;
    color: var(--tx-3);
    opacity: 0.35;
    animation: l2-mini 5.4s ease-in-out infinite;
}
.l2-mini-alert b { color: var(--tx-2); }
.l2-mini-alert.is-1 { animation-delay: 0s; }
.l2-mini-alert.is-2 { animation-delay: 1.8s; }
.l2-mini-alert.is-3 { animation-delay: 3.6s; }
.l2-mini-alert.is-1 b { color: var(--cy); }
.l2-mini-alert.is-2 b { color: var(--amber); }
.l2-mini-alert.is-3 b { color: var(--mint); }
@keyframes l2-mini {
    0%, 100% { opacity: 0.3; border-color: var(--line); }
    12%, 28% { opacity: 1; border-color: var(--line-2); }
}

/* ---------- chapters ---------- */

.l2-stage {
    display: grid;
    gap: clamp(80px, 9vw, 150px);
    max-width: var(--wrap);
    margin: 0 auto;
    padding: var(--sec) var(--pad);
}

.l2-chapter {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(32px, 5vw, 68px);
    align-items: center;
}
.l2-chapter.is-flip .l2-chapter-copy { order: 2; }

/* The wide product shots earn a little bleed past the text column. */
.l2-chapter:not(.is-flip) .l2-shot.is-wide { margin-right: calc(-1 * min(5vw, 76px)); }
.l2-chapter.is-flip .l2-shot.is-wide { margin-left: calc(-1 * min(5vw, 76px)); }

/* Portrait panels are 3x taller than they are wide; frame and crop them
   instead of letting a 1200px column tower over its own paragraph. */
.l2-chapter:has(.is-portrait) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }

.l2-chapter-copy { display: grid; gap: 18px; align-content: start; }

.l2-list { display: grid; gap: 12px; margin-top: 4px; list-style: none; }
.l2-list li {
    position: relative;
    padding-left: 24px;
    font-size: 14.5px;
    color: var(--tx-2);
}
.l2-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 11px;
    height: 1px;
    background: var(--cy);
}
.l2-list li b { color: var(--tx); font-weight: 600; }

.l2-shot {
    position: relative;
    border-radius: var(--r-xl);
    border: 1px solid var(--line-2);
    background: var(--panel);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.07) inset,
        0 44px 90px -46px rgba(0, 0, 0, 0.95);
    overflow: hidden;
}
.l2-shot::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.05), transparent 40%);
}
/* Parallax drifts the whole framed panel. Moving the image inside the frame
   instead would need a ~13% upscale to avoid gaps, which crops the panel
   chrome the screenshot is there to show. */
.l2-shot {
    transform: translate3d(0, var(--shot-y, 0px), 0);
    will-change: transform;
}

.l2-shot img {
    width: 100%;
    height: auto;
}
.l2-shot.is-portrait {
    /* Explicit width: `margin:0 auto` alone makes the figure shrink-to-fit the
       cropped image ratio, collapsing it to ~170px. */
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}
.l2-shot.is-portrait img {
    height: clamp(440px, 62vh, 620px);
    object-fit: cover;
    object-position: top center;
}
/* Fade the crop so the panel reads as continuing, not as cut off. */
.l2-shot.is-portrait::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(7, 10, 17, 0.95));
}

/* ---------- signals ---------- */

.l2-sig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.l2-sig-grid article {
    position: relative;
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 26px 24px 28px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
    overflow: hidden;
    transform: translate3d(var(--tilt-x, 0px), var(--tilt-y, 0px), 0);
    transition: transform 0.4s var(--ease), border-color 0.35s, background 0.35s;
}
.l2-sig-grid article::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: var(--sig, var(--cy));
    opacity: 0.28;
    transition: opacity 0.35s;
}
.l2-sig-grid article.is-live { border-color: color-mix(in srgb, var(--sig, var(--cy)) 45%, transparent); }
.l2-sig-grid article.is-live::before { opacity: 1; }
.l2-sig-grid article.is-live .l2-sig-tag {
    color: #05131a;
    background: var(--sig, var(--cy));
    border-color: transparent;
}

.l2-sig-grid .is-approach { --sig: #22d3ee; }
.l2-sig-grid .is-bounce { --sig: #ffb648; }
.l2-sig-grid .is-eat { --sig: #ff5f6d; }
.l2-sig-grid .is-break { --sig: #2ee6a8; }

.l2-sig-tag {
    justify-self: start;
    padding: 3px 9px;
    border-radius: 5px;
    border: 1px solid color-mix(in srgb, var(--sig, var(--cy)) 40%, transparent);
    font-family: var(--f-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sig, var(--cy));
    transition: background 0.35s, color 0.35s, border-color 0.35s;
}

.l2-sig-grid h3 {
    font-family: var(--f-dis);
    font-size: 1.2rem;
    font-weight: 650;
    letter-spacing: -0.025em;
}
.l2-sig-grid p { font-size: 14px; color: var(--tx-2); }

.l2-sig-note {
    max-width: 60ch;
    margin: clamp(30px, 4vw, 48px) auto 0;
    padding: 20px 24px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.022);
    font-size: 14.5px;
    color: var(--tx-2);
    text-align: center;
}
.l2-sig-note b { color: var(--tx); }

/* ---------- facts band ---------- */

.l2-facts {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.014);
}
.l2-facts-grid {
    display: grid;
    /* Fixed 5 tracks: auto-fit would fit a sixth and leave the band lopsided. */
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--pad);
}
.l2-facts-grid div {
    display: grid;
    gap: 6px;
    padding: clamp(30px, 4vw, 46px) 22px;
    border-right: 1px solid var(--line);
}
.l2-facts-grid div:last-child { border-right: 0; }
.l2-facts-grid b {
    font-family: var(--f-dis);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.l2-facts-grid span { font-size: 13px; line-height: 1.45; color: var(--tx-3); }

/* ---------- docs ---------- */

.l2-docs-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: clamp(28px, 4vw, 60px);
    align-items: start;
}

.l2-docs-side {
    position: sticky;
    top: calc(var(--head-h) + 26px);
    display: grid;
    gap: 12px;
}
.l2-docs-side-title {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.19em;
    text-transform: uppercase;
    color: var(--tx-3);
}
.l2-docs-nav { display: grid; gap: 2px; }
.l2-docs-nav a {
    padding: 9px 12px;
    border-left: 1px solid var(--line);
    font-size: 13.5px;
    color: var(--tx-3);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.l2-docs-nav a:hover { color: var(--tx-2); border-color: var(--line-3); }
.l2-docs-nav a.is-current {
    color: var(--tx);
    border-color: var(--cy);
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.08), transparent);
}

.l2-docs-body { display: grid; gap: 16px; }

.l2-doc {
    display: grid;
    gap: 12px;
    padding: 30px 30px 32px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008));
    scroll-margin-top: calc(var(--head-h) + 24px);
}
.l2-doc h3 {
    font-family: var(--f-dis);
    font-size: 1.32rem;
    font-weight: 650;
    letter-spacing: -0.028em;
}
.l2-doc p { font-size: 14.5px; color: var(--tx-2); }
.l2-doc b { color: var(--tx); font-weight: 600; }

.l2-venue-legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
    margin-top: 6px;
}
.l2-venue-legend span {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.25);
    font-size: 12.5px;
    color: var(--tx-3);
}
.l2-venue-legend b {
    padding: 2px 7px;
    border-radius: 5px;
    background: rgba(34, 211, 238, 0.13);
    color: var(--cy);
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.06em;
}

.l2-glossary { display: grid; gap: 2px; margin-top: 4px; }
.l2-glossary > div {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 16px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
}
.l2-glossary dt {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.03em;
    color: var(--cy);
}
.l2-glossary dd { font-size: 14px; color: var(--tx-2); }

/* ---------- FAQ ---------- */

.l2-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 12px;
    align-items: start;
}

.l2-faq-grid details {
    border-radius: var(--r-md);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.022);
    transition: border-color 0.3s, background 0.3s;
}
.l2-faq-grid details[open] { border-color: var(--line-2); background: rgba(255, 255, 255, 0.04); }

.l2-faq-grid summary {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    font-family: var(--f-dis);
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    cursor: pointer;
    list-style: none;
}
.l2-faq-grid summary::-webkit-details-marker { display: none; }
.l2-faq-grid summary::after {
    content: "";
    flex: none;
    width: 11px;
    height: 11px;
    margin-left: auto;
    margin-top: 6px;
    border-right: 1.5px solid var(--tx-3);
    border-bottom: 1.5px solid var(--tx-3);
    transform: rotate(45deg);
    transition: transform 0.3s var(--ease), border-color 0.3s;
}
.l2-faq-grid details[open] summary::after {
    transform: rotate(-135deg);
    border-color: var(--cy);
}
.l2-faq-grid details > div { padding: 0 22px 20px; }
.l2-faq-grid details p { font-size: 14.5px; color: var(--tx-2); }

/* ---------- pricing ---------- */

.l2-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
    gap: 16px;
    align-items: stretch;
}

.l2-price-card {
    position: relative;
    /* Flex column so `margin-top:auto` on the CTA lines every button up,
       even when one card carries an extra bullet. */
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px 26px 28px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
    transition: border-color 0.3s, transform 0.35s var(--ease);
}
.l2-price-card:hover { border-color: var(--line-2); transform: translateY(-3px); }

.l2-price-card.is-trial {
    border-color: rgba(46, 230, 168, 0.3);
    background: linear-gradient(180deg, rgba(46, 230, 168, 0.08), rgba(255, 255, 255, 0.01));
}

.l2-price-card.is-featured {
    border-color: rgba(34, 211, 238, 0.4);
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.11), rgba(255, 255, 255, 0.012));
    box-shadow: 0 30px 70px -46px rgba(34, 211, 238, 0.85);
}

.l2-plan-badge {
    position: absolute;
    top: -10px;
    left: 26px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--grad);
    color: #04121a;
    font-family: var(--f-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.l2-plan-name {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--tx-3);
}
.l2-plan-price {
    font-family: var(--f-dis);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.045em;
}
.l2-plan-meta { font-size: 13px; color: var(--tx-3); }

.l2-price-card ul {
    display: grid;
    gap: 9px;
    margin: 10px 0 18px;
    list-style: none;
}
.l2-price-card li {
    position: relative;
    padding-left: 22px;
    font-size: 13.5px;
    color: var(--tx-2);
}
.l2-price-card li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 7px;
    width: 8px;
    height: 4px;
    border-left: 1.5px solid var(--cy);
    border-bottom: 1.5px solid var(--cy);
    transform: rotate(-45deg);
}
.l2-price-card .land-btn { margin-top: auto; }

.l2-price-note {
    margin-top: 24px;
    font-size: 13px;
    color: var(--tx-3);
    text-align: center;
}

/* ---------- access / open beta ---------- */

.l2-beta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 18px;
    align-items: stretch;
}

.l2-beta-main {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 36px 34px 34px;
    border-radius: var(--r-lg);
    border: 1px solid rgba(46, 230, 168, 0.34);
    background:
        radial-gradient(90% 120% at 0% 0%, rgba(46, 230, 168, 0.14), transparent 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.07) inset,
        0 34px 80px -50px rgba(46, 230, 168, 0.75);
    overflow: hidden;
}

.l2-beta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: start;
    padding: 5px 13px 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(46, 230, 168, 0.4);
    background: rgba(46, 230, 168, 0.1);
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mint);
}
.l2-beta-badge i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 0 rgba(46, 230, 168, 0.6);
    animation: l2-pulse 2.4s ease-out infinite;
}

.l2-beta-price {
    font-family: var(--f-dis);
    font-size: clamp(3rem, 6vw, 4.4rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.l2-beta-sub {
    font-size: 15px;
    color: var(--tx-2);
}

.l2-beta-list {
    display: grid;
    gap: 10px;
    margin: 10px 0 20px;
    list-style: none;
}
.l2-beta-list li {
    position: relative;
    padding-left: 24px;
    font-size: 14.5px;
    color: var(--tx-2);
}
.l2-beta-list li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 8px;
    width: 9px;
    height: 5px;
    border-left: 1.5px solid var(--mint);
    border-bottom: 1.5px solid var(--mint);
    transform: rotate(-45deg);
}
.l2-beta-main .land-btn { margin-top: auto; }

.l2-beta-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
}
.l2-beta-side > div {
    display: grid;
    gap: 8px;
    padding: 26px 24px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008));
}
.l2-beta-side p { font-size: 14px; color: var(--tx-2); }
.l2-beta-side-title {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: var(--tx-3) !important;
}

/* ---------- screener ---------- */

.l2-screener {
    position: relative;
    padding: var(--sec) 0;
    border-top: 1px solid var(--line);
    background:
        radial-gradient(70% 100% at 50% 0%, rgba(34, 211, 238, 0.07), transparent 70%);
    overflow: hidden;
}
.l2-screener-inner {
    display: grid;
    gap: clamp(34px, 5vw, 62px);
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--pad);
    justify-items: center;
    text-align: center;
}
.l2-screener-copy { display: grid; gap: 18px; justify-items: center; max-width: 640px; }
.l2-screener-copy .l2-kicker::before { display: none; }
.l2-screener-shot { width: 100%; }

/* ---------- support ---------- */

.l2-support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.l2-support-grid article {
    display: grid;
    gap: 9px;
    align-content: start;
    padding: 28px 26px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008));
    transition: border-color 0.3s;
}
.l2-support-grid article:hover { border-color: var(--line-2); }
.l2-support-kind {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: var(--tx-3);
}
.l2-support-grid strong {
    font-family: var(--f-dis);
    font-size: 1.16rem;
    font-weight: 650;
    letter-spacing: -0.025em;
    word-break: break-word;
}
.l2-support-grid strong a { transition: color 0.2s; }
.l2-support-grid strong a:hover { color: var(--cy); }
.l2-support-grid p { font-size: 13.5px; color: var(--tx-2); }

/* ---------- final CTA ---------- */

.l2-final {
    position: relative;
    padding: clamp(90px, 11vw, 160px) var(--pad);
    border-top: 1px solid var(--line);
    overflow: hidden;
    background:
        radial-gradient(60% 90% at 50% 110%, rgba(46, 230, 168, 0.12), transparent 70%),
        radial-gradient(70% 80% at 50% -20%, rgba(34, 211, 238, 0.12), transparent 70%);
}
.l2-final-rules { position: absolute; inset: 0; opacity: 0.45; pointer-events: none; }
.l2-final-rules i {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.l2-final-rules i:nth-child(1) { top: 12%; }
.l2-final-rules i:nth-child(2) { top: 28%; }
.l2-final-rules i:nth-child(3) { top: 44%; }
.l2-final-rules i:nth-child(4) { top: 60%; }
.l2-final-rules i:nth-child(5) { top: 76%; }
.l2-final-rules i:nth-child(6) { top: 92%; }

.l2-final-inner {
    position: relative;
    display: grid;
    gap: 22px;
    justify-items: center;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}
.l2-final-title { max-width: 15ch; }
.l2-final-cta { justify-content: center; margin-top: 6px; }

/* ---------- footer ---------- */

.l2-footer {
    padding: clamp(46px, 6vw, 72px) var(--pad) 44px;
    border-top: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.3);
}
.l2-footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    align-items: flex-start;
    max-width: var(--col);
    margin: 0 auto 34px;
}
.l2-footer-brand { display: grid; gap: 10px; }
.l2-footer-brand p { font-size: 13.5px; color: var(--tx-3); max-width: 34ch; }
.l2-footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.l2-footer-nav a { font-size: 13.5px; color: var(--tx-2); transition: color 0.2s; }
.l2-footer-nav a:hover { color: var(--cy); }

.l2-disclaimer,
.l2-copy {
    max-width: var(--col);
    margin: 0 auto;
    font-size: 12px;
    line-height: 1.6;
    color: var(--tx-3);
}
.l2-disclaimer {
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.l2-copy { margin-top: 14px; opacity: 0.7; }

/* ==========================================================================
   Modals - same DOM contract as landing 1.0
   ========================================================================== */

.land-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 20px;
    overflow-y: auto;
}

.land-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 4, 8, 0.78);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    animation: l2-fade 0.25s ease both;
}
@keyframes l2-fade { from { opacity: 0; } to { opacity: 1; } }

.land-modal-box {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    margin: auto;
    padding: 34px 32px 32px;
    border-radius: var(--r-xl);
    border: 1px solid var(--line-2);
    background: linear-gradient(180deg, rgba(20, 27, 39, 0.98), rgba(9, 13, 20, 0.99));
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 50px 110px -40px rgba(0, 0, 0, 0.95);
    animation: l2-modal 0.34s var(--ease) both;
}
.land-modal-box-wide { width: min(620px, 100%); }
@keyframes l2-modal {
    from { opacity: 0; transform: translateY(18px) scale(0.97); }
    to { opacity: 1; transform: none; }
}

.land-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 21px;
    line-height: 1;
    color: var(--tx-3);
    transition: color 0.2s, background 0.2s;
}
.land-modal-close:hover { color: var(--tx); background: rgba(255, 255, 255, 0.07); }

.land-tabs {
    display: inline-flex;
    gap: 3px;
    margin-bottom: 20px;
    padding: 3px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.3);
}
.land-tab {
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--tx-3);
    transition: color 0.2s, background 0.2s;
}
.land-tab:hover { color: var(--tx-2); }
.land-tab.is-active { color: var(--tx); background: rgba(255, 255, 255, 0.08); }

.land-modal-title {
    font-family: var(--f-dis);
    font-size: 1.55rem;
    font-weight: 650;
    letter-spacing: -0.03em;
}
.land-modal-lead {
    margin-top: 8px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--tx-2);
}

.land-form { display: grid; gap: 14px; margin-top: 22px; }
.land-form label { display: grid; gap: 7px; }
.land-form label span {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--tx-3);
}
.land-form input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--line-2);
    background: rgba(0, 0, 0, 0.35);
    color: var(--tx);
    font-size: 15px;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.land-form input:focus {
    outline: none;
    border-color: rgba(34, 211, 238, 0.6);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}
.land-form input.is-invalid { border-color: rgba(255, 95, 109, 0.6); }
.land-form .land-btn { margin-top: 4px; }

.land-hint {
    font-size: 12px;
    line-height: 1.5;
    color: var(--tx-3);
}
.land-hint.is-ok { color: var(--mint); }
.land-hint.is-bad { color: var(--amber); }

.land-code {
    padding: 1px 7px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.08);
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--cy);
}

.land-error {
    margin-top: 16px;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 95, 109, 0.35);
    background: rgba(255, 95, 109, 0.1);
    font-size: 13px;
    color: #ffb9bf;
}

.land-note {
    margin-top: 14px;
    font-size: 13px;
    color: var(--tx-3);
}

.land-status {
    margin-top: 10px;
    font-size: 13.5px;
    color: var(--tx-2);
}

/* gate: trial + plans */

.land-trial-card {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    padding: 20px 22px;
    border-radius: var(--r-lg);
    border: 1px solid rgba(46, 230, 168, 0.32);
    background: linear-gradient(180deg, rgba(46, 230, 168, 0.1), rgba(46, 230, 168, 0.02));
}

.land-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.land-plan-card {
    position: relative;
    display: grid;
    gap: 6px;
    padding: 20px 18px;
    border-radius: var(--r-md);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
    text-align: left;
    transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.land-plan-card:hover {
    border-color: rgba(34, 211, 238, 0.5);
    background: rgba(34, 211, 238, 0.07);
    transform: translateY(-2px);
}

.land-plan-name {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--tx-3);
}
.land-plan-price {
    font-family: var(--f-dis);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
}
.land-plan-meta { font-size: 12.5px; color: var(--tx-3); }

/* Open beta: the plan buttons still work, they just carry no price and no
   savings badge. Delete this rule when billing goes live. */
.land-plan-card .land-plan-price,
.land-plan-card .land-plan-badge { display: none; }

.land-plan-card .land-plan-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(46, 230, 168, 0.16);
    color: var(--mint);
    font-family: var(--f-mono);
    font-size: 9px;
    letter-spacing: 0.08em;
}

.land-bind-box { display: grid; gap: 10px; margin: 18px 0 12px; }

.land-account-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0 16px;
    padding: 16px 18px;
    border-radius: var(--r-md);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
}
.land-row-label {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--tx-3);
}
.land-row-value { margin-top: 3px; font-size: 14.5px; }

#account-modal .land-btn-block { margin-top: 10px; }

.land-account-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.land-account-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   Reveal + motion
   ========================================================================== */

[data-reveal] {
    opacity: 0;
    translate: 0 16px;
    transition: opacity 0.55s var(--ease), translate 0.55s var(--ease);
}
[data-reveal="late"] { transition-delay: 0.1s; }
[data-reveal].is-in { opacity: 1; translate: 0 0; }

.l2-thesis article[data-reveal],
.l2-step[data-reveal],
.l2-sig-grid article[data-reveal],
.l2-price-card[data-reveal],
.l2-support-grid article[data-reveal],
.l2-doc[data-reveal],
.l2-faq-grid details[data-reveal],
.l2-facts-grid div[data-reveal] {
    transition-delay: calc(var(--i, 0) * 55ms);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
    .l2-nav { display: none; }
    .l2-burger { display: flex; }
    .l2-docs-layout { grid-template-columns: 1fr; }
    .l2-docs-side { position: static; }
    .l2-docs-nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; }
    .l2-docs-nav a { border-left: 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
    .l2-docs-nav a.is-current { border-bottom-color: var(--cy); background: none; }
}

@media (max-width: 940px) {
    .l2-beta-panel { grid-template-columns: 1fr; }
    .l2-hero-inner { grid-template-columns: 1fr; }
    .l2-demo-wrap { order: -1; }
    .l2-chapter,
    .l2-chapter.is-flip,
    .l2-chapter:has(.is-portrait) { grid-template-columns: 1fr; }
    .l2-chapter.is-flip .l2-chapter-copy { order: 0; }
    .l2-chapter:not(.is-flip) .l2-shot.is-wide,
    .l2-chapter.is-flip .l2-shot.is-wide { margin-left: 0; margin-right: 0; }
    .l2-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .l2-facts-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
    .l2-facts-grid div:last-child { border-bottom: 0; grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .l2-header-actions .l2-ghost-link { display: none; }
    .l2-user-chip { max-width: 108px; }
    .l2-glossary > div { grid-template-columns: 1fr; gap: 5px; }
    .l2-doc { padding: 24px 22px 26px; }
    .l2-hero-facts b { font-size: 1.45rem; }
    .land-modal-box { padding: 30px 22px 26px; }
    /* The wall positions live in inline `style` attributes, so the phone
       layout has to override them with !important or the cards keep their
       desktop columns, overlap each other and spill out of the map. */
    .l2-demo-map { height: 400px; }
    .l2-wall { --w: 46% !important; }
    .l2-wall.l2-hide-sm { display: none; }
    .l2-wall:nth-of-type(1) { --t: 2% !important; --l: 2% !important; }
    .l2-wall:nth-of-type(2) { --t: 2% !important; --l: 52% !important; }
    .l2-wall:nth-of-type(3) { --t: 24% !important; --l: 2% !important; }
    .l2-wall:nth-of-type(5) { --t: 24% !important; --l: 52% !important; }
    .l2-wall:nth-of-type(7) { --t: 62% !important; --l: 27% !important; }
    .l2-axis i b { font-size: 8px; }
}

@media (max-width: 480px) {
    .l2-beta-main { padding: 28px 22px 26px; }
    .l2-hero-facts { gap: 16px 22px; }
    .l2-hero-cta .land-btn { width: 100%; }
    .l2-price-card { padding: 26px 22px 24px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    [data-reveal] { opacity: 1; translate: none; }
    .l2-marquee-track { animation: none; }
    .l2-shot { transform: none; }
}

/* ---- Згода з Умовами на формі реєстрації ---- */
/* Текст навмисно НЕ у <label>: всередині нього кнопки-посилання,
   а клік по лейблу перемикав би галочку при спробі відкрити документ. */
.land-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 2px;
}
.land-consent input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--l2-accent, #e5484d);
    cursor: pointer;
}
.land-consent-text {
    font-size: 13px;
    line-height: 1.5;
    opacity: .85;
}
.land-legal-link {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: var(--l2-accent, #e5484d);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
.land-legal-link:hover { opacity: .8; }
.land-legal-link[aria-expanded="true"] { font-weight: 600; }

/* Документи живуть у власному вікні поверх реєстрації, тому z-index вищий. */
.land-modal-legal { z-index: 90; }
.land-modal-legal .land-modal-title { margin-bottom: 14px; }

#legal-body {
    max-height: min(68vh, 620px);
    overflow-y: auto;
    padding-right: 12px;
    font-size: 13px;
    line-height: 1.65;
    opacity: .9;
    overscroll-behavior: contain;
}
#legal-body h4 {
    margin: 18px 0 6px;
    font-size: 13.5px;
    letter-spacing: .01em;
    opacity: 1;
}
#legal-body h4:first-of-type { margin-top: 0; }
#legal-body p { margin: 0 0 9px; }
#legal-body strong { opacity: 1; }
.land-legal-date {
    display: block;
    margin-bottom: 14px;
    font-size: 11.5px;
    opacity: .6;
}
