/* ============================================================
   Mobile Reflow — landing page (dark replica of animaapp.com)
   Faithful clone of animaapp's design grammar: near-black charcoal,
   oversized display headlines, vivid gradient feature cards, light
   blooms, generous whitespace, marquees. Branded to Mobile Reflow:
   Chillax type, blue-violet accent, original copy.
   Plain CSS. No framework. No build step. Strict same-origin CSP.
   ============================================================ */

/* ---------- Chillax — bundled locally (Fontshare, free commercial) ---------- */
@font-face { font-family:'Chillax'; src:url('fonts/chillax-400.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Chillax'; src:url('fonts/chillax-500.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Chillax'; src:url('fonts/chillax-600.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Chillax'; src:url('fonts/chillax-700.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }

/* ---------- Design tokens ---------- */
:root {
  --ink: #f3f4f7;
  --ink-soft: #b4b7c2;
  --muted: #82869a;
  --bg: #161619;
  --bg-alt: #1c1c21;
  --surface: #1f2025;
  --surface-2: #26272d;
  --line: rgba(255,255,255,.09);
  --line-soft: rgba(255,255,255,.055);

  --accent: #6473ff;
  --accent-bright: #8d96ff;
  --accent-deep: #3a44c4;
  --accent-soft: rgba(100,115,255,.14);
  --teal: #2bd0bf;
  --peach: #ffb38a;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --maxw: 1200px;
  --pad: 24px;
  --section-pad: 104px;

  --font: 'Chillax', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);

  --shadow: 0 24px 60px rgba(0,0,0,.45);
  --shadow-lg: 0 40px 90px rgba(0,0,0,.55);
  --glow-accent: 0 16px 44px rgba(100,115,255,.40);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }   /* no CSS smooth-scroll — it fights ScrollTrigger's scrub/pin */
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: rgba(100,115,255,.32); color: #fff; }
:focus-visible { outline: 3px solid rgba(141,150,255,.65); outline-offset: 3px; border-radius: 6px; }

.container {
  width: 100%; max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad); padding-right: var(--pad);
}
.skip-link { position: absolute; left: -999px; }
.skip-link:focus {
  left: 16px; top: 16px; z-index: 300;
  background: var(--accent); color: #fff;
  padding: 10px 16px; border-radius: 8px;
}

/* ============================================================
   Motion — reveal + parallax base states
   JS adds .is-in to [data-reveal]; noscript.css unhides for no-JS.
   ============================================================ */
[data-reveal]:not([data-stagger]):not([data-parallax]),
[data-reveal][data-stagger] > * {
  opacity: 0; transform: translateY(30px);
  transition: opacity .78s var(--ease), transform .78s var(--ease);
  will-change: transform, opacity;
}
[data-reveal][data-parallax] { opacity: 0; transition: opacity .78s var(--ease); }
[data-reveal].is-in:not([data-stagger]):not([data-parallax]),
[data-reveal][data-stagger].is-in > * { opacity: 1; transform: translateY(0); }
[data-reveal][data-parallax].is-in { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], [data-reveal] > *, [data-parallax] {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .logos__track, .reviews__track, .hero__glow, .hero__grid,
  .cta__glow, .cta__grid { animation: none !important; }
  .reviews__track { flex-wrap: wrap; justify-content: center; width: auto; }
  .reviews__track .review[aria-hidden="true"] { display: none; }
}

/* ============================================================
   Section flow-stack — each section becomes a full-viewport panel
   that GSAP pins while the next slides up from below and covers it;
   the incoming panel un-rotates from a 30° tilt. main.js injects the
   .sect-swing layer and adds .flow-on to <main> (motion-allowed only,
   so reduced-motion / no-JS keep the normal stacked page).
   ============================================================ */
.flow-panel {
  min-height: 100vh;
  overflow: hidden;          /* clips the 30° tilt to the panel box */
  position: relative;
  background: var(--bg);     /* opaque — a covering panel fully hides the one beneath */
}
.flow-panel.section--alt { background: var(--bg-alt); }
.flow-panel > .sect-swing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform-origin: bottom left;
  background: inherit;       /* the tilted layer carries the panel colour into its corners */
  will-change: transform;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 9px;
  font-family: var(--font); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .16s var(--ease), background-color .2s ease,
              border-color .2s ease, box-shadow .25s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 17px 30px; font-size: 16px; }

.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--glow-accent); }
.btn--primary:hover { background: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 20px 50px rgba(100,115,255,.5); }

.btn--ghost { background: rgba(255,255,255,.04); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); transform: translateY(-2px); }

.btn--light { background: #fff; color: #15151b; box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 20px 46px rgba(0,0,0,.5); }

.btn--glass {
  background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn--glass:hover { background: rgba(255,255,255,.22); border-color: #fff; transform: translateY(-2px); }

/* ============================================================
   Shared section bits
   ============================================================ */
.section { padding: var(--section-pad) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { margin-bottom: 8px; }

.kicker {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-bright);
  padding: 7px 15px;
  border: 1px solid rgba(141,150,255,.3);
  border-radius: 999px;
  background: var(--accent-soft);
  margin-bottom: 28px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 20px;
}

.section__title {
  font-size: clamp(2.1rem, 4.1vw, 3.35rem);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.08;
}
.section__title--center { text-align: center; max-width: 880px; margin-left: auto; margin-right: auto; }
.section__lead {
  font-size: 18.5px; color: var(--ink-soft);
  max-width: 700px; margin: 24px auto 0; text-align: center;
}

/* ============================================================
   Showcase — gradient media frame (animaapp's feature cards)
   ============================================================ */
.showcase {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #2a2b6e 0%, #4338a8 52%, #5b53d6 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.showcase--wide { aspect-ratio: 16 / 8.6; }
.showcase--tint-a { background: linear-gradient(155deg, #1f3a6b 0%, #3850c4 100%); }
.showcase--tint-b { background: linear-gradient(155deg, #3a2a72 0%, #6a4fd0 100%); }
.showcase--tint-c { background: linear-gradient(155deg, #103f49 0%, #1f8f8a 100%); }
.showcase--tint-d { background: linear-gradient(155deg, #402a5e 0%, #8a5fc8 100%); }
.showcase::before {            /* perspective grid texture */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(120% 120% at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(120% 120% at 50% 0%, #000 30%, transparent 78%);
}
.showcase::after {             /* corner bloom */
  content: ""; position: absolute;
  width: 64%; height: 74%; top: -22%; right: -16%;
  background: radial-gradient(circle, rgba(255,255,255,.34), transparent 68%);
  filter: blur(26px);
}

.video-slot {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; padding: 36px; text-align: center;
}
.video-slot__play {
  position: relative; z-index: 2;
  width: 74px; height: 74px; border-radius: 50%;
  background: #fff; box-shadow: 0 14px 36px rgba(0,0,0,.45);
  flex-shrink: 0;
}
.video-slot__play::before {
  content: ""; position: absolute; inset: -11px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.4);
}
.video-slot__play::after {
  content: ""; position: absolute; top: 50%; left: 54%;
  transform: translate(-50%,-50%);
  border-style: solid; border-width: 12px 0 12px 19px;
  border-color: transparent transparent transparent #2a2b6e;
}
.video-slot__label { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 6px; max-width: 540px; }
.video-slot__label strong { font-size: 15px; font-weight: 700; color: #fff; }
.video-slot__label span { font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.72); }

/* ============================================================
   1 — NAVIGATION (floating glass pill, sticky)
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  padding: 18px 16px;
}
.nav__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: 100%; max-width: 980px;
  padding: 9px 9px 9px 22px;
  border-radius: 999px;
  background: rgba(26,26,31,.8);
  border: 1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 14px 40px rgba(0,0,0,.5);
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.nav.is-scrolled .nav__inner {
  background: rgba(18,18,22,.94);
  border-color: rgba(255,255,255,.13);
  box-shadow: 0 18px 52px rgba(0,0,0,.62);
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; color: var(--ink); flex-shrink: 0; }
.brand__mark { color: var(--accent-bright); flex-shrink: 0; }

.nav__collapse { display: contents; }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__menu a { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .16s ease; white-space: nowrap; }
.nav__menu a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__login { font-size: 15px; font-weight: 600; color: var(--ink-soft); transition: color .16s ease; white-space: nowrap; }
.nav__login:hover { color: var(--ink); }

/* Language switcher — globe button + dropdown submenu */
.langswitch { position: relative; }
.langswitch__btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--ink-soft); cursor: pointer;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}
.langswitch__btn:hover { color: var(--ink); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.langswitch__menu {
  position: absolute; top: calc(100% + 12px); right: 0;
  min-width: 158px;
  display: none; flex-direction: column; gap: 2px;
  padding: 6px;
  background: #1f2026; border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0,0,0,.55);
}
.langswitch.is-open .langswitch__menu { display: flex; }
.langswitch__menu a {
  padding: 12px 14px; border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  transition: color .16s ease, background-color .16s ease;
}
.langswitch__menu a:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.langswitch__menu a.is-active { color: var(--ink); background: var(--accent-soft); }

.nav__toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; min-width: 44px; min-height: 44px; }
.nav__toggle span { width: 23px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .26s var(--ease), opacity .2s ease; }
.nav-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   2 — HERO
   ============================================================ */
.hero { position: relative; padding: 176px 0 88px; text-align: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__glow {
  position: absolute; top: -300px; left: 50%; transform: translateX(-50%);
  width: 1180px; height: 820px;
  background: radial-gradient(closest-side, rgba(100,115,255,.34), transparent 72%);
  animation: mrl-breathe 14s var(--ease) infinite alternate;
}
.hero__bg::before, .hero__bg::after {       /* corner blooms, animaapp-style */
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  filter: blur(40px); opacity: .55;
}
.hero__bg::before { top: -160px; left: -200px; background: radial-gradient(circle, rgba(123,90,210,.55), transparent 66%); }
.hero__bg::after  { bottom: -220px; right: -200px; background: radial-gradient(circle, rgba(100,115,255,.42), transparent 66%); }
.hero__grid {
  position: absolute; inset: auto 0 0 0; height: 460px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(120% 92% at 50% 100%, #000, transparent 70%);
  mask-image: radial-gradient(120% 92% at 50% 100%, #000, transparent 70%);
  animation: mrl-grid-hero 40s linear infinite;
}
.hero__inner { position: relative; z-index: 1; }
.hero__title {
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-weight: 700; letter-spacing: -.04em; line-height: 1.02;
  max-width: 980px; margin: 0 auto;
}
.hero__sub { font-size: 19.5px; color: var(--ink-soft); max-width: 650px; margin: 20px auto 0; }
.hero__cta { display: flex; justify-content: center; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.microcopy { font-size: 14px; color: var(--muted); margin-top: 18px; }
.microcopy--light { color: rgba(255,255,255,.72); }
.hero__media { position: relative; z-index: 1; margin-top: 54px; }

/* ============================================================
   3 — PROOF + INTEGRATIONS
   ============================================================ */
.proof { padding: 80px 0 84px; }
.proof__title {
  font-size: clamp(1.8rem, 3.3vw, 2.5rem);
  font-weight: 700; letter-spacing: -.028em; line-height: 1.15;
  text-align: center; max-width: 680px; margin: 0 auto;
}
.metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 54px; }
.metric {
  text-align: center; padding: 34px 18px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s var(--ease), border-color .25s ease, background-color .25s ease;
}
.metric:hover { transform: translateY(-4px); border-color: rgba(141,150,255,.4); background: var(--surface-2); }
.metric__num { display: block; font-size: clamp(2.1rem,3.6vw,3rem); font-weight: 700; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.metric__plus { color: var(--accent-bright); }
.metric__label { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.proof__note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 24px; font-style: italic; }

.integrations__label {
  text-align: center; font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  margin-top: 74px;
}
/* Integration logo strip — infinite slider with progressive-blur edges.
   Each real partner logo is washed to one light tone (the brands'
   reversed/white treatment) so the strip reads as a calm, uniform
   "works with" wall on the dark panel. main.js injects .logos__blur. */
.logos {
  position: relative;
  margin-top: 30px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 11%, #000 89%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 11%, #000 89%, transparent);
}
.logos__track {
  display: flex; align-items: center;
  gap: 80px; width: max-content;
  animation: marquee 46s linear infinite;
}
.logos:hover .logos__track { animation-play-state: paused; }
.logos__item { flex: none; height: 46px; display: flex; align-items: center; }
.logos__img {
  height: 28px; width: auto; display: block;
  filter: brightness(0) invert(1);   /* any source colour/format → uniform white mark */
  opacity: .55;
  transition: opacity .25s ease;
}
.logos:hover .logos__img { opacity: .82; }
/* optical sizing — balance each logo's visual weight, not raw height */
.logo-erpnext    { height: 29px; }
.logo-ebay       { height: 27px; }
.logo-amazon     { height: 25px; }
.logo-shopify    { height: 26px; }
.logo-swappa     { height: 25px; }
.logo-easypost   { height: 23px; }
.logo-backmarket { height: 18px; }
/* progressive-blur edges (layered backdrop-filter, injected by main.js) */
.logos__blur { position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none; }
.logos__blur--left  { left: 0; }
.logos__blur--right { right: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ambient background motion — subtle by design */
@keyframes mrl-breathe {
  from { transform: translateX(-50%) scale(1);    opacity: .78; }
  to   { transform: translateX(-50%) scale(1.16); opacity: 1; }
}
@keyframes mrl-grid-hero { from { background-position: 0 0; } to { background-position: 58px -58px; } }
@keyframes mrl-grid-cta  { from { background-position: 0 0; } to { background-position: 60px 60px; } }

/* ============================================================
   4 — HOW IT WORKS / FLOW
   ============================================================ */
.flow {
  list-style: none;
  display: flex; flex-wrap: nowrap; justify-content: center;
  gap: 24px; margin: 50px auto 0;
}
.flow__step {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 11px 19px 11px 11px;
  font-size: 14.5px; font-weight: 600;
  white-space: nowrap; position: relative;
}
.flow__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 23px; height: 23px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700;
  flex-shrink: 0;
}
.flow__step:not(:last-child)::after {
  content: "→"; position: absolute; right: -16px; top: 50%;
  transform: translateY(-50%);
  color: #565a6e; font-size: 14px; font-weight: 700;
}
.section__media { margin-top: 58px; }

/* ============================================================
   5 — CARDS (who it's for)
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; margin-top: 58px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px;
  transition: transform .2s var(--ease), box-shadow .28s ease, border-color .2s ease, background-color .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(141,150,255,.34); background: var(--surface-2); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent-bright);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.card__title { font-size: 20px; font-weight: 700; letter-spacing: -.018em; margin-bottom: 10px; }
.card p { font-size: 15.5px; color: var(--ink-soft); }

/* ============================================================
   6–10 — FEATURE BLOCKS
   ============================================================ */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.feature--reverse .feature__text { order: 2; }
.feature--reverse .feature__media { order: 1; }
.feature__title { font-size: clamp(1.9rem, 3.4vw, 2.85rem); font-weight: 700; letter-spacing: -.032em; line-height: 1.1; }
.feature__body { font-size: 17.5px; color: var(--ink-soft); margin-top: 22px; }
.feature__text .btn { margin-top: 30px; }

/* Integrations — radial orbital animation. The partner nodes orbit
   the hub; main.js drives the rotation and the per-node depth. */
.orbit {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.085) 1px, transparent 1px);
  background-size: 26px 26px;
}
.orbit__ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  /* width / height set by main.js to the orbit diameter */
}
.orbit__hub {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 17px;
  background: #fff; color: #2a2b6e;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 36px rgba(0,0,0,.45);
  z-index: 220;
  animation: orbitHub 3.6s var(--ease) infinite;
}
@keyframes orbitHub {
  0%, 100% { box-shadow: 0 14px 36px rgba(0,0,0,.45); }
  50%      { box-shadow: 0 14px 40px rgba(0,0,0,.5), 0 0 34px 5px rgba(141,150,255,.4); }
}
.orbit__ping {
  position: absolute; inset: -7px;
  border-radius: 22px;
  border: 1.5px solid rgba(141,150,255,.55);
  animation: orbitPing 3s ease-out infinite;
}
.orbit__ping--2 { animation-delay: 1.5s; }
@keyframes orbitPing {
  0%   { transform: scale(.92); opacity: .7; }
  70%  { opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}
.orbit__node {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border-radius: 999px; padding: 8px 15px;
  font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap;
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
  .orbit__hub { animation: none; }
  .orbit__ping { animation: none; opacity: .35; }
}

/* ============================================================
   11 — ORIGIN + TESTIMONIALS
   ============================================================ */
.origin__story { max-width: 760px; margin: 0 auto; text-align: center; }
.origin__body { font-size: 18.5px; color: var(--ink-soft); margin-top: 22px; }
.origin__sub {
  text-align: center; font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 76px;
}
/* Reviews wall — two rows scrolling opposite ways, like animaapp's review wall */
.reviews {
  margin: 36px auto 0;
  display: flex; flex-direction: column; gap: 22px;
  overflow: hidden; padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reviews__track {
  display: flex; width: max-content;
  animation: marquee 64s linear infinite;
}
.reviews__track--rev { animation-direction: reverse; }
.reviews:hover .reviews__track { animation-play-state: paused; }
.review {
  flex: 0 0 356px; margin-right: 22px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 26px 24px;
  display: flex; flex-direction: column; gap: 15px;
  transition: transform .2s var(--ease), border-color .25s ease, background-color .25s ease;
}
.review:hover { transform: translateY(-4px); border-color: rgba(141,150,255,.34); background: var(--surface-2); }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__av {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(150deg, var(--accent), var(--accent-deep));
  color: #fff; font-size: 13.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.review__id { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.review__name { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.review__role { font-size: 12.5px; color: var(--muted); }
.review blockquote { font-size: 15px; line-height: 1.56; color: var(--ink-soft); }

/* ============================================================
   12 — FINAL CTA
   ============================================================ */
.cta { padding: 80px 0 140px; }   /* roomy enough that .cta__card's shadow clears the swing-section clip */
.cta__card {
  position: relative; border-radius: var(--radius-xl);
  background: linear-gradient(150deg, #5b53d6 0%, #4338a8 50%, #2a2b6e 100%);
  padding: 92px 32px 84px; text-align: center; overflow: hidden;
  box-shadow: 0 44px 100px rgba(58,68,196,.45);
}
.cta__bg { position: absolute; inset: 0; }
.cta__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(110% 130% at 50% 0%, #000, transparent 72%);
  mask-image: radial-gradient(110% 130% at 50% 0%, #000, transparent 72%);
  animation: mrl-grid-cta 46s linear infinite;
}
.cta__glow {
  position: absolute; width: 560px; height: 400px; top: -170px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255,255,255,.34), transparent 70%);
  animation: mrl-breathe 15s var(--ease) infinite alternate;
}
.cta__content { position: relative; z-index: 2; }
.cta__title { font-size: clamp(2.1rem,4.2vw,3.2rem); font-weight: 700; letter-spacing: -.034em; line-height: 1.06; color: #fff; max-width: 680px; margin: 0 auto; }
.cta__sub { font-size: 18.5px; color: rgba(255,255,255,.84); margin: 20px auto 0; }
.cta__buttons { display: flex; justify-content: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

/* ============================================================
   13 — FOOTER
   ============================================================ */
.footer { background: #0f0f12; color: #8a8f9c; padding: 84px 0 40px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr; gap: 40px; }
.brand--light { color: #fff; }
.brand--light .brand__mark { color: var(--accent-bright); }
.footer__tagline { font-size: 14.5px; margin-top: 16px; max-width: 250px; line-height: 1.55; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.footer__col a { font-size: 14.5px; color: #8a8f9c; transition: color .16s ease; width: fit-content; }
.footer__col a:hover { color: #fff; }
.footer__legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13.5px;
}
.footer__legal a:hover { color: #fff; }

/* "Coming soon" — pages/sections not built yet. Rendered as inert <span>
   (no href) so they are not focusable and not announced as broken links. */
.is-soon { cursor: default; color: var(--muted); }
.footer__col .is-soon { font-size: 14.5px; color: #6b7080; width: fit-content; }
.footer__legal .is-soon { color: #6b7080; }
.btn.is-soon { opacity: .62; }
.btn.is-soon:hover { transform: none; background: rgba(255,255,255,.04); border-color: var(--line); }
.soon-tag {
  display: inline-block; margin-left: 7px; padding: 2px 7px;
  border-radius: 999px; font-size: 9px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  background: rgba(255,255,255,.07); color: var(--muted);
  border: 1px solid var(--line); vertical-align: middle;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  /* Flow becomes a vertical stepped stack — fits any width, any language */
  .flow { flex-direction: column; align-items: center; gap: 30px; max-width: 340px; }
  .flow__step { width: 100%; justify-content: center; }
  .flow__step:not(:last-child)::after {
    content: "↓"; right: auto; left: 50%; top: auto; bottom: -24px;
    transform: translateX(-50%); font-size: 16px;
  }
}
@media (max-width: 1024px) {
  :root { --section-pad: 96px; }
  .feature { gap: 52px; }
}
@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature--reverse .feature__text, .feature--reverse .feature__media { order: 0; }
  .metrics { grid-template-columns: repeat(2,1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .showcase--wide { aspect-ratio: 16 / 10.4; }

  .nav__toggle { display: flex; }
  .nav__collapse {
    display: none;
    position: absolute; top: calc(100% + 12px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 10px;
    background: #1c1c21; border: 1px solid var(--line);
    border-radius: 20px; padding: 16px;
    box-shadow: 0 26px 52px rgba(0,0,0,.55);
  }
  .nav-open .nav__collapse { display: flex; }
  .nav__menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__menu a { padding: 14px 12px; font-size: 16px; border-radius: 10px; }
  .nav__menu a:hover { background: rgba(255,255,255,.05); }
  .nav__actions {
    flex-direction: column; align-items: stretch; gap: 8px;
    padding-top: 12px; border-top: 1px solid var(--line);
  }
  .nav__login { padding: 14px 12px; border-radius: 10px; }
  .nav__login:hover { background: rgba(255,255,255,.05); }
  .nav__actions .btn { width: 100%; margin-top: 4px; padding-top: 14px; padding-bottom: 14px; }
  /* Language: both options shown inline — no globe/dropdown on mobile */
  .langswitch__btn { display: none; }
  .langswitch__menu {
    position: static; display: flex; flex-direction: row; gap: 6px;
    min-width: 0; padding: 0;
    background: none; border: none; box-shadow: none;
  }
  .langswitch__menu a { flex: 1; text-align: center; padding: 14px 10px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 560px) {
  :root { --pad: 18px; --section-pad: 72px; }
  .hero { padding: 116px 0 76px; }
  .kicker { font-size: 11px; padding: 5px 12px; margin-bottom: 20px; letter-spacing: .1em; }
  .hero__title { font-size: 2.85rem; letter-spacing: -.035em; line-height: 1.0; }
  .hero__sub { font-size: 16.5px; margin-top: 16px; }
  .section__title, .section__title--center { font-size: 1.72rem; }
  .proof__title { font-size: 1.55rem; }
  .feature__title { font-size: 1.74rem; }
  .cta__title { font-size: 1.92rem; }
  .integrations__label { letter-spacing: .08em; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__media { margin-top: 46px; }
  .proof { padding: 80px 0 72px; }
  .cards { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 12px; }
  .metric { padding: 26px 14px; }
  .video-slot { padding: 26px 20px; }
  .video-slot__play { width: 60px; height: 60px; }
  .showcase--wide { aspect-ratio: 16 / 12; }
  .review { flex-basis: 300px; padding: 22px 22px 20px; }
  .cta { padding: 48px 0 120px; }
  .cta__card { padding: 68px 24px 62px; border-radius: var(--radius-lg); }
  .cta__buttons { flex-direction: column; }
  .cta__buttons .btn { width: 100%; }
  .footer { padding: 64px 0 34px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__legal { justify-content: flex-start; }
  .orbit__node { font-size: 11.5px; padding: 6px 12px; }
  .orbit__hub { width: 50px; height: 50px; border-radius: 14px; }
}
@media (max-width: 380px) {
  .metrics { grid-template-columns: 1fr; }
  .flow__step { font-size: 14px; }
  .kicker { font-size: 10.5px; padding: 4px 11px; margin-bottom: 18px; }
  .hero__title { font-size: 2.45rem; }
  .section__title, .section__title--center, .feature__title { font-size: 1.55rem; }
}

/* ============================================================
   Language toggle · hero trust line · Built-by-Luminary badge
   ============================================================ */
.hero__trust {
  position: relative; z-index: 1;
  margin-top: 32px; text-align: center;
  font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.hero__trust strong { color: var(--accent-bright); font-weight: 700; }

.nav__lang { display: inline-flex; align-items: center; gap: 2px; }
.nav__lang a {
  font-size: 13px; font-weight: 600; color: var(--muted);
  padding: 4px 8px; border-radius: 7px;
  transition: color .16s ease, background-color .16s ease;
}
.nav__lang a:hover { color: var(--ink); }
.nav__lang a.is-active { color: var(--ink); background: rgba(255,255,255,.08); }

.footer__credit { display: flex; justify-content: flex-end; margin-top: 6px; }
.lumbadge {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  width: 200px; padding: 12px 14px;
  border-radius: 12px; border: 1px solid rgba(255,255,255,.1);
  background: #0a0a0a; overflow: hidden;
  transition: transform .2s ease-out;
}
.lumbadge__by {
  font-size: 9px; font-weight: 700; line-height: 1.05;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.55); white-space: nowrap; flex-shrink: 0;
}
.lumbadge__mark { height: 26px; width: auto; }
.lumbadge__shine {
  position: absolute; inset: -45%;
  background: conic-gradient(from 0deg,
    hsl(180,100%,55%), hsl(20,100%,60%), hsl(280,60%,55%),
    hsl(180,100%,78%), #fff, hsl(180,55%,38%), transparent,
    hsl(20,100%,62%), #fff, hsl(180,100%,55%));
  filter: blur(15px); mix-blend-mode: overlay; opacity: .5;
  animation: lumspin 6s linear infinite;
}
@keyframes lumspin { to { transform: rotate(1turn); } }

@media (prefers-reduced-motion: reduce) {
  .lumbadge__shine { animation: none !important; }
  .lumbadge { transition: none !important; }
}
@media (max-width: 880px) {
  .footer__credit { justify-content: flex-start; }
  .nav__menu .nav__lang { align-self: flex-start; margin: 6px 0; }
  .nav__menu .nav__lang a { padding: 6px 10px; font-size: 14px; }
}

/* Typographic polish — no orphans/widows, balanced headings (EN + ES) */
.hero__title, .proof__title, .section__title, .feature__title,
.cta__title, .card__title { text-wrap: balance; }
.hero__sub, .section__lead, .feature__body, .origin__body,
.card p, .review blockquote, .hero__trust { text-wrap: pretty; }

/* ============================================================
   Hero — scrambled value-prop title + ambient letter rain.
   The real <h1> stays in the DOM for SEO / screen readers; JS adds
   .scramble-on, which visually hides the <h1> and reveals the show.
   ============================================================ */
[data-reveal][data-stagger] > .hero__title { opacity: 1; transform: none; transition: none; }

/* Ambient letter rain — sits inside .hero__bg, behind all content. */
.hero__rain {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* Scrambled title — monospace, so character cells stay fixed-width
   while the text morphs from one phrase to the next (no reflow jitter). */
.hero__scramble { display: none; }
.hero.scramble-on .hero__title {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hero.scramble-on .hero__scramble {
  display: block;
  margin: 12px auto 0;
  min-height: 1.16em;
  font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  font-size: clamp(1.55rem, 6.2vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -.012em;
  white-space: nowrap;
  color: var(--ink);
}
.hero__scramble .dud {
  color: var(--accent-bright);
  opacity: .82;
}

/* Mobile scramble sizing — placed after the base scramble rule so the
   @media overrides win the cascade at equal specificity. */
@media (max-width: 560px) {
  .hero.scramble-on .hero__scramble { font-size: 1.95rem; margin-top: 14px; }
}
@media (max-width: 380px) {
  .hero.scramble-on .hero__scramble { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__rain { display: none; }
}

/* ============================================================
   Pricing — three plans, the middle one gradient-emphasised.
   ============================================================ */
.pricing__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; align-items: stretch; margin-top: 56px;
}
.plan {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 30px 32px;
  transition: transform .35s var(--ease), border-color .25s ease;
}
.plan:hover { transform: translateY(-6px); border-color: rgba(141,150,255,.34); }
.plan__name { font-size: 1.7rem; font-weight: 700; letter-spacing: -.035em; }
.plan__who { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.plan__line { margin: 22px 0; border: 0; border-top: 1px solid var(--line); }
.plan__incl { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.plan__features { list-style: none; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan__feature { display: flex; gap: 11px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; }
.plan__feature svg { flex: none; width: 17px; height: 17px; margin-top: 1px; color: var(--accent-bright); }
.plan__cta { margin-top: 28px; }
.plan__cta .btn { width: 100%; }

/* highlighted middle plan — gradient border (padding-box / border-box trick) */
.plan--featured {
  background:
    linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    linear-gradient(150deg, var(--accent-bright), var(--accent-deep) 56%, var(--teal)) border-box;
  border: 1.6px solid transparent;
  box-shadow: 0 28px 64px rgba(58,68,196,.32);
}
.plan--featured:hover { border-color: transparent; }
.plan__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(120deg, var(--accent-bright), var(--accent));
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 6px 15px; border-radius: 999px;
  white-space: nowrap; box-shadow: var(--glow-accent);
}

@media (max-width: 880px) {
  .pricing__grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
}

/* ============================================================
   Contact modal — native <dialog> lead-capture form.
   ============================================================ */
.cmodal {
  width: min(540px, 92vw);
  margin: auto;                       /* the global reset zeroes the UA dialog centering */
  max-height: calc(100dvh - 34px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  color: var(--ink);
  padding: 0;
  box-shadow: var(--shadow-lg);
}
.cmodal::backdrop {
  background: rgba(8,8,11,.74);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.cmodal[open] { animation: cmodalIn .26s var(--ease); }
.cmodal[open]::backdrop { animation: cmodalBd .26s ease; }
@keyframes cmodalIn { from { opacity: 0; transform: translateY(10px) scale(.985); } }
@keyframes cmodalBd { from { opacity: 0; } }
.cmodal__in { position: relative; padding: 34px 32px 30px; }
.cmodal__close {
  position: absolute; top: 12px; right: 12px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
  color: var(--ink-soft); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s ease, color .2s ease;
}
.cmodal__close:hover { background: rgba(255,255,255,.13); color: var(--ink); }
.cmodal__title { font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; }
.cmodal__intro { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.cform { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.cform__row { display: flex; gap: 12px; }
.cform__field { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cform__field label { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.cform__field input, .cform__field textarea {
  font-family: var(--font); font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 11px 13px;
  transition: border-color .18s ease;
}
.cform__field input:focus, .cform__field textarea:focus {
  outline: none; border-color: var(--accent-bright);
}
.cform__field textarea { resize: vertical; min-height: 74px; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__submit { margin-top: 4px; }
.cform__submit .btn { width: 100%; }
.cform__submit .btn[disabled] { opacity: .65; cursor: progress; }
.cform__note { font-size: 12px; color: var(--muted); text-align: center; }
.cmodal__error { display: none; font-size: 13px; color: #ff8f8f; text-align: center; }
.cmodal.is-error .cmodal__error { display: block; }
.cmodal__state { display: none; text-align: center; padding: 8px 0 6px; }
.cmodal__state p { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.cmodal.is-sent .cmodal__intro, .cmodal.is-sent .cform { display: none; }
.cmodal.is-sent .cmodal__state { display: block; }

@media (max-width: 560px) {
  .cform__row { flex-direction: column; gap: 14px; }
  .cmodal__in { padding: 30px 22px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .cmodal[open], .cmodal[open]::backdrop { animation: none; }
  .plan { transition: none; }
}
