/* ══════════════════════════════════════════════════════════════
   live.css - TikTok / paid-traffic funnel page (/live)
   ──────────────────────────────────────────────────────────────
   A focused conversion landing, NOT the app shell. Inherits the
   font system + tokens from style.css (loaded first); everything
   below owns layout, background and the live "tape" centerpiece.
   Mobile-first (designed at 390px, scaled up at >=900px).
   Flow colours come from --flow-in / --flow-out so the admin
   invert toggle (flow-colors.js) still holds here.
   ══════════════════════════════════════════════════════════════ */

:root {
  --lv-bg:      #07090f;
  --lv-panel:   rgba(20, 24, 36, 0.66);
  --lv-line:    rgba(255, 255, 255, 0.08);
  --lv-line2:   rgba(255, 255, 255, 0.14);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--lv-bg);
  color: var(--text-hi);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* room for the sticky mobile CTA */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ── Ambient background: violet aurora + faint grid ───────────── */
.lv-aura {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(123, 92, 255, 0.28), transparent 60%),
    radial-gradient(760px 600px at 8% 4%, rgba(56, 120, 230, 0.16), transparent 58%),
    radial-gradient(680px 520px at 92% 70%, rgba(79, 179, 143, 0.10), transparent 60%),
    linear-gradient(180deg, #0a0d16 0%, #07090f 60%);
}
.lv-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 78%);
          mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 78%);
}
/* Lift content above the fixed aura/grid backgrounds. EXCLUDE fixed overlays
   (sticky CTA, cloak) - this selector's specificity (0,2,1) otherwise overrides
   their own `position: fixed`, dropping the sticky bar into normal flow after the
   footer (empty gap + broken hide). They set their own z-index already. */
body > *:not(.lv-aura):not(.lv-grid):not(.lv-sticky):not(.cloak-overlay) { position: relative; z-index: 1; }

/* ── Brand mark ───────────────────────────────────────────────── */
.lv-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text-hi); }
.lv-brand-mark {
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--grad-accent, linear-gradient(135deg, #9171ff, #6a45f5));
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10) inset, 0 4px 18px rgba(123,92,255,0.45);
}
.lv-brand-logo { height: 27px; width: auto; display: block; filter: drop-shadow(0 2px 10px rgba(123,92,255,0.4)); }
.lv-foot .lv-brand-logo { height: 22px; }
.lv-brand-name { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }

/* ── Top bar ──────────────────────────────────────────────────── */
.lv-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; max-width: 1180px; margin: 0 auto;
}
.lv-top-right { display: flex; align-items: center; gap: 14px; }
.lv-lang { display: inline-flex; gap: 2px; background: var(--lv-panel); border: 1px solid var(--lv-line);
  border-radius: 999px; padding: 3px; }
.lv-lang button {
  border: 0; background: transparent; color: var(--text-lo); cursor: pointer;
  font: 700 11px var(--mono); letter-spacing: 0.4px; padding: 4px 9px; border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}
.lv-lang button.active { background: var(--accent-dim); color: var(--accent-2); }
.lv-signin { color: var(--text-md); text-decoration: none; font-weight: 600; font-size: 14px; }
.lv-signin:hover { color: var(--text-hi); }

/* ── HERO ─────────────────────────────────────────────────────── */
.lv-hero {
  max-width: 1180px; margin: 0 auto; padding: 26px 18px 8px;
  display: grid; grid-template-columns: 1fr; gap: 30px;
}
.lv-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lv-panel); border: 1px solid var(--lv-line2); border-radius: 999px;
  padding: 6px 13px; font: 700 11.5px var(--mono); letter-spacing: 0.6px; color: var(--text-md);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-transform: uppercase;
}
.lv-pill-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--flow-in, #4fb38f);
  box-shadow: 0 0 0 0 rgba(79,179,143,0.7); animation: lv-pulse 1.8s ease-out infinite;
}
@keyframes lv-pulse {
  0% { box-shadow: 0 0 0 0 rgba(79,179,143,0.55); }
  70% { box-shadow: 0 0 0 7px rgba(79,179,143,0); }
  100% { box-shadow: 0 0 0 0 rgba(79,179,143,0); }
}
.lv-pill-sep { width: 1px; height: 11px; background: var(--lv-line2); }

.lv-h1 {
  margin: 18px 0 0; font-weight: 850; letter-spacing: -0.03em; line-height: 1.04;
  font-size: clamp(34px, 9vw, 62px);
}
.lv-h1 span { display: block; }
.lv-grad {
  background: linear-gradient(100deg, #a78bff 0%, #7b5cff 42%, #4f9bff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lv-sub {
  margin: 18px 0 0; color: var(--text-md); font-size: clamp(15px, 4.2vw, 18px);
  line-height: 1.55; max-width: 540px;
}

/* ── Inline signup ────────────────────────────────────────────── */
/* Signup now lives in the hero-right column under the tape (value-first), so it
   fills the column width instead of the old 460px left-column cap. */
.lv-signup { margin: 0; width: 100%; }
.lv-su-row { margin-bottom: 10px; }
.lv-input {
  width: 100%; height: 52px; padding: 0 16px;
  background: rgba(13, 16, 24, 0.85); border: 1px solid var(--lv-line2); border-radius: 13px;
  color: var(--text-hi); font: 500 16px var(--font); outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.lv-input::placeholder { color: var(--text-lo); }
.lv-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
/* Inline field validation states (set on blur by live.js) */
.lv-input.bad { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 93, 108, 0.14); }
.lv-input.ok  { border-color: rgba(72, 211, 154, 0.55); }
/* Show-password eye - replaces a confirm field: same typo safety, no extra friction */
.lv-su-pass { position: relative; }
.lv-su-pass .lv-input { padding-right: 46px; }
.lv-eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; display: grid; place-items: center;
  background: transparent; border: 0; border-radius: 10px; cursor: pointer;
  color: var(--text-lo); transition: color 0.15s;
}
.lv-eye:hover, .lv-eye.on { color: var(--text-hi); }

.lv-cta {
  /* flex-centered so it renders identically as a <button> OR an <a> (the watch
     CTAs are now anchors → without this the label jammed top-left + the arrow
     flew to the right edge). */
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 54px; border: 0; border-radius: 13px; cursor: pointer; text-decoration: none;
  background: linear-gradient(135deg, #9171ff, #6a45f5);
  color: #fff; font: 800 16.5px var(--font); letter-spacing: -0.01em;
  box-shadow: 0 10px 30px rgba(123, 92, 255, 0.42), 0 0 0 1px rgba(255,255,255,0.10) inset;
  transition: transform 0.12s ease, box-shadow 0.2s ease, filter 0.15s;
  position: relative; overflow: hidden;
}
.lv-cta::after { content: "→"; margin-left: 9px; font-weight: 700; }
.lv-cta.wide::after { content: "→"; }
.lv-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(123, 92, 255, 0.55), 0 0 0 1px rgba(255,255,255,0.16) inset; }
.lv-cta:active { transform: translateY(0); }
.lv-cta:disabled { filter: grayscale(0.4) brightness(0.8); cursor: default; transform: none; }
/* sheen sweep */
.lv-cta::before {
  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(-18deg); animation: lv-sheen 3.6s ease-in-out infinite;
}
@keyframes lv-sheen { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* Primary "Watch live, free" sits right under the tape - a touch more air. */
.lv-watch { margin-top: 4px; }

/* Secondary "Create free account": account creation is OPTIONAL (the free
   scanner is one tap away above), so this is a quiet outlined button, not a
   second loud gradient competing with the primary. No sheen, no arrow. */
.lv-cta-ghost {
  height: 48px; background: transparent; color: var(--text-md);
  box-shadow: none; border: 1px solid var(--lv-line2); font-size: 14px; font-weight: 700;
}
.lv-cta-ghost::after { content: none; }
.lv-cta-ghost::before { content: none; }   /* kill the sheen sweep */
.lv-cta-ghost:hover { transform: translateY(-1px); box-shadow: none; color: var(--text-hi); border-color: var(--accent-border); background: var(--accent-dim); }

.lv-err { color: var(--red); font-size: 13px; font-weight: 600; min-height: 0; margin-top: 8px; }
.lv-err:not(:empty) { min-height: 18px; }

.lv-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--text-lo); font: 600 12px var(--mono); }
.lv-or::before, .lv-or::after { content: ""; flex: 1; height: 1px; background: var(--lv-line); }
.lv-google {
  width: 100%; height: 50px; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; color: #1a1a2e; border: 0; border-radius: 13px; cursor: pointer;
  font: 700 15px var(--font); transition: filter 0.15s, transform 0.12s;
}
.lv-google:hover { filter: brightness(0.96); transform: translateY(-1px); }
.lv-micro { margin-top: 13px; color: var(--text-lo); font-size: 13px; text-align: center; }

.lv-success {
  margin: 26px 0 0; max-width: 460px; text-align: center;
  background: var(--lv-panel); border: 1px solid var(--lv-line2); border-radius: 16px; padding: 30px 22px;
}
.lv-success-ic {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim); color: var(--accent-2);
}
.lv-success h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.lv-success p { margin: 0; color: var(--text-md); font-size: 14.5px; line-height: 1.5; }

/* ── THE TAPE ─────────────────────────────────────────────────── */
.lv-tape-wrap {
  position: relative; background: var(--lv-panel); border: 1px solid var(--lv-line2);
  border-radius: 20px; padding: 14px 14px 6px; overflow: hidden;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.lv-tape-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 12px; }
.lv-tape-live { display: inline-flex; align-items: center; gap: 7px; font: 800 11.5px var(--mono); letter-spacing: 0.8px; color: var(--text-hi); }
.lv-tape-sub { font: 600 11px var(--mono); color: var(--text-lo); letter-spacing: 0.4px; }
.lv-tape { position: relative; height: 360px; overflow: hidden; display: flex; flex-direction: column; gap: 9px; }
.lv-tape-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 80px; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--lv-bg) 92%);
  border-radius: 0 0 20px 20px;
}

/* one whale card */
.lv-card {
  display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px;
  background: rgba(13, 16, 24, 0.7); border: 1px solid var(--lv-line);
  border-left: 3px solid var(--c, var(--flow-in)); border-radius: 13px; padding: 10px 12px;
  animation: lv-card-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes lv-card-in {
  from { opacity: 0; transform: translateY(-14px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.lv-card-ic { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); }
.lv-card-ic img { width: 100%; height: 100%; object-fit: cover; }
.lv-card-ic .ai-letter, .lv-card-ic .icon-letter { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font: 800 14px var(--font); }
.lv-card-mid { min-width: 0; }
.lv-card-amt { font: 800 17px var(--mono); letter-spacing: -0.02em; color: var(--text-hi); line-height: 1.1; }
.lv-card-amt .sym { font-size: 11.5px; color: var(--text-lo); margin-left: 5px; font-weight: 700; }
.lv-card-flow { font-size: 12px; color: var(--text-md); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
.lv-card-flow b { color: var(--text-hi); font-weight: 700; }
.lv-card-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.lv-chip {
  display: inline-flex; align-items: center; gap: 4px; font: 800 10px var(--mono); letter-spacing: 0.5px;
  padding: 3px 8px; border-radius: 999px; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 38%, transparent); white-space: nowrap;
}
.lv-card-ago { font: 600 10.5px var(--mono); color: var(--text-lo); }
.lv-tape-empty { color: var(--text-lo); font-size: 13px; text-align: center; padding: 40px 0; }

/* ── TRACKED BAND ─────────────────────────────────────────────── */
.lv-band {
  max-width: 1180px; margin: 40px auto 0; padding: 0 18px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.lv-band-item {
  text-align: center; background: var(--lv-panel); border: 1px solid var(--lv-line);
  border-radius: 16px; padding: 22px 10px;
}
.lv-band-num {
  font: 850 clamp(22px, 6.5vw, 38px)/1 var(--mono); letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff, #c8b9ff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lv-band-lbl { margin-top: 8px; color: var(--text-lo); font-size: 12px; font-weight: 600; line-height: 1.35; }
.value-pop { animation: lv-pop 0.4s ease; }
@keyframes lv-pop { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }

/* ── Shared section chrome ────────────────────────────────────── */
.lv-eyebrow {
  display: inline-block; font: 800 11px var(--mono); letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 14px;
}
.lv-h2 { margin: 0; font-weight: 820; letter-spacing: -0.025em; font-size: clamp(25px, 6.6vw, 40px); line-height: 1.1; }
.lv-lead { margin: 16px 0 0; color: var(--text-md); font-size: clamp(15px, 4vw, 17px); line-height: 1.55; max-width: 620px; }

/* ── PROOF ────────────────────────────────────────────────────── */
.lv-proof { max-width: 760px; margin: 84px auto 0; padding: 0 18px; }
.lv-tl {
  margin: 30px 0 0; background: var(--lv-panel); border: 1px solid var(--lv-line2);
  border-radius: 18px; padding: 8px 6px;
}
.lv-tl-row {
  display: grid; grid-template-columns: 52px 18px 1fr; align-items: center; gap: 6px;
  padding: 14px 14px; position: relative;
}
.lv-tl-row + .lv-tl-row { border-top: 1px solid var(--lv-line); }
.lv-tl-time { font: 700 12px var(--mono); color: var(--text-lo); }
.lv-tl-dot { width: 9px; height: 9px; border-radius: 50%; justify-self: center; background: var(--text-lo); }
.lv-tl-row.early .lv-tl-dot { background: var(--flow-in, #4fb38f); box-shadow: 0 0 12px var(--flow-in, #4fb38f); }
.lv-tl-row.mid .lv-tl-dot { background: var(--orange, #f59e0b); }
.lv-tl-row.late .lv-tl-dot { background: var(--flow-out, #d97a83); }
.lv-tl-txt { font-size: 14.5px; color: var(--text-md); line-height: 1.4; }
.lv-tl-txt b { color: var(--text-hi); }
.lv-down { color: var(--flow-out, #d97a83) !important; }
.lv-tag { display: inline-block; font: 800 9px var(--mono); letter-spacing: 0.5px; padding: 2px 6px; border-radius: 6px; vertical-align: middle; }
.lv-tag.in { color: var(--flow-in, #4fb38f); background: color-mix(in srgb, var(--flow-in, #4fb38f) 16%, transparent); }
.lv-proof-flags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.lv-flag { font: 700 13px var(--font); padding: 9px 14px; border-radius: 11px; display: inline-flex; align-items: center; gap: 7px; }
.lv-flag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.lv-flag.good { color: var(--flow-in, #4fb38f); background: color-mix(in srgb, var(--flow-in, #4fb38f) 12%, transparent); border: 1px solid color-mix(in srgb, var(--flow-in, #4fb38f) 30%, transparent); }
.lv-flag.good::before { background: var(--flow-in, #4fb38f); }
.lv-flag.bad { color: var(--flow-out, #d97a83); background: color-mix(in srgb, var(--flow-out, #d97a83) 12%, transparent); border: 1px solid color-mix(in srgb, var(--flow-out, #d97a83) 30%, transparent); }
.lv-flag.bad::before { background: var(--flow-out, #d97a83); }

/* ── FEATURES ─────────────────────────────────────────────────── */
.lv-feats { max-width: 1180px; margin: 88px auto 0; padding: 0 18px; }
.lv-feat-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 30px; }

/* PROOF + FEATURES combined into one compact section (2-col on desktop) */
.lv-pf { max-width: 1180px; margin: 84px auto 0; padding: 0 18px; display: grid; grid-template-columns: 1fr; gap: 44px; }
.lv-pf .lv-h2 { font-size: clamp(23px, 5.4vw, 31px); }
.lv-pf .lv-lead { font-size: 15px; }
.lv-pf .lv-tl { margin-top: 22px; }
.lv-pf .lv-feat-grid { grid-template-columns: 1fr; margin-top: 22px; }
.lv-feat {
  background: var(--lv-panel); border: 1px solid var(--lv-line); border-radius: 18px; padding: 24px 22px;
  transition: border-color 0.2s, transform 0.2s;
}
.lv-feat:hover { border-color: var(--lv-line2); transform: translateY(-3px); }
.lv-feat-ic { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.lv-feat-ic.in  { color: var(--flow-in, #4fb38f);  background: color-mix(in srgb, var(--flow-in, #4fb38f) 14%, transparent); }
.lv-feat-ic.out { color: var(--flow-out, #d97a83); background: color-mix(in srgb, var(--flow-out, #d97a83) 14%, transparent); }
.lv-feat-ic.acc { color: var(--accent-2);          background: var(--accent-dim); }
.lv-feat h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.lv-feat p { margin: 0; color: var(--text-md); font-size: 14.5px; line-height: 1.55; }

/* ── AI + NETWORK ─────────────────────────────────────────────── */
.lv-ai { max-width: 1180px; margin: 88px auto 0; padding: 0 18px; }
.lv-ai-stage { margin-top: 30px; display: grid; grid-template-columns: 1fr; gap: 16px; }

/* Real WalletGraph canvas mounts into .lv-net (fills the frame). */
.lv-net-frame { position: relative; background: var(--lv-panel); border: 1px solid var(--lv-line2); border-radius: 20px; overflow: hidden; }
.lv-net { width: 100%; height: 340px; }
.lv-net canvas { display: block; width: 100%; height: 100%; }
.lv-net-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; pointer-events: none;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(7, 9, 15, 0.7); border: 1px solid var(--lv-line2); border-radius: 999px;
  padding: 5px 11px; font: 700 10px var(--mono); letter-spacing: 0.4px; color: var(--text-md);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); text-transform: uppercase;
}

.lv-ai-card {
  background: linear-gradient(180deg, rgba(123, 92, 255, 0.10), var(--lv-panel));
  border: 1px solid var(--accent-border); border-radius: 20px; padding: 22px;
  display: flex; flex-direction: column;
}
.lv-ai-head { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.lv-ai-spark { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: var(--accent-dim); color: var(--accent-2); }
.lv-ai-label { font: 800 12px var(--mono); letter-spacing: 0.9px; text-transform: uppercase; color: var(--accent-2); }
.lv-ai-live { margin-left: auto; display: inline-flex; }
.lv-ai-text { margin: 0; flex: 1; font-size: clamp(15.5px, 4.2vw, 17px); line-height: 1.62; color: var(--text-hi); font-weight: 500; min-height: 92px; }
.lv-ai-text b { font-weight: 800; }
.lv-ai-text .hl-in  { color: var(--flow-in, #4fb38f);  font-weight: 700; }
.lv-ai-text .hl-out { color: var(--flow-out, #d97a83); font-weight: 700; }
.lv-ai-caret { display: inline-block; width: 7px; height: 1.02em; background: var(--accent-2); margin-left: 2px; vertical-align: -2px; border-radius: 1px; animation: lv-blink 1s steps(1) infinite; }
@keyframes lv-blink { 50% { opacity: 0; } }
.lv-ai-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--lv-line); font: 600 11.5px var(--mono); color: var(--text-lo); }

/* ── HERO RIGHT (tape + app-entry button) ─────────────────────── */
.lv-hero-right { display: flex; flex-direction: column; gap: 14px; }
.lv-scan-open {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px;
  text-decoration: none; border-radius: 13px; border: 1px solid var(--accent-border);
  background: var(--accent-dim); color: var(--accent-2); font: 800 15px var(--font);
  transition: background 0.15s, transform 0.12s;
}
.lv-scan-open::after { content: "→"; }
.lv-scan-open:hover { background: rgba(123, 92, 255, 0.18); transform: translateY(-1px); }
/* the explicit display:flex above beats the [hidden] UA rule - restore it so
   the button is truly gone for guests (shown only when live.js un-hides it for
   signed-in users). */
.lv-scan-open[hidden] { display: none; }

/* ── FINAL CTA ────────────────────────────────────────────────── */
.lv-final { max-width: 640px; margin: 96px auto 0; padding: 56px 24px 64px; text-align: center; }
.lv-final-h { margin: 0; font-weight: 850; letter-spacing: -0.03em; font-size: clamp(30px, 8vw, 50px); line-height: 1.05; }
.lv-final-p { margin: 16px 0 28px; color: var(--text-md); font-size: clamp(15px, 4vw, 18px); }
.lv-final .lv-cta { max-width: 340px; margin: 0 auto; }

/* ── FOOTER ───────────────────────────────────────────────────── */
/* Mobile-first: stacked + centered with real breathing room (the old
   space-between flex jammed the 4 links into the top-right corner and dangled
   the copyright bottom-left - read as "default flexbox", not designed).
   Desktop spreads it back to a single row below. */
.lv-foot {
  max-width: 1180px; margin: 56px auto 0; padding: 28px 18px 36px;
  border-top: 1px solid var(--lv-line); display: flex; flex-direction: column;
  align-items: center; gap: 16px; text-align: center;
}
.lv-foot-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.lv-foot-links a { color: var(--text-md); text-decoration: none; font-size: 13px; font-weight: 600; }
.lv-foot-links a:hover { color: var(--text-hi); }
.lv-foot-copy { color: var(--text-lo); font-size: 12px; }
@media (min-width: 760px) {
  .lv-foot { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; text-align: left; gap: 14px; }
}

/* ── STICKY MOBILE CTA ────────────────────────────────────────── */
.lv-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, transparent, var(--lv-bg) 36%);
  transform: translateY(120%); transition: transform 0.3s ease;
}
.lv-sticky.show { transform: translateY(0); }
.lv-sticky .lv-cta { max-width: 560px; margin: 0 auto; height: 52px; }

/* ── DESKTOP ──────────────────────────────────────────────────── */
@media (min-width: 900px) {
  /* start-align: the headline column is shorter than the tape+signup card, so
     center-align floated it and left a big gap below the sub. Top-align both. */
  .lv-hero { grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: start; padding-top: 48px; }
  .lv-hero-copy { padding-top: 8px; }
  /* tape shares the right column with the signup card now → shorter so the
     proof+action stack balances the headline column. */
  .lv-tape { height: 230px; }
  .lv-feat-grid { grid-template-columns: repeat(3, 1fr); }
  .lv-pf { grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
  .lv-ai-stage { grid-template-columns: 1.15fr 0.85fr; align-items: stretch; }
  .lv-sticky { display: none; }   /* desktop has the inline CTA in view */
  body { padding-bottom: 0; }
}

/* ══════════════════════════════════════════════════════════════
   HERO v2 - interactive "smart money on YOUR coin" reveal.
   Centered single column; the reveal card re-animates on coin switch.
   ══════════════════════════════════════════════════════════════ */
.lv2-hero { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; padding: 22px 18px 12px; text-align: center; }
.lv2-status {
  display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; justify-content: center;
  font: 700 11.5px var(--mono); letter-spacing: .4px; color: var(--text-md); text-transform: uppercase;
  background: var(--lv-panel); border: 1px solid var(--lv-line2); border-radius: 999px; padding: 7px 14px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.lv2-status b { color: var(--flow-in, #4fb38f); font-variant-numeric: tabular-nums; }
.lv2-h1 { margin: 20px 0 0; font-weight: 850; letter-spacing: -0.03em; line-height: 1.04; font-size: clamp(32px, 8.5vw, 56px); }
.lv2-h1 span { display: block; }
.lv2-sub { margin: 16px auto 0; max-width: 560px; color: var(--text-md); font-size: clamp(15px, 4vw, 18px); line-height: 1.5; }

/* coin picker */
.lv2-pick { display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 26px 0 14px; }
.lv2-pick-lbl { font: 700 11px var(--mono); letter-spacing: .6px; text-transform: uppercase; color: var(--text-lo); }
.lv2-chips { display: inline-flex; gap: 7px; flex-wrap: wrap; justify-content: center; }
.lv2-chip {
  padding: 8px 15px; border-radius: 999px; cursor: pointer; font: 800 13px var(--mono); letter-spacing: .3px;
  background: var(--lv-panel); border: 1px solid var(--lv-line2); color: var(--text-md); transition: .14s;
}
.lv2-chip:hover { color: var(--text-hi); transform: translateY(-1px); }
.lv2-chip.on { background: var(--grad-accent, linear-gradient(135deg, #9171ff, #6a45f5)); border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(123,92,255,.4); }

/* the reveal card */
.lv2-reveal {
  text-align: left; max-width: 540px; margin: 0 auto; padding: 18px 18px 14px; border-radius: 18px;
  background: var(--lv-panel); border: 1px solid var(--lv-line2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px -28px rgba(0,0,0,.8); min-height: 200px;
}
.lv2-reveal.in { animation: lv2-rv .42s cubic-bezier(.2,.8,.2,1); }
@keyframes lv2-rv { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
.lv2-rv-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lv2-rv-title { font: 700 12px var(--mono); letter-spacing: .3px; color: var(--text-md); text-transform: uppercase; }
.lv2-rv-pill { font: 800 10px var(--mono); letter-spacing: .5px; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
/* sentiment pill - distinct from the per-row flow chips (which use --flow-in/out
   for literal direction). Net inflow = sell-pressure read, net outflow = accumulation. */
.lv2-rv-pill.sell  { color: #f08a96; background: rgba(224,104,122,.13); border: 1px solid rgba(224,104,122,.4); }
.lv2-rv-pill.buy   { color: #5fc6a3; background: rgba(79,179,143,.13);  border: 1px solid rgba(79,179,143,.4); }
.lv2-rv-pill.mixed { color: var(--text-md); background: rgba(255,255,255,.06); border: 1px solid var(--lv-line2); }
.lv2-rv-verdict { margin: 12px 0 14px; font: 600 15px/1.5 var(--font); color: var(--text-hi); }
.lv2-rv-rows { display: flex; flex-direction: column; gap: 8px; }
.lv2-rv-row {
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 9px;
  padding: 9px 11px; border-radius: 11px; background: rgba(255,255,255,.025);
  border-left: 3px solid var(--c, var(--accent)); position: relative;
}
.lv2-rv-ic { display: inline-flex; }
.lv2-rv-ic img, .lv2-rv-ic .ai-badge { width: 26px; height: 26px; border-radius: 50%; }
.lv2-rv-amt { font: 800 14px var(--mono); color: var(--text-hi); font-variant-numeric: tabular-nums; }
.lv2-rv-route { font: 600 11.5px var(--font); color: var(--text-md); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv2-rv-route b { color: var(--text-lo); }
.lv2-rv-chip { font: 800 9.5px var(--mono); letter-spacing: .3px; white-space: nowrap; }
.lv2-rv-ago { display: none; }
.lv2-rv-more { margin-top: 12px; text-align: center; cursor: pointer; font: 700 13px var(--font); color: var(--accent-2, #9b7cff); }
.lv2-rv-more:hover { color: var(--text-hi); }
.lv2-rv-more b { transition: transform .15s; display: inline-block; }
.lv2-rv-more:hover b { transform: translateX(3px); }

.lv2-cta { max-width: 440px; margin: 22px auto 0; }
.lv2-hero .lv-micro { text-align: center; }

/* secondary account disclosure */
.lv2-acct { max-width: 440px; margin: 14px auto 0; text-align: center; }
.lv2-acct > summary { list-style: none; cursor: pointer; font: 600 13px var(--font); color: var(--text-lo); padding: 6px; }
.lv2-acct > summary::-webkit-details-marker { display: none; }
.lv2-acct > summary:hover { color: var(--text-md); }
.lv2-acct[open] > summary { color: var(--text-md); margin-bottom: 6px; }
.lv2-acct .lv-signup { text-align: left; }

@media (min-width: 900px) {
  .lv2-hero { padding-top: 36px; }
  .lv2-rv-ago { display: inline; font: 700 10px var(--mono); color: var(--text-lo); }
  .lv2-rv-row { grid-template-columns: auto auto 1fr auto auto; }
}

/* ── Reduced motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .lv-pill-dot, .lv-cta::before, .lv-card, .lv2-reveal.in { animation: none; }
}
