/* NyxBot web: the landing page (NyxLanding.js). Tokens and components come from NyxStyle.css; here the page's own:
   the header, the hero and its core, the browser bot against NyxBot, the stealth and the warning, the Planner, the modes, the steps' rail, the modules' bento,
   a day of each, the fleet, the numbers, the FAQ, the call to action and the footer. */

.landing { overflow-x: hidden; }
main { position: relative; z-index: 1; }
.wrap-narrow { max-width: 860px; }
.lp-accent { color: var(--accent); text-shadow: 0 0 22px rgba(var(--accent-rgb), .35); }

/* ---------- The page's progress: a line under the header ---------- */
.lp-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 2px; pointer-events: none; }
.lp-progress > i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
    background: linear-gradient(90deg, rgba(var(--accent-rgb), .3), var(--accent)); box-shadow: 0 0 12px rgba(var(--accent-rgb), .7); }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--header) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(var(--accent-rgb), .18); transition: background .35s ease; }
.nav-inner { display: flex; align-items: center; gap: 18px; height: 64px; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { padding: 8px 12px; clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%); font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); transition: color .18s ease, background .18s ease; }
.nav-links a:hover { color: var(--text); background: rgba(var(--ink-rgb), .04); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; }
.mobile-menu { display: grid; gap: 2px; padding: 10px var(--gutter) 16px; border-top: 1px solid var(--border); background: var(--header); }
.mobile-menu[hidden] { display: none; }
.mobile-menu > a { padding: 12px 6px; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--border); }
.mobile-menu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 12px; }

/* ---------- Sections: a head (the heading, a big title, a lead), then the scene ---------- */
.lp-section { position: relative; padding-block: clamp(80px, 11vw, 150px) 0; scroll-margin-top: 40px; }
.lp-section.is-tight { padding-top: clamp(56px, 7vw, 96px); }
.lp-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.lp-head.is-center { margin-inline: auto; justify-items: center; text-align: center; }
.lp-head.is-center .heading { width: 100%; }
.lp-head h2 { font-family: var(--font-display); font-size: clamp(26px, 4.2vw, 48px); font-weight: 900; letter-spacing: 1.5px; line-height: 1.08; text-transform: uppercase; }
.lp-head p { max-width: 62ch; color: var(--muted); font-size: 16.5px; line-height: 1.7; }

/* ---------- Hero ---------- */
/* (the hero fills the window under the header: its content in the middle, the scroll mark and a line at its foot) */
.lp-hero { position: relative; display: grid; align-content: center; min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); padding-block: 24px 72px; }
.lp-hero::after { content: ''; position: absolute; left: 50%; bottom: 0; width: min(1100px, 90%); height: 1px; transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .55), transparent); box-shadow: 0 0 14px rgba(var(--accent-rgb), .5); }
.lp-hero::before { content: ''; position: absolute; inset: -10% -20% auto; height: 120%; z-index: -1; pointer-events: none;
    background: radial-gradient(40% 50% at 72% 45%, rgba(var(--accent-rgb), .16), transparent 70%), radial-gradient(30% 40% at 15% 30%, rgba(var(--accent-rgb), .07), transparent 70%); }
.lp-hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.lp-hero-copy { display: grid; gap: 24px; justify-items: start; }
.lp-title { display: grid; gap: 4px; font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 64px); font-weight: 900; letter-spacing: 1px; line-height: 1.02; text-transform: uppercase; }
.lp-title-line { display: block; }
.lp-shine { background: linear-gradient(100deg, var(--accent) 0%, var(--accent) 38%, #fff 50%, var(--accent) 62%, var(--accent) 100%); background-size: 250% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 22px rgba(var(--accent-rgb), .45)); animation: brand-sweep 4.5s ease-in-out infinite; }
.lp-lead { display: grid; gap: 10px; max-width: 54ch; color: var(--muted); font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.65; }
.lp-lead strong { color: var(--text); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.hero-facts > span { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts > span::before { content: ''; width: 5px; height: 5px; border-radius: 1.5px; background: var(--accent); box-shadow: 0 0 5px rgba(var(--accent-rgb), .5); }
.lp-scroll { position: absolute; left: 50%; bottom: 14px; width: 22px; height: 36px; margin-left: -11px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(var(--ink-rgb), .25); }
.lp-scroll > i { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: lp-wheel 1.8s ease-in-out infinite; }
@keyframes lp-wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* (the core: an orbit leaning toward the pointer, the news beside it) */
.lp-core { --tilt-x: 0; --tilt-y: 0; position: relative; aspect-ratio: 1; width: min(100%, 560px, calc(100svh - 64px - 150px)); justify-self: center; perspective: 1000px; }
/* (NyxBot's emblem at the heart: its rings turning, its flare, leaning with the orbit) */
.lp-core-emblem { position: absolute; left: 50%; top: 50%; z-index: 1; width: 27%; aspect-ratio: 1; display: grid; place-items: center; pointer-events: none;
    transform: translate(-50%, -50%) rotateX(calc(var(--tilt-x) * 1deg)) rotateY(calc(var(--tilt-y) * 1deg)); transition: transform .4s var(--ease-out); }
.lp-core-emblem .brand-mark { width: 100%; height: 100%; filter: drop-shadow(0 0 18px rgba(var(--accent-rgb), .75)); }
.lp-core-emblem .brand-mark svg { width: 100%; height: 100%; }
.lp-core canvas { position: absolute; inset: -6%; width: 112%; height: 112%; }
.lp-core-svg { position: relative; width: 100%; height: 100%; overflow: visible; transform: rotateX(calc(var(--tilt-x) * 1deg)) rotateY(calc(var(--tilt-y) * 1deg)); transition: transform .4s var(--ease-out); }
.lp-core-glow-a { stop-color: var(--accent); stop-opacity: .45; }
.lp-core-glow-b { stop-color: var(--accent); stop-opacity: 0; }
.lp-ring { fill: none; stroke: rgba(var(--accent-rgb), .22); stroke-width: 1; }
.lp-ring.is-rim { stroke: rgba(var(--accent-rgb), .45); stroke-dasharray: 2 6; animation: lp-spin 120s linear infinite; transform-origin: 280px 280px; }
.lp-ring.is-heroes { stroke-dasharray: 1 5; }
.lp-ring.is-workers { stroke: rgba(var(--accent-rgb), .35); stroke-dasharray: 30 8 4 8; animation: lp-spin 40s linear infinite reverse; transform-origin: 280px 280px; }
.lp-ring.is-inner { stroke: rgba(var(--accent-rgb), .55); stroke-dasharray: 12 6; animation: lp-spin 18s linear infinite; transform-origin: 280px 280px; }
.lp-core-rim { animation: lp-spin 200s linear infinite reverse; transform-origin: 280px 280px; }
.lp-tick { stroke: rgba(var(--accent-rgb), .3); stroke-width: 1; }
.lp-tick.is-major { stroke: rgba(var(--accent-rgb), .7); stroke-width: 1.6; }
.lp-core-workers { animation: lp-spin 60s linear infinite; transform-origin: 280px 280px; }
.lp-worker { fill: color-mix(in srgb, var(--accent) 20%, var(--surface)); stroke: var(--accent); stroke-width: 1.2; }
.lp-core-label { font-family: var(--font-display); font-weight: 900; fill: var(--text); }
.lp-core-label.is-rim { font-size: 10px; letter-spacing: 6px; fill: var(--muted); }
.lp-link { stroke: rgba(var(--accent-rgb), .16); stroke-width: 1; }
.lp-hero-dot { fill: var(--accent); stroke: var(--deep); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), .9)); }
.lp-hero-halo { fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.lp-hero-halo.is-on { animation: lp-ping 1.2s ease-out; }
.lp-packet { fill: var(--accent); filter: drop-shadow(0 0 4px var(--accent)); }
.lp-packet.is-back { fill: var(--text); }
@keyframes lp-spin { to { transform: rotate(360deg); } }
@keyframes lp-breathe { 50% { transform: scale(1.06); } }
@keyframes lp-ping { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(4); } }
.lp-core-feed { position: absolute; left: 50%; bottom: -6%; display: grid; gap: 6px; width: min(300px, 70%); transform: translateX(-50%); pointer-events: none; }
.lp-core-news { display: flex; align-items: center; gap: 10px; padding: 7px 12px; font: 600 11px/1.2 var(--font-mono); color: var(--muted);
    background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
    box-shadow: inset 0 0 0 1px var(--border), inset 2px 0 0 var(--accent); }
.lp-core-news:nth-child(2) { opacity: .6; }
.lp-core-news:nth-child(3) { opacity: .3; }
.lp-core-news > b { color: var(--text); font-weight: 700; }
.lp-core-news > span { margin-left: auto; color: var(--accent); }
.lp-core-news.is-gold > span { color: rgb(var(--warning-rgb)); }
.lp-core-news.is-escape > span { color: var(--danger); }

/* ---------- The difference: two panes and the VS between ---------- */
.lp-versus { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: stretch; }
.lp-pane { --pane-rgb: var(--accent-rgb); position: relative; display: grid; gap: 14px; align-content: start; padding: 18px;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
    background: linear-gradient(170deg, rgba(var(--pane-rgb), .08), transparent 40%), var(--surface); box-shadow: inset 0 0 0 1px rgba(var(--pane-rgb), .28), inset 0 2px 0 rgba(var(--pane-rgb), .6); }
.lp-pane.is-them { --pane-rgb: var(--danger-rgb); }
.lp-pane-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lp-pane-tag { font: 900 13px/1 var(--font-display); letter-spacing: 1.6px; text-transform: uppercase; }
.lp-pane-state { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; font: 800 9px/1 var(--font-mono); letter-spacing: 1.2px; }
.lp-pane-state::before { content: ''; width: 6px; height: 6px; transform: rotate(45deg); background: currentColor; box-shadow: 0 0 8px currentColor; animation: lp-blink 1s steps(2) infinite; }
.lp-pane-state.is-bad { color: var(--danger); box-shadow: inset 0 0 0 1px rgba(var(--danger-rgb), .5); }
.lp-pane-state.is-good { color: rgb(var(--success-rgb)); box-shadow: inset 0 0 0 1px rgba(var(--success-rgb), .5); }
.lp-pane-state.is-good::before { animation: lp-blink 2.2s ease-in-out infinite; }
@keyframes lp-blink { 50% { opacity: .3; } }
.lp-browser, .lp-wire { overflow: hidden; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px var(--border); }
.lp-browser-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--border); background: rgba(var(--ink-rgb), .03); }
.lp-browser-bar > i { width: 8px; height: 8px; border-radius: 50%; background: rgba(var(--ink-rgb), .18); }
.lp-browser-url { flex: 1; margin-left: 8px; padding: 4px 9px; overflow: hidden; color: var(--muted); font: 500 10.5px/1 var(--font-mono); white-space: nowrap; text-overflow: ellipsis; background: rgba(0, 0, 0, .25); }
.lp-browser-view { position: relative; height: 168px; overflow: hidden;
    background: repeating-linear-gradient(0deg, rgba(var(--ink-rgb), .03) 0 1px, transparent 1px 16px), repeating-linear-gradient(90deg, rgba(var(--ink-rgb), .03) 0 1px, transparent 1px 16px); }
.lp-ghost-button { position: absolute; height: 22px; background: rgba(var(--ink-rgb), .06); box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .12); animation: lp-shift 5s ease-in-out infinite; }
.lp-ghost-button.is-a { left: 12%; top: 22%; width: 26%; }
.lp-ghost-button.is-b { left: 54%; top: 46%; width: 30%; animation-delay: -1.6s; }
.lp-ghost-button.is-c { left: 20%; top: 70%; width: 22%; animation-delay: -3.1s; }
@keyframes lp-shift { 50% { transform: translate(14px, -6px); } }
.lp-cursor { --x: 30%; --y: 40%; position: absolute; left: var(--x); top: var(--y); width: 14px; height: 18px; transition: left .7s cubic-bezier(.5, 0, .3, 1), top .7s cubic-bezier(.5, 0, .3, 1);
    background: var(--text); clip-path: polygon(0 0, 100% 72%, 55% 72%, 78% 100%, 62% 100%, 40% 76%, 0 100%); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); }
.lp-popup { position: absolute; left: 50%; top: 50%; padding: 9px 14px; transform: translate(-50%, -50%); color: var(--danger); font: 800 11px/1.2 var(--font-mono); letter-spacing: .5px; white-space: nowrap;
    background: color-mix(in srgb, var(--danger) 12%, var(--deep)); box-shadow: inset 0 0 0 1px rgba(var(--danger-rgb), .7), 0 10px 30px rgba(0, 0, 0, .5); animation: lp-pop .25s var(--ease-out); }
.lp-popup[hidden] { display: none; }
@keyframes lp-pop { from { opacity: 0; transform: translate(-50%, -40%) scale(.9); } }
.lp-wire-log { display: grid; align-content: end; gap: 4px; height: 168px; padding: 10px 12px; overflow: hidden; font: 500 11.5px/1.3 var(--font-mono); }
.lp-wire-line { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 8px; animation: lp-line-in .3s var(--ease-out); }
.lp-wire-line > i { font-style: normal; font-weight: 700; }
.lp-wire-line.is-out > i { color: var(--accent); }
.lp-wire-line.is-in > i { color: rgb(var(--success-rgb)); }
.lp-wire-line > span { overflow: hidden; color: var(--text); white-space: nowrap; text-overflow: ellipsis; }
.lp-wire-line > small { color: var(--muted); }
@keyframes lp-line-in { from { opacity: 0; transform: translateY(6px); } }
.lp-meters { display: grid; gap: 8px; }
.lp-meter { display: grid; grid-template-columns: 34px minmax(0, 1fr) 64px; align-items: center; gap: 10px; font: 700 10px/1 var(--font-mono); letter-spacing: .8px; color: var(--muted); }
.lp-meter > s { position: relative; height: 8px; overflow: hidden; background: rgba(var(--ink-rgb), .06); }
.lp-meter u { --share: 0; position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--share)); transition: transform .6s var(--ease-out); background: linear-gradient(90deg, rgba(var(--danger-rgb), .5), var(--danger)); }
.lp-meter.is-good u { background: linear-gradient(90deg, rgba(var(--success-rgb), .5), rgb(var(--success-rgb))); }
.lp-meter > b { color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.lp-pane-log { display: grid; gap: 6px; min-height: 124px; margin: 0; padding: 0; list-style: none; }
.lp-pane-log li { display: grid; grid-template-columns: 14px auto minmax(0, 1fr); align-items: center; gap: 8px; font-size: 12.5px; animation: lp-line-in .35s var(--ease-out); }
.lp-pane-log li.is-bad { color: var(--danger); }
.lp-pane-log li.is-good { color: rgb(var(--success-rgb)); }
.lp-pane-log li > b { color: var(--text); font-weight: 700; }
.lp-pane-log li > small { overflow: hidden; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.lp-versus-vs { display: grid; place-items: center; }
.lp-versus-vs > b { position: relative; z-index: 0; display: grid; place-items: center; width: 56px; height: 56px; padding-left: 2px; font: 900 15px/1 var(--font-display); letter-spacing: 1px; color: var(--accent); }
.lp-versus-vs > b::before { content: ''; position: absolute; inset: 0; z-index: -1; transform: rotate(45deg); background: var(--deep); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .6), 0 0 30px rgba(var(--accent-rgb), .3); }
.lp-note { margin-top: 12px; color: var(--muted); font: 500 11px/1.4 var(--font-mono); text-align: center; opacity: .7; }

/* (the table: a row each, the browser bots' side struck, NyxBot's lit) */
.lp-compare { display: grid; gap: 6px; margin-top: clamp(40px, 6vw, 72px); }
.lp-compare-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 16px; padding: 14px 18px; font-size: 14px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); transition: box-shadow .2s ease, background .2s ease; }
.lp-compare-row:not(.is-head):hover { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .35), inset 3px 0 0 var(--accent); }
.lp-compare-row.is-head { padding-block: 8px; background: none; box-shadow: none; font: 800 10px/1 var(--font-display); letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.lp-compare-row.is-head .is-us { color: var(--accent); }
.lp-compare-row > span { color: var(--muted); font-weight: 600; }
.lp-compare-row > em { color: var(--muted); font-style: normal; text-decoration: line-through; text-decoration-color: rgba(var(--danger-rgb), .7); }
.lp-compare-row > em::before { content: '✕'; margin-right: 9px; color: var(--danger); text-decoration: none; display: inline-block; }
.lp-compare-row > strong { color: var(--text); font-weight: 700; }
.lp-compare-row > strong::before { content: '✓'; margin-right: 9px; color: var(--accent); }

/* ---------- How it works: the rail and its four steps ---------- */
.lp-flow { position: relative; display: grid; gap: 22px; margin: 0; padding: 0 0 0 64px; list-style: none; }
.lp-flow-rail { position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: repeating-linear-gradient(180deg, rgba(var(--ink-rgb), .16) 0 6px, transparent 6px 11px); }
.lp-flow-rail > b { position: absolute; inset: 0; transform-origin: 50% 0; transform: scaleY(var(--fill, 0)); background: linear-gradient(180deg, rgba(var(--accent-rgb), .4), var(--accent)); box-shadow: 0 0 14px rgba(var(--accent-rgb), .8); }
.lp-step { position: relative; }
.lp-step-mark { position: absolute; left: -64px; top: 18px; display: grid; place-items: center; width: 44px; height: 44px; font: 900 12px/1 var(--font-display); color: var(--muted);
    background: var(--deep); clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px)); box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .2); transition: color .4s ease, background .4s ease, box-shadow .4s ease; }
.lp-step.is-on .lp-step-mark { color: var(--on-accent); background: var(--accent); box-shadow: 0 0 22px rgba(var(--accent-rgb), .6); }
.lp-step-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 26px; row-gap: 8px; align-items: start; padding: 22px 26px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border);
    opacity: .5; transform: translateX(12px); transition: opacity .5s ease, transform .5s var(--ease-out), box-shadow .5s ease; }
.lp-step.is-on .lp-step-card { opacity: 1; transform: none; box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .3), inset 3px 0 0 var(--accent); }
.lp-step-card h3 { grid-column: 2; font: 900 clamp(16px, 1.8vw, 20px)/1.2 var(--font-display); letter-spacing: 1px; text-transform: uppercase; }
.lp-step-card p { grid-column: 2; color: var(--muted); line-height: 1.65; }
.lp-step-art { grid-row: 1 / span 2; position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; height: 96px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), .12), transparent 70%); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .18); }
.lp-step-art > i { display: block; }
.lp-step-art.is-account > i { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--accent); }
.lp-step-art.is-account > i:last-child { border-radius: 0; transform: rotate(45deg) scale(.8); }
.lp-step-art.is-account > s { width: 34px; height: 2px; background: linear-gradient(90deg, var(--accent) 50%, transparent 50%); background-size: 8px 2px; animation: lp-flow-dash .6s linear infinite; }
@keyframes lp-flow-dash { to { background-position: 8px 0; } }
.lp-step-art.is-server { flex-direction: column; gap: 5px; }
.lp-step-art.is-server > i { width: 76px; height: 16px; box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .6); background: linear-gradient(90deg, var(--accent) 0 6px, transparent 6px); background-size: 100% 100%; animation: lp-server 1.6s ease-in-out infinite; }
.lp-step-art.is-server > i:nth-child(2) { animation-delay: .25s; }
.lp-step-art.is-server > i:nth-child(3) { animation-delay: .5s; }
@keyframes lp-server { 50% { box-shadow: inset 0 0 0 1px var(--accent), 0 0 12px rgba(var(--accent-rgb), .4); } }
.lp-step-art.is-modules { display: grid; grid-template-columns: repeat(2, 26px); gap: 8px; }
.lp-step-art.is-modules > i { width: 26px; height: 14px; border-radius: 7px; background: rgba(var(--ink-rgb), .12); position: relative; animation: lp-switch 3.2s ease-in-out infinite; }
.lp-step-art.is-modules > i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--text); animation: lp-knob 3.2s ease-in-out infinite; animation-delay: inherit; }
.lp-step-art.is-modules > i:nth-child(2) { animation-delay: .4s; }
.lp-step-art.is-modules > i:nth-child(3) { animation-delay: .8s; }
.lp-step-art.is-modules > i:nth-child(4) { animation-delay: 1.2s; }
@keyframes lp-switch { 30%, 80% { background: var(--accent); } }
@keyframes lp-knob { 30%, 80% { transform: translateX(12px); } }
.lp-step-art.is-watch > i { width: 44px; height: 70px; border-radius: 8px; box-shadow: inset 0 0 0 2px var(--accent); position: relative;
    background: linear-gradient(180deg, transparent 20%, rgba(var(--accent-rgb), .3) 20% 24%, transparent 24% 40%, rgba(var(--accent-rgb), .3) 40% 44%, transparent 44%); background-size: 100% 200%; animation: lp-phone 2.4s linear infinite; }
@keyframes lp-phone { to { background-position: 0 -140px; } }

/* ---------- Modules: the bento ---------- */
.lp-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lp-card { --spot-x: 50%; --spot-y: 50%; position: relative; display: grid; grid-template-rows: 140px auto; gap: 16px; padding: 18px; overflow: hidden; isolation: isolate;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border);
    transition: box-shadow .25s ease, transform .25s var(--ease-out); }
.lp-card.is-wide { grid-column: span 2; }
.lp-card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s ease;
    background: radial-gradient(260px circle at var(--spot-x) var(--spot-y), rgba(var(--accent-rgb), .16), transparent 70%); }
.lp-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .45), 0 20px 50px rgba(0, 0, 0, .35); }
.lp-card:hover::before { opacity: 1; }
.lp-viz { position: relative; display: grid; place-items: center; overflow: hidden; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px var(--border);
    background-image: repeating-linear-gradient(0deg, rgba(var(--accent-rgb), .04) 0 1px, transparent 1px 14px), repeating-linear-gradient(90deg, rgba(var(--accent-rgb), .04) 0 1px, transparent 1px 14px); }
.lp-card-copy { display: grid; gap: 8px; align-content: start; }
.lp-card-tag { justify-self: start; padding: 4px 8px; color: var(--accent); font: 800 9px/1 var(--font-mono); letter-spacing: 1.4px; text-transform: uppercase; box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .4); }
.lp-card-copy h3 { font: 900 15px/1.25 var(--font-display); letter-spacing: .8px; text-transform: uppercase; }
.lp-card-copy p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
/* (exp) */
.lp-exp-chart { position: absolute; inset: 14px 0 0; width: 100%; height: calc(100% - 14px); }
.lp-exp-line { fill: none; stroke: var(--accent); stroke-width: 2.4; filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), .8)); transition: d .8s var(--ease-out); }
.lp-exp-area { fill: rgba(var(--accent-rgb), .12); transition: d .8s var(--ease-out); }
.lp-exp-count { position: absolute; left: 14px; top: 12px; color: var(--accent); font: 900 18px/1 var(--font-display); letter-spacing: 1px; text-shadow: 0 0 14px rgba(var(--accent-rgb), .6); }
/* (quests) */
.lp-quest-list { display: grid; gap: 7px; width: 82%; margin: 0; padding: 0; list-style: none; }
.lp-quest-list li { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; transition: color .3s ease; }
.lp-quest-list li > i { display: grid; place-items: center; width: 16px; height: 16px; color: transparent; box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .25); transition: background .3s ease, color .3s ease; }
.lp-quest-list li.is-on { color: var(--accent); }
.lp-quest-list li.is-on > i { box-shadow: inset 0 0 0 1px var(--accent); animation: lp-blink 1s ease-in-out infinite; }
.lp-quest-list li.is-done { color: var(--text); }
.lp-quest-list li.is-done > i { color: var(--on-accent); background: var(--accent); box-shadow: none; }
/* (captcha) */
.lp-captcha { display: grid; grid-template-columns: repeat(3, 28px); gap: 5px; }
.lp-captcha > i { width: 28px; height: 28px; background: rgba(var(--ink-rgb), .07); box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .12); transition: background .2s ease, box-shadow .2s ease; }
.lp-captcha > i.is-scan { box-shadow: inset 0 0 0 2px var(--text); }
.lp-captcha > i.is-right { background: rgba(var(--accent-rgb), .5); box-shadow: inset 0 0 0 1px var(--accent), 0 0 10px rgba(var(--accent-rgb), .5); }
.lp-captcha-state { position: absolute; right: 10px; bottom: 8px; color: var(--accent); font: 800 9px/1 var(--font-mono); letter-spacing: 1.2px; text-transform: uppercase; }
/* (healing) */
.lp-heal { display: flex; align-items: center; gap: 14px; width: 84%; }
.lp-heal-flask { display: grid; place-items: center; width: 38px; height: 38px; color: var(--muted); box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .2); transition: color .3s ease, box-shadow .3s ease; }
.lp-heal-flask.is-on { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent), 0 0 18px rgba(var(--accent-rgb), .6); }
.lp-heal-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) 38px; align-items: center; gap: 8px; flex: 1; font: 700 10px/1 var(--font-mono); color: var(--muted); }
.lp-heal-bar > s { position: relative; height: 10px; overflow: hidden; background: rgba(var(--ink-rgb), .07); }
.lp-heal-bar u { --share: 1; position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--share)); background: rgb(var(--success-rgb)); transition: transform .6s var(--ease-out), background .3s ease; }
.lp-heal-bar u.is-low { background: var(--danger); }
.lp-heal-bar > b { color: var(--text); text-align: right; }
/* (escape) */
.lp-escape { width: 100%; height: 100%; }
.lp-danger { fill: rgba(var(--danger-rgb), .12); stroke: rgba(var(--danger-rgb), .6); stroke-dasharray: 4 4; animation: lp-danger 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.lp-danger-core { fill: var(--danger); filter: drop-shadow(0 0 8px var(--danger)); }
@keyframes lp-danger { 50% { transform: scale(1.12); } }
.lp-escape-straight { fill: none; stroke: rgba(var(--danger-rgb), .35); stroke-width: 1.5; stroke-dasharray: 3 5; }
.lp-escape-path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 5; animation: lp-march 1s linear infinite; }
@keyframes lp-march { to { stroke-dashoffset: -11; } }
.lp-escape-hero { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
/* (hunts) */
.lp-hunt { position: absolute; inset: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.lp-hunt-map { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .18); background: rgba(var(--accent-rgb), .03); }
.lp-hunter, .lp-hunt-target { --x: 50%; --y: 50%; position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); transition: left 1s cubic-bezier(.5, 0, .3, 1), top 1s cubic-bezier(.5, 0, .3, 1); }
.lp-hunter { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.lp-hunt-target { display: grid; place-items: center; width: 26px; height: 26px; color: rgb(var(--warning-rgb)); opacity: .25; transition: left 0s, top 0s, opacity .4s ease; }
.lp-hunt-target.is-found { opacity: 1; filter: drop-shadow(0 0 8px rgb(var(--warning-rgb))); animation: lp-breathe 1s ease-in-out infinite; }
.lp-hunt-state { position: absolute; right: 12px; bottom: 8px; color: var(--accent); font: 800 9px/1 var(--font-mono); letter-spacing: 1.2px; text-transform: uppercase; }
/* (selling) */
.lp-sell { display: flex; align-items: center; gap: 22px; }
.lp-sell-bag { display: grid; grid-template-columns: repeat(4, 22px); gap: 4px; }
.lp-sell-bag > i { width: 22px; height: 22px; box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .12); transition: background .3s ease, transform .5s var(--ease-out), opacity .5s ease; }
.lp-sell-bag > i.is-full { background: rgba(var(--ink-rgb), .14); }
.lp-sell-bag > i.is-junk { background: rgba(var(--danger-rgb), .35); box-shadow: inset 0 0 0 1px var(--danger); }
.lp-sell-bag > i.is-sold { transform: translateX(60px) scale(.3); opacity: 0; }
.lp-sell-purse { display: grid; justify-items: center; gap: 6px; color: rgb(var(--warning-rgb)); }
.lp-sell-gold { font: 800 13px/1 var(--font-mono); }
/* (routes) */
.lp-route { width: 100%; height: 100%; }
.lp-route-edge { stroke: rgba(var(--ink-rgb), .14); stroke-width: 1.5; transition: stroke .3s ease; }
.lp-route-edge.is-on { stroke: var(--accent); stroke-width: 2.5; filter: drop-shadow(0 0 4px var(--accent)); }
.lp-route-node { fill: var(--deep); stroke: rgba(var(--ink-rgb), .3); stroke-width: 1.5; transition: fill .3s ease, stroke .3s ease; }
.lp-route-node.is-on { fill: var(--accent); stroke: var(--accent); }

/* ---------- A day of each ---------- */
.lp-day { position: relative; display: grid; gap: 14px; padding: 24px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.lp-day-hours { display: flex; justify-content: space-between; margin-left: 132px; margin-right: 110px; color: var(--muted); font: 600 10px/1 var(--font-mono); }
.lp-day-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 12px; }
.lp-day-label { font: 800 10.5px/1 var(--font-display); letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.lp-day-row.is-us .lp-day-label { color: var(--accent); }
.lp-day-bar { display: grid; grid-template-columns: repeat(48, minmax(0, 1fr)) 100px; gap: 2px; align-items: center; }
.lp-day-bar > i { height: 30px; transition: transform .2s ease; }
.lp-day-bar > i.is-play { background: rgba(var(--accent-rgb), .55); }
.lp-day-row.is-us .lp-day-bar > i.is-play { background: var(--accent); box-shadow: 0 0 8px rgba(var(--accent-rgb), .35); }
.lp-day-bar > i.is-off { background: rgba(var(--ink-rgb), .06); }
.lp-day-bar > i.is-crash { background: var(--danger); }
.lp-day-bar > i.is-now { transform: scaleY(1.3); }
.lp-day-sum { padding-left: 12px; color: var(--text); font: 800 12px/1 var(--font-mono); white-space: nowrap; }
.lp-day-row.is-us .lp-day-sum { color: var(--accent); }
.lp-day-now { display: none; }
.lp-day-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: 132px; color: var(--muted); font: 600 11px/1 var(--font-mono); }
.lp-day-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.lp-day-legend > span::before { content: ''; width: 12px; height: 12px; }
.lp-day-legend > .is-play::before { background: var(--accent); }
.lp-day-legend > .is-off::before { background: rgba(var(--ink-rgb), .1); }
.lp-day-legend > .is-crash::before { background: var(--danger); }
.lp-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.lp-pillar { display: grid; gap: 8px; padding: 20px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border), inset 0 2px 0 rgba(var(--accent-rgb), .5); }
.lp-pillar > span { color: var(--accent); }
.lp-pillar > b { font: 900 13px/1.3 var(--font-display); letter-spacing: .8px; text-transform: uppercase; }
.lp-pillar > small { color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* ---------- Watch it live: the copy beside the fleet ---------- */
.lp-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.lp-split .lp-head { margin-bottom: 0; }
.lp-checks { display: grid; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.lp-checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.lp-checks li > span { display: grid; place-items: center; width: 22px; height: 22px; color: var(--on-accent); background: var(--accent); clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 0 100%); }
.lp-fleet { padding: 16px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); background: linear-gradient(170deg, rgba(var(--accent-rgb), .08), transparent 40%), var(--surface);
    box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .25), 0 30px 80px rgba(0, 0, 0, .4); }
.lp-fleet-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 14px; border-bottom: 1px dashed var(--border); }
.lp-fleet-title { font: 900 13px/1 var(--font-display); letter-spacing: 1.4px; text-transform: uppercase; }
.lp-fleet-live { display: inline-flex; align-items: center; gap: 7px; color: rgb(var(--success-rgb)); font: 700 10px/1 var(--font-mono); letter-spacing: 1px; text-transform: uppercase; }
.lp-fleet-live > i { width: 7px; height: 7px; transform: rotate(45deg); background: currentColor; box-shadow: 0 0 8px currentColor; animation: lp-blink 1.6s ease-in-out infinite; }
.lp-fleet-rows { display: grid; gap: 6px; margin-top: 12px; }
.lp-fleet-row { display: grid; grid-template-columns: 40px minmax(0, 1.2fr) minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 14px; padding: 10px 12px;
    background: rgba(0, 0, 0, .18); box-shadow: inset 0 0 0 1px var(--border); clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%); }
.lp-fleet-row.is-changed { animation: lp-row-flash .7s ease-out; }
.lp-fleet-row.is-up .lp-fleet-level { animation: lp-level 1.2s ease-out; }
@keyframes lp-row-flash { from { background: rgba(var(--accent-rgb), .12); } }
@keyframes lp-level { 0%, 40% { color: var(--on-accent); background: var(--accent); } }
.lp-fleet-avatar { display: grid; place-items: center; width: 40px; height: 40px; font: 900 12px/1 var(--font-display); color: var(--accent);
    background: rgba(var(--accent-rgb), .1); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .4); clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px)); }
.lp-fleet-id { display: grid; gap: 3px; min-width: 0; }
.lp-fleet-id > b { font-weight: 800; }
.lp-fleet-id > small { display: flex; gap: 6px; color: var(--muted); font-size: 11px; }
.lp-fleet-level { padding: 0 4px; font-weight: 700; }
.lp-fleet-map { overflow: hidden; color: var(--muted); font: 500 10.5px/1.2 var(--font-mono); white-space: nowrap; text-overflow: ellipsis; }
.lp-fleet-what { display: grid; gap: 4px; min-width: 0; }
.lp-fleet-state { --state: var(--accent); justify-self: start; padding: 4px 8px; color: var(--state); font: 800 9px/1 var(--font-mono); letter-spacing: 1.1px; box-shadow: inset 0 0 0 1px currentColor; }
.lp-fleet-state[data-kind="battle"] { --state: var(--danger); }
.lp-fleet-state[data-kind="loot"] { --state: rgb(var(--warning-rgb)); }
.lp-fleet-state[data-kind="talk"] { --state: var(--cyan); }
.lp-fleet-state[data-kind="map"], .lp-fleet-state[data-kind="walk"] { --state: var(--text); }
.lp-fleet-doing { overflow: hidden; color: var(--muted); font-size: 11.5px; white-space: nowrap; text-overflow: ellipsis; }
.lp-fleet-bars { display: grid; gap: 6px; }
.lp-fleet-bar { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 6px; }
.lp-fleet-bar > i { color: var(--muted); font: 700 8.5px/1 var(--font-mono); font-style: normal; }
.lp-fleet-bar > s { position: relative; height: 6px; overflow: hidden; background: rgba(var(--ink-rgb), .07); }
.lp-fleet-bar u { --share: 0; position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--share)); transition: transform .7s var(--ease-out); }
.lp-fleet-bar.is-hp u { background: rgb(var(--success-rgb)); }
.lp-fleet-bar.is-exp u { background: var(--accent); }

/* ---------- The numbers ---------- */
.lp-numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lp-number { display: grid; gap: 8px; padding: 26px 20px; text-align: center; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
    background: radial-gradient(80% 100% at 50% 0%, rgba(var(--accent-rgb), .12), transparent 70%), var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.lp-number > b { color: var(--accent); font: 900 clamp(28px, 3.6vw, 44px)/1 var(--font-display); font-variant-numeric: tabular-nums; text-shadow: 0 0 20px rgba(var(--accent-rgb), .45); }
.lp-number > span { color: var(--muted); font: 700 10.5px/1.3 var(--font-mono); letter-spacing: 1.2px; text-transform: uppercase; }

/* ---------- FAQ, the call to action, the footer ---------- */
.faq { display: grid; gap: 8px; }
.faq details { clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%); border: 1px solid var(--border); background: var(--surface); transition: border-color .3s; }
.faq details[open] { border-color: rgba(var(--accent-rgb), .35); }
.faq summary { position: relative; padding: 18px 56px 18px 22px; list-style: none; cursor: pointer; font-weight: 700; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease-out), border-color .3s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); border-color: var(--accent); }
.faq details p { padding: 0 22px 20px; color: var(--muted); line-height: 1.7; font-size: 14.5px; animation: lp-line-in .4s var(--ease-out); }
.cta { padding-block: clamp(72px, 9vw, 120px); }
.cta-card { position: relative; display: grid; gap: 18px; justify-items: center; text-align: center; padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px); overflow: hidden; isolation: isolate;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); background: radial-gradient(80% 120% at 50% 0%, rgba(var(--accent-rgb), .2), transparent 60%), var(--surface); border: 1px solid rgba(var(--accent-rgb), .3); }
.cta-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(135deg, rgba(var(--ink-rgb), .025) 0 1px, transparent 1px 10px); -webkit-mask: radial-gradient(60% 80% at 50% 100%, #000, transparent); mask: radial-gradient(60% 80% at 50% 100%, #000, transparent); }
.cta-card h2 { font-family: var(--font-display); font-size: clamp(26px, 4vw, 46px); letter-spacing: 2px; text-transform: uppercase; }
.cta-card p { color: var(--muted); font-size: 16px; max-width: 46ch; }
.cta-card .hero-actions { justify-content: center; }
.footer { position: relative; z-index: 1; border-top: 1px solid var(--border); background: rgba(0, 0, 0, .2); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-block: 28px 14px; }
.footer-inner p { font-size: 11px; letter-spacing: .6px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; margin-left: auto; font-size: 12px; font-weight: 700; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-bottom { padding-block: 0 24px; color: var(--muted); font-size: 12px; }

/* ---------- Transitions: things rise out of a blur, titles wipe in, a section's divider draws, its number fades in ---------- */
.landing .reveal { opacity: 0; transform: translateY(34px) scale(.985); filter: blur(10px);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); transition-delay: calc(var(--reveal-index, 0) * 90ms); }
.landing .reveal.is-visible { opacity: 1; transform: none; filter: none; }
.lp-head { position: relative; }
.lp-head h2 { clip-path: inset(0 0 100% 0); transform: translateY(26px); transition: clip-path 1s var(--ease-out) .12s, transform 1s var(--ease-out) .12s; }
.lp-head.is-visible h2 { clip-path: inset(-10% -5% -20% -5%); transform: none; }
.lp-head[data-num]::after { content: attr(data-num); position: absolute; left: calc(100% + 30px); top: 10px; z-index: -1; pointer-events: none; font: 900 clamp(90px, 14vw, 190px)/1 var(--font-display);
    color: transparent; -webkit-text-stroke: 1px rgba(var(--accent-rgb), .16); opacity: 0; transform: translateX(40px); transition: opacity 1.2s ease .2s, transform 1.4s var(--ease-out) .2s; }
.lp-head.is-visible[data-num]::after { opacity: 1; transform: none; }
.lp-section::before { content: ''; position: absolute; left: 50%; top: 0; width: min(1100px, 90%); height: 1px; transform: translateX(-50%) scaleX(0); transform-origin: 50% 50%;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .7), transparent); box-shadow: 0 0 18px rgba(var(--accent-rgb), .6); transition: transform 1.4s var(--ease-out); }
.lp-section.is-seen::before { transform: translateX(-50%) scaleX(1); }
.lp-section.is-tight::before, #faq::before { display: none; }
/* (the hero's grid, lit round the pointer) */
.lp-hero-grid { --mx: 70%; --my: 40%; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(rgba(var(--accent-rgb), .12) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, rgba(var(--accent-rgb), .12) 1px, transparent 1px) 0 0 / 44px 44px;
    -webkit-mask: radial-gradient(340px circle at var(--mx) var(--my), #000, transparent 75%); mask: radial-gradient(340px circle at var(--mx) var(--my), #000, transparent 75%); }
.lp-hero { isolation: isolate; }

/* ---------- Undetected: the two plans, then the warning ---------- */
.lp-stealth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.lp-stealth-card { --card-rgb: var(--danger-rgb); display: grid; gap: 16px; align-content: start; padding: 22px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
    background: linear-gradient(170deg, rgba(var(--card-rgb), .08), transparent 45%), var(--surface); box-shadow: inset 0 0 0 1px rgba(var(--card-rgb), .28), inset 0 2px 0 rgba(var(--card-rgb), .6); }
.lp-stealth-card.is-us { --card-rgb: var(--accent-rgb); }
.lp-stealth-card > header { display: grid; gap: 8px; }
.lp-stealth-card > header > b { font: 900 clamp(17px, 2vw, 22px)/1.2 var(--font-display); letter-spacing: 1px; text-transform: uppercase; }
.lp-stealth-tag { justify-self: start; padding: 4px 9px; color: var(--danger); font: 800 9.5px/1 var(--font-mono); letter-spacing: 1.4px; text-transform: uppercase; box-shadow: inset 0 0 0 1px rgba(var(--danger-rgb), .5); }
.lp-stealth-tag.is-us { color: var(--accent); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .5); }
/* (theirs: a game's screen, the cursor dragging itself, its trails, the anti-cheat's eye, the stamp; the counters, the
   patterns noticed) */
.lp-fake-screen { position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px var(--border); }
.lp-fake-svg { display: block; width: 100%; height: auto; }
.lp-fake-bg { fill: rgba(0, 0, 0, .28); }
.lp-fake-button rect { fill: rgba(var(--ink-rgb), .06); stroke: rgba(var(--ink-rgb), .2); }
.lp-fake-button text { fill: var(--muted); font: 700 10px var(--font-mono); letter-spacing: .6px; text-transform: uppercase; }
.lp-fake-trace { --drawn: 1; fill: none; stroke: var(--danger); stroke-width: 1.6; opacity: .25; stroke-dasharray: 1 0; }
.lp-fake-trails .lp-fake-trace:last-child { opacity: .9; filter: drop-shadow(0 0 4px rgba(var(--danger-rgb), .8)); }
.lp-fake-cursor { fill: var(--text); stroke: var(--deep); stroke-width: 1; }
.lp-fake-ripple { fill: none; stroke: var(--text); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.lp-fake-ripple.is-on { animation: lp-ripple .5s ease-out; }
@keyframes lp-ripple { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(5); } }
.lp-fake-eye-ring { fill: rgba(var(--danger-rgb), .08); stroke: var(--danger); stroke-dasharray: 4 3; animation: lp-spin 4s linear infinite; transform-box: fill-box; transform-origin: center; }
.lp-fake-eye-dot { fill: var(--danger); filter: drop-shadow(0 0 6px var(--danger)); }
.lp-fake-stamp { position: absolute; left: 50%; top: 50%; padding: 8px 18px; color: var(--danger); font: 900 22px/1 var(--font-display); letter-spacing: 4px;
    box-shadow: inset 0 0 0 3px var(--danger); background: rgba(var(--danger-rgb), .12); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
    opacity: 0; transform: translate(-50%, -50%) rotate(-10deg) scale(1.8); pointer-events: none; transition: opacity .25s ease, transform .35s cubic-bezier(.2, 1.6, .4, 1); }
.lp-fake-stamp.is-on { opacity: 1; transform: translate(-50%, -50%) rotate(-10deg) scale(1); }
.lp-fake-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lp-fake-stats > span { display: grid; gap: 4px; padding: 10px 12px; background: rgba(0, 0, 0, .2); box-shadow: inset 0 0 0 1px var(--border); }
.lp-fake-stats b { color: var(--danger); font: 900 18px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.lp-fake-stats small { color: var(--muted); font: 700 9px/1.3 var(--font-mono); letter-spacing: .8px; text-transform: uppercase; }
.lp-flags { display: grid; gap: 6px; min-height: 92px; margin: 0; padding: 0; list-style: none; }
.lp-flags li { display: flex; align-items: center; gap: 9px; padding: 6px 10px; color: var(--danger); font-size: 12.5px; background: rgba(var(--danger-rgb), .07); box-shadow: inset 2px 0 0 var(--danger); animation: lp-line-in .35s var(--ease-out); }
.lp-flags li > span { color: var(--text); }
/* (ours: the game's client and NyxBot, their calls side by side, the same) */
.lp-match { display: grid; gap: 8px; padding: 14px; background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px var(--border); }
.lp-match-lane { display: grid; grid-template-columns: 130px minmax(0, 1fr); align-items: center; gap: 12px; }
.lp-match-name { color: var(--muted); font: 700 9.5px/1.2 var(--font-mono); letter-spacing: .8px; text-transform: uppercase; }
.lp-match-name.is-us { color: var(--accent); }
.lp-match-track { display: flex; justify-content: flex-end; gap: 6px; height: 28px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 30%); mask: linear-gradient(90deg, transparent, #000 30%); }
.lp-match-chip { display: grid; place-items: center; flex: 0 0 auto; padding: 0 10px; font: 700 11px/1 var(--font-mono); color: var(--text);
    background: rgba(var(--accent-rgb), .12); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .4); animation: lp-chip-in .45s var(--ease-out); }
.lp-match-lane:first-child .lp-match-chip { background: rgba(var(--ink-rgb), .06); box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .2); }
@keyframes lp-chip-in { from { opacity: 0; transform: translateX(30px); } }
.lp-match-mid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding-left: 142px; }
.lp-match-mid > i { height: 1px; background: rgba(var(--success-rgb), .4); }
.lp-match-mid > b { color: rgb(var(--success-rgb)); font: 900 10px/1 var(--font-display); letter-spacing: 3px; }
.lp-match-mid.is-hit > b { animation: lp-match .6s ease-out; }
@keyframes lp-match { from { text-shadow: 0 0 14px rgb(var(--success-rgb)); transform: scale(1.15); } }
.lp-keys { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-keys kbd { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; color: var(--muted); font: 800 12px/1 var(--font-mono); background: rgba(var(--ink-rgb), .05);
    box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .16), inset 0 -3px 0 rgba(0, 0, 0, .35); transition: transform .08s ease, color .08s ease, background .08s ease; }
.lp-keys kbd.is-down { color: var(--danger); background: rgba(var(--danger-rgb), .14); transform: translateY(2px); box-shadow: inset 0 0 0 1px rgba(var(--danger-rgb), .6); }
.lp-risk { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 12px; font: 700 10px/1.2 var(--font-mono); letter-spacing: .8px; color: var(--muted); text-transform: uppercase; }
.lp-risk > s { position: relative; height: 8px; overflow: hidden; background: rgba(var(--ink-rgb), .06); }
.lp-risk u { --share: .7; position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--share)); transition: transform .2s ease; background: linear-gradient(90deg, rgb(var(--warning-rgb)), var(--danger)); }
.lp-risk > b { grid-column: 1 / -1; color: var(--danger); font-size: 11px; }
.lp-layers { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lp-layers li { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; overflow: hidden; color: var(--muted); font-weight: 600;
    background: rgba(0, 0, 0, .2); box-shadow: inset 0 0 0 1px var(--border); clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%); transition: color .3s ease, box-shadow .3s ease; }
.lp-layers li > i { width: 10px; height: 10px; transform: rotate(45deg); box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .3); transition: background .3s ease, box-shadow .3s ease; }
.lp-layers li > b { color: transparent; font: 800 9.5px/1 var(--font-mono); letter-spacing: 1.4px; transition: color .3s ease; }
.lp-layers li.is-pass { color: var(--text); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .35), inset 3px 0 0 var(--accent); }
.lp-layers li.is-pass > i { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.lp-layers li.is-pass > b { color: rgb(var(--success-rgb)); }
.lp-layers li.is-scan::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .3), transparent); animation: lp-scan-row .5s linear; }
@keyframes lp-scan-row { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
.lp-verdict { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; color: var(--muted); font: 700 10.5px/1 var(--font-mono); letter-spacing: 1px; text-transform: uppercase;
    background: rgba(var(--success-rgb), .08); box-shadow: inset 0 0 0 1px rgba(var(--success-rgb), .4); }
.lp-verdict > b { color: rgb(var(--success-rgb)); font-size: 13px; letter-spacing: 1.4px; }
/* (the warning: amber, its tips each with what of NyxBot helps) */
.lp-warning { display: grid; gap: 20px; margin-top: 22px; padding: clamp(20px, 3vw, 30px); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
    background: repeating-linear-gradient(135deg, rgba(var(--warning-rgb), .045) 0 12px, transparent 12px 24px), var(--surface); box-shadow: inset 0 0 0 1px rgba(var(--warning-rgb), .4), inset 3px 0 0 rgb(var(--warning-rgb)); }
.lp-warning-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.lp-warning-icon { display: grid; place-items: center; width: 46px; height: 46px; color: rgb(var(--warning-rgb)); background: rgba(var(--warning-rgb), .12); box-shadow: inset 0 0 0 1px rgba(var(--warning-rgb), .5); animation: lp-blink 2.4s ease-in-out infinite; }
.lp-warning-head h3 { font: 900 clamp(18px, 2.2vw, 24px)/1.2 var(--font-display); letter-spacing: 1px; text-transform: uppercase; color: rgb(var(--warning-rgb)); }
.lp-warning-head p { margin-top: 6px; max-width: 70ch; color: var(--text); line-height: 1.65; }
.lp-tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lp-tip { display: grid; gap: 6px; align-content: start; padding: 14px 16px; background: rgba(0, 0, 0, .2); box-shadow: inset 0 0 0 1px var(--border); }
.lp-tip > b { font-weight: 800; }
.lp-tip > span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.lp-tip > em { justify-self: start; margin-top: 4px; padding: 4px 8px; color: var(--accent); font: 700 9.5px/1.2 var(--font-mono); font-style: normal; letter-spacing: .6px; box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .35); }
.lp-tip > em::before { content: '⟶ '; }

/* ---------- The Planner: its bar, the board with its wires and nodes, the run log ---------- */
.lp-planner { overflow: hidden; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
    background: var(--deep); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .3), 0 30px 90px rgba(0, 0, 0, .45), 0 0 60px rgba(var(--accent-rgb), .08); }
.lp-planner-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 12px 18px; border-bottom: 1px solid var(--border); background: var(--surface); }
.lp-planner-title { font: 900 12px/1 var(--font-display); letter-spacing: 1.4px; text-transform: uppercase; }
.lp-planner-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font: 700 9.5px/1 var(--font-mono); letter-spacing: .8px; text-transform: uppercase; }
.lp-planner-legend > i { display: inline-flex; align-items: center; gap: 6px; font-style: normal; }
.lp-planner-legend > i::before { content: ''; width: 9px; height: 9px; background: var(--kind); }
.lp-planner-run { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: rgb(var(--success-rgb)); font: 800 10px/1 var(--font-mono); letter-spacing: 1.2px; text-transform: uppercase; }
.lp-planner-run > i { width: 8px; height: 8px; transform: rotate(45deg); background: currentColor; box-shadow: 0 0 10px currentColor; animation: lp-blink 1.2s ease-in-out infinite; }
[data-kind="trigger"] { --kind: var(--gold); --kind-rgb: var(--gold-rgb); }
[data-kind="condition"] { --kind: var(--cyan); --kind-rgb: 34, 216, 255; }
[data-kind="activity"] { --kind: var(--accent); --kind-rgb: var(--accent-rgb); }
[data-kind="action"] { --kind: var(--success); --kind-rgb: var(--success-rgb); }
[data-kind="control"] { --kind: var(--danger); --kind-rgb: var(--danger-rgb); }
.lp-planner-body { display: grid; grid-template-columns: minmax(0, 1fr) 250px; }
.lp-graph { position: relative; aspect-ratio: 1000 / 520; margin: 14px; overflow: hidden;
    background: radial-gradient(circle, rgba(var(--ink-rgb), .09) 1px, transparent 1.5px) 0 0 / 22px 22px; }
.lp-graph-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lp-wire { fill: none; stroke: rgba(var(--ink-rgb), .16); stroke-width: 2; transition: stroke .4s ease; }
.lp-wire.is-hot { stroke: var(--accent); stroke-dasharray: 8 6; animation: lp-march .6s linear infinite; filter: drop-shadow(0 0 4px rgba(var(--accent-rgb), .8)); }
.lp-token { fill: #fff; filter: drop-shadow(0 0 6px var(--accent)) drop-shadow(0 0 12px var(--accent)); }
.lp-token-halo { fill: rgba(var(--accent-rgb), .22); }
/* (the plans' tabs: a number, the name, what it does, a bar filling while it plays) */
.lp-configs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.lp-config { --played: 0; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px 16px; border: 0; cursor: pointer; overflow: hidden;
    text-align: left; color: var(--muted); font: inherit; background: var(--surface); clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%); box-shadow: inset 0 0 0 1px var(--border);
    transition: box-shadow .25s ease, background .25s ease, color .25s ease; }
.lp-config:hover { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .4); }
.lp-config-index { font: 900 20px/1 var(--font-display); color: transparent; -webkit-text-stroke: 1px rgba(var(--ink-rgb), .3); transition: color .25s ease; }
.lp-config-copy { display: grid; gap: 4px; }
.lp-config-copy > b { color: var(--text); font: 900 12.5px/1.2 var(--font-display); letter-spacing: 1px; text-transform: uppercase; }
.lp-config-copy > small { font-size: 12px; }
.lp-config-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; transform-origin: 0 50%; transform: scaleX(var(--played)); background: var(--accent); box-shadow: 0 0 10px var(--accent); transition: transform .5s linear; }
.lp-config.is-on { color: var(--text); background: linear-gradient(110deg, rgba(var(--accent-rgb), .16), var(--surface) 70%); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .6); }
.lp-config.is-on .lp-config-index { color: var(--accent); -webkit-text-stroke: 0; text-shadow: 0 0 14px rgba(var(--accent-rgb), .6); }
/* (a graph coming in and going: its nodes by column, its wires drawn after; on the way out, all of it) */
.lp-node.is-entering { opacity: 0; transform: translate(-50%, -50%) scale(.6) translateY(20px); filter: blur(6px); }
.lp-node.is-leaving { opacity: 0; transform: translate(-50%, -50%) scale(.85) translateY(-14px); filter: blur(6px); transition: opacity .35s ease var(--enter-delay, 0ms), transform .35s ease var(--enter-delay, 0ms), filter .35s ease var(--enter-delay, 0ms); }
.lp-wire.is-drawing { stroke-dasharray: var(--length); stroke-dashoffset: var(--length); }
.lp-wire.is-drawing.is-drawn { stroke-dashoffset: 0; transition: stroke-dashoffset .7s var(--ease-out) var(--draw-delay, 0ms), stroke .4s ease; }
.lp-wire.is-drawing.is-hot { stroke-dasharray: 8 6; stroke-dashoffset: 0; }
.lp-graph-wires { transition: opacity .35s ease; }
.lp-graph-wires.is-leaving { opacity: 0; }
.lp-wire-label { fill: var(--muted); font: 700 9.5px var(--font-mono); letter-spacing: .5px; }
.lp-token, .lp-token-halo { opacity: 0; transition: opacity .2s ease; }
.lp-token.is-shown, .lp-token-halo.is-shown { opacity: 1; }
.lp-node { --x: 50%; --y: 50%; position: absolute; left: var(--x); top: var(--y); display: grid; gap: 3px; width: 15.6%; padding: 8px 10px 8px 12px; transform: translate(-50%, -50%);
    background: var(--surface); clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
    box-shadow: inset 0 0 0 1px rgba(var(--kind-rgb), .3), inset 3px 0 0 var(--kind);
    transition: box-shadow .35s ease, background .35s ease, transform .6s var(--ease-out) var(--enter-delay, 0ms), opacity .6s ease var(--enter-delay, 0ms), filter .6s ease var(--enter-delay, 0ms); }
.lp-node > b { overflow: hidden; font: 800 11.5px/1.15 var(--font); white-space: nowrap; text-overflow: ellipsis; }
.lp-node > small { overflow: hidden; color: var(--muted); font: 600 9.5px/1.2 var(--font-mono); white-space: nowrap; text-overflow: ellipsis; }
.lp-node-port { position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--deep); box-shadow: inset 0 0 0 1.5px var(--kind); }
.lp-node-port.is-in { left: -2px; }
.lp-node-port.is-out { right: -2px; }
.lp-node.is-on { background: color-mix(in srgb, var(--kind) 16%, var(--surface)); transform: translate(-50%, -50%) scale(1.08); box-shadow: inset 0 0 0 1px var(--kind), inset 3px 0 0 var(--kind), 0 0 24px rgba(var(--kind-rgb), .45); }
.lp-node.is-done { box-shadow: inset 0 0 0 1px rgba(var(--kind-rgb), .7), inset 3px 0 0 var(--kind); }
.lp-planner-log { display: grid; grid-template-rows: auto 1fr; gap: 10px; padding: 16px; border-left: 1px solid var(--border); background: rgba(0, 0, 0, .2); }
.lp-planner-log > b { font: 800 10px/1 var(--font-mono); letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.lp-planner-log ol { display: grid; align-content: start; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lp-planner-log li { display: grid; gap: 3px; padding-left: 10px; border-left: 2px solid rgba(var(--accent-rgb), .3); font-size: 12px; animation: lp-line-in .35s var(--ease-out); }
.lp-planner-log li:first-child { border-left-color: var(--accent); color: var(--text); }
.lp-planner-log li:not(:first-child) { color: var(--muted); }
.lp-planner-log li > time { color: var(--accent); font: 600 9.5px/1 var(--font-mono); }

/* ---------- Modes: the list, the arena ---------- */
.lp-modes { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px; align-items: stretch; }
.lp-mode-list { display: grid; gap: 8px; align-content: start; }
.lp-mode { position: relative; display: grid; gap: 5px; padding: 14px 16px; border: 0; cursor: pointer; text-align: left; color: var(--muted); font: inherit; overflow: hidden;
    background: var(--surface); clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%); box-shadow: inset 0 0 0 1px var(--border); transition: box-shadow .25s ease, background .25s ease, color .25s ease; }
.lp-mode > b { color: var(--text); font: 900 13px/1 var(--font-display); letter-spacing: 1.2px; text-transform: uppercase; }
.lp-mode > span { font-size: 12.5px; line-height: 1.5; max-height: 0; opacity: 0; transition: max-height .4s var(--ease-out), opacity .3s ease; }
.lp-mode:hover { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .4); }
.lp-mode.is-on { color: var(--text); background: linear-gradient(100deg, rgba(var(--accent-rgb), .14), var(--surface)); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .6), inset 3px 0 0 var(--accent); }
.lp-mode.is-on > b { color: var(--accent); }
.lp-mode.is-on > span { max-height: 80px; opacity: 1; }
.lp-arena { position: relative; display: grid; grid-template-rows: 1fr auto auto; overflow: hidden; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
    background: var(--deep); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .3); }
.lp-arena-svg { display: block; width: 100%; height: auto; }
.lp-arena-grid line { stroke: rgba(var(--ink-rgb), .05); stroke-width: 1; }
.lp-arena-label { fill: var(--muted); font: 700 9px var(--font-mono); letter-spacing: .5px; }
.lp-arena-label.is-danger { fill: var(--danger); }
.lp-gate, .lp-monsters, .lp-walls, .lp-hazard, .lp-player, .lp-target, .lp-fight, .lp-arena-hero { opacity: 0; transition: opacity .35s ease; }
.lp-gate.is-shown, .lp-monsters.is-shown, .lp-walls.is-shown, .lp-hazard.is-shown, .lp-player.is-shown, .lp-target.is-shown, .lp-fight.is-shown, .lp-arena-hero.is-shown { opacity: 1; }
.lp-gate rect { fill: rgba(var(--accent-rgb), .25); stroke: var(--accent); filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), .7)); }
.lp-monsters rect { fill: rgba(var(--danger-rgb), .3); stroke: var(--danger); }
.lp-walls rect { fill: rgba(var(--ink-rgb), .14); stroke: rgba(var(--ink-rgb), .3); }
.lp-hazard-zone { fill: rgba(var(--danger-rgb), .1); stroke: var(--danger); stroke-dasharray: 5 4; animation: lp-danger 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.lp-hazard-boss { fill: var(--danger); filter: drop-shadow(0 0 10px var(--danger)); }
.lp-hazard-straight { fill: none; stroke: rgba(var(--danger-rgb), .4); stroke-width: 1.5; stroke-dasharray: 3 5; }
.lp-hazard-path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 7 5; animation: lp-march 1s linear infinite; }
.lp-player circle { fill: var(--danger); }
.lp-player .lp-player-reach { fill: rgba(var(--danger-rgb), .12); stroke: rgba(var(--danger-rgb), .5); stroke-dasharray: 3 3; }
.lp-target circle { fill: rgb(var(--warning-rgb)); }
.lp-fight { fill: none; stroke: #fff; stroke-width: 2; animation: lp-hit .45s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes lp-hit { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.lp-arena-hero circle { fill: var(--accent); filter: drop-shadow(0 0 8px var(--accent)); }
.lp-arena-hero .lp-arena-hero-ring { fill: none; stroke: var(--accent); stroke-dasharray: 4 3; animation: lp-spin 3s linear infinite; transform-box: fill-box; transform-origin: center; filter: none; }
.lp-arena-caption { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--border); font: 800 12px/1 var(--font-mono); letter-spacing: 1px; text-transform: uppercase; }
.lp-arena-caption > i { width: 8px; height: 8px; transform: rotate(45deg); background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: lp-blink 1s ease-in-out infinite; }
.lp-arena-caption > b { color: var(--accent); }
.lp-arena-progress { height: 3px; background: rgba(var(--ink-rgb), .06); }
.lp-arena-progress > i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--share, 0)); background: var(--accent); }

/* ---------- The arsenal: its kinds, a tile a module ---------- */
.lp-arsenal-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.lp-arsenal-tab { padding: 9px 16px; border: 0; cursor: pointer; color: var(--muted); font: 800 10.5px/1 var(--font-mono); letter-spacing: 1.2px; text-transform: uppercase;
    background: var(--surface); clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%); box-shadow: inset 0 0 0 1px var(--border); transition: color .2s ease, box-shadow .2s ease; }
.lp-arsenal-tab.is-on { color: var(--accent); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .6), inset 0 -2px 0 var(--accent); }
.lp-arsenal { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.lp-tool { --spot-x: 50%; --spot-y: 50%; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: start; padding: 16px; overflow: hidden; isolation: isolate;
    background: var(--surface); clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%); box-shadow: inset 0 0 0 1px var(--border);
    opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), box-shadow .25s ease; transition-delay: calc(var(--tool-index, 0) * 35ms); }
.lp-tool.is-in { opacity: 1; transform: none; }
.lp-tool[hidden] { display: none; }
.lp-tool::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s ease; background: radial-gradient(200px circle at var(--spot-x) var(--spot-y), rgba(var(--accent-rgb), .18), transparent 70%); }
.lp-tool:hover { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .45); transition-delay: 0s; }
.lp-tool:hover::before { opacity: 1; }
.lp-tool-icon { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; color: var(--accent); background: rgba(var(--accent-rgb), .1); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .35);
    clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px)); transition: transform .3s var(--ease-out); }
.lp-tool:hover .lp-tool-icon { transform: rotate(-8deg) scale(1.08); }
.lp-tool[data-kind="helper"] .lp-tool-icon { color: var(--cyan); background: rgba(34, 216, 255, .08); box-shadow: inset 0 0 0 1px rgba(34, 216, 255, .35); }
.lp-tool-copy { display: grid; gap: 4px; padding-right: 54px; }
.lp-tool-copy > b { font: 800 14px/1.2 var(--font); }
.lp-tool-copy > small { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.lp-tool-kind { position: absolute; right: 12px; top: 12px; color: var(--muted); font: 700 8.5px/1 var(--font-mono); letter-spacing: 1px; text-transform: uppercase; opacity: .6; }

/* (a day: a planned break, NyxBot's) */
.lp-day-bar > i.is-break { background: repeating-linear-gradient(135deg, rgba(var(--accent-rgb), .3) 0 3px, rgba(var(--accent-rgb), .08) 3px 6px); }
.lp-day-legend > .is-break::before { background: repeating-linear-gradient(135deg, rgba(var(--accent-rgb), .6) 0 3px, rgba(var(--accent-rgb), .15) 3px 6px); }

/* ---------- Depth: the scroll's parallax (NyxLanding.js setupDepth) ---------- */
@media (prefers-reduced-motion: no-preference) { html:has(body.landing) { scroll-behavior: smooth; } }
body.landing { position: relative; }
/* (the orbs: big soft glows across the page, lagging behind it - further away the slower) */
.lp-depth { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.lp-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: translate; }
.lp-orb.is-a { left: -12%; top: 9%; width: 520px; height: 520px; background: radial-gradient(circle, rgba(var(--accent-rgb), .22), transparent 70%); }
.lp-orb.is-b { right: -14%; top: 26%; width: 680px; height: 680px; background: radial-gradient(circle, rgba(var(--accent-rgb), .16), transparent 70%); }
.lp-orb.is-c { left: 20%; top: 52%; width: 440px; height: 440px; background: radial-gradient(circle, rgba(var(--cyan-rgb, 34, 216, 255), .08), transparent 70%); }
.lp-orb.is-d { right: 4%; top: 74%; width: 560px; height: 560px; background: radial-gradient(circle, rgba(var(--accent-rgb), .18), transparent 70%); }
/* (what drifts: by --py, its own way to the window's middle; the big numbers further) */
[data-parallax] { translate: 0 var(--py, 0px); will-change: translate; }
.lp-head[data-num]::after { translate: 0 calc(var(--py, 0px) * 3); }
/* (the hero going away: its copy down and fading, the orbit smaller and turned, its grid gone) */
.lp-hero { --hero-p: 0; }
.lp-hero-copy { translate: 0 calc(var(--hero-p) * 140px); opacity: calc(1 - var(--hero-p) * 1.4); }
.lp-core { translate: 0 calc(var(--hero-p) * 70px); scale: calc(1 - var(--hero-p) * .28); rotate: calc(var(--hero-p) * 28deg); }
.lp-hero .lp-core.reveal.is-visible { opacity: calc(1 - var(--hero-p) * .9); }
.lp-hero-grid { opacity: calc(1 - var(--hero-p) * 2); }
.lp-scroll { opacity: calc(1 - var(--hero-p) * 5); }
@media (prefers-reduced-motion: reduce) {
    [data-parallax], .lp-head[data-num]::after, .lp-orb, .lp-hero-copy, .lp-core { translate: none; scale: none; rotate: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .lp-hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .lp-hero-copy { justify-items: center; text-align: center; }
    .lp-lead { margin-inline: auto; }
    .hero-actions, .hero-facts { justify-content: center; }
    .lp-core { max-width: 520px; }
    .lp-scroll { display: none; }
    .lp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-split { grid-template-columns: minmax(0, 1fr); }
    .lp-numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
    .lp-planner-body { grid-template-columns: minmax(0, 1fr); }
    .lp-planner-log { border-left: 0; border-top: 1px solid var(--border); }
    .lp-tips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-head[data-num]::after { display: none; }
}
@media (max-width: 900px) {
    .nav-links, .nav-actions { display: none; }
    .lp-stealth, .lp-modes, .lp-configs { grid-template-columns: minmax(0, 1fr); }
    .lp-match-lane { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .lp-match-mid { padding-left: 0; }
    .lp-planner-body { overflow-x: auto; }
    .lp-graph { min-width: 760px; }
    .lp-tips { grid-template-columns: minmax(0, 1fr); }
    .nav-toggle { display: inline-grid; }
    .lp-versus { grid-template-columns: minmax(0, 1fr); }
    .lp-versus-vs { padding: 4px 0; }
    .lp-step-card { grid-template-columns: minmax(0, 1fr); }
    .lp-step-card h3, .lp-step-card p { grid-column: 1; }
    .lp-step-art { grid-row: auto; }
    .lp-day-hours, .lp-day-legend { margin-left: 0; margin-right: 0; }
    .lp-day-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .lp-day-bar { grid-template-columns: repeat(48, minmax(0, 1fr)) 84px; gap: 1px; }
    .lp-pillars { grid-template-columns: minmax(0, 1fr); }
    .lp-fleet-row { grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr); }
    .lp-fleet-bars { grid-column: 2 / -1; }
}
@media (max-width: 640px) {
    body { font-size: 14.5px; }
    .hero-actions .button { flex: 1 1 100%; }
    .lp-bento, .lp-numbers { grid-template-columns: minmax(0, 1fr); }
    .lp-card.is-wide { grid-column: auto; }
    .lp-compare-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .lp-compare-row.is-head { display: none; }
    .lp-flow { padding-left: 52px; }
    .lp-step-mark { left: -52px; width: 38px; height: 38px; }
    .lp-flow-rail { left: 18px; }
    .lp-fleet-row { grid-template-columns: 40px minmax(0, 1fr); }
    .lp-fleet-what, .lp-fleet-bars { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-shine, .lp-ring, .lp-core-rim, .lp-core-workers, .lp-ghost-button, .lp-step-art *, .lp-danger, .lp-escape-path, .lp-scroll > i { animation: none !important; }
    .lp-step-card { opacity: 1; transform: none; }
    .landing .reveal, .lp-head h2, .lp-tool { opacity: 1; transform: none; filter: none; clip-path: none; }
    .lp-wire.is-hot, .lp-hazard-path, .lp-hazard-zone, .lp-fight, .lp-arena-hero-ring { animation: none !important; }
}
