/* ==========================================
   1. RESET & ROOT VARIABLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 64px);
  scroll-behavior: smooth;
}

:root {
  color-scheme: light;

  /* Light theme colors */
  --bg: #f6f8fd;
  --screen: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f4fb;
  --line: #dfe5f1;
  --ink: #0d1240;
  --ink-2: #545d80;
  --tint: #e4eafc;
  --icon: #0d1240;
  --up: #0a9a6a;
  --up-bg: #dcf5ea;
  --accent: #0a0a47;
  --accent-ink: #ffffff;
  --hero-a: #0a0a47;
  --hero-b: #0e0e5c;
  --cta-bg: #ffffff;
  --cta-ink: #0a0a47;
  --focus: #3b6bff;

  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--hero-a);
}

/* Dark theme (follows system preference) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #080f1d;
    --screen: #0a1120;
    --surface: #111a2e;
    --surface-2: #0f1830;
    --line: #1f2c47;
    --ink: #eaf0ff;
    --ink-2: #93a1c4;
    --tint: #1a2745;
    --icon: #5b9bff;
    --up: #34d399;
    --up-bg: #0f3a33;
    --accent: #4c8df6;
    --accent-ink: #04102a;
    --hero-a: #0f1a36;
    --hero-b: #1a3468;
    --cta-bg: #4c8df6;
    --cta-ink: #04102a;
    --focus: #8db6ff;
  }
}

/* Dark theme (manual toggle override) */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080f1d;
  --screen: #0a1120;
  --surface: #111a2e;
  --surface-2: #0f1830;
  --line: #1f2c47;
  --ink: #eaf0ff;
  --ink-2: #93a1c4;
  --tint: #1a2745;
  --icon: #5b9bff;
  --up: #34d399;
  --up-bg: #0f3a33;
  --accent: #4c8df6;
  --accent-ink: #04102a;
  --hero-a: #0f1a36;
  --hero-b: #1a3468;
  --cta-bg: #4c8df6;
  --cta-ink: #04102a;
  --focus: #8db6ff;
}

/* ==========================================
   2. BASE ELEMENTS & TYPOGRAPHY
   ========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.lead {
  color: var(--ink-2);
  font-size: 1rem;
  max-width: 52ch;
  margin-top: 12px;
  font-weight: 400;
}

.ic {
  width: 20px;
  height: 20px;
  flex: none;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================
   3. HEADER & NAVIGATION
   ========================================== */
.site-head {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  background-color: var(--hero-a);
  color: #ffffff;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1rem;
}

.brand svg {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.icon-btn:hover {
  background-color: rgba(255, 255, 255, 0.14);
}

.icon-btn .moon {
  display: none;
}

:root[data-theme="dark"] .icon-btn .sun {
  display: none;
}

:root[data-theme="dark"] .icon-btn .moon {
  display: block;
}

/* ==========================================
   4. BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}

.btn-solid {
  background-color: var(--cta-bg);
  color: var(--cta-ink);
}

.btn-solid:hover {
  filter: brightness(1.05);
}

.btn-line {
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  background-color: transparent;
}

.btn-line:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.btn-sm {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8125rem;
}

.btn-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.btn-txt small {
  font-size: 0.6875rem;
  font-weight: 400;
  opacity: 0.85;
}

.btn-txt b {
  font-size: 0.875rem;
  font-weight: 600;
}

.btn-accent {
  background-color: var(--accent);
  color: var(--accent-ink);
  width: 100%;
  justify-content: center;
}

.btn-accent:hover {
  filter: brightness(1.08);
}

/* ==========================================
   5. HERO SECTION
   ========================================== */
.hero {
  background: linear-gradient(180deg, var(--hero-a), var(--hero-b));
  color: #ffffff;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: center;
  padding-top: clamp(40px, 7vw, 80px);
}

.hero-copy {
  padding-bottom: clamp(40px, 7vw, 80px);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero-visual {
  height: 520px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

/* ==========================================
   6. PHONE MOCKUP (APP DASHBOARD PREVIEW)
   ========================================== */
.phone {
  width: 310px;
  flex: none;
  margin-top: 16px;
  border-radius: 28px;
  padding: 8px;
  background-color: #05051f;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.screen {
  background-color: var(--screen);
  border-radius: 22px;
  overflow: hidden;
  height: 640px;
  position: relative;
  color: var(--ink);
}

.ph-head {
  background: linear-gradient(180deg, var(--hero-a), var(--hero-b));
  color: #ffffff;
  padding: 18px 16px 48px;
}

.ph-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ph-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ph-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.75rem;
}

.ph-user b {
  display: block;
  font-size: 0.75rem;
  line-height: 1.2;
}

.ph-user small {
  font-size: 0.625rem;
  opacity: 0.75;
}

.ph-badge {
  font-size: 0.58rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
}

.ph-bal {
  margin-top: 16px;
}

.ph-bal small {
  display: block;
  font-size: 0.65rem;
  opacity: 0.8;
}

.ph-bal strong {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ph-actions {
  margin: -30px 12px 0;
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 4px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.ph-actions span,
.ph-svc span {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
}

.dot {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--tint);
  color: var(--icon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
}

.dot .ic {
  width: 16px;
  height: 16px;
}

.ph-body {
  padding: 12px 12px 0;
}

.ph-title {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin: 4px 0 8px;
  text-transform: uppercase;
}

.ph-svc {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  margin-bottom: 12px;
}

.ph-rate {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 8px;
}

.coin {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.68rem;
  flex: none;
}

.coin.btc {
  color: #f7931a;
}

.coin.eth {
  color: #7c7fea;
}

.ph-rate b {
  display: block;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 600;
}

.ph-rate small {
  font-size: 0.6rem;
  color: var(--ink-2);
}

.ph-rate .grow {
  flex: 1;
  min-width: 0;
}

.pill {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--up);
  background-color: var(--up-bg);
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
}

.spark {
  width: 48px;
  height: 20px;
  flex: none;
}

.spark path {
  fill: none;
  stroke: var(--up);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  animation: draw 1.4s ease-out 0.4s both;
}

@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.ph-nav {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 50px;
  background-color: #0a0a47;
  color: #ffffff;
  border-radius: 999px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 2px;
  text-align: center;
  font-size: 0.55rem;
}

:root[data-theme="dark"] .ph-nav {
  background-color: #16213b;
  border: 1px solid var(--line);
}

.ph-nav .ic {
  width: 16px;
  height: 16px;
  display: block;
  margin: 0 auto 2px;
}

.ph-nav .on {
  font-weight: 600;
}

.ph-nav .off {
  opacity: 0.6;
}

/* ==========================================
   7. SECTION LAYOUT HELPERS
   ========================================== */
.sec {
  padding: clamp(64px, 9vw, 108px) 0;
}

.sec-alt {
  background-color: var(--surface-2);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.split.flip > :first-child {
  order: 2;
}

/* ==========================================
   8. CRYPTO ACTIONS LIST (BUY / SELL / SEND ...)
   ========================================== */
.acts {
  margin-top: 24px;
}

.act {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.act:last-child {
  border-bottom: 1px solid var(--line);
}

.act .dot {
  margin: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.act p {
  color: var(--ink-2);
  font-size: 0.88rem;
  margin-top: 2px;
}

/* ==========================================
   9. SELL/SWAP PANEL (CALCULATOR CARD)
   ========================================== */
.panel {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(10, 10, 71, 0.05);
}

:root[data-theme="dark"] .panel {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 8px;
}

.field {
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field label,
.field .lab {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-2);
  font-weight: 500;
}

.field input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0;
  letter-spacing: -0.01em;
}

.field input:focus {
  outline: none;
}

.field:focus-within {
  border-color: var(--focus);
}

.field .out {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.chip {
  font-weight: 600;
  font-size: 0.8125rem;
  background-color: var(--tint);
  color: var(--icon);
  border-radius: 6px;
  padding: 4px 10px;
  flex: none;
}

.link-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--surface);
  border: 1px solid var(--line);
  color: var(--icon);
  margin: -10px auto;
  position: relative;
  z-index: 1;
}

.rate-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--ink-2);
  margin: 18px 2px 14px;
}

.fine {
  font-size: 0.75rem;
  color: var(--ink-2);
  margin-top: 12px;
}

.mini-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin: 22px 0 10px;
  text-transform: uppercase;
}

.panel .ph-rate {
  background-color: var(--surface-2);
}

.panel .ph-rate b {
  font-size: 0.84rem;
}

.panel .ph-rate small {
  font-size: 0.72rem;
}

.panel .spark {
  width: 56px;
}

/* ==========================================
   10. VIRTUAL CARDS (NGN / USD)
   ========================================== */
.stage {
  position: relative;
  height: 360px;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}

.vcard {
  position: absolute;
  width: min(300px, 75%);
  aspect-ratio: 1.586;
  border-radius: 14px;
  padding: 18px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 36px rgba(6, 10, 60, 0.25);
}

.vcard.ngn {
  left: 0;
  top: 0;
  background: linear-gradient(135deg, #0a0a47, #23309f);
  transform: rotate(-4deg);
}

.vcard.usd {
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #2455d9, #6fa6ff);
  transform: rotate(3deg);
}

.vc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.84rem;
}

.vc-cur {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  padding: 2px 8px;
}

.vc-chip {
  width: 36px;
  height: 26px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.vc-num {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.vc-foot {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  opacity: 0.85;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
  font-size: 0.88rem;
}

.ticks li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--ink-2);
}

.ticks li b {
  color: var(--ink);
  font-weight: 600;
}

.tick {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--up-bg);
  color: var(--up);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tick .ic {
  width: 14px;
  height: 14px;
}

/* ==========================================
   11. BILL PAYMENTS STRIP
   ========================================== */
.svc-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 16px;
}

.svc-strip div {
  text-align: center;
}

.svc-strip .dot {
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
  border-radius: 12px;
}

.svc-strip .dot .ic {
  width: 22px;
  height: 22px;
}

.svc-strip b {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
}

.svc-strip small {
  color: var(--ink-2);
  font-size: 0.75rem;
}

/* ==========================================
   12. GIFT CARD RATE BOARD
   ========================================== */
.board {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 20px;
}

.g-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.g-row:last-of-type {
  border-bottom: 0;
}

.g-row .coin {
  width: 40px;
  height: 40px;
  color: var(--icon);
  font-size: 0.8125rem;
}

.g-row .grow {
  flex: 1;
}

.g-row b {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
}

.g-row small {
  color: var(--ink-2);
  font-size: 0.75rem;
}

.g-price {
  text-align: right;
}

.g-price strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--icon);
  letter-spacing: -0.005em;
}

.g-price .pill {
  font-size: 0.6875rem;
  padding: 2px 6px;
  display: inline-block;
}

.board .fine {
  padding-bottom: 14px;
  margin: 0;
}

/* ==========================================
   13. KYC / VERIFICATION STEPS
   ========================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: end;
  margin-top: 36px;
}

.step {
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}

.step .ic {
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.84rem;
  opacity: 0.88;
}

.step.s1 {
  min-height: 180px;
  background-color: var(--tint);
  color: var(--ink);
}

.step.s2 {
  min-height: 230px;
  background-color: var(--accent);
  color: var(--accent-ink);
}

.step.s3 {
  min-height: 280px;
  background: linear-gradient(180deg, var(--hero-a), var(--hero-b));
  color: #ffffff;
}

.step .pill {
  align-self: flex-start;
  background-color: rgba(255, 255, 255, 0.16);
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.6875rem;
  margin-bottom: 8px;
  border-radius: 4px;
}

.step.s1 .pill {
  border-color: var(--icon);
  background-color: transparent;
}

/* ==========================================
   14. FAQ ACCORDION
   ========================================== */
.faq {
  max-width: 760px;
  margin: 32px auto 0;
}

details {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  font-weight: 600;
  font-size: 0.9375rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--ink-2);
  border-bottom: 1.5px solid var(--ink-2);
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex: none;
  margin-right: 4px;
}

details[open] summary::after {
  transform: rotate(-135deg);
}

details p {
  color: var(--ink-2);
  padding: 0 0 16px;
  max-width: 65ch;
  font-size: 0.88rem;
}

/* ==========================================
   15. GET THE APP / FINAL CTA
   ========================================== */
.get {
  background: linear-gradient(180deg, var(--hero-a), var(--hero-b));
  color: #ffffff;
  text-align: center;
}

.get .lead {
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.82);
}

.get .hero-cta {
  justify-content: center;
}

/* ==========================================
   16. FOOTER
   ========================================== */
footer {
  background-color: var(--hero-b);
  color: rgba(255, 255, 255, 0.72);
  padding: 32px 0 40px;
  font-size: 0.84rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.foot a:hover {
  color: #ffffff;
}

.risk {
  margin-top: 20px;
  font-size: 0.75rem;
  opacity: 0.75;
  max-width: 84ch;
}

/* ==========================================
   17. RESPONSIVE BREAKPOINTS (MOBILE OVERRIDES)
   ========================================== */
@media (max-width: 900px) {
  body {
    font-size: 13.5px;
  }

  h1 {
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 600;
  }

  h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 600;
  }

  h3 {
    font-size: 0.88rem;
    font-weight: 600;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .split.flip > :first-child {
    order: 0;
  }

  .hero-visual {
    height: 420px;
  }

  .btn {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 0.8125rem;
  }

  .btn-sm {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  .sec {
    padding: clamp(48px, 7vw, 84px) 0;
  }

  .lead {
    font-size: 0.84rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step.s1,
  .step.s2,
  .step.s3 {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .brand span {
    letter-spacing: 0.05em;
  }

  .svc-strip {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 18px;
  }

  .hero-cta .btn {
    flex: 1 1 100%;
  }

  .nav .btn-sm {
    display: none;
  }

  .stage {
    height: 300px;
  }
}

/* ==========================================
   18. ACCESSIBILITY PREFERENCES
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .spark path {
    animation: none;
  }

  summary::after {
    transition: none;
  }
}


/* <style id="cz-extra"> */
body, .site-head, .hero, .icon-btn, .btn {
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

:root:not([data-theme="dark"]) .site-head {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

:root:not([data-theme="dark"]) .site-head .brand svg rect {
  fill: #0a0a47;
  fill-opacity: 1;
}

:root:not([data-theme="dark"]) .nav-links a {
  color: var(--ink-2);
}

:root:not([data-theme="dark"]) .nav-links a:hover {
  color: var(--ink);
}

:root:not([data-theme="dark"]) .icon-btn {
  border-color: var(--line);
  color: var(--ink);
}

:root:not([data-theme="dark"]) .site-head .btn-solid,
:root:not([data-theme="dark"]) .hero .btn-solid {
  color: #fff;
}

:root:not([data-theme="dark"]) .hero {
  color: var(--ink);
}

:root:not([data-theme="dark"]) .hero .lead,
:root:not([data-theme="dark"]) .hero-note {
  color: var(--ink-2);
}

:root:not([data-theme="dark"]) .hero .btn-line {
  border-color: rgba(13, 18, 64, 0.2);
  color: var(--ink);
}

:root:not([data-theme="dark"]) .hero {
  position: relative;
}

.hero .lead {
  font-size: 1rem;
  max-width: 500px;
  margin-top: 16px;
}

@media (max-width: 900px) {
  .hero .lead {
    font-size: 0.88rem;
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
}

/* Drifting color blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}

.blob.b1 {
  width: 320px;
  height: 320px;
  left: -80px;
  top: -60px;
  opacity: 0.18;
}

.blob.b2 {
  width: 300px;
  height: 300px;
  right: -50px;
  top: 100px;
  opacity: 0.15;
  animation-delay: -5s;
}

:root[data-theme="dark"] .blob {
  opacity: 0.2;
}

@keyframes drift {
  to {
    transform: translate(50px, 30px) scale(1.1);
  }
}

/* Live rate pill */
.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(13, 18, 64, 0.04);
  margin-bottom: 16px;
}

:root[data-theme="dark"] .live {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}

.live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0a9a6a;
  box-shadow: 0 0 0 0 rgba(10, 154, 106, 0.6);
  animation: ping 1.8s infinite;
}

.live b {
  color: #0a9a6a;
}

:root[data-theme="dark"] .live b {
  color: #34d399;
}

@keyframes ping {
  70% {
    box-shadow: 0 0 0 7px rgba(10, 154, 106, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(10, 154, 106, 0);
  }
}

/* Headline */
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 600;
}

:root:not([data-theme="dark"]) .hero h1 {
  color: var(--ink);
}

.hl {
  display: flex;
  align-items: center;
  gap: 0.2em;
  overflow: hidden;
  padding: 0.02em 0 0.08em;
  cursor: default;
}

.hl > span {
  display: inline-block;
  transform: translateY(115%);
  animation: rise 0.8s cubic-bezier(0.2, 0.85, 0.2, 1) forwards;
}

.hl:nth-child(2) > span,
.hl:nth-child(2) > .hb {
  animation-delay: 0.12s;
}

.hl:nth-child(3) > span,
.hl:nth-child(3) > .hb {
  animation-delay: 0.24s;
}

@keyframes rise {
  to {
    transform: none;
  }
}

.hl em {
  font-style: normal;
  background: linear-gradient(90deg, #2f5bff, #00b894, #7c3aed, #2f5bff);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: flow 6s linear infinite;
}

:root[data-theme="dark"] .hl em {
  background-image: linear-gradient(90deg, #7fb0ff, #34d399, #c4a8ff, #7fb0ff);
}

@keyframes flow {
  to {
    background-position: 300% 0;
  }
}

.hl:hover em {
  animation-duration: 1.2s;
}

.hb {
  flex: none;
  width: 0.68em;
  height: 0.68em;
  border-radius: 0.18em;
  display: grid;
  place-items: center;
  color: #fff;
  opacity: 0;
  transform: scale(0.3) rotate(-20deg);
  animation: pop 0.6s 0.7s cubic-bezier(0.3, 1.5, 0.5, 1) forwards;
}

.hb svg {
  width: 55%;
  height: 55%;
}

.hl:nth-child(2) .hb {
  animation-delay: 0.82s;
}

.hl:nth-child(3) .hb {
  animation-delay: 0.95s;
}

@keyframes pop {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Phone: float, tilt, charts */
.phone {
  animation: float 6s ease-in-out infinite;
  transform: perspective(1000px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transition: transform 0.2s ease-out;
  box-shadow: 0 20px 50px rgba(13, 18, 64, 0.2);
}

@keyframes float {
  50% {
    translate: 0 -8px;
  }
}

.hero-visual {
  position: relative;
}

.spark path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.6s 0.9s ease forwards;
}

/* Floating notification chips */
.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(13, 18, 64, 0.1);
  font-size: 0.75rem;
  line-height: 1.25;
  pointer-events: none;
  opacity: 0;
  animation: chipin 0.6s forwards, bob 5s ease-in-out infinite;
}

.float-chip b {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
}

.float-chip small {
  color: var(--ink-2);
}

.float-chip .ci {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--up);
}

.c1 {
  left: -2%;
  top: 80px;
  animation-delay: 1.2s, 1.2s;
}

.c2 {
  right: -2%;
  top: 210px;
  animation-delay: 1.6s, 2.2s;
}

.c3 {
  left: 2%;
  top: 360px;
  animation-delay: 2s, 2.8s;
}

@keyframes chipin {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bob {
  50% {
    translate: 0 -6px;
  }
}

/* Scroll reveal for the rest of the page */
.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.rv.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 700px) {
  .float-chip {
    display: none;
  }
  .hl {
    gap: 0.15em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
  .hl > span {
    transform: none;
  }
  .hb, .float-chip {
    opacity: 1;
    transform: none;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
  .spark path {
    stroke-dashoffset: 0;
  }
}

/* <style id="cz-colors">
 ================================================================
   COLOR CONFIGURATION
   ================================================================ */

/* ---------- PART 1: LIGHT THEME ---------- */
:root { background-color: #ffffff; }
body { background-color: #ffffff; }

.site-head { background-color: rgba(255, 255, 255, 0.88); }
.icon-btn { background-color: #f1f4fb; }
.icon-btn:hover { background-color: #e4eafc; }
.site-head .btn-solid { background-color: #0a0a47; }

.hero { background-image: none; background-color: #ffffff; }
.hero .btn-solid { background-color: #0a0a47; }
.hero .btn-line:hover { background-color: #e4eafc; }
.live { background-color: #ffffff; }
.hb { background-color: #0a0a47; }
.float-chip { background-color: #ffffff; }
.float-chip .ci { background-color: #dcf5ea; }

.phone { background-color: #05051f; }
.screen { background-color: #ffffff; }
.ph-head { background-image: none; background-color: #0a0a47; }
.ph-av { background-color: rgba(255, 255, 255, 0.1); }
.ph-actions { background-color: #f1f4fb; }
.dot { background-color: #e4eafc; }
.ph-rate { background-color: #f1f4fb; }
.panel .ph-rate { background-color: #f1f4fb; }
.coin { background-color: #ffffff; }
.pill { background-color: #dcf5ea; }
.ph-nav { background-color: #0a0a47; }

.sec { background-color: #ffffff; }
.sec-alt { background-color: #f1f4fb; }
.panel { background-color: #ffffff; }
.field { background-color: #f1f4fb; }
.chip { background-color: #e4eafc; }
.link-dot { background-color: #ffffff; }
.tick { background-color: #dcf5ea; }
.svc-strip { background-color: #ffffff; }
.board { background-color: #ffffff; }
.g-row { background-color: transparent; }
.faq details { background-color: transparent; }

.vcard.ngn { background: linear-gradient(135deg, #0a0a47, #23309f); }
.vcard.usd { background: linear-gradient(135deg, #2455d9, #6fa6ff); }

.step.s1 { background-color: #e4eafc; }
.step.s2 { background-color: #0a0a47; }
.step.s3 { background-image: none; background-color: #0e0e5c; }

.get { background-image: none; background-color: #0a0a47; }
.get .btn-solid { background-color: #ffffff; }
footer { background-color: #0e0e5c; }

/* ---------- PART 2: DARK THEME ---------- */
:root[data-theme="dark"] { background-color: #080f1d; }
:root[data-theme="dark"] body { background-color: #080f1d; }

:root[data-theme="dark"] .site-head { background-color: #0f1a36; }
:root[data-theme="dark"] .icon-btn { background-color: rgba(255, 255, 255, 0.08); }
:root[data-theme="dark"] .icon-btn:hover { background-color: rgba(255, 255, 255, 0.16); }
:root[data-theme="dark"] .site-head .btn-solid { background-color: #4c8df6; }

:root[data-theme="dark"] .hero { background-color: #0f1a36; }
:root[data-theme="dark"] .hero .btn-solid { background-color: #4c8df6; }
:root[data-theme="dark"] .hero .btn-line:hover { background-color: rgba(255, 255, 255, 0.12); }
:root[data-theme="dark"] .live { background-color: rgba(255, 255, 255, 0.08); }
:root[data-theme="dark"] .hb { background-color: rgba(255, 255, 255, 0.14); }
:root[data-theme="dark"] .float-chip { background-color: #111a2e; }
:root[data-theme="dark"] .float-chip .ci { background-color: #0f3a33; }

:root[data-theme="dark"] .phone { background-color: #05051f; }
:root[data-theme="dark"] .screen { background-color: #0a1120; }
:root[data-theme="dark"] .ph-head { background-color: #0f1a36; }
:root[data-theme="dark"] .ph-av { background-color: rgba(255, 255, 255, 0.1); }
:root[data-theme="dark"] .ph-actions { background-color: #0f1830; }
:root[data-theme="dark"] .dot { background-color: #1a2745; }
:root[data-theme="dark"] .ph-rate { background-color: #0f1830; }
:root[data-theme="dark"] .panel .ph-rate { background-color: #0f1830; }
:root[data-theme="dark"] .coin { background-color: #111a2e; }
:root[data-theme="dark"] .pill { background-color: #0f3a33; }
:root[data-theme="dark"] .ph-nav { background-color: #16213b; }

:root[data-theme="dark"] .sec { background-color: #080f1d; }
:root[data-theme="dark"] .sec-alt { background-color: #0f1830; }
:root[data-theme="dark"] .panel { background-color: #111a2e; }
:root[data-theme="dark"] .field { background-color: #0f1830; }
:root[data-theme="dark"] .chip { background-color: #1a2745; }
:root[data-theme="dark"] .link-dot { background-color: #111a2e; }
:root[data-theme="dark"] .tick { background-color: #0f3a33; }
:root[data-theme="dark"] .svc-strip { background-color: #111a2e; }
:root[data-theme="dark"] .board { background-color: #111a2e; }

:root[data-theme="dark"] .step.s1 { background-color: #1a2745; }
:root[data-theme="dark"] .step.s2 { background-color: #4c8df6; }
:root[data-theme="dark"] .step.s3 { background-color: #1a3468; }

:root[data-theme="dark"] .get { background-color: #0f1a36; }
:root[data-theme="dark"] .get .btn-solid { background-color: #4c8df6; }
:root[data-theme="dark"] footer { background-color: #1a3468; }

/* ==========================================
   19. POPUP / MODAL DIALOG STYLES
   ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  padding: 24px 20px 20px;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.96) translateY(8px);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: none;
  background-color: transparent;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.modal-close:hover {
  background-color: var(--surface-2);
  color: var(--ink);
}

.modal-close .ic {
  width: 18px;
  height: 18px;
}

.modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.modal-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--tint);
  color: var(--focus);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.modal-icon-badge.android-badge {
  background-color: rgba(10, 154, 106, 0.1);
  color: #0a9a6a;
}

.modal-icon-badge.ios-badge {
  background-color: rgba(91, 155, 255, 0.1);
  color: #2455d9;
}

:root[data-theme="dark"] .modal-icon-badge.ios-badge {
  color: #5b9bff;
}

.modal-icon-badge .ic {
  width: 22px;
  height: 22px;
}

.modal-tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #2455d9;
  background-color: var(--tint);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.modal-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
}

.modal-sub {
  font-size: 0.8125rem;
  color: var(--ink-2);
  margin-top: 6px;
  line-height: 1.4;
  font-weight: 400;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-btn {
  width: 100%;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.btn-line-dark {
  border: 1px solid var(--line);
  background-color: var(--surface-2);
  color: var(--ink);
}

.btn-line-dark:hover {
  background-color: var(--tint);
}

.modal-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--ink-2);
  font-size: 0.6875rem;
  font-weight: 500;
  margin: 2px 0;
}

.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--line);
}

.modal-divider span {
  padding: 0 10px;
  opacity: 0.5;
}

.app-preview-card {
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 16px;
  text-align: left;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.preview-app-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-logo {
  width: 26px;
  height: 26px;
  flex: none;
}

.preview-app-info b {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}

.preview-app-info small {
  display: block;
  font-size: 0.6875rem;
  color: var(--ink-2);
  font-weight: 400;
}

.status-pill {
  font-size: 0.625rem;
  font-weight: 600;
  color: #0a9a6a;
  background-color: rgba(10, 154, 106, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

:root[data-theme="dark"] .status-pill {
  background-color: rgba(52, 211, 153, 0.15);
  color: #34d399;
}

.preview-features {
  display: grid;
  gap: 6px;
}

.pf-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--ink-2);
  font-weight: 400;
}

.pf-item .ic {
  width: 14px;
  height: 14px;
  color: var(--up);
}