/* Paystack brand layer, from the Paystack Visual Guide, Version One, May 2026.
   Headlines: PP Mori (licensed) with Inter Tight as the web fallback. Body: Inter. */
:root {
  --midnight: #0E141B;
  --sky: #009EFF;
  --stack: #0C68EB;
  --white: #FFFFFF;
  --sky-900: #00304F;
  --sky-1000: #001A2E;
  --ivory: #E8E5E0;
  --sand: #D7D0C2;
  --fuchsia: #E661B5;
  --burgundy: #4E1329;
  --burgundy-700: #6B1D3A;
  --gold: #FFC522;
  --orange: #E8571F;
  --lime: #9BD60B;
  --olive: #35431E;
  --ink-soft: rgba(255, 255, 255, 0.72);
  --ink-faint: rgba(255, 255, 255, 0.5);
  --line: rgba(255, 255, 255, 0.14);
  --font-head: "PP Mori", "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --max: 1320px;
  --radius: 6px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--midnight);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: normal;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: normal;
  margin: 0;
}
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* ── Logo ─────────────────────────────── */
.logo { display: inline-flex; align-items: center; color: currentColor; }
.logo svg { height: 26px; width: auto; }

/* In Uko Sorted, Uko stays in the accent blue and Sorted is white */
.w-sorted { color: var(--white) !important; } /* wins over accent rules such as .qa span */

/* Logo with the market name beside it */
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--white); }
.brand .logo svg { height: 26px; }
.brand-market { font-family: var(--font-head); font-weight: 800; font-size: 23px; line-height: 1; color: var(--accent, var(--sky)); transform: translateY(-3px); }

/* ── Navigation ───────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background 0.3s, box-shadow 0.3s, color 0.3s;
}
.nav.is-scrolled { background: rgba(14, 20, 27, 0.92); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-links .btn { color: var(--white); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px 9px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform 0.3s var(--ease-out), opacity 0.2s; }
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 25px; }
.burger span:nth-child(4) { top: 31px; }
.nav.is-open .burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav.is-open .burger span:nth-child(2),
.nav.is-open .burger span:nth-child(3) { opacity: 0; }
.nav.is-open .burger span:nth-child(4) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--midnight); padding: 8px var(--gutter) 24px; box-shadow: 0 12px 24px rgba(0,0,0,0.3);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s;
  }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-links .btn { margin-top: 16px; border-bottom: 0; text-align: center; justify-content: center; }
  .nav.is-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.is-open { background: var(--midnight); }
}

/* ── Buttons ──────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: 16px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--sky); color: var(--midnight); }
.btn-solid:hover { background: var(--white); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* ── Section scaffolding ──────────────── */
.section { position: relative; padding: clamp(88px, 12vw, 160px) 0; }
.section-light { background: var(--ivory); color: var(--midnight); }
.section-white { background: var(--white); color: var(--midnight); }
.h-xl { font-size: clamp(44px, 8.4vw, 132px); }
.h-lg { font-size: clamp(38px, 5.6vw, 84px); }
.h-md { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.08; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; max-width: 34em; }
.muted { color: var(--ink-soft); }
.section-light .muted, .section-white .muted { color: rgba(14, 20, 27, 0.68); }
.fine { font-size: 14px; line-height: 1.5; color: var(--ink-faint); }

/* Colour-block foundation from the guide's vertical stacking layout */
.block-base { position: relative; }
.block-base::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: var(--sky);
}

/* ── Preloader ────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 100; background: var(--midnight);
  display: grid; place-items: center; transition: opacity 0.6s, visibility 0.6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }

/* ── Scroll progress ──────────────────── */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: var(--sky); }

/* ── Marquee ──────────────────────────── */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; will-change: transform; }
.marquee-track > span { padding-right: 0.6em; }

/* ── Footer ───────────────────────────── */
.foot { background: var(--midnight); border-top: 1px solid var(--line); padding: 56px 0 64px; color: var(--ink-soft); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.foot-sign { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--white); }
.foot p { font-size: 13.5px; line-height: 1.6; max-width: 72em; }
.foot p + p { margin-top: 12px; }

/* ── Reveal defaults (JS adds motion; content stays visible without JS) ── */
.js .reveal { opacity: 0; transform: translateY(28px); }

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