/* Lucidium Scroll World — lite v2 */
:root {
  --bg: #0b1120;
  --ink: #f8fafc;
  --soft: #cbd5e1;
  --accent: #a5b4fc;
  --btn: #4338ca;
  --panel: rgba(11, 17, 32, 0.82);
  --border: rgba(148, 163, 184, 0.3);
  --safe-top: max(12px, env(safe-area-inset-top));
  --safe-bottom: max(12px, env(safe-area-inset-bottom));
  --safe-left: max(16px, env(safe-area-inset-left));
  --safe-right: max(16px, env(safe-area-inset-right));
  --header-h: 4.25rem;
  --font-d: Syne, Manrope, system-ui, sans-serif;
  --font-b: Manrope, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

/* —— Header: brand | centered nav | CTA —— */
.lw-top {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  height: calc(var(--header-h) + var(--safe-top));
  padding: var(--safe-top) var(--safe-right) 0 var(--safe-left);
  pointer-events: none;
}
.lw-top > * {
  pointer-events: auto;
}

.lw-brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.lw-brand:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}
.lw-brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: block;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1px rgba(165, 180, 252, 0.22),
    0 8px 22px -6px rgba(99, 102, 241, 0.55);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.lw-brand:hover .lw-brand__mark {
  transform: scale(1.04);
  box-shadow:
    0 0 0 1px rgba(165, 180, 252, 0.4),
    0 10px 28px -4px rgba(79, 70, 229, 0.65);
}
.lw-brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  line-height: 1.15;
}
.lw-brand__row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.lw-brand__name {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #f8fafc 0%, #e0e7ff 42%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lw-brand__ai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.75);
  color: #c4b5fd;
  font-family: var(--font-b);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  background: rgba(99, 102, 241, 0.12);
}
.lw-brand__tag {
  font-family: var(--font-b);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #94a3b8;
}

.lw-nav {
  justify-self: center;
  display: flex;
  gap: 3px;
  padding: 4px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px -12px rgba(0, 0, 0, 0.45);
}
.lw-nav button {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--soft);
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  min-height: 36px;
  transition:
    color 0.25s var(--ease),
    background 0.25s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.25s var(--ease);
}
.lw-nav button:hover {
  color: var(--ink);
  background: rgba(99, 102, 241, 0.18);
}
.lw-nav button:active {
  transform: scale(0.96);
}
.lw-nav button.is-on {
  color: #fff;
  background: var(--btn);
  box-shadow: 0 4px 14px -4px rgba(67, 56, 202, 0.7);
}
.lw-nav button.is-on:hover {
  background: #3730a3;
  color: #fff;
}

.lw-top__actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lw-login {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 999px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.3s var(--ease);
}
.lw-login:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(165, 180, 252, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -10px rgba(79, 70, 229, 0.55);
}
.lw-login:active {
  transform: translateY(0);
}

.lw-cta {
  justify-self: end;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  color: #fff;
  background: var(--btn);
  padding: 10px 16px;
  border-radius: 999px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition:
    background 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.3s var(--ease);
}
.lw-cta:hover {
  background: #3730a3;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -10px rgba(79, 70, 229, 0.75);
}
.lw-cta:active {
  transform: translateY(0);
}

/* —— Stage —— */
.lw-stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: var(--bg);
  overflow: hidden;
}
.lw-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(11, 17, 32, 0.55) 0%,
    rgba(11, 17, 32, 0.22) 28%,
    transparent 52%
  );
}
.lw-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  will-change: opacity;
}
.lw-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.08);
  transform-origin: 50% 46%;
  will-change: transform;
  transition: transform 0.05s linear;
}

/* —— Caption: left band, vertically centered IN A SAFE SLOT (no clipping) —— */
.lw-copy-slot {
  position: fixed;
  z-index: 40;
  left: clamp(2.25rem, 7.5vw, 5.25rem);
  top: 0;
  bottom: 0;
  width: min(400px, 36vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: calc(var(--header-h) + var(--safe-top) + 1.5rem) 0
    calc(var(--safe-bottom) + 2rem);
  box-sizing: border-box;
  pointer-events: none;
}

.lw-copy-aura {
  position: absolute;
  inset: calc(var(--header-h) + var(--safe-top) + 1rem)
    -12px
    calc(var(--safe-bottom) + 1.5rem)
    -12px;
  border-radius: 1.4rem;
  pointer-events: none;
  background: radial-gradient(
    60% 50% at 40% 45%,
    rgba(99, 102, 241, 0.28),
    transparent 70%
  );
  filter: blur(18px);
  opacity: 0.9;
  animation: lw-aura-breathe 4.5s ease-in-out infinite;
}
@keyframes lw-aura-breathe {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.03);
  }
}

.lw-copy {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 1.15rem 1.25rem 1.2rem;
  border-radius: 1.1rem;
  background: rgba(11, 17, 32, 0.88);
  border: 1px solid rgba(165, 180, 252, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.12),
    0 18px 48px -18px rgba(0, 0, 0, 0.65),
    0 0 36px -8px rgba(99, 102, 241, 0.4);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.lw-copy::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.lw-copy__num {
  margin: 0;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--soft);
}
.lw-copy__eyebrow {
  margin: 0.45rem 0 0;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 16px rgba(165, 180, 252, 0.45);
}
.lw-copy__title {
  margin: 0.4rem 0 0;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lw-copy__body {
  margin: 0.55rem 0 0;
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 1.5;
  color: var(--soft);
}

.lw-copy__points {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.lw-copy__points:empty {
  display: none;
}
.lw-copy__points li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.86rem;
  line-height: 1.4;
  color: #e2e8f0;
}
.lw-copy__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(165, 180, 252, 0.18);
}

.lw-copy__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0.8rem 0 0;
  padding: 0;
}
.lw-copy__tags:empty {
  display: none;
}
.lw-copy__tags li {
  font-size: 0.72rem;
  font-weight: 600;
  color: #e0e7ff;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(67, 56, 202, 0.32);
  border: 1px solid var(--border);
  transition:
    transform 0.2s var(--ease),
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    box-shadow 0.25s var(--ease);
}
.lw-copy__tags li:hover {
  transform: translateY(-1px);
  background: rgba(67, 56, 202, 0.48);
  border-color: rgba(165, 180, 252, 0.5);
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.4);
}

.lw-copy__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0.9rem;
}
.lw-copy__actions[hidden] {
  display: none !important;
}
.lw-btn {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 18px;
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition:
    transform 0.2s var(--ease),
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.lw-btn--primary {
  color: #fff;
  background: var(--btn);
}
.lw-btn--primary:hover {
  background: #3730a3;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -10px rgba(79, 70, 229, 0.7);
}
.lw-btn--ghost {
  color: var(--ink);
  border: 1.5px solid rgba(248, 250, 252, 0.35);
  background: transparent;
}
.lw-btn--ghost:hover {
  border-color: rgba(165, 180, 252, 0.65);
  background: rgba(79, 70, 229, 0.16);
  transform: translateY(-1px);
}

/* —— Dots with labels —— */
.lw-dots {
  position: fixed;
  z-index: 40;
  right: var(--safe-right);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 14px 8px;
}
.lw-dots button {
  position: relative;
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(67, 56, 202, 0.42);
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.lw-dots button:hover,
.lw-dots button.is-on {
  background: var(--btn);
  transform: scale(1.25);
  box-shadow: 0 0 0 5px rgba(67, 56, 202, 0.28);
}
.lw-dots button span {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.lw-dots button:hover span,
.lw-dots button.is-on span {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.lw-hint {
  position: fixed;
  z-index: 25;
  left: 50%;
  bottom: calc(var(--safe-bottom) + 14px);
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.lw-hint span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.lw-hint span::after {
  content: "";
  width: 18px;
  height: 28px;
  border: 1.5px solid rgba(165, 180, 252, 0.45);
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.35);
  animation: lw-hint-glow 2.4s ease-in-out infinite;
}
@keyframes lw-hint-glow {
  0%,
  100% {
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.25);
    border-color: rgba(165, 180, 252, 0.35);
  }
  50% {
    box-shadow: 0 0 18px rgba(129, 140, 248, 0.55);
    border-color: rgba(199, 210, 254, 0.7);
  }
}

.lw-track {
  position: relative;
  z-index: 0;
  pointer-events: none;
}

/* =========================================================
   Futuristic glow system (dashboard language) + micro-motion
   ========================================================= */
@property --lw-glow-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --lw-mx: 72%;
  --lw-my: 22%;
}

.lw-pointer {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 4;
  background: radial-gradient(
    520px circle at var(--lw-mx) var(--lw-my),
    rgba(99, 102, 241, 0.22),
    rgba(79, 70, 229, 0.08) 32%,
    transparent 58%
  );
  transition: opacity 0.4s var(--ease);
}

.lw-orbs {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}
.lw-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.45;
  mix-blend-mode: screen;
}
.lw-orb--a {
  width: 280px;
  height: 280px;
  left: 8%;
  top: 18%;
  background: rgba(99, 102, 241, 0.35);
  animation: lw-drift-a 14s ease-in-out infinite;
}
.lw-orb--b {
  width: 220px;
  height: 220px;
  right: 12%;
  top: 28%;
  background: rgba(167, 139, 250, 0.28);
  animation: lw-drift-b 18s ease-in-out infinite;
}
.lw-orb--c {
  width: 260px;
  height: 260px;
  left: 42%;
  bottom: 8%;
  background: rgba(56, 189, 248, 0.14);
  animation: lw-drift-c 16s ease-in-out infinite;
}
@keyframes lw-drift-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(4vw, 3vh) scale(1.08);
  }
}
@keyframes lw-drift-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-3vw, 4vh) scale(1.12);
  }
}
@keyframes lw-drift-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(2vw, -3vh);
  }
}

.lw-glow {
  position: relative;
  overflow: visible;
  isolation: isolate;
}
.lw-nav.lw-glow,
.lw-cta.lw-glow,
.lw-login.lw-glow,
.lw-btn.lw-glow {
  z-index: 1;
}
.lw-glow::before,
.lw-glow::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
/* soft outer bloom — behind content */
.lw-glow::before {
  inset: -5px;
  z-index: -1;
  background: conic-gradient(
    from var(--lw-glow-angle),
    transparent 0deg 248deg,
    rgba(124, 58, 237, 0.16) 275deg,
    rgba(168, 85, 247, 0.45) 300deg,
    rgba(216, 180, 254, 0.55) 318deg,
    rgba(168, 85, 247, 0.45) 336deg,
    rgba(124, 58, 237, 0.16) 355deg,
    transparent 360deg
  );
  filter: blur(14px);
}
/* spinning edge highlight — never paint over text */
.lw-glow::after {
  inset: -1px;
  z-index: 1;
  padding: 1.5px;
  background: conic-gradient(
    from var(--lw-glow-angle),
    transparent 0deg 255deg,
    rgba(139, 92, 246, 0.35) 278deg,
    rgba(168, 85, 247, 0.9) 302deg,
    #f5d0fe 318deg,
    #ffffff 326deg,
    #f0abfc 334deg,
    rgba(168, 85, 247, 0.9) 348deg,
    rgba(139, 92, 246, 0.35) 358deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
@keyframes lw-glow-spin {
  to {
    --lw-glow-angle: 360deg;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .lw-glow:hover::before,
  .lw-glow:hover::after,
  .lw-glow:focus-within::before,
  .lw-glow:focus-within::after {
    opacity: 1;
    animation: lw-glow-spin 3.8s linear infinite;
  }

  .lw-nav button.is-on {
    box-shadow:
      0 0 0 1px rgba(165, 180, 252, 0.35),
      0 0 18px rgba(99, 102, 241, 0.45),
      0 6px 16px -6px rgba(79, 70, 229, 0.7);
  }

  .lw-dots button.is-on {
    animation: lw-dot-pulse 2.2s ease-in-out infinite;
  }
  @keyframes lw-dot-pulse {
    0%,
    100% {
      box-shadow:
        0 0 0 5px rgba(67, 56, 202, 0.28),
        0 0 12px rgba(165, 180, 252, 0.45);
    }
    50% {
      box-shadow:
        0 0 0 8px rgba(67, 56, 202, 0.18),
        0 0 22px rgba(165, 180, 252, 0.75);
    }
  }

  .lw-copy__eyebrow {
    text-shadow: 0 0 18px rgba(165, 180, 252, 0.45);
    animation: lw-accent-breathe 3.6s ease-in-out infinite;
  }
  @keyframes lw-accent-breathe {
    0%,
    100% {
      opacity: 0.88;
      filter: drop-shadow(0 0 0 transparent);
    }
    50% {
      opacity: 1;
      filter: drop-shadow(0 0 8px rgba(165, 180, 252, 0.55));
    }
  }

  .lw-copy__points li::before {
    animation: lw-point-glow 2.8s ease-in-out infinite;
  }
  .lw-copy__points li:nth-child(2)::before {
    animation-delay: 0.4s;
  }
  .lw-copy__points li:nth-child(3)::before {
    animation-delay: 0.8s;
  }
  @keyframes lw-point-glow {
    0%,
    100% {
      box-shadow: 0 0 0 3px rgba(165, 180, 252, 0.14);
    }
    50% {
      box-shadow: 0 0 0 5px rgba(165, 180, 252, 0.32), 0 0 10px rgba(129, 140, 248, 0.55);
    }
  }

  .lw-copy__tags li {
    transition:
      transform 0.2s var(--ease),
      background 0.2s var(--ease),
      border-color 0.2s var(--ease),
      box-shadow 0.25s var(--ease);
  }
  .lw-copy__tags li:hover {
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.45);
  }

  .lw-btn.lw-glow::before,
  .lw-btn.lw-glow::after {
    border-radius: 999px;
  }
}

/* —— Mobile —— */
@media (max-width: 860px) {
  .lw-pointer,
  .lw-orbs {
    display: none;
  }

  .lw-top {
    display: flex;
    justify-content: space-between;
  }
  .lw-nav {
    display: none;
  }

  .lw-brand {
    gap: 9px;
  }
  .lw-brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .lw-brand__name {
    font-size: 1rem;
  }
  .lw-brand__ai {
    padding: 1px 6px;
    font-size: 0.58rem;
  }
  .lw-brand__tag {
    font-size: 0.65rem;
  }
  .lw-top__actions {
    gap: 6px;
  }
  .lw-login {
    padding: 9px 12px;
    font-size: 0.82rem;
    min-height: 40px;
  }
  .lw-cta {
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  /* Floating bottom card — stays inside visible viewport */
  .lw-copy-slot {
    left: 10px;
    right: 10px;
    width: auto;
    top: auto;
    bottom: calc(max(10px, env(safe-area-inset-bottom, 0px)) + var(--vv-bottom, 0px));
    height: auto;
    max-height: calc(
      100vh - var(--header-h) - var(--safe-top) - 1.25rem -
        max(10px, env(safe-area-inset-bottom, 0px)) - var(--vv-bottom, 0px)
    );
    max-height: calc(
      100dvh - var(--header-h) - var(--safe-top) - 1.25rem -
        max(10px, env(safe-area-inset-bottom, 0px)) - var(--vv-bottom, 0px)
    );
    justify-content: flex-end;
    padding: 0;
    pointer-events: none;
  }

  .lw-copy-aura {
    display: none;
  }

  .lw-copy {
    pointer-events: auto;
    width: 100%;
    max-width: none;
    max-height: 100%;
    height: auto;
    margin: 0;
    overflow: hidden;
    border-radius: 1.15rem;
    padding: 0.7rem 0.95rem 0.85rem;
    border: 1px solid rgba(165, 180, 252, 0.28);
    background: linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.97) 0%,
      rgba(11, 17, 32, 0.98) 100%
    );
    box-shadow:
      0 12px 36px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(99, 102, 241, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
  .lw-copy::before {
    content: "";
    display: block;
    width: 32px;
    height: 3px;
    margin: 0 auto 0.55rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.45);
  }

  .lw-copy__num {
    font-size: 0.62rem;
  }
  .lw-copy__eyebrow {
    margin-top: 0.25rem;
    font-size: 0.68rem;
  }
  .lw-copy__title {
    margin-top: 0.25rem;
    font-size: clamp(1.2rem, 5.4vw, 1.5rem);
    line-height: 1.18;
  }
  .lw-copy__body {
    margin-top: 0.35rem;
    font-size: 0.84rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  /* Keep card short: drop tags + 3rd bullet on phones */
  .lw-copy__tags {
    display: none;
  }
  .lw-copy__points {
    margin-top: 0.4rem;
    gap: 0.22rem;
  }
  .lw-copy__points li {
    font-size: 0.78rem;
    line-height: 1.3;
  }
  .lw-copy__points li:nth-child(n + 3) {
    display: none;
  }

  .lw-copy__actions {
    margin-top: 0.55rem;
    flex-direction: column;
    gap: 0.4rem;
  }
  /* Last scene: keep CTAs visible — drop bullets */
  .lw-copy:has(.lw-copy__actions:not([hidden])) .lw-copy__points {
    display: none;
  }
  .lw-btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    border-radius: 12px;
    font-size: 0.9rem;
  }

  .lw-stage::after {
    background: linear-gradient(
      0deg,
      rgba(11, 17, 32, 0.92) 0%,
      rgba(11, 17, 32, 0.55) 28%,
      rgba(11, 17, 32, 0.15) 52%,
      transparent 72%
    );
  }

  /* Dots sit mid-right, clear of the card */
  .lw-dots {
    top: 38%;
    bottom: auto;
    right: max(8px, env(safe-area-inset-right));
    transform: none;
    gap: 12px;
    padding: 8px 4px;
  }
  .lw-dots button span {
    display: none;
  }

  .lw-hint {
    display: none;
  }
}

@media (max-width: 860px) and (orientation: landscape) {
  .lw-copy__body {
    -webkit-line-clamp: 1;
  }
  .lw-copy__points {
    display: none;
  }
  .lw-copy {
    padding-top: 0.55rem;
    padding-bottom: 0.6rem;
  }
  .lw-copy::before {
    margin-bottom: 0.35rem;
  }
}

@media (max-width: 860px) and (max-height: 760px) {
  .lw-copy__points {
    display: none;
  }
  .lw-copy__num {
    display: none;
  }
  .lw-copy__body {
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 860px) and (max-height: 640px) {
  .lw-copy__eyebrow {
    display: none;
  }
  .lw-copy__body {
    -webkit-line-clamp: 1;
  }
  .lw-copy::before {
    display: none;
  }
}

@media (min-width: 861px) and (max-height: 760px) {
  .lw-copy-slot {
    left: clamp(1.5rem, 5vw, 3.5rem);
    width: min(360px, 38vw);
  }
  .lw-copy__points li:nth-child(n + 3) {
    display: none;
  }
  .lw-orb {
    opacity: 0.28;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lw-nav button,
  .lw-cta,
  .lw-btn,
  .lw-dots button {
    transition: none !important;
  }
  .lw-scene img {
    transition: none !important;
  }
  .lw-orb,
  .lw-pointer,
  .lw-glow::before,
  .lw-glow::after,
  .lw-copy-aura,
  .lw-copy__eyebrow,
  .lw-copy__points li::before,
  .lw-dots button.is-on,
  .lw-hint span::after {
    animation: none !important;
  }
}
