:root {
  /* ── Brand greens (sampled from the KonnectU logo wordmark) ── */
  --green-500: #1fa855; /* light accent / hover states  */
  --green-600: #0e7c3f; /* primary interactive green    */
  --green-700: #006633; /* dark green / hero backgrounds — exact logo green */

  /* ── Gold & red (sampled from the logo's network-node dots) ── */
  --gold: #f0c419;
  --gold-lt: #f7d65c;
  --red: #e2231b; /* the "U" in the logo + one node dot */
  --blue: #3d4fc4; /* logo node dot */

  /* ── Neutrals ── */
  --offwhite: #f7f4ef;
  --white: #ffffff;
  --charcoal: #1a1a1a;
  --mid: #4a4a4a;
  --border: #d9d4cc;

  /* ── Typography ── */
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* ── Type scale (7 steps, rem-based) ──
         xs   0.75rem  12px
         sm   0.875rem 14px
         base 1rem     16px   ← body default
         lg   1.125rem 18px
         xl   1.25rem  20px
         2xl  1.75rem  28px
         3xl  2.25rem  36px
         4xl  clamp(2.4rem, 4.5vw, 3.8rem) — hero only
    */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-4xl: clamp(2.1rem, min(5vw, 7svh), 4.1rem);

  /* ── Font weights ── 400 normal, 600 semibold, 700 bold, 900 black ── */
  --fw-normal: 400;
  --fw-semi: 600;
  --fw-bold: 700;
  --fw-black: 900;

  /* ── Letter-spacing ── */
  --ls-tight: -0.02em;
  --ls-normal: 0em;
  --ls-wide: 0.04em;
  --ls-wider: 0.1em;
  --ls-widest: 0.18em;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  background: var(--offwhite);
  color: var(--charcoal);
  line-height: 1.65;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ── Scroll reveal — small fade/slide-in for section content ──
   Scoped under .js-reveal (added by script/index.js only once the
   IntersectionObserver is armed) so content stays visible by default
   if JS fails or is disabled — never permanently hidden. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.js-reveal .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
     NAV
     ========================================================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.nav-logo-mark {
  height: 34px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.nav-logo:hover .nav-logo-mark {
  transform: scale(1.08) rotate(-4deg);
}
.nav-logo-text {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: var(--ls-tight);
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}
.nav-links li a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  padding: 0 14px;
  transition: color 0.2s;
}
.nav-links li a:hover {
  color: var(--gold);
}
.nav-links li a.active {
  color: var(--gold);
  position: relative;
}
.nav-links li a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -8px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.nav-cta {
  background: var(--gold);
  color: var(--charcoal) !important;
  border-radius: 999px;
  padding: 8px 20px !important;
  font-weight: var(--fw-bold) !important;
  transition: background 0.2s !important;
}
.nav-cta:hover {
  background: var(--gold-lt) !important;
  color: var(--charcoal) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ==========================================================================
     PAGE SYSTEM
     ========================================================================== */
.page {
  display: none;
  padding-top: 68px;
}
.page.active {
  display: block;
}

/* ==========================================================================
     HERO — HOME
     ========================================================================== */
.hero-home {
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 68px);
  padding: clamp(14px, 2.6svh, 48px) 5% clamp(20px, 4svh, 60px);
  text-align: center;
}
.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(0, 102, 51, 0.08) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 88% 78%,
      rgba(61, 79, 196, 0.09) 0%,
      transparent 45%
    );
  pointer-events: none;
}
/* Faint icon watermark — the logo's network-node mark, echoed large & quiet */
.hero-home::after {
  content: "";
  position: absolute;
  top: 42%;
  left: 50%;
  width: 640px;
  max-width: 90vw;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: url("/public/images/icon-mark.png") no-repeat center / contain;
  opacity: 0.045;
  pointer-events: none;
}

/* Node row — network-node motif, colored after the logo's dots, laid out
   as a compact horizontal strip so the hero doesn't leave a dead gap
   beside a floating side column */
.hero-node-row {
  position: relative;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: clamp(14px, 3svh, 30px);
}
.hero-node {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--offwhite);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 999px;
}
.hero-node-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-node-dot.dot-green {
  background: var(--green-500);
}
.hero-node-dot.dot-gold {
  background: var(--gold);
}
.hero-node-dot.dot-blue {
  background: var(--blue);
}

/* Hero copy */
.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}
.hero-platform-label {
  display: inline-block;
  background: rgba(0, 102, 51, 0.08);
  color: var(--green-700);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(0, 102, 51, 0.25);
  margin-bottom: 16px;
}
.hero-eyebrow {
  display: block;
  color: var(--green-700);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--fw-black);
  color: var(--charcoal);
  line-height: 1.13;
  margin-bottom: 18px;
  letter-spacing: var(--ls-tight);
}
.hero-title em {
  color: var(--green-700);
  font-style: normal;
}
.hero-sub {
  color: var(--mid);
  font-size: var(--text-lg);
  line-height: 1.65;
  margin: 0 auto 28px;
  max-width: 560px;
}

/* Home hero must fit within one screen on open — this stack's vertical
   rhythm scales with viewport height so it fills the space without
   ever overflowing it, even on short screens. */
.hero-home .hero-platform-label {
  font-size: clamp(0.7rem, 1.5svh, 0.8rem);
  padding: clamp(6px, 1svh, 8px) 18px;
  margin-bottom: clamp(12px, 2.4svh, 26px);
}
.hero-home .hero-eyebrow {
  font-size: clamp(0.78rem, 1.5svh, 0.9rem);
  margin-bottom: clamp(8px, 1.4svh, 14px);
}
.hero-home .hero-title {
  margin-bottom: clamp(12px, 2.6svh, 26px);
}
.hero-home .hero-sub {
  font-size: clamp(1rem, 2.2svh, 1.3rem);
  line-height: 1.55;
  margin-bottom: clamp(18px, 3.4svh, 38px);
  max-width: 620px;
}
.hero-home .btn-group .btn-primary,
.hero-home .btn-group .btn-outline {
  font-size: clamp(0.8rem, 1.6svh, 0.95rem);
  padding: clamp(14px, 2.2svh, 18px) clamp(26px, 3vw, 38px);
}
.hero-home .hero-node {
  font-size: clamp(0.7rem, 1.3svh, 0.8rem);
  padding: clamp(9px, 1.6svh, 12px) 20px;
}

/* Buttons */
.btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-home .btn-group,
.hero-home .app-badges {
  justify-content: center;
}
.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
  padding: 15px 34px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
  letter-spacing: var(--ls-normal);
  box-shadow: 0 8px 22px rgba(240, 196, 25, 0.28);
}
.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  font-weight: var(--fw-semi);
  font-size: var(--text-sm);
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary {
  background: transparent;
  color: var(--green-700);
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
  padding: 12px 28px;
  border-radius: 999px;
  border: 2px solid var(--green-700);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
  margin-left: 12px;
}
.btn-secondary:hover {
  background: var(--green-700);
  color: var(--white);
}

/* App badges — collapsed by default, revealed via the "Download the App" toggle */
.app-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  overflow: hidden;
  pointer-events: none;
  transition:
    max-height 0.35s ease,
    opacity 0.3s ease,
    margin-top 0.35s ease;
}
.app-badges.expanded {
  max-height: 120px;
  opacity: 1;
  margin-top: clamp(12px, 2.4svh, 22px);
  pointer-events: auto;
}
.btn-chevron {
  margin-left: 8px;
  font-size: 0.7em;
  transition: transform 0.25s ease;
}
.btn-primary[aria-expanded="true"] .btn-chevron {
  transform: rotate(180deg);
}
.app-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 8px 18px;
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.app-badge:hover {
  background: rgba(255, 255, 255, 0.18);
}
/* Google Play badge is a pre-styled image — no extra chrome needed */
.app-badge-img {
  background: none;
  border: none;
  padding: 0;
}
.app-badge-img img {
  display: block;
  height: 50px;
  width: auto;
}
.app-badge-img:hover {
  background: none;
  transform: translateY(-2px);
}
.app-badge-soon i.fa-apple {
  font-size: 1.7rem;
}
.badge-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.badge-main {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
}
/* Light-background contexts (white home hero, tinted section-green) — the
   "coming soon" badge needs a dark-toned variant instead of the default
   white-on-transparent one built for dark backgrounds. */
.hero-home .app-badge-soon,
.section-green .app-badge-soon {
  background: var(--offwhite);
  border-color: var(--border);
  color: var(--charcoal);
}
.hero-home .app-badge-soon:hover,
.section-green .app-badge-soon:hover {
  background: #efece2;
}
.hero-home .badge-sub,
.section-green .badge-sub {
  color: var(--mid) !important;
}
.badge-sub {
  font-size: var(--text-xs);
  font-weight: var(--fw-normal);
  color: rgba(255, 255, 255, 0.65);
  display: block;
}

/* ==========================================================================
     SECTIONS — common
     ========================================================================== */
.section {
  padding: 112px 5%;
}
/* A soft green tint instead of a solid saturated fill — used sparingly
   throughout the site for visual rhythm without piling on more green */
.section-green {
  background: linear-gradient(
    180deg,
    rgba(0, 102, 51, 0.05),
    rgba(0, 102, 51, 0.09)
  );
  color: var(--charcoal);
}
.section-white {
  background: var(--white);
}
.section-off {
  background: var(--offwhite);
}

.section-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: #8a6a10;
  margin-bottom: 14px;
}
.section-green .section-label {
  color: var(--green-700);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-sub {
  font-size: var(--text-base);
  color: var(--mid);
  max-width: 620px;
  line-height: 1.75;
}

/* Brand signature strip — echoes the four node colors from the logo */
.divider {
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--green-600),
    var(--gold),
    var(--blue),
    var(--red)
  );
  margin: 24px 0 42px;
}

/* Light-background contexts need a dark-toned outline button */
.hero-home .btn-outline,
.section-green .btn-outline {
  color: var(--charcoal);
  border-color: var(--border);
}
.hero-home .btn-outline:hover,
.section-green .btn-outline:hover {
  border-color: var(--charcoal);
  background: rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
     CARD GRIDS
     ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 48px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 22px;
  margin-top: 48px;
}

.card {
  --card-accent: var(--green-600);
  --card-accent-tint: rgba(0, 102, 51, 0.12);
  background: var(--white);
  border-radius: 14px;
  padding: 36px 30px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent);
  transform: scaleX(0.22);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.13);
  transform: translateY(-5px);
  border-color: transparent;
}
.card:hover::before {
  transform: scaleX(1);
}

/* Rotate the accent (top bar + icon chip) through the logo's four node colors */
.card:nth-of-type(4n + 1) {
  --card-accent: var(--green-600);
  --card-accent-tint: rgba(0, 102, 51, 0.12);
}
.card:nth-of-type(4n + 2) {
  --card-accent: var(--gold);
  --card-accent-tint: rgba(240, 196, 25, 0.18);
}
.card:nth-of-type(4n + 3) {
  --card-accent: var(--blue);
  --card-accent-tint: rgba(61, 79, 196, 0.12);
}
.card:nth-of-type(4n) {
  --card-accent: var(--red);
  --card-accent-tint: rgba(226, 35, 27, 0.1);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--card-accent-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-semi);
  margin-bottom: 10px;
}

.card-text {
  font-size: var(--text-sm);
  color: var(--mid);
  line-height: 1.7;
}

.card-sub {
  font-size: var(--text-xs);
  color: var(--red);
  font-weight: var(--fw-semi);
  font-style: italic;
  margin-bottom: 8px;
}

/* ==========================================================================
     HOW IT WORKS — STEPS
     ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
  margin-top: 56px;
}
.step {
  padding: 36px 30px;
  border-top: 3px solid var(--border);
}
.step-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--fw-black);
  color: rgba(232, 160, 32, 0.25);
  line-height: 1;
  margin-bottom: 16px;
}
.step-title {
  font-weight: var(--fw-bold);
  font-size: var(--text-base);
  margin-bottom: 8px;
}
.step-text {
  font-size: var(--text-sm);
  color: var(--mid);
  line-height: 1.65;
}

/* ==========================================================================
     TAG CLOUD
     ========================================================================== */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
.tag {
  background: rgba(232, 160, 32, 0.12);
  color: var(--green-700);
  border: 1px solid rgba(232, 160, 32, 0.35);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  padding: 7px 16px;
  border-radius: 100px;
  letter-spacing: var(--ls-normal);
}
.tag-show-all {
  background: var(--green-700);
  color: var(--white);
  border: none;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  padding: 7px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tag-show-all:hover {
  background: var(--green-600);
}
.tag-hidden {
  display: none;
}
.tag-cloud.expanded .tag-hidden {
  display: inline-flex;
}
.tag-cloud.expanded .tag-show-all .show-text {
  display: none;
}
.tag-cloud.expanded .tag-show-all .hide-text {
  display: inline;
}
.tag-show-all .hide-text {
  display: none;
}

/* ==========================================================================
     HERO — INNER PAGES
     ========================================================================== */
.hero-inner {
  background: var(--offwhite);
  padding: 112px 5% 80px;
  position: relative;
  overflow: hidden;
}
/* Pages with content that intentionally extends past the banner (e.g. the
   platform phone mockup) opt out of clipping via this modifier. */
.hero-inner.hero-inner-loose {
  overflow: visible;
}
.hero-inner::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 2%;
  width: 340px;
  max-width: 40vw;
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: url("/public/images/icon-mark.png") no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}
.hero-inner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-700) 0%, var(--gold) 50%, var(--red) 100%);
}
.hero-inner .hero-eyebrow {
  color: var(--green-700);
  display: block;
  margin-bottom: 12px;
}
.hero-inner .hero-title {
  color: var(--charcoal);
  font-size: var(--text-3xl);
  margin-bottom: 18px;
}
.hero-inner .hero-sub {
  color: var(--mid);
  margin-bottom: 0;
}

/* ==========================================================================
     TRUST FEATURES
     ========================================================================== */
.trust-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 48px;
}
.trust-group {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.trust-group-header {
  background: var(--green-700);
  color: var(--white);
  padding: 14px 20px;
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
  letter-spacing: var(--ls-wide);
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-group-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
  line-height: 1.4;
}
.trust-check {
  color: #8a6a10;
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}

/* ==========================================================================
     DIASPORA SECTION
     ========================================================================== */
.diaspora-section {
  background: var(--offwhite);
  padding: 96px 5%;
  position: relative;
  overflow: hidden;
}
.diaspora-section::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 160%;
  background: radial-gradient(
    ellipse at center,
    rgba(61, 79, 196, 0.08) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.diaspora-inner {
  position: relative;
  z-index: 2;
}
.diaspora-headline {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--fw-black);
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 14px;
}
.diaspora-headline em {
  color: var(--green-700);
  font-style: normal;
}
.diaspora-sub {
  font-size: var(--text-base);
  color: var(--mid);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 48px;
}
.diaspora-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}
.diaspora-pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 20px;
  text-align: center;
}
.diaspora-pillar-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.diaspora-pillar-title {
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
  color: var(--charcoal);
  margin-bottom: 6px;
}
.diaspora-pillar-text {
  font-size: var(--text-xs);
  color: var(--mid);
  line-height: 1.55;
}
.diaspora-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.diaspora-city {
  background: rgba(0, 102, 51, 0.06);
  border: 1px solid rgba(0, 102, 51, 0.25);
  color: var(--green-700);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  padding: 6px 16px;
  border-radius: 100px;
}

/* Diaspora banner (about / solutions) */
.diaspora-banner {
  background: linear-gradient(135deg, var(--red) 0%, #a8140f 100%);
  border-radius: 14px;
  padding: 56px 48px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 72px;
}
.diaspora-icon {
  font-size: 3.5rem;
  flex-shrink: 0;
}
.diaspora-body {
  flex: 1;
  min-width: 260px;
}
.diaspora-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  margin-bottom: 12px;
}
.diaspora-text {
  font-size: var(--text-base);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
     ABOUT — TEAM
     ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.team-card {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.22s;
}
.team-card:hover {
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
}
.team-photo {
  width: 100%;
  height: 200px;
  background: linear-gradient(
    135deg,
    var(--green-600) 0%,
    var(--green-700) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.team-body {
  padding: 22px;
}
.team-name {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--text-lg);
  margin-bottom: 4px;
}
.team-role {
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  color: var(--red);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.team-bio {
  font-size: var(--text-sm);
  color: var(--mid);
  line-height: 1.65;
}
.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  color: var(--green-700);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 5px 12px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.team-linkedin:hover {
  background: var(--green-700);
  color: var(--white);
}

/* ==========================================================================
     VALUES
     ========================================================================== */
.values-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 42px;
}
.value-card {
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 22px 18px;
  text-align: center;
  cursor: default;
  position: relative;
  overflow: hidden;
  transition:
    background 0.25s,
    border-color 0.25s;
  background: var(--white);
}
.value-card:hover {
  background: var(--green-700);
  border-color: var(--green-700);
}
.value-card-front {
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
  color: var(--green-700);
  transition: color 0.25s;
}
.value-card:hover .value-card-front {
  color: var(--gold-lt);
}
.value-card-back {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0);
  line-height: 1.5;
  margin-top: 8px;
  transition: color 0.25s;
  font-style: italic;
}
.value-card:hover .value-card-back {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
     STAT ROW
     ========================================================================== */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.stat-item {
  flex: 1;
  min-width: 160px;
  padding: 42px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-item:last-child {
  border-right: none;
}
.stat-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--fw-black);
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  margin-top: 6px;
}

/* ==========================================================================
     WHY EXISTS
     ========================================================================== */
.why-exists {
  background: var(--offwhite);
  padding: 80px 5%;
  color: var(--charcoal);
}
.why-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
  flex-wrap: wrap;
}
.why-block {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 36px 24px;
}
.why-block-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--fw-black);
  color: var(--green-700);
  line-height: 1;
  margin-bottom: 10px;
}
.why-block-label {
  font-size: var(--text-base);
  color: var(--mid);
  line-height: 1.5;
  font-weight: var(--fw-semi);
}
.why-arrow {
  font-size: 2rem;
  color: var(--border);
  flex-shrink: 0;
  align-self: center;
  padding: 0 10px;
}
.why-highlight {
  background: rgba(0, 102, 51, 0.06);
  border: 2px solid rgba(0, 102, 51, 0.3);
  border-radius: 12px;
}
.why-highlight .why-block-num {
  font-size: var(--text-2xl);
}
.why-highlight .why-block-label {
  color: var(--green-700);
  font-weight: var(--fw-bold);
  font-size: var(--text-lg);
}

/* ==========================================================================
     FAQ
     ========================================================================== */
.faq-grid {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-semi);
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q:hover {
  color: var(--green-700);
}
.faq-arrow {
  transition: transform 0.25s;
  font-size: var(--text-xs);
  flex-shrink: 0;
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s;
  padding: 0 24px;
  font-size: var(--text-sm);
  color: var(--mid);
  line-height: 1.75;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.faq-cat-btn {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  cursor: pointer;
  transition: 0.2s;
  font-family: var(--font-body);
}
.faq-cat-btn.active,
.faq-cat-btn:hover {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
}

.faq-pinned-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232, 160, 32, 0.15);
  border: 1px solid rgba(232, 160, 32, 0.4);
  color: var(--green-700);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.faq-pinned {
  margin-bottom: 36px;
}
.faq-pinned .faq-item {
  border-left: 4px solid var(--gold);
}
.faq-section-divider {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--mid);
  margin: 28px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ==========================================================================
     CONTACT
     ========================================================================== */
.contact-channel-card {
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.contact-channel-value {
  margin-top: 14px;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--charcoal);
  word-break: break-word;
}

.contact-social-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.contact-social-row > span {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--mid);
}
.contact-social-row .social-link {
  color: var(--charcoal);
  background: var(--offwhite);
  border-color: var(--border);
}
.contact-social-row .social-link:hover {
  color: var(--white);
}

.contact-form-wrap {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.contact-form-wrap .section-label,
.contact-form-wrap .section-title,
.contact-form-wrap .section-sub,
.contact-form-wrap .divider {
  margin-left: auto;
  margin-right: auto;
}
.contact-form-wrap .section-sub {
  max-width: 560px;
}
.contact-form-wrap .contact-form {
  text-align: left;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  color: var(--mid);
  letter-spacing: var(--ls-wide);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  background: var(--white);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
  color: var(--charcoal);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(0, 102, 51, 0.08);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
     POLICIES
     ========================================================================== */
.policy-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}
.policy-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.policy-link {
  padding: 12px 18px;
  border-radius: 6px;
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
  cursor: pointer;
  transition: 0.2s;
  background: var(--white);
  border: 1px solid var(--border);
}
.policy-link.active {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
}
.policy-link:hover:not(.active) {
  border-color: var(--green-700);
  color: var(--green-700);
}
.policy-content {
  line-height: 1.85;
  font-size: var(--text-base);
  color: var(--mid);
}
.policy-content h3 {
  font-family: var(--font-display);
  color: var(--charcoal);
  font-size: var(--text-xl);
  margin: 32px 0 12px;
}
.policy-content p {
  margin-bottom: 14px;
}

/* ==========================================================================
     PLATFORM FEATURES
     ========================================================================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}
.feature-row:last-child {
  margin-bottom: 0;
}
.feature-visual {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 14px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.feature-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  margin-bottom: 16px;
  line-height: 1.2;
}
.feature-text {
  font-size: var(--text-base);
  color: var(--mid);
  line-height: 1.8;
}
.feature-list {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
}
.feature-list li::before {
  content: "✓";
  color: var(--green-700);
  font-weight: var(--fw-bold);
}

/* Platform hero mockup — the source image is a near-square canvas with the
   phone centered inside generous padding, so the container matches that
   aspect ratio and the image keeps its natural proportions (no cropping). */
.platform-hero-mockup {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: 30%;
  max-width: 340px;
}
.platform-hero-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

/* App steps */
.app-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 48px;
}
.app-step-card {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 24px 20px;
  position: relative;
  transition:
    box-shadow 0.22s,
    transform 0.22s;
}
.app-step-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.app-step-num {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--green-700);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--fw-black);
  padding: 2px 10px;
  border-radius: 100px;
  letter-spacing: var(--ls-wider);
}
.app-step-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.app-step-title {
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
  color: var(--green-700);
  margin-bottom: 6px;
}
.app-step-text {
  font-size: var(--text-xs);
  color: var(--mid);
  line-height: 1.55;
}

/* Feature groups */
.features-grouped {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.feature-group-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: #8a6a10;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-group-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.feature-group-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

/* ==========================================================================
     SOLUTIONS PAGE
     ========================================================================== */
.cat-group {
  margin-bottom: 42px;
}
.cat-group-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cat-group-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.cat-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 48px;
}
.why-card {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  padding: 28px 24px;
  transition:
    box-shadow 0.22s,
    transform 0.22s;
}
.why-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.why-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.why-title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--text-base);
  color: var(--green-700);
  margin-bottom: 8px;
}
.why-text {
  font-size: var(--text-sm);
  color: var(--mid);
  line-height: 1.65;
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 48px;
}
.who-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 22px;
  transition:
    box-shadow 0.22s,
    transform 0.22s;
}
.who-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}
.who-card.diaspora-highlight {
  border: 2px solid rgba(240, 196, 25, 0.6);
  background: rgba(240, 196, 25, 0.06);
}
.who-card.diaspora-highlight .card-title {
  color: #a6821a;
}
.who-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.suggest-banner {
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: 14px;
  padding: 48px 40px;
  text-align: center;
  margin-top: 72px;
}
.suggest-banner h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--green-700);
  margin-bottom: 14px;
}
.suggest-banner p {
  font-size: var(--text-base);
  color: var(--mid);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 28px;
}

/* ==========================================================================
     TRUST & SAFETY PAGE
     ========================================================================== */
.confidence-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.confidence-pill {
  background: rgba(240, 196, 25, 0.14);
  border: 1px solid rgba(240, 196, 25, 0.4);
  color: #8a6a10;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  padding: 7px 16px;
  border-radius: 100px;
}

.trust-audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.trust-audience-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 32px 28px;
  transition:
    box-shadow 0.22s,
    transform 0.22s;
}
.trust-audience-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
.trust-audience-card.diaspora-card {
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, #fff 0%, #fffbf2 100%);
}
.trust-audience-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.trust-audience-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.trust-audience-card.diaspora-card .trust-audience-label {
  color: #8a6a10;
}
.trust-audience-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--green-700);
  margin-bottom: 12px;
}
.trust-audience-text {
  font-size: var(--text-sm);
  color: var(--mid);
  line-height: 1.75;
}

.trust-groups-rich {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 48px;
}
.trust-group-rich {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.trust-group-header-rich {
  background: rgba(240, 196, 25, 0.12);
  color: #a6821a;
  padding: 14px 22px;
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
  letter-spacing: var(--ls-wide);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(240, 196, 25, 0.25);
}
.trust-group-body-rich {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trust-group-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--mid);
  line-height: 1.45;
}
.trust-group-check {
  color: #8a6a10;
  font-weight: var(--fw-bold);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Verification steps */
.verification-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin-top: 48px;
  position: relative;
}
.verification-steps::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(232, 160, 32, 0.2));
}
.verification-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  position: relative;
  z-index: 2;
}
.v-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--gold);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-black);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--offwhite);
  box-shadow: 0 0 0 3px rgba(232, 160, 32, 0.3);
}
.v-step-title {
  font-weight: var(--fw-bold);
  font-size: var(--text-base);
  color: var(--charcoal);
  margin-bottom: 6px;
}
.v-step-text {
  font-size: var(--text-sm);
  color: var(--mid);
  line-height: 1.65;
}

.trust-numbers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.trust-number-card {
  text-align: center;
  padding: 32px 20px;
  background: rgba(232, 160, 32, 0.08);
  border: 1px solid rgba(232, 160, 32, 0.25);
  border-radius: 12px;
}
.trust-number-val {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--fw-black);
  color: var(--green-700);
  line-height: 1;
  margin-bottom: 8px;
}
.trust-number-label {
  font-size: var(--text-xs);
  color: var(--mid);
  font-weight: var(--fw-semi);
  line-height: 1.4;
}

/* Confidence strip */
.confidence-strip {
  background: var(--offwhite);
  padding: 64px 5%;
  position: relative;
  overflow: hidden;
}
.confidence-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red), var(--gold));
}
.confidence-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 42px;
}
.confidence-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
}
.confidence-item-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.confidence-item-title {
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
  color: var(--charcoal);
  margin-bottom: 4px;
}
.confidence-item-text {
  font-size: var(--text-xs);
  color: var(--mid);
  line-height: 1.55;
}

/* ==========================================================================
     SOCIAL LINKS
     ========================================================================== */
.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
  font-size: 1.2rem;
  text-decoration: none;
}
.social-link:hover {
  transform: translateY(-3px);
}
.instagram:hover {
  background: #e4405f;
}
.facebook:hover {
  background: #1877f2;
}
.linkedin:hover {
  background: #0a66c2;
}
.youtube:hover {
  background: #ff0000;
}
.tiktok:hover {
  background: #000;
}
.whatsapp:hover {
  background: #25d366;
}

/* ==========================================================================
     FOOTER
     ========================================================================== */
footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 5% 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .footer-logo {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo-mark {
  height: 36px;
  width: auto;
}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
}
.footer-logo-text .fl-green {
  color: var(--green-500);
}
.footer-logo-text .fl-red {
  color: var(--red);
}
.footer-desc {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
  margin-bottom: 16px;
}
.footer-col h4 {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
  cursor: pointer;
}
.footer-col ul li a:hover {
  color: var(--white);
}

.footer-app-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.footer-app-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 7px 12px;
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.2s;
}
.footer-app-badge:hover {
  background: rgba(255, 255, 255, 0.16);
}
.footer-app-badge .badge-sub {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
  font-weight: var(--fw-normal);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
     ABOUT PAGE — HERO VISUAL / DIASPORA PILLARS
     ========================================================================== */
.about-hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 36%;
  max-width: 440px;
  opacity: 0.85;
}
.nga-map-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
}
.nga-map-wrap svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.trust-proof-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
  max-width: 600px;
}
.trust-proof-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: 8px;
  border-left: 4px solid var(--gold);
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
  line-height: 1.5;
}
.trust-proof-check {
  color: var(--green-700);
  font-weight: var(--fw-bold);
  font-size: var(--text-lg);
  flex-shrink: 0;
}
.about-diaspora-pillars {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.about-diaspora-pillar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
  color: var(--charcoal);
}
.diaspora-city-bold {
  font-weight: var(--fw-black);
  color: var(--green-700);
}

/* ==========================================================================
     AUDIENCE INTRO (platform page)
     ========================================================================== */
.audience-intro {
  font-size: var(--text-sm);
  font-style: italic;
  color: #8a6a10;
  margin-bottom: 10px;
  font-weight: var(--fw-semi);
}

/* ==========================================================================
     RESPONSIVE
     ========================================================================== */
@media (max-width: 900px) {
  .hero-ribbon,
  .about-hero-visual,
  .platform-hero-mockup {
    display: none;
  }
  .contact-grid,
  .feature-row {
    grid-template-columns: 1fr;
  }
  .feature-row .feature-visual {
    order: -1;
    height: 200px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .policy-grid {
    grid-template-columns: 1fr;
  }
  .policy-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .why-flow {
    flex-direction: column;
  }
  .why-arrow {
    transform: rotate(90deg);
  }
}

/* Nav collapses to the hamburger well before the links would wrap —
   logo + all 7 links + CTA need ~1122px to sit on one line. */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--green-700);
    padding: 16px 5%;
    gap: 0;
    max-height: calc(100svh - 68px);
    overflow-y: auto;
  }
  .nav-links.open li a {
    padding: 12px 0;
    font-size: var(--text-sm);
  }
}

@media (max-width: 680px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .stat-row {
    flex-direction: column;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .diaspora-banner {
    padding: 36px 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .diaspora-pillars {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .nav-logo-mark {
    height: 28px;
  }
  .nav-logo-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 400px) {
  .diaspora-pillars {
    grid-template-columns: 1fr;
  }
}

/* On phones, text wraps to more lines regardless of font-size, so forcing
   the hero into exactly one viewport (a desktop-only ask) just causes
   everything to overflow. Let it breathe and scroll naturally instead —
   normal, expected behavior on mobile. */
@media (max-width: 700px) {
  .hero-home {
    min-height: 0;
    justify-content: flex-start;
    padding: 32px 6% 40px;
  }
  .hero-home .hero-platform-label {
    font-size: 0.7rem;
    padding: 7px 14px;
    margin-bottom: 14px;
  }
  .hero-home .hero-eyebrow {
    font-size: 0.78rem;
    margin-bottom: 8px;
  }
  .hero-title {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
  }
  .hero-home .hero-title {
    margin-bottom: 14px;
  }
  .hero-home .hero-sub {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 22px;
  }
  .hero-home .btn-group .btn-primary,
  .hero-home .btn-group .btn-outline {
    font-size: 0.85rem;
    padding: 13px 26px;
  }
  .app-badges {
    margin-top: 16px;
  }
  .hero-node-row {
    margin-top: 18px;
  }
}
