/* ═══════════════════════════════════════════════════════════════════════════
   XADE — Landing Page · combined stylesheet
   Generated bundle of: v3.css (design system) + page-level styles (nav, hero,
   stats, footer, responsive) + entrance pre-hide + direct-edit overrides.
   Fonts, cursor and all binary assets are inlined as data URIs — this file +
   xade-landing.html are fully self-contained and portable.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ╔═══════════════════════════════════════════════════════════════╗
   ║  1 · DESIGN SYSTEM  (tokens, base, buttons, shared components)  ║
   ╚═══════════════════════════════════════════════════════════════╝ */
/* ═══════════════════════════════════════════════════════════════
   XADE LANDING v3 — "Spatial"
   Refined product-forward dark UI · Raycast / Mercury / Lusion feel
   Outfit + LemonMilk ONLY · restrained type · depth, glass, motion
   Glass values matched to the app's real .card-metallic
   ═══════════════════════════════════════════════════════════════ */

@font-face { font-family:"LemonMilk"; src:url("/fonts/LemonMilk-Regular.otf") format("opentype"); font-display:swap; }

:root {
  --bg: #060708;
  --bg-deep: #040506;
  --fg: #f5f6f7;
  --accent: #22c55e;
  --accent-hi: #4ade80;
  --blue: #60a5fa;
  --purple: #a78bfa;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --amber: #fbbf24;

  --body: "Outfit", system-ui, -apple-system, sans-serif;
  /* demo-app references --mono / --font — map both to Outfit so NO other face renders */
  --mono: "Outfit", system-ui, sans-serif;
  --font: "Outfit", system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1240px;
  --w92: 90%;

  /* liquid-glass live params (Tweaks) — tuned transparent */
  --glass-blur: 18px;
  --glass-sat: 1.5;
  --glass-alpha: 0.34;
  --glass-filter: none;

  --aura: 0.9; /* hero aura intensity, tweakable */
}

* { box-sizing: border-box; }
*::-webkit-scrollbar { width: 0; height: 0; }
* { scrollbar-width: none; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg-deep); color: var(--fg);
  font-family: var(--body); font-weight: 400; overflow-x: hidden;
  cursor: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0yMC41MDU2IDEwLjc3NTRDMjEuMTIyNSAxMC41MzU1IDIxLjQzMSAxMC40MTU1IDIxLjUxNzYgMTAuMjQ1OUMyMS41OTI2IDEwLjA5OSAyMS41OTAzIDkuOTI0NDYgMjEuNTExNSA5Ljc3OTU0QzIxLjQyMDUgOS42MTIyNiAyMS4xMDkgOS41MDA0NCAyMC40ODYgOS4yNzY4TDQuNTk2MjkgMy41NzI4QzQuMDg2NiAzLjM4OTgzIDMuODMxNzUgMy4yOTgzNSAzLjY2NTE0IDMuMzU2MDVDMy41MjAyOSAzLjQwNjIxIDMuNDA2NDUgMy41MjAwNCAzLjM1NjI5IDMuNjY0OUMzLjI5ODU5IDMuODMxNSAzLjM5MDA4IDQuMDg2MzUgMy41NzMwNCA0LjU5NjA1TDkuMjc3IDIwLjQ4NThDOS41MDA2NCAyMS4xMDg4IDkuNjEyNDYgMjEuNDIwMyA5Ljc3OTczIDIxLjUxMTNDOS45MjQ2NSAyMS41OTAxIDEwLjA5OTEgMjEuNTkyNCAxMC4yNDYxIDIxLjUxNzRDMTAuNDE1NyAyMS40MzA4IDEwLjUzNTYgMjEuMTIyMyAxMC43NzU2IDIwLjUwNTRMMTMuMzcyNCAxMy44Mjc4QzEzLjQxOTQgMTMuNzA3IDEzLjQ0MjkgMTMuNjQ2NiAxMy40NzkyIDEzLjU5NTdDMTMuNTExNCAxMy41NTA2IDEzLjU1MDggMTMuNTExMiAxMy41OTU5IDEzLjQ3OUMxMy42NDY4IDEzLjQ0MjcgMTMuNzA3MiAxMy40MTkyIDEzLjgyOCAxMy4zNzIyTDIwLjUwNTYgMTAuNzc1NFoiIHN0cm9rZT0iI0QzREFGMCIgc3Ryb2tlLXdpZHRoPSIxIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9IiMyMDIwMjIiPjwvcGF0aD4KPC9zdmc+") 3 3, default;
  -webkit-font-smoothing: antialiased; letter-spacing: -0.005em;
}
a, button, [role="button"], .clk { cursor: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0yMC41MDU2IDEwLjc3NTRDMjEuMTIyNSAxMC41MzU1IDIxLjQzMSAxMC40MTU1IDIxLjUxNzYgMTAuMjQ1OUMyMS41OTI2IDEwLjA5OSAyMS41OTAzIDkuOTI0NDYgMjEuNTExNSA5Ljc3OTU0QzIxLjQyMDUgOS42MTIyNiAyMS4xMDkgOS41MDA0NCAyMC40ODYgOS4yNzY4TDQuNTk2MjkgMy41NzI4QzQuMDg2NiAzLjM4OTgzIDMuODMxNzUgMy4yOTgzNSAzLjY2NTE0IDMuMzU2MDVDMy41MjAyOSAzLjQwNjIxIDMuNDA2NDUgMy41MjAwNCAzLjM1NjI5IDMuNjY0OUMzLjI5ODU5IDMuODMxNSAzLjM5MDA4IDQuMDg2MzUgMy41NzMwNCA0LjU5NjA1TDkuMjc3IDIwLjQ4NThDOS41MDA2NCAyMS4xMDg4IDkuNjEyNDYgMjEuNDIwMyA5Ljc3OTczIDIxLjUxMTNDOS45MjQ2NSAyMS41OTAxIDEwLjA5OTEgMjEuNTkyNCAxMC4yNDYxIDIxLjUxNzRDMTAuNDE1NyAyMS40MzA4IDEwLjUzNTYgMjEuMTIyMyAxMC43NzU2IDIwLjUwNTRMMTMuMzcyNCAxMy44Mjc4QzEzLjQxOTQgMTMuNzA3IDEzLjQ0MjkgMTMuNjQ2NiAxMy40NzkyIDEzLjU5NTdDMTMuNTExNCAxMy41NTA2IDEzLjU1MDggMTMuNTExMiAxMy41OTU5IDEzLjQ3OUMxMy42NDY4IDEzLjQ0MjcgMTMuNzA3MiAxMy40MTkyIDEzLjgyOCAxMy4zNzIyTDIwLjUwNTYgMTAuNzc1NFoiIHN0cm9rZT0iI0QzREFGMCIgc3Ryb2tlLXdpZHRoPSIxIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9IiMyMDIwMjIiPjwvcGF0aD4KPC9zdmc+") 3 3, pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(34,197,94,0.24); color: #fff; }

/* ───────────── ATMOSPHERE ───────────── */
.bg-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.bg-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 110% 90% at 50% 34%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 110% 90% at 50% 34%, #000 60%, transparent 100%);
}
/* Raycast-style soft aurora bleeding from behind the product */
.bg-aura {
  background:
    radial-gradient(ellipse 60% 42% at 50% 30%, rgba(34,197,94,calc(0.16*var(--aura))) 0%, transparent 60%),
    radial-gradient(ellipse 36% 30% at 30% 22%, rgba(96,165,250,calc(0.10*var(--aura))) 0%, transparent 60%),
    radial-gradient(ellipse 40% 32% at 72% 26%, rgba(167,139,250,calc(0.10*var(--aura))) 0%, transparent 60%);
  filter: blur(30px);
}
.bg-fade { background: linear-gradient(180deg, transparent 55%, var(--bg-deep) 100%); }

.shell { position: relative; z-index: 2; width: var(--w92); max-width: var(--maxw); margin: 0 auto; }

/* ───────────── GLASS (transparent, matches app .card-metallic) ───────────── */
.glass {
  position: relative;
  background: rgba(10,11,13,var(--glass-alpha));
  backdrop-filter: var(--glass-filter) blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: var(--glass-filter) blur(var(--glass-blur)) saturate(var(--glass-sat));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07) inset, 0 4px 24px rgba(0,0,0,0.3);
}

/* ───────────── NAV ───────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 90; transition: background .4s var(--ease), border-color .4s var(--ease); border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(6,7,8,0.7); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-in { width: var(--w92); max-width: var(--maxw); margin: 0 auto; height: 66px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: "LemonMilk", sans-serif; font-size: 20px; letter-spacing: .02em; }
.logo .d { color: var(--accent); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.55); transition: color .25s var(--ease); }
.nav-links a:hover { color: #fff; }
@media (max-width: 900px){ .nav-links .nav-link { display: none; } }

/* ───────────── BUTTONS ───────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--body); font-size: 14.5px; font-weight: 500; border-radius: 11px; padding: 12px 20px; border: 1px solid transparent; transition: all .3s var(--ease); white-space: nowrap; line-height: 1; }
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--accent); color: #04140b; font-weight: 600; }
.btn-primary:hover { background: var(--accent-hi); transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(34,197,94,0.55); }
.btn-ghost { border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); color: rgba(255,255,255,0.85); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.24); color: #fff; background: rgba(255,255,255,0.06); }
/* green-outline primary — matches the app's Configure & Launch (rectangular) */
.btn-light { background: rgba(34,197,94,0.07); color: var(--accent); font-weight: 600; border: 1px solid rgba(34,197,94,0.40); border-radius: 9px; }
.btn-light:hover { background: rgba(34,197,94,0.13); border-color: rgba(34,197,94,0.6); transform: translateY(-1px); box-shadow: 0 10px 30px -14px rgba(34,197,94,0.5); }
.btn-light svg { stroke: var(--accent); }
.nav-links a.btn-light { color: var(--accent); border-radius: 9px; }
.nav-links a.btn-light:hover { color: var(--accent-hi); }
.btn-lg.btn-light { border-radius: 10px; }
.btn-lg { font-size: 15px; padding: 14px 26px; border-radius: 12px; }
/* metal-fx lives on its real use-case: the primary CTA pill */
metal-border.cta-metal { border-radius: 12px; display: inline-flex; }
metal-border.cta-metal .btn { border-radius: 12px; }

/* ───────────── TYPE ───────────── */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.65); padding: 6px 13px 6px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); margin-bottom: 26px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
h1.head { font-family: var(--body); font-weight: 600; font-size: clamp(34px, 4.8vw, 60px); letter-spacing: -0.035em; line-height: 1.04; margin: 0 0 22px; text-wrap: balance; }
h1.head .soft { color: rgba(255,255,255,0.4); }
.lede { font-family: var(--body); font-weight: 300; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: rgba(255,255,255,0.6); text-wrap: pretty; }
.h2 { font-family: var(--body); font-weight: 600; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1.08; margin: 0; text-wrap: balance; }

/* ───────────── SECTION ───────────── */
.sec { position: relative; z-index: 2; padding: 90px 0; }

/* ───────────── STATS STRIP (Ramp/Mercury clean) ───────────── */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: 18px; overflow: hidden; }
.stats-strip .cell { padding: 32px 30px; position: relative; }
.stats-strip .cell + .cell::before { content:""; position: absolute; left: 0; top: 24%; height: 52%; width: 1px; background: linear-gradient(180deg, transparent, rgba(255,255,255,0.10), transparent); }
.stats-strip .val { font-family: var(--body); font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats-strip .val.g { color: var(--accent); }
.stats-strip .lab { font-size: 13.5px; color: rgba(255,255,255,0.5); margin-top: 12px; }
@media (max-width: 800px){ .stats-strip { grid-template-columns: 1fr 1fr; } .stats-strip .cell:nth-child(odd)::before { display:none; } }

/* ───────────── FOOTER ───────────── */
footer.foot { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,0.07); padding: 60px 0 0; }
.foot-in { width: var(--w92); max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-col h5 { margin: 0 0 15px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.45); }
.foot-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 11px; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { width: var(--w92); max-width: var(--maxw); margin: 44px auto 0; padding: 24px 0 38px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; gap: 18px; font-size: 13px; color: rgba(255,255,255,0.35); flex-wrap: wrap; }

/* ───────────── REVEAL ───────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ───────────── TWEAKS ───────────── */
.tweaks { position: fixed; right: 20px; bottom: 20px; z-index: 200; width: 244px; border-radius: 16px; padding: 18px; transform: translateY(8px); opacity: 0; pointer-events: none; transition: all .35s var(--ease); }
.tweaks.show { transform: none; opacity: 1; pointer-events: auto; }
.tweaks h6 { margin: 0 0 14px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.tweaks h6 .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.tw-row { margin-bottom: 15px; }
.tw-row label { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.tw-row label b { color: #fff; font-weight: 600; }
.tw-row input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 999px; background: rgba(255,255,255,0.14); outline: none; }
.tw-row input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); cursor: pointer; box-shadow: 0 0 0 4px rgba(34,197,94,0.18); }
.tw-seg { display: flex; gap: 6px; }
.tw-seg button { flex: 1; font-family: var(--body); font-size: 11px; font-weight: 600; padding: 8px 4px; border-radius: 9px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); color: rgba(255,255,255,0.6); transition: all .25s var(--ease); }
.tw-seg button.on { border-color: rgba(34,197,94,0.4); background: rgba(34,197,94,0.12); color: var(--accent); }
.tweaks-fab { position: fixed; right: 20px; bottom: 20px; z-index: 199; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.14); background: rgba(10,10,12,0.8); backdrop-filter: blur(12px); color: rgba(255,255,255,0.7); transition: all .3s var(--ease); }
.tweaks-fab:hover { color: var(--accent); border-color: rgba(34,197,94,0.4); }
.tweaks-fab svg { width: 20px; height: 20px; }


/* ╔═══════════════════════════════════════════════════════════════╗
   ║  2 · PAGE LAYOUT  (navbar · hero · product · stats · footer)    ║
   ║     + responsive rules + mobile demo swap                       ║
   ╚═══════════════════════════════════════════════════════════════╝ */
body { background: #060708; overflow-x: hidden;
    /* smoke background colour — darker than the pvp default so it sits quietly behind content */
    --smoke-r: 0.62; --smoke-g: 0.585; --smoke-b: 0.516;
  }
  /* satellite callouts temporarily disabled — keep the demo clean while we iterate. */
  .xsat-layer { display: none !important; }
  .rwrap { position: relative; z-index: 2; width: 92%; max-width: 1360px; margin: 0 auto; }

  /* nav */
  .rnav { position: fixed; top: 0; left: 0; right: 0; z-index: 90;
    background: rgba(7,8,10,0.32);
    -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
    border-bottom: 1px solid rgba(255,255,255,0.07); }
  .rnav-in { width: 92%; max-width: 1360px; margin: 0 auto; height: 70px; display: flex; align-items: center; justify-content: space-between; }
  .rnav-left { display: flex; align-items: center; gap: 40px; }
  .rlogo { font-family: "LemonMilk", sans-serif; font-size: 26px; letter-spacing: .02em; }
  .rlogo .d { color: var(--accent); }
  .rnav-links { display: flex; gap: 28px; }
  .rnav-links a { font-size: 14.5px; font-weight: 400; color: rgba(255,255,255,0.62); transition: color .2s; }
  .rnav-links a:hover { color: #fff; }
  .rnav-right { display: flex; align-items: center; gap: 22px; }
  .rnav-right .signin { font-size: 14.5px; color: rgba(255,255,255,0.75); white-space: nowrap; }
  .rnav-right .signin:hover { color: #fff; }
  @media (max-width: 920px){ .rnav-links, .rnav-right .signin { display: none; } }

  .rnav-menu { display: none; align-items: center; justify-content: center; height: 36px; width: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); cursor: pointer; padding: 0; color: rgba(255,255,255,0.7); }
  @media (max-width: 920px){ .rnav-menu { display: inline-flex; } }
  .rnav-drawer { border-top: 1px solid rgba(255,255,255,0.06); overflow: hidden; }
  .rnav-drawer-in { display: flex; flex-direction: column; padding: 12px 4%; gap: 4px; }
  .rnav-drawer a { border-radius: 8px; padding: 12px 16px; font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.62); transition: color .2s, background .2s; }
  .rnav-drawer a:hover, .rnav-drawer a.active { color: #fff; background: rgba(255,255,255,0.06); }


  /* hero */
  .rhero { padding: 116px 0 0; }
  .reyebrow { display: flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.42); margin-bottom: 22px; }
  .reyebrow .box { font-variant-numeric: tabular-nums; color: var(--accent); background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.25); border-radius: 7px; padding: 4px 11px; letter-spacing: 0.02em; }
  .rh1 { font-family: var(--body); font-weight: 600; font-size: clamp(26px, 3.4vw, 46px); letter-spacing: -0.035em; line-height: 1.04; margin: 0; }
  .rh1 .soft { color: #fff; }
  /* "Now you can." emphasis variations — switched via the Tweaks panel (Headline → Emphasis) */
  #heroNow.em-glow-white { text-shadow: 0 0 16px rgba(255,255,255,0.5), 0 0 44px rgba(255,255,255,0.22); }
  #heroNow.em-glow-green { text-shadow: 0 0 16px rgba(34,197,94,0.6), 0 0 42px rgba(34,197,94,0.34); }
  #heroNow.em-gradient { background: linear-gradient(100deg, #22c55e 0%, #6ee7a0 46%, #ffffff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 18px rgba(34,197,94,0.4)); }
  #heroNow.em-shimmer { background: linear-gradient(100deg, #f6f5f5 0%, #f6f5f5 40%, #4ade80 50%, #f6f5f5 60%, #f6f5f5 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: rNowShimmer 4.2s linear infinite; }
  @keyframes rNowShimmer { 0% { background-position: 150% 0; } 100% { background-position: -150% 0; } }
  #heroNow.em-underline { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 9px; text-shadow: 0 0 22px rgba(34,197,94,0.3); }
  #heroNow.em-boxed { background: rgba(34,197,94,0.10); border: 1px solid rgba(34,197,94,0.34); border-radius: 12px; padding: 2px 14px; box-shadow: 0 0 28px -4px rgba(34,197,94,0.4), inset 0 0 18px rgba(34,197,94,0.08); }
  @media (prefers-reduced-motion: reduce){ #heroNow.em-shimmer { animation: none; } }
  .rsub { font-size: clamp(15px, 1.2vw, 18px); font-weight: 300; color: rgba(255,255,255,0.6); margin: 18px 0 0; max-width: 76ch; line-height: 1.5; text-wrap: balance; }
  .rsub u { text-decoration: none; }

  /* headline clauses — white glow follows the active demo track, gliding on switch */
  .rh1 .rh-clause { transition: text-shadow .8s var(--ease); text-shadow: 0 0 12px rgba(255,255,255,0), 0 0 30px rgba(255,255,255,0); }

  /* CTA row */
  .rcta { margin-top: 34px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
  /* blue-outline secondary — mirrors btn-light, blue track */
  .btn-light-blue { background: rgba(96,165,250,0.06); color: var(--blue); font-weight: 600; border: 1px solid rgba(96,165,250,0.42); border-radius: 9px; }
  .btn-light-blue:hover { background: rgba(96,165,250,0.12); border-color: rgba(96,165,250,0.62); transform: translateY(-1px); box-shadow: 0 10px 30px -14px rgba(96,165,250,0.5); }
  .btn-light-blue svg { stroke: var(--blue); }
  .btn-lg.btn-light-blue { border-radius: 10px; }

  /* live ticker — slim, low-key bar fixed to the bottom of the screen until scrolled into place. */
  /* hero eyebrow — live volume pill */
  .rbrow { display: inline-flex; align-items: center; gap: 10px; width: max-content; max-width: 100%; white-space: nowrap; margin-bottom: 24px; padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(34,197,94,0.40); background: rgba(34,197,94,0.07); }
  .rbrow-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex-shrink: 0; }
  .rbrow-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent); animation: rbrowPulse 2s var(--ease) infinite; }
  @keyframes rbrowPulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
  .rbrow-num { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 14.5px; letter-spacing: -0.01em; color: var(--accent); text-shadow: 0 0 14px rgba(34,197,94,0.5); }
  .rbrow-lab { font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.5); }
  .rbrow-lab b { color: rgba(255,255,255,0.72); font-weight: 500; }
  @media (prefers-reduced-motion: reduce){ .rbrow-dot::after { animation: none; } }

  /* email capture (Ramp combo) */
  .rcapture { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; padding: 8px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); }
  .rcapture input { flex: 1; min-width: 280px; background: none; border: 0; outline: none; color: #fff; font-family: var(--body); font-size: 16px; padding: 12px 16px; }
  .rcapture input::placeholder { color: rgba(255,255,255,0.4); }
  .rcapture button { font-family: var(--body); font-size: 15px; font-weight: 600; color: #04140b; background: var(--accent); border: 0; border-radius: 10px; padding: 13px 24px; transition: all .25s var(--ease); white-space: nowrap; }
  .rcapture button:hover { background: var(--accent-hi); box-shadow: 0 10px 30px -10px rgba(34,197,94,0.5); }
  .rcapture-note { margin-top: 16px; font-size: 13.5px; color: rgba(255,255,255,0.4); }
  .rcapture-note a { color: rgba(255,255,255,0.7); text-decoration: underline; text-underline-offset: 3px; }
  @media (max-width: 560px){ .rcapture { display: flex; } .rcapture input { min-width: 0; } }

  /* scene — full-bleed so its center == the page center at any demo size;
     the demo + rail center within it, satellites use the full-viewport gutters. */
  .rscene { position: relative; z-index: 2; width: 100%; margin: 46px auto 0; --scene-ac: #22c55e; --scene-hi: #4ade80; --scene-rgb: 34,197,94; }
  /* product — transparent, demo sits directly. Width set by JS (size tweak); 16:9 height derived */
  .rproduct-wrap { width: min(92%, 1360px); margin: 0 auto; position: relative; z-index: 2; transition: width .25s var(--ease); }
  .rproduct { position: relative; border-radius: 16px;
    box-shadow: 0 0 60px -12px rgba(var(--scene-rgb),0.10),
                0 50px 120px -40px rgba(0,0,0,0.85);
    transition: box-shadow 0.8s var(--ease); }
  .rproduct .glass-frame { overflow: hidden; border-radius: 12px; }
  @media (max-width: 1040px){ .rproduct-wrap { width: min(94%, 1360px); } }

  /* stats section — Spatial-style: hero stat + 4 cells, transparent + left-aligned */
  .rstats { position: relative; z-index: 2; padding: 120px 0 92px; }
  .rstats-head { text-align: left; margin-bottom: 46px; }
  .rstats-head h2 { font-family: var(--body); font-weight: 600; font-size: clamp(26px,3vw,42px); letter-spacing:-0.03em; line-height:1.08; margin:0; text-wrap: balance; }
  .rstats-head p { margin: 14px 0 0; color: rgba(255,255,255,0.55); font-size:16px; font-weight:300; max-width:52ch; line-height:1.5; }
  .rstats-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; overflow: hidden; background: rgba(7,8,10,0.32); border: 1px solid rgba(255,255,255,0.07); border-radius: 16px; box-shadow: 0 30px 90px -40px rgba(0,0,0,0.7); }
  .stat-hero { padding: 34px 36px; border-right: 1px solid rgba(255,255,255,0.08); display: flex; flex-direction: column; position: relative; }
  .sh-top { display: flex; align-items: center; justify-content: space-between; }
  .sh-lab { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.55); }
  .sh-badge { font-size: 11px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 7px; letter-spacing: 0.08em; }
  .sh-badge .d { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
  .sh-val { font-size: clamp(54px, 7vw, 88px); font-weight: 700; letter-spacing: -0.04em; line-height: 0.92; margin-top: 14px; color: #4ade80; text-shadow: 0 0 26px rgba(34,197,94,0.5); font-variant-numeric: tabular-nums; }
  .sh-delta { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 12px; }
  .sh-delta b { color: var(--accent); font-weight: 600; }
  .sh-chart { width: calc(100% + 72px); margin: 22px -36px -34px; height: 150px; display: block; }
  .stat-cells { display: grid; grid-template-rows: repeat(4, 1fr); }
  .stat-cell { padding: 22px 30px; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 20px; }
  .stat-cell:last-child { border-bottom: 0; }
  .stat-cell .sc-main { min-width: 116px; }
  .stat-cell .sc-v { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
  .stat-cell .sc-v.g { color: #4ade80; text-shadow: 0 0 16px rgba(34,197,94,0.5); }
  .stat-cell .sc-l { font-size: 12.5px; color: rgba(255,255,255,0.5); margin-top: 7px; }
  .stat-cell .sc-viz { flex: 1; height: 40px; display: flex; align-items: center; }
  .mini-bars { display: flex; align-items: flex-end; gap: 4px; width: 100%; height: 100%; }
  .mini-bars i { flex: 1; background: linear-gradient(180deg, rgba(34,197,94,0.85), rgba(34,197,94,0.12)); border-radius: 2px 2px 0 0; }
  .ring { width: 40px; height: 40px; }
  @media (max-width: 900px){ .rstats-grid { grid-template-columns: 1fr; } .stat-hero { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); } .sh-chart { margin: 22px -36px -24px; } }

  /* footer */
  .rfoot { position: relative; z-index:2;
    background: rgba(7,8,10,0.32);
    -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
    border-top:1px solid rgba(255,255,255,0.07); padding: 56px 0 0; }
  .rfoot-in { display:flex; justify-content:space-between; gap:48px; flex-wrap:wrap; }
  .rfoot p { color: rgba(255,255,255,0.45); font-size:14px; line-height:1.6; margin:14px 0 0; max-width:30ch; }
  .rfoot-cols { display:flex; gap:56px; flex-wrap:wrap; }
  .rfcol h5 { margin:0 0 14px; font-size:13px; font-weight:600; color:rgba(255,255,255,0.45); }
  .rfcol a { display:block; font-size:14px; color:rgba(255,255,255,0.6); margin-bottom:11px; }
  .rfcol a:hover { color:#fff; }
  .rfoot-bottom { margin-top:44px; padding:24px 0 40px; border-top:1px solid rgba(255,255,255,0.05); display:flex; justify-content:space-between; gap:18px; font-size:13px; color:rgba(255,255,255,0.35); flex-wrap:wrap; }

  /* ───── mobile demo swap + small-screen cleanups ───── */
  .rmobile { display: none; }
  @media (max-width: 720px){
    .rscene { display: none; }     /* desktop 16:9 app demo — too cramped on phones */
    .rmobile { display: block; margin-top: 22px; }   /* portrait, native-size agent showcase instead */
  }
  @media (max-width: 600px){
    .rhero { padding: 92px 0 0; }
    .reyebrow { flex-wrap: wrap; }
    .rcta { display: none; }
    /* live-volume pill — smaller / lower-key on phones */
    .rbrow { padding: 7px 14px !important; gap: 9px; margin-bottom: 32px; }
    .rbrow-dot { width: 6.5px; height: 6.5px; }
    .rbrow-num { font-size: 13px; }
    .rbrow-lab { font-size: 11.5px; }
    /* headline — stacked (one clause per line), bigger, white glow on the 2nd line only */
    .rh1 { font-size: clamp(32px, 9.6vw, 42px); line-height: 1.05; letter-spacing: -0.04em; }
    .rh1 .rh-clause { display: block; }
    .rh1 .rh-clause[data-track="win"] { text-shadow: none !important; }
    #heroNow { color: #fff !important; text-shadow: 0 0 12px rgba(255,255,255,0.42), 0 0 26px rgba(255,255,255,0.15) !important; }
    /* reduced sub text */
    .rsub { font-size: 14px; margin-top: 22px; line-height: 1.5; }
    .rstats { padding: 64px 0 56px; }
    .rfoot-cols { gap: 32px; }
  }

/* ╔═══════════════════════════════════════════════════════════════╗
   ║  3 · ENTRANCE PRE-HIDE  (released by the entrance animation)    ║
   ╚═══════════════════════════════════════════════════════════════╝ */
html.xd-preanim .rhero .rwrap > *, html.xd-preanim .rscene { opacity: 0 !important; }

/* ╔═══════════════════════════════════════════════════════════════╗
   ║  4 · DIRECT-EDIT OVERRIDES                                      ║
   ╚═══════════════════════════════════════════════════════════════╝ */
.xd-logo { font-size: 24px !important }
.xd-logo { font-size: 20px !important }
.xd-logo { font-size: 18px !important }
.xrail { padding: 20px !important }
.xrail { padding: 0px !important }
.xrail { padding: 10px !important }
.xrail { padding: 50px !important }
.xrail { padding: 5px !important }
.xrail { padding: 0px !important }

/* ╔═══════════════════════════════════════════════════════════════╗
   ║  5 · APP INTEGRATION OVERRIDES                                  ║
   ║     larger hero headline (retained) + win-rate ring fix         ║
   ╚═══════════════════════════════════════════════════════════════╝ */
/* Retain the larger hero headline from the app's earlier refinement pass. */
.rh1 { font-size: clamp(38px, 5.4vw, 68px); letter-spacing: -0.042em; line-height: 1.0; }
@media (max-width: 600px){ .rh1 { font-size: clamp(34px, 9.8vw, 46px); line-height: 1.04; } }

/* Win-rate ring: v3-common.js hides every .sc-viz circle on scroll-in but only
   restores the sparkline tips, leaving the green arc invisible (the faint track
   then reads as a hollow "box"). Force both ring circles visible so the gauge
   always shows its 68% fill. */
.ring circle { opacity: 1 !important; }

/* Extra breathing room between the sub-headline and the phone demo on mobile.
   Padding-bottom on .rwrap is what actually creates the visual gap — .rmobile
   sits outside .rwrap so margin-top alone doesn't push far enough. */
@media (max-width: 720px) {
  .rhero .rwrap { padding-bottom: 52px; }
  .rmobile { margin-top: 0 !important; }
}
