body.lp {
    --bg: #0a0c11;
    --bg-2: #0e1119;
    --panel: #131722;
    --panel-2: #181d2a;
    --line: #262c3b;
    --line-bright: #3a4257;
    --text: #eef0f5;
    --text-dim: #8991a6;

    /* CS2 rarity ladder, used as THE recurring accent device */
    --r-consumer: #b0c3d9;
    --r-industrial: #5e98d9;
    --r-milspec: #4b69ff;
    --r-restricted: #8847ff;
    --r-classified: #d32ce6;
    --r-covert: #eb4b4b;
    --r-gold: #ffd54a;
    --rarity-grad: linear-gradient(90deg, var(--r-consumer), var(--r-industrial), var(--r-milspec), var(--r-restricted), var(--r-classified), var(--r-covert), var(--r-gold));

    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Barlow", -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.lp * { box-sizing: border-box; }
body.lp .mono { font-family: "JetBrains Mono", ui-monospace, monospace; }

body.lp h1, body.lp h2, body.lp h3 {
    font-family: "Rajdhani", "Barlow", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin: 0;
}

body.lp a { color: inherit; text-decoration: none; }
body.lp img { max-width: 100%; display: block; }
body.lp :focus-visible { outline: 2px solid var(--r-gold); outline-offset: 3px; }

.cut {
    clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
.cut-sm {
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

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

body.lp .bg-field { position: fixed; inset: 0; z-index: -1; background: var(--bg); }
body.lp .bg-field::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(75vw 60vh at 78% 0%, black, transparent 70%);
}
body.lp .bg-field::after {
    content: ""; position: absolute; top: -10vw; right: -8vw; width: 50vw; height: 50vw; border-radius: 50%;
    background: radial-gradient(circle, rgba(139,71,255,0.14), transparent 65%);
    filter: blur(10px);
}

/* ---------- progress spine ---------- */

.lp-spine { position: fixed; top: 0; left: 0; width: 3px; height: 100%; background: var(--line); z-index: 40; }
.lp-spine__fill {
    position: absolute; inset: 0; background: var(--rarity-grad);
    transform: scaleY(var(--scroll-progress, 0)); transform-origin: top;
    transition: transform 0.08s linear;
}

/* ---------- nav ---------- */

.lp-nav { position: sticky; top: 0; z-index: 30; padding: 18px 24px; transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease; }
.lp-nav.is-scrolled { background: rgba(10, 12, 17, 0.85); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.lp-nav__inner { max-width: 1180px; margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.lp-nav__brand { display: flex; align-items: center; gap: 10px; font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.02em; }
.lp-nav__brand .mark { width: 16px; height: 16px; background: var(--rarity-grad); transform: rotate(45deg); }
.lp-nav__login img { height: 30px; width: auto; }

/* ---------- shell / sections ---------- */

.lp-shell { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

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

.lp-hero { position: relative; padding-top: 64px; padding-bottom: 110px; overflow: hidden; }
.lp-hero__bgimg {
    position: absolute; top: -8%; right: -6%; width: 62%; height: 120%;
    background-image: linear-gradient(100deg, var(--bg) 15%, rgba(10,12,17,0.55) 45%, rgba(10,12,17,0.15) 70%), var(--hero-img);
    background-size: cover; background-position: center;
    opacity: 0.9; pointer-events: none;
}

.lp-hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }

.lp-tag {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--panel-2); border: 1px solid var(--line-bright);
    padding: 7px 14px 7px 11px; margin-bottom: 26px;
    font-family: "JetBrains Mono", monospace; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--r-classified);
}
.lp-tag .radar { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--r-covert); }
.lp-tag .radar::before, .lp-tag .radar::after {
    content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--r-covert);
    opacity: 0; animation: lp-radar 2.4s ease-out infinite;
}
.lp-tag .radar::after { animation-delay: 1.2s; }

.lp-hero h1 {
    font-size: clamp(2.7rem, 5vw, 4.1rem); line-height: 0.98; max-width: 14ch;
}
.lp-hero h1 .hl {
    position: relative; display: inline-block; padding: 0 10px; margin: 4px 0;
    color: var(--bg);
}
.lp-hero h1 .hl::before {
    content: ""; position: absolute; inset: 2px -4px; background: var(--rarity-grad); z-index: -1;
    transform: skewX(-8deg);
}

.lp-hero__sub { margin: 26px 0 34px; max-width: 44ch; color: var(--text-dim); font-size: 1.08rem; line-height: 1.6; font-family: "Barlow", sans-serif; }

.lp-hero__note { color: var(--text-dim); font-size: 0.8rem; font-family: "JetBrains Mono", monospace; margin: 0 0 8px; }

.lp-tags-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.lp-skew {
    display: inline-flex; transform: skewX(-10deg);
    border: 1px solid var(--line-bright); background: var(--panel);
}
.lp-skew span { display: flex; align-items: center; gap: 7px; transform: skewX(10deg); padding: 8px 14px; font-size: 0.78rem; color: var(--text-dim); font-family: "JetBrains Mono", monospace; }
.lp-skew svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ---------- signature: inspect panel ---------- */

.inspect {
    position: relative; background: var(--panel); border: 1px solid var(--line-bright);
    max-width: 430px; margin-left: auto; padding: 0;
}
.inspect__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.inspect__top .k { font-family: "JetBrains Mono", monospace; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.inspect__live { display: inline-flex; align-items: center; gap: 6px; font-family: "JetBrains Mono", monospace; font-size: 0.66rem; letter-spacing: 0.06em; color: var(--r-covert); text-transform: uppercase; }
.inspect__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--r-covert); animation: lp-pulse 1.6s ease-in-out infinite; }

.inspect__view { position: relative; background: #06070a; aspect-ratio: 16 / 10; overflow: hidden; }
.inspect__view img { width: 100%; height: 100%; object-fit: cover; }
.inspect__scan { position: absolute; left: 0; right: 0; height: 3px; top: 0; background: var(--r-covert); box-shadow: 0 0 16px 2px rgba(235,75,75,0.7); animation: lp-scan-line 3.5s ease-in-out infinite; }
.inspect__rarity-edge { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--rarity-grad); }

.inspect__wear { padding: 14px 18px 6px; }
.inspect__wear-label { display: flex; justify-content: space-between; font-family: "JetBrains Mono", monospace; font-size: 0.64rem; color: var(--text-dim); text-transform: uppercase; margin-bottom: 6px; }
.inspect__wear-bar { position: relative; height: 6px; background: linear-gradient(90deg, #4fae7a, #d9c93e, #d98b3e, #b9542f, #7a2323); }
.inspect__wear-bar .marker { position: absolute; top: -4px; width: 2px; height: 14px; background: #fff; box-shadow: 0 0 6px #fff; }

.inspect__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 18px; font-family: "JetBrains Mono", monospace; border-bottom: 1px dashed var(--line); }
.inspect__stats dt { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-dim); }
.inspect__stats dd { margin: 2px 0 0; font-size: 0.9rem; font-weight: 600; color: var(--text); }

.feed { padding: 6px 0 14px; }
.feed__row {
    display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 10px;
    padding: 9px 18px; font-family: "JetBrains Mono", monospace; font-size: 0.76rem;
}
.feed__row + .feed__row { border-top: 1px solid var(--line); }
.feed__you, .feed__them { font-weight: 600; }
.feed__you { color: var(--r-milspec); text-align: right; }
.feed__them { color: var(--text); text-align: left; }
.feed__them.is-pending { color: var(--r-covert); }
.feed__arrow { color: var(--text-dim); font-size: 0.7rem; }
.feed__time { color: var(--text-dim); font-size: 0.66rem; text-align: right; }
.feed__row.is-pending .feed__arrow { color: var(--r-covert); animation: lp-pulse 1.4s ease-in-out infinite; }

.inspect__note { text-align: center; font-size: 0.66rem; color: var(--text-dim); padding: 0 18px 14px; font-family: "JetBrains Mono", monospace; }

/* ---------- rounds (process) ---------- */

.lp-section { padding-top: 76px; padding-bottom: 76px; position: relative; }
.lp-section--panel { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.lp-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 44px; flex-wrap: wrap; }
.lp-head .idx { font-family: "JetBrains Mono", monospace; font-size: 0.9rem; color: var(--text-dim); }
.lp-head h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.lp-head .rule { flex: 1; min-width: 40px; height: 1px; background: var(--line-bright); align-self: center; }
.lp-lede { color: var(--text-dim); margin-top: -28px; margin-bottom: 40px; max-width: 60ch; font-family: "Barlow", sans-serif; }

.lp-rounds { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.lp-rounds__line { position: absolute; top: 27px; left: 3%; width: 94%; height: 2px; }
.lp-rounds__line line { stroke: var(--line); stroke-width: 2; }
.lp-rounds__line .draw { stroke: var(--r-covert); stroke-dasharray: 100; stroke-dashoffset: calc(100 - (var(--draw, 0) * 100)); transition: stroke-dashoffset 0.1s linear; }

.round { position: relative; padding-right: 18px; }
.round__badge {
    font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--text-dim);
    background: var(--panel); border: 1px solid var(--line-bright);
    width: 54px; height: 54px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px; position: relative; z-index: 1; transform: rotate(45deg);
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.round__badge span { display: block; transform: rotate(-45deg); }
.round.is-active .round__badge { border-color: var(--r-covert); color: var(--r-covert); background: var(--panel-2); }
.round h3 { font-size: 1.05rem; margin-bottom: 8px; letter-spacing: 0.02em; }
.round p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.55; margin: 0; font-family: "Barlow", sans-serif; }

/* ---------- arsenal gallery ---------- */

.arsenal { padding-top: 40px; padding-bottom: 60px; }
.arsenal__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.arsenal__item:nth-child(2), .arsenal__item:nth-child(4) { margin-top: 48px; }
.arsenal__card { position: relative; background: var(--panel); border: 1px solid var(--line-bright); overflow: hidden; transition: border-color 0.25s ease, transform 0.25s ease; }
.arsenal__card:hover { border-color: var(--line-bright); transform: translateY(-4px); }
.arsenal__edge { position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 1; }
.arsenal__card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; filter: saturate(1.05); }
.arsenal__label { padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.arsenal__name { font-family: "Rajdhani", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 0.98rem; letter-spacing: 0.01em; }
.arsenal__tag { font-family: "JetBrains Mono", monospace; font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 3px; }

/* ---------- feature grid ---------- */

.lp-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.feature { background: var(--panel); padding: 26px 22px; border-left: 3px solid var(--r-consumer); transition: background 0.2s ease; }
.feature:nth-child(1) { border-left-color: var(--r-consumer); }
.feature:nth-child(2) { border-left-color: var(--r-milspec); }
.feature:nth-child(3) { border-left-color: var(--r-classified); }
.feature:nth-child(4) { border-left-color: var(--r-covert); }
.feature:hover { background: var(--panel-2); }
.feature svg { width: 22px; height: 22px; color: var(--text-dim); margin-bottom: 18px; }
.feature h3 { font-size: 1rem; margin-bottom: 8px; letter-spacing: 0.02em; }
.feature p { color: var(--text-dim); font-size: 0.86rem; line-height: 1.5; margin: 0; font-family: "Barlow", sans-serif; }

/* ---------- patch notes (roadmap) ---------- */

.patchnotes { border: 1px solid var(--line-bright); background: var(--panel); }
.patchnotes__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); font-family: "JetBrains Mono", monospace; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.patchline { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: start; padding: 18px 20px; }
.patchline + .patchline { border-top: 1px solid var(--line); }
.patchline__tag { font-family: "JetBrains Mono", monospace; font-size: 0.68rem; letter-spacing: 0.06em; padding: 4px 0; }
.patchline__tag.progress { color: var(--r-restricted); }
.patchline__tag.planned { color: var(--r-milspec); }
.patchline__tag.idea { color: var(--text-dim); }
.patchline h3 { font-size: 0.98rem; margin-bottom: 4px; letter-spacing: 0.01em; }
.patchline p { color: var(--text-dim); font-size: 0.85rem; margin: 0; line-height: 1.5; font-family: "Barlow", sans-serif; }
.patchline__pct { font-family: "JetBrains Mono", monospace; font-size: 0.78rem; color: var(--text-dim); white-space: nowrap; }

/* ---------- closing ---------- */

.lp-closing { text-align: center; padding-top: 100px; padding-bottom: 56px; }
.lp-closing h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); max-width: 20ch; margin: 0 auto 18px; line-height: 1.05; }
.lp-closing p { color: var(--text-dim); max-width: 42ch; margin: 0 auto 32px; line-height: 1.6; font-family: "Barlow", sans-serif; }
.lp-closing img { height: 52px; margin: 0 auto; }
.lp-closing .trust { margin-top: 20px; font-size: 0.76rem; color: var(--text-dim); font-family: "JetBrains Mono", monospace; }

.lp-footer { text-align: center; padding: 26px 0 40px; color: var(--text-dim); font-size: 0.76rem; font-family: "JetBrains Mono", monospace; border-top: 1px solid var(--line); }
.lp-footer a { color: var(--r-milspec); text-decoration: underline; text-underline-offset: 2px; }
.lp-footer a:hover { color: var(--r-classified); }

/* ---------- scroll-build engine ---------- */

[data-build] { --p: 0; opacity: var(--p); transform: translateY(calc((1 - var(--p)) * 32px)); }
html:not(.has-js) [data-build] { opacity: 1; transform: none; }
[data-build="left"] { transform: translate(calc((1 - var(--p)) * -40px), 0); }
[data-build="right"] { transform: translate(calc((1 - var(--p)) * 40px), 0); }
[data-build="wipe"] { clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0); opacity: 1; transform: none; }
html:not(.has-js) [data-build="wipe"] { clip-path: none; }

/* ---------- animations ---------- */

@keyframes lp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes lp-scan-line { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes lp-radar { 0% { opacity: 0.9; transform: scale(0.4); } 100% { opacity: 0; transform: scale(2.2); } }

@media (prefers-reduced-motion: reduce) {
    [data-build] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
    .inspect__scan, .lp-tag .radar::before, .lp-tag .radar::after, .inspect__live i, .feed__row.is-pending .feed__arrow { animation: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
    .lp-hero__grid { grid-template-columns: 1fr; }
    .lp-hero__bgimg { display: none; }
    .inspect { margin: 0 auto; }
    .lp-rounds { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
    .lp-rounds__line { display: none; }
    .lp-features { grid-template-columns: repeat(2, 1fr); }
    .lp-spine { display: none; }
    .arsenal__grid { grid-template-columns: repeat(2, 1fr); }
    .arsenal__item:nth-child(2), .arsenal__item:nth-child(4) { margin-top: 0; }
    .arsenal__item:nth-child(3), .arsenal__item:nth-child(4) { margin-top: 24px; }
}

@media (max-width: 560px) {
    .lp-nav { padding: 16px 18px; }
    .lp-shell { padding-left: 18px; padding-right: 18px; }
    .arsenal__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .lp-rounds { grid-template-columns: 1fr; }
    .lp-features { grid-template-columns: 1fr; }
    .patchline { grid-template-columns: 1fr; gap: 6px; }
    .feed__row { grid-template-columns: auto 1fr auto; }
    .feed__time { display: none; }
}
