/* Strix Options — site styles
   Order: tokens, base, nav, hero, dashboard mock, marquee, sections, pages, components, motion, responsive */

:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  --blue: #2b2bf5;
  --blue-2: #1e1ec8;
  --blue-ink: #1a1ab8;
  --navy: #0b1440;
  --navy-2: #111c55;
  --dark: #08081a;
  --dark-2: #0f0f26;
  --teal: #3dd6c4;
  --orange: #f0862e;
  --pink: #f48bb3;
  --green: #63e6a0;
  --purple: #a98bff;
  --white: #fff;
  --ink: #0c0f2c;
  --ink-2: #55598a;
  --lilac: #d4d7ff;
  --lav: #eef0ff;
  --lav-2: #e3e6ff;
  --line: rgba(255, 255, 255, 0.14);
  --line-d: #dcdff5;
  --nav-h: 52px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
html {
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 100px);
}
*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html {
  overflow-x: clip;
}
body {
  overflow-x: clip;
  max-width: 100%;
}
body {
  font-family: var(--font);
  background: var(--blue);
  color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  transition:
    transform 0.15s,
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--blue {
  background: var(--blue);
  color: #fff;
}
.btn--blue:hover {
  background: var(--blue-2);
}
.btn--white {
  background: #fff;
  color: var(--blue);
}
.btn--white:hover {
  background: #eef0ff;
}
.btn--ghost {
  border: 1.5px solid rgba(12, 15, 44, 0.2);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--ink);
}
.btn--ghostw {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn--ghostw:hover {
  border-color: #fff;
}
.btn--lg {
  height: 46px;
  padding: 0 24px;
  font-size: 14px;
}
.chev {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  margin-left: 5px;
  opacity: 0.7;
}

/* ---------- NAV ---------- */
.navwrap {
  position: fixed;
  /* --staging-bar-h: 24px on the Staging Box only (staging.js), unset (0px) everywhere else */
  top: calc(env(safe-area-inset-top, 0px) + var(--staging-bar-h, 0px));
  left: 0;
  right: 0;
  z-index: 60;
  padding: 18px 20px 0;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  margin-inline: auto;
  width: min(1200px, 100%);
  height: var(--nav-h);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  display: flex;
  align-items: center;
  padding: 0 8px 0 22px;
  gap: 4px;
  box-shadow: 0 6px 30px rgba(6, 10, 60, 0.16);
  position: relative;
}
.brand {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  margin-right: 28px;
}
.brand__mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  display: grid;
  place-items: center;
}
.brand__mark::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: -3px 3px 0 0 var(--teal);
}
.nav__links {
  display: flex;
  gap: 2px;
  font-size: 13px;
  font-weight: 500;
}
.nav__links > a,
.nav__links > .dd > a {
  padding: 8px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}
.nav__links > a:hover,
.dd:hover > a {
  background: var(--lav);
}
.dd {
  position: relative;
}
.dd__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -20px;
  width: min(720px, calc(100vw - 40px));
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(6, 10, 60, 0.25);
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 20px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.dd:hover .dd__menu,
.dd:focus-within .dd__menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.dd__menu h5 {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.dd__menu a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
}
.dd__menu a:hover {
  color: var(--blue);
}
.nav__spacer {
  flex: 1;
}
.nav__search {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
}
.nav__search svg {
  width: 20px;
  height: 20px;
}
.nav__search:hover {
  background: var(--lav);
}
.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  place-items: center;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  display: block;
}
.sheet {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--staging-bar-h, 0px); /* below the Staging Box bar (staging.js); 0 elsewhere */
  z-index: 70;
  background: #fff;
  color: var(--ink);
  /* 27 Oct (Task 1.1): one gutter for everything in the menu (16px at 320, 24px from 480 up),
     bottom padding clears the home indicator; the sheet scrolls on its own and never hands the
     scroll on to the page behind it */
  --sheet-x: clamp(16px, 5vw, 24px);
  padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--sheet-x) calc(env(safe-area-inset-bottom, 0px) + 32px);
  flex-direction: column;
  gap: 2px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.sheet[open] {
  display: flex;
}
/* the page behind the open menu does not scroll (app.js toggles the class) */
html.sheet-open,
html.sheet-open body {
  overflow: hidden;
}
.sheet a {
  font-size: 26px;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-d);
}
.sheet__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-bottom: 8px;
  flex: none;
}
.sheet__brand,
.sheet a.sheet__brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  flex: 0 1 auto;
  min-width: 0;
}
.sheet__logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.sheet__close {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-right: -8px; /* the X aligns optically with the row ends; the 44px target stays whole */
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
}
.sheet__close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.sheet__close:hover {
  background: var(--lav);
}
.sheet__close:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.sheet .btn {
  margin-top: 20px;
}
/* social links sit under their own rule, apart from the page links */
.sheet__foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-d);
  flex: none;
}
.sheet__foot .socials {
  margin-top: 0;
}
.sheet__foot .socials a {
  font-size: 15px;
  font-weight: 600;
  padding: 0 16px 0 12px;
  border-bottom: 1px solid var(--line-d);
  min-height: 44px;
}

/* ---------- HERO ---------- */
:root {
  --p: 0;
}
.hero {
  position: relative;
  height: calc(100vh + var(--pin));
  --pin: 520px;
}
.hero__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #07071a;
}
.hero__bg picture,
.hero__bg img,
.hero__bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  transform: scale(calc(1.06 - 0.06 * var(--p))) translateY(calc(-2% * var(--p)));
  transform-origin: 50% 40%;
}
.hero__bg video {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero__bg video.ready {
  opacity: 1;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 50% at 50% 100%, rgba(43, 43, 245, 0.55), transparent 70%),
    linear-gradient(to bottom, rgba(7, 7, 26, 0.35), rgba(7, 7, 26, 0) 35%, rgba(7, 7, 26, 0.55) 100%);
}
.hero__stage {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 64vh;
  perspective: 1300px;
  perspective-origin: 50% 100%;
  flex: none;
  animation: stage 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero__panel {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1140px, calc(100% - 40px));
  aspect-ratio: 1140/560;
  background: var(--navy);
  border-radius: 6px;
  overflow: hidden;
  transform-origin: 50% 100%;
  transform: translateX(-50%) rotateX(calc(52deg * (1 - var(--p))))
    scale(calc(1.38 - 0.38 * var(--p)));
  will-change: transform;
  -webkit-mask-image:
    linear-gradient(
      to bottom,
      transparent 0%,
      #000 calc(28% * (1 - var(--p))),
      #000 calc(70% + 12% * var(--p)),
      rgba(0, 0, 0, calc(0.15 + 0.25 * var(--p))) 100%
    ),
    linear-gradient(
      to right,
      transparent 0%,
      #000 calc(7% * (1 - var(--p))),
      #000 calc(100% - 7% * (1 - var(--p))),
      transparent 100%
    );
  mask-image:
    linear-gradient(
      to bottom,
      transparent 0%,
      #000 calc(28% * (1 - var(--p))),
      #000 calc(70% + 12% * var(--p)),
      rgba(0, 0, 0, calc(0.15 + 0.25 * var(--p))) 100%
    ),
    linear-gradient(
      to right,
      transparent 0%,
      #000 calc(7% * (1 - var(--p))),
      #000 calc(100% - 7% * (1 - var(--p))),
      transparent 100%
    );
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  box-shadow:
    0 0 0 1px rgba(120, 140, 255, 0.18),
    0 40px 100px rgba(3, 6, 50, 0.7),
    0 0 120px rgba(43, 43, 245, 0.25);
}
.hero__panel::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(
    to bottom,
    rgba(8, 8, 26, 0),
    rgba(10, 12, 48, 0.45) 60%,
    rgba(12, 14, 60, 0.85)
  );
  pointer-events: none;
}
.hero__copy {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  padding: 0 20px;
  width: 100%;
}
.hero h1 {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 34ch;
  margin-inline: auto;
  text-shadow: 0 6px 40px rgba(3, 6, 50, 0.35);
}
.hero h1 sup {
  font-size: 0.3em;
  vertical-align: top;
  top: 0.4em;
  position: relative;
}
.hero__fade {
  opacity: 1;
}
.hero p {
  margin: 40px auto 0;
  max-width: 480px;
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--lilac);
  line-height: 1.45;
}
.hero__cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero__cue {
  position: fixed;
  z-index: 3;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 22px);
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
  color: #fff;
  opacity: calc(1 - var(--p) * 2);
  animation: cue 2.2s ease-in-out infinite;
}
.hero__cue svg {
  width: 16px;
  height: 16px;
}
@keyframes cue {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 6px);
  }
}
@keyframes stage {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.reveal-load {
  opacity: 0;
  transform: translateY(22px);
  animation: up 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s forwards;
}
@keyframes up {
  to {
    opacity: 1;
    transform: none;
  }
}
/* announcement card */
.promo {
  position: fixed;
  pointer-events: auto;
  right: 24px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  z-index: 55;
  width: 230px;
  background: var(--dark);
  color: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  font-size: 11px;
  opacity: calc(1 - var(--p) * 1.4);
  transform: translateY(calc(var(--p) * 40px));
  animation: up 0.7s 0.6s both;
}
.promo.gone {
  visibility: hidden;
}
.promo[hidden] {
  display: none;
}
.promo__top {
  position: relative;
  height: 96px;
  padding: 14px;
  background:
    radial-gradient(120px 80px at 80% 80%, rgba(61, 214, 196, 0.35), transparent),
    linear-gradient(160deg, #141450, var(--dark));
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.promo__top::after {
  content: '';
  position: absolute;
  right: 14px;
  bottom: 10px;
  width: 90px;
  height: 34px;
  background: linear-gradient(90deg, transparent, rgba(61, 214, 196, 0.6));
  clip-path: polygon(0 100%, 20% 60%, 40% 80%, 60% 30%, 80% 45%, 100% 0, 100% 100%);
}
.promo__x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  font-size: 12px;
}
.promo__body {
  padding: 12px 14px 14px;
  color: #b9c0e8;
  line-height: 1.45;
}
.promo__body a {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-weight: 600;
}

/* ---------- dashboard mock ---------- */
.dash {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 34px 1fr 262px;
  color: #e8ecff;
  font-size: 10px;
  text-align: left;
}
.dash__rail {
  background: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 14px;
  gap: 16px;
}
.dash__rail i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.55);
}
.dash__main {
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.dash__side {
  background: var(--navy-2);
  border-left: 1px solid var(--line);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dash__row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dash__row b {
  font-size: 11px;
  font-weight: 600;
}
.lbl {
  color: #7f89c4;
  font-size: 9px;
}
.pill {
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #c4caf0;
  font-size: 9.5px;
}
.pill--on {
  background: var(--blue);
  color: #fff;
}
.dash__pnl {
  font-size: 12px;
  font-weight: 600;
}
.dash__pnl small {
  display: block;
  font-weight: 400;
  color: #9aa3d6;
  font-size: 9.5px;
  margin-top: 2px;
}
.dash__pnl em {
  font-style: normal;
  color: var(--teal);
}
.dash__chartwrap {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 38px;
  gap: 6px;
}
.dash__chartwrap svg {
  width: 100%;
  height: 100%;
}
.dash__y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #7f89c4;
  font-size: 8.5px;
  padding: 2px 0;
}
.dash__x {
  display: flex;
  justify-content: space-between;
  color: #7f89c4;
  font-size: 8.5px;
  padding-right: 44px;
}
.dash__act {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #c4caf0;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
}
.dash__act b {
  color: #fff;
}
.dash__act i {
  font-style: normal;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--blue);
  display: grid;
  place-items: center;
  color: #fff;
}
.dash__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}
.dash__cardhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.dash__cardhead b {
  font-size: 11px;
}
.dash__btn {
  font-size: 9px;
  background: #fff;
  color: var(--navy);
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 600;
}
.dash__card .big {
  font-size: 14px;
  font-weight: 600;
}
.dash__card .big em {
  font-style: normal;
  color: #9aa3d6;
  font-size: 10px;
  margin-left: 4px;
}
.bar {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), #fff 55%, var(--orange));
  margin: 8px 0 4px;
  position: relative;
}
.bar::after {
  content: '';
  position: absolute;
  left: 68%;
  top: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--navy-2);
}
.two {
  display: flex;
  justify-content: space-between;
  color: #8f98cf;
}
.donut {
  display: grid;
  place-items: center;
  margin: 4px auto 0;
}
.donut svg {
  width: 120px;
  height: 120px;
}
.donut text {
  font-size: 9.5px;
  font-weight: 700;
  fill: #fff;
}

/* ---------- STATS marquee ---------- */
.stats {
  padding: 110px 0 70px;
  overflow: hidden;
}
.stats__track {
  display: flex;
}
.stats:hover .stats__track {
  animation-play-state: paused;
}
.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}
.stat__ico {
  width: 56px;
  height: 56px;
  color: #fff;
  flex: none;
}
.stat__ico svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  width: 100%;
  height: 100%;
}
.stat b {
  display: block;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat span {
  font-size: 12px;
  color: var(--lilac);
}
@keyframes marq {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Two feature tiles ---------- */
.tiles {
  padding: 20px 0 140px;
}
.tiles__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.tile h4 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #fff;
}
.tile__art {
  aspect-ratio: 16/10;
  background: var(--dark);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.tile p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--lilac);
  max-width: 52ch;
}
.tile p b {
  color: #fff;
  font-weight: 600;
}
/* bars art */
.bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  gap: 2%;
  padding: 0 6%;
  perspective: 900px;
}
.bars i {
  flex: 1;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.55),
      rgba(255, 255, 255, 0.12) 35%,
      rgba(255, 255, 255, 0.35) 60%,
      rgba(255, 255, 255, 0.05)
    ),
    linear-gradient(to top, #2b2bf5, #8c8cff 55%, #e6e8ff);
  background-blend-mode: overlay;
  height: calc(var(--h) * 1%);
  transform: rotateY(-18deg) skewY(-6deg);
  box-shadow:
    8px 0 0 rgba(0, 0, 40, 0.45),
    0 0 30px rgba(43, 43, 245, 0.35);
  transform-origin: bottom;
  border-radius: 2px 2px 0 0;
}
.tile__art::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(8, 8, 26, 0.9), transparent);
}
/* tickets art */
.tix {
  position: absolute;
  inset: 0;
}
.tix i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  padding: 8px 18px;
  border-radius: 8px;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(14px, 2vw, 24px);
  color: #0b0b1a;
  transform: rotate(var(--r));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}
.tix .t1 {
  background: var(--purple);
}
.tix .t2 {
  background: var(--pink);
}
.tix .t3 {
  background: var(--green);
}
.tix .t4 {
  background: #ffd36a;
}
.tix .t5 {
  background: var(--teal);
}
.tix .t6 {
  background: #ff9a6a;
}
.tix i:hover {
  transform: rotate(var(--r)) translateY(-4px);
}

/* ---------- STORY (dark pinned scrollytelling) ---------- */
.story {
  position: relative;
  height: 160vh;
  background: var(--dark);
}
.story__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--dark);
}
.scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition:
    opacity 0.9s ease,
    filter 0.9s ease;
  filter: blur(10px);
  --z: 1;
}
.scene.on {
  opacity: 1;
  filter: blur(0);
}
.scene__v {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--z));
  will-change: transform;
  opacity: 0.85;
}
.scene.on::before {
  opacity: 0.35;
}
.scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 70% at 50% 50%, rgba(8, 8, 26, 0.45), rgba(8, 8, 26, 0.92));
}
.scene::before {
  content: '';
  position: absolute;
  inset: -6%;
  transform: scale(1);
  opacity: 0.9;
}

@keyframes kb {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}
.sc1 {
  background: linear-gradient(180deg, #0e1a55 0%, #08081a 100%);
}
.sc1::before {
  background:
    radial-gradient(3px 3px at 12% 30%, rgba(255, 220, 160, 0.9), transparent 60%),
    radial-gradient(3px 3px at 38% 22%, rgba(255, 220, 160, 0.8), transparent 60%),
    radial-gradient(3px 3px at 62% 48%, rgba(255, 220, 160, 0.9), transparent 60%),
    radial-gradient(3px 3px at 84% 30%, rgba(255, 220, 160, 0.8), transparent 60%),
    radial-gradient(3px 3px at 28% 66%, rgba(255, 220, 160, 0.7), transparent 60%),
    radial-gradient(3px 3px at 74% 72%, rgba(255, 220, 160, 0.8), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 22px),
    linear-gradient(120deg, rgba(43, 43, 245, 0.35), transparent 60%);
  -webkit-mask-image:
    linear-gradient(to bottom, #000 30%, transparent 95%),
    linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, #000 30%, transparent 95%),
    linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  mask-composite: intersect;
}
.sc2 {
  background: linear-gradient(180deg, #17172c, #08081a);
}
.sc2::before {
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.06) 0 1px,
      transparent 1px 12px,
      rgba(255, 255, 255, 0.03) 12px 13px,
      transparent 13px 26px
    ),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0 8px, transparent 8px 180px),
    linear-gradient(90deg, #1b1b33 0%, #24243f 30%, #14142a 60%, #0b0b1a 100%);
  -webkit-mask-image: radial-gradient(75% 90% at 40% 50%, #000, transparent);
  mask-image: radial-gradient(75% 90% at 40% 50%, #000, transparent);
}
.sc2 .led {
  position: absolute;
  left: 18%;
  top: 36%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7cff9a;
  box-shadow: 0 0 14px #7cff9a;
  animation: blink 1.6s steps(2) infinite;
  z-index: 1;
}
.sc2 .led:nth-child(2) {
  left: 19.6%;
  top: 44%;
  background: #ff6a6a;
  box-shadow: 0 0 14px #ff6a6a;
  animation-delay: 0.6s;
}
@keyframes blink {
  50% {
    opacity: 0.15;
  }
}
.sc3 {
  background: linear-gradient(180deg, #0a0a1e, #08081a);
}
.sc3::before {
  inset: auto -10% -6% -10%;
  height: 78%;
  background: repeating-linear-gradient(
    0deg,
    #1e1e38 0 4px,
    #101024 4px 10px,
    #2a2a48 10px 12px,
    #101024 12px 19px,
    #171730 19px 21px,
    #0d0d22 21px 28px
  );
  transform: perspective(900px) rotateX(40deg);
  -webkit-mask-image: linear-gradient(to top, #000 35%, transparent);
  mask-image: linear-gradient(to top, #000 35%, transparent);
}
.story__text {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  min-height: 260px;
  padding: 0 24px;
}
.story__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(calc(-50% + var(--py, 0px)));
  padding: 0 24px;
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #eaecff;
  opacity: 0;
  transition:
    opacity 0.6s,
    transform 0.6s;
  filter: blur(6px);
}
.story__line.on {
  opacity: 1;
  filter: blur(0);
}
.story__line.off {
  transform: translateY(calc(-50% - 40px));
}
.story__line small {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #9aa3d6;
  margin-top: 34px;
  letter-spacing: 0;
}

/* ---------- SOLUTION (lavender) ---------- */
.sol {
  background: var(--lav);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.sol__intro {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  padding: 120px 24px;
  overflow: hidden;
}
.sol__intro h2 {
  position: relative;
  z-index: 2;
  font-size: clamp(26px, 3.3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--blue);
}
.sol__intro h2 sup {
  font-size: 0.35em;
  vertical-align: top;
  top: 0.5em;
  position: relative;
}
.fan {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  transform: perspective(1200px) rotateX(58deg) rotateZ(-18deg);
  transform-style: preserve-3d;
  animation: fanspin 60s linear infinite;
}
.fan i {
  position: absolute;
  left: 0;
  top: 0;
  height: min(6vw, 72px);
  margin-top: calc(min(6vw, 72px) / -2);
  width: calc(min(22vw, 280px) + var(--i) * min(1.1vw, 14px));
  border-radius: 14px;
  background: linear-gradient(
    90deg,
    rgba(43, 43, 245, 0) 0%,
    rgba(43, 43, 245, 0.32) 45%,
    rgba(90, 110, 255, 0.75) 100%
  );
  transform-origin: 0 50%;
  transform: rotate(calc(var(--i) * 12.5deg)) translateX(calc(24px + var(--i) * 4px));
  filter: blur(calc(1.5px + var(--i) * 0.18px));
  opacity: 0.6;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}
@keyframes fanspin {
  to {
    transform: perspective(1200px) rotateX(58deg) rotateZ(342deg);
  }
}
.sol__claim {
  padding: 60px 0 120px;
}
.sol__claim h2 {
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--blue);
  max-width: 14ch;
}
/* card stack */
.stack {
  padding: 0 0 120px;
}
.card {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 96px);
  background: #fff;
  border-radius: 22px;
  padding: 28px 28px 28px 34px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
  min-height: min(560px, 72vh);
  box-shadow: 0 30px 80px rgba(20, 20, 120, 0.12);
  margin-bottom: 40px;
  transform-origin: 50% 0;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.card:nth-child(2) {
  top: calc(env(safe-area-inset-top, 0px) + 116px);
}
.card:nth-child(3) {
  top: calc(env(safe-area-inset-top, 0px) + 136px);
}
.card__ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  display: grid;
  place-items: center;
  color: #fff;
}
.card__ico svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.card__body {
  display: flex;
  flex-direction: column;
}
.card h3 {
  margin-top: auto;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--blue-ink);
  max-width: 12ch;
  padding-top: 60px;
}
.card ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
  font-size: 11.5px;
  color: var(--ink-2);
  line-height: 1.4;
  max-width: 420px;
}
.card__art {
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #f3f4ff);
  min-height: 280px;
}
.card__art--img picture,
.card__art--img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.02);
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.card:hover .card__art--img img {
  transform: scale(1.06);
}
.card__art--img.card__art--price img {
  transform: scale(1.38);
  transform-origin: 96% 64%;
}
.card:hover .card__art--img.card__art--price img {
  transform: scale(1.42);
}
.card__art--price .rcpt {
  left: 4%;
  right: auto;
  top: 10%;
  width: 42%;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 20px 50px rgba(20, 20, 120, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset;
}
/* art A: gradient wave */
.artA {
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from 210deg at 70% 40%,
    #2b2bf5,
    #4fe0d8 30%,
    #b7a6ff 55%,
    #f0862e 75%,
    #2b2bf5
  );
  -webkit-mask-image: radial-gradient(60% 80% at 75% 45%, #000 30%, transparent 72%);
  mask-image: radial-gradient(60% 80% at 75% 45%, #000 30%, transparent 72%);
  filter: saturate(1.1);
}
.artA::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    115deg,
    transparent 0 10px,
    rgba(255, 255, 255, 0.35) 10px 12px
  );
}
/* art B: petal ring */
.ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
}
.ring i {
  position: absolute;
  left: 0;
  top: 0;
  width: 150px;
  height: 44px;
  margin-top: -22px;
  border-radius: 22px 6px 22px 6px;
  background: linear-gradient(90deg, var(--orange), #ffc26b 40%, var(--teal) 75%, #6fa8ff);
  transform-origin: 0 50%;
  transform: rotate(calc(var(--i) * 12.86deg)) translateX(38px);
  box-shadow: 4px 6px 12px rgba(20, 20, 80, 0.15);
  opacity: 0.95;
  animation: spin2 30s linear infinite;
}
@keyframes spin2 {
  to {
    transform: rotate(calc(var(--i) * 12.86deg + 360deg)) translateX(38px);
  }
}
/* art C: receipt */
.rcpt {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 10%;
  bottom: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(20, 20, 120, 0.15);
  padding: 18px;
  font-size: 12px;
  color: var(--ink);
  transform: rotate(-3deg);
}
.rcpt div {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-d);
}
.rcpt div:last-child {
  border: 0;
  font-weight: 700;
  font-size: 14px;
}
.rcpt div span:last-child {
  font-weight: 600;
}
.rcpt .z {
  color: var(--blue);
}

/* ---------- STUDIO title + giant text ---------- */
.giant {
  position: relative;
  height: 220vh;
  background: var(--lav);
  color: var(--blue);
}
.giant__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.giant__word {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  will-change: transform, opacity;
  transform: scale(var(--s, 1));
  transform-origin: 50% 50%;
}
.giant__word em {
  font-style: normal;
  background: linear-gradient(90deg, #f0862e, #f48bb3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.giant__word sup {
  font-size: 0.4em;
  color: var(--blue);
}

/* ---------- PRODUCT (dark) ---------- */
.prod {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.crystals {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.crystals i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 120px;
  height: 380px;
  background: linear-gradient(
    180deg,
    rgba(43, 43, 245, 0),
    rgba(43, 43, 245, 0.35) 40%,
    rgba(169, 139, 255, 0.35) 70%,
    rgba(255, 255, 255, 0.08)
  );
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
  transform: rotate(var(--r)) skewX(-8deg);
  filter: blur(1px);
  opacity: 0.8;
}
.crystals i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}
.prod__hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 140px 24px 60px;
  position: relative;
}
.prod__hero h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 22ch;
  margin-inline: auto;
  color: #d7daff;
}
.prod__hero .btn {
  margin-top: 26px;
}
.prod__shot {
  width: min(980px, 100%);
  margin: 70px auto 0;
  position: relative;
  transform: perspective(1200px) rotateX(calc(18deg * (1 - var(--v, 0))));
  transform-origin: 50% 100%;
  transition: transform 0.2s linear;
}
.prod__two {
  padding: 100px 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.prod__two h5 {
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
.prod__two h5 em {
  font-style: normal;
  color: var(--pink);
}
.prod__two h3 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.prod__two h3 span {
  color: #9aa3d6;
  font-weight: 400;
}
.prod__two .btn {
  margin-top: 22px;
}
.uicards {
  padding: 20px 0 140px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
}
.ui {
  background: #0f0f26;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 22px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateY(calc((1 - var(--v, 0)) * 40px));
  opacity: var(--v, 0);
  transition:
    transform 0.5s,
    opacity 0.5s;
}
.ui h4 {
  font-size: 16px;
  font-weight: 600;
}
.ui__box {
  margin-top: auto;
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 11px;
  align-self: center;
  width: min(100%, 360px);
}
.ui__box .rowb {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.ui__box .rowb b {
  font-weight: 600;
}
.ui__box .rowb em {
  font-style: normal;
  color: var(--teal);
  margin-left: 6px;
}
.ui__box .grad {
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(90deg, #3dd6c4, #f0862e 60%, #ff4b4b);
  margin-top: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  color: #fff;
  font-weight: 600;
  font-size: 10px;
}
.ui__box .grad::after {
  content: '';
  position: absolute;
  left: 62%;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.4);
}
.ui__box .pillb {
  background: var(--blue);
  color: #fff;
  padding: 5px 9px;
  border-radius: 5px;
  font-weight: 600;
}
.ui__exp {
  display: grid;
  gap: 8px;
}
.ui__exp div {
  height: 12px;
  border-radius: 3px;
  background: var(--purple);
  width: var(--w);
}
.ui__bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 80px;
}
.ui__bars i {
  flex: 1;
  background: var(--purple);
  height: var(--h);
  border-radius: 2px 2px 0 0;
}
.ui__spark {
  height: 70px;
}
.ui__spark svg {
  width: 100%;
  height: 100%;
}
.ui .chain {
  width: 100%;
  align-self: stretch;
}

/* chain */
.chain {
  background: var(--navy);
  color: #e8ecff;
  border-radius: 14px;
  padding: 16px 0 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.chain__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.chain__head b {
  font-size: 15px;
}
.chain__head .up {
  color: var(--teal);
}
.chain__head .dn {
  color: #ff8e8e;
}
#px {
  font-variant-numeric: tabular-nums;
  min-width: 62px;
  display: inline-block;
}
.chain__scroll {
  overflow-x: auto;
}
.chain table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.chain th {
  font-weight: 500;
  color: #8f98cf;
  text-align: right;
  padding: 10px 12px;
  font-size: 11px;
}
.chain td {
  text-align: right;
  padding: 8px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}
.chain th:first-child,
.chain td:first-child {
  text-align: left;
  padding-left: 18px;
  font-weight: 600;
}
.chain tr.atm td {
  background: rgba(61, 214, 196, 0.09);
}
.chain .pos {
  color: var(--teal);
}
.chain__foot {
  padding: 12px 18px 0;
  font-size: 11px;
  color: #8f98cf;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- PRICING (lavender) ---------- */
.pricing {
  background: var(--lav);
  color: var(--ink);
  padding: 120px 0;
}
.pricing h2 {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--blue-ink);
}
.pricing .lede {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 17px;
  max-width: 52ch;
}
.codebar[hidden] {
  display: none; /* hidden until applyPromo() has a live code; inline-flex below would otherwise win */
}
.codebar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  background: #fff;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(20, 20, 120, 0.08);
}
.code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  padding: 6px 6px 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.code small {
  font-size: 11px;
  letter-spacing: 0;
  background: #fff;
  color: var(--blue);
  padding: 3px 8px;
  border-radius: 999px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.plan {
  position: relative;
  background: #fff;
  border: 1.5px solid transparent;
  border-radius: 22px;
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
}
.plan--pop {
  border-color: var(--blue);
  box-shadow:
    0 0 0 4px rgba(43, 43, 245, 0.12),
    0 24px 60px rgba(43, 43, 245, 0.14);
}
.plan__tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}
.plan__price {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.plan__price s {
  color: #9da1c4;
  font-size: 16px;
}
.plan__price b {
  font-size: 34px;
  letter-spacing: -0.03em;
}
.plan__price span {
  color: var(--ink-2);
  font-size: 13px;
}
.plan__save {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--blue);
  font-weight: 600;
}
.plan dl {
  margin: 20px 0 22px;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  border-top: 1px solid var(--lav-2);
  padding-top: 16px;
}
.plan dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.plan dt {
  color: var(--ink-2);
}
.plan dd {
  font-weight: 600;
}
.plan .btn {
  margin-top: auto;
  width: 100%;
}

/* ---------- FOR (rolling list) ---------- */
.for {
  position: relative;
  height: 300vh;
  background: var(--dark);
  color: #fff;
}
.for__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 5vw, 80px);
  padding: 0 24px;
}
.for__pin > b {
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 500;
  letter-spacing: -0.03em;
  flex: none;
}
.for__list {
  height: clamp(240px, 50vh, 420px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent);
  flex: 1;
  max-width: 760px;
}
.for__list ul {
  list-style: none;
  transform: translateY(var(--ty, 0));
  will-change: transform;
}
.for__list li {
  font-size: clamp(30px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: #5a5f8f;
  transition: color 0.3s;
}
.for__list li.on {
  color: var(--c, #fff);
}

/* ---------- MARKETS (globe) ---------- */
.mkt {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 120px 0 140px;
}
.mkt h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 20ch;
  margin: 0 auto;
  text-align: center;
  color: #d7daff;
}
.mkt__grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 60px;
}
.mkt__list {
  display: grid;
  gap: 14px;
  font-size: 14px;
}
.mkt__list b {
  display: block;
  font-weight: 600;
  font-size: 15px;
}
.mkt__list span {
  color: #9aa3d6;
  font-size: 12.5px;
}
.mkt__more {
  margin-top: 8px;
  color: #fff;
  font-weight: 500;
}

.mkt__region {
  position: absolute;
  right: 8%;
  top: 120px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  opacity: 0.9;
}

/* ---------- CONTACT (lavender) + FOOTER ---------- */
.contact {
  background: var(--lav);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  padding: 150px 24px 90px;
  display: grid;
  place-items: center;
}
.contact__card {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 20px;
  padding: 36px 44px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(20, 20, 120, 0.14);
  min-width: min(420px, 100%);
}
.contact__card h3 {
  font-size: 22px;
  font-weight: 500;
  color: var(--blue-ink);
  letter-spacing: -0.02em;
}
.contact__card .btn {
  margin-top: 20px;
  width: 100%;
}
.fan--c {
  top: 40%;
}
.fan--c i {
  opacity: 0.5;
  background: linear-gradient(
    90deg,
    rgba(43, 43, 245, 0),
    rgba(43, 43, 245, 0.45) 60%,
    rgba(150, 160, 255, 0.9)
  );
}
footer {
  background: var(--lav);
  color: var(--ink);
  padding: 0 20px 24px;
}
.foot {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.2fr 1.2fr 1fr 1.3fr;
  gap: 28px;
  font-size: 13px;
  position: relative;
  z-index: 2;
}
.foot h5 {
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.foot ul {
  list-style: none;
  display: grid;
  gap: 8px;
}
.foot a:hover {
  color: var(--blue);
}
.foot__bottom {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.social {
  display: flex;
  gap: 8px;
}
.social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}
.disc {
  background: var(--lav-2);
  border-radius: 0 0 20px 20px;
  margin: -20px 24px 0;
  padding: 44px 32px 24px;
  font-size: 11px;
  color: var(--ink-2);
  line-height: 1.5;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}
.disc p {
  max-width: 120ch;
  margin-top: 6px;
}
.disc p b {
  color: var(--ink);
}
.disc .made {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

/* ---------- WebGL canvases ---------- */
.gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.sol__iris {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.sol__iris video {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: max(112vh, 760px);
  width: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--lav);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(60% 60% at 50% 50%, #000 62%, transparent 100%);
}
.gl--c {
  filter: blur(2px);
  opacity: 0.6;
}
.gl--bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.prod__hero {
  position: relative;
}
.prod__hero > div {
  position: relative;
  z-index: 1;
}
.gl--globe {
  position: relative;
  width: 100%;
  max-width: 820px;
  aspect-ratio: 1.6;
  margin-inline: auto;
}
/* ---------- misc ---------- */
.io {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.io.in {
  opacity: 1;
  transform: none;
}
.chat {
  position: fixed;
  left: 20px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 50;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1100px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1024px) {
  .nav__links,
  .nav .btn--ghost,
  .nav__search {
    display: none;
  }
  .burger {
    display: grid;
  }
  .tiles__grid,
  .card,
  .prod__two,
  .uicards,
  .mkt__grid {
    grid-template-columns: 1fr;
  }
  .card {
    min-height: 0;
  }
  .card h3 {
    padding-top: 30px;
  }
  .card__art {
    min-height: 240px;
  }
  .mkt__region {
    position: static;
    text-align: center;
    margin-top: 30px;
  }
}
@media (max-width: 768px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .hero {
    --pin: 380px;
  }
  .hero__stage {
    height: 44vh;
    perspective: 900px;
  }
  .hero__panel {
    width: 100%;
    aspect-ratio: 4/3;
    transform: translateX(-50%) rotateX(calc(38deg * (1 - var(--p))))
      scale(calc(1.08 - 0.08 * var(--p)));
  }
  .dash {
    grid-template-columns: 28px 1fr;
  }
  .dash__side {
    display: none;
  }
  .hero__copy {
    margin-top: -48px;
  }
  .hero p {
    margin-top: 22px;
  }
  .hero__cue {
    display: none;
  }
  .promo {
    display: none;
  }
  .stats {
    padding: 70px 0 40px;
  }
  .tiles {
    padding-bottom: 90px;
  }
  .story {
    height: 300vh;
  }
  .sol__intro {
    min-height: 80vh;
  }
  .sol__claim {
    padding: 30px 0 80px;
  }
  .card {
    padding: 22px;
    border-radius: 18px;
  }
  .card ul {
    grid-template-columns: 1fr 1fr;
  }
  .plans {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    margin-inline: -16px;
    padding: 20px 16px 24px;
  }
  .plan {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }
  .for__pin {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 0 20px;
  }
  .for__list {
    width: 100%;
  }
  .chain th:nth-child(n + 5),
  .chain td:nth-child(n + 5) {
    display: none;
  }
  .chain table {
    min-width: 0;
  }
  .foot {
    grid-template-columns: 1fr 1fr;
    padding: 28px 22px;
  }
  .disc {
    grid-template-columns: 1fr;
    margin-inline: 12px;
  }
  .contact {
    padding: 100px 20px 60px;
  }
  .contact__card {
    padding: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    /* 27 Oct (Task 1.5): the pseudo-elements too (the Rules tables' edge fades transitioned under reduce) */
    animation: none !important;
    transition: none !important;
  }
  .hero {
    height: auto;
    --p: 1 !important;
  }
  .hero__pin {
    position: static;
    height: auto;
    overflow: visible;
  }
  .hero__stage {
    height: auto;
  }
  .hero__panel {
    position: relative;
    left: 0;
    transform: none !important;
    margin-inline: auto;
  }
  .hero__cue {
    display: none;
  }
  .io {
    opacity: 1;
    transform: none;
  }
  .ui {
    opacity: 1;
    transform: none;
  }
  .scene {
    opacity: 1;
  }
  .story {
    height: auto;
  }
  .story__pin {
    position: static;
    height: auto;
    display: block;
  }
  .story__line {
    position: static;
    transform: none;
    opacity: 1;
    filter: none;
    padding: 60px 24px;
  }
  .scene {
    display: none;
  }
  .giant {
    height: auto;
  }
  .giant__pin {
    position: static;
    height: auto;
    padding: 100px 0;
  }
  .giant__word {
    transform: none !important;
  }
  .for {
    height: auto;
  }
  .for__pin {
    position: static;
    height: auto;
    padding: 100px 24px;
  }
  .for__list {
    height: auto;
    mask: none;
  }
  .for__list li {
    color: #fff;
  }
}
.brand__img {
  height: 30px;
  width: auto;
  display: block;
}
.brand {
  margin-right: 24px;
}
/* ---------- dropdown navigation ---------- */
.dd {
  position: relative;
}
.dd > a {
  display: inline-flex;
  align-items: center;
}
.dd__menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -14px;
  width: max-content;
  min-width: 250px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border: 1px solid #e6e8f0;
  border-radius: 18px;
  box-shadow:
    0 1px 2px rgba(12, 15, 44, 0.04),
    0 8px 24px rgba(12, 15, 44, 0.08),
    0 24px 48px rgba(6, 10, 60, 0.1);
  padding: 10px;
  display: block;
  opacity: 0;
  transform: translateY(-5px);
  pointer-events: none;
  transition:
    opacity 0.18s ease-out,
    transform 0.18s ease-out;
  z-index: 5;
}
.dd__menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}
.dd.open .dd__menu,
.dd:hover .dd__menu,
.dd:focus-within .dd__menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
/* .dd--closed (app.js): the item was just navigated from or dismissed with Escape, so the menu
   stays shut even though the cursor is still over the trigger / the trigger still has focus */
.nav .dd.dd--closed:not(.open) .dd__menu {
  opacity: 0;
  transform: translateY(-5px);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .dd__menu,
  .nav .dd.dd--closed:not(.open) .dd__menu {
    transition: none;
    transform: none;
  }
}
.dd__cols {
  display: flex;
  gap: 34px;
}
.dd__cols > div {
  flex: 1 1 auto;
  min-width: 0;
}
.dd__cols h5 {
  font-size: 14px;
  font-weight: 600;
  color: #0b0b14;
  padding: 6px 8px 0;
  margin-bottom: 2px;
}
.dd__sub {
  font-size: 12px;
  color: #5b5f76;
  padding: 0 8px 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid #eceef5;
}
.dd__cols a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 500;
  color: #0b0b14;
  white-space: nowrap;
  border-radius: 10px;
  transition:
    background-color 0.18s ease-out,
    color 0.18s ease-out;
}
.nav .dd__cols a:hover,
.nav .dd__cols a:focus-visible {
  background: #eef2ff;
  color: #2b5cff;
}
.nav .dd__cols a:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 1.5px rgba(43, 92, 255, 0.45);
}
.dd > a[aria-expanded='true'] .chev,
.dd:hover .chev {
  transform: translateY(1px) rotate(225deg);
}
.nav .dd.dd--closed:not(.open) .chev {
  transform: translateY(-2px) rotate(45deg);
}
.chev {
  transition: transform 0.2s;
}
.sheet__grp {
  border-bottom: 1px solid var(--line-d);
}
.sheet__grp summary {
  font-size: 26px;
  font-weight: 600;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sheet__grp summary::after {
  content: '+';
  font-weight: 400;
  color: var(--blue);
}
.sheet__grp[open] summary::after {
  content: '–';
}
.sheet__grp a {
  font-size: 17px;
  font-weight: 500;
  border: 0;
  padding: 8px 0 8px 14px;
  color: var(--ink-2);
}
.sheet__grp a.sheet__all {
  color: var(--blue);
  padding-bottom: 14px;
}
/* ---------- stats marquee (seamless) ---------- */
@keyframes marq {
  to {
    transform: translate3d(-33.3333%, 0, 0);
  }
}
.stats__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marq 38s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}
.stats__half {
  display: flex;
  gap: 64px;
  padding-right: 64px;
  flex: none;
}
@media (max-width: 768px) {
  .stats__half {
    gap: 36px;
    padding-right: 36px;
  }
  .stat b {
    font-size: 22px;
  }
  .stat__ico {
    width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stats__track {
    animation: none;
  }
}
/* ---------- pages / router ---------- */
.page {
  display: none;
}
.page.on {
  display: block;
}
.sub {
  background: var(--lav);
  color: var(--ink);
  min-height: 100vh;
  padding: calc(env(safe-area-inset-top, 0px) + 120px) 0 90px;
}
.sub--dark {
  background: var(--dark);
  color: #fff;
}
.sub h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--blue-ink);
}
.sub--dark h1 {
  color: #fff;
}
.sub .lede {
  margin-top: 14px;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 60ch;
}
.sub--dark .lede {
  color: #b9c0e8;
}
.sub h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 56px 0 8px;
}
.sub h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 26px 0 8px;
}
.sub p {
  max-width: 70ch;
}
.sub p + p {
  margin-top: 10px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
/* ---- section labels (26 Oct): the one pill for every small label above a heading, site-wide — the
   Payouts page's "Payout wall" look: light lavender fill, hairline lavender border, Strix blue
   uppercase text, 12px / 600 / 0.08em, 6px 12px, fully rounded, no shadow, no hover. mobile.css lifts
   it to 14px on phones (M-00). Page stylesheets must not restyle it: fx.css's .sub pill and home.css's
   Rev.3 sizes were folded in here. .eyebrow stays only for the two labels that are not section labels
   (the laptop's .why__eyebrow and the sign-in panel's .eyebrow--light). ---- */
/* 28 Oct (Ali): no bubble — the label is plain blue uppercase text (padding, fill and border removed);
   the home-page labels keep the Rev.3 size (16px, 14px on phones). */
.section-eyebrow {
  display: inline-block;
  justify-self: start; /* a grid child hugs its text instead of filling the column */
  align-self: start;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
#page-home .section-eyebrow {
  font-size: 16px;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
@media (max-width: 640px) {
  #page-home .section-eyebrow {
    font-size: 14px;
  }
}
.pcard {
  background: #fff;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 10px 40px rgba(20, 20, 120, 0.06);
}
.sub--dark .pcard {
  background: #12122a;
  color: #fff;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.grid2 > *,
.grid3 > *,
.calc > *,
.community__grid > * {
  min-width: 0;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.phase {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 34px 0;
  border-top: 1px solid var(--line-d);
}
.phase__n {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
}
.phase h2 {
  margin: 6px 0 4px;
}
.phase .sub2 {
  color: var(--ink-2);
  font-size: 15px;
  margin-bottom: 6px;
}
.tbl {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid var(--line-d);
  background: #fff;
}
.tbl table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}
.tbl th,
.tbl td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-d);
  white-space: nowrap;
}
.tbl th {
  font-weight: 600;
  color: var(--ink-2);
  font-size: 12px;
  background: var(--lav);
}
.tbl tr:last-child td {
  border-bottom: 0;
}
.tbl td:first-child {
  font-weight: 600;
}
.sub--dark .tbl {
  background: #12122a;
  border-color: rgba(255, 255, 255, 0.08);
}
.sub--dark .tbl th {
  background: #171733;
  color: #9aa3d6;
}
.sub--dark .tbl th,
.sub--dark .tbl td {
  border-color: rgba(255, 255, 255, 0.06);
}
.acc {
  border-top: 1px solid var(--line-d);
}
.acc details {
  border-bottom: 1px solid var(--line-d);
}
.acc summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.acc summary::after {
  content: '+';
  font-weight: 400;
  font-size: 22px;
  color: var(--blue);
}
.acc details[open] summary::after {
  content: '–';
}
.acc details > p,
.acc details > div {
  padding: 0 0 18px;
  color: var(--ink-2);
  font-size: 15px;
}
.sub--dark .acc,
.sub--dark .acc details {
  border-color: rgba(255, 255, 255, 0.1);
}
.sub--dark .acc details > p {
  color: #b9c0e8;
}
.kpis {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.kpis span {
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--line-d);
}
.form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
/* legacy shape: a <label> wrapping its control (checkout form, api.js fallbacks) */
.form label {
  font-size: 13px;
  font-weight: 600;
  display: grid;
  gap: 6px;
}
/* M-11: .field = label above the control, error line directly below it */
.form .field {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.form .field > label:not(.chk) {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.form .req {
  color: #c62828;
  font-weight: 700;
}
.form__hint {
  margin: 0;
}
.form input[type='text'],
.form input[type='email'],
.form input[type='tel'],
.form input[type='password'],
.form input[type='number'],
.form select,
.form textarea {
  font: inherit;
  color: var(--ink);
  padding: 12px 14px;
  min-height: 46px;
  border-radius: 12px;
  border: 1.5px solid #8b90b6; /* 3:1 against the white field and card */
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.form textarea {
  min-height: 120px;
  line-height: 1.5;
  resize: vertical;
}
.form input::placeholder,
.form textarea::placeholder {
  color: #6f7394; /* 4.6:1 on white */
  opacity: 1;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 43, 245, 0.22);
}
.form input[aria-invalid='true'],
.form select[aria-invalid='true'],
.form textarea[aria-invalid='true'] {
  border-color: #c62828;
}
.form input[aria-invalid='true']:focus,
.form select[aria-invalid='true']:focus,
.form textarea[aria-invalid='true']:focus {
  border-color: #c62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.2);
}
/* inline error: icon + text, so colour is not the only cue */
.field__err {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #b42020;
}
.field__err[hidden] {
  display: none;
}
.field__err::before {
  content: '!';
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  background: #c62828;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.form .chk {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-2);
}
.form .chk input {
  margin-top: 3px;
}
.form .chk input[type='checkbox'] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 1px 0 0;
  accent-color: var(--blue);
}
.form .chk input[type='checkbox']:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.form .chk input[aria-invalid='true'] {
  outline: 2px solid #c62828;
  outline-offset: 1px;
  border-radius: 3px;
}
.form .chk a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
}
.form .field--check .field__err {
  padding-left: 28px; /* under the checkbox text */
}
.note {
  font-size: 12.5px;
  color: var(--ink-2);
}
.empty {
  padding: 60px 28px;
  text-align: center;
  border: 1.5px dashed rgba(255, 255, 255, 0.2);
  border-radius: 20px;
}
.empty h2 {
  margin: 0 0 8px;
}
.slider {
  width: 100%;
  accent-color: var(--blue);
}
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.calc .big {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--blue-ink);
}
/* ---------- scroll-expansion hero (RixTrade) ---------- */
.xp {
  position: relative;
  height: calc(100vh + 900px);
  --p: 0;
}
.xp__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--dark);
}
.xp__bg {
  position: absolute;
  inset: 0;
  background: var(--lav);
  opacity: calc(1 - var(--p));
  transition: none;
}
.xp__media {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(95vw, calc(300px + var(--p) * 1250px));
  height: min(85vh, calc(400px + var(--p) * 400px));
  border-radius: calc(20px - var(--p) * 8px);
  overflow: hidden;
  background: #0b1440;
  box-shadow:
    0 0 50px rgba(0, 0, 0, 0.3),
    0 40px 120px rgba(6, 10, 60, 0.35);
  will-change: width, height;
}
.xp__inner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1040px;
  transform: translate(-50%, -50%) scale(calc(0.5 + var(--p) * 0.5));
  transform-origin: 50% 50%;
}
.xp__inner .chain {
  box-shadow: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding-top: 20px;
}
.xp__inner .chain table {
  min-width: 0;
}
.xp__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: calc(0.5 - var(--p) * 0.3);
  pointer-events: none;
  border-radius: inherit;
}
.xp__title {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0.12em;
  font-size: clamp(44px, 8vw, 112px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--blue);
  mix-blend-mode: normal;
  pointer-events: none;
}
.xp__title em {
  font-style: normal;
  background: linear-gradient(90deg, #f0862e, #f48bb3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.xp__title sup {
  font-size: 0.35em;
  color: var(--blue);
  vertical-align: top;
  position: relative;
  top: 0.3em;
}
.xp__w--l {
  transform: translateX(calc(var(--p) * -150vw));
}
.xp__w--r {
  transform: translateX(calc(var(--p) * 150vw));
}
.xp__kicker,
.xp__hint {
  position: absolute;
  left: 50%;
  z-index: 2;
  color: var(--blue-ink);
  font-weight: 500;
  font-size: clamp(14px, 1.6vw, 20px);
  white-space: nowrap;
  pointer-events: none;
}
.xp__kicker {
  top: calc(50% - min(85vh, calc(400px + var(--p) * 400px)) / 2 - 44px);
  transform: translateX(calc(-50% + var(--p) * -150vw));
}
.xp__hint {
  top: calc(50% + min(85vh, calc(400px + var(--p) * 400px)) / 2 + 18px);
  transform: translateX(calc(-50% + var(--p) * 150vw));
  font-size: 14px;
  color: var(--ink-2);
}
.prod__hero > div {
  opacity: 0;
  transition: opacity 0.7s;
}
.prod__hero.show > div {
  opacity: 1;
}
@media (max-width: 768px) {
  .xp {
    height: calc(100vh + 600px);
  }
  .xp__media {
    width: min(95vw, calc(260px + var(--p) * 650px));
    height: min(80vh, calc(360px + var(--p) * 220px));
  }
  .xp__inner {
    width: 640px;
  }
  .xp__w--l {
    transform: translateX(calc(var(--p) * -180vw));
  }
  .xp__w--r {
    transform: translateX(calc(var(--p) * 180vw));
  }
  .xp__kicker {
    top: calc(50% - min(80vh, calc(360px + var(--p) * 220px)) / 2 - 40px);
  }
  .xp__hint {
    top: calc(50% + min(80vh, calc(360px + var(--p) * 220px)) / 2 + 14px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .prod__hero > div {
    opacity: 1;
  }
  .xp {
    height: auto;
    --p: 1 !important;
  }
  .xp__pin {
    position: static;
    height: auto;
    padding: 80px 0;
  }
  .xp__media {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    margin: 0 auto;
    height: 70vh;
  }
  .xp__title,
  .xp__kicker,
  .xp__hint {
    display: none;
  }
}
/* ---------- WorksWheel port ---------- */
.ww {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 24rem;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.ww__stage {
  position: absolute;
  inset: 0;
  cursor: grab;
  touch-action: pan-x;
  outline: none;
}
.ww__stage:active {
  cursor: grabbing;
}
.ww__stage:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}
.ww__wheel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
}
.ww__card {
  position: absolute;
  backface-visibility: hidden;
  will-change: transform;
}
.ww__face {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  padding: 7%;
  background: linear-gradient(160deg, #1a1a44 0%, #0b0b24 70%);
  box-shadow:
    0 18px 40px -18px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ww__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.ww__face::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 11, 36, 0.92) 0%,
    rgba(11, 11, 36, 0.45) 32%,
    rgba(11, 11, 36, 0) 60%
  );
}
.ww__face::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 40%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.ww__n {
  position: absolute;
  top: 7%;
  left: 7%;
  font-size: 1.4em;
  font-weight: 600;
  color: var(--c);
  letter-spacing: -0.02em;
  z-index: 1;
}
.ww__face b {
  font-size: clamp(16px, 1.9vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}
.ww__face small {
  font-size: clamp(11px, 1vw, 14px);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.3;
  position: relative;
  z-index: 1;
}
.ww__label {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.ww__title {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  letter-spacing: -0.03em;
  font-weight: 500;
  opacity: 0;
  max-width: 30%;
  line-height: 1.05;
}
.ww__index {
  position: absolute;
  top: 7.5%;
  right: 2.5%;
  text-align: right;
  line-height: 1.75;
  list-style: none;
  color: #8f98cf;
}
.ww__index button {
  cursor: pointer;
  transition: color 0.2s;
  font-size: inherit;
}
.ww__index button:hover {
  color: #fff;
}
.ww__index button.on {
  color: #fff;
  font-weight: 500;
}
.ww__hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  font-size: 12px;
  color: #8f98cf;
  pointer-events: none;
  transition: opacity 0.4s;
}
@media (max-width: 768px) {
  .ww__title {
    left: 5%;
    max-width: 40%;
    font-size: 22px !important;
  }
  .ww__index {
    display: none;
  }
}
/* ---------- home tweaks ---------- */
.hero h1 {
  max-width: 16ch;
  font-size: clamp(40px, 5.4vw, 66px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.hero__cta .btn--white {
  min-width: 200px;
}
.hero__note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--lilac);
}
.pricing {
  padding: 90px 0 100px;
}
.tabs {
  display: inline-flex;
  background: #fff;
  border-radius: 999px;
  padding: 4px;
  margin-top: 22px;
  box-shadow: 0 8px 24px rgba(20, 20, 120, 0.08);
}
.tabs button {
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-2);
}
.tabs button.on {
  background: var(--blue);
  color: #fff;
}
.plans[hidden] {
  display: none;
}
.plan__sub {
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 4px;
}
.steps {
  padding: 100px 0;
}
.steps h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-align: center;
}
.steps .lede {
  text-align: center;
  color: var(--lilac);
  margin: 12px auto 0;
  max-width: 46ch;
}
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}
/* ---- GlowCard / spotlight port ---- */
.step {
  --base: 220;
  --spread: 200;
  --radius: 20;
  --border: 3;
  --backdrop: hsl(0 0% 60% / 0.12);
  --size: 200;
  --outer: 1;
  --border-size: calc(var(--border) * 1px);
  --spotlight-size: calc(var(--size) * 1px);
  --hue: calc(var(--base) + (var(--xp, 0) * var(--spread)));
  position: relative;
  border-radius: calc(var(--radius) * 1px);
  padding: 26px;
  touch-action: none;
  background-color: var(--backdrop);
  background-image: radial-gradient(
    var(--spotlight-size) var(--spotlight-size) at calc(var(--x, 0) * 1px) calc(var(--y, 0) * 1px),
    hsl(var(--hue) 100% 70% / 0.1),
    transparent
  );
  background-size: calc(100% + (2 * var(--border-size))) calc(100% + (2 * var(--border-size)));
  background-position: 50% 50%;
  background-attachment: fixed;
  border: var(--border-size) solid var(--backdrop);
  box-shadow: 0 1rem 2rem -1rem #000;
  backdrop-filter: blur(5px);
}
.step::before,
.step::after,
.step__glow::before,
.step__glow::after {
  pointer-events: none;
  content: '';
  position: absolute;
  inset: calc(var(--border-size) * -1);
  border: var(--border-size) solid transparent;
  border-radius: calc(var(--radius) * 1px);
  background-attachment: fixed;
  background-size: calc(100% + (2 * var(--border-size))) calc(100% + (2 * var(--border-size)));
  background-repeat: no-repeat;
  background-position: 50% 50%;
  -webkit-mask: linear-gradient(transparent, transparent), linear-gradient(#fff, #fff);
  mask: linear-gradient(transparent, transparent), linear-gradient(#fff, #fff);
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.step::before,
.step__glow::before {
  background-image: radial-gradient(
    calc(var(--spotlight-size) * 0.75) calc(var(--spotlight-size) * 0.75) at calc(var(--x, 0) * 1px)
      calc(var(--y, 0) * 1px),
    hsl(var(--hue) 100% 50% / 1),
    transparent 100%
  );
  filter: brightness(2);
}
.step::after,
.step__glow::after {
  background-image: radial-gradient(
    calc(var(--spotlight-size) * 0.5) calc(var(--spotlight-size) * 0.5) at calc(var(--x, 0) * 1px)
      calc(var(--y, 0) * 1px),
    hsl(0 100% 100% / 1),
    transparent 100%
  );
}
.step__glow {
  position: absolute;
  inset: 0;
  will-change: filter;
  opacity: var(--outer);
  border-radius: calc(var(--radius) * 1px);
  filter: blur(calc(var(--border-size) * 10));
  background: none;
  pointer-events: none;
  border: none;
}
.step__glow::before {
  inset: -10px;
  border-width: 10px;
}
.step > *:not(.step__glow) {
  position: relative;
  z-index: 1;
}
.step small {
  color: var(--lilac);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.step h3 {
  font-size: 24px;
  margin: 8px 0 6px;
  letter-spacing: -0.02em;
}
.step p {
  color: var(--lilac);
  font-size: 15px;
}
.step .n {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 16px;
}
.community {
  background: var(--dark);
  color: #fff;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.community__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.community h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.community p {
  color: #b9c0e8;
  margin-top: 14px;
  max-width: 46ch;
  font-size: 16px;
}
.discord {
  background: #5865f2;
  color: #fff;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 30px 80px rgba(88, 101, 242, 0.35);
}
.discord h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
}
.discord p {
  color: #e4e6ff;
  margin: 0;
}
.discord .btn {
  background: #fff;
  color: #4752c4;
  align-self: flex-start;
}
.socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 600;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.05);
}
.socials a:hover {
  background: rgba(255, 255, 255, 0.12);
}
.socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.socials--light a {
  border-color: var(--line-d);
  background: #fff;
  color: var(--ink);
}
.socials--light a:hover {
  background: var(--lav);
}
.socials a.dc {
  background: #5865f2;
  border-color: #5865f2;
  color: #fff;
}
.nav .dc-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #5865f2;
  color: #fff;
  display: grid;
  place-items: center;
  margin-right: 2px;
}
.nav .dc-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
/* ---------- 3D tilt cards (TiltCard port) on pricing ---------- */
.plans {
  perspective: 1400px;
}
.plan {
  transform: perspective(1000px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg))
    scale3d(var(--s, 1), var(--s, 1), var(--s, 1));
  box-shadow: var(--sx, 0px) var(--sy, 0px) var(--sb, 0px) rgba(0, 0, 0, var(--so, 0));
  transition:
    transform 0.2s ease-out,
    box-shadow 0.2s ease-out,
    border-color 0.2s;
  will-change: transform;
}
.plan.tilting {
  --s: 1.012;
}
.plan--pop {
  box-shadow:
    0 0 0 4px rgba(43, 43, 245, 0.12),
    var(--sx, 0px) var(--sy, 24px) var(--sb, 60px) rgba(43, 43, 245, var(--so, 0.14));
}
.plan--pop.tilting {
  box-shadow:
    0 0 0 4px rgba(43, 43, 245, 0.12),
    var(--sx) var(--sy) var(--sb) rgba(0, 0, 0, 0.35);
}
/* ---------- Sign-in page (SignInPage port) ---------- */
.signin {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--lav);
  color: var(--ink);
  padding-top: calc(env(safe-area-inset-top, 0px) + 84px);
}
.signin__form {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.signin__box {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.signin h1 {
  font-size: clamp(36px, 4.6vw, 52px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.signin .muted {
  color: var(--ink-2);
  font-size: 15px;
}
.signin form {
  display: grid;
  gap: 18px;
}
.signin label.f {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.glass {
  border-radius: 16px;
  border: 1px solid var(--line-d);
  background: rgba(12, 15, 44, 0.04);
  backdrop-filter: blur(4px);
  transition:
    border-color 0.2s,
    background 0.2s;
  position: relative;
}
.glass:focus-within {
  border-color: rgba(43, 43, 245, 0.6);
  background: rgba(43, 43, 245, 0.06);
}
.glass input {
  width: 100%;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 14px;
  padding: 16px;
  border-radius: 16px;
  color: var(--ink);
}
.glass input:focus {
  outline: none;
}
.glass .eye {
  position: absolute;
  right: 12px;
  top: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  color: var(--ink-2);
}
.glass .eye:hover {
  color: var(--ink);
}
.glass .eye svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.signin .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  gap: 12px;
}
.signin .row label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.signin .row input {
  accent-color: var(--blue);
  width: 16px;
  height: 16px;
}
.signin .row a,
.signin .link {
  color: #6a48ff; /* FE-25: was #7c5cff (3.95:1 on the #f3f4f8 panel); 4.80:1 now, hue kept */
  font-weight: 500;
}
.signin .row a:hover,
.signin .link:hover {
  text-decoration: underline;
}
.signin .primary {
  width: 100%;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  padding: 16px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
}
.signin .primary:hover {
  background: #23264a;
}
.signin .or {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.signin .or span:first-child {
  width: 100%;
  border-top: 1px solid var(--line-d);
}
.signin .or span:last-child {
  position: absolute;
  padding: 0 14px;
  font-size: 13px;
  color: var(--ink-2);
  background: var(--lav);
}
.signin .google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--line-d);
  border-radius: 16px;
  padding: 15px;
  font-weight: 500;
  font-size: 15px;
  transition: background 0.2s;
  background: transparent;
}
.signin .google:hover {
  background: #fff;
}
.signin .google svg {
  width: 20px;
  height: 20px;
}
.signin__hero {
  flex: 1;
  position: relative;
  padding: 16px;
  display: none;
}
.signin__art {
  position: absolute;
  inset: 16px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, #1a1ab8 0%, #2b2bf5 45%, #0b1440 100%);
}
.signin__art canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}
.signin__art .cap {
  position: absolute;
  left: 36px;
  top: 36px;
  color: #fff;
  max-width: 26ch;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.testis {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  padding: 0 32px;
  width: 100%;
  justify-content: center;
}
.testi {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 20px;
  width: 256px;
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
}
.testi .av {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: #fff;
  color: var(--blue);
}
.testi b {
  display: block;
  font-weight: 500;
}
.testi .h {
  color: rgba(255, 255, 255, 0.7);
}
.testi p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.85);
}
.testi:nth-child(2) {
  display: none;
}
.testi:nth-child(3) {
  display: none;
}
@media (min-width: 768px) {
  .signin__hero {
    display: block;
  }
}
@media (min-width: 1280px) {
  .testi:nth-child(2) {
    display: flex;
  }
}
@media (min-width: 1536px) {
  .testi:nth-child(3) {
    display: flex;
  }
}
@media (max-width: 767px) {
  .signin {
    padding-top: calc(env(safe-area-inset-top, 0px) + 76px);
  }
  .signin__form {
    padding: 20px;
  }
}
/* staggered entrance (fadeSlideIn / slideRightIn) */
.signin.play .a-el {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(20px);
  animation: fadeSlideIn 0.6s ease forwards;
}
.signin.play .a-right {
  opacity: 0;
  filter: blur(10px);
  transform: translateX(40px);
  animation: slideRightIn 0.8s ease forwards;
}
.d1 {
  animation-delay: 0.1s !important;
}
.d2 {
  animation-delay: 0.2s !important;
}
.d3 {
  animation-delay: 0.3s !important;
}
.d4 {
  animation-delay: 0.4s !important;
}
.d5 {
  animation-delay: 0.5s !important;
}
.d6 {
  animation-delay: 0.6s !important;
}
.d7 {
  animation-delay: 0.7s !important;
}
.d8 {
  animation-delay: 0.8s !important;
}
.d9 {
  animation-delay: 0.9s !important;
}
@keyframes fadeSlideIn {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}
@keyframes slideRightIn {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .signin.play .a-el,
  .signin.play .a-right {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
  }
}
/* ---------- email popup ---------- */
.pop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(5, 5, 20, 0.6);
  backdrop-filter: blur(6px);
}
.pop.on {
  display: grid;
}
.pop__card {
  position: relative;
  width: min(440px, 100%);
  background: #0f0f26;
  color: #fff;
  border-radius: 22px;
  padding: 30px 28px 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
  animation: up 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.pop__x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 18px;
}
.pop__tag {
  display: inline-block;
  background: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.pop h3 {
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 14px;
}
.pop p {
  color: #b9c0e8;
  font-size: 14px;
  margin-top: 10px;
}
.pop form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.pop input {
  font: inherit;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: #08081a;
  color: #fff;
}
.pop input:focus {
  outline: 2px solid var(--blue);
}
.pop .btn {
  width: 100%;
  height: 46px;
}
.pop small {
  color: #7f89c4;
  font-size: 11px;
  line-height: 1.4;
  display: block;
  margin-top: 8px;
}
.pop__done {
  display: none;
  text-align: center;
  padding: 10px 0;
}
.pop.done .pop__done {
  display: block;
}
.pop.done form,
.pop.done .pop p {
  display: none;
}
/* ---------- mobile ---------- */
@media (max-width: 1024px) {
  .grid3 {
    grid-template-columns: 1fr 1fr;
  }
  .calc,
  .community__grid {
    grid-template-columns: 1fr;
  }
  .steps__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .sub {
    padding-top: calc(env(safe-area-inset-top, 0px) + 96px);
  }
  .grid2,
  .grid3 {
    grid-template-columns: 1fr;
  }
  .phase {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }
  .phase__n {
    width: 40px;
    height: 40px;
  }
  .card ul {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 40px;
  }
  .pricing {
    padding: 60px 0 70px;
  }
  .plans {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    margin-inline: 0;
    padding: 0;
    gap: 14px;
  }
  .plan {
    flex: none;
  }
  .tabs {
    width: 100%;
    justify-content: center;
  }
  .discord {
    padding: 24px;
  }
  .socials a {
    height: 44px;
    padding: 0 12px;
  }
  .nav .dc-btn {
    display: none;
  }
}
/* ---------- rendered visuals: small screens ---------- */
@media (max-width: 768px) {
  .card__art--price picture {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
  }
  .card__art--img.card__art--price img,
  .card:hover .card__art--img.card__art--price img {
    transform: scale(1.15);
    transform-origin: 60% 60%;
  }
  .card__art--price .rcpt {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    transform: none;
    margin: 12px;
  }
  .sol__iris video {
    height: max(96vh, 640px);
  }
}

/* ======================================================================
   v2 — dark editorial visuals (code-driven; overrides earlier rules)
   ====================================================================== */
:root {
  --ink-0: #06060e;
  --ink-1: #0d0d20;
  --ink-2: #14142c;
  --hair: rgba(255, 255, 255, 0.08);
  --mute: #8f98cf;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
/* ---- hero ---- */
.hero__bg {
  background: var(--ink-0);
}
.hero__bg .gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translateY(calc(-3% * var(--p)));
}
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 40% at 50% 92%, rgba(43, 43, 245, 0.55), transparent 70%),
    radial-gradient(40% 30% at 68% 30%, rgba(61, 214, 196, 0.08), transparent 70%);
  pointer-events: none;
}
.hero__veil {
  background:
    linear-gradient(to bottom, rgba(6, 6, 14, 0.85), rgba(6, 6, 14, 0) 20%),
    linear-gradient(to top, rgba(6, 6, 14, 0.92) 8%, rgba(6, 6, 14, 0) 48%);
}
.hero__pin::after,
.ww::after,
.sol::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 3;
}
.hero__panel {
  background: rgba(11, 20, 64, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__panel::after {
  background: linear-gradient(to bottom, rgba(6, 6, 14, 0), rgba(6, 6, 14, 0.4) 60%, rgba(6, 6, 14, 0.9));
}
.hero p {
  color: #b9bfe6;
}
.hero__note {
  color: var(--mute);
}
/* ---- wheel faces ---- */
.ww__face {
  background: linear-gradient(160deg, #15152f 0%, #0a0a1e 70%);
  color: var(--c);
}
.ww__face::before {
  background: linear-gradient(to top, rgba(8, 8, 26, 0.96) 0%, rgba(8, 8, 26, 0.55) 30%, rgba(8, 8, 26, 0) 58%);
}
.ww__face::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 45%);
}
.ww__svg {
  position: absolute;
  left: 4%;
  top: 4%;
  width: 92%;
  height: 66%;
  display: block;
}
/* ---- solution: dark ---- */
.sol {
  background: var(--ink-0);
  color: #fff;
}
.sol__intro {
  min-height: 100vh;
  min-height: 100dvh;
}
.sol__intro h2 {
  color: #fff;
  font-size: clamp(32px, 4.2vw, 56px);
  text-shadow: 0 10px 60px rgba(6, 6, 14, 0.9);
}
.sol__iris {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.sol__iris .gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sol__iris::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(38% 30% at 50% 50%, rgba(6, 6, 14, 0.75), transparent 100%);
}
.sol__claim h2 {
  color: #fff;
}
.sol__claim h2 em {
  font-style: normal;
  color: var(--mute);
}
.card {
  background: var(--ink-1);
  border: 1px solid var(--hair);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}
.card h3 {
  color: #fff;
}
.card ul {
  color: var(--mute);
}
.card__art {
  background: #07071a;
  border: 1px solid var(--hair);
}
.card__art--viz {
  background-color: #07071a;
  background-image:
    linear-gradient(var(--hair) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: center;
}
.card__art--viz::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 70% at 50% 50%, transparent 40%, #07071a 100%);
  pointer-events: none;
}
/* payoff diagram */
.payoff {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 14px;
  z-index: 1;
}
.payoff__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.payoff__tabs button {
  font: 500 11.5px/1 var(--font);
  color: var(--mute);
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s;
}
.payoff__tabs button:hover {
  color: #fff;
}
.payoff__tabs button.on {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}
.payoff__svg {
  flex: 1;
  width: 100%;
  min-height: 0;
  margin-top: 8px;
}
.payoff__grid line {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1;
}
.payoff__zero {
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.payoff__line {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linejoin: round;
}
.payoff__fillp {
  fill: url(#pg);
}
.payoff__filll {
  fill: url(#lg);
}
.payoff__marks circle {
  fill: #07071a;
  stroke: var(--teal);
  stroke-width: 2;
}
.payoff__lbl {
  fill: #6f78a8;
  font: 500 11px var(--font);
}
.payoff__meta {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--mute);
}
.payoff__meta span:first-child {
  color: var(--teal);
}
/* 80 / 20 split */
.split {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 24px;
  padding: 24px;
  z-index: 1;
}
.split__ring {
  position: relative;
  aspect-ratio: 1;
  max-width: 260px;
  width: 100%;
  margin: 0 auto;
}
.split__ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.split__ring circle {
  fill: none;
  stroke-width: 14;
}
.split__track {
  stroke: rgba(255, 255, 255, 0.07);
}
.split__firm {
  stroke: #33336a;
}
.split__you {
  stroke: #6f6fff;
  stroke-linecap: round;
}
.split__num {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1;
}
.split__num b {
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.04em;
}
.split__num span {
  font-size: 16px;
  color: var(--mute);
  margin-left: 2px;
}
.split__num b + span {
  display: inline;
}
.split__num small {
  display: block;
  font-size: 11px;
  color: var(--mute);
  margin-top: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.split__rows {
  font-size: 13px;
}
.split__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--hair);
  color: var(--mute);
}
.split__row b {
  color: #fff;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.split__row--you b {
  color: var(--teal);
}
.split__ladder {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
  padding-top: 14px;
  border-top: 1px solid var(--hair);
  color: var(--mute);
  font-size: 11px;
}
.split__ladder span,
.split__ladder em {
  align-self: center;
  font-style: normal;
}
.split__ladder span {
  margin-right: auto;
}
.split__ladder i {
  width: 14px;
  height: calc(46px * var(--h));
  background: linear-gradient(to top, #2b2bf5, #6f6fff);
  border-radius: 3px 3px 0 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.split.is-done .split__ladder i {
  transform: scaleY(1);
}
.split__ladder i:nth-child(3) { transition-delay: 0.1s; }
.split__ladder i:nth-child(4) { transition-delay: 0.2s; }
.split__ladder i:nth-child(5) { transition-delay: 0.3s; }
/* receipt on dark field */
.card__art--price .rcpt,
.card__art--img.card__art--price .rcpt {
  position: absolute;
  left: 50%;
  top: 50%;
  right: auto;
  width: min(78%, 420px);
  transform: translate(-50%, -62%) rotate(-2deg);
  background: #fff;
  backdrop-filter: none;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  z-index: 1;
}
@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }
  .split__ring {
    max-width: 180px;
  }
  .card__art--price .rcpt,
  .card__art--img.card__art--price .rcpt {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 88%;
    transform: translate(-50%, -50%) rotate(-1.5deg);
    margin: 0;
  }
  .card__art--viz {
    min-height: 340px;
  }
  .payoff__tabs button {
    padding: 6px 9px;
    font-size: 11px;
  }
}
.split__num > div {
  display: flex;
  align-items: baseline;
  justify-content: center;
}
.rcpt--ghost,
.card__art--price .rcpt--ghost {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: var(--mute);
  box-shadow: none;
  transform: translate(-50%, 104px) rotate(1.5deg) scale(0.95);
  z-index: 0;
  padding: 12px 18px;
}
.card__art--price .rcpt--ghost2 {
  transform: translate(-50%, 160px) rotate(-2deg) scale(0.9);
  opacity: 0.55;
}
.rcpt--ghost div,
.card__art--price .rcpt--ghost div {
  border: 0;
  font-weight: 500;
  font-size: 12px;
}
.rcpt--ghost div span:last-child,
.card__art--price .rcpt--ghost div span:last-child {
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.rcpt--ghost,
.card__art--price .rcpt--ghost {
  color: #aab0dd;
}
@media (max-width: 768px) {
  .rcpt--ghost {
    display: none;
  }
}

/* ---- hero v2.1: straighter product shot, gradient headline ---- */
.hero__panel {
  transform: translateX(-50%) rotateX(calc(26deg * (1 - var(--p))))
    scale(calc(1.1 - 0.1 * var(--p)));
  border-radius: 10px;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero h1 .grad {
  background: linear-gradient(92deg, #8f8fff 0%, #4d4dff 42%, #c15cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@property --a {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
/* ---- hero: gradient headline ---- */
.hero h1 .grad {
  background: linear-gradient(90deg, #7c7cff 0%, #3dd6c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ======================================================================
   v3 — hero laid out like clearstreet.io/studio
   ====================================================================== */
.hero {
  height: auto;
  --pin: 0px;
  background: #050509;
}
.hero__pin {
  position: relative;
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  padding: calc(var(--nav-h) + 96px) 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__bg {
  background: #050509;
}
.hero__bg .gl {
  opacity: 0.45;
  transform: none;
}
.hero__glow {
  background:
    radial-gradient(50% 36% at 50% 100%, rgba(43, 43, 245, 0.35), transparent 70%),
    radial-gradient(30% 24% at 50% 22%, rgba(60, 60, 200, 0.18), transparent 70%);
}
.hero__veil {
  background:
    linear-gradient(to bottom, rgba(5, 5, 9, 0.95), rgba(5, 5, 9, 0.6) 45%, rgba(5, 5, 9, 0) 70%),
    linear-gradient(to top, rgba(5, 5, 9, 0.9), rgba(5, 5, 9, 0) 30%);
}
.hero__copy {
  order: 0;
  margin: 0;
  padding: 0 20px;
  max-width: 980px;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 74px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: none;
  text-shadow: none;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #5b5bff 0%, #8f6bff 55%, #ff7ad9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin: 22px auto 0;
  max-width: 760px;
  font-size: clamp(15px, 1.2vw, 17px);
  color: #b3b8d8;
  line-height: 1.5;
}
.hero__cta {
  margin-top: 28px;
}
.hero__cta .btn--blue {
  padding: 0 26px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(43, 43, 245, 0.35);
}
.hero__stage {
  order: 1;
  height: auto;
  width: min(1180px, calc(100% - 40px));
  aspect-ratio: 1180/600;
  margin: 72px auto 0;
  perspective: none;
  animation: none;
  transform: translateY(calc(var(--p) * -24px));
}
.hero__panel {
  transform: translateX(-50%);
  width: 100%;
}
.hero__panel {
  bottom: auto;
  top: 0;
  border-radius: 10px;
  background: #0b1236;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  box-shadow:
    0 0 0 1px rgba(120, 140, 255, 0.16),
    0 40px 120px rgba(0, 0, 0, 0.7);
}
.hero__panel::after {
  display: none;
}
.hero__cue {
  display: none;
}
.hero__pin::after {
  z-index: 4;
}
/* dark nav over the hero */
.nav--dark {
  background: rgba(14, 14, 24, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}
.nav--dark .brand__img {
  filter: none;
}
.nav--dark .nav__links > a,
.nav--dark .nav__links > .dd > a {
  color: #d9dcf2;
}
.nav--dark .nav__links > a:hover,
.nav--dark .nav__links > .dd > a:hover {
  color: #fff;
}
.nav--dark .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: transparent;
}
.nav--dark .btn--blue {
  background: #fff;
  color: var(--ink);
}
.nav--dark .nav__search {
  color: #d9dcf2;
}
@media (max-width: 768px) {
  .hero__pin {
    padding-top: calc(var(--nav-h) + 56px);
  }
  .hero__stage {
    width: calc(100% - 24px);
    margin-top: 40px;
    aspect-ratio: 1180/640;
  }
}
@media (max-width: 768px) {
  .hero h1 .grad {
    display: block;
  }
}

/* ======================================================================
   v4 — hero product tour (views + scroll scrub)
   ====================================================================== */
.hero__stage {
  --s: 0;
  transform: translateY(calc(40px * (1 - var(--s)))) scale(calc(0.9 + 0.1 * var(--s)));
  transform-origin: 50% 0;
  will-change: transform;
}
.hero__panel {
  overflow: hidden;
}
.dash {
  opacity: 0;
  transform: scale(1.015);
  transition:
    opacity 0.45s ease,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}
.dash--on {
  opacity: 1;
  transform: none;
}
.dash__rail i.on {
  background: #fff;
}
/* extra dashboard widgets for the new views */
.dash__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 9.5px;
  font-variant-numeric: tabular-nums;
}
.dash__table th {
  text-align: left;
  font-weight: 500;
  color: #8f98cf;
  padding: 6px 6px 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dash__table td {
  padding: 7px 6px 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}
.dash__table tr.atm td {
  background: rgba(43, 43, 245, 0.18);
}
.dash__table td:first-child {
  font-weight: 600;
}
.dash__tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(61, 214, 196, 0.16);
  color: #3dd6c4;
  font-size: 9px;
  font-weight: 600;
}
.dash__tag--p {
  background: rgba(240, 134, 46, 0.16);
  color: #f0862e;
}
.dash__kv {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #8f98cf;
}
.dash__kv b {
  color: #fff;
  font-weight: 600;
}
.dash__cta {
  margin-top: 10px;
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 7px 0;
  border-radius: 7px;
  font-weight: 600;
  font-size: 10px;
}
.dash__kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.dash__kpis > div {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 12px;
}
.dash__kpis small {
  display: block;
  color: #8f98cf;
  font-size: 9px;
}
.dash__kpis b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin: 3px 0 2px;
  letter-spacing: -0.02em;
}
.dash__kpis em {
  font-style: normal;
  font-size: 9px;
  color: #8f98cf;
}
.dash__bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 10px 0 4px;
  min-height: 0;
  position: relative;
}
.dash__bars::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}
.dash__bars i {
  flex: 1;
  height: calc(45% * var(--h));
  background: #3dd6c4;
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
  transform: translateY(-50%);
  opacity: 0.9;
}
.dash__bars i[style*='--neg'] {
  background: #ff6a6a;
  transform: translateY(-50%) scaleY(-1);
  opacity: 0.8;
}
@media (max-width: 768px) {
  .dash__kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash__table th:nth-child(n + 6),
  .dash__table td:nth-child(n + 6) {
    display: none;
  }
}

.dash__bars i {
  position: absolute;
  left: calc((100% / 14) * var(--i) + 2px);
  width: calc(100% / 14 - 5px);
  bottom: 48%;
  height: calc(42% * var(--h));
  transform: none;
  flex: none;
}
.dash__bars i[style*='--neg'] {
  bottom: auto;
  top: 52%;
  transform: none;
  border-radius: 0 0 2px 2px;
}
.dash__bars::before {
  top: 52%;
}

/* ======================================================================
   v5 — site-wide rhythm and component language after clearstreet.io/studio
   dark hero → dark stat grid → light sections → dark narrative → light footer card
   ====================================================================== */
:root {
  --paper: #ffffff;
  --paper-2: #f3f4f8;
  --paper-line: #e4e6ee;
  --text: #0b0b14;
  --text-2: #6b7186;
  --cs-blue: #2b5cff;
}
body {
  background: #050509;
}
/* nav: always the dark frosted pill, like theirs */
.nav,
.nav--dark {
  background: rgba(14, 14, 24, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.nav .brand__img {
  filter: none;
}
.nav .nav__links > a,
.nav .nav__links > .dd > a,
.nav .nav__search {
  color: #d9dcf2;
}
.nav .nav__links > a:hover,
.nav .nav__links > .dd > a:hover {
  color: #fff;
}
.nav .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: transparent;
}
.nav .btn--blue {
  background: #fff;
  color: var(--text);
}
/* ---- stats: dark grid with hairlines (their feature strip) ---- */
.stats {
  background: #050509;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* ---- light sections ---- */
.pricing,
.steps,
.xp,
.sub {
  background: var(--paper);
  color: var(--text);
}
.pricing h2,
.steps h2,
.sub h2,
.sub h1 {
  color: var(--text);
}
.pricing .lede,
.steps .lede,
.sub .lede {
  color: var(--text-2);
}
.codebar,
.tabs {
  background: var(--paper-2);
  border: 1px solid var(--paper-line);
  box-shadow: none;
}
.plan {
  background: var(--paper-2);
  border: 1px solid var(--paper-line);
  box-shadow: none;
}
.plan--pop {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(43, 43, 245, 0.08);
}
.plan.tilting,
.plan--pop.tilting {
  box-shadow:
    var(--sx, 0px) var(--sy, 0px) var(--sb, 0px) rgba(10, 10, 40, 0.14);
}
.plan__sub,
.plan dt {
  color: var(--text-2);
}
.plan h3,
.plan dd,
.plan__price b {
  color: var(--text);
}
.pricing .note {
  color: var(--text-2);
}
/* steps → their "our clients" grey cards with outline icons */
.step {
  background: var(--paper-2);
  background-image: none;
  border: 1px solid var(--paper-line);
  box-shadow: none;
  backdrop-filter: none;
  color: var(--text);
}
.step::before,
.step::after,
.step__glow {
  display: none;
}
.step .n {
  background: var(--blue);
  color: #fff;
}
.step small {
  color: var(--text-2);
}
.step h3 {
  color: var(--text);
}
.step p {
  color: var(--text-2);
}
/* ---- dark narrative sections ---- */
.community,
.contact,
footer {
  background: #050509;
  color: #fff;
}
.contact h2,
.community h2 {
  color: #fff;
}
.community p {
  color: #b3b8d8;
}
.contact .contact__card,
.contact > .wrap > div {
  background: transparent;
}
/* footer: light rounded card on the dark field, like theirs */
.foot {
  background: var(--paper-2);
  color: var(--text);
  border: 1px solid var(--paper-line);
}
.foot h5,
.foot a {
  color: var(--text);
}
.foot small,
.foot__bottom,
.foot p {
  color: var(--text-2);
}
/* ---- two-tone headline reveal (words fill from grey as you scroll) ---- */
[data-reveal] .w {
  color: rgba(255, 255, 255, 0.28);
  transition: color 0.25s linear;
}
.light [data-reveal] .w,
.pricing [data-reveal] .w,
.steps [data-reveal] .w {
  color: rgba(11, 11, 20, 0.22);
}
[data-reveal] .w.lit {
  color: inherit;
}
/* ---- type: their tighter, quieter scale ---- */
h2 {
  letter-spacing: -0.035em;
}
.lede {
  font-size: 16px;
}
/* buttons → pill */
.btn {
  border-radius: 999px;
}
/* v5 fixes */
.xp,
.xp__bg {
  background: var(--paper);
}
.xp__w--l {
  color: var(--text);
}
.contact .contact__card {
  background: #0d0d20;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}
.contact .contact__card h3 {
  color: #fff;
}
.contact .contact__card .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.contact .gl--c {
  opacity: 0.35;
}
.discord {
  background: #0d0d20;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}
.discord p,
.discord small {
  color: #b3b8d8;
}
.discord .btn {
  background: #5865f2;
  color: #fff;
}
.disc {
  background: #050509;
  color: #8a90a8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.disc b,
.disc strong {
  color: #c9cde6;
}
.disc,
.disc * {
  color: #8a90a8;
}
.disc b,
.disc strong {
  color: #c9cde6;
}

/* ======================================================================
   v6 — "what goes wrong" as the Studio capabilities list (pinned, scroll-lit)
   ====================================================================== */
.cap {
  position: relative;
  background: #050509;
  color: #fff;
  height: calc(100vh * 5);
}
.cap__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 40px;
  padding: calc(var(--nav-h) + 40px) clamp(20px, 6vw, 96px) 0;
  overflow: hidden;
}
.cap__kicker {
  position: absolute;
  top: calc(var(--nav-h) + 40px);
  left: clamp(20px, 6vw, 96px);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f78a8;
}
.cap__stack {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 400 / 300;
  margin-left: auto;
  margin-right: clamp(10px, 4vw, 60px);
}
.cap__card {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(160deg, #15152f 0%, #0a0a1e 70%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  color: var(--c);
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition:
    opacity 0.45s ease,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  overflow: hidden;
}
.cap__card.is-on {
  opacity: 1;
  transform: none;
}
.cap__art {
  position: absolute;
  left: 4%;
  top: 4%;
  width: 92%;
  height: 62%;
}
.cap__art svg {
  width: 100%;
  height: 100%;
  display: block;
}
.cap__meta {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  color: #fff;
}
.cap__n {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--c);
  margin-bottom: 6px;
}
.cap__meta b {
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.cap__meta small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.cap__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cap__line button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.12em 0;
  cursor: pointer;
  font: 500 clamp(26px, 3.9vw, 56px) / 1.14 var(--font);
  letter-spacing: -0.035em;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.35s ease;
  text-align: left;
}
.cap__line.is-on button,
.cap__line button:hover {
  color: #fff;
}
.cap__line button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 6px;
  border-radius: 6px;
}
@media (max-width: 900px) {
  .cap {
    height: calc(100vh * 4);
  }
  .cap__pin {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 22px;
    padding-top: calc(var(--nav-h) + 40px);
  }
  .cap__kicker {
    top: calc(var(--nav-h) + 16px);
  }
  .cap__stack {
    width: min(100%, 300px);
    margin: 0;
  }
  .cap__line button {
    font-size: clamp(22px, 7vw, 32px);
    line-height: 1.25;
  }
}
/* v6b — six items, more air; lenis */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.cap {
  height: calc(100vh * 4.2);
}
.cap__line button {
  font: 500 clamp(28px, 4.4vw, 64px) / 1.2 var(--font);
  padding: 0.14em 0;
}
.cap__pin {
  gap: 64px;
}

/* ======================================================================
   v7 — HeroParallax (Aceternity) port, vanilla: replaces the aperture intro
   ====================================================================== */
.hp {
  position: relative;
  height: 300vh;
  padding: 160px 0;
  overflow: hidden;
  perspective: 1000px;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
}
.hp__head {
  position: relative;
  z-index: 2;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 80px 24px 160px;
  pointer-events: none;
}
.hp__head h2 {
  font-size: clamp(34px, 5.2vw, 72px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: #fff;
  text-align: left;
}
.hp__head h2 sup {
  font-size: 0.35em;
  vertical-align: top;
  top: 0.5em;
  position: relative;
}
.hp__head p {
  max-width: 42rem;
  margin-top: 32px;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.5;
  color: #b3b8d8;
}
.hp__grid {
  --rx: 15deg;
  --rz: 20deg;
  --ty: -700px;
  --o: 0.2;
  --tx: 0px;
  transform: rotateX(var(--rx)) rotateZ(var(--rz)) translateY(var(--ty));
  opacity: var(--o);
  will-change: transform, opacity;
}
.hp__row {
  display: flex;
  gap: 5rem;
  margin-bottom: 5rem;
  transform: translateX(var(--tx));
  will-change: transform;
}
.hp__row--rev {
  flex-direction: row-reverse;
  transform: translateX(calc(var(--tx) * -1));
}
.hp__row:last-child {
  margin-bottom: 0;
}
.hp__card {
  position: relative;
  flex: none;
  width: 30rem;
  height: 24rem;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, #15152f 0%, #0a0a1e 70%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  color: var(--c);
  text-decoration: none;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.35s ease;
}
.hp__card:hover {
  transform: translateY(-20px);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.7);
}
.hp__thumb {
  position: absolute;
  inset: 0;
}
.hp__thumb svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hp__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}
.hp__card:hover::after {
  background: rgba(0, 0, 0, 0.55);
}
.hp__title {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 1;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.01em;
  transition: color 0.3s ease, transform 0.3s ease;
}
.hp__card:hover .hp__title {
  color: #fff;
  transform: translateY(-4px);
}
@media (max-width: 900px) {
  .hp {
    height: 260vh;
    padding: 100px 0;
  }
  .hp__head {
    padding: 40px 20px 100px;
  }
  .hp__row {
    gap: 2rem;
    margin-bottom: 2rem;
  }
  .hp__card {
    width: 60vw;
    height: 48vw;
  }
}

/* Strix Pro tab: final-price note under the cards (live PRO_FINAL_PRICE_NOTE) */
.plans__note {
  max-width: 640px;
  margin: 22px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.72;
}
.plans__note[hidden] {
  display: none;
}
/* Strix Pro cards carry two long values ("Standard instrument rules", "Final price, no
   promotions"). With dd nowrap they forced the 1fr columns wider than the container (4 × 331px
   in 1240 at 1440); here the label keeps one line and the value wraps, right-aligned. */
#plans-pro .plan dt {
  white-space: nowrap;
}
#plans-pro .plan dd {
  white-space: normal;
  text-align: right;
  min-width: 0;
}
