/* ZepaPay. Brand tokens from zepapay.com and app.zepapay.com: violet #7C6BFF to blue #4DA3FF on navy #0B0F1A,
   orange and blue glossy spheres, General Sans. Shapes come from the logo: pill bars and one sharp diagonal blade.
   Light sections by default; .dark flips the colour tokens for a section. */
:root {
  --ink: #0B0F1A; --ink-2: #111727; --ink-3: #1A2136;
  --paper: #F4F3FA; --white: #fff; --mist: #E9E6F8;
  --violet: #7C6BFF; --violet-d: #5B49F0; --blue: #4DA3FF; --ember: #FF6B3D;
  --grad: linear-gradient(135deg, #7C6BFF 0%, #4DA3FF 100%);
  --text: #0B0F1A; --muted: #575E78; --dim: #8A8FA8; --line: rgba(11, 15, 26, .1); --card: #fff;
  --ok: #12A46B; --amber: #9A5B00; --amber-bg: rgba(255, 170, 0, .14); --amber-line: rgba(200, 130, 0, .5);
  --font: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1240px; --gutter: clamp(16px, 4vw, 40px); --section: clamp(88px, 10vw, 148px);
  --r-card: 28px; --r-in: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
.dark {
  --text: #F0EEF8; --muted: #A3A8BE; --dim: #6F7690; --line: rgba(255, 255, 255, .09); --card: rgba(255, 255, 255, .04);
  --ok: #3DDC97; --amber: #FFC266; --amber-bg: rgba(255, 181, 92, .12); --amber-line: rgba(255, 181, 92, .45);
  background: var(--ink); color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; } /* no scroll-behavior: smooth, see main.js */
body { font: 400 17px/1.55 var(--font); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
main { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: 0; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo__tile { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: linear-gradient(150deg, #fff 0%, #F4F1FF 100%);
  box-shadow: 0 4px 18px -4px rgba(124, 107, 255, .35), 0 1px 4px -1px rgba(11, 15, 26, .1), inset 0 1px 0 rgba(255, 255, 255, .9); }
.logo__tile svg { width: 21px; height: 21px; }
.logo__tile--sm { width: 30px; height: 30px; border-radius: 9px; }
.logo__tile--sm svg { width: 17px; height: 17px; }
.logo__word { font-weight: 600; font-size: 15px; letter-spacing: .16em; }

/* ---------- Buttons: pills, like the logo's bars ---------- */
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s, background-color .25s; }
.btn:active { transform: scale(.97); }
.btn i { font-size: 18px; transition: transform .25s var(--ease); }
.btn:hover i.ph-arrow-right { transform: translateX(3px); }
.btn--sm { --h: 42px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--grad { color: #fff; background: var(--grad); box-shadow: 0 10px 28px -12px rgba(124, 107, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--grad:hover { filter: brightness(1.08); box-shadow: 0 14px 34px -12px rgba(124, 107, 255, 1), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--ghost { color: var(--text); background: rgba(11, 15, 26, .05); box-shadow: inset 0 0 0 1px var(--line); }
.dark .btn--ghost { background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { background: rgba(11, 15, 26, .09); }
.dark .btn--ghost:hover { background: rgba(255, 255, 255, .11); }
.btn.is-loading { filter: saturate(.6); pointer-events: none; }

/* ---------- Section label: a short blade, the logo's diagonal ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--muted); margin-bottom: 18px; }
.kicker::before { content: ""; width: 12px; height: 16px; background: var(--grad); clip-path: polygon(78% 0, 100% 0, 22% 100%, 0 100%); }
.h2 { font-size: clamp(36px, 4.8vw, 64px); }
.lede { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 58ch; margin-top: 20px; }
.sec { padding: var(--section) 0; position: relative; }
.sec--white { background: var(--white); }
.sec__head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 72px); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: #F0EEF8; transition: background-color .3s, color .3s, box-shadow .3s, backdrop-filter .3s; }
.nav__in { height: 76px; display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; gap: 4px; margin: 0 auto; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; opacity: .78; transition: opacity .2s, background-color .2s; }
.nav__links a:hover { opacity: 1; background: rgba(127, 127, 160, .14); }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__login { font-size: 15px; font-weight: 500; text-decoration: none; opacity: .85; }
.nav__login:hover { opacity: 1; }
.nav.is-solid { color: var(--ink); background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 rgba(11, 15, 26, .08); }

/* ---------- Hero ---------- */
.hero { min-height: min(100svh, 940px); display: flex; align-items: center; padding: 118px 0 72px; position: relative; overflow: hidden; isolation: isolate; }
.hero__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 40%, rgba(124, 107, 255, .26), transparent 70%),
    radial-gradient(40% 40% at 92% 85%, rgba(77, 163, 255, .16), transparent 70%),
    radial-gradient(35% 45% at 5% 10%, rgba(124, 107, 255, .1), transparent 70%); }
.hero__sky::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 45%, #000, transparent); mask-image: radial-gradient(70% 70% at 70% 45%, #000, transparent); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__title { font-size: clamp(38px, min(4.7vw, 9.5vh), 72px); line-height: 1; letter-spacing: -.04em; }
.roll { display: block; overflow: hidden; white-space: nowrap; padding-bottom: .08em; margin-bottom: -.08em; }
.roll__in { display: inline-block; }
.hero__grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 24px; font-size: clamp(17px, 1.35vw, 19px); color: var(--muted); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 14px; color: var(--muted); }
.hero__trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust i { font-size: 17px; color: #9C90FF; }

/* Load stagger */
.js .hero .load { opacity: 0; transform: translateY(14px); }
.hero.is-in .load { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- The Z converter ---------- */
.zx { position: relative; max-width: 540px; width: 100%; justify-self: end; }
.zx__seg { margin-bottom: 18px; }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(11, 15, 26, .06); box-shadow: inset 0 0 0 1px var(--line); }
.seg--dark { background: rgba(255, 255, 255, .05); }
.seg button { position: relative; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .25s, background-color .25s, box-shadow .25s; }
.seg button.is-on { color: var(--ink); background: #fff; box-shadow: 0 4px 14px -6px rgba(11, 15, 26, .35); }
.seg button:not(.is-on):hover { color: var(--text); }
.seg--sm button { padding: 6px 12px; font-size: 13px; }

.zx__stage { position: relative; }
.zx__pill { position: relative; z-index: 2; height: 96px; border-radius: 999px; display: flex; align-items: center; gap: 12px; padding: 0 16px 0 32px; color: var(--ink); cursor: text;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(100deg, #F1EEFF 0%, #CBC1FF 36%, #A2CBFF 74%, #84B9FF 100%);
  box-shadow: inset 0 -12px 22px rgba(76, 56, 214, .26), inset 0 2px 0 rgba(255, 255, 255, .95), 0 30px 54px -24px rgba(70, 50, 220, .85);
  transition: box-shadow .5s var(--ease); }
.zx__pill--a { margin-right: 56px; }
.zx__pill--b { margin: 92px 0 0 56px; cursor: default; }
.zx__pill--b.is-hit { box-shadow: inset 0 -12px 22px rgba(76, 56, 214, .26), inset 0 2px 0 rgba(255, 255, 255, .95), 0 30px 54px -24px rgba(70, 50, 220, .85), 0 0 0 6px rgba(124, 107, 255, .28); }
.zx__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.zx__lbl { font-size: 13px; font-weight: 500; color: #4A4F6A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zx__amt { width: 100%; min-width: 0; border: 0; background: none; outline: 0; padding: 0; font-weight: 600; font-size: clamp(26px, 2.5vw, 34px); letter-spacing: -.03em; line-height: 1.2; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zx__pill--a:focus-within { box-shadow: inset 0 -12px 22px rgba(76, 56, 214, .26), inset 0 2px 0 rgba(255, 255, 255, .95), 0 30px 54px -24px rgba(70, 50, 220, .85), 0 0 0 3px #fff, 0 0 0 6px var(--violet); }
.asset { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px 0 10px; border-radius: 999px; background: #fff; font-weight: 600; font-size: 15px; color: var(--ink); flex: none;
  box-shadow: 0 6px 16px -8px rgba(11, 15, 26, .4); transition: transform .2s var(--ease); }
button.asset:hover { transform: translateY(-1px); }
.asset i.ph { font-size: 14px; color: var(--muted); }
.asset:disabled { cursor: default; padding-right: 16px; }
.asset:disabled:hover { transform: none; }
.asset [hidden] { display: none; }
.zx__token.is-rev b:first-child { background: radial-gradient(circle at 34% 28%, #D4EBFF 0%, #63B0FF 38%, #2E73E8 72%, #1C46A6 100%); }
.zx__token.is-rev b:last-child { background: radial-gradient(circle at 34% 28%, #FFC2A3 0%, #FF7A45 38%, #E2470F 72%, #A82E06 100%); }
.dot { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.dot--ember, .orb--ember, .zx__token b:first-child { background: radial-gradient(circle at 34% 28%, #FFC2A3 0%, #FF7A45 38%, #E2470F 72%, #A82E06 100%); }
.dot--blue, .orb--blue, .zx__token b:last-child { background: radial-gradient(circle at 34% 28%, #D4EBFF 0%, #63B0FF 38%, #2E73E8 72%, #1C46A6 100%); }
.orb--violet { background: radial-gradient(circle at 34% 28%, #E2DCFF 0%, #8F7FFF 40%, #5B49F0 72%, #3A2AB0 100%); }

.zx__blade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; filter: drop-shadow(0 10px 18px rgba(77, 60, 230, .55)); }
.zx__token { position: absolute; left: 0; top: 0; z-index: 1; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; pointer-events: none; box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .6); }
.zx__token b { position: absolute; inset: 0; border-radius: 50%; }
.zx__token b:last-child { opacity: 0; }
.zx__flip { position: absolute; z-index: 3; left: 10%; top: 96px; height: 92px; display: grid; place-items: center; width: 52px; }
.zx__flip i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: var(--ink); background: #fff;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(11, 15, 26, .06); transition: transform .45s var(--ease); }
.zx__flip:hover i { transform: rotate(180deg); }

.zx__meta { margin-top: 22px; padding: 18px 20px; border-radius: 24px; background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.zx__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.zx__k, .zx__dl dt { font-size: 13px; color: var(--muted); }
.zx__dl { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.zx__dl dd { font-size: 15px; font-weight: 600; margin-top: 2px; font-variant-numeric: tabular-nums; }
.zx__hint { margin-top: 12px; font-size: 13.5px; color: var(--amber); display: flex; gap: 6px; }
.zx__note { margin-top: 12px; font-size: 12.5px; color: var(--dim); }

.orb { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; box-shadow: inset -6px -10px 18px rgba(0, 0, 0, .25); }
.zx .orb--1 { width: 64px; height: 64px; left: -30px; top: 70px; }
.zx .orb--2 { width: 54px; height: 54px; right: -6px; top: 34px; }
.zx .orb--3 { width: 46px; height: 46px; left: 0; top: 300px; }
.zx .orb--4 { width: 84px; height: 84px; right: -28px; top: 262px; }
@media (prefers-reduced-motion: no-preference) {
  .zx .orb { animation: float 7s ease-in-out infinite alternate; }
  .zx .orb--2 { animation-duration: 8.5s; animation-delay: -2s; }
  .zx .orb--3 { animation-duration: 6s; animation-delay: -1s; }
  .zx .orb--4 { animation-duration: 9s; animation-delay: -4s; }
}
@keyframes float { to { transform: translate3d(0, -12px, 0); } }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- The gap ---------- */
.statement { font-size: clamp(40px, 6.4vw, 92px); line-height: 1; letter-spacing: -.045em; max-width: 15ch; }
.statement .w { display: inline-block; }
.gap__lede { margin-top: 28px; }
.gap__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.pcard { position: relative; padding: 30px 28px 32px; border-radius: var(--r-card); background: #fff; box-shadow: 0 1px 0 rgba(11, 15, 26, .04), 0 18px 40px -28px rgba(40, 30, 120, .35); }
.pcard__n { position: absolute; top: 28px; right: 28px; font: 500 13px/1 var(--mono); color: var(--dim); }
.pcard__i { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; color: var(--violet-d); background: var(--mist); margin-bottom: 26px; }
.pcard h3 { font-size: 23px; margin-bottom: 12px; }
.pcard p { color: var(--muted); font-size: 16px; }

/* ---------- Rails (MoonPay-style: art panel with a UI card, then copy) ---------- */
.rails__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rcard { border-radius: var(--r-card); background: var(--paper); overflow: hidden; display: flex; flex-direction: column; }
.rcard__art { position: relative; height: 250px; display: grid; place-items: center; padding: 24px; overflow: hidden; }
.rcard__art::before { content: ""; position: absolute; width: 160%; height: 64px; border-radius: 999px; left: -30%; top: 22%; transform: rotate(-24deg); background: rgba(255, 255, 255, .2); }
.rcard__art::after { content: ""; position: absolute; width: 140%; height: 40px; border-radius: 999px; left: -10%; bottom: 14%; transform: rotate(-24deg); background: rgba(255, 255, 255, .12); }
.rcard__art--violet { background: radial-gradient(120% 90% at 0% 0%, #A79BFF 0%, transparent 60%), linear-gradient(140deg, #5B49F0, #2B1F8F); }
.rcard__art--blue { background: radial-gradient(120% 90% at 100% 0%, #9CD0FF 0%, transparent 60%), linear-gradient(140deg, #3A8BF5, #17357F); }
.rcard__art--ember { background: radial-gradient(120% 90% at 0% 100%, #FF9A6E 0%, transparent 55%), linear-gradient(140deg, #6C55F5, #26195E); }
.mini { position: relative; z-index: 1; width: min(100%, 290px); background: #fff; border-radius: 22px; padding: 18px 18px 16px; box-shadow: 0 24px 50px -20px rgba(10, 8, 40, .6); }
.mini__k { font-size: 12.5px; color: var(--muted); }
.mini__v { font-size: 27px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mini__v small { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.mini__line { display: flex; align-items: center; gap: 9px; margin-top: 12px; padding: 10px 10px 10px 12px; border-radius: 14px; background: var(--paper); font-size: 13.5px; font-weight: 500; }
.mini__line span { flex: 1; min-width: 0; }
.mini__line small { color: var(--muted); font-weight: 500; }
.mini__line .dot { width: 18px; height: 18px; }
.mini__line i.ph { font-size: 18px; color: var(--violet-d); }
.mini--list .mini__line { margin-top: 8px; }
.mini--list .mini__k { margin-bottom: 4px; }
.mini__ok { font-size: 12px; font-weight: 600; color: var(--ok); background: rgba(18, 164, 107, .1); padding: 3px 9px; border-radius: 999px; }
.mini__ok--wait { color: #6B5BEF; background: rgba(124, 107, 255, .12); }
.mini__ref { margin-top: 10px; font: 400 11.5px/1 var(--mono); color: var(--dim); }
.rcard__body { padding: 28px 28px 32px; flex: 1; }
.rcard__body h3 { font-size: 26px; margin-bottom: 10px; }
.rcard__body > p { color: var(--muted); font-size: 16px; }
.ticks { display: grid; gap: 10px; margin-top: 20px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 4px); width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ticks--lg li { font-size: 17px; }
.rails__for { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 44px; font-size: 18px; font-weight: 500; }
.rails__for span { color: var(--muted); font-weight: 400; margin-right: 6px; }
.rails__for i { width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

/* ---------- How it works ---------- */
.how { background: var(--ink); }
.how__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); }
.how__steps { position: relative; padding-left: 64px; }
.how__rail { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--line); }
.how__rail i { position: absolute; inset: 0; background: var(--grad); transform-origin: top; transform: scaleY(0); }
.hstep { position: relative; min-height: min(62vh, 520px); display: flex; flex-direction: column; justify-content: center; padding: 20px 0; }
.hstep:first-child { justify-content: flex-start; min-height: min(48vh, 400px); padding-top: 0; }
.hstep:last-child { justify-content: flex-end; min-height: min(48vh, 400px); padding-bottom: 0; }
.hstep__n { position: absolute; left: -64px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: var(--ink-3); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: background .4s, color .4s, box-shadow .4s; }
.hstep:first-child .hstep__n { top: 0; }
.hstep:last-child .hstep__n { bottom: 92px; }
.hstep h3 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 12px; color: var(--muted); transition: color .4s; }
.hstep p { color: var(--dim); max-width: 42ch; transition: color .4s; }
.hstep.is-on .hstep__n { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(124, 107, 255, .9); }
.hstep.is-on h3 { color: var(--text); }
.hstep.is-on p { color: var(--muted); }
.how__side { position: relative; }
.receipt { position: sticky; top: max(110px, calc(50vh - 230px)); border-radius: var(--r-card); padding: 22px 24px 18px; background: linear-gradient(180deg, #161D31, #11172A); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .8); }
.receipt__top { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed rgba(255, 255, 255, .14); }
.receipt__id { font: 500 13px/1 var(--mono); color: var(--muted); flex: 1; }
.receipt__status { font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 999px; color: #C9C1FF; background: rgba(124, 107, 255, .16); transition: background-color .4s, color .4s; }
.receipt[data-stage="3"] .receipt__status { color: var(--ok); background: rgba(61, 220, 151, .12); }
.receipt__blk { padding: 16px 0; border-bottom: 1px solid var(--line); transition: opacity .5s var(--ease), filter .5s var(--ease), transform .5s var(--ease); }
.receipt__h { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.receipt__r { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: 14.5px; }
.receipt__r span { color: var(--muted); }
.receipt__r b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.receipt__r b.ok { color: var(--ok); display: inline-flex; align-items: center; gap: 5px; }
.receipt__foot { margin-top: 14px; font-size: 12px; color: var(--dim); }
.receipt[data-stage="1"] [data-blk="2"], .receipt[data-stage="1"] [data-blk="3"], .receipt[data-stage="2"] [data-blk="3"] { opacity: .16; filter: blur(2px); transform: translateY(6px); }

/* ---------- Pricing ---------- */
.lists { display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 20px; align-items: stretch; }
.plist { text-align: left; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-card); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.plist:hover { transform: translateY(-2px); }
.plist.is-on { box-shadow: inset 0 0 0 2px var(--violet), 0 24px 50px -30px rgba(91, 73, 240, .6); }
.plist__top { display: flex; justify-content: space-between; align-items: center; }
.plist__name { font-size: 18px; font-weight: 600; }
.plist__pick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); color: transparent; font-size: 14px; transition: background .3s, color .3s, box-shadow .3s; }
.plist.is-on .plist__pick { background: var(--grad); color: #fff; box-shadow: none; }
.plist__rate { font-size: clamp(56px, 6vw, 80px); font-weight: 600; letter-spacing: -.05em; line-height: 1; margin-top: 22px; }
.plist__rate sup { font-size: .35em; vertical-align: top; position: relative; top: .25em; margin-left: 2px; color: var(--muted); letter-spacing: 0; }
.plist__sub { color: var(--muted); margin-top: 8px; font-size: 15px; }
.plist__rows { display: grid; margin-top: 22px; }
.plist__rows > span { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.plist__rows em { font-style: normal; color: var(--muted); }
.plist__rows b { font-weight: 600; text-align: right; }
.fx { padding: 28px; border-radius: var(--r-card); background: var(--ink); color: #F0EEF8; display: flex; flex-direction: column; }
.fx__k { font-size: 14px; color: #A3A8BE; }
.fx__v { font-size: 21px; font-weight: 500; letter-spacing: -.01em; line-height: 1.35; margin-top: 10px; }
.nocharge { display: grid; gap: 12px; margin-top: auto; padding-top: 28px; }
.nocharge li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: #CFD2E2; }
.nocharge i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: rgba(255, 255, 255, .08); color: #fff; flex: none; }

.est { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; margin-top: 20px; padding: 10px; border-radius: 32px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.est__in { padding: 22px 20px; }
.est__k { font-size: 14px; color: var(--muted); }
.est__vol { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px; font-weight: 500; }
.est__vol output { font-size: 34px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.range { --p: 12%; width: 100%; height: 34px; margin-top: 10px; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--violet) 0, var(--blue) var(--p), var(--mist) var(--p)); }
.range::-moz-range-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--violet) 0, var(--blue) var(--p), var(--mist) var(--p)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(11, 15, 26, .1), 0 6px 14px -4px rgba(40, 30, 140, .5); }
.range::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(11, 15, 26, .1), 0 6px 14px -4px rgba(40, 30, 140, .5); }
.est__scale { display: flex; justify-content: space-between; font: 400 12px/1 var(--mono); color: var(--dim); }
.est__out { display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: center; gap: 18px; padding: 26px 26px; border-radius: 24px; background: var(--paper); }
.est__out .btn { grid-column: 1 / -1; justify-self: start; }
.est__big { font-size: clamp(34px, 3.4vw, 46px); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.est__mid { font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.footnote { margin-top: 22px; font-size: 13px; color: var(--dim); max-width: 92ch; }

/* ---------- Structure ---------- */
.structure { background: var(--ink-2); overflow: hidden; }
.structure__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.sitems { display: grid; gap: 8px; margin-top: 40px; }
.sitem { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.sitem > i { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; flex: none; color: #C3BAFF; background: rgba(124, 107, 255, .14); }
.sitem h3 { font-size: 21px; margin-bottom: 6px; }
.sitem p { color: var(--muted); font-size: 16px; }
.cred { position: relative; justify-self: center; width: min(100%, 420px); }
.cred__orb { width: 120px; height: 120px; right: -36px; top: -40px; }
.cred__card { position: relative; overflow: hidden; padding: 30px 30px 34px; border-radius: 30px; transform: rotate(-3deg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 90px -40px rgba(0, 0, 0, .9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.cred__top { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.cred__brand { font-weight: 600; letter-spacing: .16em; font-size: 15px; }
.cred__k { font-size: 12.5px; color: var(--dim); margin-top: 16px; }
.cred__v { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.cred__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cred__row mark { margin-top: 6px; display: inline-block; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary i { position: relative; width: 34px; height: 34px; border-radius: 50%; flex: none; background: var(--paper); transition: background .3s, transform .3s var(--ease); }
.faq__list summary i::before, .faq__list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), background .3s; }
.faq__list summary i::after { transform: rotate(90deg); }
.faq__list details[open] summary i { background: var(--grad); transform: rotate(180deg); }
.faq__list details[open] summary i::before, .faq__list details[open] summary i::after { background: #fff; }
.faq__list details[open] summary i::after { transform: rotate(0); }
.faq__list details > div { padding: 0 60px 26px 0; color: var(--muted); }
.faq__list details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq__list details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ---------- Apply + form ---------- */
.apply { background: var(--mist); }
.apply__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.apply__copy { position: sticky; top: 120px; }
.apply__copy .ticks { margin-top: 32px; }
.form { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: 32px; background: #fff; box-shadow: 0 40px 80px -50px rgba(40, 30, 140, .5); }
.form__title { font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 22px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; margin-bottom: 24px; }
.input { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.input--full { grid-column: 1 / -1; }
.input label { font-size: 14px; font-weight: 500; }
.input label span { color: var(--dim); font-weight: 400; }
.input input, .input select, .input textarea { width: 100%; min-width: 0; height: 50px; padding: 0 18px; border-radius: var(--r-in); border: 1px solid var(--line); background: var(--paper); font-size: 16px; outline: 0; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.input textarea { height: auto; padding: 14px 18px; resize: vertical; min-height: 96px; }
.input select { -webkit-appearance: none; appearance: none; padding-right: 44px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23575E78' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center; }
.input input::placeholder, .input textarea::placeholder { color: var(--dim); }
.input input:focus, .input select:focus, .input textarea:focus { border-color: var(--violet); background-color: #fff; box-shadow: 0 0 0 4px rgba(124, 107, 255, .16); }
.input.is-bad input, .input.is-bad select, .input.is-bad textarea { border-color: #E5484D; box-shadow: 0 0 0 4px rgba(229, 72, 77, .12); }
.input__err { font-size: 13px; color: #D13438; min-height: 0; }
.input__err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin-top: 12px; font-size: 14px; }
.form__status:empty { display: none; }
.form__status.is-bad { color: #D13438; }
.form__note { margin-top: 14px; font-size: 13px; color: var(--dim); text-align: center; }
.form__done { position: absolute; inset: 0; z-index: 2; border-radius: inherit; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; }
.form__done[hidden] { display: none; }
.form__done > i { font-size: 56px; color: var(--violet); margin-bottom: 14px; }
.form__done .form__title { margin-bottom: 6px; }
.form__done p:last-child { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { padding: clamp(80px, 9vw, 130px) 0 36px; overflow: hidden; position: relative; }
.footer::before { content: ""; position: absolute; left: 50%; top: -220px; width: 900px; height: 420px; margin-left: -450px; border-radius: 999px; transform: rotate(-12deg); background: linear-gradient(90deg, rgba(124, 107, 255, .2), rgba(77, 163, 255, .14)); filter: blur(60px); pointer-events: none; }
.footer__cta { position: relative; max-width: 760px; }
.footer__cta p { color: var(--muted); font-size: 19px; margin: 20px 0 32px; max-width: 52ch; }
.footer__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.footer__cols { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-top: clamp(64px, 8vw, 110px); padding-top: 48px; border-top: 1px solid var(--line); }
.footer__cols > div { display: flex; flex-direction: column; gap: 10px; }
.footer__brand p { color: var(--muted); font-size: 15px; max-width: 30ch; margin-top: 16px; }
.footer__brand .logo { color: var(--text); }
.footer__h { font-size: 13px; font-weight: 600; color: var(--dim); margin-bottom: 6px; }
.footer__cols a:not(.logo) { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; width: fit-content; }
.footer__cols a:not(.logo):hover { color: var(--text); }
.footer__note { position: relative; margin-top: 56px; font-size: 13px; color: var(--dim); max-width: 100ch; }
.footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal a { color: var(--muted); text-decoration: none; }
.footer__legal a:hover, .footer__legal a[aria-current="page"] { color: var(--text); }

/* ---------- Placeholders legal still has to fill ---------- */
mark.todo { background: var(--amber-bg); color: var(--amber); border: 1px dashed var(--amber-line); border-radius: 6px; padding: 0 6px; font: 500 .86em var(--mono); }

/* ---------- Legal pages (generated by gen_legal.py) ---------- */
.legal { padding: 140px 0 104px; background: var(--paper); }
.legal__head { max-width: 760px; margin-bottom: 56px; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 15px; color: var(--muted); text-decoration: none; }
.legal__back:hover { color: var(--violet-d); }
.legal h1 { font-size: clamp(40px, 5vw, 60px); margin-bottom: 14px; }
.legal__meta { font: 400 13px/1 var(--mono); color: var(--dim); margin-bottom: 22px; }
.legal__intro { font-size: 19px; color: var(--muted); max-width: 62ch; }
.legal__body { display: grid; grid-template-columns: 220px 1fr; gap: 72px; align-items: start; }
.legal__toc { position: sticky; top: 108px; }
.legal__toc p { font-size: 13px; font-weight: 600; color: var(--dim); margin-bottom: 14px; }
.legal__toc ol { display: grid; }
.legal__toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); font-size: 14px; color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s; }
.legal__toc a:hover { color: var(--text); border-left-color: var(--violet); }
.legal__article { max-width: 72ch; }
.legal__article section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.legal__article section:last-child { border-bottom: 0; margin-bottom: 0; }
.legal__article h2 { font-size: 26px; margin-bottom: 14px; }
.legal__article p, .legal__article li { color: #3E4460; line-height: 1.75; }
.legal__article p + p, .legal__article ul + p { margin-top: 14px; }
.legal__article ul { list-style: disc; padding-left: 20px; margin: 14px 0 0; display: grid; gap: 6px; }
.legal__article li::marker { color: var(--violet); }
.legal__article a { color: var(--violet-d); text-underline-offset: 3px; }
.legal__article strong { color: var(--text); font-weight: 600; }
.nav__links a[aria-current="page"] { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .hero { min-height: 0; padding-top: 120px; }
  .hero__grid { grid-template-columns: 1fr; }
  .zx { justify-self: start; max-width: 560px; }
  .lists { grid-template-columns: 1fr 1fr; }
  .fx { grid-column: 1 / -1; }
  .nocharge { grid-template-columns: 1fr 1fr; }
  .est { grid-template-columns: 1fr; }
  .rails__grid, .gap__cards { grid-template-columns: 1fr 1fr; }
  .rails__grid .rcard:last-child { grid-column: 1 / -1; }
  .rails__grid .rcard:last-child { flex-direction: row; }
  .rails__grid .rcard:last-child .rcard__art { height: auto; flex: 1; }
  .rails__grid .rcard:last-child .rcard__body { flex: 1; }
  .gap__cards .pcard:last-child { grid-column: 1 / -1; }
  .structure__grid, .faq__grid, .apply__grid { grid-template-columns: 1fr; }
  .apply__copy { position: static; }
  .footer__cols { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .how__grid { grid-template-columns: 1fr; }
  .how__steps { padding-left: 60px; }
  .hstep, .hstep:first-child, .hstep:last-child { min-height: 0; padding: 0 0 36px; justify-content: flex-start; }
  .hstep:last-child { padding-bottom: 0; }
  .hstep .hstep__n, .hstep:first-child .hstep__n, .hstep:last-child .hstep__n { top: 0; bottom: auto; left: -60px; }
  .hstep h3 { color: var(--text); }
  .hstep p { color: var(--muted); }
  .how__rail { top: 22px; bottom: 60px; }
  .receipt { position: relative; top: 0; }
  .receipt[data-stage] [data-blk] { opacity: 1; filter: none; transform: none; }
  .legal__body { grid-template-columns: 1fr; gap: 0; }
  .legal__toc { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav__in { height: 66px; gap: 12px; }
  .logo__word { font-size: 14px; letter-spacing: .12em; }
  .logo__tile { width: 34px; height: 34px; border-radius: 11px; }
  .nav__actions { gap: 14px; }
  .hero { padding: 104px 0 56px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .zx__pill { height: 84px; padding-left: 24px; }
  .zx__pill--a { margin-right: 22px; }
  .zx__pill--b { margin: 76px 0 0 22px; }
  .zx__flip { top: 84px; height: 76px; left: 6%; }
  .zx__flip i { width: 44px; height: 44px; }
  .zx .orb--1 { width: 46px; height: 46px; left: -18px; top: 30px; }
  .zx .orb--2 { width: 40px; height: 40px; right: -4px; top: 44px; }
  .zx .orb--3 { display: none; }
  .zx .orb--4 { width: 56px; height: 56px; right: -14px; top: 236px; }
  .zx__dl { grid-template-columns: 1fr 1fr; }
  .zx__dl > div:last-child { display: none; }
  .asset { height: 42px; font-size: 14px; }
  .dot { width: 20px; height: 20px; }
  .rails__grid, .gap__cards, .lists { grid-template-columns: 1fr; }
  .rails__grid .rcard:last-child, .gap__cards .pcard:last-child { grid-column: auto; flex-direction: column; }
  .rails__grid .rcard:last-child .rcard__art { height: 250px; flex: none; }
  .nocharge { grid-template-columns: 1fr; }
  .est__out { grid-template-columns: 1fr 1fr; }
  .est__out > div:first-child { grid-column: 1 / -1; }
  .form__grid { grid-template-columns: 1fr; }
  .faq__list details > div { padding-right: 0; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .nav__login { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js [data-reveal], .js .hero .load { opacity: 1; transform: none; }
}
