/* ==========================================================================
   Ostra — motion layer
   The sky, the portal, the pinned story, the cursor, the loader and every reveal.
   Loaded after styles.css; html.rm (reduced motion) turns every scene into a still page.
   ========================================================================== */
:root {
  --bg: #07080c;
  --violet: #8a3cf6;
  --violet-hi: #b08cff;
  --gold: #c6b4ff;                          /* the accent is the ring's violet, softened for text on ink */
  --gold-soft: rgba(198, 180, 255, 0.14);
  --out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --in-out: cubic-bezier(0.7, 0, 0.25, 1);
}
body { background: var(--bg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Loader: the ring draws itself as the O, the pearl drops in, "stra" rises beside it ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: #07080c; color: #fff;
  clip-path: inset(0 0 0 0);
  animation: loader-safety 0.6s 4.5s forwards;        /* gone even if the script never runs */
}
@keyframes loader-safety { to { opacity: 0; visibility: hidden; } }
.loader__mark { font-size: clamp(92px, 17vw, 230px); color: var(--text); }
.loader__mark .wm__o { color: var(--violet-hi); }
.loader__ring { stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 16px 16px; animation: loader-draw 0.95s 0.1s var(--in-out) forwards; }
.loader__pearl { opacity: 0; transform: translateY(-24px); animation: loader-drop 0.7s 0.62s cubic-bezier(0.3, 1.5, 0.5, 1) forwards; }
.loader .wm__rest { overflow: hidden; padding: 0.1em 0.04em 0.16em; margin: -0.1em -0.04em -0.16em; }
.loader .wm__rest i { transform: translate3d(0, 110%, 0); animation: loader-rise 0.9s var(--out-expo) forwards; }
.loader .wm__rest i:nth-child(1) { animation-delay: 0.62s; } .loader .wm__rest i:nth-child(2) { animation-delay: 0.68s; }
.loader .wm__rest i:nth-child(3) { animation-delay: 0.74s; } .loader .wm__rest i:nth-child(4) { animation-delay: 0.8s; }
@keyframes loader-draw { to { stroke-dashoffset: 0; } }
@keyframes loader-drop { to { opacity: 1; transform: none; } }
@keyframes loader-rise { to { transform: none; } }
.loader__foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 30px;
  display: flex; justify-content: space-between; font: 500 12px/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.loader__num { color: #fff; font-variant-numeric: tabular-nums; }
.loader.is-out { clip-path: inset(0 0 100% 0); transition: clip-path 0.85s var(--in-out); animation: none; }
.loader.is-out .loader__mark { transform: translate3d(0, -8vh, 0); opacity: 0; transition: transform 0.85s var(--in-out), opacity 0.5s 0.15s; }
.loader.is-out .loader__foot { opacity: 0; transition: opacity 0.3s; }

/* ---------- Between pages: the page settles out and the next one rises in; a hairline runs under the nav ---------- */
.route-bar {
  position: fixed; left: 0; top: 0; z-index: 160; width: 100%; height: 2px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(176, 140, 255, 0), var(--violet-hi) 40%, #fff);
  transform: scaleX(0); transform-origin: left;
}
.route-bar.is-running { opacity: 1; transform: scaleX(0.7); transition: transform 1.6s cubic-bezier(0.08, 0.7, 0.2, 1), opacity 0.15s; }
.route-bar.is-done { transform: scaleX(1); opacity: 0; transition: transform 0.3s var(--out-expo), opacity 0.45s 0.2s; }
body.is-leaving main, body.is-leaving .footer { opacity: 0; transform: translate3d(0, -8px, 0); transition: opacity 0.24s ease-out, transform 0.26s ease-out; }
body.is-entering main { animation: page-in 0.7s var(--out-expo) both; }
body.is-entering .footer { animation: page-fade 0.7s var(--out-expo) both; }
@keyframes page-in { from { opacity: 0; transform: translate3d(0, 16px, 0); } }
@keyframes page-fade { from { opacity: 0; } }

/* ---------- Reveals ---------- */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.08em 0.06em 0.14em; margin: -0.08em -0.06em -0.14em; }
[data-split] .w__i { display: inline-block; transform: translate3d(0, 112%, 0) rotate(5deg); transform-origin: 0 100%; transition: transform 1.15s var(--out-expo); transition-delay: calc(var(--i, 0) * 42ms); }
[data-split].is-in .w__i { transform: none; }
.reveal { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 1.1s var(--out-expo), transform 1.1s var(--out-expo); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; }
.btn[data-magnetic] { transform: translate3d(var(--mx, 0px), var(--my, 0px), 0); transition: transform 0.7s var(--out-expo), background 0.25s, border-color 0.25s, color 0.25s; }
.btn[data-magnetic].is-magnet { transition: transform 0.18s linear, background 0.25s, border-color 0.25s, color 0.25s; }
.btn--primary::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #fff; transform: translate3d(0, 102%, 0); transition: transform 0.55s var(--out-expo); }
.btn--primary:hover::before { transform: none; }
.btn--ghost::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(255, 255, 255, 0.07); transform: scale(0.6); opacity: 0; transition: transform 0.5s var(--out-expo), opacity 0.3s; }
.btn--ghost:hover::before { transform: none; opacity: 1; }
.btn--xl { height: 66px; padding: 0 36px; font-size: 17px; }

/* ---------- Nav over the sky ---------- */
body.is-home .nav { position: fixed; left: 0; right: 0; top: 0; }
body.nav-on-sky .nav { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.nav-on-sky .nav .brand, body.nav-on-sky .nav__links a.is-active { color: #fff; }
body.nav-on-sky .nav__links a { color: rgba(255, 255, 255, 0.85); }
body.nav-on-sky .nav__burger span { background: #fff; }
.nav__links { gap: 26px; }
@media (max-width: 1060px) { .nav__links a[data-route="track"] { display: none; } }
.nav__links a::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--out-expo); }
.nav__links a:hover::before { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-active::after { background: var(--violet-hi); }

/* ==========================================================================
   1. The sky and the portal: one screen, played by the clock (cards.js)
   ========================================================================== */
.portal { position: relative; }
.portal__stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
/* Once the card has landed the night is an ordinary hero, free to grow with its content. */
.portal.is-landed .portal__stage { height: auto; }
.portal.is-landed .night { position: relative; inset: auto; min-height: 100vh; min-height: 100svh; }
.sky[hidden], .sky__front[hidden], .sky__gl[hidden] { display: none; }

.sky { position: absolute; inset: 0; z-index: 2; --hole: 0px; }
.sky.is-open {
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent var(--hole), #000 calc(var(--hole) + 1px));
          mask-image: radial-gradient(circle at 50% 50%, transparent var(--hole), #000 calc(var(--hole) + 1px));
}
.sky__plate { position: absolute; inset: 0; background: #3593ee url('/img/sky.webp') center 72% / cover no-repeat; transform-origin: 50% 45%; will-change: transform; }
@media (max-width: 760px) { .sky__plate { background-image: url('/img/sky-sm.webp'); background-position: 50% 80%; } }

.sky__word {
  position: absolute; left: 0; right: 0; text-align: center; pointer-events: none; white-space: nowrap;
  font: 400 clamp(64px, 14.6vw, 290px)/0.86 var(--serif); letter-spacing: -0.035em; color: #fff;
}
.sky__word em { font-style: italic; }
.sky__word span, .sky__word em { display: inline-block; }
.sky__word--back { top: max(88px, 11vh); text-shadow: 0 6px 40px rgba(16, 60, 150, 0.18); transform-origin: 50% 70%; will-change: transform, opacity; }
.sky__word--front { bottom: 19vh; transform: translate3d(0, calc(var(--out, 0) * 34vh), 0) scale(calc(1 + var(--out, 0) * 0.35)); text-shadow: 0 6px 40px rgba(16, 60, 150, 0.22); }
html:not(.is-loaded) .sky__word span, html:not(.is-loaded) .sky__word em { opacity: 0; transform: translate3d(0, 38%, 0) rotate(3deg); }
html.is-loaded .sky__word span, html.is-loaded .sky__word em { transition: opacity 1.2s var(--out-expo), transform 1.4s var(--out-expo); }
html.is-loaded .sky__word--back span:nth-child(2), html.is-loaded .sky__word--front em { transition-delay: 0.12s; }
html.is-loaded .sky__word--front span { transition-delay: 0.2s; }
html.is-loaded .sky__word--front em { transition-delay: 0.3s; }

.sky__gl { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; opacity: 0; transform: scale(0.9); transition: opacity 1.4s 0.15s var(--out-expo), transform 1.8s 0.15s var(--out-expo); }
html.is-loaded .sky__gl { opacity: 1; transform: none; }
.sky__fallback[hidden] { display: none; }
.sky__fallback { position: absolute; left: 50%; top: 50%; z-index: 3; width: min(58vh, 72vw); transform: translate(-50%, -50%); }

.sky__front { position: absolute; inset: 0; z-index: 4; pointer-events: none; color: #fff; }
.sky__front a, .sky__front button { pointer-events: auto; }
.sky__foot {
  position: absolute; left: 0; right: 0; bottom: clamp(18px, 4vh, 42px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 24px;
  transition: opacity 1s 0.5s var(--out-expo), transform 1s 0.5s var(--out-expo);
}
html:not(.is-loaded) .sky__foot { opacity: 0; transform: translateY(20px); }
/* The foot sits on the cloud bank, so it is set in ink. */
.sky__lede { max-width: 330px; margin: 0; font-size: 15px; line-height: 1.5; color: #14203a; }
.sky__ctas { justify-self: center; }
.sky__ctas .btn--primary { background: #0b0e13; color: #fff; box-shadow: 0 18px 40px -18px rgba(11, 14, 19, 0.7); }
.sky__ctas .btn--primary::before { background: var(--violet); }
/* The night on the other side of the ring */
.night { position: absolute; inset: 0; z-index: 1; display: grid; align-items: center; background: #07080c; overflow: hidden; perspective: 1400px; }
.night__glow {
  position: absolute; left: 62%; top: 52%; width: 110vmax; height: 110vmax; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(138, 60, 246, 0.42), rgba(138, 60, 246, 0.12) 42%, transparent 72%);
  opacity: var(--glow, 0.25); pointer-events: none;
}
.night__dust i {
  position: absolute; width: 7px; height: 7px; border-radius: 50%; opacity: 0.55;
  background: radial-gradient(circle at 35% 30%, #fff, #e3dbd5 55%, #9d8ac8);
  animation: dust 9s ease-in-out infinite alternate; animation-delay: calc(var(--d, 0) * -1.7s);
}
@keyframes dust { to { transform: translate3d(14px, -26px, 0); } }
.night__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.night__title { margin: 0; font: 400 clamp(52px, 7.2vw, 124px)/0.9 var(--serif); letter-spacing: -0.025em; }
.night__title em { font-style: italic; color: var(--gold); }
.night__copy .kicker, .night__copy .lede, .night__copy .hero__ctas, .night__proof { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 0.9s var(--out-expo), transform 0.9s var(--out-expo); }
.night__copy.is-in .kicker { opacity: 1; transform: none; }
.night__copy.is-in .lede { opacity: 1; transform: none; transition-delay: 0.3s; }
.night__copy.is-in .night__proof { opacity: 1; transform: none; transition-delay: 0.38s; }
.night__copy.is-in .hero__ctas { opacity: 1; transform: none; transition-delay: 0.48s; }
.night__proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.night__proof span {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 11px; border-radius: 999px;
  font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2);
}
.night__proof svg { width: 16px; height: 16px; color: var(--violet-hi); }
.night__card { --card-w: min(560px, 44vw); justify-self: center; transform-origin: 50% 100%; will-change: transform, opacity; }

/* ==========================================================================
   3. Pearls in, card out: loops by itself while it's on screen
   ========================================================================== */
.mech { position: relative; }
.mech__stage { position: relative; min-height: 100vh; min-height: 100svh; padding: clamp(80px, 9vw, 130px) 0; display: grid; align-items: center; overflow: hidden; }
.mech__steps li { cursor: pointer; }
.mech__steps li:hover { opacity: 0.8; }
.mech__steps li.is-on:hover { opacity: 1; }
.mech__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.mech .h2 em { font-style: italic; color: var(--gold); }
.mech__steps { list-style: none; margin: 34px 0 0; padding: 0; }
.mech__steps li { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; padding: 18px 0 20px; border-top: 1px solid var(--line); opacity: 0.36; transition: opacity 0.5s var(--out-expo); }
.mech__steps li.is-on { opacity: 1; }
.mech__steps li.is-done { opacity: 0.58; }
.mech__n { font: 500 12px/2.1 var(--mono); letter-spacing: 0.14em; color: var(--gold); }
.mech__steps h3 { margin: 0; font: 400 clamp(24px, 2.3vw, 32px)/1.1 var(--serif); }
.mech__steps p { margin: 0; color: var(--muted); font-size: 15px; max-width: 470px; }
.mech__steps li p { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.7s var(--out-expo), opacity 0.4s, margin 0.5s; }
.mech__steps li.is-on p { max-height: 140px; opacity: 1; margin-top: 8px; }
.mech__bar { position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--violet-hi); transform: scaleX(var(--fill, 0)); transform-origin: left; }

.mech__viz { position: relative; width: min(640px, 100%); aspect-ratio: 1; justify-self: center; container-type: inline-size; }
.mech__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mech__path { fill: none; stroke: rgba(236, 232, 225, 0.16); stroke-width: 1.5; stroke-dasharray: 2 8; stroke-linecap: round; }
.mech__halo { transition: opacity 0.3s; }
.mech__pearls { position: absolute; inset: 0; pointer-events: none; }
.mech__pearl {
  position: absolute; left: 0; top: 0; width: 6.4cqw; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #fff 0%, #f5efe6 30%, #e3dbd5 62%, #b5a8d2 100%);
  box-shadow: 0 1.2cqw 2.6cqw rgba(30, 8, 80, 0.5); will-change: transform, opacity;
}
.mech__wallet, .mech__bal, .mech__swap {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(18, 21, 29, 0.82); border: 1px solid var(--line-2); border-radius: 16px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.mech__wallet { left: -2cqw; top: 3cqw; padding: 10px 16px 10px 10px; will-change: transform, opacity; }
.mech__wallet img { width: 34px; height: 34px; }
.mech__wallet b { display: block; font: 500 14px/1.25 var(--sans); }
.mech__wallet small { font: 400 12px/1.25 var(--mono); color: var(--muted); }
.mech__swap { left: 46cqw; top: 14cqw; padding: 8px 12px; border-radius: 999px; font: 500 12px/1 var(--mono); letter-spacing: 0.06em; opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.5s var(--out-expo); }
.mech__swap.is-on { opacity: 1; transform: none; }
.mech__card { position: absolute; right: -8cqw; bottom: -4cqw; --card-w: 46cqw; transform-origin: 30% 80%; will-change: transform, opacity; }
.mech__bal { left: 0; bottom: 2cqw; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 18px; }
.mech__bal small { font: 500 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.mech__bal b { font: 400 clamp(30px, 6cqw, 44px)/1 var(--serif); font-variant-numeric: tabular-nums; }
.mech__toast { position: absolute; opacity: 0; transform: translate3d(0, 12px, 0) scale(0.96); transition: opacity 0.5s var(--out-expo), transform 0.6s var(--out-expo); animation: none; }
.mech__toast.is-on { opacity: 1; transform: none; }
.mech__toast--a { left: -2cqw; bottom: 22cqw; }
.mech__toast--b { right: -6cqw; top: 26cqw; }

/* Headline italics and tiers pick up the accent */
.h2 em { font-style: italic; color: var(--gold); }
.tier { transition: border-color 0.4s, transform 0.6s var(--out-expo); }
.tier:hover { border-color: rgba(176, 140, 255, 0.35); }
.tier--featured { border-color: rgba(176, 140, 255, 0.28); box-shadow: 0 40px 120px -60px rgba(138, 60, 246, 0.55); }

/* ---------- Finale ---------- */
.finale { position: relative; overflow: hidden; padding: clamp(110px, 15vw, 210px) 0 0; text-align: center; }
.finale__glow { position: absolute; left: 50%; bottom: -28vw; width: 120vw; height: 64vw; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(138, 60, 246, 0.5), rgba(138, 60, 246, 0.14) 45%, transparent 72%); pointer-events: none; }
.finale__inner { position: relative; }
.finale__title { margin: 0; font: 400 clamp(60px, 10.4vw, 176px)/0.9 var(--serif); letter-spacing: -0.035em; }
.finale__title em { font-style: italic; color: var(--gold); }
.finale .lede { margin-inline: auto; }
.finale .hero__ctas { justify-content: center; }
.finale__fan { position: relative; height: clamp(230px, 27vw, 400px); margin-top: clamp(40px, 6vw, 80px); --card-w: clamp(220px, 25vw, 390px); }
.finale__card {
  position: absolute; left: 50%; top: 14%;
  transform: translateX(-50%) translate(calc(var(--dx) * var(--open, 0) * 60%), calc(var(--dy) * var(--open, 0) * 16%)) rotate(calc(var(--dx) * var(--open, 0) * 7deg));
  transition: transform 1.5s var(--out-expo); transition-delay: calc(var(--k) * 70ms);
}
.finale__fan.is-open { --open: 1; }
.finale__card:nth-child(1) { --dx: -1.5; --dy: 1; z-index: 1; }
.finale__card:nth-child(2) { --dx: -0.5; --dy: 0; z-index: 3; }
.finale__card:nth-child(3) { --dx: 0.5; --dy: 0; z-index: 4; }
.finale__card:nth-child(4) { --dx: 1.5; --dy: 1; z-index: 2; }

/* ---------- Footer: the wordmark, huge, with its pearl watching you ---------- */
.footer { margin-top: 0; }
.footer__mega {
  display: flex; align-items: center; justify-content: center; gap: 0.05em; overflow: hidden;
  padding: clamp(40px, 7vw, 90px) var(--gutter) clamp(28px, 4vw, 56px); margin-bottom: 48px; border-bottom: 1px solid var(--line);
  font: 400 clamp(96px, 25vw, 440px)/0.78 var(--serif); letter-spacing: -0.055em; color: var(--text);
}
.footer__mega .wm { letter-spacing: -0.03em; }
.footer__mega .wm__o { color: var(--violet-hi); margin-right: 0.03em; }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
  .sky__word { font-size: 19vw; }
  .sky__word--back { top: 17vh; }
  .sky__word--front { bottom: 30vh; }
  .sky__foot { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 14px; }
  .sky__lede { font-size: 14px; }
  .sky__foot > span:empty { display: none; }
  .night { align-items: start; padding: 96px 0 48px; }
  .night__proof { justify-content: center; }
  .night__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; text-align: center; }
  .night__card { --card-w: min(86vw, 420px); order: -1; }
  .night__copy .hero__ctas { justify-content: center; }
  .night__title { font-size: 12vw; }
  .mech__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mech .h2 { font-size: 34px; }
  .mech .kicker { display: none; }
  .mech__stage { min-height: 0; padding: 72px 0 56px; }
  .mech__steps p { font-size: 14px; }
  .mech__steps { margin-top: 10px; }
  .mech__steps li { padding: 10px 0 12px; }
  .mech__steps li:not(.is-on) { display: none; }
  .mech__viz { width: min(86vw, 44svh); }
  .finale__fan { --card-w: 46vw; }
}

/* ---------- The Motion switch ---------- */
.motion-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px 0 12px; border-radius: 999px; font: 500 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase;
  color: inherit; background: transparent; border: 1px solid var(--line-2); transition: border-color 0.2s, background 0.2s;
}
.nav .motion-toggle { margin-left: 4px; }
body.nav-on-sky .nav .motion-toggle { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
body.nav-on-sky .nav .motion-toggle b { color: #fff; }
.drawer .motion-toggle { justify-self: start; margin-top: 16px; }
@media (max-width: 860px) { .nav .motion-toggle { display: none; } }
.motion-toggle:hover { border-color: var(--line-3); }
.motion-toggle b { font-weight: 500; color: var(--gold); }
.motion-toggle i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.motion-toggle[aria-pressed='true'] i { background: var(--violet-hi); box-shadow: 0 0 10px var(--violet-hi); }

/* ---------- Motion off: every scene is a still page; the home page opens on the card ---------- */
html.rm .portal .sky, html.rm .portal .sky__gl, html.rm .portal .sky__front, html.rm .sky__fallback { display: none; }
html.rm .night { position: relative; inset: auto; min-height: 100vh; padding: 120px 0; }
html.rm .night__card { transform: none !important; opacity: 1 !important; }
html.rm .finale__card { transition: none; }
html.rm .loader, html.rm .route-bar { display: none; }
html.rm [data-split] .w__i, html.rm .reveal { transform: none; opacity: 1; transition: none; }

/* ==========================================================================
   Get the Ostra Card — the checkout
   ========================================================================== */
.payform__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }

.gc { position: relative; min-height: 100vh; min-height: 100svh; padding: 120px 0 80px; overflow: hidden; }
.gc__night { position: absolute; inset: 0; z-index: 0; background: #07080c; }
.gc__night .night__glow { left: 28%; top: 50%; opacity: 1; }
.gc__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; min-height: calc(100svh - 200px); }
.gc__visual { display: grid; justify-items: center; gap: 18px; perspective: 1400px; }
.gc__card { --card-w: min(520px, 40vw); transform-style: preserve-3d; transition: transform 0.5s var(--out-expo), opacity 0.3s; }
.gc__card.is-turning { transform: rotateY(90deg) scale(0.96); opacity: 0.35; transition: transform 0.26s cubic-bezier(0.5, 0, 0.75, 0), opacity 0.26s; }
.gc__card.is-celebrating { animation: gc-spin 1.5s var(--out-expo); }
@keyframes gc-spin { 0% { transform: rotateY(0) scale(1); } 45% { transform: rotateY(210deg) scale(1.07); } 100% { transform: rotateY(360deg) scale(1); } }

.gc__visual, .gc__flow > :not(.gc__title) { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 0.9s var(--out-expo), transform 0.9s var(--out-expo); }
.gc.is-ready .gc__visual, .gc.is-ready .gc__flow > * { opacity: 1; transform: none; }
.gc.is-ready .gc__visual { transition-delay: 0.1s; }
.gc.is-ready .gc__steps { transition-delay: 0.35s; }
.gc.is-ready .gc__panel { transition-delay: 0.45s; }
.gc__title { margin: 0 0 30px; font: 400 clamp(56px, 7vw, 116px)/0.9 var(--serif); letter-spacing: -0.03em; }
.gc__title em { font-style: italic; color: var(--gold); }

.gc__steps { list-style: none; margin: 0 0 30px; padding: 0; display: flex; gap: 6px; }
.gc__steps li { flex: 1; }
.gc__steps button {
  width: 100%; display: grid; gap: 8px; padding: 12px 0 0; text-align: left; cursor: default;
  border-top: 2px solid var(--line-2); color: var(--dim); font: 500 11.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  transition: color 0.3s, border-color 0.3s;
}
.gc__steps b { font-weight: 500; }
.gc__steps span { font: 400 15px/1 var(--sans); letter-spacing: 0; text-transform: none; }
.gc__steps li.is-on button { border-color: var(--violet-hi); color: var(--text); }
.gc__steps li.is-done button { border-color: rgba(176, 140, 255, 0.45); color: var(--muted); }
.gc__steps li.is-done button:not([disabled]) { cursor: pointer; }
.gc__steps li.is-done button:not([disabled]):hover { color: var(--text); }

.gc__panel.is-in { animation: gc-panel 0.7s var(--out-expo); }
@keyframes gc-panel { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
.gc__h { margin: 0 0 14px; font: 400 clamp(30px, 3vw, 42px)/1.05 var(--serif); letter-spacing: -0.015em; }
.gc__p { margin: 0 0 22px; color: var(--muted); max-width: 540px; }
.gc__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.gc__list { list-style: none; margin: 0; padding: 0; display: grid; }
.gc__list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); }
.gc__list li > span { font: 500 12px/1.7 var(--mono); letter-spacing: 0.12em; color: var(--gold); }
.gc__list b { color: var(--text); font-weight: 500; }

.tierpick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tierpick__opt {
  display: grid; gap: 10px; align-content: start; padding: 20px; text-align: left; color: var(--text);
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2);
  transition: border-color 0.3s, background 0.3s, transform 0.5s var(--out-expo), box-shadow 0.4s;
}
.tierpick__opt:hover { border-color: var(--line-3); transform: translateY(-2px); }
.tierpick__opt[aria-checked="true"] { border-color: var(--violet-hi); background: linear-gradient(180deg, rgba(138, 60, 246, 0.18), rgba(138, 60, 246, 0.04)); box-shadow: 0 30px 80px -40px rgba(138, 60, 246, 0.75); }
.tierpick__top { display: flex; align-items: center; justify-content: space-between; }
.tierpick__name { font: 400 30px/1 var(--serif); }
.tierpick__dot { position: relative; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-3); }
.tierpick__opt[aria-checked="true"] .tierpick__dot { border-color: var(--violet-hi); }
.tierpick__opt[aria-checked="true"] .tierpick__dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--violet-hi); }
.tierpick__sub { font-size: 14px; color: var(--muted); }
.tierpick__points { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.tierpick__points span { display: flex; align-items: center; gap: 8px; }
.tierpick__points svg { flex: none; width: 14px; height: 14px; color: var(--violet-hi); }
.tierpick__price { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.tierpick__price b { margin-right: 4px; font: 400 22px/1 var(--serif); color: var(--text); }

.gc__pay { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); }
.gc__done { display: grid; justify-items: start; }
.gc__mark { width: 84px; margin-bottom: 18px; overflow: visible; color: var(--violet-hi); }
.gc__mark-ring { stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 60px 60px; animation: loader-draw 0.9s 0.1s var(--in-out) forwards; }
.gc__mark-pearl { fill: #f4efe8; opacity: 0; transform: translateY(-70px); animation: loader-drop 0.7s 0.7s cubic-bezier(0.3, 1.5, 0.5, 1) forwards; }
.gc__home { margin-top: 20px; font-size: 14px; }

.gc__intro { position: fixed; inset: 0; z-index: 60; transition: opacity 0.6s var(--out-expo); }
.gc__intro.is-done { opacity: 0; pointer-events: none; }
.gc__skip {
  position: absolute; right: var(--gutter); bottom: 28px; z-index: 5; display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: 999px; color: #fff; background: rgba(11, 14, 19, 0.72); border: 1px solid rgba(255, 255, 255, 0.22);
  font: 500 11.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
}
.gc__skip svg { width: 14px; height: 14px; }

@media (max-width: 860px) {
  .gc { padding-top: 96px; }
  .gc__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; min-height: 0; }
  .gc__card { --card-w: min(84vw, 400px); }
  .gc__title { font-size: 15vw; margin-bottom: 22px; }
  .tierpick { grid-template-columns: minmax(0, 1fr); }
  .gc__steps span { font-size: 13px; }
}

/* ---------- Card stack: Virtual and Platinum, shuffled ---------- */
.cstack { position: relative; display: grid; }
.cstack__card { grid-area: 1 / 1; transition: transform 0.7s var(--out-expo), filter 0.7s; }
.cstack[data-front='virtual'] [data-stack-tier='virtual'], .cstack[data-front='platinum'] [data-stack-tier='platinum'] { z-index: 2; }
.cstack[data-front='virtual'] [data-stack-tier='platinum'], .cstack[data-front='platinum'] [data-stack-tier='virtual'] {
  z-index: 1; pointer-events: none; transform: translate(13%, -12%) rotate(8deg) scale(0.9); filter: brightness(0.5) saturate(0.85);
}
.cstack__card.is-out { animation: cstack-out 0.85s cubic-bezier(0.45, 0, 0.2, 1) both; }
.cstack__card.is-in { animation: cstack-in 0.85s cubic-bezier(0.45, 0, 0.2, 1) both; }
@keyframes cstack-out {
  0% { z-index: 2; transform: none; filter: none; }
  42% { z-index: 2; transform: translate(-40%, 5%) rotate(-10deg) scale(0.95); filter: brightness(0.85); }
  43% { z-index: 1; }
  100% { z-index: 1; transform: translate(13%, -12%) rotate(8deg) scale(0.9); filter: brightness(0.5) saturate(0.85); }
}
@keyframes cstack-in {
  0% { z-index: 1; transform: translate(13%, -12%) rotate(8deg) scale(0.9); filter: brightness(0.5) saturate(0.85); }
  42% { z-index: 1; transform: translate(42%, -3%) rotate(11deg) scale(0.95); filter: brightness(0.85); }
  43% { z-index: 2; }
  100% { z-index: 2; transform: none; filter: none; }
}
.night__cardcol { display: grid; justify-items: center; gap: 34px; }
.night__cardcol .tier-toggle { margin: 0; }

/* ---------- Wallet badges ---------- */
.wbadges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wbadges__label { width: 100%; font: 500 11px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.wbadge {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 12px; border-radius: 12px;
  background: #fff; color: #0b0e13; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.6);
}
.wbadge svg { width: 22px; height: 22px; flex: none; }
.wbadge--apple svg { width: 20px; height: 20px; margin-top: -3px; color: #000; }
.wbadge--google svg { width: 19px; height: 19px; }
.wbadge > span { display: grid; gap: 2px; font: 600 14px/1 var(--sans); letter-spacing: -0.01em; }
.wbadge small { font: 500 9.5px/1 var(--sans); letter-spacing: 0.02em; color: #5b6070; }
.night__copy .wbadges { margin-top: 28px; }
.tier .wbadges { margin: -6px 0 22px; }
.tierpick__opt .wbadges { margin-top: 2px; gap: 6px; }
.tierpick__opt .wbadge { height: 34px; padding: 0 10px 0 8px; border-radius: 9px; gap: 7px; }
.tierpick__opt .wbadge svg { width: 16px; height: 16px; }
.tierpick__opt .wbadge > span { font-size: 12px; }
.tierpick__opt .wbadge small { font-size: 8.5px; }

.calc__tier { margin: 18px 0 4px; }

/* ==========================================================================
   2. Anonymous by design, and the Ostra ID
   ========================================================================== */
.anon { overflow: hidden; }
.anon__head { max-width: 900px; }
.anon__title { margin: 0; font: 400 clamp(56px, 9vw, 150px)/0.9 var(--serif); letter-spacing: -0.035em; }
.anon__title em { font-style: italic; color: var(--gold); }
.anon__head .lede { margin-inline: auto; max-width: 620px; }
.anon__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: center; margin-top: clamp(20px, 3vw, 40px); }

.anon__passcol { display: grid; place-items: center; perspective: 1400px; }
.idpass {
  position: relative; width: min(460px, 100%); aspect-ratio: 1.586; padding: 7% 7.5% 6.5%; border-radius: 22px; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto auto; color: #f3efff;
  background:
    radial-gradient(120% 140% at 88% 0%, rgba(143, 69, 247, 0.34), transparent 58%),
    linear-gradient(160deg, #17122a 0%, #0d0b17 70%, #0b0a12 100%);
  border: 1px solid rgba(198, 180, 255, 0.18);
  box-shadow: 0 50px 120px -50px rgba(138, 60, 246, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transform: rotateX(8deg) rotateY(-12deg); transition: transform 1.2s var(--out-expo);
}
.idpass:hover { transform: none; }
.idpass__glow { position: absolute; inset: -40%; background: conic-gradient(from 180deg, transparent, rgba(198, 180, 255, 0.14), transparent 30%); animation: idpass-spin 9s linear infinite; pointer-events: none; }
@keyframes idpass-spin { to { transform: rotate(360deg); } }
.idpass > :not(.idpass__glow) { position: relative; }
.idpass__top { display: flex; align-items: center; justify-content: space-between; }
.idpass__top .wm { font-size: 30px; }
.idpass__top .wm__o { color: var(--violet-hi); }
.idpass__top > span:not(.wm) { font: 500 11px/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.idpass__num { align-self: center; font: 400 clamp(20px, 2.3vw, 28px)/1 var(--mono); letter-spacing: 0.1em; font-variant-numeric: tabular-nums; color: #fff; }
.idpass__num.is-hidden { color: rgba(255, 255, 255, 0.85); }
.idpass__rows { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.idpass__rows div { display: grid; gap: 6px; }
.idpass__rows dt { font: 500 9.5px/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(243, 239, 255, 0.5); }
.idpass__rows dd { margin: 0; font: 400 15px/1 var(--mono); letter-spacing: 0.06em; }
.idpass__note { display: flex; align-items: center; gap: 8px; margin: 0; padding-top: 12px; border-top: 1px solid rgba(198, 180, 255, 0.16); font-size: 12px; line-height: 1.35; color: rgba(243, 239, 255, 0.66); }
.idpass__note svg { flex: none; width: 15px; height: 15px; color: var(--gold); }

.anon__list { list-style: none; margin: 0; padding: 0; display: grid; }
.anon__list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.anon__list li:last-child { border-bottom: 1px solid var(--line); }
.anon__list li:nth-child(2) { transition-delay: 0.08s; } .anon__list li:nth-child(3) { transition-delay: 0.16s; } .anon__list li:nth-child(4) { transition-delay: 0.24s; }
.anon__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--violet-hi); background: rgba(138, 60, 246, 0.1); border: 1px solid rgba(176, 140, 255, 0.2); }
.anon__ico svg { width: 22px; height: 22px; }
.anon__list h3 { margin: 2px 0 6px; font: 400 clamp(24px, 2.2vw, 30px)/1.1 var(--serif); }
.anon__list p { margin: 0; color: var(--muted); font-size: 15px; max-width: 470px; }
.anon__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(40px, 5vw, 64px); }

/* 150M+ merchants, under the tiers */
.reach { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 40px); margin-top: clamp(48px, 6vw, 84px); padding-top: clamp(34px, 4vw, 52px); border-top: 1px solid var(--line); }
.reach__num { font: 400 clamp(80px, 11vw, 176px)/0.86 var(--serif); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.reach__copy { display: grid; gap: 8px; }
.reach__label { font: 400 clamp(26px, 2.8vw, 40px)/1 var(--serif); font-style: italic; color: var(--gold); }
.reach__sub { color: var(--muted); font-size: 15px; }

@media (max-width: 860px) {
  .anon__grid { grid-template-columns: minmax(0, 1fr); }
  .anon__title { font-size: 15vw; }
  .idpass { transform: none; }
  .reach { flex-direction: column; text-align: center; gap: 10px; }
}
html.rm .idpass__glow { animation: none; }

/* ==========================================================================
   Top up
   ========================================================================== */
.topup__pass { width: min(480px, 100%); }
.topup__calc { margin-top: 22px; padding: 20px 22px 8px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); }
.topup__calc .calc__amount { margin-bottom: 8px; }
.topup__est { margin: 0; }
