/* ════════════════════════════════════════════════════════════════
   STARGATE CIVILISATION — LANDING (Cinematic AAA refresh)
   Palette : navy spatial + cyan event-horizon + or chaud (CTA only)
   Typos   : Orbitron (display) · Rajdhani (body) · JetBrains Mono (data)
   ════════════════════════════════════════════════════════════════ */

:root {
  --lp-bg-deep: #050a16;
  --lp-bg-surface: rgba(11, 22, 38, 0.72);
  --lp-cyan: #7dd3fc;
  --lp-cyan-soft: #38bdf8;
  --lp-cyan-deep: #0ea5e9;
  --lp-cyan-glow: rgba(125, 211, 252, 0.45);
  --lp-cyan-glow-soft: rgba(125, 211, 252, 0.18);
  --lp-gold: #fbbf24;
  --lp-gold-soft: #fcd34d;
  --lp-gold-glow: rgba(251, 191, 36, 0.45);
  --lp-text: #e2e8f0;
  --lp-text-dim: #94a3b8;
  --lp-text-faint: #94a3b8;  /* slate-400 — was #64748b (slate-500) which failed WCAG AA contrast */
  --lp-line: rgba(125, 211, 252, 0.14);
  --lp-line-soft: rgba(125, 211, 252, 0.07);
  --lp-line-strong: rgba(125, 211, 252, 0.32);
  --lp-shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(125, 211, 252, 0.05) inset;
  --lp-shadow-hover: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(125, 211, 252, 0.3), 0 0 30px rgba(125, 211, 252, 0.15);
}

/* Hide legacy gimmicks (status bar, scanlines, vignette, grid, classified stamp) */
.lp-crt, .lp-vign, .lp-grid, .lp-status, .lp-stamp { display: none !important; }
.lp-brief-head::before, .lp-brief-head::after { display: none; }

/* ── ROOT ──────────────────────────────────────────────────────── */
#landingPage {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--lp-bg-deep);
  color: var(--lp-text);
  font-family: var(--font-body);
  font-weight: 400;
  overflow-x: hidden;
  z-index: 100;
  isolation: isolate;
}
body.landing-active { overflow-x: hidden; }
body.landing-active #appWrap,
body.landing-active #authOverlay { display: none !important; }

/* ── BACKGROUND ────────────────────────────────────────────────── */
.lp-bg {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 120% 70% at 50% 0%, rgba(14, 165, 233, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(2, 6, 23, 0.95) 0%, transparent 70%),
    linear-gradient(180deg, rgba(2, 8, 22, 0.78) 0%, rgba(2, 6, 18, 0.86) 50%, rgba(0, 4, 12, 0.95) 100%),
    url('../img/landing/hero-bg.jpg') center 25%/cover no-repeat;
  background-attachment: fixed;
  filter: saturate(0.85) contrast(1.05);
  pointer-events: none;
  animation: lpBgDrift 40s ease-in-out infinite alternate;
}
.lp-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 13% 22%, rgba(255,255,255,0.85), transparent 2px),
    radial-gradient(1px 1px at 27% 68%, rgba(180,210,255,0.7), transparent 2px),
    radial-gradient(1px 1px at 44% 14%, rgba(255,255,255,0.9), transparent 2px),
    radial-gradient(1.5px 1.5px at 61% 82%, rgba(160,200,255,0.75), transparent 2px),
    radial-gradient(1px 1px at 78% 33%, rgba(255,255,255,0.8), transparent 2px),
    radial-gradient(1px 1px at 91% 58%, rgba(200,225,255,0.7), transparent 2px),
    radial-gradient(1.5px 1.5px at 8% 88%, rgba(255,255,255,0.85), transparent 2px),
    radial-gradient(1px 1px at 52% 46%, rgba(180,210,255,0.65), transparent 2px);
  background-size: 720px 720px;
  animation: lpStarsTwinkle 8s ease-in-out infinite;
  opacity: 0.7;
}
@keyframes lpBgDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-1.2%, -1%, 0) scale(1.04); }
}
@keyframes lpStarsTwinkle {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-bg, .lp-bg::before { animation: none; }
}

#landingPage > *:not(.lp-bg):not(.lp-grid):not(.lp-crt):not(.lp-vign):not(.lp-status) {
  position: relative; z-index: 3;
}

/* ── NAV ───────────────────────────────────────────────────────── */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px;
  background: rgba(3, 10, 22, 0.98);
  border-bottom: 1px solid var(--lp-line);
}
.lp-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.lp-logo-img {
  height: 40px; width: auto;
  filter: drop-shadow(0 0 18px rgba(125, 211, 252, 0.3));
  transition: filter 0.3s;
}
.lp-logo:hover .lp-logo-img { filter: drop-shadow(0 0 24px rgba(125, 211, 252, 0.55)); }

.lp-nav-links { display: flex; align-items: center; gap: 4px; }
.lp-nav-links a {
  position: relative;
  padding: 8px 14px;
  color: var(--lp-text-dim);
  text-decoration: none;
  font-family:var(--font-body);
  font-size: 13px; letter-spacing: 0.8px;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.2s;
}
.lp-nav-links a span:first-child {
  font-family:var(--font-mono-data);
  font-size: 10px; color: var(--lp-cyan); opacity: 0.7;
  margin-right: 4px;
}
.lp-nav-links a::before { content: none; }
.lp-nav-links a::after {
  content: ''; position: absolute; bottom: 2px; left: 14px; right: 14px; height: 1px;
  background: var(--lp-cyan); opacity: 0;
  transform: scaleX(0); transform-origin: left;
  transition: opacity 0.2s, transform 0.25s ease;
}
.lp-nav-links a:hover { color: var(--lp-cyan); }
.lp-nav-links a:hover::after { opacity: 1; transform: scaleX(1); }

.lp-nav-cta { display: flex; align-items: center; gap: 10px; }

.lp-nav-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--lp-line);
  color: var(--lp-cyan);
  font-size: 20px; line-height: 1; padding: 10px 14px;
  min-width: 44px; min-height: 44px;
  cursor: pointer; border-radius: 4px;
  transition: background 0.2s, border-color 0.2s;
}
.lp-nav-burger:hover { background: rgba(125, 211, 252, 0.08); border-color: var(--lp-cyan); }

.lp-lang-switch {
  display: flex; align-items: center;
  padding: 4px 8px;
  border: 1px solid var(--lp-line);
  background: rgba(0, 0, 0, 0.3);
  font-family:var(--font-mono-data);
  font-size: 11px;
  border-radius: 4px;
}
.lp-lang-opt {
  background: transparent; border: none; color: var(--lp-text-dim);
  padding: 8px 10px; cursor: pointer; letter-spacing: 1px;
  font-family: inherit; font-size: inherit;
  min-height: 36px;
  transition: color 0.2s;
}
.lp-lang-opt:hover { color: var(--lp-text); }
.lp-lang-opt.active { color: var(--lp-cyan); }
.lp-lang-sep { color: var(--lp-line); padding: 0 2px; }

/* ── BUTTONS (clean — no corner brackets) ─────────────────────── */
.lp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  font-family:var(--font-body);
  font-size: 13px; letter-spacing: 1.4px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
  border: 1px solid var(--lp-line-strong);
  background: rgba(125, 211, 252, 0.04);
  color: var(--lp-text);
}
.lp-btn::before, .lp-btn::after { content: none; }
.lp-btn:hover {
  background: rgba(125, 211, 252, 0.12);
  border-color: var(--lp-cyan);
  color: var(--lp-cyan);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.2), 0 6px 20px rgba(125, 211, 252, 0.18);
  transform: translateY(-1px);
}

.lp-btn-ghost {
  background: transparent;
  color: var(--lp-text-dim);
  border-color: var(--lp-line);
}
.lp-btn-ghost:hover {
  color: var(--lp-cyan);
  border-color: var(--lp-cyan);
  background: rgba(125, 211, 252, 0.06);
}

.lp-btn-primary {
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.25) 0%, rgba(125, 211, 252, 0.08) 100%);
  border-color: var(--lp-cyan);
  color:var(--textbright);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.3), 0 4px 14px rgba(125, 211, 252, 0.15);
}
.lp-btn-primary:hover {
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.42) 0%, rgba(125, 211, 252, 0.16) 100%);
  box-shadow: 0 0 0 1px var(--lp-cyan), 0 8px 28px rgba(125, 211, 252, 0.4);
  color:var(--textbright);
}

/* CTA hero — gold uniquement pour le primary (Jouer maintenant) */
.lp-btn-cta-primary {
  padding: 16px 30px;
  font-size: 14px; letter-spacing: 1.8px;
  border-color: rgba(251, 191, 36, 0.6);
  color: #1a0f02;
  background: linear-gradient(180deg, var(--lp-gold-soft) 0%, var(--lp-gold) 100%);
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.4), 0 8px 28px rgba(251, 191, 36, 0.3), 0 0 60px rgba(251, 191, 36, 0.1);
}
.lp-btn-cta-primary:hover {
  background: linear-gradient(180deg, #fde68a 0%, var(--lp-gold-soft) 100%);
  box-shadow: 0 0 0 1px var(--lp-gold), 0 12px 36px rgba(251, 191, 36, 0.5), 0 0 80px rgba(251, 191, 36, 0.22);
  color: #1a0f02;
  transform: translateY(-2px);
}

.lp-btn-cta-ghost {
  padding: 16px 26px;
  font-size: 13px; letter-spacing: 1.6px;
  border-color: rgba(125, 211, 252, 0.3);
  background: rgba(125, 211, 252, 0.04);
  color: var(--lp-text);
}
.lp-btn-cta-ghost:hover {
  border-color: var(--lp-cyan);
  background: rgba(125, 211, 252, 0.1);
  color: var(--lp-cyan);
  transform: translateY(-2px);
}

.lp-btn-disc {
  border-color: rgba(88, 101, 242, 0.5);
  color: #c7d2fe;
  background: linear-gradient(180deg, rgba(88, 101, 242, 0.18) 0%, rgba(88, 101, 242, 0.05) 100%);
}
.lp-btn-disc:hover {
  background: linear-gradient(180deg, rgba(88, 101, 242, 0.32) 0%, rgba(88, 101, 242, 0.12) 100%);
  border-color: #5865f2;
  color:var(--textbright);
  box-shadow: 0 0 0 1px #5865f2, 0 8px 24px rgba(88, 101, 242, 0.35);
}

/* ── HERO ──────────────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  padding: 60px 28px 90px;
  min-height: calc(100vh - 80px);
  min-height: calc(100dvh - 80px);
}
.lp-hero-inner {
  max-width: 1320px; margin: 0 auto;
  position: relative;
}

/* Top stamps row — pill chips instead of dashed lines */
.lp-brief-head {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 10px; flex-wrap: wrap;
  margin-bottom: 28px;
  font-family:var(--font-mono-data);
  font-size: 11px; letter-spacing: 1.6px;
  text-transform: uppercase;
}
.lp-brief-head > span {
  padding: 4px 12px;
  background: rgba(125, 211, 252, 0.06);
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  color: var(--lp-text-dim);
}
.lp-brief-head > span:first-child {
  color: var(--lp-cyan);
  border-color: rgba(125, 211, 252, 0.35);
  background: rgba(125, 211, 252, 0.1);
}

.lp-hero-grid {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 60px; align-items: center;
  margin-top: 14px;
}

.lp-hero-intro {
  display: inline-flex; align-items: center; gap: 6px;
  font-family:var(--font-mono-data);
  font-size: 11.5px; letter-spacing: 2px;
  color: var(--lp-cyan);
  margin-bottom: 22px;
  padding: 6px 12px 6px 10px;
  background: rgba(125, 211, 252, 0.08);
  border-left: 2px solid var(--lp-cyan);
  text-transform: uppercase;
  border-radius: 0 4px 4px 0;
}
.lp-caret { color: var(--lp-gold); margin-right: 2px; }
.lp-blink { animation: lpBlink 1s steps(2) infinite; color: var(--lp-cyan); }
@keyframes lpBlink { 50% { opacity: 0; } }

.lp-hero-title {
  font-family:var(--font-display);
  font-size: 60px; line-height: 1.04;
  font-weight: 800;
  margin: 0 0 28px;
  color:var(--textbright);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.4),
    0 0 30px rgba(125, 211, 252, 0.18);
}
.lp-accent {
  background: linear-gradient(180deg, var(--lp-cyan) 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(125, 211, 252, 0.4));
  position: relative;
}

.lp-hero-sub {
  font-size: 17px; line-height: 1.65;
  color: var(--lp-text-dim);
  margin: 0 0 36px;
  max-width: 580px;
  padding: 0;
  border: none;
  font-weight: 400;
}

.lp-hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 44px;
}

/* Spec grid — clean telemetry */
.lp-hero-specs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--lp-line);
  border: 1px solid var(--lp-line);
  border-radius: 6px;
  overflow: hidden;
  max-width: 640px;
}
.lp-spec {
  padding: 14px 16px;
  background: rgba(11, 22, 38, 0.85);
  backdrop-filter: blur(8px);
  border-right: none;
}
.lp-spec-label {
  font-family:var(--font-mono-data);
  font-size: 10px; letter-spacing: 1.4px;
  color: var(--lp-text-faint); text-transform: uppercase;
  margin-bottom: 6px;
}
.lp-spec-val {
  font-family:var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--lp-text);
  letter-spacing: 0.4px;
  text-shadow: none;
  display: flex; align-items: center; gap: 7px;
}
.lp-pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lp-cyan);
  box-shadow: 0 0 10px var(--lp-cyan);
  animation: lpPulse 1.4s ease-in-out infinite;
}
@keyframes lpPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9); }
}

/* ── FACTION STRIP (hero left) ─────────────────────────────── */
.lp-fac-strip {
  margin-top: 24px;
  border: 1px solid var(--lp-line);
  background: rgba(11, 22, 38, 0.5);
  backdrop-filter: blur(8px);
  padding: 14px 16px;
  border-radius: 6px;
  position: relative;
  max-width: 640px;
}
.lp-fac-strip::before, .lp-fac-strip::after { content: none; }
.lp-fac-strip-label {
  font-family:var(--font-mono-data);
  font-size: 10px; letter-spacing: 1.6px;
  color: var(--lp-text-faint);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.lp-fac-strip-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.lp-fac-chip {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px;
  padding: 12px 6px 10px;
  min-height: 64px;
  border: 1px solid var(--lp-line);
  background: rgba(0, 0, 0, 0.25);
  text-decoration: none;
  color: var(--lp-text-dim);
  transition: all 0.2s ease;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.lp-fac-chip::before { content: none; }
.lp-fac-chip:hover {
  background: rgba(125, 211, 252, 0.08);
  border-color: rgba(125, 211, 252, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}
.lp-fac-sym {
  filter: drop-shadow(0 0 8px currentColor);
  margin-bottom: 2px;
  line-height: 0;
}
.lp-fac-txt {
  font-family:var(--font-display);
  font-size: 12px; letter-spacing: 0.6px;
  color: currentColor;
  font-weight: 600;
  text-shadow: none;
}
.lp-c-tauri   { color: #5ab5ff; }
.lp-c-goauld  { color: #fbbf24; }
.lp-c-anciens { color: #e0f2fe; }
.lp-c-wraith  { color: #86efac; }
.lp-c-tokra   { color: #c4b5fd; }
.lp-c-ori     { color:var(--textbright); text-shadow: 0 0 8px #f87171; }

/* ── STARGATE (hero right) ──────────────────────────────────── */
.lp-hero-right {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 460px;
}
.lp-gate {
  position: relative;
  width: 460px; aspect-ratio: 1/1;
  max-width: 100%;
  color: var(--lp-cyan);
}
.lp-gate-svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 40px rgba(125, 211, 252, 0.55)) drop-shadow(0 0 100px rgba(125, 211, 252, 0.18));
}
.lp-ring-outer {
  fill: none;
  stroke: currentColor;
  filter: drop-shadow(0 0 8px rgba(125, 211, 252, 0.5));
}
.lp-ring-inner {
  fill: none;
  stroke: rgba(125, 211, 252, 0.4);
  stroke-dasharray: 2 4;
}

.lp-ring-rot {
  transform-origin: center;
  animation: lpGateSpin 80s linear infinite;
}
@keyframes lpGateSpin { to { transform: rotate(360deg); } }

.lp-eh {
  transform-box: fill-box;
  transform-origin: center;
  animation: lpEhPulse 4.5s ease-in-out infinite;
}
@keyframes lpEhPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.025); }
}

/* All 7 chevrons engaged — sequential cinematic pulse */
.lp-chv {
  fill: var(--lp-gold);
  stroke: var(--lp-gold);
  stroke-width: 1.2;
  filter: drop-shadow(0 0 10px var(--lp-gold-glow));
  transform-box: fill-box;
  transform-origin: center;
  animation: lpChvPulse 4s ease-in-out infinite;
}
.lp-chv-group .lp-chv:nth-child(1) { animation-delay: 0s; }
.lp-chv-group .lp-chv:nth-child(2) { animation-delay: 0.3s; }
.lp-chv-group .lp-chv:nth-child(3) { animation-delay: 0.6s; }
.lp-chv-group .lp-chv:nth-child(4) { animation-delay: 0.9s; }
.lp-chv-group .lp-chv:nth-child(5) { animation-delay: 1.2s; }
.lp-chv-group .lp-chv:nth-child(6) { animation-delay: 1.5s; }
.lp-chv-group .lp-chv:nth-child(7) { animation-delay: 1.8s; }
.lp-chv.lit {
  filter: drop-shadow(0 0 14px var(--lp-gold-glow)) drop-shadow(0 0 28px rgba(251, 191, 36, 0.3));
}
@keyframes lpChvPulse {
  0%, 100% { filter: drop-shadow(0 0 10px var(--lp-gold-glow)); }
  50%      { filter: drop-shadow(0 0 18px var(--lp-gold-glow)) drop-shadow(0 0 32px rgba(251, 191, 36, 0.35)); }
}

.lp-gate-readout {
  position: absolute; bottom: -14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 16px; flex-wrap: wrap;
  padding: 10px 18px;
  border: 1px solid var(--lp-line-strong);
  background: rgba(3, 10, 22, 0.92);
  backdrop-filter: blur(12px);
  font-family:var(--font-mono-data);
  font-size: 11px; letter-spacing: 1.2px;
  color: var(--lp-text-dim);
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.lp-gate-readout b { color: var(--lp-cyan); font-weight: 500; }

.lp-gate::before, .lp-gate::after { content: none; }

/* ── SECTIONS ──────────────────────────────────────────────── */
.lp-section {
  position: relative;
  padding: 100px 28px 110px;
  max-width: 1320px;
  margin: 0 auto;
  scroll-margin-top: 90px;
}
.lp-section::before { content: none; }

.lp-sec-head {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px;
  margin-bottom: 56px;
  text-align: center;
  border: none;
  padding: 0;
}
.lp-sec-code {
  font-family:var(--font-mono-data);
  font-size: 11px;
  color: var(--lp-cyan);
  letter-spacing: 4px;
  padding: 4px 14px;
  background: rgba(125, 211, 252, 0.08);
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 999px;
  text-transform: uppercase;
  text-shadow: none;
  line-height: 1.4;
}
.lp-sec-code::before { content: '— '; opacity: 0.5; }
.lp-sec-code::after { content: ' —'; opacity: 0.5; }

.lp-sec-title {
  font-family:var(--font-display);
  font-size: 40px; line-height: 1.1;
  font-weight: 700;
  color:var(--textbright);
  letter-spacing: 1px;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(125, 211, 252, 0.18);
}
.lp-sec-line { display: none; }
.lp-sec-sub {
  font-family:var(--font-body);
  font-size: 16px; letter-spacing: 0.4px;
  color: var(--lp-text-dim);
  text-transform: none;
  font-weight: 400;
  white-space: normal;
  max-width: 600px;
}

/* ── FEATURES (lp-proto) ───────────────────────────────────── */
.lp-proto-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.lp-proto {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--lp-line);
  background: linear-gradient(180deg, rgba(15, 28, 48, 0.65) 0%, rgba(8, 16, 30, 0.8) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: var(--lp-shadow-card);
}
.lp-proto::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--lp-cyan), transparent);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.lp-proto:hover {
  border-color: rgba(125, 211, 252, 0.45);
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow-hover);
}
.lp-proto:hover::before { transform: scaleX(1); }

.lp-proto-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family:var(--font-mono-data);
  font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--lp-line-soft);
}
.lp-proto-id {
  color: var(--lp-cyan); font-size: 13px;
  letter-spacing: 2px; font-weight: 600;
}
.lp-proto-cls {
  color: var(--lp-text-dim);
  padding: 3px 10px;
  border: 1px solid var(--lp-line);
  font-size: 9px; letter-spacing: 1.6px;
  background: rgba(125, 211, 252, 0.04);
  border-radius: 999px;
}
.lp-proto-icon {
  font-family:var(--font-display);
  font-size: 50px; line-height: 1;
  background: linear-gradient(180deg, var(--lp-cyan) 0%, var(--lp-cyan-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(125, 211, 252, 0.4));
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-shadow: none;
}
.lp-proto h3 {
  font-family:var(--font-display);
  font-size: 18px; font-weight: 700;
  color:var(--textbright);
  margin: 0 0 12px;
  letter-spacing: 0.8px;
  text-shadow: none;
}
.lp-proto p {
  font-size: 14px; line-height: 1.6;
  color: var(--lp-text-dim);
  margin: 0 0 18px;
}
.lp-proto-meta {
  font-family:var(--font-mono-data);
  font-size: 10px; letter-spacing: 1.2px;
  color: var(--lp-cyan);
  text-transform: uppercase;
  opacity: 0.85;
}
.lp-proto-meta::before { content: '› '; opacity: 0.6; }

/* ── DOSSIERS (Factions) ───────────────────────────────────── */
.lp-dossier-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
@media (max-width: 1200px) {
  .lp-dossier-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .lp-dossier-grid { grid-template-columns: repeat(2, 1fr); }
}

.lp-dossier {
  position: relative;
  padding: 0;
  border: 1px solid var(--lp-line);
  background: linear-gradient(180deg, rgba(15, 28, 48, 0.7) 0%, rgba(6, 14, 28, 0.85) 100%);
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: var(--lp-shadow-card);
}
.lp-dossier:hover {
  border-color: rgba(125, 211, 252, 0.5);
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow-hover);
}

.lp-dossier-head {
  position: relative;
  height: 110px;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.15) 0%, rgba(0, 0, 0, 0.4) 100%);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--lp-line);
  overflow: hidden;
}
.lp-dossier-head::before, .lp-dossier-head::after { content: none; }

.lp-dossier-sym {
  filter: drop-shadow(0 0 14px rgba(125, 211, 252, 0.3));
  animation: lpSymFloat 5s ease-in-out infinite;
  line-height: 0;
}
@keyframes lpSymFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.lp-d-tauri .lp-dossier-head   { background: linear-gradient(135deg, rgba(90, 181, 255, 0.22) 0%, rgba(0, 0, 0, 0.4) 100%); }
.lp-d-goauld .lp-dossier-head  { background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%); }
.lp-d-anciens .lp-dossier-head { background: linear-gradient(135deg, rgba(224, 242, 254, 0.16) 0%, rgba(90, 181, 255, 0.08) 50%, rgba(0, 0, 0, 0.4) 100%); }
.lp-d-wraith .lp-dossier-head  { background: linear-gradient(135deg, rgba(134, 239, 172, 0.18) 0%, rgba(0, 0, 0, 0.4) 100%); }
.lp-d-tokra .lp-dossier-head   { background: linear-gradient(135deg, rgba(196, 181, 253, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%); }
.lp-d-ori .lp-dossier-head     { background: linear-gradient(135deg, rgba(248, 113, 113, 0.22) 0%, rgba(251, 191, 36, 0.12) 50%, rgba(0, 0, 0, 0.4) 100%); }

.lp-dossier-id {
  position: absolute; top: 10px; left: 10px;
  font-family:var(--font-mono-data);
  font-size: 10px; letter-spacing: 1.4px;
  color: var(--lp-text-dim); text-transform: uppercase;
  background: rgba(0, 0, 0, 0.55);
  padding: 2px 8px;
  border: 1px solid var(--lp-line);
  border-radius: 3px;
  transform: none;
}

.lp-dossier-body {
  padding: 18px 16px 20px;
}
.lp-dossier-name {
  font-family:var(--font-display);
  font-size: 22px; font-weight: 700;
  color:var(--textbright);
  margin: 0 0 8px;
  letter-spacing: 0.8px;
  text-align: center;
  text-shadow: 0 0 16px rgba(125, 211, 252, 0.2);
}
.lp-dossier-style {
  font-family:var(--font-mono-data);
  font-size: 10.5px;
  letter-spacing: 1px;
  color: var(--lp-cyan);
  text-transform: uppercase;
  margin: 0 0 12px;
  padding: 5px 8px;
  background: rgba(125, 211, 252, 0.07);
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 3px;
  text-align: center;
  border-left: 1px solid rgba(125, 211, 252, 0.18);
}
.lp-dossier-field {
  font-family:var(--font-mono-data);
  font-size: 10.5px; letter-spacing: 0.6px;
  color: var(--lp-text-faint);
  margin-bottom: 6px;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.lp-dossier-field b {
  color: var(--lp-text); font-weight: 500; letter-spacing: 0.4px;
  text-align: right;
}
.lp-threat-label {
  text-transform: uppercase;
  color: var(--lp-text-faint);
}
.lp-dossier-note {
  font-size: 13px; line-height: 1.55;
  color: var(--lp-text-dim);
  margin: 12px 0 14px;
  padding: 12px 0;
  border-top: 1px solid var(--lp-line-soft);
  border-bottom: 1px solid var(--lp-line-soft);
}
.lp-dossier-bonus {
  font-family:var(--font-mono-data);
  font-size: 10.5px; letter-spacing: 0.6px;
  color: var(--lp-gold);
  text-shadow: none;
  text-align: center;
  padding: 8px 6px;
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 3px;
}

/* Threat bars — clean rectangular, no skew */
.lp-threat {
  display: inline-flex; gap: 2px; align-items: center;
}
.lp-threat i {
  display: block; width: 6px; height: 10px;
  background: rgba(125, 211, 252, 0.15);
  border-radius: 1px;
  transform: none;
}
.lp-threat i.on {
  background: var(--lp-cyan);
  box-shadow: 0 0 5px rgba(125, 211, 252, 0.5);
}
.lp-threat i.hot {
  background: var(--lp-gold);
  box-shadow: 0 0 5px var(--lp-gold-glow);
}

.lp-dossier-stamp { display: none; }

/* ── COMMUNITY ─────────────────────────────────────────────── */
.lp-section-community { padding-bottom: 120px; }

.lp-community {
  max-width: 1080px; margin: 0 auto;
  border: 1px solid var(--lp-line);
  background: linear-gradient(180deg, rgba(15, 28, 48, 0.6) 0%, rgba(6, 14, 28, 0.8) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px 32px 36px;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.lp-community::before, .lp-community::after { content: none; }

.lp-stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.lp-stat-card {
  text-align: center;
  padding: 22px 12px;
  border: 1px solid var(--lp-line);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  transition: border-color 0.2s, background 0.2s;
}
.lp-stat-card:hover { border-color: rgba(125, 211, 252, 0.35); }
.lp-stat-card .lp-stat-num {
  font-family:var(--font-display);
  font-size: 42px; font-weight: 800;
  background: linear-gradient(180deg, #fff 0%, var(--lp-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
  filter: drop-shadow(0 0 18px rgba(125, 211, 252, 0.25));
  text-shadow: none;
}
.lp-stat-card .lp-stat-lbl {
  font-family:var(--font-body);
  font-size: 12px; letter-spacing: 1.2px;
  color: var(--lp-text-faint);
  text-transform: uppercase;
  font-weight: 500;
}

.lp-community-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* Top 5 + Discord */
.lp-community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
@media (max-width: 760px) {
  .lp-community-grid { grid-template-columns: 1fr; gap: 16px; }
}

.lp-top-panel,
.lp-disc-panel {
  border: 1px solid var(--lp-line);
  background: rgba(0, 0, 0, 0.3);
  padding: 18px 18px 16px;
  position: relative;
  border-radius: 6px;
}
.lp-top-panel::before, .lp-disc-panel::before { content: none; }

.lp-top-head, .lp-disc-head {
  font-family:var(--font-body);
  font-size: 14px; letter-spacing: 1px;
  color:var(--textbright);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--lp-line-soft);
  display: flex; align-items: center; justify-content: space-between;
}
.lp-top-head b, .lp-disc-head b {
  color: var(--lp-cyan);
  font-family:var(--font-mono-data);
  font-size: 10px; letter-spacing: 1.4px; font-weight: 500;
  padding: 2px 8px;
  background: rgba(125, 211, 252, 0.08);
  border: 1px solid rgba(125, 211, 252, 0.25);
  border-radius: 999px;
}

.lp-top-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
  /* Reserve space for 5 rows to prevent CLS while async stats load */
  min-height: 218px;
}
/* Skeleton placeholders shown until /api/public/stats resolves */
.lp-top-skel { opacity: 0.45; }
.lp-skel-bx {
  display: inline-block;
  height: 14px;
  background: linear-gradient(90deg, rgba(125,211,252,0.06), rgba(125,211,252,0.18), rgba(125,211,252,0.06));
  background-size: 200% 100%;
  border-radius: 3px;
  animation: lpSkelShimmer 1.4s ease-in-out infinite;
}
.lp-top-skel .lp-top-sym { width: 22px; }
.lp-top-skel .lp-top-name { width: 80%; max-width: 140px; }
.lp-top-skel .lp-top-score { width: 40px; }
@keyframes lpSkelShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.lp-top-row {
  display: grid;
  grid-template-columns: 30px 22px 1fr auto auto;
  align-items: center; gap: 10px;
  padding: 8px 10px;
  font-family:var(--font-body);
  font-size: 14px;
  background: rgba(125, 211, 252, 0.03);
  border: 1px solid var(--lp-line-soft);
  border-radius: 4px;
  transition: all 0.18s;
}
.lp-top-row:hover {
  border-color: rgba(125, 211, 252, 0.4);
  background: rgba(125, 211, 252, 0.07);
  transform: translateX(2px);
}
.lp-top-rank {
  font-family:var(--font-display);
  font-size: 13px; font-weight: 700;
  color: var(--lp-gold);
  text-shadow: none;
}
.lp-top-sym { font-size: 16px; text-align: center; line-height: 0; }
.lp-top-name {
  color: var(--lp-text); letter-spacing: 0.3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-weight: 500;
}
.lp-top-tag {
  font-family:var(--font-mono-data);
  font-size: 10px; letter-spacing: 1px;
  color: var(--lp-cyan); opacity: 0.8;
}
.lp-top-score {
  font-family:var(--font-mono-data);
  font-size: 12px;
  color: var(--lp-cyan);
  text-shadow: none;
}
.lp-top-empty {
  color: var(--lp-text-faint);
  font-family:var(--font-mono-data);
  font-size: 12px; letter-spacing: 1px;
  text-align: center; padding: 24px 10px;
}

.lp-disc-body {
  display: flex; flex-direction: column; gap: 14px;
  align-items: center; text-align: center;
  padding: 8px 4px;
}
.lp-disc-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  color: #5865f2;
  filter: drop-shadow(0 0 14px rgba(88, 101, 242, 0.5));
}
.lp-disc-desc {
  color: var(--lp-text-dim); font-size: 13.5px; line-height: 1.55;
  max-width: 280px;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.lp-faq-list {
  max-width: 920px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.lp-faq {
  border: 1px solid var(--lp-line);
  background: linear-gradient(180deg, rgba(15, 28, 48, 0.6) 0%, rgba(6, 14, 28, 0.75) 100%);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.lp-faq:hover { border-color: rgba(125, 211, 252, 0.3); }
.lp-faq[open] { border-color: rgba(125, 211, 252, 0.4); }

.lp-faq summary {
  padding: 16px 20px;
  cursor: pointer;
  font-family:var(--font-display);
  font-size: 14px; letter-spacing: 0.8px;
  color: var(--lp-text);
  font-weight: 600;
  display: flex; align-items: center; justify-content: space-between;
  list-style: none;
  transition: color 0.2s;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: '+';
  color: var(--lp-cyan);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s;
}
.lp-faq[open] summary::after { content: '−'; }
.lp-faq summary:hover { color: var(--lp-cyan); background: transparent; }
.lp-faq-body {
  padding: 0 20px 18px;
  font-family:var(--font-body);
  font-size: 14.5px; line-height: 1.65;
  color: var(--lp-text-dim);
  border-top: none;
}
.lp-faq-body b { color: var(--lp-cyan); font-weight: 600; }

/* ── FOOTER ────────────────────────────────────────────────── */
.lp-footer {
  position: relative;
  padding: 60px 28px 32px;
  border-top: 1px solid var(--lp-line);
  background: rgba(2, 6, 16, 0.8);
}
.lp-footer-inner { max-width: 1320px; margin: 0 auto; }
.lp-end {
  font-family:var(--font-display);
  font-size: 16px; letter-spacing: 4px; font-weight: 600;
  color: var(--lp-text-dim);
  text-align: center;
  margin-bottom: 20px;
}
.lp-end span {
  background: linear-gradient(180deg, #fff 0%, var(--lp-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.lp-glyphs {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 14px; margin: 18px 0 32px;
  font-family:var(--font-display);
  font-size: 22px;
  color: var(--lp-text-faint);
  opacity: 0.75;
}
.lp-glyphs span {
  transition: color 0.3s, transform 0.3s;
  cursor: default;
}
.lp-glyphs span:hover {
  color: var(--lp-cyan);
  transform: rotate(8deg) scale(1.15);
  text-shadow: 0 0 12px var(--lp-cyan-glow);
}

.lp-footer-social {
  display: flex; justify-content: center; gap: 12px;
  margin: 12px 0 18px;
  flex-wrap: wrap;
}
.lp-footer-social a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--lp-line);
  color: var(--lp-text-dim);
  font-family:var(--font-body);
  font-size: 12px; letter-spacing: 0.8px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
}
.lp-footer-social a:hover {
  border-color: var(--lp-cyan);
  color: var(--lp-cyan);
  background: rgba(125, 211, 252, 0.06);
}

.lp-footer-links {
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
  font-family:var(--font-body);
  font-size: 12.5px; letter-spacing: 0.4px;
  margin-bottom: 14px;
}
.lp-footer-links a,
.lp-footer-links .lp-footer-link-btn {
  color: var(--lp-text-faint);
  text-decoration: none;
  transition: color 0.2s;
  background: none;
  border: none;
  font: inherit;
  padding: 0;
  cursor: pointer;
  font-family:var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.4px;
}
.lp-footer-links a:hover,
.lp-footer-links .lp-footer-link-btn:hover { color: var(--lp-cyan); text-shadow: none; }
.lp-footer-links > span { color: var(--lp-line); }

.lp-footer-copy {
  font-family:var(--font-body);
  font-size: 11.5px; letter-spacing: 0.3px;
  color: var(--lp-text-faint);
  text-align: center;
}

/* Auth back button — fixed top-left */
#authOverlay > .auth-back-to-site,
.auth-back-to-site {
  position: fixed !important;
  top: 16px !important;
  left: 16px !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin: 0 !important;
  background: rgba(3, 10, 22, 0.88) !important;
  border: 1px solid rgba(125, 211, 252, 0.35) !important;
  color: var(--lp-cyan) !important;
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  letter-spacing: 1px !important;
  font-weight: 600 !important;
  padding: 8px 14px !important;
  cursor: pointer !important;
  border-radius: 4px !important;
  z-index: 100000 !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
  white-space: nowrap !important;
  line-height: 1.3 !important;
  display: inline-block !important;
}
.auth-back-to-site:hover {
  background: rgba(125, 211, 252, 0.14) !important;
  border-color: var(--lp-cyan) !important;
  box-shadow: 0 0 14px rgba(125, 211, 252, 0.3), 0 4px 14px rgba(0, 0, 0, 0.5) !important;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .lp-hero-right { min-height: 320px; }
  .lp-gate { width: 340px; }
  .lp-proto-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-hero-title { font-size: 50px; }
}

@media (max-width: 760px) {
  .lp-bg { background-attachment: scroll; }
  .lp-nav { padding: 12px 16px; }
  .lp-nav-links { display: none; }
  .lp-nav-cta .lp-btn { display: none; }
  .lp-nav-cta .lp-btn.lp-btn-primary {
    display: inline-flex;
    padding: 7px 12px; font-size: 11px; letter-spacing: 0.8px;
  }
  .lp-nav-burger { display: block; }
  .lp-logo-img { height: 32px; }

  #landingPage.nav-open .lp-nav { flex-wrap: wrap; }
  #landingPage.nav-open .lp-nav-links,
  #landingPage.nav-open .lp-nav-cta {
    display: flex; flex-direction: column; align-items: stretch;
    width: 100%; gap: 8px; margin-top: 12px;
    padding-top: 12px; border-top: 1px solid var(--lp-line-soft);
  }
  #landingPage.nav-open .lp-nav-cta { flex-direction: row; flex-wrap: wrap; }
  #landingPage.nav-open .lp-nav-cta .lp-btn { display: inline-flex; flex: 1; }
  #landingPage.nav-open .lp-nav-links a {
    padding: 10px; border-bottom: 1px solid var(--lp-line-soft);
  }

  .lp-hero { padding: 40px 16px 60px; }
  .lp-hero-title { font-size: 38px; }
  .lp-hero-sub { font-size: 15px; }
  .lp-hero-specs { grid-template-columns: repeat(2, 1fr); }
  .lp-gate { width: 290px; }
  .lp-gate-readout { font-size: 10px; gap: 10px; padding: 8px 12px; }

  .lp-section { padding: 70px 16px 80px; }
  .lp-sec-title { font-size: 28px; }
  .lp-sec-sub { font-size: 14px; }

  .lp-proto-grid { grid-template-columns: 1fr; gap: 14px; }
  .lp-proto { padding: 24px 20px; }

  .lp-fac-strip-row { grid-template-columns: repeat(3, 1fr); }

  .lp-end { font-size: 14px; letter-spacing: 3px; }
  .lp-glyphs { gap: 8px; font-size: 18px; }

  .lp-stats-row { grid-template-columns: 1fr; gap: 12px; }
  .lp-stat-card .lp-stat-num { font-size: 36px; }
}

/* ── Tablet portrait & phablet (iPad mini portrait, large phones landscape) ── */
@media (max-width: 1024px) {
  .lp-dossier-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Phone large (iPhone Pro Max 430, Galaxy S Ultra) ── */
@media (max-width: 600px) {
  .lp-hero-specs { grid-template-columns: repeat(2, 1fr); }
  .lp-fac-strip-row { grid-template-columns: repeat(3, 1fr); }
  .lp-dossier-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .lp-proto-grid { grid-template-columns: 1fr; gap: 14px; }
  .lp-spec { padding: 12px 12px; }
  .lp-spec-val { font-size: 18px; }
  .lp-spec-label { font-size: 9px; }
  .lp-fac-strip { padding: 18px 16px; }
}

@media (max-width: 430px) {
  .lp-hero-title { font-size: 32px; line-height: 1.05; }
  .lp-hero-sub { font-size: 14px; }
  .lp-btn-cta-primary { padding: 14px 20px; font-size: 13px; width: 100%; justify-content: center; }
  .lp-btn-cta-ghost { padding: 14px 18px; width: 100%; justify-content: center; }
  .lp-fac-strip-row { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .lp-fac-chip { padding: 10px 4px 8px; min-height: 56px; }
  .lp-fac-txt { font-size: 11px; letter-spacing: 0.4px; }
  .lp-gate { width: 240px; }
  .lp-community { padding: 28px 18px 24px; }
  .lp-sec-title { font-size: 24px; }
  .lp-section { padding: 50px 14px 60px; }
}

/* ── Phone small (iPhone SE, small Android) ── */
@media (max-width: 360px) {
  .lp-hero-title { font-size: 28px; }
  .lp-hero-sub { font-size: 13px; }
  .lp-hero-specs { grid-template-columns: 1fr; }
  .lp-fac-strip-row { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .lp-dossier-grid { grid-template-columns: 1fr; }
  .lp-spec-val { font-size: 16px; }
  .lp-gate { width: 200px; }
}

/* ── Touch feedback (no hover on touch devices) ── */
@media (hover: none), (pointer: coarse) {
  .lp-fac-chip:active { background: rgba(125, 211, 252, 0.16); transform: scale(0.97); }
  .lp-proto:active { transform: scale(0.99); border-color: rgba(125, 211, 252, 0.55); }
  .lp-btn:active { transform: scale(0.97); }
  .lp-nav-burger:active { background: rgba(125, 211, 252, 0.18); }
  .lp-lang-opt:active { color: var(--lp-cyan); }
  .lp-dossier:active { transform: scale(0.99); }
}

/* ── REDUCED MOTION ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .lp-blink,
  .lp-pulse-dot,
  .lp-eh,
  .lp-ring-rot,
  .lp-chv,
  .lp-dossier-sym { animation: none !important; }
}

/* ── FOCUS ─────────────────────────────────────────────────── */
.lp-btn:focus-visible,
.lp-dossier:focus-visible,
.lp-nav-links a:focus-visible,
.lp-lang-opt:focus-visible,
.lp-fac-chip:focus-visible,
.lp-footer-social a:focus-visible,
.lp-footer-links a:focus-visible,
.lp-faq summary:focus-visible,
.lp-nav-burger:focus-visible {
  outline: 2px solid var(--lp-cyan);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5), 0 0 16px var(--lp-cyan-glow);
}
