/* =========================================================
   AurexPay — brand tokens from the Orbit A board
   ========================================================= */
:root {
  --ink: #0C0D17;
  --ink-2: #13152A;
  --ink-3: #1B1E36;
  --paper: #F4F2ED;
  --paper-2: #ECE9E1;
  --white: #FFFFFF;
  --violet: #5B3FE0;
  --violet-band: #4B33D6;
  --violet-soft: #A99BFF;
  --gold: #E6C07B;
  --gold-hi: #F3D9A4;
  --gold-deep: #A9782A;
  --text: #0C0D17;
  --muted: #5A5D6E;
  --muted-light: #A3A6BE;
  --line: rgba(12, 13, 23, .09);
  --line-2: rgba(12, 13, 23, .16);
  --line-light: rgba(255, 255, 255, .09);
  --ok: #33C48D;

  --f-display: "Poppins", system-ui, sans-serif;
  --f-body: "Geist", system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;

  --r-s: 8px;
  --r-m: 12px;
  --r-l: 18px;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --nav-h: 64px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --shadow-1: 0 1px 2px rgba(12,13,23,.04), 0 8px 24px -12px rgba(12,13,23,.18);
  --shadow-2: 0 1px 2px rgba(12,13,23,.05), 0 24px 60px -28px rgba(12,13,23,.35);
  --shadow-dark: 0 50px 100px -40px rgba(0,0,0,.75), 0 30px 120px -50px rgba(91,63,224,.6);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--ink); }

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--r-s); font-weight: 600;
}
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* film grain on dark grounds */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: .07; mix-blend-mode: overlay;
}

.gold-text {
  background: linear-gradient(100deg, var(--gold-hi) 0%, var(--gold) 45%, #C99643 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px;
  font: 600 15px/1 var(--f-body); letter-spacing: -.005em;
  border-radius: var(--r-s);
  border: 1px solid transparent;
  transition: transform .25s var(--ease-out), background-color .25s, border-color .25s, box-shadow .25s, color .25s;
  white-space: nowrap; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.985); transition-duration: .08s; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn--full { width: 100%; }
.btn .arr { transition: transform .3s var(--ease-out); flex: none; }
.btn:hover .arr { transform: translateX(3px); }

.btn--gold {
  background: linear-gradient(180deg, #EFD196 0%, #E2B866 100%); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -1px 0 rgba(120,80,20,.18), 0 8px 24px -10px rgba(230,192,123,.55);
}
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.btn--gold:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(120,80,20,.18), 0 14px 34px -12px rgba(230,192,123,.75); }
.btn--gold:hover::after { transform: translateX(120%); }

.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.03); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.07); }

.btn--ink { background: var(--ink); color: var(--white); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 10px 24px -12px rgba(12,13,23,.6); }
.btn--ink::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--violet), #7A5CF0);
  opacity: 0; transition: opacity .3s var(--ease);
}
.btn--ink:hover::before { opacity: 1; }

/* ---------- Nav (floating capsule) ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: 12px; transition: padding .35s var(--ease-out); }
.nav__in {
  position: relative;
  display: flex; align-items: center; gap: 28px; height: var(--nav-h);
  padding: 0 10px 0 14px; margin: 0 -14px;
  border: 1px solid transparent; border-radius: 16px;
  transition: background-color .35s var(--ease), border-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav.is-solid .nav__in {
  background: rgba(14, 15, 28, .88);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.nav__logo img { height: 44px; width: auto; margin-left: -12px; }
.nav__links { display: flex; gap: 2px; margin-left: 8px; }
.nav__links a {
  position: relative; color: rgba(255,255,255,.7); font-size: 14.5px; font-weight: 500;
  padding: 10px 14px; border-radius: 10px; transition: color .25s, background-color .25s;
}
.nav__links a:hover { color: var(--white); background: rgba(255,255,255,.05); }
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--gold); opacity: 0; transform: scale(0); transition: opacity .25s, transform .3s var(--ease-out);
}
.nav__links a.is-active { color: var(--white); }
.nav__links a.is-active::after { opacity: 1; transform: none; }
.nav__cta { margin-left: auto; display: flex; gap: 8px; }
.nav__progress {
  position: absolute; left: 16px; right: 16px; bottom: -1px; height: 1px; overflow: hidden; border-radius: 1px;
  opacity: 0; transition: opacity .3s;
}
.nav.is-solid .nav__progress { opacity: 1; }
.nav__progress i { display: block; height: 100%; background: linear-gradient(90deg, transparent, var(--gold)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.nav__toggle { display: none; }
.menu { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  background: var(--ink); color: var(--white);
  display: flex; flex-direction: column;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero__bg i { position: absolute; inset: 0; }
.hero__dots {
  background-image: radial-gradient(rgba(255,255,255,.11) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 68% 42%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 68% 42%, #000 10%, transparent 70%);
}
.hero__glow {
  background:
    radial-gradient(700px 420px at 74% 38%, rgba(91,63,224,.34), transparent 70%),
    radial-gradient(520px 320px at 86% 78%, rgba(230,192,123,.10), transparent 70%),
    radial-gradient(600px 400px at 8% 0%, rgba(91,63,224,.12), transparent 70%);
}
.hero__orbit {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 22%, #000 54%);
  mask-image: linear-gradient(90deg, transparent 22%, #000 54%);
}
.hero__body { flex: 1; display: flex; align-items: center; padding: calc(var(--nav-h) + 44px) 0 40px; }
.hero__grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: rgba(255,255,255,.8);
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.chip__sep { width: 1px; height: 12px; background: rgba(255,255,255,.2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-light); flex: none; }
.dot--live { background: var(--ok); animation: ping 2.4s infinite; }
.dot--soon { background: var(--gold); opacity: .8; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(51,196,141,.55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(51,196,141,0); } }

.hero__title {
  font-size: clamp(42px, 4.9vw, 70px); line-height: 1.02; font-weight: 600; letter-spacing: -.035em;
  margin: 22px 0 20px; max-width: 14ch;
}
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: rgba(255,255,255,.66); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.rails { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font: 500 12.5px/1 var(--f-mono); letter-spacing: .1em; color: rgba(230,192,123,.85); }

/* app frame */
.hero__visual { position: relative; }
.app-frame {
  position: relative;
  background: linear-gradient(180deg, rgba(26,28,50,.92), rgba(15,17,34,.96));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-dark), inset 0 1px 0 rgba(255,255,255,.07);
  overflow: hidden;
}
.app-frame::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(230,192,123,.45), rgba(91,63,224,.15) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.app-frame__bar {
  display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 16px;
  border-bottom: 1px solid var(--line-light); font: 500 12px var(--f-mono); color: var(--muted-light);
}
.lights { display: flex; gap: 6px; flex: none; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: #2A2D47; }
.app-frame__bar .url { flex: 1; min-width: 0; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.env { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); border: 1px solid rgba(51,196,141,.3); background: rgba(51,196,141,.06); border-radius: 6px; padding: 3px 7px; font-size: 10px; letter-spacing: .1em; }
.env .dot { width: 5px; height: 5px; }
.app { display: grid; grid-template-columns: 58px minmax(0, 1fr); min-height: 384px; }
.app__side { border-right: 1px solid var(--line-light); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 0; }
.app__side img { margin-bottom: 10px; }
.app__side span { width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,.05); }
.app__side span.is-on { background: linear-gradient(180deg, #7259EE, var(--violet)); box-shadow: 0 6px 14px -4px rgba(91,63,224,.7); }
.app__main { padding: 24px 24px 18px; min-width: 0; }
.app__head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; flex-wrap: wrap; }
.app__stats { display: flex; gap: 28px; }
.label { font-size: 12px; color: var(--muted-light); letter-spacing: .01em; }
.big { font: 600 34px/1.1 var(--f-display); letter-spacing: -.025em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.mid { font: 500 15px/1.2 var(--f-mono); margin-top: 6px; color: rgba(255,255,255,.9); }
.spark { width: 100%; height: 72px; margin: 18px 0 12px; display: block; overflow: visible; }
.spark__line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-loaded .spark__line { animation: draw 1.8s .9s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.feed__head, .feed__list li {
  display: grid; grid-template-columns: 96px minmax(0, 1.4fr) minmax(0, .8fr) 92px; gap: 10px; align-items: center;
  font-size: 13px;
}
.feed__head { color: var(--muted-light); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; padding: 0 0 9px; border-bottom: 1px solid var(--line-light); }
.feed__list { position: relative; }
.feed__list li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.045); color: rgba(255,255,255,.85); font-variant-numeric: tabular-nums; }
.feed__list li > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed__list li.is-new { animation: rowIn .7s var(--ease-out); background: linear-gradient(90deg, rgba(230,192,123,.09), transparent 70%); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.m { font: 500 10.5px var(--f-mono); padding: 4px 7px; border-radius: 5px; justify-self: start; letter-spacing: .02em; }
.m--upi { color: var(--gold); background: rgba(230,192,123,.11); }
.m--card { color: var(--violet-soft); background: rgba(91,63,224,.2); }
.m--nb { color: #9FD6FF; background: rgba(120,190,255,.11); }
.s { font-size: 12px; justify-self: start; display: inline-flex; align-items: center; gap: 6px; }
.s::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.s--ok { color: var(--ok); }
.s--pend { color: var(--gold); }
.s--pend::before { background: transparent; border: 1.5px solid currentColor; width: 5px; height: 5px; }

/* floating cards */
.float {
  position: absolute; z-index: 2;
  background: rgba(22, 24, 44, .78);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08);
}
.float--toast {
  left: -40px; bottom: -26px;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  animation: floatY 6s ease-in-out infinite;
}
.float__ok { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: linear-gradient(180deg, #5FE0AE, var(--ok)); box-shadow: 0 0 0 5px rgba(51,196,141,.14); flex: none; }
.float__text { display: flex; flex-direction: column; line-height: 1.3; }
.float__text strong { font-size: 13.5px; font-weight: 600; }
.float__text span { font-size: 12px; color: var(--muted-light); font-variant-numeric: tabular-nums; }
.float--toast.is-bump .float__ok { animation: bump .6s var(--ease-out); }
@keyframes bump { 0% { transform: scale(.6); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.float--settle {
  right: -24px; top: -26px; padding: 12px 16px;
  display: flex; flex-direction: column; gap: 2px;
  animation: floatY 7s ease-in-out -2s infinite;
}
.float--settle strong { font: 600 18px var(--f-display); letter-spacing: -.02em; color: var(--gold); font-variant-numeric: tabular-nums; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* bottom strip */
.hero__strip { position: relative; border-top: 1px solid var(--line-light); background: linear-gradient(180deg, rgba(12,13,23,0), rgba(12,13,23,.6)); }
.strip { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.strip__label { font: 500 11.5px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); flex: none; }
.strip__logos { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); flex-wrap: wrap; }
.strip__logos li { display: flex; align-items: center; }
.strip__logos img { height: 22px; width: auto; filter: brightness(0) invert(1); opacity: .5; transition: opacity .3s, filter .3s; }
.strip__logos li:hover img { filter: none; opacity: 1; }
.strip__word { font: 700 15px var(--f-body); letter-spacing: -.01em; color: rgba(255,255,255,.5); font-style: italic; transition: color .3s; }
.strip__word:last-child { font-style: normal; letter-spacing: .04em; }
.strip__word:hover { color: var(--white); }

.motion-toggle {
  margin-left: auto; flex: none;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px; background: transparent; color: rgba(255,255,255,.5);
  border: 1px solid var(--line-light); border-radius: 999px; font: 500 11.5px var(--f-mono); letter-spacing: .04em; cursor: pointer;
  transition: color .25s, border-color .25s;
}
.motion-toggle:hover { color: var(--white); border-color: rgba(255,255,255,.3); }
.motion-toggle__icon { width: 10px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.motion-toggle[aria-pressed="true"] .motion-toggle__icon { border: none; border-left: 9px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; width: 0; height: 0; }

/* hero entrance */
.js [data-enter] .chip,
.js [data-enter] .lead,
.js [data-enter] .hero__actions,
.js [data-enter] .rails,
.js [data-enter] .hero__strip { opacity: 0; transform: translateY(14px); }
.js [data-enter] .hero__title .w > span { transform: translateY(105%); }
.js [data-enter] .app-frame { opacity: 0; transform: translateY(28px) scale(.985); }
.js [data-enter] .float { opacity: 0; }

.is-loaded [data-enter] .chip,
.is-loaded [data-enter] .lead,
.is-loaded [data-enter] .hero__actions,
.is-loaded [data-enter] .rails,
.is-loaded [data-enter] .hero__strip { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.is-loaded [data-enter] .hero__title .w > span { transform: none; transition: transform 1s var(--ease-out); }
.is-loaded [data-enter] .hero__title .w:nth-child(1) > span { transition-delay: .05s; }
.is-loaded [data-enter] .hero__title .w:nth-child(2) > span { transition-delay: .1s; }
.is-loaded [data-enter] .hero__title .w:nth-child(3) > span { transition-delay: .15s; }
.is-loaded [data-enter] .hero__title .w:nth-child(4) > span { transition-delay: .2s; }
.is-loaded [data-enter] .hero__title .w:nth-child(5) > span { transition-delay: .25s; }
.is-loaded [data-enter] .hero__title .w:nth-child(6) > span { transition-delay: .3s; }
.is-loaded [data-enter] .hero__title .w:nth-child(7) > span { transition-delay: .35s; }
.is-loaded [data-enter] .lead { transition-delay: .45s; }
.is-loaded [data-enter] .hero__actions { transition-delay: .55s; }
.is-loaded [data-enter] .rails { transition-delay: .65s; }
.is-loaded [data-enter] .app-frame { opacity: 1; transform: none; transition: opacity 1.2s var(--ease-out) .35s, transform 1.4s var(--ease-out) .35s; }
.is-loaded [data-enter] .float { opacity: 1; transition: opacity .9s var(--ease-out) 1.1s; }
.is-loaded [data-enter] .float--settle { transition-delay: 1.3s; }
.is-loaded [data-enter] .hero__strip { transition-delay: .8s; }

/* ---------- Sections ---------- */
.sec { position: relative; padding: clamp(96px, 12vh, 136px) 0; min-height: 100vh; display: flex; align-items: center; }
.sec > .wrap { width: 100%; }
.sec--paper { background: var(--paper); }
.sec--white { background: var(--white); }
.sec--violet { color: var(--white); background: radial-gradient(900px 520px at 92% 0%, rgba(230,192,123,.18), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(12,13,23,.35), transparent 70%), var(--violet-band); }

.sec__head { max-width: 760px; margin-bottom: 44px; }
.sec__head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.sec__head--split h2 { max-width: 22ch; }
.sec__head--split .sub { margin-top: 0; justify-self: end; max-width: 40ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; opacity: .7; }
.eyebrow--gold { color: var(--gold); }
h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em; }
.sub { font-size: 18px; line-height: 1.6; color: var(--muted); margin-top: 22px; max-width: 56ch; }
.sec__head--light .sub { color: rgba(255,255,255,.72); }

/* scroll reveal (once, restrained) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js [data-reveal="stagger"] { opacity: 1; transform: none; }
.js [data-reveal="stagger"] > * { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js [data-reveal].is-in, .js [data-reveal="stagger"].is-in > * { opacity: 1; transform: none; }
.js [data-reveal="stagger"].is-in > :nth-child(2) { transition-delay: .1s; }
.js [data-reveal="stagger"].is-in > :nth-child(3) { transition-delay: .2s; }

/* ---------- Products (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 26px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 28px; overflow: hidden;
  box-shadow: var(--shadow-1);
}
.js [data-reveal="stagger"].is-in > .card { transition: opacity 1s var(--ease-out), transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s; }
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(91,63,224,.08), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(91,63,224,.55), rgba(230,192,123,.35) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.card:hover::before, .card:hover::after { opacity: 1; }
.card__kicker { display: flex; justify-content: space-between; align-items: center; font: 500 11.5px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 16px; }
.card__num { color: rgba(12,13,23,.28); letter-spacing: .06em; }
.card h3 { font-size: clamp(20px, 1.75vw, 25px); line-height: 1.15; font-weight: 600; letter-spacing: -.025em; margin-bottom: 12px; }
.card__text p:not(.card__kicker) { color: var(--muted); max-width: 44ch; font-size: 16px; }
.card__vis {
  position: relative; border-radius: var(--r-m); padding: 22px; align-self: stretch;
  display: flex; align-items: center; justify-content: center; min-height: 236px;
  background:
    radial-gradient(rgba(12,13,23,.07) 1px, transparent 1.2px) 0 0 / 16px 16px,
    linear-gradient(180deg, #F7F5F0, var(--paper-2));
  border: 1px solid rgba(12,13,23,.05);
  overflow: hidden;
}
.card__vis > * { transition: transform .6s var(--ease-out); }
.card:hover .card__vis > * { transform: translateY(-4px) scale(1.015); }

/* checkout fragment */
.checkout { width: 100%; max-width: 340px; background: var(--white); border-radius: var(--r-m); border: 1px solid var(--line); padding: 18px; box-shadow: 0 20px 40px -24px rgba(12,13,23,.4); }
.checkout__top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px dashed var(--line-2); font-size: 13.5px; color: var(--muted); }
.checkout__top strong { font: 600 20px var(--f-display); letter-spacing: -.02em; color: var(--ink); }
.checkout__label { font-size: 11.5px; color: var(--muted); margin: 14px 0 8px; }
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.app-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; padding: 10px 4px; border: 1px solid var(--line); border-radius: var(--r-s); }
.app-btn:first-child { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(91,63,224,.12); }
.cards-row { display: flex; align-items: center; gap: 14px; }
.cards-row img { height: 17px; width: auto; }
.rupay { font: 700 13px var(--f-body); font-style: italic; color: #097A44; letter-spacing: -.01em; }
.checkout__pay { position: relative; overflow: hidden; margin-top: 16px; height: 42px; border-radius: var(--r-s); background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 13.5px; font-weight: 600; }
.checkout__pay span:last-child { position: relative; }
.checkout__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--violet), #7A5CF0); transform-origin: left; transform: scaleX(0); animation: fill 3.2s var(--ease) infinite; }
@keyframes fill { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }

/* payouts fragment */
.payouts { width: 100%; display: grid; gap: 8px; }
.payouts li { display: grid; grid-template-columns: minmax(0, 1fr) auto 92px; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-s); padding: 12px 14px; font-size: 13.5px; box-shadow: 0 6px 16px -12px rgba(12,13,23,.3); }
.payouts .who { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.payouts .amt { font-family: var(--f-mono); font-size: 12.5px; }
.payouts .st { font-size: 12px; color: #12935F; text-align: right; transition: color .3s; }
.payouts .st.is-pend { color: var(--gold-deep); }

/* chat fragment */
.chat { width: 100%; max-width: 310px; background: #EFE8DC; border-radius: var(--r-m); padding: 12px; box-shadow: 0 20px 40px -26px rgba(12,13,23,.45); }
.chat__head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 2px 4px 10px; }
.bubble { background: var(--white); border-radius: 12px 12px 12px 3px; padding: 10px 12px; font-size: 13px; line-height: 1.45; max-width: 92%; }
.paylink { display: block; margin-top: 6px; color: var(--violet); font-family: var(--f-mono); font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
.bubble--in { margin: 8px 0 0 auto; background: #D9FDD3; border-radius: 12px 12px 3px 12px; width: max-content; animation: pop 3.6s var(--ease-out) infinite; }
.tick { color: #0B7A4B; font-weight: 600; }
@keyframes pop { 0%, 30% { opacity: 0; transform: translateY(6px) scale(.96); } 42%, 100% { opacity: 1; transform: none; } }

/* ---------- Routing ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.points { margin-top: 40px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.points li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.points__n { font: 500 12px/1.9 var(--f-mono); color: var(--gold-deep); letter-spacing: .06em; }
.points p { color: var(--muted); max-width: 48ch; font-size: 16px; }
.points strong { color: var(--ink); font-weight: 600; }

.router { position: relative; aspect-ratio: 520 / 420; width: 100%; max-width: 620px; justify-self: end; }
.router::before {
  content: ""; position: absolute; inset: -8% -6%; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(12,13,23,.09) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.router__svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; }
.router__lines path { stroke: #E2DFEF; }
.router__flow path { stroke: var(--violet); stroke-opacity: .35; stroke-dasharray: 3 9; animation: flow 1.1s linear infinite; }
.router__flow path:first-child { stroke: var(--gold-deep); }
@keyframes flow { to { stroke-dashoffset: -12; } }
.pulse { fill: var(--violet); filter: drop-shadow(0 0 6px rgba(91,63,224,.8)); }
.pulse--gold { fill: var(--gold-deep); filter: drop-shadow(0 0 6px rgba(230,192,123,.9)); }
.node {
  position: absolute; z-index: 2; transform: translate(-50%, -50%);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m);
  padding: 12px 16px; box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; white-space: nowrap;
  transition: box-shadow .3s, border-color .3s;
}
.node:hover { box-shadow: var(--shadow-2); border-color: var(--line-2); }
.node strong { font: 600 17px var(--f-display); letter-spacing: -.02em; }
.node span { color: var(--muted); }
.node--in { left: 13.5%; top: 50%; }
.node--hub {
  left: 48%; top: 50%; background: var(--ink); color: var(--white); align-items: center; padding: 18px 22px 12px; border: none;
  box-shadow: 0 24px 50px -18px rgba(91,63,224,.75), inset 0 1px 0 rgba(255,255,255,.08);
}
.node--hub span { color: var(--gold); font: 500 10.5px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.hub__ring {
  position: absolute; left: 50%; top: 50%; width: 170%; height: 62%; margin: -31% 0 0 -85%;
  border: 1.5px solid rgba(230,192,123,.55); border-radius: 50%;
  transform: rotate(-18deg); animation: ring 10s linear infinite; pointer-events: none;
}
@keyframes ring { from { transform: rotate(-18deg); } to { transform: rotate(342deg); } }
.node--a { left: 86%; top: 21.4%; }
.node--b { left: 86%; top: 50%; }
.node--c { left: 86%; top: 78.6%; }
.node__ok {
  position: absolute; right: -7px; top: -7px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 7 11.5 12 5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: 0 0 0 3px var(--white);
  animation: ok 2.8s var(--ease-out) infinite; opacity: 0;
}
.node--a .node__ok { animation-delay: 3.5s; }
.node--b .node__ok { animation-delay: 3.9s; }
.node--c .node__ok { animation-delay: 4.4s; }
@keyframes ok { 0% { opacity: 0; transform: scale(.4); } 10% { opacity: 1; transform: scale(1.1); } 16% { transform: scale(1); } 60% { opacity: 1; } 80%, 100% { opacity: 0; } }

/* ---------- Markets ---------- */
.markets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.market {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-l); padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
  display: flex; flex-direction: column; min-height: 320px;
}
.js [data-reveal="stagger"].is-in > .market { transition: opacity 1s var(--ease-out), transform .45s var(--ease-out), border-color .4s; }
.market:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.34); }
.market--live { background: linear-gradient(180deg, #14162A, var(--ink)); border-color: rgba(230,192,123,.25); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08); }
.market__glyph {
  position: absolute; right: -6px; bottom: -40px; z-index: -1;
  font: 700 220px/1 var(--f-display); letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12);
  transition: transform .8s var(--ease-out), -webkit-text-stroke-color .4s;
}
.market--live .market__glyph { -webkit-text-stroke-color: rgba(230,192,123,.3); }
.market:hover .market__glyph { transform: translateY(-8px) rotate(-3deg); }
.market__top { display: flex; justify-content: space-between; align-items: center; }
.cc { font: 600 12.5px var(--f-mono); letter-spacing: .1em; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(230,192,123,.7); color: var(--gold); }
.status { font-size: 12.5px; color: rgba(255,255,255,.72); display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 12px; background: rgba(255,255,255,.04); }
.status--live { color: var(--white); border-color: rgba(51,196,141,.4); background: rgba(51,196,141,.08); }
.market h3 { font-size: 36px; font-weight: 600; letter-spacing: -.03em; margin-top: auto; padding-top: 56px; }
.ccy { font: 500 13px var(--f-mono); letter-spacing: .06em; color: var(--gold); margin-top: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.tags li { font-size: 12.5px; padding: 5px 10px; border-radius: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.06); display: inline-flex; align-items: center; gap: 6px; }
.tag-icon img { filter: brightness(1.15); }
.markets__cta { margin-top: 44px; }

/* ---------- Contact ---------- */
.close { overflow: hidden; }
.close__mark { position: absolute; right: -140px; top: -120px; width: 620px; height: auto; opacity: .045; pointer-events: none; transform: rotate(-8deg); }
.close__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.mega { font-size: clamp(52px, 7.4vw, 112px); line-height: .95; letter-spacing: -.045em; }

.channels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 36px; max-width: 440px; }
.channel {
  display: flex; align-items: center; gap: 14px; min-width: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m);
  padding: 14px 18px 14px 14px; box-shadow: var(--shadow-1);
  transition: transform .35s var(--ease-out), border-color .3s, box-shadow .35s;
}
.channel:hover { transform: translateY(-2px); border-color: rgba(91,63,224,.3); box-shadow: var(--shadow-2); }
.channel__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.channel__icon--tg { background: rgba(38,165,228,.1); }
.channel__icon--mail { background: rgba(91,63,224,.08); color: var(--violet); }
.channel__text { display: flex; flex-direction: column; min-width: 0; }
.channel__label { font-size: 12.5px; color: var(--muted); }
.channel__text strong { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; letter-spacing: -.01em; }
.channel__go { margin-left: auto; color: var(--violet); flex: none; transition: transform .35s var(--ease-out); }
.channel:hover .channel__go { transform: translateX(4px); }

.social { margin-top: 30px; }
.social__label { font: 500 11.5px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.social__list { display: flex; flex-wrap: wrap; gap: 10px; }
.social__btn {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(12,13,23,.04);
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .3s;
}
.social__btn img { transition: transform .35s var(--ease-out); }
.social__btn:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 12px 24px -14px rgba(12,13,23,.5); }
.social__btn:hover img { transform: scale(1.08); }
.social__btn:active { transform: translateY(0) scale(.95); }

.form {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: 34px; display: grid; gap: 18px;
  box-shadow: 0 1px 2px rgba(12,13,23,.04), 0 40px 80px -40px rgba(12,13,23,.4);
}
.form::before {
  content: ""; position: absolute; left: 34px; right: 34px; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--violet), transparent);
}
.form__head { margin-bottom: 4px; }
.form__title { font: 600 22px var(--f-display); letter-spacing: -.02em; }
.form__note { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.field label { font-size: 13.5px; font-weight: 500; }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select {
  height: 50px; width: 100%; padding: 0 14px; border-radius: 10px; border: 1px solid #DAD7CF; background: #FBFAF7;
  font: 400 16px var(--f-body); color: var(--ink);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field input::placeholder { color: #A8A69F; }
.field input:hover, .field select:hover { border-color: #C6C2B8; }
.field input:focus, .field select:focus { outline: none; background: var(--white); border-color: var(--violet); box-shadow: 0 0 0 4px rgba(91,63,224,.12); }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 38px; cursor: pointer;
  background: #FBFAF7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%235A5D6E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 12px no-repeat;
}
.field.has-err input { border-color: #C9372C; box-shadow: 0 0 0 4px rgba(201,55,44,.1); }
.err { font-size: 13px; color: #B42318; }

/* ---------- Footer ---------- */
.foot { position: relative; overflow: hidden; background: var(--ink); color: rgba(255,255,255,.66); padding: 88px 0 0; }
.foot__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.foot__brand > img { height: 52px; width: auto; margin-left: -16px; }
.foot__brand p { margin-top: 12px; max-width: 34ch; font-size: 15px; }
.foot__cols { display: grid; grid-template-columns: repeat(3, auto); gap: 24px 80px; }
.foot__cols h4 { font: 500 11.5px var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: 12px; }
.foot__cols a { position: relative; display: flex; align-items: center; min-height: 36px; width: fit-content; font-size: 15px; color: rgba(255,255,255,.74); transition: color .25s; overflow-wrap: anywhere; }
.foot__cols a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.foot__cols a:hover { color: var(--white); }
.foot__cols a:hover::after { transform: scaleX(1); }
.social__list--foot { margin-top: 24px; }
.social__list--foot .social__btn { background: rgba(255,255,255,.94); border-color: transparent; }
.foot__base { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 0 36px; font-size: 12.5px; color: rgba(255,255,255,.42); }
.foot__word {
  font: 700 clamp(96px, 21vw, 320px)/.78 var(--f-display); letter-spacing: -.06em; text-align: center;
  white-space: nowrap; user-select: none; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: -.12em; padding-top: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__body { padding-top: calc(var(--nav-h) + 64px); }
  .hero__title { max-width: 16ch; }
  .hero__visual { max-width: 720px; }
  .hero__orbit { -webkit-mask-image: linear-gradient(180deg, transparent 35%, #000 65%); mask-image: linear-gradient(180deg, transparent 35%, #000 65%); }
  .float--toast { left: 16px; bottom: -34px; }
  .float--settle { right: 16px; }
  .strip { flex-wrap: wrap; gap: 14px 28px; padding-block: 22px; }
  .split, .close__grid { grid-template-columns: minmax(0, 1fr); }
  .router { justify-self: start; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > :first-child { grid-column: span 2; }
  .markets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market--live { grid-column: span 2; }
  .sec__head--split { grid-template-columns: minmax(0, 1fr); }
  .sec__head--split .sub { justify-self: start; }
  .close__mark { width: 420px; right: -120px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  :root { --nav-h: 60px; }
  .nav { padding-top: 8px; }
  .nav__in { margin: 0 -8px; padding: 0 8px 0 10px; border-radius: 14px; }
  .nav__cta { display: none; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px; margin-left: auto;
    width: 44px; height: 44px; background: rgba(255,255,255,.04); border: 1px solid var(--line-light); border-radius: 12px; cursor: pointer;
  }
  .nav__toggle span { display: block; width: 18px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease-out); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav__logo img { height: 38px; }
  .menu:not([hidden]) {
    display: flex; flex-direction: column; gap: 2px; position: fixed; inset: 0; z-index: -1;
    background: var(--ink); padding: calc(var(--nav-h) + 40px) var(--gutter) 32px;
    animation: menuIn .45s var(--ease-out);
  }
  .menu a:not(.btn) { color: var(--white); font: 600 30px var(--f-display); letter-spacing: -.03em; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
  .menu .btn { margin-top: 28px; }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

  .hero__body { padding: calc(var(--nav-h) + 52px) 0 72px; }
  .hero__actions .btn { width: 100%; }
  .rails { margin-top: 28px; }
  .app { grid-template-columns: minmax(0, 1fr); }
  .app__side { display: none; }
  .app__main { padding: 18px 16px 14px; }
  .app__stats { gap: 20px; }
  .big { font-size: 28px; }
  .feed__head, .feed__list li { grid-template-columns: minmax(0, 1fr) auto; }
  .feed__head span:nth-child(2), .feed__list li > span:nth-child(2),
  .feed__head span:nth-child(4), .feed__list li > span:nth-child(4) { display: none; }
  .float--settle { display: none; }
  .float--toast { left: 12px; right: auto; bottom: -26px; }
  .strip { padding-block: 44px 22px; }
  .strip__logos img { height: 18px; }
  .motion-toggle { margin-left: 0; }

  .sec { min-height: 0; padding: 88px 0; }
  .sec__head { margin-bottom: 36px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento > :first-child { grid-column: auto; }
  .card { padding: 22px; }
  .card__vis { padding: 16px; min-height: 0; }
  .payouts li { grid-template-columns: minmax(0, 1fr) auto; }
  .payouts .st { grid-column: 1 / -1; text-align: left; }
  .markets { grid-template-columns: minmax(0, 1fr); }
  .market--live { grid-column: auto; }
  .market { min-height: 0; }
  .market h3 { padding-top: 36px; }
  .market__glyph { font-size: 170px; }
  .markets__cta .btn { width: 100%; white-space: normal; text-align: center; padding: 14px 18px; }

  .router { aspect-ratio: auto; max-width: none; display: flex; flex-direction: column; gap: 14px; padding-left: 26px; }
  .router::before { inset: 20px auto 20px 8px; width: 0; background: none; border-left: 2px dashed #D9D6EA; -webkit-mask-image: none; mask-image: none; }
  .router__svg { display: none; }
  .node { position: relative; transform: none; left: auto !important; top: auto !important; }
  .node--hub { flex-direction: row; gap: 12px; align-self: flex-start; padding: 12px 18px; }
  .node--hub img { width: 34px; height: 34px; }
  .hub__ring { display: none; }

  .close__mark { width: 300px; right: -90px; top: -60px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .form { padding: 24px 20px; border-radius: 18px; }
  .form::before { left: 20px; right: 20px; }
  .foot { padding-top: 64px; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
  .foot__cols > div:last-child { grid-column: 1 / -1; }
  .foot__cols a { min-height: 44px; }
}

@media (max-width: 420px) {
  .hero__title { font-size: clamp(30px, 10.4vw, 42px); }
  h2 { font-size: clamp(28px, 8.6vw, 36px); }
  .mega { font-size: clamp(40px, 13.5vw, 52px); }
  .hero__title, h2, .card h3 { overflow-wrap: break-word; }
  .chip { flex-wrap: wrap; row-gap: 2px; }
}

/* pause and reduced motion */
.is-paused .dot--live, .is-paused .checkout__fill, .is-paused .bubble--in,
.is-paused .float, .is-paused .router__flow path, .is-paused .hub__ring, .is-paused .node__ok { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-enter] *, .js [data-reveal], .js [data-reveal] > * { opacity: 1 !important; transform: none !important; }
  .spark__line { stroke-dashoffset: 0; }
  .checkout__fill { transform: scaleX(.6); }
  .bubble--in, .node__ok { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* hover lifts must win over the reveal's resting transform */
.card { transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s; }
.market { transition: transform .45s var(--ease-out), border-color .4s; }
.js [data-reveal="stagger"].is-in > .card:hover,
.js [data-reveal="stagger"].is-in > .market:hover { transform: translateY(-4px); transition-delay: 0s; }

/* products holds the tallest visuals: a little less air keeps it on one screen */
@media (min-width: 1081px) { #products { padding-block: 84px; } #products .card { gap: 22px; } }
.tags { min-height: 68px; align-content: flex-start; }
@media (max-width: 760px) { .tags { min-height: 0; } }
.nav__logo { display: flex; align-items: center; min-height: 44px; }
