@import url("fonts/fonts.css");

:root {
  --canvas: #F5F5F3;
  --surface: #FFFFFF;
  --well: #EFEFEC;
  --ink: #0D0D10;
  --mute: #5B5B63;
  --faint: #9898A0;
  --line: rgba(13, 13, 16, 0.08);
  --line-strong: rgba(13, 13, 16, 0.14);
  --blue: #2F5CFF;
  --violet: #7B5CFF;
  --aqua: #2BD4E8;
  --lime: #C8F560;
  --green: #12B76A;
  --amber: #E8A33B;
  --night: #09090B;
  --night-raised: #141418;
  --night-line: rgba(255, 255, 255, 0.10);
  --brand: linear-gradient(118deg, var(--blue) 0%, #5B7BFF 34%, var(--aqua) 72%, var(--lime) 100%);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: 16px;
  --display: "Clash Display", "Satoshi", system-ui, sans-serif;
  --body: "Satoshi", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }

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

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

.display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.eyebrow {
  display: flex; width: fit-content; align-items: center; gap: 8px;
  font: 500 13px/1 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* Words slide up from behind their own clip box; padding and matching negative
   margins give ascenders and descenders room without changing the line height. */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.14em 0.03em 0.14em 0;
  margin: -0.14em -0.03em -0.14em 0;
}
.word__inner { display: inline-block; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border: 0; border-radius: 999px;
  background: var(--ink); color: #fff;
  font: 700 16px/1 var(--body);
  letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: .9; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--sm { padding: 11px 20px; font-size: 15px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; text-decoration: none;
}
.link-arrow svg { transition: transform .2s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav__row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo {
  display: inline-flex; align-items: baseline; gap: 3px;
  font: 600 32px/1 var(--display);
  letter-spacing: -0.04em;
  text-decoration: none;
}
.logo__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.nav__actions { position: relative; display: flex; align-items: center; gap: 10px; }
.menu-btn {
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.menu {
  position: absolute; top: 58px; right: 0;
  display: none;
  min-width: 220px; padding: 8px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(13, 13, 16, .14);
}
.menu[data-open="true"] { display: block; }
.menu a { display: block; padding: 12px 14px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.menu a:hover { background: var(--well); }
@media (max-width: 520px) { .nav .btn--sm { display: none; } }

/* ── Hero ────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero__mesh {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(38% 46% at 74% 42%, rgba(47, 92, 255, .14), transparent 70%),
    radial-gradient(30% 38% at 92% 78%, rgba(155, 92, 255, .12), transparent 70%),
    radial-gradient(34% 40% at 58% 88%, rgba(34, 211, 238, .10), transparent 70%);
  animation: fade-in 2.2s ease-out both;
}
.hero__grid {
  display: grid; gap: 40px; align-items: center;
  max-width: 1180px; margin: 0 auto;
  padding: 40px var(--gutter) 24px;
}
.hero__copy { position: relative; z-index: 2; max-width: 600px; }
.hero h1 { font-size: clamp(42px, 11vw, 56px); letter-spacing: -0.035em; line-height: 1.02; }
.hero__sub { margin-top: 22px; max-width: 30em; color: var(--mute); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__proof { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--mute); font-size: 14px; }
.coins { display: flex; }
.coins span {
  width: 30px; height: 30px; margin-left: -8px; border-radius: 50%;
  display: grid; place-items: center;
  font: 700 13px/1 var(--body);
  box-shadow: 0 0 0 2px var(--canvas);
}
.coins span:first-child { margin-left: 0; }
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 48px;
    min-height: min(calc(100svh - 76px), 820px);
    padding-block: 24px;
  }
  .hero h1 { font-size: clamp(56px, 5.2vw, 76px); }
}

.settle { animation: settle 1.1s var(--ease-out) both; animation-delay: var(--delay, 0s); }
@keyframes settle { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes blink { 50% { opacity: .25; } }

/* ── Hero phone ──────────────────────────────────────── */
.stage { position: relative; height: 596px; overflow: hidden; }
@media (min-width: 640px) { .stage { height: 600px; } }
.stage__slab {
  position: absolute; inset: 0;
  background: var(--brand);
  clip-path: polygon(0 8%, 6% 0, 70% 0, 100% 26%, 100% 100%, 0 100%);
  border-radius: 24px;
  animation: fade-in 1.2s .2s ease-out both;
}
.phone-slot { position: absolute; inset: 48px 0 auto; display: flex; justify-content: center; }
.device-enter { width: min(380px, 86%); animation: device-in 1.3s .5s var(--ease-out) both; }
@keyframes device-in { from { opacity: 0; transform: translateY(40px) rotate(-2deg); } to { opacity: 1; transform: none; } }
.phone {
  position: relative; overflow: hidden;
  padding: 22px 18px 40px;
  border-radius: 52px;
  background: #000; color: #fff;
  box-shadow: 0 40px 80px rgba(13, 13, 16, .35);
}
.phone__top { display: flex; justify-content: space-between; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: #141416; border: 1px solid #2A2A2E;
  font-size: 15px; font-weight: 700;
}
.phone__icons { display: flex; gap: 14px; padding: 10px 16px; border-radius: 999px; background: #141416; border: 1px solid #2A2A2E; }
.phone__label { margin: 26px 4px 6px; font-size: 13px; color: #9A9AA2; font-weight: 500; }
.phone__bal { margin: 0 4px; font: 600 52px/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.phone__note { margin: 8px 4px 0; color: var(--lime); font-size: 15px; font-weight: 700; }
.actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 22px; }
.action {
  display: grid; justify-items: center; gap: 6px;
  padding: 14px 0 12px; border-radius: 18px;
  background: #141416; border: 1px solid #2A2A2E;
  font-size: 14px; font-weight: 500;
  transition: border-color .3s ease, box-shadow .3s ease, color .3s ease, transform .3s var(--ease-out);
}
.action.is-pressed { border-color: var(--lime); color: var(--lime); box-shadow: 0 0 0 3px rgba(200, 245, 96, .16); transform: scale(.96); }
.rows { margin-top: 18px; display: grid; gap: 8px; }
.row { display: flex; align-items: center; justify-content: space-between; padding: 14px; border-radius: 18px; background: #141416; }
.row__left { display: flex; align-items: center; gap: 12px; }
.coin {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: var(--ink);
}
.row__name { font-weight: 700; font-size: 15px; }
.row__meta { font-size: 13px; color: #9A9AA2; }
.row__amt { text-align: right; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }

/* A figure rolls to its new value: both values share one grid cell, so the box
   is as wide as the longer of the two and nothing reflows mid-roll. */
.roll { display: inline-grid; overflow: hidden; vertical-align: bottom; }
.roll > span { grid-area: 1 / 1; transition: transform .55s var(--ease-out), opacity .55s var(--ease-out); }
.row__amt .roll > span { justify-self: end; }
.roll__next { transform: translateY(100%); opacity: 0; }
.roll.is-rolling .roll__prev { transform: translateY(-100%); opacity: 0; }
.roll.is-rolling .roll__next { transform: none; opacity: 1; }
.roll.is-settling > span { transition: none; }

.sheet {
  position: absolute; inset: auto 0 0; z-index: 2;
  padding: 10px 18px 28px;
  border-radius: 30px 30px 0 0;
  background: #141416;
  box-shadow: 0 -24px 48px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06);
  transform: translateY(105%);
  transition: transform .6s var(--ease-out);
}
.sheet.is-open { transform: none; }
.sheet__grab { width: 40px; height: 4px; margin: 0 auto 14px; border-radius: 4px; background: #3A3A40; }
.sheet__head { display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 700; }
.sheet__meta { font: 11px var(--mono); color: #8E8E96; }
.sheet__field {
  display: flex; align-items: center; gap: 12px;
  margin-top: 10px; padding: 12px;
  border-radius: 18px; border: 1px solid #2A2A2E; background: #0B0B0D;
  transition: border-color .5s ease, box-shadow .5s ease;
}
.sheet__field.is-active { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(200, 245, 96, .14); }
.sheet__field .flag, .sheet__field .coin, .sheet__field .avatar { width: 34px; height: 34px; font-size: 13px; }
.sheet__who { font-size: 12px; color: #8E8E96; white-space: nowrap; }
.sheet__amt { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sheet__amt small { margin-left: 4px; font-size: 12px; font-weight: 500; color: #8E8E96; }
.sheet__rate { display: flex; justify-content: space-between; margin-top: 12px; font: 11px var(--mono); color: #8E8E96; }
.sheet__rate b { font-weight: 400; color: #fff; }
.sheet__steps { display: flex; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #26262B; }
.sheet__step { flex: 1; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: #6B6B73; transition: color .5s ease; }
.sheet__step.is-progress, .sheet__step.is-done { color: #fff; }
.muted { color: #6B6B73; font-weight: 500; }
.caret { display: inline-block; width: 1px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: currentColor; opacity: .8; }
.quote-in { display: inline-block; animation: quote-in .45s var(--ease-out) both; }
@keyframes quote-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.notify {
  position: absolute; inset: 12px 12px auto; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 24px;
  background: rgba(32, 32, 36, .94);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08);
  transform: translateY(-150%); opacity: 0;
  transition: transform .65s cubic-bezier(.34, 1.32, .5, 1), opacity .3s ease;
}
.notify.is-shown { transform: none; opacity: 1; }
.notify__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; }
.notify__icon.is-in { background: var(--green); }
.notify__title { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #8E8E96; }
.notify__body { font-size: 14px; font-weight: 700; white-space: nowrap; }
.notify__time { align-self: flex-start; margin-left: auto; font-size: 11px; color: #8E8E96; }

@media (max-width: 520px) {
  .phone { border-radius: 40px; padding: 18px 14px 32px; }
  .phone__bal { font-size: 44px; }
  .action { font-size: 12px; }
  .sheet { padding: 10px 14px 22px; }
  .sheet__amt { font-size: 16px; }
}

.scr-label { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.avatar {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  font: 700 11px/1 var(--body); color: var(--ink);
}
.flag { flex: none; width: 26px; height: 26px; border-radius: 50%; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(13, 13, 16, .08); }

/* ── Ticker ──────────────────────────────────────────── */
.ticker {
  overflow: hidden; padding: 8px 0 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: ticker 52s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; gap: 10px; margin: 0; padding: 0 10px 0 0; list-style: none; }
.ticker__item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 20px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  box-shadow: inset 0 0 0 1px var(--line);
  white-space: nowrap;
}
.ticker__item .avatar, .ticker__item .flag { width: 34px; height: 34px; font-size: 13px; }
.ticker__name { font-size: 14px; font-weight: 700; line-height: 1.2; }
.ticker__meta { font-size: 12px; color: var(--mute); line-height: 1.2; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── Section scaffolding ─────────────────────────────── */
.section { padding: 128px 0; }
.head { display: grid; gap: 20px; }
.head h2 { font-size: clamp(40px, 5.4vw, 72px); max-width: 13ch; }
.head p { max-width: 30em; color: var(--mute); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }
@media (min-width: 1024px) {
  .head--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: end; }
  .head--split p { justify-self: end; }
}

/* ── Depth layers ────────────────────────────────────── */
/* Soft colour fields behind a section's content. Gradients rather than blur
   filters, so scrolling them stays cheap. */
.has-depth { position: relative; overflow: hidden; isolation: isolate; }
.has-depth > .wrap { position: relative; z-index: 1; }
.depth { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.depth__blob { position: absolute; border-radius: 50%; will-change: transform; }
.depth__blob--blue { width: 560px; height: 560px; right: -160px; top: 4%; background: radial-gradient(closest-side, rgba(110, 140, 255, .32), transparent); }
.depth__blob--lime { width: 500px; height: 500px; left: -180px; bottom: 2%; background: radial-gradient(closest-side, rgba(200, 245, 96, .38), transparent); }
.depth__blob--violet { width: 560px; height: 560px; left: -200px; top: 28%; background: radial-gradient(closest-side, rgba(155, 92, 255, .16), transparent); }
.depth__blob--aqua { width: 420px; height: 420px; right: 6%; bottom: -140px; background: radial-gradient(closest-side, rgba(43, 212, 232, .16), transparent); }

/* ── Move money: bento ───────────────────────────────── */
.move { background: linear-gradient(180deg, var(--canvas) 0%, #EAF0FF 45%, #EEF8EE 100%); }
.bento { display: grid; gap: 16px; margin-top: 64px; }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "send send" "swap request" "receive receive"; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "send send receive" "swap request receive"; }
}
.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 28px;
  padding: 32px;
  border-radius: 32px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -40px rgba(13, 13, 16, .25);
}
.tile h3 { margin-top: 14px; font-size: clamp(28px, 2.6vw, 36px); letter-spacing: -0.03em; }
.tile p { margin-top: 10px; max-width: 30em; color: var(--mute); }
/* Every card's art area keeps the same 24px inset, so mock-ups never touch the
   tinted edge, even at the ends of their ±10px scroll drift. */
.tile__art { position: relative; flex: 1; display: grid; place-items: center; min-height: 220px; padding: 24px; border-radius: 22px; }
/* Named areas exist only where a template defines them; on a single column an
   unmatched name would stack every tile into the same implicit cell. */
@media (min-width: 720px) {
  .tile--send { grid-area: send; }
  .tile--receive { grid-area: receive; }
  .tile--swap { grid-area: swap; }
  .tile--request { grid-area: request; }
  .tile--send { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; }
  .tile--send .tile__copy { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
}
.art--blue { background: radial-gradient(120% 90% at 80% 0%, #DCE5FF, #F2F5FF 70%); }
.art--lime { background: radial-gradient(120% 90% at 20% 0%, #E6F8C8, #F6FBEE 70%); }
.art--aqua { background: radial-gradient(120% 90% at 50% 0%, #D3F4F8, #F1FBFC 70%); }
.art--violet { background: radial-gradient(120% 90% at 80% 100%, #E8E1FF, #F6F3FF 70%); }

.composer {
  width: min(320px, 100%); padding: 18px;
  border-radius: 24px; background: var(--surface);
  box-shadow: 0 24px 50px -28px rgba(13, 13, 16, .35), inset 0 0 0 1px var(--line);
}
/* The Send and Receive cards stack a notification slot above their mock-up, so
   each toast has its own space and never covers the card beneath it. */
.demo-stack { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.demo-slot { display: flex; align-items: flex-end; justify-content: center; min-height: 48px; }
.composer__people { display: flex; justify-content: space-between; margin-top: 12px; }
.person { display: grid; justify-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--mute); transition: color .35s ease; }
.person .avatar { width: 44px; height: 44px; font-size: 15px; transition: box-shadow .35s ease, transform .45s var(--ease-out); }
.person.is-picked .avatar { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--blue); transform: scale(1.06); }
.person.is-picked { color: var(--ink); }
.composer__amount { margin-top: 18px; text-align: center; font: 600 46px/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.composer__amount span { color: var(--faint); }
.composer__meta { margin-top: 8px; text-align: center; font-size: 13px; color: var(--mute); transition: opacity .3s ease; }
.composer__meta.is-quoting { opacity: .35; }
.composer__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px; height: 46px; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 15px;
  transition: transform .2s var(--ease-out), background-color .35s ease;
}
.composer__btn.is-pressed { transform: scale(.96); }
.composer__btn.is-sent { background: var(--green); }
.spinner { width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 18px 40px -18px rgba(13, 13, 16, .6);
  opacity: 0; transform: translateY(16px) scale(.94);
  transition: transform .6s cubic-bezier(.34, 1.32, .5, 1), opacity .3s ease;
}
.toast.is-shown { opacity: 1; transform: none; }
/* Never wider than its slot: the text truncates before the pill can reach the edge. */
.toast { max-width: 100%; }
.toast > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.toast__check { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--green); }
/* A two-line notification (amount over sender), so it stays narrow enough for
   the slimmest bento column. */
.toast--light {
  padding: 8px 18px 8px 8px; border-radius: 20px;
  background: var(--surface); color: var(--mute);
  box-shadow: 0 18px 40px -20px rgba(13, 13, 16, .45), inset 0 0 0 1px var(--line);
}
.toast__text { display: grid; gap: 1px; line-height: 1.25; }
.toast--light b { color: #0F9F5C; font-weight: 700; font-size: 14px; }
.toast--light small { font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.toast--light .avatar { width: 30px; height: 30px; font-size: 12px; }
.float { animation: float 6s ease-in-out infinite; animation-delay: var(--delay, 0s); }
@keyframes float { 50% { transform: translateY(-8px); } }

.tag-card {
  width: min(300px, 100%); padding: 22px;
  border-radius: 26px;
  background: linear-gradient(150deg, #1B1B22, #0D0D10 60%);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(200, 245, 96, 0), 0 30px 60px -30px rgba(13, 13, 16, .6);
  transition: box-shadow .45s ease;
}
.tag-card.is-paid { box-shadow: 0 0 0 3px var(--lime), 0 30px 60px -30px rgba(13, 13, 16, .6); }
.tag-card__top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255, 255, 255, .6); }
.tag-card__handle { margin-top: 6px; font: 600 30px/1 var(--display); letter-spacing: -0.03em; }
.tag-card__total {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 14px; padding: 10px 12px;
  border-radius: 14px; background: rgba(255, 255, 255, .07);
  font-size: 12px; color: rgba(255, 255, 255, .6);
}
.tag-card__total .roll { font: 600 18px/1.15 var(--display); letter-spacing: -0.02em; color: var(--lime); font-variant-numeric: tabular-nums; }
.tag-card__total .roll > span { justify-self: end; }
.tag-card__qr { position: relative; overflow: hidden; margin: 16px auto 0; width: 150px; height: 150px; padding: 10px; border-radius: 16px; background: #fff; }
.tag-card__qr img { width: 100%; height: 100%; }
.tag-card__scan {
  position: absolute; left: 6px; right: 6px; top: 6px; height: 3px;
  border-radius: 3px; background: var(--blue);
  box-shadow: 0 0 14px 3px rgba(47, 92, 255, .55);
  opacity: 0;
}
.tag-card__qr.is-scanning .tag-card__scan { animation: scan 1s ease-in-out both; }
@keyframes scan {
  0% { top: 6px; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { top: calc(100% - 9px); opacity: 0; }
}
.tag-card__share { margin-top: 18px; height: 42px; border-radius: 999px; display: grid; place-items: center; background: var(--lime); color: var(--ink); font-weight: 700; font-size: 14px; }

.converter { width: min(300px, 100%); display: grid; gap: 6px; }
.converter__row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 14px 14px 16px; border-radius: 20px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.converter__label { font-size: 12px; color: var(--mute); }
.converter__value { font: 600 22px/1.1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.converter__ccy { flex: none; display: flex; align-items: center; gap: 6px; padding: 5px 9px 5px 5px; border-radius: 999px; background: var(--well); font-weight: 700; font-size: 13px; }
.converter__ccy .avatar, .converter__ccy .flag { width: 20px; height: 20px; font-size: 10px; }
.converter__swap {
  justify-self: center; margin: -18px 0; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  box-shadow: 0 0 0 4px #EAF8FA;
  transition: transform .5s var(--ease-out);
}
.tile--swap:hover .converter__swap { transform: rotate(180deg); }
.converter__note { margin-top: 6px; text-align: center; font-size: 12px; color: var(--mute); }

.request { width: min(300px, 100%); display: grid; gap: 10px; }
.request__link {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 18px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.request__label { display: grid; min-width: 0; line-height: 1.2; }
.request__label small { color: var(--mute); font-size: 11.5px; font-weight: 500; }
.request__label b { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.request__copy {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: auto; padding: 5px 10px; border-radius: 999px;
  background: var(--well); color: var(--mute);
  font-size: 12px; font-weight: 700;
  transition: background-color .3s ease, color .3s ease, transform .2s var(--ease-out);
}
.request__copy.is-pressed { transform: scale(.92); }
.request__copy.is-copied { background: rgba(18, 183, 106, .12); color: #0F9F5C; }
/* Two rows tall, so rows can come and go without the card changing height. */
.request__feed { display: grid; align-content: start; gap: 10px; min-height: 134px; }
.notice {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 18px 36px -24px rgba(13, 13, 16, .4), inset 0 0 0 1px var(--line);
  font-size: 13px;
  transition: opacity .4s ease, transform .4s var(--ease-out);
}
.notice b { display: block; font-size: 13.5px; }
.notice small { color: var(--mute); font-size: 12px; }
.notice--faded { opacity: .55; transform: scale(.96); }
.notice.is-new { animation: feed-in .7s var(--ease-out) both; }
.notice.is-paid { animation: pop .5s var(--ease-out); }
@keyframes pop { 40% { transform: scale(1.04); } }

/* ── Network (dark) ──────────────────────────────────── */
.night { position: relative; overflow: hidden; background: var(--night); color: #fff; }
/* Two depth layers behind the content: a dot grid that barely moves and a
   glow that sweeps past faster, so the band reads in layers as it scrolls. */
.night__dots {
  position: absolute; inset: -80px 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 60% at 70% 50%, #000, transparent);
  mask-image: radial-gradient(70% 60% at 70% 50%, #000, transparent);
}
.night__glow {
  position: absolute; width: 720px; height: 720px; right: -160px; top: calc(50% - 360px);
  background: radial-gradient(closest-side, rgba(47, 92, 255, .32), transparent);
  pointer-events: none;
}
.night .wrap { position: relative; z-index: 1; }
.night .head p { color: #A1A1AA; }
.night .eyebrow { color: #A1A1AA; }
.night__grid { display: grid; gap: 64px; align-items: center; }
@media (min-width: 1024px) { .night__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 72px; } }
.feed {
  position: relative;
  padding: 18px; border-radius: 32px;
  background: rgba(20, 20, 24, .85);
  box-shadow: inset 0 0 0 1px var(--night-line), 0 40px 120px -20px rgba(47, 92, 255, .35);
  backdrop-filter: blur(12px);
}
.feed__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 14px; font-weight: 700; }
.live { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: 12px; font-weight: 500; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: blink 1.8s ease-in-out infinite; }
.feed__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.feed__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px; border-radius: 18px; background: #0E0E12;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}
.feed__row.is-new { animation: feed-in .7s var(--ease-out) both; }
@keyframes feed-in { from { opacity: 0; transform: translateY(-14px) scale(.98); } to { opacity: 1; transform: none; } }
.feed__left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.feed__name { font-weight: 700; font-size: 15px; }
.feed__meta { font-size: 13px; color: #8E8E96; }
.feed__amt { text-align: right; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.feed__amt small { display: block; font-weight: 500; font-size: 12px; color: #8E8E96; }
.feed__amt.is-in { color: var(--lime); }
.feed .avatar, .feed .flag { width: 38px; height: 38px; font-size: 13px; }

/* ── Security ────────────────────────────────────────── */
/* Side by side, the stage stretches to the copy column, so the slab's top and
   bottom edges line up with the eyebrow and the last feature card. */
.secure { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .secure { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: stretch; } }
.secure h2 { margin-top: 18px; font-size: clamp(40px, 5vw, 64px); max-width: 12ch; }
.secure__lead { margin-top: 20px; max-width: 30em; color: var(--mute); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }
.features { display: grid; gap: 12px; margin-top: 40px; }
.feature {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 20px 22px 24px;
  border: 0; border-radius: 24px;
  background: var(--surface); color: inherit;
  box-shadow: inset 0 0 0 1px var(--line);
  font: inherit; text-align: left;
  cursor: pointer;
  transition: box-shadow .35s ease;
}
.feature:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.feature.is-active { box-shadow: inset 0 0 0 1.5px var(--ink), 0 24px 48px -30px rgba(13, 13, 16, .35); }
.feature__icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--canvas); color: var(--mute);
  transition: background-color .35s ease, color .35s ease;
}
.feature.is-active .feature__icon { background: var(--ink); color: var(--lime); }
.feature h3 { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.02em; }
.feature p { margin-top: 6px; color: var(--mute); font-size: 15px; line-height: 1.45; }
.feature__bar { position: absolute; left: 22px; right: 22px; bottom: 10px; height: 3px; border-radius: 3px; overflow: hidden; background: var(--line); opacity: 0; transition: opacity .3s ease; }
.feature__bar span { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.feature.is-active .feature__bar { opacity: 1; }
.feature.is-active .feature__bar span { animation: grow var(--scene-ms, 4200ms) linear forwards; }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* The phone is centred in the slab, and the slab's corner cuts stay well clear
   of it, so the ±40px scroll drift never reaches an edge. */
.stage--secure { display: flex; align-items: center; justify-content: center; height: 640px; }
@media (min-width: 1024px) { .stage--secure { height: auto; min-height: 640px; } }
.stage--secure .stage__slab {
  background: linear-gradient(150deg, #15151C 0%, #23307A 45%, #2F5CFF 75%, #9B5CFF 100%);
  clip-path: polygon(0 0, 78% 0, 100% 12%, 100% 100%, 10% 100%, 0 90%);
}
@media (max-width: 639px) {
  .stage--secure .stage__slab { clip-path: polygon(0 0, 88% 0, 100% 6%, 100% 100%, 6% 100%, 0 95%); }
}
.stage--secure .phone-slot { position: relative; inset: auto; width: 100%; }
.phone--secure { width: min(360px, 86%); padding-bottom: 28px; }
.sec-screens { position: relative; height: 380px; margin-top: 18px; }
.sec-screen {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s ease, transform .6s var(--ease-out);
  pointer-events: none;
}
.sec-screen.is-active { opacity: 1; transform: none; }
.sec-title { margin-top: 18px; font: 600 26px/1.1 var(--display); letter-spacing: -0.03em; }
.sec-sub { margin-top: 8px; max-width: 24ch; color: #9A9AA2; font-size: 14px; line-height: 1.45; }
.swap .on { display: none; }
.sec-screen.is-done .swap .on { display: inline; }
.sec-screen.is-done .swap .off { display: none; }
.sec-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: #1F1F24; color: #9A9AA2;
  font-size: 12px; font-weight: 700;
  transition: background-color .35s ease, color .35s ease;
}
.sec-screen.is-done .sec-pill { background: rgba(200, 245, 96, .14); color: var(--lime); }
.sec-pill .spinner { width: 11px; height: 11px; border-width: 1.5px; }
.sec-screen.is-done .sec-pill .spinner { display: none; }

.faceid { position: relative; width: 112px; height: 112px; color: #fff; transition: color .4s ease; }
.faceid svg { width: 100%; height: 100%; }
.faceid__scan {
  position: absolute; left: 10%; right: 10%; top: 12%; height: 2px;
  border-radius: 2px; background: var(--lime);
  box-shadow: 0 0 12px 2px rgba(200, 245, 96, .7);
  animation: face-scan 1.1s ease-in-out infinite alternate;
}
@keyframes face-scan { to { top: 86%; } }
.faceid__check { opacity: 0; transform: scale(.6); transition: opacity .35s ease, transform .45s cubic-bezier(.34, 1.4, .5, 1); transform-origin: center; transform-box: fill-box; }
.faceid__face { transition: opacity .3s ease; }
.sec-screen.is-done .faceid { color: var(--lime); }
.sec-screen.is-done .faceid__scan { display: none; }
.sec-screen.is-done .faceid__face { opacity: 0; }
.sec-screen.is-done .faceid__check { opacity: 1; transform: none; }

.sec-card { width: 100%; padding: 16px; border-radius: 22px; background: #141416; border: 1px solid #2A2A2E; text-align: left; }
.sec-card__head { display: flex; align-items: center; gap: 12px; }
.sec-card__head .coin { width: 44px; height: 44px; font-size: 16px; }
.sec-card__name { font-weight: 700; font-size: 16px; }
.sec-card__meta { color: #9A9AA2; font-size: 13px; }
.sec-card__head .sec-pill { margin-left: auto; }
.checks { display: grid; gap: 4px; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid #26262B; list-style: none; }
.checks li { display: flex; align-items: center; gap: 12px; padding: 7px 0; color: #6B6B73; font-size: 14px; font-weight: 500; transition: color .35s ease; }
.checks li.is-on { color: #fff; }
.tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px dashed #4A4A52; color: var(--ink);
  transition: background-color .3s ease, border-color .3s ease, transform .4s cubic-bezier(.34, 1.4, .5, 1);
}
.tick svg { opacity: 0; transition: opacity .25s ease; }
.is-on > .tick { background: var(--lime); border-color: var(--lime); border-style: solid; transform: scale(1.08); }
.is-on > .tick svg { opacity: 1; }

.track-amount { margin-top: 6px; font: 600 34px/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.track-amount small { display: block; margin-top: 8px; font: 500 14px/1 var(--body); letter-spacing: 0; color: #9A9AA2; }
.track { position: relative; display: grid; gap: 18px; width: 100%; margin: 24px 0 0; padding: 18px 16px; border-radius: 22px; background: #141416; border: 1px solid #2A2A2E; list-style: none; text-align: left; }
.track li { position: relative; display: flex; align-items: center; gap: 12px; color: #6B6B73; font-size: 14px; font-weight: 500; transition: color .35s ease; }
.track li.is-on { color: #fff; }
.track li span:last-child { margin-left: auto; font: 12px var(--mono); color: #6B6B73; }
.track li + li::before {
  content: ""; position: absolute; left: 10px; bottom: 100%;
  width: 2px; height: 18px; background: #2A2A2E;
}
.track li.is-on::before { background: var(--lime); }


/* ── Closer ──────────────────────────────────────────── */
.closer { padding: 0 0 96px; }
.closer__panel {
  position: relative; overflow: hidden;
  display: grid; gap: 40px; align-items: center;
  padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px);
  border-radius: 40px;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(47, 92, 255, .55), transparent 60%),
    radial-gradient(50% 70% at 80% 100%, rgba(155, 92, 255, .45), transparent 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(43, 212, 232, .25), transparent 60%),
    var(--night);
  color: #fff;
}
@media (min-width: 900px) { .closer__panel { grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); } }
.closer__panel h2 { font-size: clamp(44px, 6vw, 88px); letter-spacing: -0.04em; max-width: 12ch; }
.closer__panel p { margin: 20px 0 32px; max-width: 26em; color: rgba(255, 255, 255, .72); font-size: clamp(17px, 1.5vw, 20px); }
.closer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.closer__handle { color: rgba(255, 255, 255, .6); font-size: 14px; }
.orbs { position: relative; height: 320px; }
.orb {
  position: absolute; display: grid; place-items: center;
  border-radius: 50%;
  font: 600 var(--size) / 1 var(--display); letter-spacing: -0.04em;
  width: calc(var(--size) * 2.1); height: calc(var(--size) * 2.1);
  box-shadow: inset 0 -10px 24px rgba(0, 0, 0, .25), inset 0 8px 16px rgba(255, 255, 255, .45), 0 30px 60px -24px rgba(0, 0, 0, .6);
}
.orb--usd { --size: 64px; left: 18%; top: 4%; background: radial-gradient(circle at 35% 30%, #8FA8FF, #2F5CFF 60%, #1B3AC2); color: #fff; }
.orb--ngn { --size: 52px; right: 6%; top: 32%; background: radial-gradient(circle at 35% 30%, #F1FFC9, #C8F560 55%, #8FB82C); color: var(--ink); }
.orb--ghs { --size: 40px; left: 6%; bottom: 4%; background: radial-gradient(circle at 35% 30%, #C6F8FF, #2BD4E8 55%, #148FA0); color: var(--ink); }

/* ── Footer ──────────────────────────────────────────── */
.footer { overflow: hidden; padding: 64px 0 0; border-top: 1px solid var(--line); }
.footer__cols { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer__cols { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer__brand p { margin-top: 14px; max-width: 26em; color: var(--mute); }
.footer__col h4 { margin: 0 0 14px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.footer__col a { display: block; padding: 5px 0; font-weight: 500; text-decoration: none; }
.footer__col a:hover { color: var(--blue); }
.footer__fine { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; line-height: 1.5; max-width: 90ch; }
.footer__mark {
  margin: 32px 0 -0.24em;
  font: 600 clamp(120px, 30vw, 420px)/0.8 var(--display);
  letter-spacing: -0.06em;
  text-align: center;
  background: linear-gradient(180deg, rgba(13, 13, 16, .12), rgba(13, 13, 16, .02));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}

@media (max-width: 520px) {
  .section { padding: 96px 0; }
  .tile { padding: 20px; border-radius: 28px; }
  .tile__art { padding: 16px; }
  .toast { gap: 8px; font-size: 12px; }
  .toast--light { padding: 6px 12px 6px 6px; }
  .toast--light .avatar { width: 26px; height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .settle, .device-enter, .hero__mesh, .stage__slab,
  .ticker__track, .float, .live::before, .feed__row.is-new, .quote-in {
    animation: none;
  }
  .btn, .action, .roll > span, .sheet, .sheet__field, .sheet__step, .notify,
  .person, .person .avatar, .composer__meta, .composer__btn, .toast, .tag-card,
  .request__copy, .notice, .feature, .feature__icon, .sec-screen, .sec-pill,
  .faceid, .faceid__check, .tick, .checks li, .track li { transition: none; }
  .spinner, .tag-card__qr.is-scanning .tag-card__scan, .notice.is-new, .notice.is-paid,
  .faceid__scan, .feature.is-active .feature__bar span { animation: none; }
}
