/* =========================================================================
   Xalo React rebuild — brand stylesheet
   Loaded AFTER custom-overrides.css in layout.tsx so anything here wins.
   Styling is scoped to .xr-* prefixed classes so it never leaks into
   the legacy Framer pages while the cutover is in progress.
   ========================================================================= */

/* --- tokens --------------------------------------------------------- */
:root {
  --xr-black: #000000;
  --xr-ink: #0c0c0c;
  --xr-panel: rgba(255,255,255,0.03);
  --xr-border: rgba(255,255,255,0.10);
  --xr-border-strong: rgba(255,255,255,0.18);
  --xr-fg: #ffffff;
  --xr-fg-muted: rgba(255,255,255,0.72);
  --xr-fg-subtle: rgba(255,255,255,0.55);
  --xr-fg-faint: rgba(255,255,255,0.32);
  --xr-accent: #2FE88A;
  --xr-accent-soft: rgba(47, 232, 138, 0.08);
  --xr-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --xr-body: 'Inter', system-ui, -apple-system, sans-serif;
  --xr-pattern-dot: rgba(255,255,255,0.08); /* huly.io-style dot visibility */
  /* ==========================================================
     MOBILE SAFE-ZONE — do not remove, do not inline.
     Every mobile horizontal padding / nav-wrap offset in the
     responsive block references this variable so the safe-zone
     lives in ONE place. If the mobile-content-clipping ever
     comes back, the most likely cause is a hardcoded `12px` /
     `20px` / `24px` somewhere that should have been
     `var(--xr-safe)`. Edit the value here, not in situ.
     ========================================================== */
  --xr-safe: 16px;
}

html, body { background: #000; color: #fff; font-family: var(--xr-body); }
/* Hard horizontal-overflow guard — `overflow-x: clip` suppresses any
   accidental horizontal scroll on mobile without creating a scroll
   container (so `position: sticky` descendants still work). */
html[data-xalo-react-app],
html[data-xalo-react-app] body { overflow-x: clip; }

/* Scroll-linked bottom blur. A fixed overlay at the bottom of the
   viewport applies backdrop-blur that fades to clear as it goes up
   (via a gradient mask). Effect: content approaching the fold feels
   soft and recedes; it sharpens as it scrolls up into the middle of
   the viewport. Matches the Framer original's "blur-at-the-base"
   scroll reveal. Pointer-events:none so taps pass through. */
html[data-xalo-react-app] body::after {
  content: "";
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 240px;
  z-index: 40;
  pointer-events: none;
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
          backdrop-filter: blur(16px) saturate(1.15);
  -webkit-mask-image: linear-gradient(to top,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.96) 20%,
    rgba(0,0,0,0.7) 50%,
    rgba(0,0,0,0.35) 75%,
    rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(to top,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.96) 20%,
    rgba(0,0,0,0.7) 50%,
    rgba(0,0,0,0.35) 75%,
    rgba(0,0,0,0) 100%);
}
html[data-xalo-react-app] body {
  margin: 0; padding: 0; min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html[data-xalo-react-app] * { box-sizing: border-box; }

html[data-xalo-react-app] a { color: inherit; text-decoration: none; }
html[data-xalo-react-app] button { font: inherit; color: inherit; }
html[data-xalo-react-app] img, html[data-xalo-react-app] svg { display: block; max-width: 100%; }

/* --- section dot pattern (matches Framer hero backdrop) -------------- */
.xr-section {
  position: relative;
  width: 100%;
  background: var(--xr-black);
  color: var(--xr-fg);
  padding: 112px 80px;
  /* overflow: clip (NOT hidden) — `hidden` creates a scroll container,
     which breaks `position: sticky` on descendants (the sticky
     element binds to the section instead of the viewport, and the
     section doesn't scroll, so nothing ever pins). `clip` has the
     same visual clipping behaviour but doesn't create a scroll
     container, so sticky children (e.g. the Features Walkthrough
     stacking cards) work correctly. */
  overflow: clip;
}
.xr-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(var(--xr-pattern-dot) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
  z-index: 0;
  /* Soften the section edges so adjacent blocks blend into each
     other instead of meeting at a hard line. The dot pattern fades
     to transparent over the first/last ~120px of every section, so
     section seams read as one continuous surface. */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 120px,
    #000 calc(100% - 120px),
    transparent 100%
  );
          mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 120px,
    #000 calc(100% - 120px),
    transparent 100%
  );
}
/* Same softening on every section's decorative `::after` (e.g. the
   green glow on `--glow` variants) so nothing clips to a hard line. */
.xr-section::after {
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 120px,
    #000 calc(100% - 120px),
    transparent 100%
  );
          mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 120px,
    #000 calc(100% - 120px),
    transparent 100%
  );
}
.xr-section > * { position: relative; z-index: 1; }
.xr-section--glow::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 70% 45% at 50% 0%, var(--xr-accent-soft), transparent 70%);
}
.xr-wrap { max-width: 1280px; margin: 0 auto; }

/* --- Nav (glass pill) ------------------------------------------------ */
.xr-nav-wrap {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; pointer-events: none;
}
.xr-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  /* Logo pinned left, link group pinned right, flexible space between. */
  justify-content: space-between;
  gap: 48px;
  padding: 10px 24px 10px 28px;
  min-width: 480px;
  border-radius: 999px;
  background: rgba(14,14,16,0.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--xr-border);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
.xr-nav__logo {
  display: inline-flex;
  align-items: center;
  /* The Xalo logo SVG has empty space above the letterforms inside its
     viewBox (0 0 24.45 9.24 — letters sit between y=3.02 and y=9.06).
     At height 22 px that empty space pushes the visual centre of the
     "x" ~3.4 px below the SVG's geometric centre. translateY(-4px)
     compensates so the "x" reads as vertically centred against the
     nav-pill's link text. */
  transform: translateY(-4px);
}
/* Right-side link group — "What we do" + "Book a demo" at the same
   size, with consistent spacing between them. */
.xr-nav__group {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}
.xr-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--xr-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--xr-fg);
  opacity: 0.82;
  transition: opacity 180ms ease, color 180ms ease;
}
.xr-nav__link:hover { opacity: 1; }
.xr-nav__link[data-active="true"] {
  opacity: 1;
  color: var(--xr-accent);
}
/* Green dot next to the currently-viewed page's nav link. */
.xr-nav__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--xr-accent);
  box-shadow: 0 0 0 3px rgba(47, 232, 138, 0.18);
  animation: xr-nav-dot-pulse 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes xr-nav-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(47, 232, 138, 0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(47, 232, 138, 0.04); }
}

/* --- Hero ------------------------------------------------------------ */
.xr-hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center;
  padding: 22vh 80px 160px;
  text-align: center;
  isolation: isolate;
}
/* Home hero (3D canvas present). Two constraints to balance:
   1. Content should sit in the LOWER half of the viewport so the 3D
      figure has the upper half to itself (the partner marquee used
      to fill the bottom; now we have to fake the balance with
      padding).
   2. The "Learn more" CTA must clear the 240px backdrop-blur band
      at the base of the viewport (see `body::after` in this file).
      With `justify-content: flex-start` the block is top-anchored,
      so padding-top controls the vertical placement — tuned so the
      CTA lands ~40-80px above the blur edge.
   Non-canvas heroes (what-we-do, book-a-demo) keep their own
   `xr-hero--no-canvas` rule for tighter spacing. */
.xr-hero:not(.xr-hero--no-canvas) {
  padding-top: 24vh;
  padding-bottom: 280px;
  justify-content: flex-start;
}
.xr-hero__canvas {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.xr-hero__container {
  /* Narrower container so the headline wraps with "data" on line 2,
     matching the pre-rebuild ("Elite sport doesn't lack / data. It
     lacks the ability to see / what's coming."). */
  position: relative;
  z-index: 2;
  max-width: 720px;
  display: flex; flex-direction: column; align-items: center;
  /* Per-element margins control spacing instead of a uniform gap —
     the pre-rebuild rhythm has tight headline↔subhead and MUCH
     larger gaps around the CTA and before the marquee. */
  gap: 0;
}
.xr-hero__headline + .xr-hero__subhead,
.xr-hero__eyebrow + .xr-hero__headline { margin-top: 28px; }
.xr-hero__cta-wrap { margin-top: 115px; }
.xr-hero__container > .xr-marquee { margin-top: 75px; }
.xr-hero__eyebrow {
  font-family: var(--xr-body);
  font-weight: 700; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--xr-accent); margin: 0;
}
.xr-hero__headline {
  /* Sized to match pre-rebuild: Space Grotesk 500, 64px @ 1440,
     line-height ~1.2 (ref height 230 at 64px ≈ 3 lines × 76.7 = lh 1.2),
     letter-spacing -0.04em (-2.56px at 64).
     max-width forces the wrap so "Elite sport doesn't lack / data..."
     breaks exactly like the Framer original. */
  font-family: var(--xr-display);
  font-weight: 500; font-size: clamp(38px, 5vw, 64px);
  line-height: 1.2; letter-spacing: -0.04em;
  color: var(--xr-fg); margin: 0;
  max-width: 680px;
}
.xr-hero__subhead {
  /* Pre-rebuild uses Inter 500 — NOT 400. Size ~17px at desktop. */
  font-family: var(--xr-body);
  font-weight: 500;
  font-size: clamp(15px, 1.2vw, 17px); line-height: 1.55;
  color: var(--xr-fg-muted); max-width: 640px; margin: 0;
}
.xr-hero__cta {
  /* Wider pill with subtle vertical gradient face — the pre-rebuild
     has a cream-gray pill with an asymmetric green glow concentrated
     on the RIGHT side + a bright orb inside the right edge.
     Two layers: ::before for the inside bright-spot (clipped by its
     own border-radius) and the .xr-hero__cta-halo span outside the
     pill for the external glow. */
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 16px;
  padding: 14px 60px;
  font-family: var(--xr-body); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #0e0e0e;
  background: linear-gradient(180deg, #eff1eb 0%, #d3d7ce 100%);
  border-radius: 999px;
  position: relative;
  z-index: 1;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    inset 0 -1px 2px rgba(0,0,0,0.12);
  transition: transform 220ms cubic-bezier(0.22,1,0.36,1);
}
.xr-hero__cta:hover { transform: translateY(-1px); }

/* Inside bright-spot on the right edge — sits INSIDE the pill,
   clipped to pill shape by its own border-radius. */
.xr-hero__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  overflow: hidden;
  background: radial-gradient(ellipse 55% 95% at 98% 50%,
    rgba(200, 255, 215, 0.85) 0%,
    rgba(130, 255, 170, 0.55) 18%,
    rgba(47, 232, 138, 0.22) 42%,
    transparent 72%);
  pointer-events: none;
  z-index: 1;
}
.xr-hero__cta-label {
  position: relative;
  z-index: 2;
}

/* OUTSIDE halo — heavy on the right, fading to nothing on the left.
   Sits behind the pill (z-index: -1) via a large blurred radial. */
.xr-hero__cta-halo {
  position: absolute;
  inset: -28px -120px -28px -20px;
  z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 85% at 90% 50%,
      rgba(140, 255, 175, 0.75) 0%,
      rgba(47, 232, 138, 0.45) 25%,
      rgba(47, 232, 138, 0.18) 50%,
      transparent 75%);
  filter: blur(18px);
  opacity: 0.95;
}
.xr-hero__word {
  display: inline-block;
  margin-right: 0.28em;
}
.xr-hero__word:last-child { margin-right: 0; }

/* custom-overrides.css forces `display: inline-block !important` on
   every <span> inside a <section data-framer-name="Header"> h1/p —
   that kills the whitespace between our word spans. Restore the
   visual gap with a margin-right on each span. */
section[data-framer-name="Header"] .xr-hero__headline > span,
section[data-framer-name="Header"] .xr-hero__subhead > span {
  margin-right: 0.22em !important;
}
section[data-framer-name="Header"] .xr-hero__headline > span:last-child,
section[data-framer-name="Header"] .xr-hero__subhead > span:last-child {
  margin-right: 0 !important;
}

/* Reveal animations — blur/translate fade-in.
   Keyframe-based so they run at SSR-hydrate time without needing JS. */
@keyframes xr-reveal-in {
  from { opacity: 0; transform: translateY(14px); filter: blur(10px); }
  to   { opacity: 1; transform: translateY(0);     filter: blur(0);   }
}
.xr-reveal-word {
  opacity: 0;
  animation: xr-reveal-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.xr-reveal {
  opacity: 0;
  animation: xr-reveal-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Per-section scroll reveal — add .xr-scroll-reveal to any section
   and it fades up when it enters the viewport (triggered by the
   intersection-observer boot script loaded from layout.tsx). */
.xr-scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1),
              transform 0.9s cubic-bezier(0.22,1,0.36,1);
  will-change: transform, opacity;
}
.xr-scroll-reveal[data-revealed="true"] {
  opacity: 1;
  transform: translateY(0);
}

/* --- Marquee band (Already deployed in the Premier League) ----------- */
.xr-marquee {
  position: relative;
  width: 100%;
  padding: 24px 0 14px;
}
.xr-marquee__caption {
  text-align: center;
  font-family: var(--xr-body); font-size: 14px;
  color: var(--xr-fg-muted); margin: 0 0 16px;
  letter-spacing: 0.01em;
}
.xr-marquee__track-wrap {
  /* Reveal window sized so that at most 4 logos are visible at a
     time through the gradient mask. */
  position: relative;
  max-width: min(440px, 100% - 48px);
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.xr-marquee__track {
  /* Use gap so the first and second halves have identical spacing
     (including the gap wrapping back to the head on loop).
     Animation translates EXACTLY -50% so one full cycle = one copy
     of the partner list scrolling past. Seamless loop. */
  display: flex; gap: 48px; align-items: center;
  width: max-content;
  animation: xr-marquee-scroll 26s linear infinite;
  will-change: transform;
}
.xr-marquee__item {
  flex: 0 0 auto;
  display: inline-flex; align-items: center;
}
/* Partner logos — white with low opacity so the row reads as quiet
   proof rather than coloured logo spam. */
.xr-logo {
  color: rgba(255,255,255,0.78);
  display: inline-flex; align-items: center;
  opacity: 0.9;
  line-height: 1;
}
@keyframes xr-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  /* -50% + half of the gap between the last item of the first half
     and the first item of the second half = exactly one "loop" so
     the wrap is seamless. */
  to   { transform: translate3d(calc(-50% - 24px), 0, 0); }
}

/* --- Injected Figma-spec sections (shared) --------------------------- */
.xr-eyebrow {
  font-family: var(--xr-body); font-weight: 700;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--xr-accent); margin: 0 0 18px;
}
.xr-headline {
  font-family: var(--xr-display); font-weight: 500;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05; letter-spacing: -0.03em;
  color: var(--xr-fg); margin: 0;
}
.xr-lede {
  font-family: var(--xr-body); font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6; color: var(--xr-fg-muted);
  margin: 0; max-width: 640px;
}
.xr-section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.xr-section__head--stacked { grid-template-columns: 1fr; gap: 16px; align-items: start; }

.xr-rows { display: flex; flex-direction: column; border-top: 1px solid var(--xr-border); }
.xr-row {
  display: grid;
  grid-template-columns: 60px minmax(0, 360px) minmax(0, 1fr);
  gap: 40px; align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--xr-border);
}
.xr-row--no-num { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
.xr-row__num {
  font-family: var(--xr-body); font-weight: 700;
  font-size: 16px; letter-spacing: 0.12em;
  color: var(--xr-fg-subtle); margin: 3px 0 0;
}
.xr-row__title {
  font-family: var(--xr-display); font-weight: 500;
  font-size: 26px; line-height: 1.3; letter-spacing: -0.01em;
  color: var(--xr-fg); margin: 0;
}
.xr-row__copy {
  font-family: var(--xr-body); font-size: 17px; line-height: 1.62;
  color: var(--xr-fg-muted); margin: 0;
}

.xr-cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.xr-card {
  background: var(--xr-panel);
  border: 1px solid var(--xr-border);
  border-radius: 8px;
  padding: 40px 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.xr-card__num {
  font-family: var(--xr-display); font-weight: 500;
  font-size: 44px; line-height: 1;
  color: var(--xr-accent); margin: 0 0 4px;
}
.xr-card__title {
  font-family: var(--xr-display); font-weight: 500;
  font-size: 20px; line-height: 1.3;
  color: var(--xr-fg); margin: 0;
}
.xr-card__copy {
  font-family: var(--xr-body); font-size: 15px; line-height: 1.65;
  color: var(--xr-fg-muted); margin: 0;
}

/* --- FAQ accordion --------------------------------------------------- */
.xr-faq__item {
  border-top: 1px solid var(--xr-border);
  padding: 0;
}
.xr-faq__item:last-child { border-bottom: 1px solid var(--xr-border); }
.xr-faq__btn {
  width: 100%; display: flex; justify-content: space-between;
  align-items: center; gap: 24px;
  padding: 28px 0;
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--xr-display); font-weight: 500;
  font-size: 22px; line-height: 1.3; color: var(--xr-fg);
  text-align: left;
}
.xr-faq__plus { flex: 0 0 auto; font-size: 24px; color: var(--xr-fg-subtle); transition: transform 220ms ease; }
.xr-faq__item[data-open="true"] .xr-faq__plus { transform: rotate(45deg); }
.xr-faq__body {
  font-family: var(--xr-body); font-size: 16px; line-height: 1.65;
  color: var(--xr-fg-muted);
  max-height: 0; overflow: hidden;
  transition: max-height 280ms ease, padding 280ms ease;
  padding: 0 0 0;
}
.xr-faq__item[data-open="true"] .xr-faq__body {
  max-height: 400px;
  padding: 0 0 28px;
}

/* ============================================================
   Book a Demo — What to Expect (branded cards, matches /what-we-do)
   ============================================================ */
.xr-what-to-expect { padding: 128px 80px; }
.xr-what-to-expect__intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.xr-what-to-expect__eyebrow,
.xr-demo-section__eyebrow,
.xr-contact-info__eyebrow {
  font-family: var(--xr-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--xr-accent);
  margin: 0;
}
.xr-what-to-expect__title,
.xr-demo-section__title {
  font-family: var(--xr-display);
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--xr-fg);
  margin: 0;
}
.xr-what-to-expect__lede,
.xr-demo-section__lede {
  font-family: var(--xr-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--xr-fg-muted);
  margin: 0;
  max-width: 640px;
}
.xr-what-to-expect__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.xr-what-to-expect__card {
  position: relative;
  background-color: #0c0e13;
  background-image:
    radial-gradient(ellipse 120% 70% at 50% 0%, rgba(47, 232, 138, 0.06), transparent 65%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 38px 34px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 280ms ease;
}
.xr-what-to-expect__card:hover {
  border-color: rgba(47, 232, 138, 0.3);
}
.xr-what-to-expect__icon {
  color: var(--xr-accent);
  opacity: 0.95;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(47, 232, 138, 0.08);
  border: 1px solid rgba(47, 232, 138, 0.25);
  border-radius: 12px;
}
.xr-what-to-expect__card-title {
  font-family: var(--xr-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--xr-fg);
  margin: 0;
}
.xr-what-to-expect__card-body {
  font-family: var(--xr-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--xr-fg-muted);
  margin: 0;
}

/* ============================================================
   Book a Demo — form + contact-info grid section
   ============================================================ */
.xr-demo-section { padding: 128px 80px 160px; }
.xr-demo-section__intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.xr-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

/* -- Aside: "Or get in touch" column --------------------------------- */
.xr-contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 38px 34px 40px;
  background-color: #0c0e13;
  background-image:
    radial-gradient(ellipse 120% 70% at 50% 0%, rgba(47, 232, 138, 0.06), transparent 65%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}
.xr-contact-info__title {
  font-family: var(--xr-display);
  font-weight: 500;
  font-size: clamp(22px, 1.8vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--xr-fg);
  margin: 0;
}
.xr-contact-info__email {
  font-family: var(--xr-body);
  font-size: 16px;
  margin: 0;
}
.xr-contact-info__email a {
  color: var(--xr-accent);
  transition: opacity 180ms ease;
}
.xr-contact-info__email a:hover { opacity: 0.8; }
.xr-contact-info__list {
  display: flex;
  flex-direction: column;
  margin: 8px 0 0;
}
.xr-contact-info__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.xr-contact-info__row:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.xr-contact-info__row-label {
  font-family: var(--xr-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--xr-fg-subtle);
  margin: 0;
}
.xr-contact-info__row-value {
  font-family: var(--xr-body);
  font-size: 15px;
  color: var(--xr-fg);
  margin: 0;
}

/* -- Form card ------------------------------------------------------- */
.xr-form {
  background-color: #0c0e13;
  background-image:
    radial-gradient(ellipse 120% 70% at 50% 0%, rgba(47, 232, 138, 0.06), transparent 65%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 38px 34px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.xr-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}
.xr-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.xr-form__field--full { grid-column: 1 / -1; }
.xr-form__label {
  font-family: var(--xr-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--xr-fg-subtle);
}
.xr-form__input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--xr-fg);
  font-family: var(--xr-body);
  font-size: 15px;
  line-height: 1.4;
  transition: border-color 180ms ease, background 180ms ease;
}
.xr-form__input--textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
  font-family: var(--xr-body);
}
.xr-form__input::placeholder {
  color: var(--xr-fg-faint);
}
.xr-form__input:focus {
  outline: none;
  border-color: rgba(47, 232, 138, 0.55);
  background: rgba(255, 255, 255, 0.05);
}
.xr-form__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.xr-form__disclaimer {
  font-family: var(--xr-body);
  font-size: 12px;
  color: var(--xr-fg-subtle);
  margin: 0;
  max-width: 240px;
  line-height: 1.55;
}
.xr-form__disclaimer a {
  color: var(--xr-fg-muted);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.18);
  transition: color 180ms ease;
}
.xr-form__disclaimer a:hover { color: var(--xr-accent); }

/* Form submit is rendered with .xalo-huly so the base pill styling is
   inherited from custom-overrides.css — these rules just override
   the :disabled state and make the outer padding a touch wider. */
.xr-form__submit.xalo-huly {
  padding: 0 38px !important;
}
.xr-form__submit.xalo-huly:disabled {
  opacity: 0.55 !important;
  cursor: progress !important;
}

.xr-form__status {
  font-family: var(--xr-body);
  font-size: 14px;
  color: var(--xr-fg-muted);
  margin: 0;
}
.xr-form__status--ok { color: var(--xr-accent); }
.xr-form__status--err { color: #ff8a8a; }

/* ============================================================
   Legal pages — Privacy Policy / Terms of Service
   ============================================================ */
.xr-legal {
  padding: 140px 80px 160px;
  position: relative;
}
.xr-legal::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--xr-pattern-dot) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.35;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
}
.xr-legal__wrap {
  position: relative;
  max-width: 820px;
}
.xr-legal__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.xr-legal__eyebrow {
  font-family: var(--xr-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--xr-accent);
  margin: 0;
}
.xr-legal__title {
  font-family: var(--xr-display);
  font-weight: 500;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--xr-fg);
  margin: 0;
}
.xr-legal__meta {
  font-family: var(--xr-body);
  font-size: 13px;
  color: var(--xr-fg-subtle);
  margin: 0;
}
.xr-legal__body {
  font-family: var(--xr-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--xr-fg-muted);
}
.xr-legal__body > * + * { margin-top: 18px; }
.xr-legal__body p { margin: 0; }
.xr-legal__body .xr-legal__lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--xr-fg);
  margin-bottom: 40px;
  padding: 24px 26px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 2px solid var(--xr-accent);
  border-radius: 12px;
}
.xr-legal__body h2 {
  font-family: var(--xr-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--xr-fg);
  margin: 48px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.xr-legal__body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.xr-legal__body h3 {
  font-family: var(--xr-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  color: var(--xr-fg);
  margin: 32px 0 0;
}
.xr-legal__body ul,
.xr-legal__body ol {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.xr-legal__body ul li,
.xr-legal__body ol li {
  padding-left: 6px;
}
.xr-legal__body ul li::marker {
  color: var(--xr-accent);
}
.xr-legal__body strong {
  color: var(--xr-fg);
  font-weight: 600;
}
.xr-legal__body a {
  color: var(--xr-fg);
  text-decoration: underline;
  text-decoration-color: rgba(47, 232, 138, 0.55);
  text-underline-offset: 3px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}
.xr-legal__body a:hover {
  color: var(--xr-accent);
  text-decoration-color: var(--xr-accent);
}

/* --- Multi-sport / misc content rows -------------------------------- */
.xr-sport-row {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--xr-border);
}
.xr-sport-row:first-child { border-top: 1px solid var(--xr-border); }
.xr-sport-row__title { font-family: var(--xr-display); font-weight: 500; font-size: 24px; color: var(--xr-fg); margin: 0; }
.xr-sport-row__copy { font-family: var(--xr-body); font-size: 16px; line-height: 1.6; color: var(--xr-fg-muted); margin: 0; }

/* --- Footer (branded) ----------------------------------------------- */
.xr-footer {
  background: var(--xr-black);
  padding: 88px 80px 36px;
  position: relative;
}
.xr-footer::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--xr-pattern-dot) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}
/* Thin animated accent line at the very top of the footer —
   horizontal gradient with a bright green core, fading out to either
   side. Ties the footer into the rest of the site's signal language. */
.xr-footer__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(47, 232, 138, 0.15) 30%,
    rgba(47, 232, 138, 0.7) 50%,
    rgba(47, 232, 138, 0.15) 70%,
    transparent 100%
  );
  pointer-events: none;
  overflow: visible;
  /* Gentle breath — the whole accent line subtly brightens and dims
     on a 4 s cycle. */
  animation: xr-footer-accent-breathe 4s ease-in-out infinite;
}
/* Halo glow behind the line, also breathing in sync. */
.xr-footer__accent::after {
  content: "";
  position: absolute;
  inset: -14px 0 -14px 0;
  background: radial-gradient(ellipse 35% 100% at 50% 50%, rgba(47, 232, 138, 0.18), transparent 70%);
  pointer-events: none;
  animation: xr-footer-accent-halo-breathe 4s ease-in-out infinite;
}
/* (Horizontal sweep removed — the line-shooting-across effect was
   dropped per request; only the breathing pulse on the line + halo
   remains.) */
@keyframes xr-footer-accent-breathe {
  0%, 100% { opacity: 0.8; }
  50%      { opacity: 1; }
}
@keyframes xr-footer-accent-halo-breathe {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}
.xr-footer__inner {
  max-width: 1280px; margin: 0 auto;
  position: relative;
}
/* Hero block at the top — brand + tagline + status on the left,
   CTA block on the right. Separated by a subtle horizontal hairline. */
.xr-footer__hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: start;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.xr-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 460px;
}
.xr-footer__mark {
  display: inline-flex;
  align-items: center;
}
.xr-footer__mark svg {
  height: 56px;
  width: auto;
}
.xr-footer__tagline {
  font-family: var(--xr-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--xr-fg-muted);
  margin: 0;
}
/* Status indicator — pulsing green dot + copy. */
.xr-footer__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin-top: 6px;
  background: rgba(47, 232, 138, 0.06);
  border: 1px solid rgba(47, 232, 138, 0.22);
  border-radius: 999px;
  font-family: var(--xr-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--xr-fg);
  align-self: flex-start;
}
.xr-footer__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--xr-accent);
  box-shadow: 0 0 0 3px rgba(47, 232, 138, 0.18);
  animation: xr-footer-dot-pulse 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes xr-footer-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(47, 232, 138, 0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(47, 232, 138, 0.04); }
}
/* CTA column on the right. */
.xr-footer__cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  max-width: 420px;
}
.xr-footer__cta-eyebrow {
  font-family: var(--xr-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--xr-accent);
  margin: 0;
}
.xr-footer__cta-title {
  font-family: var(--xr-display);
  font-weight: 500;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--xr-fg);
  margin: 0;
}
.xr-footer__cta-body {
  font-family: var(--xr-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--xr-fg-muted);
  margin: 0 0 8px;
}

/* Link columns below the hero block. */
.xr-footer__columns {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-top: 48px;
}
.xr-footer__col:first-child {
  /* Reserve left-most cell for breathing room — keeps the columns
     from feeling too balanced with the hero above. */
  visibility: hidden;
  height: 0;
}
.xr-footer__col h4 {
  font-family: var(--xr-body); font-weight: 700;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--xr-fg-subtle);
  margin: 0 0 16px;
}
.xr-footer__col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.xr-footer__col a {
  font-family: var(--xr-body);
  font-size: 15px;
  color: var(--xr-fg);
  opacity: 0.78;
  transition: color 220ms ease, opacity 220ms ease;
  position: relative;
}
.xr-footer__col a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.xr-footer__col a:hover {
  opacity: 1;
  color: var(--xr-accent);
}
.xr-footer__col a:hover::after {
  transform: scaleX(1);
}

/* Meta row — copyright + credit. */
.xr-footer__meta {
  max-width: 1280px; margin: 64px auto 0;
  position: relative;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--xr-body);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--xr-fg-subtle);
  gap: 24px;
  flex-wrap: wrap;
}
.xr-footer__credit a {
  color: var(--xr-fg);
  transition: color 220ms ease;
}
.xr-footer__credit a:hover {
  color: var(--xr-accent);
}

/* --- Testimonials (simple stack) ------------------------------------- */
.xr-quote {
  max-width: 860px; margin: 0 auto;
  text-align: center;
}
.xr-quote__body {
  font-family: var(--xr-display); font-weight: 500;
  font-size: clamp(26px, 3vw, 40px); line-height: 1.2;
  letter-spacing: -0.02em; color: var(--xr-fg);
  margin: 0 0 24px;
}
.xr-quote__author {
  font-family: var(--xr-body); font-size: 15px;
  color: var(--xr-fg-subtle);
}

/* =======================================================================
   Pre-rebuild parity — home page sections (About word-reveal,
   Features Illustrations, Testimonials carousel, Features Walkthrough,
   FAQ 2-col, CTA Outro)
   ======================================================================= */

/* --- About (scroll-linked word reveal, animata-style) -------------- */
.xr-about {
  padding: 96px 80px 120px;
  min-height: 860px;
  display: flex; align-items: center; justify-content: center;
}
.xr-about__wrap {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}
.xr-about__copy {
  /* Centered, lighter weight — matches the pre-rebuild About
     screengrab and the animata.design scroll-reveal pattern. */
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif !important;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.32;
  letter-spacing: -0.022em;
  color: var(--xr-fg);
  margin: 0 auto;
  padding: 0;
  max-width: 820px;
  text-align: center;
}
.xr-about__word {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  display: inline;
  /* animata.design-style reveal: words start at 15% opacity and ramp
     to 100% as they cross the transition zone. Slightly sharper
     contrast than the previous 22% floor so the unrevealed state
     reads as clearly "not yet". */
  opacity: calc(0.15 + 0.85 * var(--xr-about-t, 0));
  transition: opacity 260ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}
.xr-about__icon {
  display: inline-flex; align-items: center;
  vertical-align: -0.16em;
  margin: 0 0.25em 0 0.15em;
  color: var(--xr-accent);
  opacity: calc(0.30 + 0.70 * var(--xr-about-t, 0));
  transition: opacity 260ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}
.xr-about__sigil { display: block; }
/* `break` tokens separate the About paragraph into three focused
   thoughts. A full line of vertical space makes the break read as a
   paragraph boundary rather than a mid-sentence line break. */
.xr-about__break {
  display: block;
  height: 1.8em;
}

/* --- Features Illustrations ----------------------------------------- */
.xr-fi { padding: 80px 80px 120px; }
/* On mobile the forced break looks wrong (headline is already narrow),
   so disable the explicit line break there. */
@media (max-width: 820px) {
  .xr-fi__headline-break { display: none; }
}
.xr-fi__headline {
  /* 48px at desktop matches pre-rebuild. */
  font-family: var(--xr-display);
  font-weight: 500;
  font-size: clamp(32px, 3.3vw, 48px);
  line-height: 1.1; letter-spacing: -0.03em;
  text-align: center;
  color: var(--xr-fg);
  margin: 0 auto 84px; /* +50% gap between headline and cards */
  max-width: 900px;
}
/* Override `.xr-section > * { z-index: 1 }` for this one section so
   .xr-wrap is NOT a stacking context — otherwise the bloom's
   mix-blend-mode:screen would be trapped inside it and unable to
   reach the section's dot pattern. */
.xr-fi > .xr-wrap { z-index: auto; }
.xr-fi__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0; /* Cards flush — one unified panel, thin dividers inside */
  position: relative;
  /* No `isolation: isolate` here — we NEED the bloom ::before's
     mix-blend-mode:screen to reach back to the section's dot pattern
     so the dots shine through the glow (matches huly.io). Isolation
     would trap the blend inside this element. */
  /* The rotating rim is painted on THIS wrapper's own border region
     using background-clip: border-box (layer 2) underneath a solid
     padding-box fill (layer 1). The inner fill hides the conic from
     anywhere but the 1.5px border region; only the rim glows.
     No mask-composite → no subpixel jitter. */
  border: 1.5px solid transparent;
  border-radius: 13.5px; /* card corner (12) + border width (1.5) */
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background:
    linear-gradient(var(--xr-black), var(--xr-black)) padding-box,
    conic-gradient(
      from var(--xalo-fi-edge-angle),
      /* Green hot spot — bright white-green core with green tails */
      rgba(47,  232, 138, 0.00)   0deg,
      rgba(47,  232, 138, 0.30)  10deg,
      rgba(100, 245, 170, 0.60)  18deg,
      rgba(180, 252, 210, 0.92)  26deg,
      rgba(255, 255, 255, 1.00)  32deg,
      rgba(180, 252, 210, 0.92)  38deg,
      rgba(100, 245, 170, 0.60)  48deg,
      rgba(47,  232, 138, 0.30)  68deg,
      rgba(47,  232, 138, 0.10)  95deg,
      rgba(47,  232, 138, 0.00) 140deg,
      /* Dead zone between peaks */
      rgba(0,   0,   0,   0.00) 178deg,
      rgba(255, 255, 255, 0.00) 178deg,
      /* White hot spot — pure white core, 180° opposite the green */
      rgba(255, 255, 255, 0.25) 190deg,
      rgba(255, 255, 255, 0.60) 200deg,
      rgba(255, 255, 255, 0.92) 208deg,
      rgba(255, 255, 255, 1.00) 214deg,
      rgba(255, 255, 255, 0.92) 220deg,
      rgba(255, 255, 255, 0.60) 228deg,
      rgba(255, 255, 255, 0.25) 240deg,
      rgba(255, 255, 255, 0.08) 260deg,
      rgba(255, 255, 255, 0.00) 285deg,
      rgba(0,   0,   0,   0.00) 360deg
    ) border-box;
  animation: xalo-fi-edge-sweep 22s linear infinite;
}
/* Group-level halo — ONE rotating hot spot with variable velocity.
   The rim itself sits on .xr-fi__cards' border (see above). The only
   pseudo-element used here is ::before, which paints the outer
   ambient bloom behind everything. */
@property --xalo-fi-edge-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
/* Outer ambient bloom intentionally removed — only the rotating rim
   painted on .xr-fi__cards' own 1.5px border remains (see the
   background-clip trick on .xr-fi__cards above). That rim hugs the
   card edge tightly on both home (Features Illustrations) and
   /what-we-do (AlreadyDeployed), without any 50px-wide diffuse halo
   bleeding into the surrounding section.
   If we ever need a soft outer glow again, reinstate a ::before here
   with inset:-8px / blur 10px / very low alpha — not inset:-50px. */
/* Variable-velocity keyframes — the angle accelerates into the 1st
   quarter (fast), slows through the 2nd (180° takes its time),
   accelerates again, then gently lands at 360° so the loop boundary
   has continuous motion. Four segments per cycle = "breathing". */
@keyframes xalo-fi-edge-sweep {
  0%   { --xalo-fi-edge-angle:   0deg; }
  25%  { --xalo-fi-edge-angle: 110deg; }
  50%  { --xalo-fi-edge-angle: 170deg; }
  75%  { --xalo-fi-edge-angle: 290deg; }
  100% { --xalo-fi-edge-angle: 360deg; }
}
.xr-fi__card {
  position: relative;
  /* Opaque bg is critical: with gap:0 and an outer bloom, any
     transparency would let the rotating light bleed through the
     card interior. Cards stay solid dark so only the panel RIM glows. */
  background: var(--xr-black);
  border: 0;
  border-radius: 0; /* Corner cards override below */
  padding: 40px 36px 44px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  min-height: 220px;
  overflow: hidden;
  transition: background 280ms ease, box-shadow 280ms ease;
}
/* Corner rounding — only the outside corners round, inner edges
   between cards stay square so the 3 cards tile flush. Radius is 12px
   (matches the wrapper's inner padding-box corner). */
.xr-fi__card:first-child  { border-radius: 12px 0 0 12px; }
.xr-fi__card:last-child   { border-radius: 0 12px 12px 0; }
/* Thin vertical divider between adjacent cards — not a rim, just a
   subtle separator so the 3 sections read as distinct. */
.xr-fi__card + .xr-fi__card {
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.06);
}
.xr-fi__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 120% at 50% -20%,
    rgba(47,232,138,0.18), transparent 60%);
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 280ms ease;
}
/* Hover-only top-green wash — a soft radial warm-up on the card
   currently under the cursor. Subtler than before since the cards
   no longer lift off the panel. */
.xr-fi__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 120% 140% at 50% -10%,
    rgba(47, 232, 138, 0.25) 0%,
    rgba(47, 232, 138, 0.08) 40%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 280ms ease;
}
.xr-fi__card:hover {
  /* Slight lift in brightness — no transform, no border change,
     because the cards are now flush inside one panel. */
  background: #0d1017;
}
.xr-fi__card:hover::before { opacity: 1; }
.xr-fi__card:hover::after { opacity: 1; }
.xr-fi__icon { color: var(--xr-fg); opacity: 0.9; margin-bottom: 6px; }
.xr-fi__card-title {
  font-family: var(--xr-display); font-weight: 500;
  font-size: 20px; line-height: 1.3;
  color: var(--xr-fg); margin: 0;
}
.xr-fi__card-copy {
  font-family: var(--xr-body); font-size: 15px; line-height: 1.6;
  color: var(--xr-fg-muted); margin: 0;
}

/* --- Testimonials carousel ----------------------------------------- */
.xr-testi { padding: 96px 80px 80px; overflow: hidden; position: relative; }
.xr-testi__wrap {
  position: relative;
  text-align: center; /* everything inside centers by default */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.xr-testi__headline {
  font-family: var(--xr-display);
  font-weight: 500;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--xr-fg);
  margin: 0 0 48px;
  max-width: 780px;
}
/* Graph / pulse styles removed — the scroll-linked graph behind the
   quote was dropped. Kept this note so the adjacent testimonials
   rules below read as a continuous block. */
/* Zigzag graph SVG — full-bleed backdrop behind the quote. preserveAspectRatio:none
   on the element lets the line stretch to whatever width the viewport has.
   100vw width + centered via translateX so the line spans the section
   even though .xr-wrap itself is capped at 1280px. z-index 0 sits behind
   the quote content (z-index 1). */
.xr-testi__quote-mark {
  font-family: var(--xr-display);
  font-size: 80px; line-height: 0.8;
  color: var(--xr-accent); opacity: 0.75; margin: 0 0 18px;
}
.xr-testi__stage {
  position: relative;
  min-height: 240px;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 1000px;
}
.xr-testi__slide {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(8px);
  transition: opacity 500ms ease, transform 500ms ease;
  pointer-events: none;
  text-align: center;
}
.xr-testi__slide[data-active="true"] {
  opacity: 1; transform: translateY(0);
  pointer-events: auto; position: relative;
}
.xr-testi__quote {
  /* Pre-rebuild uses BODY face (Inter) not display. Inter 500, 28px. */
  font-family: var(--xr-body); font-weight: 500;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35; letter-spacing: -0.01em;
  color: var(--xr-fg); margin: 0 auto 20px;
  max-width: 900px;
}
.xr-testi__attrib { font-family: var(--xr-body); font-size: 14px; color: var(--xr-fg-subtle); }
.xr-testi__dots { display: flex; gap: 10px; margin: 32px auto 0; justify-content: center; }
.xr-testi__dot {
  width: 36px; height: 4px;
  border: 0; padding: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 2px; cursor: pointer;
  transition: background 240ms ease;
}
.xr-testi__dot[data-active="true"] { background: var(--xr-accent); }
.xr-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- Features Walkthrough (3 steps: Connect / Predict / Decide) ---- */
.xr-fw { padding: 120px 80px 80px; }

/* Section intro — eyebrow + centered headline + lede sitting above
   the three alternating step articles. */
.xr-fw__intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.xr-fw__eyebrow {
  font-family: var(--xr-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--xr-accent);
  margin: 0;
}
.xr-fw__section-title {
  font-family: var(--xr-display);
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--xr-fg);
  margin: 0;
}
.xr-fw__section-lede {
  font-family: var(--xr-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--xr-fg-muted);
  margin: 0;
  max-width: 560px;
}

/* Steps wrapper — block flow (not flex) so each step's `position: sticky`
   participates in document scroll rather than an internal flex scroll.
   Each step gets a margin-bottom for scroll room between stickies. */
.xr-fw__steps {
  display: block;
  position: relative;
  /* Trailing spacer so the last card has room to fully enter the
     stack before the next section begins. */
  padding-bottom: 20vh;
}

/* Each step is a CARD now: dark panel with subtle border + shadow that
   pins to the top of the viewport as you scroll, with the next step
   sliding up over it. Inside, the 2-col grid (copy + figure) lays out
   as before; on odd-indexed steps it flips L/R.
   Stacking recipe:
     - position: sticky with nth-child staggered top offsets, so earlier
       cards peek ~24 px above the later ones that cover them
     - z-index ascending so later cards paint above earlier ones
     - margin-bottom creates the scroll distance between stickies
   */
/* ============================================================
   Scroll-linked stacking cards.

   Structure:
     .xr-fw__steps  (block flow)
       .xr-fw__step-wrapper  (normal block, margin-bottom provides
                              scroll-lock distance per card)
         .xr-fw__step  (position: sticky, pinned at top: 96px)

   The wrapper's margin-bottom is what the user's scroll wheel has
   to advance before the next wrapper (and the next step) reaches
   its sticky point. useScroll in <StepCard /> tracks the wrapper's
   document scroll; while the wrapper is between its `start 96px` and
   `end 96px` offsets, the inner step is visibly pinned and we drive
   its scale/y MotionValues so it shrinks and lifts back as the user
   scrolls past.

   The card itself stays at content height — no 100vh forcing.
   ============================================================ */
.xr-fw__step-wrapper {
  position: relative;
  /* Wrapper is one full viewport tall. This is the scroll-lock
     distance — while the user scrolls this 100vh, the sticky card
     inside stays pinned at top:96. Card N+1 sits directly below this
     wrapper in document flow, so it starts completely off-screen when
     Card N first pins, and rises naturally up through the viewport
     as the user scrolls. */
  min-height: calc(100vh - 96px);
  z-index: var(--index);
  /* Scroll-timeline source for the CSS recede animation on the card
     inside this wrapper (see .xr-fw__step below). Named scroll-timeline
     scopes the animation to THIS wrapper, so each card's recede is
     driven by its own wrapper's scroll progress. */
  view-timeline-name: --xr-fw-step-view;
  view-timeline-axis: block;
}
/* Last wrapper doesn't need scroll-lock room or recede — nothing
   stacks over it. */
.xr-fw__step-wrapper[data-last="true"] {
  min-height: 0;
  view-timeline-name: none;
}

.xr-fw__step {
  position: sticky;
  /* Every card pins at the SAME top so later cards stack directly
     over earlier ones. */
  top: 96px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: center;
  padding: 56px 56px 60px;
  /* Match the Features Illustrations card treatment:
       - 1.5px transparent border carrying the rotating conic gradient
       - Padding-box layers (radial green wash + solid dark fill) on top
         of the conic so only the 1.5px border ring shares the rim
       - Shared --xalo-fi-edge-angle animation keeps the rim in sync
         with the .xr-fi__cards rim elsewhere on the page
     Two hot spots 180° apart (green + white) sweep around every 22s. */
  border: 1.5px solid transparent;
  border-radius: 24px;
  background-origin: border-box;
  background-clip: padding-box, padding-box, border-box;
  background:
    radial-gradient(ellipse 120% 70% at 50% 0%, rgba(47, 232, 138, 0.07), transparent 65%) padding-box,
    linear-gradient(180deg, #0c0e13 0%, #0a0c11 100%) padding-box,
    conic-gradient(
      from var(--xalo-fi-edge-angle),
      /* Green hot spot */
      rgba(47,  232, 138, 0.00)   0deg,
      rgba(47,  232, 138, 0.30)  10deg,
      rgba(100, 245, 170, 0.60)  18deg,
      rgba(180, 252, 210, 0.92)  26deg,
      rgba(255, 255, 255, 1.00)  32deg,
      rgba(180, 252, 210, 0.92)  38deg,
      rgba(100, 245, 170, 0.60)  48deg,
      rgba(47,  232, 138, 0.30)  68deg,
      rgba(47,  232, 138, 0.10)  95deg,
      rgba(47,  232, 138, 0.00) 140deg,
      /* Dead zone between peaks */
      rgba(0,   0,   0,   0.00) 178deg,
      rgba(255, 255, 255, 0.00) 178deg,
      /* White hot spot — 180° opposite */
      rgba(255, 255, 255, 0.25) 190deg,
      rgba(255, 255, 255, 0.60) 200deg,
      rgba(255, 255, 255, 0.92) 208deg,
      rgba(255, 255, 255, 1.00) 214deg,
      rgba(255, 255, 255, 0.92) 220deg,
      rgba(255, 255, 255, 0.60) 228deg,
      rgba(255, 255, 255, 0.25) 240deg,
      rgba(255, 255, 255, 0.08) 260deg,
      rgba(255, 255, 255, 0.00) 285deg,
      rgba(0,   0,   0,   0.00) 360deg
    ) border-box;
  animation: xalo-fi-edge-sweep 22s linear infinite;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform-origin: 50% 0%;
}

/* CSS scroll-driven recede — starts only when the next card is
   already covering most of this one, so the pinned card stays at
   full size for most of its lock. `animation-timeline: --xr-fw-step-view`
   binds the animation to the parent wrapper's view-timeline.
   `animation-range: exit 70% exit 100%` plays the animation only
   during the LAST 30 % of the wrapper's exit phase — at that point
   the next card has already risen up and is covering ~75-100 % of
   this one, so the shrink/lift-back happens right during the final
   hand-off.
   Cards marked [data-last="true"] don't recede (nothing stacks on
   top of them), so the animation is killed for those. */
@supports (animation-timeline: view()) {
  /* Important: we need BOTH the continuous rim rotation AND the
     scroll-driven recede running on .xr-fw__step. The base rule sets
     `animation: xalo-fi-edge-sweep ...`; declaring a new `animation`
     here would override it, killing the rim spin. So we list both
     animations together and pair each with its own timeline + range. */
  .xr-fw__step {
    animation:
      xalo-fi-edge-sweep 22s linear infinite,
      xr-fw-step-recede linear both;
    animation-timeline: auto, --xr-fw-step-view;
    animation-range: normal, exit 70% exit 100%;
  }
  .xr-fw__step[data-last="true"] {
    /* Last card: keep the rim spinning, skip the recede. */
    animation: xalo-fi-edge-sweep 22s linear infinite;
    animation-timeline: auto;
    animation-range: normal;
  }
  @keyframes xr-fw-step-recede {
    from { transform: scale(1) translateY(0); opacity: 1; }
    to   { transform: scale(0.84) translateY(-56px); opacity: 0.6; }
  }
}

.xr-fw__step--reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
.xr-fw__step--reverse .xr-fw__step-copy { order: 2; }
.xr-fw__step--reverse .xr-fw__step-figure { order: 1; }

/* Copy column */
.xr-fw__step-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  font-family: var(--xr-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--xr-fg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(47, 232, 138, 0.35);
  border-radius: 999px;
  margin: 0 0 24px;
}
.xr-fw__step-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--xr-accent);
  box-shadow: 0 0 0 3px rgba(47, 232, 138, 0.2);
  animation: xr-fw-chip-pulse 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes xr-fw-chip-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(47, 232, 138, 0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(47, 232, 138, 0.05); }
}
.xr-fw__step-title {
  font-family: var(--xr-display);
  font-weight: 500;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--xr-fg);
  margin: 0 0 20px;
  max-width: 480px;
}
.xr-fw__step-body {
  font-family: var(--xr-body);
  font-size: 16px;
  line-height: 1.68;
  color: var(--xr-fg-muted);
  margin: 0 0 28px;
  max-width: 520px;
}
/* CTA wrapper on the final step — uses the shared <HulyButton />
   component now, which has its own cursor-following glow and edge
   bloom. The wrapper just gives the button a block position and a
   top margin from the body copy above. */
.xr-fw__step-cta-wrap {
  display: inline-flex;
  margin-top: 8px;
}

/* Figure card — inset illustration surface inside the step card.
   Darker than the step card so it reads as a distinct inner frame
   (like a terminal / screen inside a device). */
.xr-fw__step-figure {
  position: relative;
  width: 100%;
  aspect-ratio: 7/5;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 50% 35%, rgba(47, 232, 138, 0.05), transparent 70%),
    linear-gradient(180deg, #070a0e 0%, #0b0e14 100%);
  padding: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    inset 0 0 0 1px rgba(0, 0, 0, 0.5);
  transition: border-color 420ms ease, box-shadow 420ms ease;
}
.xr-fw__step[data-in-view="true"] .xr-fw__step-figure {
  border-color: rgba(47, 232, 138, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    inset 0 0 0 1px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(47, 232, 138, 0.08);
}
.xr-fw__step-figure svg { width: 100%; height: 100%; display: block; }

/* =================================================================
   Illustration entry animations — driven by data-in-view on the
   parent <article>. Each inner element reads `--i` from inline style
   to stagger; CSS calc compounds that into a per-item delay.
   ================================================================= */

/* Connect — lines draw in, source nodes fade+slide in, hub breathes. */
.xr-fw__fig--connect .xr-fw__fig-lines path {
  transition: stroke-dashoffset 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(0.25s + var(--i, 0) * 0.12s);
}
.xr-fw__step[data-in-view="true"] .xr-fw__fig--connect .xr-fw__fig-lines path {
  stroke-dashoffset: 0;
}
.xr-fw__fig--connect .xr-fw__fig-sources > g {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(0.05s + var(--i, 0) * 0.08s);
  transform-box: fill-box;
  transform-origin: 50% 50%;
  /* Soft bloom replaces the inline radial-gradient circle that was
     rendering a visible edge at certain zooms. drop-shadow is applied
     in pixel space so the bloom is always circular and clean. */
  filter: drop-shadow(0 0 6px rgba(47, 232, 138, 0.35));
}
.xr-fw__step[data-in-view="true"] .xr-fw__fig--connect .xr-fw__fig-sources > g {
  opacity: 1;
  transform: translateX(0);
}
.xr-fw__fig--connect .xr-fw__fig-hub {
  opacity: 0;
  transition: opacity 0.5s ease 1.05s;
}
.xr-fw__step[data-in-view="true"] .xr-fw__fig--connect .xr-fw__fig-hub {
  opacity: 1;
  animation: xr-fw-hub-breathe 3.6s ease-in-out 1.2s infinite;
}
@keyframes xr-fw-hub-breathe {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(47, 232, 138, 0.45)); }
  50%      { filter: drop-shadow(0 0 18px rgba(47, 232, 138, 0.8)); }
}

/* Predict — trend line draws, points pop, cone fades in, anomaly ring
   scales in */
.xr-fw__fig--predict .xr-fw__fig-trend {
  transition: stroke-dashoffset 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.xr-fw__step[data-in-view="true"] .xr-fw__fig--predict .xr-fw__fig-trend {
  stroke-dashoffset: 0;
}
.xr-fw__fig--predict .xr-fw__fig-points circle {
  opacity: 0;
  transform: scale(0.3);
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(0.25s + var(--i, 0) * 0.08s);
}
.xr-fw__step[data-in-view="true"] .xr-fw__fig--predict .xr-fw__fig-points circle {
  opacity: 1;
  transform: scale(1);
}
.xr-fw__fig--predict .xr-fw__fig-cone {
  opacity: 0;
  transition: opacity 0.6s ease 1.1s;
}
.xr-fw__step[data-in-view="true"] .xr-fw__fig--predict .xr-fw__fig-cone {
  opacity: 1;
}
.xr-fw__fig--predict .xr-fw__fig-anom {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transform: scale(0.4);
  transition: opacity 0.45s ease 1.3s, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 1.3s;
}
.xr-fw__step[data-in-view="true"] .xr-fw__fig--predict .xr-fw__fig-anom {
  opacity: 1;
  transform: scale(1);
  animation: xr-fw-anom-pulse 1.8s ease-in-out 1.9s infinite;
}
@keyframes xr-fw-anom-pulse {
  0%, 100% { stroke-opacity: 0.55; }
  50%      { stroke-opacity: 1; }
}

/* Decide — pitch fades in, players pop in staggered, the active player
   gets a breathing green glow. */
.xr-fw__fig--decide .xr-fw__fig-pitch {
  opacity: 0;
  transition: opacity 0.5s ease 0.05s;
}
.xr-fw__step[data-in-view="true"] .xr-fw__fig--decide .xr-fw__fig-pitch {
  opacity: 1;
}
.xr-fw__fig--decide .xr-fw__fig-player {
  opacity: 0;
  transform: scale(0.5);
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(0.35s + var(--i, 0) * 0.035s);
}
.xr-fw__step[data-in-view="true"] .xr-fw__fig--decide .xr-fw__fig-player {
  opacity: 1;
  transform: scale(1);
}
.xr-fw__fig--decide .xr-fw__fig-player--active {
  transition-delay: 0.9s;
}
.xr-fw__step[data-in-view="true"] .xr-fw__fig--decide .xr-fw__fig-player--active {
  animation: xr-fw-player-glow 2.6s ease-in-out 1.2s infinite;
}
@keyframes xr-fw-player-glow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(47, 232, 138, 0.35)); }
  50%      { filter: drop-shadow(0 0 20px rgba(47, 232, 138, 0.85)); }
}
.xr-fw__fig--decide .xr-fw__fig-verdict {
  opacity: 0;
  transform: translateY(6px);
  transform-box: fill-box;
  transition: opacity 0.45s ease 1.3s, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 1.3s;
}
.xr-fw__step[data-in-view="true"] .xr-fw__fig--decide .xr-fw__fig-verdict {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   /what-we-do page sections — branded card system shared across
   WhyNow, BuiltDifferent, MultiSport. Each section uses:
     - A centered eyebrow + display-title + lede header
     - A responsive grid of dark cards with a subtle border and
       a soft top-green radial glow
   ============================================================ */

/* -- Why Now ----------------------------------------------------------- */
.xr-why-now { padding: 144px 80px 128px; }
.xr-why-now__intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.xr-why-now__eyebrow,
.xr-built-different__eyebrow,
.xr-multisport__eyebrow {
  font-family: var(--xr-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--xr-accent);
  margin: 0;
}
.xr-why-now__title,
.xr-built-different__title,
.xr-multisport__title {
  font-family: var(--xr-display);
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--xr-fg);
  margin: 0;
}
.xr-why-now__lede,
.xr-built-different__lede,
.xr-multisport__lede {
  font-family: var(--xr-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--xr-fg-muted);
  margin: 0;
  max-width: 620px;
}
.xr-why-now__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.xr-why-now__card,
.xr-built-different__card,
.xr-multisport__card {
  position: relative;
  background-color: #0c0e13;
  background-image:
    radial-gradient(ellipse 120% 70% at 50% 0%, rgba(47, 232, 138, 0.06), transparent 65%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 38px 34px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 280ms ease;
}
.xr-why-now__card:hover,
.xr-built-different__card:hover,
.xr-multisport__card:hover {
  border-color: rgba(47, 232, 138, 0.3);
}
/* Numbered chip on WhyNow cards — same language as .xr-fw__step-chip
   (green dot + small caps number/label). */
.xr-why-now__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  font-family: var(--xr-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--xr-fg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(47, 232, 138, 0.35);
  border-radius: 999px;
  align-self: flex-start;
}
.xr-why-now__chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--xr-accent);
  box-shadow: 0 0 0 3px rgba(47, 232, 138, 0.2);
  animation: xr-why-now-dot-pulse 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes xr-why-now-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(47, 232, 138, 0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(47, 232, 138, 0.05); }
}
.xr-why-now__card-title {
  font-family: var(--xr-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--xr-fg);
  margin: 0;
}
.xr-why-now__card-body {
  font-family: var(--xr-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--xr-fg-muted);
  margin: 0;
}

/* -- Built Different (infinite marquee of principle cards) ------------- */
.xr-built-different { padding: 128px 0; }
.xr-built-different .xr-wrap { padding: 0 80px; }
.xr-built-different__intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Track wrapper — hides the overflow on either side and fades out the
   cards at the edges via a horizontal mask. Lives OUTSIDE .xr-wrap so
   the cards can slide edge-to-edge across the section. */
.xr-built-different__track-wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
          mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

/* The actual sliding track — the full 2× list in one flex row. We
   translate by -50% per cycle, which is exactly the width of one
   copy of the list, so when the first half has scrolled off the
   second half is back at the start — seamless loop. */
.xr-built-different__track {
  display: flex;
  gap: 22px;
  padding: 10px 0 20px; /* room for card drop-shadows on the top/bottom */
  width: max-content;
  animation: xr-built-marquee 48s linear infinite;
}
/* Pause on hover so users can actually read a card they're interested in. */
.xr-built-different__track-wrap:hover .xr-built-different__track {
  animation-play-state: paused;
}
@keyframes xr-built-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.xr-built-different__card {
  flex: 0 0 auto;
  width: 340px;
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.xr-built-different__icon {
  color: var(--xr-accent);
  opacity: 0.95;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(47, 232, 138, 0.08);
  border: 1px solid rgba(47, 232, 138, 0.25);
  border-radius: 12px;
}
.xr-built-different__card-title {
  font-family: var(--xr-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--xr-fg);
  margin: 0;
}
.xr-built-different__card-body {
  font-family: var(--xr-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--xr-fg-muted);
  margin: 0;
}

/* Reduced motion — honour prefers-reduced-motion by pausing the loop. */
@media (prefers-reduced-motion: reduce) {
  .xr-built-different__track {
    animation: none;
  }
}

/* -- Multi-sport ------------------------------------------------------- */
.xr-multisport { padding: 128px 80px 144px; }
.xr-multisport__intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.xr-multisport__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.xr-multisport__card {
  padding: 34px 28px 36px;
  gap: 14px;
}
.xr-multisport__icon {
  color: var(--xr-accent);
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: rgba(47, 232, 138, 0.06);
  border: 1px solid rgba(47, 232, 138, 0.2);
  border-radius: 10px;
}
.xr-multisport__card-name {
  font-family: var(--xr-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--xr-fg-subtle);
  margin: 0;
}
.xr-multisport__card-stat {
  font-family: var(--xr-display);
  font-weight: 500;
  font-size: clamp(30px, 2.6vw, 38px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--xr-fg);
  margin: 0;
}
.xr-multisport__card-body {
  font-family: var(--xr-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--xr-fg-muted);
  margin: 0;
}

/* --- FAQ (branded accordion) ---------------------------------------- */
.xr-faq { padding: 112px 80px; }
.xr-faq__wrap {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.xr-faq__eyebrow {
  font-family: var(--xr-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--xr-accent);
  margin: 0 0 14px;
}
.xr-faq__title {
  font-family: var(--xr-display);
  font-weight: 500;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--xr-fg);
  margin: 0 0 56px;
}
.xr-faq__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
/* Each item is a card-style panel. Closed state: dark with subtle
   border. Open state: brighter border, soft green radial glow from
   the top, content fades in below. */
.xr-faq__item {
  position: relative;
  background-color: #0c0e13;
  background-image:
    radial-gradient(ellipse 120% 70% at 50% 0%, rgba(47, 232, 138, 0), transparent 65%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition:
    border-color 280ms ease,
    background-image 280ms ease,
    box-shadow 280ms ease;
}
.xr-faq__item[data-open="true"] {
  border-color: rgba(47, 232, 138, 0.4);
  background-image:
    radial-gradient(ellipse 120% 70% at 50% 0%, rgba(47, 232, 138, 0.07), transparent 65%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(47, 232, 138, 0.15);
}
.xr-faq__item:hover:not([data-open="true"]) {
  border-color: rgba(255, 255, 255, 0.18);
}
/* The button row — question + plus icon. Full width clickable. */
.xr-faq__btn {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--xr-display);
  color: inherit;
}
.xr-faq__btn-lead {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.xr-faq__btn-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
  transition: background 280ms ease, box-shadow 280ms ease;
}
.xr-faq__item[data-open="true"] .xr-faq__btn-dot {
  background: var(--xr-accent);
  box-shadow: 0 0 0 3px rgba(47, 232, 138, 0.2);
  animation: xr-faq-dot-pulse 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes xr-faq-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(47, 232, 138, 0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(47, 232, 138, 0.05); }
}
.xr-faq__q {
  font-family: var(--xr-display);
  font-weight: 500;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.35;
  color: var(--xr-fg);
  margin: 0;
}
/* Plus icon — built from two pseudo-hairlines that rotate on open. */
.xr-faq__plus {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.xr-faq__plus::before,
.xr-faq__plus::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-50%);
  transition: background 280ms ease;
}
.xr-faq__plus::after {
  transform: translateY(-50%) rotate(90deg);
}
.xr-faq__item[data-open="true"] .xr-faq__plus {
  transform: rotate(45deg);
}
.xr-faq__item[data-open="true"] .xr-faq__plus::before,
.xr-faq__item[data-open="true"] .xr-faq__plus::after {
  background: var(--xr-accent);
}
/* Collapsible body — height/opacity transition using a grid-template
   trick (1fr → 0fr) so we don't need a fixed max-height and the
   panel auto-sizes to its content. */
.xr-faq__body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.xr-faq__item[data-open="true"] .xr-faq__body-wrap {
  grid-template-rows: 1fr;
}
.xr-faq__a {
  overflow: hidden;
  font-family: var(--xr-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--xr-fg-muted);
  margin: 0;
  padding: 0 26px 26px 58px; /* left offset aligns under the question */
  opacity: 0;
  transition: opacity 280ms ease 60ms;
}
.xr-faq__item[data-open="true"] .xr-faq__a {
  opacity: 1;
}

/* --- CTA Outro ------------------------------------------------------ */
.xr-cta-outro { padding: 120px 80px 80px; position: relative; }
.xr-cta-outro__headline {
  /* 48px at desktop matches pre-rebuild. */
  font-family: var(--xr-display); font-weight: 500;
  font-size: clamp(32px, 3.3vw, 48px);
  line-height: 1.1; letter-spacing: -0.03em;
  text-align: center;
  color: var(--xr-fg); margin: 0 auto 56px;
  max-width: 1100px;
}
/* inline-block words need an explicit margin-right to avoid collapsed
   inter-word whitespace around adjacent blocks. */
.xr-cta-outro__word {
  display: inline-block;
  margin-right: 0.28em;
}
.xr-cta-outro__word:last-child { margin-right: 0; }
/* Wrap-prevention for the closing phrase "invisible to the naked eye."
   — white-space:nowrap forces its inline-block word children to stay
   on the same line regardless of viewport width. */
.xr-cta-outro__nowrap {
  white-space: nowrap;
}
/* (`.xr-cta-outro__bar` removed — the green accent bar under the
   headline was dropped per the latest design pass.) */

/* Old lockup classes are replaced by .xr-logo above. Leaving the
   block empty to minimise the diff footprint. */

/* --- Responsive ------------------------------------------------------ */
@media (max-width: 809.98px) {
  /* MOBILE SAFE-ZONE — do not hardcode. Every horizontal padding
     below references `var(--xr-safe)` (declared at :root) so the
     gutter can be tuned in ONE place. If you are tempted to add a
     new hardcoded `12px` / `20px` / `24px` here, use `var(--xr-safe)`
     instead so the site-wide mobile gutter stays consistent. */
  .xr-section { padding: 72px var(--xr-safe); }
  /* Nav: pill stretches edge-to-edge with the safe-zone on each side
     instead of being centered with unused margin. */
  .xr-nav-wrap {
    top: 8px;
    left: var(--xr-safe);
    right: var(--xr-safe);
    justify-content: stretch;
  }
  .xr-nav {
    gap: 18px;
    padding: 8px 14px 8px 18px;
    min-width: 0;
    width: 100%;
  }
  .xr-nav__group { gap: 16px; }
  .xr-nav__link { font-size: 13px; }
  .xr-hero { padding: 22vh var(--xr-safe) 120px; }
  /* No-canvas hero (e.g. /what-we-do, /book-a-demo) — much less top
     padding on mobile since there's no 3D figure to fill the vertical
     space above the headline. */
  .xr-hero.xr-hero--no-canvas { padding: 120px var(--xr-safe) 80px; }
  .xr-hero__container {
    gap: 18px;
    width: 100%;
    max-width: 100%;
  }
  .xr-hero__headline {
    /* Tighter headline sizing on mobile — previously clamped to 38px
       minimum which pushed longer words off screen at ~360–390px
       viewports. Drop to 30px minimum and allow natural word breaks. */
    font-size: clamp(28px, 7.5vw, 36px);
    letter-spacing: -0.03em;
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .xr-hero__subhead {
    font-size: 15px;
    line-height: 1.55;
    max-width: 100%;
  }

  .xr-section__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .xr-row { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .xr-row--no-num { grid-template-columns: 1fr; }
  .xr-row__title { font-size: 22px; }
  .xr-row__copy { font-size: 15px; }
  .xr-cards { grid-template-columns: 1fr; }
  .xr-card { padding: 28px 24px; }
  .xr-card__num { font-size: 36px; }

  .xr-demo-grid { grid-template-columns: 1fr; gap: 48px; }
  .xr-form { padding: 28px 24px; }
  .xr-sport-row { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }

  /* /what-we-do branded sections */
  .xr-why-now { padding: 96px var(--xr-safe) 80px; }
  .xr-why-now__grid { grid-template-columns: 1fr; gap: 16px; }
  .xr-why-now__intro { margin-bottom: 56px; }
  .xr-why-now__card { padding: 28px 24px 30px; }

  .xr-built-different { padding: 96px 0; }
  .xr-built-different .xr-wrap { padding: 0 var(--xr-safe); }
  .xr-built-different__intro { margin-bottom: 48px; }
  .xr-built-different__card { width: 280px; padding: 28px 24px 30px; }
  .xr-built-different__track { gap: 18px; }

  .xr-multisport { padding: 96px var(--xr-safe) 104px; }
  .xr-multisport__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .xr-multisport__intro { margin-bottom: 56px; }
  .xr-multisport__card { padding: 26px 22px 28px; }

  .xr-footer { padding: 56px var(--xr-safe) 28px; }
  .xr-footer__hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }
  .xr-footer__columns {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-top: 32px;
  }
  .xr-footer__col:first-child {
    display: none;
  }
  .xr-footer__meta {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    justify-content: center;
    margin-top: 40px;
  }
}

@media (min-width: 641px) and (max-width: 809.98px) {
  .xr-nav { padding: 8px 8px 8px 24px; }
  .xr-nav__link { font-size: 14px; }
}

@media (max-width: 809.98px) {
  /* Features Illustrations */
  .xr-fi { padding: 60px var(--xr-safe) 80px; }
  .xr-fi__cards { grid-template-columns: 1fr; gap: 0; }
  .xr-fi__card { padding: 28px 24px; min-height: 0; }
  /* Re-round the outside corners for the stacked column layout: the
     first card keeps TOP rounded, the last card keeps BOTTOM rounded.
     Override the desktop horizontal rules. */
  .xr-fi__card:first-child { border-radius: 12px 12px 0 0; }
  .xr-fi__card:last-child  { border-radius: 0 0 12px 12px; }
  .xr-fi__card:only-child   { border-radius: 12px; }
  /* Swap the divider from vertical (left edge) to horizontal (top edge) */
  .xr-fi__card + .xr-fi__card {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  /* Testimonials */
  .xr-testi { padding: 72px var(--xr-safe) 56px; }
  .xr-testi__quote-mark { font-size: 56px; }
  .xr-testi__stage { min-height: 320px; }

  /* Features Walkthrough */
  .xr-fw { padding: 80px var(--xr-safe) 56px; }
  .xr-fw__intro { margin-bottom: 64px; }
  .xr-fw__steps { padding-bottom: 0; }
  .xr-fw__step,
  .xr-fw__step--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 24px 36px;
    margin-bottom: 24px;
    /* Mobile: stop stickying — the viewport is too short for the stack
       peek to read well. Cards flow normally. */
    position: static;
    border-radius: 18px;
  }
  /* Mobile: kill the wrapper's scroll-lock min-height and the sticky /
     transform on the card so the whole walkthrough reads as a simple
     stack of content cards in document flow. */
  .xr-fw__step-wrapper {
    min-height: 0;
    margin-bottom: 24px;
    z-index: auto;
  }
  .xr-fw__step {
    position: static;
    top: auto;
    transform: none !important;
    opacity: 1 !important;
    min-height: 0;
  }
  /* On mobile the copy always leads and the figure follows regardless
     of the desktop alternating order. */
  .xr-fw__step--reverse .xr-fw__step-copy { order: 1; }
  .xr-fw__step--reverse .xr-fw__step-figure { order: 2; }
  .xr-fw__step-title { font-size: 28px; }
  .xr-fw__step-body { font-size: 15px; }

  /* FAQ */
  .xr-faq { padding: 72px var(--xr-safe); }
  .xr-faq__btn { gap: 12px; padding: 18px 18px; }
  .xr-faq__a { padding: 0 18px 20px 44px; font-size: 15px; }

  /* CTA Outro */
  .xr-cta-outro { padding: 80px var(--xr-safe) 56px; }
  .xr-cta-outro__headline {
    font-size: clamp(26px, 7.8vw, 34px);
    margin-bottom: 40px;
  }
  /* Mobile: allow the closing phrase to wrap. At 32px+ display sizes
     "invisible to the naked eye." overflows any phone viewport. */
  .xr-cta-outro__nowrap { white-space: normal; }

  /* Mobile: scale down all the branded section H2s so 30+-char phrases
     like "Connect every signal that matters." don't push their parent
     container past the viewport edge at 360-400px wide. */
  .xr-what-to-expect__title,
  .xr-demo-section__title,
  .xr-why-now__title,
  .xr-built-different__title,
  .xr-multisport__title,
  .xr-fw__section-title,
  .xr-fi__headline,
  .xr-faq__title {
    font-size: clamp(26px, 7.6vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.025em;
  }
  .xr-what-to-expect__lede,
  .xr-demo-section__lede,
  .xr-fw__section-lede,
  .xr-why-now__lede,
  .xr-built-different__lede,
  .xr-multisport__lede {
    font-size: 15px;
    line-height: 1.55;
  }

  /* Book a Demo: What to Expect branded cards */
  .xr-what-to-expect { padding: 96px var(--xr-safe) 80px; }
  .xr-what-to-expect__intro { margin-bottom: 48px; }
  .xr-what-to-expect__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .xr-what-to-expect__card { padding: 28px 24px 30px; }

  /* Book a Demo: form section */
  .xr-demo-section { padding: 96px var(--xr-safe) 120px; }
  .xr-demo-section__intro { margin-bottom: 48px; }
  .xr-contact-info { padding: 28px 24px 32px; gap: 18px; }
  .xr-contact-info__title { font-size: 20px; }
  .xr-form__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .xr-form__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .xr-form__disclaimer { max-width: none; }
  .xr-form__submit.xalo-huly {
    padding: 0 30px !important;
    width: 100%;
  }

  /* Legal pages */
  .xr-legal { padding: 100px var(--xr-safe) 120px; }
  .xr-legal__head {
    margin-bottom: 40px;
    padding-bottom: 28px;
  }
  .xr-legal__title { font-size: clamp(32px, 9vw, 44px); }
  .xr-legal__body { font-size: 15.5px; line-height: 1.7; }
  .xr-legal__body .xr-legal__lede {
    font-size: 16.5px;
    padding: 22px 22px;
    margin-bottom: 32px;
  }
  .xr-legal__body h2 {
    font-size: 20px;
    margin-top: 40px;
    padding-top: 24px;
  }
  .xr-legal__body h3 {
    font-size: 17px;
    margin-top: 28px;
  }
}

/* --- Tablet: 810–1023px ---------------------------------------------- */
@media (min-width: 810px) and (max-width: 1023.98px) {
  .xr-section { padding: 96px 40px; }
  .xr-hero { padding-left: 40px; padding-right: 40px; }

  /* Book a Demo — tighter rails, still 2 columns */
  .xr-what-to-expect { padding: 104px 40px 88px; }
  .xr-what-to-expect__grid { gap: 20px; }
  .xr-what-to-expect__card { padding: 30px 26px 32px; }

  .xr-demo-section { padding: 104px 40px 128px; }
  .xr-demo-grid { gap: 40px; }
  .xr-contact-info { padding: 32px 28px 34px; }
  .xr-form { padding: 32px 28px; }

  /* /what-we-do — tighter padding, keep grids 3-up */
  .xr-why-now { padding: 104px 40px 88px; }
  .xr-multisport { padding: 104px 40px 120px; }
  .xr-multisport__grid { gap: 20px; }

  /* Legal */
  .xr-legal { padding: 120px 40px 140px; }

  /* Footer — tighter rails */
  .xr-footer { padding: 72px 40px 32px; }
  .xr-footer__hero { gap: 40px; }
}
