/* ============================================================
   SlipSights — marketing site
   Direction: "bioluminescent terminal" — deep near-black canvas,
   acid-lime signal accent, electric-blue glow, scan-line motif.
   ============================================================ */

:root {
  --bg: #060d0a;
  --bg-2: #081310;
  --surface: rgba(255, 255, 255, 0.026);
  --surface-2: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --ink: #eef4f0;
  --ink-soft: #b4c2bb;
  --muted: #7c8b83;
  --faint: #4d5c54;

  --lime: #27c281;
  --lime-deep: #16c47e;
  --blue: #14b87a;
  --cyan: #8affd0;

  --glow-lime: rgba(39, 194, 129, 0.55);
  --glow-blue: rgba(22, 196, 126, 0.45);

  --radius: 16px;
  --maxw: 1300px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Geist", system-ui, sans-serif;
  --font-body: "Geist", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* ambient page texture: fine grid + grain + aurora */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
  opacity: 0.5;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.62;
  will-change: transform;
}
.aurora .a1 { width: 620px; height: 620px; top: -240px; left: -120px; background: radial-gradient(circle, rgba(39,194,129,0.26), transparent 65%); }
.aurora .a2 { width: 560px; height: 560px; top: -160px; right: -160px; background: radial-gradient(circle, rgba(22,196,126,0.22), transparent 65%); }
.aurora .a3 { width: 720px; height: 720px; top: 460px; left: 30%; background: radial-gradient(circle, rgba(138,255,208,0.10), transparent 70%); }

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--lime); opacity: 0.6; }
.mono { font-family: var(--font-mono); }
.brand .bs { color: #27c281; }
.dim { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; }
/* label wrapper used by the hover text-scramble (keeps width stable) */
.btn-label { display: inline-block; white-space: nowrap; overflow: hidden; text-align: left; }
.btn-primary {
  background: var(--lime-deep);
  color: #03110a;
  border-color: transparent;
}
.btn-primary:hover { background: var(--lime); box-shadow: 0 6px 22px -8px var(--glow-lime); }
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-2);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--lime); color: var(--lime); }

/* ---------- nav ---------- */
/* a solid, full-width fixed bar — stays put and looks the same at every
   scroll position (no floating pill that transforms as you scroll) */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 16px 0;
  background: rgba(7, 12, 10, 0.4);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
/* nav tracks the wider hero so the brand/CTA align with the headline + demo */
#nav > .wrap { max-width: 1560px; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 0; font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: 0.01em; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #27c281, #15a06a);
  color: #04140d;
  box-shadow: 0 0 22px -4px rgba(39,194,129,0.5);
}
.brand-mark svg { width: 17px; height: 17px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  white-space: nowrap;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 1.5px; background: var(--lime); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--lime); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 140px 0 96px; }
/* hero spans wider than the standard content column */
.hero > .wrap { max-width: 1560px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.22fr;
  gap: 60px;
  align-items: center;
}
/* balance lets the browser pick even line lengths at every width — no orphans */
.hero h1 { font-size: clamp(34px, 4.4vw, 60px); margin: 22px 0 24px; text-wrap: balance; }
.hero h1 .word { display: inline-block; }
@keyframes wordIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.grad-text {
  color: var(--lime);
  filter: none;
}
.hero p.lede { font-size: clamp(16px, 1.7vw, 19px); color: var(--ink-soft); max-width: 540px; margin-bottom: 22px; line-height: 1.55; }
.target-rule { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0 0 34px; font-family: var(--font-mono); font-size: 13px; }
.tr-lead { color: var(--muted); letter-spacing: 0.01em; }
.tr-op { color: var(--faint); }
.tr-arrow { color: var(--lime); font-weight: 600; }
.tr-chip { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.025); color: var(--ink); white-space: nowrap; }
.tr-chip.win { border-color: rgba(39,194,129,0.5); color: var(--lime); background: rgba(39,194,129,0.07); box-shadow: 0 0 24px -8px var(--glow-lime); }
.anim-on .target-rule .tr-chip { animation: wordIn 0.55s var(--ease) both; animation-delay: var(--td, 0s); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.trust { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
.trust-logos { display: flex; align-items: center; gap: 22px; }
.trust-logos img { height: 22px; width: auto; opacity: 0.92; }
.trust .avatars { display: flex; }
.trust .avatars span {
  width: 30px; height: 30px; border-radius: 50%; margin-left: -9px;
  border: 2px solid var(--bg); background: var(--surface-2);
  display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--ink-soft);
  font-family: var(--font-mono);
}
.trust .avatars span:first-child { margin-left: 0; }
.stars { color: var(--lime); letter-spacing: 2px; }

/* ---------- hero live demo ---------- */
.demo {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012));
  padding: 18px;
  box-shadow: 0 40px 120px -40px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.05);
  will-change: transform;
}
.demo-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 14px; }
.demo-dots { display: flex; gap: 7px; }
.demo-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.demo-dots i:nth-child(1) { background: #ff5f57; opacity: 0.7; }
.demo-dots i:nth-child(2) { background: #febc2e; opacity: 0.7; }
.demo-dots i:nth-child(3) { background: #28c840; opacity: 0.7; }
.demo-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.demo-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* whatsapp column */
.wa {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #0b1410;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 0);
  background-size: 16px 16px;
  padding: 14px 12px;
  height: 472px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.wa-feed { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; overflow: hidden; }
.wa-top { display: flex; align-items: center; gap: 9px; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.wa-ava { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(150deg, #27c281, #15a06a); display: grid; place-items: center; color: #042; flex: none; }
.wa-ava svg { width: 16px; height: 16px; }
.wa-name { font-size: 13px; font-weight: 700; }
.wa-status { font-size: 10.5px; color: #27c281; font-family: var(--font-mono); }
.bubble {
  max-width: 88%;
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
}
.bubble.in { animation: bubbleIn 0.4s var(--ease) forwards; }
@keyframes bubbleIn { to { opacity: 1; transform: translateY(0); } }
.bubble.me { align-self: flex-end; background: #1f6f4d; color: #eafff4; border-bottom-right-radius: 4px; }
.bubble.them { align-self: flex-start; background: #16201b; color: var(--ink-soft); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble.photo { padding: 6px; }
.bubble .meta { display: flex; align-items: center; gap: 4px; justify-content: flex-end; margin-top: 4px; font-size: 9.5px; color: rgba(255,255,255,0.42); font-family: var(--font-mono); }
.bubble.them .meta { justify-content: flex-start; color: rgba(255,255,255,0.3); }
.bubble .ticks { display: inline-flex; color: #53bdeb; }
.bubble .ticks svg { width: 15px; height: 11px; }
/* mini receipt thumbnail inside the photo bubble */
.slip { width: 132px; background: #f4f6f2; border-radius: 7px; padding: 9px 10px 8px; display: flex; flex-direction: column; gap: 5px; box-shadow: 0 6px 16px -8px rgba(0,0,0,0.7); }
.slip .slip-h { height: 7px; width: 58%; background: #b7bdb4; border-radius: 2px; margin-bottom: 1px; }
.slip i { height: 4px; border-radius: 2px; background: #d7dcd4; display: block; }
.slip .slip-tot { display: flex; justify-content: space-between; align-items: center; font-size: 8.5px; font-family: var(--font-mono); font-weight: 700; color: #1b211c; border-top: 1px dashed #c2c8bf; padding-top: 5px; margin-top: 2px; letter-spacing: 0.04em; }
.slip .slip-tot span:last-child { color: #2f7d52; }
.typing { display: inline-flex; gap: 4px; padding: 10px 12px !important; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: td 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.18s; }
.typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes td { 0%,60%,100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* slip scan column */
.scan {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.scan-line {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  box-shadow: 0 0 18px 4px var(--glow-lime);
  opacity: 0;
}
.scan.scanning .scan-line { animation: sweep 1.9s var(--ease); }
@keyframes sweep {
  0% { top: 6%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 94%; opacity: 0; }
}
.scan-head { display: flex; align-items: center; justify-content: space-between; }
.scan-title { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ring { position: relative; width: 46px; height: 46px; }
.ring svg { transform: rotate(-90deg); }
.ring-num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--lime); }
.rows { display: flex; flex-direction: column; gap: 9px; }
.frow { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 12px; }
.frow .k { grid-column: 1; grid-row: 1; font-size: 11px; color: var(--muted); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; }
.frow .v {
  grid-column: 2; grid-row: 1; justify-self: start;
  font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  opacity: 0; transform: translateX(6px); transition: opacity 0.4s, transform 0.4s;
}
.frow.filled .v { opacity: 1; transform: translateX(0); }
.frow .skl { grid-column: 2; grid-row: 1; height: 9px; width: 64px; border-radius: 5px; background: var(--surface-2); position: relative; overflow: hidden; }
.frow.filled .skl { display: none; }
.frow .v .tick { width: 14px; height: 14px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; color: #0a0e05; }
.frow .v .tick svg { width: 9px; height: 9px; }
.valid-badge {
  display: inline-flex; align-items: center; gap: 7px; align-self: center; margin-top: auto;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(39,194,129,0.13); border: 1px solid rgba(39,194,129,0.45);
  color: var(--lime); font-size: 11.5px; font-weight: 700; font-family: var(--font-mono);
  letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0; transform: scale(0.8);
}
.valid-badge.show { animation: pop 0.5s var(--ease) forwards; }
.valid-badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 var(--glow-lime); animation: pulse 1.6s infinite; }
@keyframes pop { to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--glow-lime); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 116px 0 70px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 104px 0 60px; }
  .demo-body { grid-template-columns: 1fr; }
  /* single-column: the scan panel no longer stretches, so margin-top:auto
     leaves no gap — add breathing room before the Entry Valid badge */
  .scan .valid-badge { margin-top: 22px; }
  /* compact header so the brand + both CTAs fit on a phone */
  #nav { padding: 14px 0; }
  .brand { font-size: 19px; }
  .nav-cta { gap: 8px; }
  #nav .btn { padding: 9px 13px; font-size: 13px; gap: 6px; }
  #nav .btn svg { display: none; }
}
/* very narrow: keep only the primary CTA in the header */
@media (max-width: 380px) {
  .nav-cta .btn-ghost { display: none; }
}
/* retargeting showcase — full-width hero */
.demo.retarget { max-width: none; width: 100%; margin: 0 0 18px; }
@media (max-width: 980px) { .demo.retarget { margin-bottom: 14px; } }

/* stepper */
.rt-steps { display: flex; align-items: center; gap: 9px; }
.rt-step { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--faint); letter-spacing: -0.01em; transition: color 0.35s var(--ease); }
.rt-step i { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; font-family: var(--font-mono); font-size: 11px; font-style: normal; border: 1px solid var(--line-2); color: var(--muted); transition: all 0.35s var(--ease); }
.rt-step.active { color: var(--ink); }
.rt-step.active i { background: var(--lime-deep); border-color: transparent; color: #03110a; box-shadow: 0 0 16px -4px var(--glow-lime); }
.rt-step.done { color: var(--muted); }
.rt-step.done i { background: rgba(39,194,129,0.16); border-color: rgba(39,194,129,0.4); color: var(--lime); }
.rt-sep { width: 16px; height: 1px; background: var(--line-2); }
@media (max-width: 720px) { .rt-step span, .rt-step { font-size: 0; } .rt-step i { font-size: 11px; } .rt-sep { width: 10px; } }

/* staged area */
.rt-stage { position: relative; height: 580px; margin-top: 4px; }
@media (max-width: 980px) { .rt-stage { height: 600px; } }
.rt-pane { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.rt-pane.active { opacity: 1; transform: none; pointer-events: auto; }
.rt-block { height: 100%; display: flex; flex-direction: column; gap: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); padding: 16px 16px; }
.rt-blockhead { display: flex; align-items: center; justify-content: space-between; }
.scan-title { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; letter-spacing: -0.01em; color: var(--ink); }
.rt-count { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.rt-count b { color: var(--lime); }

/* natural-language audience panel */
.aud { height: 100%; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.aud-head { display: flex; align-items: baseline; justify-content: space-between; }
.aud-reach { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); transition: color 0.4s var(--ease); }
.aud-reach.done { color: var(--lime); }
.aud-prompt { display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255,255,255,0.022); padding: 14px 15px; min-height: 76px; }
.aud-spark { flex: none; color: var(--lime); margin-top: 1px; }
.aud-spark svg { width: 18px; height: 18px; filter: drop-shadow(0 0 8px var(--glow-lime)); }
/* keep the text + caret in one inline flow so the caret follows wrapped lines */
.aud-line { min-width: 0; }
.aud-text { font-size: 15px; line-height: 1.5; color: var(--ink); font-weight: 500; }
.aud-caret { display: inline-block; width: 2px; color: var(--lime); animation: caretBlink 1s steps(2) infinite; margin-left: 1px; }
@keyframes caretBlink { 50% { opacity: 0; } }
.aud-chips { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.aud-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px 8px 11px; border-radius: 9px; border: 1px solid rgba(39,194,129,0.32); background: rgba(39,194,129,0.08); color: var(--ink); font-size: 13px; font-weight: 500; white-space: nowrap; opacity: 0; transform: translateY(8px) scale(0.94); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.aud-chip.in { opacity: 1; transform: none; }
.aud-chip-ic { display: grid; place-items: center; color: var(--lime); flex: none; }
.aud-chip-ic svg { width: 14px; height: 14px; }
.aud .valid-badge { margin-top: auto; align-self: flex-start; }

/* results table */
.rt-table { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.rt-tr { display: grid; grid-template-columns: 1.6fr 1fr 0.8fr 0.9fr; align-items: center; gap: 12px; padding: 11px 6px; border-bottom: 1px solid var(--line); font-size: 13px; }
.rt-tr.rt-th { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid var(--line-2); padding-bottom: 9px; }
.rt-tr:not(.rt-th) { opacity: 0; transform: translateX(-8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.rt-tr:not(.rt-th).in { opacity: 1; transform: none; }
.rt-c { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; min-width: 0; }
.rt-ava { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; color: var(--ink-soft); }
.rt-dim { color: var(--muted); }
.ar { text-align: right; }
.rt-num { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }
.rt-seg { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; font-family: var(--font-mono); letter-spacing: 0.02em; }
.rt-seg.lapsed { background: rgba(245,180,80,0.12); color: #f5b450; border: 1px solid rgba(245,180,80,0.32); }
.rt-seg.loyal { background: rgba(39,194,129,0.12); color: var(--lime); border: 1px solid rgba(39,194,129,0.34); }
.rt-more { font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); text-align: center; opacity: 0; transition: opacity 0.4s var(--ease); }
.rt-more.in { opacity: 1; }

/* merged audience + results pane */
.rt-aud-block { gap: 9px; padding: 13px 16px; }
.rt-aud-block .aud-prompt { min-height: 0; padding: 10px 13px; align-items: center; overflow: hidden; }
.rt-aud-block .aud-prompt .aud-spark svg { width: 16px; height: 16px; }
.rt-aud-block .aud-text { font-size: 13px; white-space: nowrap; }
.rt-aud-block .aud-chips { gap: 7px; }
.rt-aud-block .aud-chip { padding: 6px 11px 6px 9px; font-size: 12px; }
.rt-aud-block .valid-badge { margin-top: 0; align-self: flex-start; }
.rt-aud-block .rt-table { flex: 1; }
.rt-aud-block .rt-tr { padding: 7px 6px; }
.rt-divide { height: 1px; background: var(--line); margin: 3px 0; flex: none; }
.rt-foot { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 2px; }
.rt-foot .valid-badge { margin: 0; align-self: center; flex: none; }
.wa-ava-ini { background: linear-gradient(150deg, #2f3a34, #20302a); color: var(--lime); font-family: var(--font-mono); font-weight: 700; font-size: 11px; letter-spacing: 0.02em; }
.bubble .wa-btn { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.14); text-align: center; color: #6fd3a6; font-weight: 600; font-size: 12.5px; }

/* template composer */
.rt-tools { display: flex; align-items: center; gap: 6px; }
.rt-tools i { display: grid; place-items: center; width: 26px; height: 24px; border-radius: 7px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.02); font-size: 12.5px; font-weight: 700; font-style: normal; color: var(--muted); }
.rt-tools i em { font-style: italic; font-family: Georgia, serif; }
.rt-tools .rt-token { width: auto; padding: 0 9px; font-family: var(--font-mono); font-weight: 600; font-size: 11px; color: var(--lime); border-color: rgba(39,194,129,0.34); background: rgba(39,194,129,0.08); }
.rt-compose { flex: 1; display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255,255,255,0.022); padding: 16px 16px 18px; }
.rt-msg { font-size: 15px; line-height: 1.6; color: var(--ink-soft); min-height: 0; }
.rt-msg b { color: var(--ink); font-weight: 600; }
.rt-tok { display: inline-block; padding: 1px 7px; margin: 0 1px; border-radius: 6px; font-family: var(--font-mono); font-size: 0.82em; font-weight: 600; color: var(--lime); background: rgba(39,194,129,0.12); border: 1px solid rgba(39,194,129,0.34); }
.rt-cta { margin-top: auto; align-self: flex-start; padding: 11px 20px; border-radius: 10px; background: var(--lime-deep); color: #03110a; font-weight: 700; font-size: 13.5px; opacity: 0; transform: scale(0.9); transform-origin: left; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); box-shadow: 0 8px 22px -10px var(--glow-lime); }
.rt-cta.in { opacity: 1; transform: none; }
.rt-hint { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); opacity: 0; transition: opacity 0.5s var(--ease); }
.rt-hint.in { opacity: 1; }
.rt-hint b { color: var(--lime); font-family: var(--font-mono); font-size: 0.95em; }

/* the blast */
.rt-send { height: 100%; display: grid; grid-template-rows: auto 1fr; gap: 14px; }
.rt-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.rt-stat { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-radius: 13px; border: 1px solid var(--line); background: var(--bg-2); }
.rt-stat b { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.rt-stat:first-child b { color: var(--lime); }
.rt-stat span { font-size: 11.5px; color: var(--muted); }
.rt-wa { height: auto; min-height: 0; }
.rt-send .wa-feed { justify-content: flex-start; }

/* retargeting demo — mobile */
@media (max-width: 600px) {
  /* fewer chips + rows on mobile (see landing.js) — give it a bit more height */
  .rt-stage { height: 560px; }
  .demo.retarget .demo-head { flex-wrap: wrap; row-gap: 10px; }
  .demo.retarget .demo-tag { order: 3; }
  /* let the audience prompt wrap instead of truncating */
  .rt-aud-block .aud-prompt { align-items: flex-start; overflow: visible; }
  .rt-aud-block .aud-text { white-space: normal; }
  /* drop the redundant Store column so Contact / Spend / Segment stay legible */
  .rt-tr { grid-template-columns: 1.4fr 0.7fr auto; gap: 8px; }
  .rt-tr > *:nth-child(2) { display: none; }
  .rt-c { gap: 8px; }
  .rt-ava { width: 26px; height: 26px; }
  .rt-stats { gap: 8px; }
  .rt-stat { padding: 11px 10px; }
  .rt-stat b { font-size: 19px; }
  .rt-stat span { font-size: 10.5px; }
}

/* ---------- marquee ---------- */
.marquee-sec { padding: 30px 0 10px; }
.marquee-label { text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 22px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: scroll 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.logo-item { height: 28px; width: auto; flex: none; opacity: 0.55; transition: opacity 0.2s; }
.logo-item.md { height: 36px; }
.logo-item.lg { height: 42px; }
.logo-item:hover { opacity: 1; }

/* ---------- section shell ---------- */
section.block { padding: 72px 0; }
.sec-head { max-width: 660px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 3.8vw, 46px); margin: 18px 0 16px; }
.sec-head p { color: var(--ink-soft); font-size: 17px; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 26px 24px 28px;
  overflow: hidden;
}
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.step-num { font-family: var(--font-mono); font-size: 12px; color: var(--lime); letter-spacing: 0.1em; }
.step-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--lime); }
.step-ic svg { width: 21px; height: 21px; }
.step h3 { font-size: 19px; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
/* slightly more compact step cards on phones */
@media (max-width: 560px) {
  .step { padding: 20px 18px 22px; }
  .step-top { margin-bottom: 13px; }
  .step-ic { width: 40px; height: 40px; }
  .step-ic svg { width: 19px; height: 19px; }
  .step h3 { font-size: 17.5px; }
  .step p { font-size: 14px; }
}

/* ---------- flywheel / the loop ---------- */
#loop .flywheel { position: relative; width: min(620px, 92vw); aspect-ratio: 1; margin: 44px auto 0; }
.fw-orbit { position: absolute; left: 50%; top: 50%; width: 71.6%; height: 71.6%; transform: translate(-50%,-50%); border-radius: 50%; border: 1px dashed var(--line-2); }
.fw-sweep {
  position: absolute; left: 50%; top: 50%; width: 71.6%; height: 71.6%; transform: translate(-50%,-50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--lime), rgba(39,194,129,0) 24%);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
          mask: radial-gradient(closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
  filter: drop-shadow(0 0 6px var(--glow-lime));
  animation: fwSpin 11s linear infinite;
}
@keyframes fwSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.fw-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 33%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; text-align: center; gap: 7px;
  background: radial-gradient(circle at 50% 32%, rgba(39,194,129,0.16), var(--surface) 70%);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 30px 80px -42px #000;
}
.fw-core-k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.fw-emboss {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(15px, 2.3vw, 21px);
  letter-spacing: 0.01em; line-height: 1; text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,0.45), 0 -1px 1px rgba(255,255,255,0.12);
  -webkit-text-stroke: 0;
}
.fw-emboss span { color: rgba(255,255,255,0.65); }
.fw-core strong { font-family: var(--font-display); font-weight: 700; font-size: clamp(15px, 2.1vw, 20px); line-height: 1; letter-spacing: -0.025em; color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 9px; }
.fw-core strong b { color: var(--lime); font-weight: 700; }
.fw-core strong i { font-style: normal; font-size: 0.78em; line-height: 1; color: #fff; opacity: 0.85; margin: 0; }
.fw-node { position: absolute; transform: translate(-50%,-50%); width: clamp(142px, 23vw, 168px); }
.fw-card { position: relative; z-index: 2; background: #0b1410; border: 1px solid var(--line); border-radius: 15px; padding: 15px 14px 14px; text-align: center; box-shadow: 0 18px 50px -28px #000; transition: border-color 0.25s, transform 0.25s var(--ease), background 0.25s; }
.fw-node:hover .fw-card { border-color: rgba(39,194,129,0.5); transform: translateY(-3px); background: #0e1a15; }
.fw-ic { position: relative; width: 46px; height: 46px; border-radius: 12px; margin: 0 auto 11px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--lime); }
.fw-ic svg { width: 22px; height: 22px; }
.fw-step { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime-deep); color: #03110a; font-family: var(--font-mono); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.fw-node h4 { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; letter-spacing: -0.02em; margin-bottom: 4px; }
.fw-node .fw-val { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: -0.01em; color: var(--lime); margin-bottom: 5px; }
.fw-node p { font-family: var(--font-mono); font-size: 10.5px; line-height: 1.45; color: var(--muted); text-wrap: balance; }
@media (prefers-reduced-motion: reduce) { .fw-sweep { animation: none; } }
@media (max-width: 760px) {
  #loop .flywheel { width: 100%; aspect-ratio: auto; display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
  .fw-orbit, .fw-sweep, .fw-core { display: none; }
  .fw-node { position: static; transform: none; width: 100%; }
  .fw-card { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; }
  .fw-ic { margin: 0; flex: none; }
  .fw-node h4 { margin-bottom: 2px; }
}

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  padding: 28px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.3s, transform 0.3s var(--ease);
  will-change: transform;
}
.tile::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(39,194,129,0.12), transparent 60%);
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
}
.tile:hover { border-color: var(--line-2); }
.tile:hover::after { opacity: 1; }
.tile .t-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--lime); margin-bottom: 18px; }
.tile .t-ic svg { width: 22px; height: 22px; }
.tile h3 { font-size: 20px; margin-bottom: 10px; }
.tile p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.tile .tag { position: absolute; top: 22px; right: 22px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.t-wide { grid-column: span 3; }
.t-mid { grid-column: span 2; }
.t-third { grid-column: span 2; }
.tile-feature { grid-column: span 3; grid-row: span 1; min-height: 240px; }

/* mini rule-engine chips inside a tile */
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.chip { font-family: var(--font-mono); font-size: 11px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink-soft); }
.chip.op { color: var(--lime); border-color: rgba(39,194,129,0.32); background: rgba(39,194,129,0.07); }
.spark { display: flex; align-items: flex-end; gap: 5px; height: 56px; margin-top: 18px; }
.spark i { flex: 1; background: linear-gradient(180deg, var(--lime), rgba(39,194,129,0.15)); border-radius: 3px 3px 0 0; opacity: 0.85; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-wide, .t-mid, .t-third, .tile-feature { grid-column: span 1; }
}
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.stat { padding: 36px 28px; border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--font-display); font-size: clamp(32px, 4vw, 46px); font-weight: 600; letter-spacing: -0.03em; background: linear-gradient(180deg, var(--ink), var(--muted)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.stat .num .suf { color: var(--lime); -webkit-text-fill-color: var(--lime); }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: none; } .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); } }

/* ---------- CTA ---------- */
.cta-block { padding: 110px 0 96px; }
.cta-card {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 28px;
  padding: 70px 40px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(39,194,129,0.16), transparent 70%),
    radial-gradient(ellipse 60% 100% at 50% 120%, rgba(138,255,208,0.11), transparent 70%),
    var(--surface);
}
.cta-card h2 { font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 18px; }
.cta-card p { color: var(--ink-soft); font-size: 18px; max-width: 520px; margin: 0 auto 34px; }
.cta-card .hero-cta { justify-content: center; margin-bottom: 0; }
.cta-card .scan-line { top: auto; bottom: 0; opacity: 0.5; animation: ctaSweep 4s linear infinite; }
@keyframes ctaSweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ---------- platform lead (retargeting intro row) ---------- */
.platform-lead { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin: 4px 0 24px; flex-wrap: wrap; }
.platform-lead .pl-text { max-width: 560px; }
.platform-lead .eyebrow { margin-bottom: 12px; }
.platform-lead h3 { font-family: var(--font-display); font-size: clamp(23px, 3vw, 32px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.platform-lead .pl-desc { color: var(--muted); font-size: 14.5px; max-width: 340px; line-height: 1.55; }
@media (max-width: 760px) {
  .platform-lead { flex-direction: column; align-items: flex-start; gap: 14px; }
  .platform-lead .pl-desc { max-width: none; }
}
/* tighten the gap between the flywheel and the platform heading (~20%) */
#loop { padding-bottom: 50px; }
#platform { padding-top: 50px; }
#platform .bento { margin-top: 52px; }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.pricing.two { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.pricing.three { grid-template-columns: repeat(3, 1fr); max-width: 1040px; margin: 0 auto; }

/* base platform fee — slim price bar */
.fee-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1040px; margin: 0 auto 22px;
  padding: 16px 14px 16px 22px;
  border: 1px solid var(--line-2); border-radius: 14px;
  background: linear-gradient(90deg, rgba(39,194,129,0.06), rgba(39,194,129,0) 42%), var(--surface);
}
.fee-bar-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.fee-bar-tag {
  flex: none;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime);
  padding: 5px 10px; border-radius: 7px;
  background: rgba(39,194,129,0.1); box-shadow: inset 0 0 0 1px rgba(39,194,129,0.22);
}
.fee-bar-text { color: var(--ink-soft); font-size: 14px; line-height: 1.4; }
.fee-bar-price { flex: none; display: flex; align-items: baseline; gap: 3px; }
.fee-bar-amt { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.fee-bar-cur { font-size: 14px; font-weight: 600; vertical-align: baseline; margin-right: 1px; color: var(--muted); }
.fee-bar-per { font-size: 14px; font-weight: 500; color: var(--muted); }

.price-feat li.muted { color: var(--faint); }
.price-feat li.muted::before { content: "\2013"; background: rgba(255,255,255,0.05); color: var(--faint); }

.price-foot { text-align: center; max-width: 620px; margin: 26px auto 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.price-foot b { color: var(--ink); font-weight: 600; }
.price-foot a { color: var(--lime); text-decoration: none; }
.price-foot a:hover { text-decoration: underline; }
.price-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s;
}
.price-card:hover { border-color: var(--line-2); }
.price-card.featured {
  border-color: rgba(39,194,129,0.42);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(39,194,129,0.10), transparent 60%),
    var(--surface);
  box-shadow: 0 24px 60px -28px rgba(39,194,129,0.45);
}
.price-badge {
  position: absolute; top: -11px; left: 28px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: var(--lime); padding: 4px 11px; border-radius: 100px; font-weight: 600;
}
.price-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.price-desc { color: var(--muted); font-size: 13.5px; margin-top: 8px; min-height: 38px; }
.price-amt { font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -0.03em; margin: 16px 0 2px; min-height: 53px; display: flex; align-items: baseline; }
.price-amt-custom { font-size: 36px; color: var(--ink-soft); align-items: center; }
.price-cur { font-size: 23px; vertical-align: super; margin-right: 1px; color: var(--ink-soft); }
.price-per { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.price-custom { font-size: 40px; }
.price-btn { width: 100%; justify-content: center; margin: 20px 0 26px; }
.price-feat { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.price-feat li { position: relative; padding-left: 27px; color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.price-feat li b { color: var(--ink); font-weight: 600; }
.price-feat li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px;
  width: 17px; height: 17px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(39,194,129,0.15); color: var(--lime);
  font-size: 10px; font-weight: 700;
}
@media (max-width: 880px) {
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .pricing.two { grid-template-columns: 1fr; max-width: 460px; }
  .pricing.three { grid-template-columns: 1fr; max-width: 460px; }
  .price-desc { min-height: 0; }
  .fee-bar { flex-direction: column; align-items: flex-start; gap: 14px; max-width: 460px; padding: 18px; }
  .fee-bar-main { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------- minimal footer ---------- */
.foot-min { border-top: 1px solid var(--line); padding: 30px 0; }
.foot-min-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { color: var(--ink-soft); text-decoration: none; font-size: 13.5px; transition: color .2s; }
.foot-links a:hover { color: var(--lime); }
.foot-min-bottom { margin-top: 20px; color: var(--faint); font-size: 12.5px; font-family: var(--font-mono); }

/* ---------- reveal ---------- */
/* visible by default; the hidden pre-state is only applied once JS confirms
   the page is actually painting (html.anim-on). guarantees content is never
   stuck hidden if rendering is throttled. */
[data-reveal] { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.anim-on [data-reveal]:not(.reveal-in) { opacity: 0; transform: translateY(26px); }
[data-reveal].reveal-in { opacity: 1; transform: none; }
.anim-on .word-anim { animation: wordIn 0.6s var(--ease) both; animation-delay: var(--wd, 0s); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee-track, .valid-badge .pulse, .cta-card .scan-line { animation: none !important; }
}

/* ---------- custom cursor ---------- */
.cur-dot, .cur-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 999; mix-blend-mode: difference; }
.cur-dot { width: 7px; height: 7px; background: var(--lime); transform: translate(-50%, -50%); }
.cur-ring { width: 34px; height: 34px; border: 1.5px solid rgba(39,194,129,0.6); transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, background 0.2s, border-color 0.2s; }
.cur-ring.hot { width: 52px; height: 52px; background: rgba(39,194,129,0.08); border-color: var(--lime); }
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
/* keep a clickable pointer on actual buttons even with the custom cursor on */
body.has-cursor .btn { cursor: pointer; }
@media (hover: none), (max-width: 860px) { .cur-dot, .cur-ring { display: none; } body.has-cursor, body.has-cursor * { cursor: auto; } }
