/* ========== LANDING PAGE ==========
   Builds on the tokens and theme defined in styles.css. */

body.landing {
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
  min-height: 100vh;
  line-height: 1.6;
}

/* Stronger ambient glow than the app, since there is no map behind it */
body.landing::before {
  background:
    radial-gradient(ellipse 60% 50% at 10% 20%, rgba(124, 58, 237, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 10%, rgba(34, 211, 238, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(74, 222, 128, 0.05) 0%, transparent 60%);
}
[data-theme="light"] body.landing::before { opacity: 0.6; }

/* Faint grid texture, a nod to the power grid */
body.landing::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

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

.lp-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.lp-nav.scrolled {
  background: var(--sidebar-bg);
  border-bottom-color: var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.lp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.lp-nav-links {
  display: flex;
  gap: 32px;
}
.lp-nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.lp-nav-links a:hover { color: var(--accent2); }
.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- Buttons ---------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; }
.lp-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #0891b2);
  box-shadow: var(--glow-accent);
}
.lp-btn-primary:hover { box-shadow: 0 0 28px rgba(124, 58, 237, 0.45), var(--glow-cyan); }
.lp-btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-hover);
  background: var(--bg-subtle);
}
.lp-btn-ghost:hover { border-color: var(--accent2); }
.lp-btn-sm { padding: 9px 16px; font-size: 0.85rem; border-radius: 10px; }
.lp-btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.lp-hero { padding: 72px 0 40px; }
.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}
.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line-hover);
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 500;
}
.lp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: var(--glow-green);
}
.lp-title {
  margin: 22px 0 20px;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.lp-gradient-text {
  background: linear-gradient(135deg, var(--purple), var(--accent2) 55%, var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-lede {
  max-width: 560px;
  color: var(--text-secondary);
  font-size: 1.12rem;
}
.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* 3D globe (drawn by landing.js) */
.lp-hero-visual {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 540px;
  justify-self: center;
  perspective: 1100px;
  animation: lp-visual-in 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--intro-offset, 0s) + 0.15s);
}
@keyframes lp-visual-in {
  from { opacity: 0; transform: scale(0.55) rotateX(35deg); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: none; }
}
.lp-globe-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--px, 0) * 10deg)) rotateX(calc(var(--py, 0) * -8deg));
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.lp-globe-wrap::before {
  content: '';
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28), rgba(124, 58, 237, 0.14) 50%, transparent 72%);
  filter: blur(30px);
  animation: lp-pulse 5s ease-in-out infinite;
}
.lp-globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.lp-hero-logo {
  position: relative;
  width: 24%;
  transform: translateZ(60px);
  filter: drop-shadow(0 0 22px rgba(34, 211, 238, 0.55)) drop-shadow(0 0 40px rgba(124, 58, 237, 0.45));
}

@keyframes lp-spin { to { transform: rotate(360deg); } }
@keyframes lp-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Perspective "power grid" floor rolling toward the viewer */
.lp-hero-floor {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: 0;
  height: 62%;
  perspective: 360px;
  perspective-origin: 50% 0%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.6) 35%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.6) 35%, transparent 85%);
  animation: lp-fade-in 2s ease both;
  animation-delay: calc(var(--intro-offset, 0s) + 0.3s);
}
.lp-floor-grid {
  position: absolute;
  inset: 0 0 -60% 0;
  transform-origin: 50% 0%;
  transform: rotateX(62deg) translateX(calc(var(--px, 0) * -30px));
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.45) 1px, transparent 1px);
  background-size: 70px 70px;
  animation: lp-floor-roll 2.6s linear infinite;
  transition: transform 0.4s ease-out;
}
[data-theme="light"] .lp-hero-floor { opacity: 0.3; }
@keyframes lp-floor-roll { to { background-position: 0 70px; } }
@keyframes lp-fade-in { from { opacity: 0; } }

/* Hero copy drifts opposite the globe for depth */
.lp-hero-copy {
  transform: translate3d(calc(var(--px, 0) * -12px), calc(var(--py, 0) * -8px), 0);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Opening sequence ---------- */
.lp-splash { display: none; }
html.lp-splash-on { --intro-offset: 1.7s; }
html.lp-splash-on .lp-splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background:
    radial-gradient(ellipse 50% 50% at 50% 45%, rgba(124, 58, 237, 0.18), transparent 70%),
    var(--bg);
  pointer-events: none;
  animation: lp-splash-out 0.75s cubic-bezier(0.7, 0, 0.3, 1) 1.55s forwards;
}
@keyframes lp-splash-out {
  to { opacity: 0; transform: scale(1.35); visibility: hidden; }
}
.lp-splash-stage {
  position: relative;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  perspective: 700px;
  transform-style: preserve-3d;
}
.lp-splash-logo {
  position: relative;
  width: 96px;
  filter: drop-shadow(0 0 26px rgba(34, 211, 238, 0.6));
  animation: lp-splash-logo 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes lp-splash-logo {
  from { opacity: 0; transform: translateZ(-600px) rotateY(-220deg); filter: blur(12px); }
  to { opacity: 1; transform: none; }
}
.lp-splash-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent2);
  box-shadow: var(--glow-cyan), inset var(--glow-cyan);
  opacity: 0;
  animation: lp-splash-ring 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.lp-splash-ring-1 { --rx: 70deg; --ry: 0deg; animation-delay: 0.15s; }
.lp-splash-ring-2 { --rx: 70deg; --ry: 60deg; border-color: var(--purple); box-shadow: var(--glow-accent); animation-delay: 0.25s; }
.lp-splash-ring-3 { --rx: 70deg; --ry: -60deg; border-color: var(--green); box-shadow: var(--glow-green); animation-delay: 0.35s; }
@keyframes lp-splash-ring {
  0% { opacity: 0; transform: rotateY(var(--ry)) rotateX(var(--rx)) scale(0.2); }
  40% { opacity: 1; }
  100% { opacity: 0.85; transform: rotateY(calc(var(--ry) + 180deg)) rotateX(var(--rx)) scale(1); }
}
.lp-splash-burst {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(34, 211, 238, 0.4) 40%, transparent 70%);
  opacity: 0;
  animation: lp-splash-burst 0.9s ease-out 0.75s forwards;
}
@keyframes lp-splash-burst {
  0% { opacity: 0; transform: scale(0.3); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: scale(4); }
}
.lp-splash-word {
  display: flex;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  perspective: 600px;
}
.lp-splash-word span {
  display: inline-block;
  animation: lp-letter 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(0.45s + var(--l) * 55ms);
}
.lp-splash-accent { color: var(--accent2); }
@keyframes lp-letter {
  from { opacity: 0; transform: translateY(20px) rotateX(-90deg); }
  to { opacity: 1; transform: none; }
}

/* Live stats */
.lp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}
.lp-stat {
  padding: 24px 28px;
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}
.lp-stat + .lp-stat { border-left: 1px solid var(--line); }
.lp-stat dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.lp-stat dd {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Sections ---------- */
.lp-section { padding: 110px 0; }
.lp-section-alt {
  background: var(--bg-subtle);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lp-section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.lp-kicker {
  color: var(--accent2);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.lp-h2 {
  margin: 12px 0 16px;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.lp-section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Mission pillars */
.lp-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lp-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.lp-card:hover { border-color: var(--line-hover); transform: translateY(-3px); }
.lp-card h3 { margin: 18px 0 8px; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.lp-card p { color: var(--text-secondary); font-size: 0.95rem; }
.lp-card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1.3rem;
}
.lp-icon-cyan { color: var(--accent2); background: rgba(34, 211, 238, 0.1); box-shadow: var(--glow-cyan); }
.lp-icon-purple { color: var(--purple); background: rgba(124, 58, 237, 0.12); box-shadow: var(--glow-accent); }
.lp-icon-green { color: var(--green); background: rgba(74, 222, 128, 0.1); box-shadow: var(--glow-green); }

/* How-it-works steps */
.lp-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.lp-step {
  display: flex;
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-card);
  transition: border-color 0.2s ease;
}
.lp-step:hover { border-color: var(--accent2); }
.lp-step-num {
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--purple), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-step h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.lp-step p { color: var(--text-secondary); font-size: 0.95rem; }
.lp-tab-tag {
  padding: 2px 9px;
  border: 1px solid var(--line-hover);
  border-radius: 6px;
  background: var(--bg-input);
  color: var(--accent2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Team */
.lp-team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.lp-member {
  --c: var(--accent2);
  flex: 0 1 calc((100% - 40px) / 3);
  min-width: 240px;
  padding: 34px 26px 30px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-card);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.lp-member:hover { transform: translateY(-6px); border-color: var(--c); }
.lp-member-cyan { --c: var(--accent2); }
.lp-member-purple { --c: var(--purple); }
.lp-member-green { --c: var(--green); }
.lp-member-amber { --c: var(--amber); }
.lp-member-blue { --c: var(--blue); }
.lp-member-avatar {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto 20px;
  padding: 3px;
  border-radius: 50%;
  animation: lp-float 6s ease-in-out infinite;
}
.lp-member:nth-child(2n) .lp-member-avatar { animation-delay: -3s; }
.lp-member-avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--c), transparent 40%, var(--c) 70%, transparent);
  animation: lp-spin 6s linear infinite;
}
.lp-member-avatar::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: var(--c);
  opacity: 0.12;
  filter: blur(18px);
  transition: opacity 0.25s ease;
}
.lp-member:hover .lp-member-avatar::after { opacity: 0.35; }
.lp-member:hover .lp-member-avatar::before { animation-duration: 1.6s; }
.lp-member-avatar span {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg);
  color: var(--c);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.lp-member-name { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.lp-member-role {
  margin-top: 2px;
  color: var(--c);
  font-size: 0.85rem;
  font-weight: 600;
}
.lp-member-bio {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* Final CTA */
.lp-final { padding-top: 0; }
.lp-final-card {
  padding: 64px 32px;
  text-align: center;
  border: 1px solid var(--line-hover);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(124, 58, 237, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(34, 211, 238, 0.12), transparent 70%),
    var(--bg-card);
}
.lp-final-card .lp-h2 { margin-top: 0; }
.lp-final-card .lp-btn { margin-top: 28px; }

/* Footer */
.lp-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.lp-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.lp-footer-inner a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lp-footer-inner a:hover { color: var(--accent2); }

/* ---------- Motion ---------- */

/* Hero intro sequence (waits for the opening sequence when it plays) */
.lp-intro {
  animation: lp-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 90ms + 80ms + var(--intro-offset, 0s));
}
@keyframes lp-rise {
  from { opacity: 0; transform: translateY(24px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* Headline words flip up in 3D */
.lp-title { perspective: 900px; }
.lp-word {
  display: inline-block;
  transform-origin: 50% 100%;
  animation: lp-flip-up 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 110ms + 80ms + var(--intro-offset, 0s));
}
@keyframes lp-flip-up {
  from { opacity: 0; transform: translateY(40px) translateZ(-120px) rotateX(-85deg); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}
[data-theme="dark"] .lp-title {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 40px rgba(124, 58, 237, 0.35);
}
.lp-title .lp-gradient-text {
  text-shadow: none;
  filter: drop-shadow(0 6px 24px rgba(34, 211, 238, 0.35));
}

/* Shimmering gradient on "halo" */
.lp-shimmer {
  background-size: 250% 100%;
  animation: lp-shimmer 6s ease-in-out infinite;
}
@keyframes lp-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Energy currents flowing along the background grid */
.lp-hero { position: relative; overflow: hidden; }
.lp-currents {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.lp-hero > .lp-container { position: relative; z-index: 1; }
.lp-currents span {
  position: absolute;
  top: var(--top);
  left: -30%;
  width: 26%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent2), transparent);
  opacity: 0;
  animation: lp-current-x var(--dur) linear var(--delay) infinite;
}
.lp-currents .lp-current-v {
  top: -30%;
  left: var(--left);
  width: 1px;
  height: 26%;
  background: linear-gradient(180deg, transparent, var(--purple), transparent);
  animation-name: lp-current-y;
}
@keyframes lp-current-x {
  0% { transform: translateX(0); opacity: 0; }
  10%, 80% { opacity: 0.7; }
  100% { transform: translateX(560%); opacity: 0; }
}
@keyframes lp-current-y {
  0% { transform: translateY(0); opacity: 0; }
  10%, 80% { opacity: 0.6; }
  100% { transform: translateY(560%); opacity: 0; }
}

@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.lp-hero-logo { animation: lp-float 7s ease-in-out infinite; }

/* Shine sweep across primary buttons */
.lp-btn-shine { position: relative; overflow: hidden; }
.lp-btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: lp-shine 4.5s ease-in-out 1.5s infinite;
}
@keyframes lp-shine {
  0%, 70% { left: -60%; }
  100% { left: 130%; }
}

/* Cursor-following spotlight on cards (position set by landing.js) */
.lp-glow-card { position: relative; isolation: isolate; }
.lp-glow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, 0.1), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  pointer-events: none;
}
.lp-glow-card:hover::before { opacity: 1; }
.lp-member.lp-glow-card::before {
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c) 16%, transparent), transparent 65%);
}

/* Icon bob on card hover */
.lp-card:hover .lp-card-icon { animation: lp-float 1.6s ease-in-out infinite; }

/* Stat values pop when counting finishes */
.lp-stat dd.done { animation: lp-pop 0.5s ease; }
@keyframes lp-pop {
  50% { transform: scale(1.06); color: var(--accent2); }
}

/* Scroll reveal (only hides content once JS confirms it can reveal it) */
.lp-js .lp-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.lp-js .lp-reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .lp-hero-visual, .lp-globe-wrap::before, .lp-hero-floor, .lp-floor-grid, .lp-intro, .lp-word, .lp-shimmer,
  .lp-currents span, .lp-hero-logo, .lp-btn-shine::after, .lp-member-avatar,
  .lp-member-avatar::before, .lp-card:hover .lp-card-icon, .lp-stat dd.done { animation: none; }
  .lp-js .lp-reveal { opacity: 1; transform: none; transition: none; }
  .lp-hero-copy, .lp-globe-wrap { transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
html:has(body.landing) { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .lp-hero-grid { grid-template-columns: 1fr; }
  .lp-hero-visual { max-width: 340px; order: -1; }
  .lp-pillars { grid-template-columns: 1fr; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-member { flex-basis: calc((100% - 20px) / 2); }
  .lp-stats { grid-template-columns: repeat(2, 1fr); }
  .lp-stat:nth-child(3) { border-left: none; }
  .lp-stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .lp-section { padding: 80px 0; }
}
@media (max-width: 720px) {
  .lp-nav-links { display: none; }
  .lp-member { flex-basis: 100%; }
}
@media (max-width: 480px) {
  .lp-container { padding: 0 16px; }
  .lp-nav .logo-sub { display: none; }
  .lp-hero { padding-top: 40px; }
  .lp-stat { padding: 18px; }
  .lp-stat dd { font-size: 1.5rem; }
  .lp-step { flex-direction: column; gap: 8px; padding: 22px; }
  .lp-final-card { padding: 48px 20px; }
}
