/* ============================================
   FLOW-BI — Sistema de diseño compartido
   ============================================ */

:root {
  /* Crema warm */
  --cream-50: #faf7f0;
  --cream-100: #f5f1e8;
  --cream-200: #ede7d8;
  --cream-300: #e2d9c2;

  /* Verde bosque profundo (texto) */
  --forest-900: #1a2a22;
  --forest-800: #243a30;
  --forest-700: #314a3e;
  --forest-600: #4a6358;

  /* Verde agua / sage (acento) */
  --sage-100: #e3ede6;
  --sage-200: #c7d9cb;
  --sage-300: #a5bfac;
  --sage-400: #7ea189;
  --sage-500: #5a8268;
  --sage-600: #3f6149;

  /* Acento agua brillante */
  --water-300: #8fc4b6;
  --water-400: #5fa898;
  --water-500: #3d8a77;

  /* Neutrales */
  --ink: var(--forest-900);
  --ink-soft: var(--forest-600);
  --line: rgba(26, 42, 34, 0.12);
  --line-soft: rgba(26, 42, 34, 0.06);
  --bg: var(--cream-100);
  --bg-paper: var(--cream-50);

  /* Tipografía */
  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "Geist", "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  /* Métrica */
  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--forest-900); color: var(--cream-100); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -0.02em; }
h1 { font-size: clamp(56px, 9vw, 144px); }
h2 { font-size: clamp(40px, 6vw, 88px); }
h3 { font-size: clamp(28px, 3.5vw, 48px); }
.italic { font-style: italic; }

p { text-wrap: pretty; }

/* ---------- Layout ---------- */
.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.shell-wide { max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(80px, 12vh, 160px) 0; position: relative; }
.divider { height: 1px; background: var(--line); margin: 0; }

/* ---------- Top Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: color-mix(in oklab, var(--cream-100) 72%, transparent);
  border-bottom: 1px solid var(--line-soft);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 34px;
  font-style: italic;
  letter-spacing: -0.03em;
  display: flex; align-items: center; gap: 12px;
  white-space: nowrap;
  line-height: 1;
}
.nav-logo .logo-bi {
  color: var(--sage-500);
  font-style: italic;
}
.nav-logo-mark {
  width: 42px; height: 42px;
  position: relative;
  flex-shrink: 0;
}
.nav-logo-mark .planet {
  position: absolute; inset: 11px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, #d6e9dd 0%, var(--sage-500) 50%, var(--forest-800) 100%);
  box-shadow:
    inset -2px -3px 5px rgba(0, 0, 0, 0.35),
    inset 2px 2px 3px rgba(255, 255, 255, 0.18),
    0 0 14px rgba(143, 196, 182, 0.28);
}
.nav-logo-mark .planet::after {
  content: "";
  position: absolute;
  top: 18%; left: 22%;
  width: 22%; height: 18%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  filter: blur(2px);
}
.nav-logo-mark .ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.nav-logo-mark .ring-1 {
  inset: 5px;
  border: 1px dashed rgba(63, 97, 73, 0.32);
  animation: nav-ring-spin 14s linear infinite;
}
.nav-logo-mark .ring-2 {
  inset: 0;
  border: 1px solid rgba(95, 168, 152, 0.22);
  animation: nav-ring-spin 22s linear infinite reverse;
}
@keyframes nav-ring-spin { to { transform: rotate(360deg); } }

.nav-logo-mark .moon {
  position: absolute;
  top: 50%; left: 50%;
  width: 6px; height: 6px;
  margin: -3px;
  border-radius: 50%;
  background: var(--water-400);
  box-shadow: 0 0 5px rgba(95, 168, 152, 0.7);
}
.nav-logo-mark .moon-1 { animation: moon-orbit-a 5.5s linear infinite; }
.nav-logo-mark .moon-2 {
  background: var(--sage-300);
  width: 4px; height: 4px;
  margin: -2px;
  box-shadow: 0 0 4px rgba(165, 191, 172, 0.6);
  animation: moon-orbit-b 8.5s linear infinite;
}
.nav-logo-mark .moon-3 {
  background: var(--cream-100);
  width: 3px; height: 3px;
  margin: -1.5px;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
  animation: moon-orbit-c 4s linear infinite;
}
@keyframes moon-orbit-a {
  from { transform: rotate(0deg) translateX(18px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(18px) rotate(-360deg); }
}
@keyframes moon-orbit-b {
  from { transform: rotate(0deg) translateX(22px) rotate(0deg); }
  to   { transform: rotate(-360deg) translateX(22px) rotate(360deg); }
}
@keyframes moon-orbit-c {
  from { transform: rotate(90deg) translateX(14px) rotate(-90deg); }
  to   { transform: rotate(450deg) translateX(14px) rotate(-450deg); }
}

/* Subtle reactive scale on hover */
.nav-logo:hover .nav-logo-mark .planet { animation: planet-pulse 1.6s ease-in-out infinite; }
@keyframes planet-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 14px; color: var(--ink-soft);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--forest-800);
}
.nav-cta {
  font-family: var(--sans);
  background: var(--forest-900); color: var(--cream-50);
  padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  transition: transform 0.25s ease, background 0.25s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-cta:hover { background: var(--forest-700); transform: translateY(-1px); }
.nav-cta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--water-300);
  box-shadow: 0 0 0 0 var(--water-300);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(143, 196, 182, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(143, 196, 182, 0); }
}
.nav-login {
  background: transparent;
  color: var(--forest-900);
  border: 1.5px solid var(--forest-900);
}
.nav-login:hover {
  background: var(--forest-900);
  color: var(--cream-50);
}
.nav-login .dot {
  background: var(--forest-900);
}
.nav-login:hover .dot {
  background: var(--water-300);
}
@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--forest-900); color: var(--cream-50); }
.btn-primary:hover { background: var(--forest-700); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--forest-800); background: var(--cream-50); }
.btn-arrow { transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translate(2px, -2px); }

/* ---------- Cards ---------- */
.card {
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  border-color: var(--sage-300);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -20px rgba(26, 42, 34, 0.18);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--forest-900);
  color: var(--cream-100);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 80px; }
.footer h4 {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(245, 241, 232, 0.55);
  margin-bottom: 20px; font-weight: 500;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a { font-size: 14px; color: rgba(245, 241, 232, 0.85); transition: color 0.2s; }
.footer a:hover { color: var(--water-300); }
.footer-tagline {
  font-family: var(--serif); font-style: italic;
  font-size: 32px; line-height: 1.1; max-width: 380px;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 241, 232, 0.1);
  font-size: 12px; color: rgba(245, 241, 232, 0.5);
  font-family: var(--mono);
}
.footer-mega {
  font-family: var(--serif);
  font-size: clamp(80px, 18vw, 260px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-top: 64px;
  color: rgba(245, 241, 232, 0.06);
  pointer-events: none;
  user-select: none;
  font-style: italic;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Scroll animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(0.2, 0.6, 0.2, 1), transform 1s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* ---------- Marquee ---------- */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Pill / tags ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  background: var(--sage-100);
  color: var(--forest-700);
  border-radius: 999px;
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.tag .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--water-500); }

/* ---------- Numbered list (frame) ---------- */
.num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.hairline { border-top: 1px solid var(--line); }

/* ---------- Hero subtitle ---------- */
.lede {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 580px;
}

/* ============ CUSTOM CURSOR ============ */
html.fb-has-cursor,
html.fb-has-cursor body { cursor: none; }
html.fb-has-cursor a,
html.fb-has-cursor button,
html.fb-has-cursor input,
html.fb-has-cursor textarea,
html.fb-has-cursor select,
html.fb-has-cursor [contenteditable],
html.fb-has-cursor [draggable="true"],
html.fb-has-cursor label,
html.fb-has-cursor .chip,
html.fb-has-cursor .swatch,
html.fb-has-cursor .preset,
html.fb-has-cursor .opt,
html.fb-has-cursor .lib-item,
html.fb-has-cursor .board-tile,
html.fb-has-cursor .quick-card,
html.fb-has-cursor .agent,
html.fb-has-cursor .what-card,
html.fb-has-cursor .mod,
html.fb-has-cursor .faq,
html.fb-has-cursor .step,
html.fb-has-cursor .cat-chip,
html.fb-has-cursor .ic-btn,
html.fb-has-cursor .lib-cat-head,
html.fb-has-cursor .tier,
html.fb-has-cursor .info-card,
html.fb-has-cursor .team-mem { cursor: none !important; }

.fb-cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 100000;
  width: 0; height: 0;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.25s ease;
  mix-blend-mode: normal;
}
.fb-cursor.fb-cursor-on { opacity: 1; }
.fb-cursor-dot {
  position: absolute;
  left: -4px; top: -4px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--water-500);
  box-shadow: 0 0 14px rgba(95, 168, 152, 0.9), 0 0 28px rgba(95, 168, 152, 0.4);
  transition: width 0.2s ease, height 0.2s ease, left 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}
.fb-cursor-ring {
  position: absolute;
  left: -18px; top: -18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--water-400);
  background: rgba(95, 168, 152, 0.06);
  box-shadow: 0 0 18px rgba(95, 168, 152, 0.18);
  transition: width 0.28s cubic-bezier(0.2, 0.7, 0.2, 1),
              height 0.28s cubic-bezier(0.2, 0.7, 0.2, 1),
              left 0.28s cubic-bezier(0.2, 0.7, 0.2, 1),
              top 0.28s cubic-bezier(0.2, 0.7, 0.2, 1),
              background 0.25s ease,
              border-color 0.25s ease,
              transform 0.18s ease;
}
.fb-cursor.hover .fb-cursor-ring {
  width: 64px; height: 64px;
  left: -32px; top: -32px;
  background: rgba(95, 168, 152, 0.18);
  border-color: var(--sage-500);
}
.fb-cursor.hover .fb-cursor-dot {
  width: 0; height: 0;
  left: 0; top: 0;
}
.fb-cursor.text .fb-cursor-ring {
  width: 3px; height: 26px;
  left: -1.5px; top: -13px;
  border-radius: 2px;
  background: var(--sage-600);
  border-color: transparent;
}
.fb-cursor.text .fb-cursor-dot { opacity: 0; }
.fb-cursor.drag .fb-cursor-ring {
  width: 64px; height: 64px;
  left: -32px; top: -32px;
  border-style: dashed;
  border-width: 2px;
  background: rgba(95, 168, 152, 0.1);
  animation: cursor-spin 4s linear infinite;
}
@keyframes cursor-spin { to { transform: rotate(360deg); } }

.fb-cursor.left-click .fb-cursor-ring {
  transform: scale(0.55);
  background: rgba(95, 168, 152, 0.45);
  border-color: var(--water-500);
}
.fb-cursor.right-click .fb-cursor-ring {
  width: 40px; height: 40px;
  left: -20px; top: -20px;
  border-color: var(--water-300);
  border-width: 2px;
  background: rgba(143, 196, 182, 0.25);
  animation: rclick 0.4s ease-out;
}
@keyframes rclick {
  0% { transform: scale(0.4) rotate(0deg); }
  100% { transform: scale(1) rotate(90deg); }
}

/* Click ripples */
.fb-ripple {
  position: fixed;
  width: 14px; height: 14px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 99998;
  animation: ripple-out 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.fb-ripple.left {
  background: rgba(95, 168, 152, 0.35);
  box-shadow: 0 0 0 0 rgba(95, 168, 152, 0.7), inset 0 0 8px rgba(63, 97, 73, 0.3);
}
.fb-ripple.right {
  background: transparent;
  border: 2px solid var(--water-400);
  width: 18px; height: 18px;
}
@keyframes ripple-out {
  0%   { transform: translate(-50%, -50%) scale(0.4); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(7); opacity: 0; }
}

/* Particle burst on left-click */
.fb-spark {
  position: fixed;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--water-400);
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  animation: spark-fly 0.6s ease-out forwards;
}
@keyframes spark-fly {
  to {
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0);
    opacity: 0;
  }
}

/* ============ Magnetic / animation helpers ============ */
.magnetic { transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1); }

/* Glow underline for hover-anchored links */
a.glow-link { position: relative; }
a.glow-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
a.glow-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ============ PAGE TRANSITION ============ */
.page-trans {
  position: fixed; inset: 0;
  background: #1d201f;
  z-index: 10000;
  pointer-events: none;
  transform: translateY(100%);
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.page-trans::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 28% 38%, rgba(95, 168, 152, 0.18), transparent 55%),
    radial-gradient(circle at 78% 65%, rgba(63, 97, 73, 0.22), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}
.page-trans::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(143, 196, 182, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 196, 182, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
}

.page-trans.in { animation: pt-slide-in 0.42s cubic-bezier(0.75, 0, 0.2, 1) forwards; }
.page-trans.out { animation: pt-slide-out 0.5s cubic-bezier(0.75, 0, 0.2, 1) forwards; }
@keyframes pt-slide-in {
  from { transform: translateY(102%); }
  to { transform: translateY(0); }
}
@keyframes pt-slide-out {
  from { transform: translateY(0); }
  to { transform: translateY(-102%); }
}

.pt-orbit {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px dashed rgba(143, 196, 182, 0.22);
  border-radius: 50%;
  pointer-events: none;
}
.pt-orbit.r1 {
  width: 320px; height: 320px;
  margin: -160px;
  animation: pt-spin 16s linear infinite;
}
.pt-orbit.r1::before {
  content: ""; position: absolute;
  top: -5px; left: 50%; margin-left: -5px;
  width: 10px; height: 10px;
  background: var(--water-300);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--water-300), 0 0 30px rgba(143, 196, 182, 0.4);
}
.pt-orbit.r2 {
  width: 560px; height: 560px;
  margin: -280px;
  border-style: solid;
  border-color: rgba(143, 196, 182, 0.1);
  animation: pt-spin 28s linear infinite reverse;
}
.pt-orbit.r2::before {
  content: ""; position: absolute;
  top: 50%; left: -3px; margin-top: -3px;
  width: 6px; height: 6px;
  background: var(--sage-300);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(165, 191, 172, 0.6);
}
.pt-orbit.r3 {
  width: 800px; height: 800px;
  margin: -400px;
  border-style: dashed;
  border-color: rgba(143, 196, 182, 0.06);
  animation: pt-spin 50s linear infinite;
}
@keyframes pt-spin { to { transform: rotate(360deg); } }

.pt-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.pt-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(143, 196, 182, 0.75);
  opacity: 0;
  animation: pt-fade 0.45s 0.12s ease forwards;
}
.pt-eyebrow .dash {
  width: 36px; height: 1px;
  background: rgba(143, 196, 182, 0.4);
}

.pt-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(72px, 14vw, 200px);
  color: var(--water-300);
  letter-spacing: -0.035em;
  line-height: 0.9;
  opacity: 0;
  transform: translateY(40px);
  animation: pt-rise 0.65s 0.18s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  text-shadow: 0 0 80px rgba(143, 196, 182, 0.18);
}

.pt-foot {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(245, 241, 232, 0.45);
  opacity: 0;
  animation: pt-fade 0.45s 0.32s ease forwards;
  margin-top: 4px;
}
.pt-foot .line { height: 1px; width: 64px; background: rgba(245, 241, 232, 0.2); }
.pt-foot .mini-mark {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #d6e9dd, var(--forest-800));
  box-shadow: 0 0 8px rgba(143, 196, 182, 0.4);
}

.pt-progress {
  position: absolute;
  bottom: 0; left: 0; height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--water-300), var(--sage-400));
  z-index: 6;
  animation: pt-bar 0.7s 0.1s linear forwards;
}
@keyframes pt-bar { to { width: 100%; } }
@keyframes pt-fade { to { opacity: 1; } }
@keyframes pt-rise { to { opacity: 1; transform: translateY(0); } }

/* Floating subtle ambient blob for hero sections */
.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  animation: blob-drift 18s ease-in-out infinite;
}
@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* Counter animation */
[data-counter] { font-variant-numeric: tabular-nums; }

/* Text split lines (for headings) */
.split-line {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
  line-height: inherit;
}
.split-line-inner {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 1.05s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
  line-height: inherit;
}
.split-ready .split-line-inner { transform: translateY(0); }

/* Slow rotation utility */
@keyframes slow-rotate { to { transform: rotate(360deg); } }
.rotate-slow { animation: slow-rotate 30s linear infinite; }
