:root {
  --mali: #075d81;
  --swap: #18a2bb;
  --text: #18222b;
  --muted: #5b6b76;
  --bg: #ffffff;
  --bg-soft: #f4f9fb;
  --border: #e4ebee;
  --radius: 14px;
}

/* Self-hosted Inter - variable font, so one file covers the whole 300-800
   weight range instead of a separate static file per weight. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/Inter-Variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/Inter-Italic-Variable.woff2') format('woff2');
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* Without this, any element whose own class sets `display` (e.g. .btn,
   .btn-white) silently ignores the [hidden] attribute, since the browser's
   default [hidden]{display:none} loses to our same-specificity class rule
   that happens to be declared later in the cascade. */
[hidden] { display: none !important; }

.cursor-trail-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mali);
  opacity: 0.55;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}

html { font-size: clamp(14px, 0.6vw + 11px, 16px); overflow-x: hidden; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

a { color: var(--mali); text-decoration: none; }
img { max-width: 100%; display: block; }

.icon { width: 1.1em; height: 1.1em; vertical-align: -0.18em; flex-shrink: 0; }

/* ---------- Header / Nav ---------- */
.site-nav { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: rgba(255,255,255,0.96); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); z-index: 50; transition: transform .25s ease; }
/* Hides on scroll down, reappears on any scroll up (see checkNavScroll in
   main.js) - not gated behind reaching the very top, so a small upward
   nudge brings it back immediately instead of requiring a full scroll-up. */
.site-nav.nav-hidden { transform: translateY(-100%); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 8px; }
.nav-logo-text { font-size: 1.15rem; font-weight: 700; color: var(--mali); letter-spacing: -0.01em; white-space: nowrap; }

/* Two-tone "MaliSwap" wordmark - used anywhere brand_wordmark() is rendered
   (nav, footer, hero splash) so "Mali" and "Swap" each get their brand color. */
.brand-mali { color: var(--mali); }
.brand-swap { color: var(--swap); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--mali);
}
.nav-toggle .icon-burger, .nav-toggle .icon-close { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-burger { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-overlay { display: none; }

.nav-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nav-links-logo { display: none; }
.nav-links a { color: var(--text); font-weight: 500; }
.nav-links a:hover { color: var(--mali); }
.nav-link-icon { display: none; }
.nav-cta { background: var(--swap); color: #fff !important; width: 40px; height: 40px; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-cta svg { width: 20px; height: 20px; }

main { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 12px 0 30px; }
.hero h1 { font-size: 2.4rem; font-weight: 700; color: var(--mali); }
.hero p { color: var(--muted); max-width: 640px; margin: 16px auto 0; }

.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  gap: 48px;
  text-align: left;
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: -40px;
  padding: 64px max(20px, calc((100vw - 1200px) / 2 + 40px)) 48px;
  background: linear-gradient(150deg, #03141d, var(--mali));
}
.hero-split > * { position: relative; z-index: 1; }
.hero-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-split p { margin: 16px 0 0; max-width: 520px; color: rgba(255,255,255,0.65); }
.hero-split h1 { font-size: 2.6rem; color: #fff; }
.hero-split .eyebrow { background: rgba(255,255,255,0.1); color: var(--swap); }
.hero-split .trust-row { color: rgba(255,255,255,0.55); }
.hero-split .trust-row .icon { color: var(--swap); }
.hero-split .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-soft); color: var(--mali);
  padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
}
.eyebrow-light { background: rgba(255,255,255,0.15); color: #fff; }

.stats-banner {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 64px 24px;
  overflow: hidden;
}
.stats-banner::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -15%; bottom: -15%;
  background: var(--stats-banner-bg, url('../images/global-network-bg.png')) center/cover no-repeat;
  transform: translateY(var(--parallax-offset, 0px));
  will-change: transform;
  z-index: 0;
}
.stats-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,93,129,0.92), rgba(24,162,187,0.85));
  z-index: 0;
}
.stats-banner-grid {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat-block { padding: 8px 16px; position: relative; }
.stat-block:not(:last-child)::after {
  content: ''; position: absolute;
  right: 0; top: 12%; height: 76%; width: 1px;
  background: rgba(255,255,255,0.3);
}
.stat-block-number { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: #fff; line-height: 1; margin-bottom: 8px; }
.stat-block-suffix { font-size: 0.6em; color: rgba(255,255,255,0.85); font-weight: 700; }
.stat-block-label { font-size: 0.8rem; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 768px) {
  .stats-banner-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .stat-block:nth-child(2)::after { display: none; }
}
@media (max-width: 480px) {
  .stats-banner { padding: 48px 20px; }
  .stats-banner-grid { grid-template-columns: 1fr; row-gap: 24px; }
  .stat-block::after { display: none; }
}

.who-we-are { padding: 60px 24px; overflow: hidden; }
.who-we-are-grid {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.who-we-are-visual { position: relative; }
.who-we-are-img-frame { position: relative; width: 70%; margin: 0 auto; }
.who-we-are-img-frame .phone-orbit-rings { z-index: -1; }
.who-we-are-img { position: relative; z-index: 1; width: 100%; aspect-ratio: 5 / 6; height: auto; object-fit: cover; object-position: top center; border-radius: var(--radius); display: block; box-shadow: 0 24px 48px -24px rgba(7,93,129,0.35); transform: scaleX(-1); }
.who-we-are-badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(7,93,129,0.92); color: #fff;
  padding: 10px 14px; border-radius: 12px;
  font-size: 0.75rem; font-weight: 600; line-height: 1.3;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.who-we-are-badge .icon { width: 18px; height: 18px; flex-shrink: 0; }
.who-we-are-float {
  position: absolute; top: 24px; right: -16px;
  background: #fff; border-radius: 12px;
  padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 28px -8px rgba(7,93,129,0.3);
  border-left: 3px solid var(--swap);
  min-width: 150px;
}
.who-we-are-float-icon {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 9px;
  background: var(--bg-soft); color: var(--mali);
  display: flex; align-items: center; justify-content: center;
}
.who-we-are-float strong { display: block; font-size: 0.95rem; color: var(--text); line-height: 1.2; }
.who-we-are-float span { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.who-we-are-copy > p { color: var(--muted); margin-bottom: 22px; }
.who-we-are-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 8px; }
.who-we-are-feature { display: flex; align-items: flex-start; gap: 10px; }
.who-we-are-feature .card-icon { width: 36px; height: 36px; margin-bottom: 0; flex-shrink: 0; }
.who-we-are-feature .card-icon .icon { width: 17px; height: 17px; }
.who-we-are-feature strong { display: block; font-size: 0.85rem; margin-bottom: 2px; }
.who-we-are-feature span { font-size: 0.78rem; color: var(--muted); line-height: 1.4; }
.who-we-are-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.who-we-are-btns .btn, .who-we-are-btns .btn-ghost { margin-top: 0; display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 900px) {
  .who-we-are-grid { grid-template-columns: 1fr; gap: 36px; }
  .who-we-are-float { right: 0; }
  .who-we-are-badge { left: 0; }
}
@media (max-width: 480px) {
  .who-we-are { padding: 44px 20px; }
  .who-we-are-features { grid-template-columns: 1fr; }
  .who-we-are-float { display: none; }
}

.funding-tiles {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 70px 24px;
  background: var(--bg-soft);
}
.funding-tiles-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.funding-tiles-head h2 { margin: 14px 0 10px; }
.funding-tiles-head h2 span { color: var(--swap); }
.funding-tiles-head p { color: var(--muted); }
.funding-tiles-grid > .is-clone { display: none; }
.funding-tiles-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 20px 48px -20px rgba(7,93,129,0.25);
}
.funding-tile {
  background: #fff;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.funding-tile:last-child { border-right: none; }
.funding-tile.is-featured { background: var(--mali); }
.funding-tile::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  transition: left 0.5s ease;
  pointer-events: none;
}
.funding-tile:hover::after { left: 150%; }
.funding-tile:hover { transform: translateY(-5px); box-shadow: 0 18px 36px -16px rgba(7,93,129,0.3); z-index: 1; }
.funding-tile-top { padding: 28px 20px 18px; text-align: center; background: linear-gradient(135deg, var(--mali), var(--swap)); }
.funding-tile.is-featured .funding-tile-top { background: linear-gradient(135deg, #03141d, var(--mali)); }
.funding-tile-icon {
  width: 48px; height: 48px; margin: 0 auto 10px;
  background: rgba(255,255,255,0.18); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.funding-tile-badge {
  display: inline-block; background: rgba(255,255,255,0.22); color: #fff;
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 6px;
}
.funding-tile-type { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.7); margin-bottom: 2px; }
.funding-tile-name { font-size: 1rem; font-weight: 800; color: #fff; }
.funding-tile-stat { padding: 18px 20px 0; text-align: center; }
.funding-tile-stat-num { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; color: var(--mali); line-height: 1; }
.funding-tile.is-featured .funding-tile-stat-num { color: var(--swap); }
.funding-tile-stat-label { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.funding-tile.is-featured .funding-tile-stat-label { color: rgba(255,255,255,0.6); }
.funding-tile-body { padding: 14px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.funding-tile-body p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.funding-tile.is-featured .funding-tile-body p { color: rgba(255,255,255,0.7); }
.funding-tile-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  background: var(--bg-soft); color: var(--mali);
}
.funding-tile.is-featured .funding-tile-cta { background: rgba(255,255,255,0.15); color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.funding-tile-cta .icon { width: 14px; height: 14px; }
@media (max-width: 900px) {
  .funding-tiles-grid { grid-template-columns: 1fr 1fr; }
  .funding-tile { border-bottom: 1px solid var(--border); }
}
@media (max-width: 700px) {
  .funding-tiles { padding: 48px 20px; }
  .funding-tiles-grid {
    display: flex; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 17%;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    box-shadow: none; border-radius: 0; margin: 0 -20px; padding: 24px 17% 20px;
  }
  .funding-tiles-grid::-webkit-scrollbar { display: none; }
  .funding-tiles-grid > .is-clone { display: block; }
  .funding-tiles-grid > * {
    flex: 0 0 66%; scroll-snap-align: center;
    transform: scale(0.88); opacity: 0.5; filter: saturate(0.8);
    border-right: none; border-bottom: none; border-radius: var(--radius);
    box-shadow: 0 12px 28px -16px rgba(7,93,129,0.2);
    transition: transform .35s ease, opacity .35s ease, box-shadow .35s ease, filter .35s ease;
  }
  .funding-tiles-grid > *.is-active-slide {
    transform: scale(1); opacity: 1; filter: none;
    box-shadow: 0 18px 36px -16px rgba(7,93,129,0.3); z-index: 1;
  }
}

.use-case-row { padding: 56px 24px; }
.use-case-row.is-alt {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--bg-soft);
}
.use-case-row-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 0.32fr 0.68fr;
  gap: 48px; align-items: center;
}
.use-case-row.is-alt .use-case-row-inner { grid-template-columns: 0.68fr 0.32fr; }
.use-case-row.is-alt .use-case-visual { order: 2; }
.use-case-row.is-alt .use-case-content { order: 1; }
.use-case-visual {
  position: relative; text-align: center;
  padding: 20px 0;
}

/* ---------- Phone-mockup demo (use-cases.php) - replaces the old big icon badge with a
   fake app screen that steps through opening the app -> select recipient -> amount -> auth ->
   confirm -> sending -> sent -> recipient's phone. No background panel; the phone tilts toward
   the content (opposite side it sits on) and straightens on hover so it's readable.
   Classes are prefixed "ucphone-" (not "phone-") to avoid colliding with the unrelated
   .phone-mock/.phone-screen/.phone-notch app-preview component used on security.php etc. ---------- */
.ucphone-demo { position: relative; max-width: 240px; margin: 0 auto; }
.ucphone-demo-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.ucphone-frame {
  position: relative; width: 240px; height: 460px; margin: 0 auto;
  background: #0b1320; border-radius: 32px; padding: 10px;
  box-shadow: 0 24px 48px -16px rgba(7,93,129,0.35);
  border: 2px solid var(--mali);
  overflow: hidden;
  transform: rotate(6deg);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
/* Recipient's phone gets the "swap" accent on the bezel instead of "mali", so it's
   visually obvious which of the two people's screens is being shown. */
.ucphone-frame.is-receiver { border-color: var(--swap); box-shadow: 0 24px 48px -16px rgba(24,162,187,0.45); }
.use-case-row.is-alt .ucphone-frame { transform: rotate(-6deg); }
.ucphone-demo:hover .ucphone-frame { transform: rotate(0deg); }
.ucphone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 16px; background: #0b1320; border-radius: 0 0 10px 10px; z-index: 5;
}
.ucphone-screen { position: relative; width: 100%; height: 100%; background: #fff; border-radius: 22px; overflow: hidden; }
.ucphone-step {
  position: absolute; inset: 0; padding: 34px 16px 16px;
  opacity: 0; transform: translateX(10px); transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none; text-align: left;
}
.ucphone-step.is-active { opacity: 1; transform: translateX(0); pointer-events: auto; }
.ucphone-step-title { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.ucphone-search {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-soft); border-radius: 999px; padding: 6px 10px;
  font-size: 0.68rem; color: var(--muted); margin-bottom: 10px;
}
.ucphone-search .icon { width: 13px; height: 13px; }
.ucphone-contact { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--border); }
.ucphone-contact.is-selected { background: var(--bg-soft); margin: 0 -16px; padding: 7px 16px; border-bottom-color: transparent; }
.ucphone-contact-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: #ddeef3; color: var(--mali);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700;
}
.ucphone-contact-text { display: flex; flex-direction: column; line-height: 1.3; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.ucphone-contact-text strong { font-size: 0.7rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ucphone-contact-text span { font-size: 0.62rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ucphone-contact-check { margin-left: auto; color: var(--mali); }
.ucphone-contact-check .icon { width: 15px; height: 15px; }
.ucphone-amount-block { text-align: center; margin: 18px 0; }
.ucphone-amount-label { display: block; font-size: 0.65rem; color: var(--muted); margin-bottom: 4px; }
.ucphone-amount-big { font-size: 1.6rem; font-weight: 800; color: var(--text); }
.ucphone-amount-small { font-size: 1.05rem; font-weight: 700; color: var(--mali); }
.ucphone-amount-divider { text-align: center; color: var(--swap); }
.ucphone-amount-divider .icon { width: 16px; height: 16px; transform: rotate(90deg); }
.ucphone-home-actions { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.ucphone-home-action {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--bg-soft); color: var(--mali); border-radius: 12px; padding: 12px 6px;
  font-size: 0.62rem; font-weight: 700;
}
.ucphone-home-action .icon { width: 16px; height: 16px; }
.ucphone-home-action.is-primary { background: var(--mali); color: #fff; }
.ucphone-auth-icon { width: 56px; height: 56px; margin: 24px auto 14px; color: var(--mali); animation: ucphonePulse 1.6s ease-in-out infinite; }
.ucphone-auth-icon .icon { width: 100%; height: 100%; }
@keyframes ucphonePulse { 0%, 100% { opacity: 0.6; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.04); } }
.ucphone-auth-text { font-size: 0.68rem; color: var(--muted); text-align: center; line-height: 1.5; }
.ucphone-summary-row { display: flex; justify-content: space-between; font-size: 0.68rem; padding: 6px 0; border-bottom: 1px solid var(--border); color: var(--muted); }
.ucphone-summary-row strong { color: var(--text); font-size: 0.7rem; }
.ucphone-summary-total { border-bottom: none; margin-top: 2px; }
.ucphone-summary-total strong { color: var(--mali); }
.ucphone-btn {
  margin-top: 14px; background: var(--mali); color: #fff; text-align: center;
  border-radius: 999px; padding: 9px; font-size: 0.72rem; font-weight: 700;
}
.ucphone-spinner {
  width: 36px; height: 36px; margin: 28px auto 16px;
  border: 3px solid var(--border); border-top-color: var(--mali); border-radius: 50%;
  animation: ucphoneSpin 0.9s linear infinite;
}
@keyframes ucphoneSpin { to { transform: rotate(360deg); } }
.ucphone-progress { width: 100%; height: 4px; background: var(--border); border-radius: 999px; overflow: hidden; margin-bottom: 14px; }
.ucphone-progress span { display: block; height: 100%; width: 0; background: var(--swap); border-radius: 999px; }
.ucphone-step.is-active .ucphone-progress span { animation: ucphoneProgress 2.2s ease forwards; }
@keyframes ucphoneProgress { to { width: 100%; } }
.ucphone-success-icon { width: 52px; height: 52px; margin: 26px auto 10px; color: #1c9a5b; }
.ucphone-success-icon .icon { width: 100%; height: 100%; }
.ucphone-notice {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-soft); border-radius: 12px; padding: 10px;
  font-size: 0.66rem; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 16px;
}
.ucphone-notice .icon { width: 18px; height: 18px; color: var(--mali); flex-shrink: 0; }
.ucphone-balance-card {
  background: linear-gradient(150deg, var(--mali), var(--swap)); border-radius: 14px;
  padding: 16px; text-align: center;
}
.ucphone-balance-card .ucphone-amount-label { color: rgba(255,255,255,0.8); }
.ucphone-balance-card .ucphone-amount-small { color: #fff; }
.ucphone-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.ucphone-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border); border: none; padding: 0; cursor: pointer; }
.ucphone-dot.is-active { background: var(--mali); width: 16px; border-radius: 999px; transition: width 0.25s ease; }
@media (max-width: 480px) {
  .ucphone-frame { width: 210px; height: 420px; }
  .ucphone-demo { max-width: 210px; }
}
.use-case-content h2 { margin-bottom: 18px; }
.use-case-compare {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 16px; align-items: start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; margin-bottom: 18px;
}
.use-case-row.is-alt .use-case-compare { background: var(--bg); }
.use-case-stage p { margin: 8px 0 0; font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
.use-case-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 999px;
}
.use-case-tag-today { background: rgba(220,38,38,0.1); color: #dc2626; }
.use-case-tag-future { background: rgba(24,162,187,0.12); color: var(--mali); }
.use-case-arrow { color: var(--swap); display: flex; align-items: center; height: 100%; padding-top: 18px; }
.use-case-arrow .icon { width: 18px; height: 18px; }
.use-case-benefits { display: flex; flex-wrap: wrap; gap: 10px; }
.use-case-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-soft); color: var(--mali);
  border-radius: 999px; padding: 6px 12px;
  font-size: 0.78rem; font-weight: 600;
}
.use-case-row.is-alt .use-case-pill { background: #fff; }
.use-case-pill .icon { width: 13px; height: 13px; }
.use-case-cta {
  text-align: center; padding: 60px 24px;
  background: linear-gradient(135deg, #03141d, var(--mali));
}
.use-case-cta-inner { max-width: 560px; margin: 0 auto; }
.use-case-cta h2 { color: #fff; }
.use-case-cta p { color: rgba(255,255,255,0.75); margin: 10px 0 0; }
.use-case-cta .btn { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 800px) {
  .use-case-row-inner, .use-case-row.is-alt .use-case-row-inner { grid-template-columns: 1fr; gap: 28px; }
  .use-case-row.is-alt .use-case-visual, .use-case-row.is-alt .use-case-content { order: initial; }
  .use-case-compare { grid-template-columns: 1fr; }
  .use-case-arrow { padding-top: 0; justify-content: center; transform: rotate(90deg); }
}
@media (max-width: 480px) {
  .use-case-row { padding: 44px 20px; }
  .use-case-visual { padding: 28px 16px; }
}

.global-network { padding: 80px 24px; }
.global-network-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: 56px;
}
.global-network-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 14px 0 10px; }
.global-network-copy > p { color: var(--muted); max-width: 480px; }
.global-network-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  margin-top: 28px;
}
.global-network-feature { display: flex; align-items: flex-start; gap: 12px; }
.global-network-feature .card-icon { width: 38px; height: 38px; margin-bottom: 0; flex-shrink: 0; }
.global-network-feature .card-icon .icon { width: 18px; height: 18px; }
.global-network-feature strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.global-network-feature p { color: var(--muted); font-size: 0.85rem; margin: 0; line-height: 1.5; }
.global-network-visual { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 48px -24px rgba(7,93,129,0.35); }
.global-network-visual img { width: 100%; height: 100%; display: block; object-fit: cover; }
.global-network-visual-badge {
  position: absolute; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(7,93,129,0.92); color: #fff;
  padding: 8px 14px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.global-network-visual-badge .icon { width: 15px; height: 15px; }
@media (max-width: 900px) {
  .global-network-inner { grid-template-columns: 1fr; gap: 36px; }
  .global-network-visual { order: -1; max-height: 320px; }
}
@media (max-width: 560px) {
  .global-network { padding: 56px 20px; }
  .global-network-features { grid-template-columns: 1fr; }
}

.hero-slider { display: grid; }
.hero-slide {
  grid-row: 1; grid-column: 1;
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: opacity 1.4s ease, transform 1.4s ease, visibility 1.4s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transform: none; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.hero-actions .btn { margin-top: 0; display: inline-flex; align-items: center; gap: 8px; }

.trust-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; list-style: none; color: var(--muted); font-size: 0.9rem; }
.trust-row li { display: flex; align-items: center; gap: 6px; }
.trust-row .icon { color: var(--swap); }

.hero-visual { display: flex; justify-content: center; }
.hero-panel {
  background: linear-gradient(160deg, var(--mali), var(--swap));
  border-radius: 20px;
  padding: 28px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 20px 40px -16px rgba(7,93,129,0.4);
}
.hero-panel-row {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  color: #fff;
}
.hero-panel-row:last-child { margin-bottom: 0; }
.hero-panel-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero-panel-row .icon { color: #fff; }
.hero-panel-row span { flex: 1; font-size: 0.85rem; opacity: 0.85; }
.hero-panel-row strong { font-size: 0.95rem; }

.btn { display: inline-block; background: var(--mali); color: #fff; padding: 12px 28px; border-radius: 999px; font-weight: 600; margin-top: 20px; }
.btn-secondary { background: var(--swap); }
.btn-ghost { background: transparent; color: var(--mali); border: 1.5px solid var(--border); }
.btn-danger { background: #dc2626; }
.btn-sm { padding: 7px 16px; margin-top: 0; font-size: 0.82rem; border-radius: 8px; }

.inline-form { display: inline-block; background: none; border: none; padding: 0; margin: 0; max-width: none; }
.inline-form button { width: auto; }

section { margin: 48px 0; }
section h2 { color: var(--mali); margin-bottom: 16px; font-size: 1.6rem; }

/* ---------- Card slider wrapper - any section that wants the peek-carousel
   treatment wraps its .grid/.segments-grid/etc in <div class="card-slider"> so we
   have a positioning context for the prev/next arrow buttons JS injects. ---------- */
.card-slider { position: relative; }
.card-slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: var(--mali); color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 8px 20px -8px rgba(7,93,129,0.5);
  transition: opacity .15s, background-color .15s, transform .15s;
}
.card-slider-arrow:hover { background: var(--text); transform: translateY(-50%) scale(1.08); }
.card-slider-arrow:disabled { opacity: 0; pointer-events: none; }
.card-slider-arrow:disabled::before { animation: none; content: none; }
.card-slider-arrow svg { width: 18px; height: 18px; position: relative; z-index: 1; }
.card-slider-arrow--prev { left: -8px; }
.card-slider-arrow--next { right: -8px; }
/* Sonar-style ping: a ring expands outward from the arrow and fades, repeating,
   so the slider controls catch the eye without being a distraction once clicked. */
.card-slider-arrow::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--mali);
  animation: cardArrowPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes cardArrowPing {
  0% { transform: scale(1); opacity: 0.7; }
  75%, 100% { transform: scale(1.7); opacity: 0; }
}
@media (max-width: 700px) { .card-slider-arrow { display: none; } }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.grid > .is-clone { display: none; }
/* Desktop/tablet: peek carousel - ~3 full cards + a half-card peek on deck (desktop),
   ~2 full cards + a quarter-card peek (tablet), sliding via the arrow buttons above. */
@media (min-width: 701px) {
  .card-slider .grid, .card-slider .segments-grid {
    display: flex; grid-template-columns: none; flex-wrap: nowrap;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .card-slider .grid::-webkit-scrollbar, .card-slider .segments-grid::-webkit-scrollbar { display: none; }
  .card-slider .grid > *, .card-slider .segments-grid > * {
    flex: 0 0 28.5%; scroll-snap-align: start;
  }
}
@media (min-width: 701px) and (max-width: 980px) {
  .card-slider .grid > *, .card-slider .segments-grid > * { flex: 0 0 44.4%; }
}
@media (max-width: 700px) {
  .grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 17%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -20px;
    padding: 24px 17% 20px;
  }
  .grid::-webkit-scrollbar { display: none; }
  .grid > .is-clone { display: block; }
  .grid > * {
    flex: 0 0 66%;
    scroll-snap-align: center;
    transform: scale(0.88);
    opacity: 0.5;
    filter: saturate(0.8);
    transition: transform .35s ease, opacity .35s ease, box-shadow .35s ease, filter .35s ease;
  }
  .grid > *.is-active-slide {
    transform: scale(1);
    opacity: 1;
    filter: none;
    box-shadow: 0 8px 18px -8px rgba(7,93,129,0.3);
    z-index: 1;
  }
}
.card { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: #fff; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 12px 24px -16px rgba(7,93,129,0.25); transform: translateY(-2px); }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-soft); color: var(--mali);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.card-icon .icon { width: 22px; height: 22px; }
.card-icon-logo { width: 24px; height: 24px; object-fit: contain; }
.stat-card { text-align: center; }
.stat-card .card-icon { margin: 0 auto 14px; }

.icon-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.icon-row .card-icon { margin-bottom: 0; flex-shrink: 0; width: 36px; height: 36px; }
.icon-row .card-icon .icon { width: 18px; height: 18px; }
.icon-row strong { margin: 0; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }

/* ---------- Forms ---------- */
form {
  max-width: 460px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
form input, form textarea, form select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 14px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
form input:focus, form textarea:focus, form select:focus {
  outline: none;
  border-color: var(--swap);
  box-shadow: 0 0 0 3px rgba(24,162,187,0.15);
}
form button {
  cursor: pointer;
  border: none;
  width: 100%;
}

/* ---------- Password field with show/hide + strength meter ---------- */
.password-field { position: relative; margin-bottom: 14px; }
.password-field input { padding-right: 64px; margin-bottom: 0; }
.password-field + .password-strength { margin-top: -6px; }
.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--mali);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
  width: auto;
}
.password-strength { margin: 8px 0 14px; }
.password-strength-track { height: 6px; border-radius: 4px; background: var(--border); overflow: hidden; }
.password-strength-bar { height: 100%; width: 0; border-radius: 4px; transition: width .2s, background .2s; }
.password-strength-label { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 4px; }

/* ---------- Roadmap teaser ---------- */
.roadmap-teaser p { color: var(--muted); max-width: 640px; margin-bottom: 28px; }
.roadmap-list { list-style: none; display: flex; flex-direction: column; gap: 0; margin-bottom: 28px; }
.roadmap-item { display: flex; gap: 18px; padding: 0 0 28px; position: relative; }
.roadmap-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 21px; top: 44px; bottom: 0;
  width: 2px;
  background: var(--border);
}
.roadmap-marker {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-soft); color: var(--mali);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; z-index: 1;
}
.roadmap-item.is-active .roadmap-marker { background: var(--mali); color: #fff; }
.roadmap-phase { display: block; font-size: 0.8rem; font-weight: 700; color: var(--swap); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.roadmap-item strong { display: block; margin-bottom: 4px; }

/* ---------- Events timeline (alternating nodes along a central vein) ---------- */
.events-timeline { list-style: none; position: relative; max-width: 880px; margin: 20px auto 0; padding: 0; }
.events-timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: var(--border); transform: translateX(-50%);
}
.events-node { position: relative; width: 50%; padding: 0 36px 48px; box-sizing: border-box; }
.events-node.is-pos-odd { left: 0; }
.events-node.is-pos-even { left: 50%; }
.events-node-dot {
  position: absolute; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--swap); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--border); z-index: 1;
}
.events-node.is-pos-odd .events-node-dot { right: -7px; }
.events-node.is-pos-even .events-node-dot { left: -7px; }
.events-node-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 16px; max-width: 460px;
}
.events-node.is-pos-odd .events-node-card { margin-left: auto; }
.events-node-image { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; margin-bottom: 12px; display: block; }
.events-node-image--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--swap);
}
.events-node-image--placeholder .icon { width: 2.2rem; height: 2.2rem; }
.events-status { display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 2px 10px; border-radius: 999px; margin-bottom: 6px; }
.events-status--past { background: var(--border); color: var(--muted); }
.events-status--today { background: var(--swap); color: #fff; }
.events-status--upcoming { background: rgba(24,162,187,0.12); color: var(--swap); }
.events-node-date { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 4px; }
.events-node-title { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.events-node-card p { color: var(--muted); margin: 0 0 10px; }
.timeline-node-type { display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-left: 6px; }
.timeline-node-type--event { color: var(--swap); }
.timeline-node-type--milestone { color: var(--mali); }

.timeline-filters { display: flex; gap: 10px; justify-content: center; margin-bottom: 36px; }
.timeline-filter {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.timeline-filter:hover { border-color: var(--mali); color: var(--mali); }
.timeline-filter.is-active { background: var(--mali); border-color: var(--mali); color: #fff; }
.events-node.is-filtered-out { display: none; }

@media (max-width: 760px) {
  .events-timeline::before { left: 14px; }
  .events-node, .events-node.is-pos-even { width: 100%; left: 0; padding: 0 0 40px 40px; }
  .events-node-dot, .events-node.is-pos-odd .events-node-dot { left: 7px; right: auto; }
  .events-node-card, .events-node.is-pos-odd .events-node-card { margin-left: 0; max-width: none; }
}
.roadmap-item p { color: var(--muted); margin: 0; }

/* ---------- Waitlist banner ---------- */
.waitlist-banner {
  background: linear-gradient(135deg, var(--mali), var(--swap));
  border-radius: 20px;
  padding: 44px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.waitlist-banner-circles { position: absolute; bottom: -100px; left: -100px; width: 320px; height: 320px; pointer-events: none; z-index: 0; }
.waitlist-banner-circles span { position: absolute; inset: 0; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); }
.waitlist-banner-circles span:nth-child(2) { inset: 30px; width: 260px; height: 260px; }
.waitlist-banner-circles span:nth-child(3) { inset: 60px; width: 200px; height: 200px; }
.waitlist-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.waitlist-copy .eyebrow { background: rgba(255,255,255,0.15); color: #fff; }
.waitlist-copy h2 { color: #fff; margin: 14px 0 10px; }
.waitlist-copy p { color: rgba(255,255,255,0.85); max-width: 480px; }
.waitlist-form { background: rgba(255,255,255,0.97); max-width: none; }
.waitlist-form button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }

.site-footer { border-top: 1px solid var(--border); margin-top: 60px; padding: 36px 20px 18px; background: var(--bg-soft); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.footer-brand { max-width: 260px; }
.footer-logo-row { display: flex; align-items: center; gap: 8px; }
.footer-logo-text { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; min-width: 220px; }
.footer-col a, .footer-contact a { color: var(--muted); }
.footer-col a:hover, .footer-contact a:hover { color: var(--swap); }
.footer-col h4, .footer-contact h4 { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.footer-links-grid { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 28px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; min-width: 200px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; }
.footer-contact .icon { width: 15px; height: 15px; flex-shrink: 0; }
.footer-hq { display: flex; align-items: flex-start; gap: 6px; color: var(--muted); font-size: 0.85rem; margin: 0; line-height: 1.4; }
.footer-hq .icon { margin-top: 1px; }
.footer-contact-emails { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.footer-email-label { color: var(--text); font-weight: 600; }
.footer-social { display: flex; gap: 10px; margin-top: 10px; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--mali);
}
.footer-bottom {
  max-width: 1200px; margin: 28px auto 0; padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.footer-legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal-links a { color: var(--muted); font-size: 0.82rem; }
.footer-legal-links a:hover { color: var(--swap); }
@media (max-width: 560px) {
  .footer-links-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
  .footer-legal-links { justify-content: center; }
}
.footer-legal { color: var(--muted); font-size: 0.8rem; margin: 0; line-height: 1.5; }

/* ---------- Flags marquee ---------- */
.flags-marquee-wrap { margin: 32px 0; }
.marquee-label { text-align: center; color: var(--muted); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 16px; }
.flags-marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.flags-track { display: flex; gap: 14px; width: max-content; animation: flags-scroll 30s linear infinite; }
.flag-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-size: 0.9rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.flag-icon { width: 20px; height: 15px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); flex-shrink: 0; }
@keyframes flags-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Infographic stats ---------- */
.infographic-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 28px; }
.infographic-stat { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.infographic-stat strong { display: block; font-size: 2rem; color: var(--mali); margin-bottom: 6px; }
.infographic-stat p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.bottleneck-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.bottleneck-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); }
.bottleneck-item .icon { width: 26px; height: 26px; color: var(--swap); flex-shrink: 0; margin-top: 2px; }
.bottleneck-item strong { display: block; margin-bottom: 4px; }
.bottleneck-item p { color: var(--muted); margin: 0; font-size: 0.9rem; }

/* ---------- Competitive edge ---------- */
.edge-table { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.edge-table th { background: var(--bg-soft); }
.edge-table td span { color: var(--muted); font-size: 0.85rem; display: block; }
.edge-row-highlight td { background: rgba(24,162,187,0.08); font-weight: 500; }

/* ---------- Growth chart ---------- */
.growth-chart .chart-bars { display: flex; align-items: flex-end; gap: 18px; height: 220px; padding: 0 8px; border-bottom: 1px solid var(--border); }
.chart-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.chart-bar { width: 100%; max-width: 56px; background: linear-gradient(180deg, var(--swap), var(--mali)); border-radius: 8px 8px 0 0; display: flex; align-items: flex-start; justify-content: center; position: relative; transition: height 1s cubic-bezier(.16,.84,.44,1); }
.chart-bar-projected { background: repeating-linear-gradient(135deg, var(--swap), var(--swap) 8px, var(--mali) 8px, var(--mali) 16px); opacity: 0.85; }
.chart-bar-value { position: absolute; top: -24px; font-size: 0.8rem; font-weight: 700; color: var(--mali); white-space: nowrap; opacity: 0; transition: opacity .4s ease; }
.chart-bar-year { margin-top: 10px; font-size: 0.8rem; color: var(--muted); }

.chart-bars .chart-bar { height: 0; }
[data-reveal].in-view .chart-bar { height: var(--bar-height); }
[data-reveal].in-view .chart-bar-value { opacity: 1; transition-delay: .7s; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transition: opacity .7s ease, transform .7s cubic-bezier(.16,.84,.44,1); will-change: opacity, transform; }
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="up"] { transform: translateY(50px); }
[data-reveal="down"] { transform: translateY(-50px); }
[data-reveal="zoom"] { transform: scale(0.92); }
[data-reveal="fade"] { transform: none; }
[data-reveal].in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; max-width: 460px; }
.alert-success { background: #e6f6ee; color: #146c43; }
.alert-error { background: #fdecea; color: #b3261e; }

/* ---------- App preview (phone mock + slider) ---------- */
.app-preview { padding: 70px 0; position: relative; overflow: hidden; }
.app-preview-head, .app-preview-surround { position: relative; z-index: 1; }
/* Default layout (how-it-works.php, sections/app-preview.php): copy column
   beside the phone. security.php opts into .app-preview-head/-surround instead
   (see below) for the "pills flanking a centered phone" layout. */
.app-preview-inner { display: grid; grid-template-columns: 1fr 0.85fr; align-items: center; gap: 56px; min-width: 0; }
.app-preview-inner > * { min-width: 0; }
.app-preview-copy h2 { font-size: 2rem; color: var(--mali); margin: 14px 0 14px; }
.app-preview-copy > p { color: var(--muted); max-width: 480px; }
.app-preview-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.app-preview-head h2 { font-size: 2rem; color: var(--mali); margin: 14px 0 14px; }
.app-preview-head > p { color: var(--muted); margin: 0 auto; }
/* Phone mock centered, flanked by two columns of security pills - "surrounding"
   layout instead of a plain copy-column-beside-phone split. A 4/6/4 column
   split gives the phone a genuinely wide middle lane instead of being
   squeezed by flex constraints fighting the cards for space. */
.app-preview-surround { display: grid; grid-template-columns: 4fr 6fr 4fr; align-items: center; gap: 40px; max-width: 1280px; margin: 0 auto; }
/* No margin:auto here - that disables the grid's default item-stretch and
   shrinks this to fit-content (collapsing to the width of the dots row,
   leaving the phone looking like a narrow "tube"). Let it stretch to fill
   the 6fr column; .phone-mock's own max-width caps and centers the phone. */
.app-preview-surround .phone-mock-wrap { width: 100%; }
.app-feature-list { list-style: none; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 14px; }
.app-feature-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); }
.app-feature-list .icon { color: var(--swap); margin-top: 3px; }
.app-feature-list strong { color: var(--mali); }

.phone-mock-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; min-width: 0; }

/* ---------- Phone orbit rings (globaljet.aero-style) ----------
   On the reference site the three rings are NOT concentric - each has its own
   center, offset from the others. The group rotates together as one rigid
   shape, so each off-center ring's middle traces a small orbit around the
   shared pivot while the rings slide past one another - a wobble/drift, not a
   clean spin in place. That offset is what we reproduce here.
   Used behind every *angled* phone mock (hero, app-preview, security.php,
   use-cases.php) - phone-mock--mini step icons are excluded on purpose. */
.phone-orbit-rings {
  position: absolute; top: 50%; left: 50%; width: 640px; height: 640px;
  transform: translate(-50%, -50%) rotate(0deg);
  animation: phoneOrbitSpin 45s linear infinite;
  pointer-events: none; z-index: 0;
}
.phone-orbit-rings span { position: absolute; border-radius: 50%; border: 2px solid; }
.phone-orbit-rings span:nth-child(1) { width: 460px; height: 460px; top: 56px; left: 44px; }
.phone-orbit-rings span:nth-child(2) { width: 392px; height: 392px; top: 92px; left: 100px; }
.phone-orbit-rings span:nth-child(3) { width: 540px; height: 540px; top: 20px; left: 8px; }
@keyframes phoneOrbitSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .phone-orbit-rings { animation: none; } }
/* On-dark: used over photo/gradient backgrounds (hero). */
.phone-orbit-rings--on-dark span:nth-child(1) { border-color: rgba(255,255,255,0.45); }
.phone-orbit-rings--on-dark span:nth-child(2) { border-color: rgba(255,255,255,0.3); }
.phone-orbit-rings--on-dark span:nth-child(3) { border-color: rgba(255,255,255,0.18); }
/* On-light: used over white/light backgrounds (app-preview, security, use-cases). */
.phone-orbit-rings--on-light span:nth-child(1) { border-color: rgba(7,93,129,0.42); }
.phone-orbit-rings--on-light span:nth-child(2) { border-color: rgba(24,162,187,0.36); }
.phone-orbit-rings--on-light span:nth-child(3) { border-color: rgba(7,93,129,0.2); }
/* Tablet: scale the whole group down so it doesn't blow past its container.
   Mobile: omit entirely - at phone width there's no room for a 640px ring
   group to read as a deliberate background effect rather than clutter. */
@media (min-width: 481px) and (max-width: 900px) {
  .phone-orbit-rings { width: 420px; height: 420px; }
  .phone-orbit-rings span:nth-child(1) { width: 302px; height: 302px; top: 37px; left: 29px; }
  .phone-orbit-rings span:nth-child(2) { width: 257px; height: 257px; top: 60px; left: 66px; }
  .phone-orbit-rings span:nth-child(3) { width: 354px; height: 354px; top: 13px; left: 5px; }
}
@media (max-width: 480px) { .phone-orbit-rings { display: none; } }
/* Medium variant - for card-sized contexts (e.g. timeline node cards) where a
   full 640px ring group would spill into the next column/row. */
.phone-orbit-rings--medium { width: 380px; height: 380px; }
.events-node-card .phone-orbit-rings { z-index: -1; opacity: 0.5; }
.phone-orbit-rings--medium span:nth-child(1) { width: 273px; height: 273px; top: 33px; left: 26px; }
.phone-orbit-rings--medium span:nth-child(2) { width: 233px; height: 233px; top: 55px; left: 59px; }
.phone-orbit-rings--medium span:nth-child(3) { width: 321px; height: 321px; top: 12px; left: 5px; }
@media (max-width: 480px) { .phone-orbit-rings--medium { display: block; } }
.phone-mock-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; max-width: 220px; }
.phone-mock-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: rgba(7,93,129,0.2); cursor: pointer; transition: background .2s, transform .2s; }
.phone-mock-dot:hover { background: rgba(7,93,129,0.4); }
.phone-mock-dot.is-active { background: var(--swap); transform: scale(1.25); }
.phone-mock {
  width: 100%;
  max-width: 280px;
  background: linear-gradient(165deg, #0c2230, var(--mali));
  border-radius: 32px;
  padding: 7px;
  box-shadow: 0 30px 60px -20px rgba(7,93,129,0.45);
  position: relative;
  touch-action: pan-y;
}
@media (min-width: 861px) {
  .phone-mock {
    transform: rotate(-3deg);
    box-shadow: 0 45px 80px -20px rgba(7,93,129,0.55), 0 15px 35px -10px rgba(0,0,0,0.3);
    transition: transform .3s ease, box-shadow .3s ease;
  }
  .phone-mock:hover { transform: rotate(0deg); }
}
.phone-notch {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 18px; background: #0c2230; border-radius: 0 0 14px 14px; z-index: 2;
}
.phone-screen {
  background: #0a1a26;
  border-radius: 28px;
  overflow: hidden;
  min-height: 522px;
  position: relative;
}
.app-screen {
  position: absolute; inset: 0;
  padding: 26px 18px 18px;
  opacity: 0; visibility: hidden;
  transform: translateX(14px);
  transition: opacity .35s ease, transform .35s ease;
}
.app-screen.is-active { opacity: 1; visibility: visible; transform: none; overflow-y: auto; }
.app-screen.has-nav { padding-bottom: 78px; }
.app-nav-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-around; align-items: center;
  padding: 16px 14px; background: rgba(8,20,30,0.92);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.app-nav-bar svg { width: 19px; height: 19px; color: rgba(255,255,255,0.32); }
.app-nav-bar .is-active-tab svg { color: var(--swap); }
.splash-screen { background: #fff; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.splash-logo { width: 56px; height: 56px; object-fit: contain; margin-bottom: 16px; }
.splash-name { font-size: 1.4rem; font-weight: 800; letter-spacing: 0.02em; }
.splash-loading { width: 110px; height: 4px; background: rgba(7,93,129,0.15); border-radius: 999px; margin-top: 30px; overflow: hidden; }
.splash-loading-bar { width: 40%; height: 100%; background: linear-gradient(90deg, var(--mali), var(--swap)); border-radius: 999px; animation: splash-load 1.6s ease-in-out infinite; }
@keyframes splash-load { 0% { transform: translateX(-120%); } 100% { transform: translateX(260%); } }
.app-status-bar { display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; color: rgba(255,255,255,0.45); margin-bottom: 18px; }
.app-brand { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,0.7); font-weight: 600; }
.app-brand-logo { height: 20px; width: auto; flex-shrink: 0; }

.otp-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.otp-digit { width: 34px; height: 42px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; }
.otp-digit.is-active { background: var(--swap); }

.wallet-card { background: linear-gradient(135deg, var(--swap), var(--mali)); border-radius: 16px; padding: 18px; color: #fff; margin-bottom: 16px; }
.wallet-card-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.75; }
.wallet-card-amount { font-size: 1.5rem; font-weight: 700; margin-top: 4px; }
.wallet-card-sub { font-size: 0.7rem; opacity: 0.75; margin-top: 6px; }

.qa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 18px; }
.qa-item { background: rgba(255,255,255,0.06); border-radius: 12px; padding: 10px 4px; text-align: center; }
.qa-item .icon { color: var(--swap); width: 1.1rem; height: 1.1rem; }
.qa-item span { display: block; font-size: 0.58rem; color: rgba(255,255,255,0.55); margin-top: 4px; }

.txn-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.3); margin-bottom: 8px; }
.txn-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.72rem; color: rgba(255,255,255,0.65); }
.txn-item .amt { font-weight: 700; }
.txn-item .amt.debit { color: #f87171; }
.txn-item .amt.credit { color: #4ade80; }

.send-row { margin-bottom: 14px; }
.send-row label { font-size: 0.65rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.06em; }
.send-amount { font-size: 1.3rem; font-weight: 700; color: #fff; margin-top: 4px; }
.send-amount.receive { color: var(--swap); }
.send-divider { display: flex; align-items: center; gap: 8px; font-size: 0.68rem; color: rgba(255,255,255,0.4); margin: 14px 0; }
.send-divider .icon { width: 0.9rem; height: 0.9rem; }
.send-recipient { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.06); border-radius: 12px; padding: 12px; margin: 16px 0; }
.send-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--swap), var(--mali)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.72rem; font-weight: 700; flex-shrink: 0; }
.send-recipient strong { display: block; font-size: 0.78rem; color: #fff; }
.send-recipient span { font-size: 0.65rem; color: rgba(255,255,255,0.45); }
.app-cta-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--swap); color: #fff; border-radius: 12px; padding: 12px; font-size: 0.8rem; font-weight: 700; }
.app-cta-btn .icon { width: 1rem; height: 1rem; }

.track-amount { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 22px; }
.track-amount span { display: block; font-size: 0.68rem; font-weight: 400; color: rgba(255,255,255,0.45); margin-top: 2px; }
.track-steps { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.track-steps li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,0.3); }
.track-steps li .icon { width: 1.1rem; height: 1.1rem; margin-top: 1px; }
.track-steps li strong { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.track-steps li span { font-size: 0.65rem; }
.track-steps li.done, .track-steps li.active { color: rgba(255,255,255,0.85); }
.track-steps li.done .icon, .track-steps li.active .icon { color: var(--swap); }
.track-steps li.done strong, .track-steps li.active strong { color: #fff; }

.notif-item { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.notif-icon { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.notif-icon .icon { width: 0.95rem; height: 0.95rem; color: var(--swap); }
.notif-item strong { display: block; font-size: 0.76rem; color: #fff; }
.notif-item span { font-size: 0.66rem; color: rgba(255,255,255,0.45); }

.globe-screen { padding-top: 14px; }
.globe-svg { width: 100%; height: auto; display: block; }
.globe-marker { fill: #e63946; }
.globe-pin-label { fill: rgba(255,255,255,0.55); font-size: 7px; font-family: inherit; text-anchor: middle; }
.globe-caption { text-align: center; font-size: 0.74rem; color: rgba(255,255,255,0.5); margin-top: 14px; padding: 0 6px; line-height: 1.5; }
.globe-caption strong { color: #fff; }

/* ---------- Security app-preview screens (security.php) ---------- */
.security-icon-circle {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px;
  background: rgba(255,255,255,0.08); color: var(--swap);
  display: flex; align-items: center; justify-content: center;
}
.security-icon-circle .icon { width: 1.8rem; height: 1.8rem; }
.security-screen-title { color: #fff; font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; text-align: center; }
.security-screen-sub { color: rgba(255,255,255,0.45); font-size: 0.72rem; text-align: center; margin-bottom: 20px; }
.device-item { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.device-icon { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.device-icon .icon { width: 0.95rem; height: 0.95rem; color: var(--swap); }
.device-item strong { display: block; font-size: 0.76rem; color: #fff; }
.device-item span { font-size: 0.65rem; color: rgba(255,255,255,0.45); }
.device-status { margin-left: auto; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; flex-shrink: 0; }
.device-status--active { background: rgba(24,162,187,0.18); color: var(--swap); }
.device-status--idle { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.45); }

/* ---------- Get Started (dark CTA steps) ---------- */
.get-started {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 64px 20px;
  background: linear-gradient(135deg, #04222f, var(--mali));
  position: relative;
  overflow: hidden;
  text-align: center;
}
.get-started::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 82% 18%, rgba(24,162,187,0.22), transparent 55%); }
.get-started-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }
.get-started .eyebrow { background: rgba(255,255,255,0.1); color: var(--swap); margin: 0 auto 14px; }
.get-started h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.get-started h2 span { color: var(--swap); }
.get-started-inner > p { color: rgba(255,255,255,0.65); max-width: 520px; margin: 0 auto; }

.get-started .hiw-steps--4 { margin-top: 40px; }
.get-started .hiw-step h3 { color: #fff; }
.get-started .hiw-step p { color: rgba(255,255,255,0.55); }

.get-started-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; position: relative; z-index: 1; }
.btn-white { background: #fff; color: var(--mali); padding: 12px 28px; border-radius: 999px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }

.get-started-woman { position: absolute; right: -10px; bottom: -10px; width: 550px; pointer-events: none; z-index: 0; }
.get-started-circles { position: absolute; top: -120px; left: -120px; width: 380px; height: 380px; pointer-events: none; z-index: 0; }
.get-started-circles span { position: absolute; inset: 0; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); }
.get-started-circles span:nth-child(2) { inset: 35px; width: 310px; height: 310px; }
.get-started-circles span:nth-child(3) { inset: 70px; width: 240px; height: 240px; }
/* Reposition the shared .phone-orbit-rings to center on the woman photo
   (bottom-right, 550px square) instead of its default mid-section placement. */
.get-started-woman-rings { left: auto; top: auto; right: 265px; bottom: 265px; transform: translate(50%, 50%) rotate(0deg); }
@keyframes getStartedWomanRingSpin { to { transform: translate(50%, 50%) rotate(360deg); } }
.get-started-woman-rings { animation-name: getStartedWomanRingSpin; }

@media (max-width: 900px) {
  .get-started-woman { display: none; }
  .get-started-woman-rings { display: none; }
}

.cta-freedom { position: relative; text-align: left; overflow: hidden; min-height: 500px; display: flex; align-items: center; }
.cta-freedom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #fff 0%, #fff 42%, rgba(255,255,255,0.88) 58%, rgba(255,255,255,0.35) 75%, rgba(255,255,255,0) 92%);
  z-index: 1;
  pointer-events: none;
}
.cta-freedom-bg { position: absolute; right: -10px; top: 50%; transform: translateY(-50%); width: 480px; z-index: 0; pointer-events: none; }
/* Reposition the shared .phone-orbit-rings to sit centered under this photo
   (right side of the banner) instead of its default mid-section placement. */
.cta-freedom-rings { left: auto; right: 230px; transform: translate(50%, -50%) rotate(0deg); }
@keyframes ctaFreedomRingSpin { to { transform: translate(50%, -50%) rotate(360deg); } }
.cta-freedom-rings { animation-name: ctaFreedomRingSpin; }
@media (max-width: 860px) { .cta-freedom-rings { right: 50%; } }
.cta-freedom-copy { position: relative; z-index: 2; max-width: 540px; }
.cta-freedom-copy p { margin: 12px 0 20px; color: var(--muted); }
@media (max-width: 760px) {
  .cta-freedom { text-align: center; min-height: 0; display: block; padding-top: 240px; }
  .cta-freedom::before { background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 55%); }
  .cta-freedom-bg { width: 220px; right: 50%; bottom: auto; top: 0; transform: translateX(50%); }
  .cta-freedom-copy { max-width: 100%; }
}
@media (max-width: 640px) {
  .get-started-steps { grid-template-columns: 1fr 1fr; }
  .get-started-step::after { display: none; }
}

.country-label { font-size: 0.68rem; color: rgba(255,255,255,0.45); margin-bottom: 18px; }
.country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 26px; }
.country-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.country-item span:last-child { font-size: 0.6rem; color: rgba(255,255,255,0.45); }
.country-flag-circle {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-size: 2.1rem; line-height: 1; border: 2px solid transparent; transition: border-color .2s, transform .2s;
}
.country-item.is-selected .country-flag-circle { border-color: var(--swap); transform: scale(1.08); }
.country-item.is-selected span:last-child { color: #fff; font-weight: 600; }

.card-mock {
  background: linear-gradient(135deg, #1a3a4d, #0c2230);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 18px; margin-bottom: 16px; aspect-ratio: 1.6/1;
  display: flex; flex-direction: column; justify-content: space-between;
}
.card-mock-top { display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,0.5); font-size: 0.68rem; }
.card-brand { display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; }
.card-logo { height: 16px; width: auto; object-fit: contain; }
.card-chip { width: 34px; height: 24px; border-radius: 5px; background: linear-gradient(135deg, var(--swap), #9adfeb); }
.card-number { color: #fff; font-size: 0.92rem; letter-spacing: 0.06em; font-weight: 600; }
.card-mock-bottom { display: flex; justify-content: space-between; color: rgba(255,255,255,0.6); font-size: 0.65rem; text-transform: uppercase; }

.points-card { text-align: center; background: rgba(255,255,255,0.06); border-radius: 16px; padding: 18px; margin-bottom: 18px; }
.points-label { font-size: 0.65rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.06em; }
.points-balance { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 1.4rem; font-weight: 700; color: #fff; margin: 6px 0 12px; }
.points-balance .icon { color: #facc15; width: 1.1rem; height: 1.1rem; }
.points-progress { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.1); overflow: hidden; }
.points-progress-bar { height: 100%; background: var(--swap); border-radius: 999px; }
.points-progress-label { font-size: 0.62rem; color: rgba(255,255,255,0.4); margin-top: 8px; }
.reward-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.reward-item strong { display: block; font-size: 0.76rem; color: #fff; }
.reward-item span { font-size: 0.65rem; color: rgba(255,255,255,0.45); }
.reward-btn { background: var(--swap); color: #fff; font-size: 0.65rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.reward-btn.is-disabled { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); }

.app-slide-dots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.app-slide-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--border); border: none; padding: 0; transition: background .2s, transform .2s; }
.app-slide-dots button.is-active { background: var(--swap); transform: scale(1.3); }

/* ---------- Security pills (phone + compliance highlights) ---------- */
.security-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
/* Side columns flanking the centered phone mock - one pill per row since each
   column is narrower than the old full-width 2-up layout. */
.security-pills--side { grid-template-columns: 1fr; margin-top: 0; max-width: 340px; width: 100%; gap: 16px; }
/* Flip card: hover (or keyboard focus) reveals the back face - click/tap is
   kept as a JS fallback since touch devices have no real hover state. */
.security-pill {
  perspective: 1200px; cursor: pointer; border-radius: 14px;
  min-height: 190px; transition: box-shadow .2s ease;
}
.security-pill:hover, .security-pill:focus-visible { box-shadow: 0 16px 32px -16px rgba(7,93,129,0.4); }
.security-pill:focus-visible { outline: 2px solid var(--swap); outline-offset: 2px; }
.security-pill-inner {
  position: relative; width: 100%; height: 100%; min-height: 190px;
  transition: transform .6s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d;
}
.security-pill:hover .security-pill-inner,
.security-pill:focus-visible .security-pill-inner,
.security-pill.is-flipped .security-pill-inner { transform: rotateY(180deg); }
.security-pill-face {
  position: absolute; inset: 0; backface-visibility: hidden;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px; padding: 16px;
}
.security-pill-front { display: flex; flex-direction: column; gap: 12px; }
.security-pill-icon { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--mali), var(--swap)); display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.security-pill-icon .icon { width: 1rem; height: 1rem; }
.security-pill strong { display: block; font-size: 0.88rem; color: var(--mali); }
.security-pill-front p { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.security-pill-flip-hint { margin-top: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 0.68rem; font-weight: 700; color: var(--swap); }
.security-pill-flip-hint .icon { width: 11px; height: 11px; }
.security-pill-flip-hint-mobile { display: none; }
/* Back face: solid dark fill with white text - kept as its own rule (not
   sharing the generic ".security-pill-front p" selector) so the white color
   can never lose the cascade to the front face's gray paragraph color. */
.security-pill-back { display: flex; align-items: center; transform: rotateY(180deg); background: var(--mali); border-color: var(--mali); }
.security-pill-back p { color: #fff; font-size: 0.8rem; line-height: 1.55; margin: 0; }
/* Below 860px the side pill columns used to squeeze into 2-up, narrow enough
   that wrapped text overflowed the flip card's fixed-height absolute faces
   and overlapped the row below. Going single-column instead (full row width)
   gives the text enough room to fit the same min-height the flip already
   uses on desktop, so the 3D tap-to-flip keeps working everywhere.
   (A scroll-snap slider was tried here but scroll-snap + the rotateY/
   backface-visibility flip don't compose reliably in Chromium - the back
   face intermittently painted on top on load. Reverted pending a fix.) */
@media (max-width: 860px) {
  .security-pills--side { grid-template-columns: 1fr; max-width: 100%; }
  .security-pill { min-height: 200px; }
  .security-pill-inner { min-height: 200px; }
  .security-pill-flip-hint-desktop { display: none; }
  .security-pill-flip-hint-mobile { display: inline; }
}

@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-split p { margin: 16px auto 0; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { margin-top: 32px; }
  .waitlist-inner { grid-template-columns: 1fr; text-align: center; }
  .waitlist-copy p { margin: 0 auto; }
  .waitlist-banner { padding: 32px 20px; }
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: #fff;
    box-shadow: 4px 0 24px rgba(0,0,0,0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 80px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .28s ease;
    z-index: 60;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links-logo { display: flex; align-items: center; gap: 10px; padding: 0 20px 16px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
  .nav-links-logo img { height: 44px; }
  .nav-links-logo-text { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
  .nav-links a { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--border); }
  .nav-link-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: var(--mali); flex-shrink: 0; }
  .nav-link-icon .icon { width: 18px; height: 18px; }
  .nav-cta { margin: 16px 20px; padding: 0; border-top: none; width: 44px; height: 44px; }
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease;
    z-index: 55;
  }
  .nav-overlay.is-open { opacity: 1; visibility: visible; }
  .hero h1 { font-size: 1.8rem; }
}

/* JS safety net (see main.js checkNavFit) - same collapsed/hamburger layout
   as the 980px breakpoint above, but triggered by an actually-measured wrap
   instead of a fixed viewport width, so an unusually long site name or
   extreme browser zoom can never leave the nav wrapped to a second row. */
.site-nav.nav-force-collapsed .nav-toggle { display: flex; }
.site-nav.nav-force-collapsed .nav-links {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 78%;
  max-width: 320px;
  background: #fff;
  box-shadow: 4px 0 24px rgba(0,0,0,0.12);
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding-top: 80px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .28s ease;
  z-index: 60;
}
.site-nav.nav-force-collapsed .nav-links.is-open { transform: translateX(0); }
.site-nav.nav-force-collapsed .nav-links-logo { display: flex; align-items: center; gap: 10px; padding: 0 20px 16px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.site-nav.nav-force-collapsed .nav-links-logo img { height: 44px; }
.site-nav.nav-force-collapsed .nav-links-logo-text { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.site-nav.nav-force-collapsed .nav-links a { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--border); }
.site-nav.nav-force-collapsed .nav-link-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: var(--mali); flex-shrink: 0; }
.site-nav.nav-force-collapsed .nav-link-icon .icon { width: 18px; height: 18px; }
.site-nav.nav-force-collapsed .nav-cta { margin: 16px 20px; padding: 0; border-top: none; width: 44px; height: 44px; }
.site-nav.nav-force-collapsed .nav-overlay {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease;
  z-index: 55;
}
.site-nav.nav-force-collapsed .nav-overlay.is-open { opacity: 1; visibility: visible; }

@media (max-width: 860px) {
  .app-preview-inner { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .app-preview-copy > p { margin: 0 auto; }
  .app-preview-surround { grid-template-columns: 1fr; gap: 28px; }
  .app-feature-list { align-items: flex-start; max-width: 320px; margin: 22px auto 28px; }
  .security-pills { gap: 10px; }
  .security-pills--side { max-width: 480px; margin: 0 auto; gap: 10px; }
}

/* ---------- How It Will Work (mini phone screens, node-connected) ---------- */
.hiw-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; max-width: 1100px; margin: 36px auto 0; }
.hiw-step { text-align: center; transition-delay: 0s; }
.hiw-step:nth-child(1) { transition-delay: 0s; }
.hiw-step:nth-child(2) { transition-delay: .08s; }
.hiw-step:nth-child(3) { transition-delay: .16s; }
.hiw-step:nth-child(4) { transition-delay: .24s; }
.hiw-step:nth-child(5) { transition-delay: .32s; }
.hiw-step h3 { font-size: 0.95rem; margin-bottom: 6px; }
.hiw-step p { font-size: 0.8rem; color: var(--muted); line-height: 1.5; margin: 0; }

/* Mirrors the hero's .phone-mock frame, scaled down to the same iPhone-like ratio, used as a connected "node" per step */
.phone-mock--mini {
  max-width: 116px; padding: 4px; border-radius: 22px;
  margin: 0 auto 18px; position: relative;
  box-shadow: 0 16px 30px -14px rgba(7,93,129,0.45);
}
.phone-mock--mini::after {
  content: ''; position: absolute; top: calc(50% - 4px); height: 8px; z-index: -1;
  left: calc(50% + 58px); right: calc(-50% + 58px);
  background-image:
    radial-gradient(circle, var(--swap) 0 3px, transparent 3.5px),
    linear-gradient(90deg, var(--mali), var(--swap));
  background-size: 8px 8px, 100% 2px;
  background-position: center, center;
  background-repeat: no-repeat;
  opacity: 0.45;
}
.hiw-step:last-child .phone-mock--mini::after { display: none; }
.phone-mock--mini .phone-notch { width: 42px; height: 9px; top: 4px; background: rgba(255,255,255,0.22); border-radius: 0 0 8px 8px; }
.phone-mock--mini .phone-screen { min-height: 230px; border-radius: 18px; }
.phone-mock--mini .app-screen.is-active {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  padding: 12px 8px 6px;
}
@media (min-width: 861px) { .phone-mock--mini, .phone-mock--mini:hover { transform: none; } }

.mini-status-row { display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; margin-bottom: 6px; font-size: 0.56rem; color: rgba(255,255,255,0.55); }
.mini-status-row img { width: 14px; height: 14px; object-fit: contain; opacity: 0.9; }

.step-phone-screen .app-screen {
  text-align: center;
}
.step-screen-body { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.step-screen-title { color: #fff; font-size: 0.68rem; font-weight: 700; margin-bottom: 6px; }

.mini-tab-bar {
  display: flex; justify-content: space-around; flex-shrink: 0;
  padding-top: 6px; border-top: 1px solid rgba(255,255,255,0.08);
}
.mini-tab-bar svg { width: 14px; height: 14px; color: rgba(255,255,255,0.3); }
.step-phone-screen .icon-circle {
  width: 32px; height: 32px; border-radius: 50%; margin-bottom: 6px;
  background: rgba(255,255,255,0.08); color: var(--swap);
  display: flex; align-items: center; justify-content: center;
  transform: scale(0.4); opacity: 0; transition: transform .4s ease, opacity .4s ease;
}
.hiw-step.in-view .step-phone-screen .icon-circle { transform: scale(1); opacity: 1; }
.step-phone-screen span { color: rgba(255,255,255,0.45); font-size: 0.58rem; line-height: 1.3; }

.step-app-icon { width: 32px; height: 32px; border-radius: 9px; margin-bottom: 5px; object-fit: contain; background: #fff; padding: 3px; }
.store-stars { color: #f4b400; font-size: 0.64rem; letter-spacing: 1px; margin-bottom: 5px; }
.store-stars span { display: inline-block; opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease; }
.hiw-step.in-view .store-stars span { opacity: 1; transform: none; }
.hiw-step.in-view .store-stars span:nth-child(1) { transition-delay: .1s; }
.hiw-step.in-view .store-stars span:nth-child(2) { transition-delay: .18s; }
.hiw-step.in-view .store-stars span:nth-child(3) { transition-delay: .26s; }
.hiw-step.in-view .store-stars span:nth-child(4) { transition-delay: .34s; }
.hiw-step.in-view .store-stars span:nth-child(5) { transition-delay: .42s; }
.store-btn {
  background: var(--swap); color: #fff; font-size: 0.6rem; font-weight: 700;
  padding: 3px 14px; border-radius: 999px; margin-bottom: 5px;
}

.step-progress { width: 60px; height: 4px; background: rgba(255,255,255,0.12); border-radius: 999px; overflow: hidden; margin-bottom: 5px; }
.step-progress-bar { width: 0%; height: 100%; background: linear-gradient(90deg, var(--mali), var(--swap)); border-radius: 999px; transition: width 1.1s ease .3s; }
.hiw-step.in-view .step-progress-bar { width: 70%; }

@media (max-width: 860px) {
  .hiw-steps { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .phone-mock--mini::after { display: none; }
}
@media (max-width: 480px) {
  .hiw-steps { grid-template-columns: 1fr; max-width: 220px; }
}

/* ---------- Services tabs (how-it-works.php: click a service to see its step screenshots) ---------- */
.service-tabs-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 28px 0 8px; }
.service-tab-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); background: var(--bg); color: var(--muted);
  padding: 10px 18px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s ease;
}
.service-tab-btn svg { width: 16px; height: 16px; }
.service-tab-btn:hover { border-color: var(--mali); color: var(--mali); }
.service-tab-btn.is-active { background: var(--mali); border-color: var(--mali); color: #fff; }
.service-panel { display: none; }
.service-panel.is-active { display: block; }
.service-panel-intro { text-align: center; max-width: 640px; margin: 0 auto 8px; color: var(--muted); font-size: 0.92rem; }
.hiw-steps--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) {
  .hiw-steps--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hiw-steps--4 { grid-template-columns: 1fr; max-width: 220px; }
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--bg);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.page-loader-logo { height: 40px; width: auto; animation: page-loader-pulse 1.4s ease-in-out infinite; }
@keyframes page-loader-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.page-loader-bar-track {
  width: 160px; height: 4px; border-radius: 999px;
  background: rgba(7,93,129,0.12); overflow: hidden;
}
.page-loader-bar-fill {
  width: 40%; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--mali), var(--swap));
  animation: page-loader-slide 1.2s ease-in-out infinite;
}
@keyframes page-loader-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

.cookie-notice {
  position: fixed;
  left: 24px;
  bottom: 24px;
  max-width: 420px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(7,93,129,0.35);
  padding: 20px 24px;
  z-index: 9998;
  display: none;
}
.cookie-notice.is-visible { display: block; animation: cookie-notice-in 0.4s ease; }
@keyframes cookie-notice-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie-notice p { margin: 0 0 14px; font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.cookie-notice p a { color: var(--mali); text-decoration: underline; }
.cookie-notice-actions { display: flex; gap: 10px; }
.cookie-notice-actions .btn,
.cookie-notice-actions .btn-ghost { padding: 8px 18px; font-size: 0.85rem; }
@media (max-width: 600px) {
  .cookie-notice { left: 16px; right: 16px; bottom: 16px; max-width: none; padding: 16px 18px; }
}

.blog-grid-section { padding: 24px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(7,93,129,0.35); }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-card-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  color: var(--mali);
}
.blog-card-img--placeholder svg { width: 40px; height: 40px; }
.blog-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card-date { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.blog-card-body h3 { font-size: 1.15rem; margin: 0; }
.blog-card-body p { color: var(--muted); font-size: 0.92rem; flex: 1; margin: 0; }
.blog-card-cta { color: var(--mali); font-weight: 600; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; }
.blog-card-cta svg { width: 14px; height: 14px; }

.blog-post-hero p { max-width: 720px; }
.blog-post-section { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 24px; }
.blog-post-article { max-width: 760px; width: 100%; }
.blog-post-image { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); display: block; margin-bottom: 28px; }
.blog-post-body { font-size: 1.02rem; line-height: 1.75; color: var(--text); }
.blog-post-body p { margin: 0 0 18px; }
.blog-post-body h2, .blog-post-body h3 { margin: 32px 0 14px; }
.blog-post-body img { max-width: 100%; border-radius: var(--radius); }

.blog-related-section { padding: 24px 24px 64px; border-top: 1px solid var(--border); margin-top: 16px; }
.blog-related-heading { text-align: center; max-width: 1180px; margin: 0 auto 28px; }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.segments-grid-section { padding: 64px 24px; }
.segments-grid-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.segments-grid-head h2 { margin: 14px 0 12px; }
.segments-grid-head p { color: var(--muted); }
.segments-grid > .is-clone { display: none; }
.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.segment-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.segment-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(7,93,129,0.35); border-color: transparent; }
.segment-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--mali);
}
.segment-card-icon svg { width: 24px; height: 24px; }
.segment-card h3 { font-size: 1.08rem; margin: 4px 0 0; }
.segment-card p { color: var(--muted); font-size: 0.9rem; flex: 1; margin: 0; }
.segment-card-cta { color: var(--mali); font-weight: 600; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 6px; }
.segment-card-cta svg { width: 13px; height: 13px; }

@media (max-width: 900px) {
  .segments-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .segments-grid {
    display: flex; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 17%;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin: 0 -20px; padding: 24px 17% 20px;
  }
  .segments-grid::-webkit-scrollbar { display: none; }
  .segments-grid > .is-clone { display: block; }
  .segments-grid > * {
    flex: 0 0 66%; scroll-snap-align: center;
    transform: scale(0.88); opacity: 0.5; filter: saturate(0.8);
    transition: transform .35s ease, opacity .35s ease, box-shadow .35s ease, filter .35s ease;
  }
  .segments-grid > *.is-active-slide {
    transform: scale(1); opacity: 1; filter: none;
    box-shadow: 0 8px 18px -8px rgba(7,93,129,0.3); z-index: 1;
  }
}

.blog-grid-section--home { padding: 64px 24px; }
.blog-grid--home > .is-clone { display: none; }
.blog-grid--home { grid-template-columns: repeat(4, 1fr); }
.blog-grid--home .blog-card-body { padding: 16px 18px 20px; gap: 6px; }
.blog-grid--home .blog-card-date { font-size: 0.7rem; }
.blog-grid--home .blog-card-body h3 { font-size: 0.98rem; }
.blog-grid--home .blog-card-body p { font-size: 0.82rem; }
.blog-grid--home .blog-card-cta { font-size: 0.78rem; }
.blog-grid--home .blog-card-img { height: 160px; }
.blog-grid-section-cta { text-align: center; margin-top: 36px; }

@media (max-width: 900px) {
  .blog-grid--home { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .blog-grid--home {
    display: flex; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 17%;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin: 0 -20px; padding: 24px 17% 20px;
  }
  .blog-grid--home::-webkit-scrollbar { display: none; }
  .blog-grid--home > .is-clone { display: block; }
  .blog-grid--home > * {
    flex: 0 0 66%; scroll-snap-align: center;
    transform: scale(0.88); opacity: 0.5; filter: saturate(0.8);
    transition: transform .35s ease, opacity .35s ease, box-shadow .35s ease, filter .35s ease;
  }
  .blog-grid--home > *.is-active-slide {
    transform: scale(1); opacity: 1; filter: none;
    box-shadow: 0 8px 18px -8px rgba(7,93,129,0.3); z-index: 1;
  }
}

/* ---------- Trust list (security.php: Wise-style "How We Keep You Safe" statements) ---------- */
.trust-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 32px; margin-top: 20px; }
.trust-item { display: flex; align-items: flex-start; gap: 14px; }
.trust-item-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-soft); color: var(--mali);
  display: flex; align-items: center; justify-content: center;
}
.trust-item-icon svg { width: 20px; height: 20px; }
.trust-item p { margin: 0; color: var(--text); font-weight: 600; line-height: 1.5; padding-top: 8px; }

@media (max-width: 700px) {
  .trust-list { grid-template-columns: 1fr; }
}

/* ---------- Floating action buttons (WhatsApp + scroll-to-top) ---------- */
.float-actions {
  position: fixed; right: 22px; bottom: 11px; z-index: 999;
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.float-btn {
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(7,93,129,0.4);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.float-btn:hover { transform: translateY(-2px); }
.float-btn--whatsapp {
  position: fixed; left: 22px; bottom: 11px; z-index: 999;
  width: 40px; height: 40px;
  background: #25D366; color: #fff;
}
.float-btn--whatsapp svg { width: 20px; height: 20px; }
.float-btn--top {
  width: 42px; height: 42px;
  background: var(--mali); color: #fff;
  opacity: 0; visibility: hidden; transform: translateY(8px);
}
.float-btn--top svg { width: 18px; height: 18px; }
.float-btn--top.is-visible { opacity: 1; visibility: visible; transform: none; }

@media (max-width: 600px) {
  .float-btn--whatsapp { left: 14px; bottom: 14px; }
  .float-actions { right: 14px; bottom: 14px; }
  .float-btn { width: 46px; height: 46px; }
}

/* ---------- Services overview (home, just after hero) - matches sunovateconsultingltd.com's
   feature-item layout: one soft rounded wrapper containing horizontal icon+text rows ---------- */
.services-overview-section { padding: 56px 24px; text-align: center; margin-top: 0; }
.services-overview-head { max-width: 640px; margin: 0 auto 28px; }
/* Outer container is just a clipped frame the rotating gradient spins inside -
   the visible card panel is the inner div, inset by the border's thickness, so
   only a thin ring of the gradient ("track lights") peeks through as a border. */
.services-overview-wrapper {
  max-width: 1100px; margin: -145px auto 0;
  position: relative; z-index: 2;
  border-radius: 15px; padding: 0.75px; overflow: hidden;
  box-shadow: 0 24px 40px rgba(7,93,129,0.16), 14px 0 28px rgba(7,93,129,0.1), -14px 0 28px rgba(7,93,129,0.1);
}
/* Rotating gradient border temporarily disabled (set display:none below) while
   color/thickness is reassessed - remove that line to bring it back. */
.services-overview-wrapper::before {
  content: ''; position: absolute; z-index: 0;
  top: 50%; left: 50%; width: 1600px; height: 1600px;
  background: conic-gradient(from 0deg, var(--mali), var(--swap), var(--mali));
  transform: translate(-50%, -50%) rotate(0deg);
  animation: servicesBorderSpin 14s linear infinite;
  display: none;
}
@keyframes servicesBorderSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .services-overview-wrapper::before { animation: none; } }
.services-overview-inner {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem;
  background-color: #f4f9fb; border-radius: 13px;
  padding: 2rem; text-align: left;
}
.services-overview-item { position: relative; display: flex; align-items: flex-start; gap: 1rem; flex: 1 1 220px; }
/* Partial-height divider between items, centered in the gap - like the stats
   section's separators, but short rather than spanning the full row height. */
.services-overview-item:not(:last-child)::after {
  content: ''; position: absolute; top: 50%; right: -0.75rem;
  width: 2px; height: 60%; transform: translateY(-50%);
  background: var(--muted); opacity: 0.4;
}
@media (max-width: 900px) {
  .services-overview-item:not(:last-child)::after { display: none; }
}
.services-overview-icon {
  width: 60px; height: 60px; border-radius: 12px; flex-shrink: 0;
  background: #ddeef3; color: var(--mali);
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.3s ease;
}
.services-overview-item:hover .services-overview-icon { background: #c5e3ea; }
.services-overview-icon .icon { width: 1.4rem; height: 1.4rem; }
.services-overview-item h3 { font-size: 0.92rem; font-weight: 700; margin-bottom: 0.4rem; }
.services-overview-item p { font-size: 0.8rem; color: var(--muted); margin: 0; line-height: 1.5; }

@media (max-width: 900px) {
  .services-overview-inner { flex-wrap: wrap; }
  .services-overview-item { flex: 1 1 45%; }
}
@media (max-width: 560px) {
  .services-overview-inner { gap: 1.25rem 1rem; padding: 1.25rem; }
  .services-overview-item { flex: 1 1 45%; gap: 0.6rem; }
  .services-overview-icon { width: 44px; height: 44px; border-radius: 10px; }
  .services-overview-icon .icon { width: 1.1rem; height: 1.1rem; }
  .services-overview-item h3 { font-size: 0.8rem; margin-bottom: 0.25rem; }
  .services-overview-item p { font-size: 0.72rem; line-height: 1.4; }
}

/* ---------- Impact banner (home, just before "How Much Money Moves") - rounded
   color block with concentric decorative circles bottom-right, sunovateconsultingltd.com
   stats__v3 styling repurposed as a single transition statement rather than a stat grid ---------- */
.impact-stats { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.impact-stats-inner {
  position: relative; overflow: hidden;
  border-radius: 24px;
  background: var(--mali);
  color: #fff;
  padding: 70px 40px;
}
.impact-stats-inner--banner { display: flex; align-items: center; justify-content: center; text-align: center; }
.impact-banner { position: relative; z-index: 1; max-width: 680px; }
.impact-banner .eyebrow { background: rgba(255,255,255,0.12); color: #fff; }
.impact-banner h2 { color: #fff; margin: 14px 0 12px; }
.impact-banner p { color: rgba(255,255,255,0.85); margin: 0; }
.impact-stats-circles { position: absolute; bottom: 0; right: 0; width: 500px; height: 500px; pointer-events: none; z-index: 0; }
.impact-stats-circles span { position: absolute; width: 500px; height: 500px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); }
.impact-stats-circles span:nth-child(1) { top: 0; right: 0; }
.impact-stats-circles span:nth-child(2) { top: 20px; right: 20px; }
.impact-stats-circles span:nth-child(3) { top: 40px; right: 40px; }
/* Gentle wobble (globaljet.aero-style) - each ring rocks back and forth a few
   degrees rather than spinning all the way around, like it's trembling along
   its own circular line. A plain solid circle is rotationally symmetric (so a
   pure rotation shows nothing), so .slow-rings switches the border to dashed -
   that's what actually makes the wobble visible. */
.slow-rings span { border-style: dashed; animation: ringWobble ease-in-out infinite alternate; transform-origin: center; }
.slow-rings span:nth-child(1) { animation-duration: 9s; }
.slow-rings span:nth-child(2) { animation-duration: 7s; animation-direction: alternate-reverse; }
.slow-rings span:nth-child(3) { animation-duration: 11s; }
@keyframes ringWobble { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .slow-rings span { animation: none; } }
@media (max-width: 576px) {
  .impact-stats-inner { padding: 48px 24px; }
  .impact-stat { flex: 1 1 100%; margin-bottom: 24px; }
  .impact-stat:last-child { margin-bottom: 0; }
}

/* ---------- Our Story (about.php, just after the hero) - matches zepz.io's "Our Story"
   section: big centered title, 3-column grid with circular icon + centered title/copy,
   connected by a dashed line (horizontal on desktop, vertical on mobile) ---------- */
.our-story-section { padding: 0 24px 16px; text-align: center; }
.our-story-title { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; margin: 0 auto 2.5rem; }
.our-story-grid {
  max-width: 1100px; margin: 0 auto; position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.our-story-grid::before {
  content: ''; position: absolute; top: 60px; left: 8%; right: 8%; height: 2px; z-index: 0;
  background-image: linear-gradient(to right, var(--border) 50%, transparent 50%);
  background-size: 16px 2px;
}
.our-story-item { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; padding: 0 1rem; }
.our-story-icon {
  width: 120px; height: 120px; border-radius: 50%; flex-shrink: 0;
  color: var(--mali);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.our-story-icon .icon { width: 56px; height: 56px; }
.our-story-item h3 { font-weight: 700; font-size: 1.5rem; margin-bottom: 0.75rem; }
.our-story-item p { color: var(--text); max-width: 350px; margin: 0; font-size: 1rem; font-weight: 400; line-height: 1.6; }
@media (max-width: 767px) {
  .our-story-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .our-story-grid::before {
    top: 0; bottom: 0; left: 50%; right: auto; width: 2px; height: auto; opacity: 0.3;
    background-image: linear-gradient(to bottom, var(--border) 50%, transparent 50%);
    background-size: 2px 16px;
  }
}

/* ---------- Stats banner (about.php) - matches zepz.io's dark gradient "stats-section":
   big bold count-up numbers + label, over a brand-gradient + dotted map overlay ---------- */
.about-stats-section {
  position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center;
  padding: 64px 24px; overflow: hidden;
  width: 100vw; margin-left: calc(50% - 50vw);
  background-image: url(../images/global-network-bg.png);
  background-position: center; background-repeat: no-repeat; background-size: cover;
}
.about-stats-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--mali) 0%, var(--swap) 100%); opacity: 0.9;
}
.about-stats-dots {
  position: absolute; width: 96%; height: 96%; top: 2%; left: 2%; z-index: 2; opacity: 0.5;
  object-fit: contain;
}
.about-stats-grid {
  position: relative; z-index: 3; max-width: 1100px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.about-stats-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
.about-stats-col h2 { color: #fff; font-weight: 800; font-size: 80px; margin: 0; line-height: 1; }
.about-stats-col p { color: #fff; font-weight: 700; font-size: 1.5rem; margin: 12px 0 0; }
@media (max-width: 767px) {
  .about-stats-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-stats-col h2 { font-size: 60px; }
  .about-stats-col p { font-size: 1.2rem; }
}

/* ---------- Our Mission (about.php) - tinted band with an icon badge, the mission
   statement, and three supporting pillar chips, instead of a bare h2+p ---------- */
.about-mission {
  width: 100vw; margin-left: calc(50% - 50vw);
  background: var(--bg-soft); text-align: center;
  padding: 56px 24px;
}
.about-mission-icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(150deg, var(--mali), var(--swap)); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.about-mission-icon .icon { width: 28px; height: 28px; }
.about-mission h2 { text-align: center; }
.about-mission-statement {
  max-width: 620px; margin: 0 auto; font-size: 1.15rem; color: var(--text); line-height: 1.6;
}
.about-mission-pillars { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.about-mission-pillar {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 18px; font-size: 0.85rem; font-weight: 700; color: var(--mali);
}
.about-mission-pillar .icon { width: 16px; height: 16px; }

/* ---------- Leadership cards (about.php) - replaces the generic .card with a proper
   profile treatment: avatar initials, name, role pill, then bio ---------- */
.leadership-section h2 { text-align: center; }
.leadership-grid { max-width: 900px; margin: 0 auto; }
.leader-card {
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
  padding: 28px 24px; text-align: center; transition: box-shadow .15s, transform .15s;
}
.leader-card:hover { box-shadow: 0 12px 24px -16px rgba(7,93,129,0.25); transform: translateY(-2px); }
.leader-avatar {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(150deg, var(--mali), var(--swap)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}
.leader-card strong { display: block; font-size: 1.05rem; }
.leader-title {
  display: inline-block; margin: 6px 0 14px; font-size: 0.75rem; font-weight: 700;
  color: var(--mali); background: var(--bg-soft); border-radius: 999px; padding: 4px 12px;
}
.leader-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }
.leader-avatar-photo { object-fit: cover; }
.leader-contact { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.leader-contact-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px; font-size: 0.78rem; font-weight: 700; color: var(--mali);
  transition: background-color .15s, border-color .15s;
}
.leader-contact-btn:hover { background: var(--bg-soft); border-color: var(--mali); }
.leader-contact-btn .icon { width: 14px; height: 14px; }

/* ---------- Core Values cards (about.php) - icon-led value cards, filled icon square
   instead of the plain .card-icon, for more visual weight in this section ---------- */
.core-values-section h2 { text-align: center; }
.values-grid { max-width: 1100px; margin: 0 auto; }
.value-card {
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
  padding: 24px; transition: box-shadow .15s, transform .15s;
}
.value-card:hover { box-shadow: 0 12px 24px -16px rgba(7,93,129,0.25); transform: translateY(-2px); }
.value-card-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 14px;
  background: var(--mali); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.value-card-icon .icon { width: 22px; height: 22px; }
.value-card strong { display: block; margin-bottom: 6px; }
.value-card p { color: var(--muted); margin: 0; font-size: 0.9rem; line-height: 1.5; }

/* Two-column layout: form on the left, "Other Ways to Reach Us" on the
   right - side by side instead of stacked, so the page doesn't waste the
   full-width space below a single-column form on wider screens. */
.contact-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.contact-info-col h2 { margin-bottom: 16px; }
.contact-methods-stack { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.contact-method-card { display: flex; align-items: center; gap: 14px; text-align: left; }
.contact-method-card .value-card-icon { margin: 0; flex-shrink: 0; }
.contact-method-card strong { display: block; margin-bottom: 2px; }
.contact-method-card a { color: var(--mali); font-weight: 600; word-break: break-word; }
.contact-method-card span { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Compliance & Trust (about.php) - icon-led intro plus a row of trust
   mini-badges (reusing security.php's .trust-item), instead of a single bare paragraph ---------- */
.about-compliance {
  width: 100vw; margin-left: calc(50% - 50vw);
  background: var(--bg-soft); padding: 56px 24px;
}
.about-compliance-intro {
  max-width: 900px; margin: 0 auto 28px; display: flex; align-items: flex-start; gap: 18px;
}
.about-compliance-icon {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px;
  background: var(--mali); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.about-compliance-icon .icon { width: 24px; height: 24px; }
.about-compliance-intro h2 { margin-bottom: 8px; }
.about-compliance-intro p { margin: 0; }
.about-compliance-list { max-width: 900px; margin: 0 auto; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) {
  .about-compliance-intro { flex-direction: column; align-items: center; text-align: center; }
  .about-compliance-list { grid-template-columns: 1fr; }
}

/* ---------- Investors (investors.php) - public pitch deck ---------- */
.investor-stat-row { margin-top: 20px; }
.investor-cta {
  text-align: center; padding: 56px 24px; border-radius: var(--radius);
  background: linear-gradient(135deg, #03141d, var(--mali));
}
.investor-cta-inner { max-width: 520px; margin: 0 auto; }
.investor-cta h2 { color: #fff; }
.investor-cta p { color: rgba(255,255,255,0.75); margin: 10px 0 20px; }

/* ---------- Investor brief additions: fund-use pie chart, milestones,
   book-a-call form (investors.php) ---------- */
.investor-funds-row { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.investor-pie-wrap { flex-shrink: 0; }
.investor-pie { width: 220px; height: 220px; border-radius: 50%; box-shadow: 0 16px 40px -16px rgba(7,93,129,0.35); }
.investor-pie-legend { flex: 1 1 280px; min-width: 280px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.investor-pie-legend li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text); }
.investor-pie-legend li strong { color: var(--mali); margin-left: auto; }
.investor-pie-amount { color: var(--muted); font-size: 0.82rem; min-width: 80px; text-align: right; }
.investor-pie-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }
@media (max-width: 700px) {
  .investor-funds-row { justify-content: center; text-align: center; }
  .investor-pie-legend { min-width: 0; }
}

.investor-milestone-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 700px) { .investor-milestone-cols { grid-template-columns: 1fr; } }
.investor-milestone-heading { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin-bottom: 14px; }
.investor-milestone-heading--done { color: #1c9a5b; }
.investor-milestone-heading--next { color: var(--swap); }
.investor-milestone-heading .icon { width: 18px; height: 18px; }
.investor-milestone-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.investor-milestone-list li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.investor-milestone-list li span { color: var(--muted); font-size: 0.78rem; white-space: nowrap; }

.investor-call-form { text-align: left; margin-top: 18px; }
.investor-cta-actions { display: flex; align-items: flex-start; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.investor-cta-actions > form { flex: 1 1 280px; max-width: 360px; }
@media (max-width: 700px) { .investor-cta-actions { flex-direction: column; align-items: center; } }

/* ---------- Site-wide mobile centering - plain section headers and their
   muted intro/description copy default to left alignment from the cascade;
   on small screens that reads off-balance once content stacks. ---------- */
@media (max-width: 700px) {
  section > h2, section > h3 { text-align: center; }
  section p[style*="color:var(--muted)"] { text-align: center; margin-left: auto; margin-right: auto; }
}
