:root {
  --forest: #0b3d36;
  --forest-deep: #072924;
  --palm: #1f8a62;
  --palm-bright: #2aad78;
  --gold: #d4a017;
  --gold-soft: #f0d78a;
  --sand: #f3ebe0;
  --sand-deep: #e5d8c4;
  --ink: #14241f;
  --muted: #5a6b64;
  --line: rgba(11, 61, 54, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --web: https://web.afrocurve.com;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Figtree", sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 10% -10%, rgba(45, 173, 120, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(212, 160, 23, 0.14), transparent 50%),
    linear-gradient(165deg, #f7f1e7 0%, #ebe3d4 45%, #e2f0e8 100%);
}
.atmosphere::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%230b3d36' stroke-opacity='0.06'%3E%3Ccircle cx='110' cy='110' r='40'/%3E%3Ccircle cx='110' cy='110' r='70'/%3E%3Ccircle cx='110' cy='110' r='100'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 220px 220px;
  animation: drift 48s linear infinite;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-110px, -110px, 0); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes soft-pulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.06); opacity: 0.85; }
}

/* ─── Nav ─── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: none;
  margin: 0;
  padding: 18px max(24px, calc((100vw - 1120px) / 2 + 24px));
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease), backdrop-filter 0.22s var(--ease);
  animation: rise 0.7s var(--ease) both;
}
.site-nav.is-stuck {
  background: rgba(7, 41, 36, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.site-nav.is-light {
  position: sticky;
  background: rgba(243, 235, 224, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-nav.is-light.is-stuck {
  background: rgba(243, 235, 224, 0.96);
  box-shadow: 0 8px 24px rgba(7, 41, 36, 0.06);
}
.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-lockup img {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
}
.site-nav.is-light .brand-lockup img {
  filter: none;
  height: 28px;
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a,
.nav-drop > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.18s var(--ease), color 0.18s;
}
.site-nav.is-light .nav-links a,
.site-nav.is-light .nav-drop > button {
  color: var(--forest);
}
.nav-links a:hover,
.nav-drop > button:hover,
.nav-drop.open > button {
  background: rgba(255, 255, 255, 0.12);
}
.site-nav.is-light .nav-links a:hover,
.site-nav.is-light .nav-drop > button:hover,
.site-nav.is-light .nav-drop.open > button {
  background: rgba(11, 61, 54, 0.06);
}
.nav-drop { position: relative; }
.nav-drop > button .chev {
  width: 10px;
  height: 10px;
  opacity: 0.7;
  transition: transform 0.18s var(--ease);
}
.nav-drop.open > button .chev { transform: rotate(180deg); }
.nav-submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.98);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(7, 41, 36, 0.14);
  display: none;
  z-index: 30;
}
.nav-drop.open .nav-submenu { display: grid; }
.nav-submenu a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--forest) !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.nav-submenu a:hover {
  background: rgba(11, 61, 54, 0.06);
}
.nav-submenu .sub-label {
  padding: 8px 12px 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  transition: transform 0.18s var(--ease), background 0.18s, filter 0.18s;
}
.nav-btn:hover { transform: translateY(-1px); }
.nav-btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}
.site-nav.is-light .nav-btn-ghost {
  color: var(--forest);
  border-color: var(--line);
  background: rgba(11, 61, 54, 0.04);
}
.nav-btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #e0b33a 100%);
  color: #3a2c00;
  box-shadow: 0 8px 18px rgba(212, 160, 23, 0.22);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.site-nav.is-light .nav-toggle {
  color: var(--forest);
  border-color: var(--line);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav-inner { position: relative; }
  .nav-cluster {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 252, 247, 0.98);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(7, 41, 36, 0.16);
    max-height: min(70vh, calc(100dvh - 72px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 60;
  }
  .site-nav.menu-open .nav-cluster { display: flex; }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links a,
  .nav-drop > button {
    color: var(--forest) !important;
    justify-content: space-between;
    width: 100%;
  }
  .nav-submenu {
    position: static;
    box-shadow: none;
    border: 0;
    background: rgba(11, 61, 54, 0.04);
    margin-top: 4px;
  }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-btn { width: 100%; }
  /* Drawer is cream; ghost Log in must not keep desktop white-on-dark styles */
  .nav-btn-ghost {
    color: var(--forest);
    border-color: var(--line);
    background: rgba(11, 61, 54, 0.04);
  }
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding-top: 68px; /* clear fixed nav so content centers in the visible area */
  overflow: hidden;
  color: #f7f3ea;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(212, 160, 23, 0.28), transparent 42%),
    radial-gradient(90% 70% at 0% 100%, rgba(42, 173, 120, 0.22), transparent 45%),
    linear-gradient(155deg, var(--forest-deep) 0%, var(--forest) 48%, #0f5c4c 100%);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.hero::before {
  width: min(72vw, 560px);
  height: min(72vw, 560px);
  right: -12%;
  top: 8%;
  animation: soft-pulse 8s var(--ease) infinite;
}
.hero::after {
  width: min(48vw, 360px);
  height: min(48vw, 360px);
  right: 8%;
  top: 22%;
  border-color: rgba(240, 215, 138, 0.22);
  animation: soft-pulse 8s var(--ease) 1.4s infinite;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px;
  animation: rise 0.85s var(--ease) 0.08s both;
}
.hero-brand {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 18px;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  max-width: 10ch;
}
.hero-lead {
  margin: 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.45;
  color: rgba(247, 243, 234, 0.82);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.18s var(--ease), filter 0.18s, background 0.18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #e0b33a 100%);
  color: #3a2c00;
  box-shadow: 0 12px 28px rgba(212, 160, 23, 0.28);
}
.btn-gold:hover { filter: brightness(1.05); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-forest {
  background: var(--forest);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--line);
}

/* ─── Sections ─── */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px 24px;
  animation: rise 0.8s var(--ease) both;
}
.section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--forest);
  max-width: 16ch;
  line-height: 1.1;
}
.section .support {
  margin: 0 0 40px;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.flow {
  display: grid;
  gap: 28px;
  counter-reset: step;
}
@media (min-width: 800px) {
  .flow { grid-template-columns: repeat(3, 1fr); gap: 36px; }
}
.flow-item { position: relative; padding-top: 8px; }
.flow-item::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--palm);
  margin-bottom: 10px;
}
.flow-item h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--forest);
}
.flow-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(212, 160, 23, 0.12), transparent 50%),
    linear-gradient(180deg, #f7f1e6 0%, var(--sand) 100%);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.band .section { padding-top: 72px; padding-bottom: 72px; }
.band h2 { color: var(--forest); max-width: 18ch; }
.band .support { color: var(--muted); margin-bottom: 28px; }
.band .btn-ghost {
  color: var(--forest);
  border-color: rgba(11, 61, 54, 0.22);
}
.band .btn-ghost:hover { background: rgba(11, 61, 54, 0.06); }

/* Inner pages */
.page-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 24px;
  animation: rise 0.7s var(--ease) both;
}
.page-hero .eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--palm);
}
.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--forest);
  line-height: 1.05;
}
.page-hero p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.page-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 24px 80px;
}
.page-body h2 {
  margin: 36px 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--forest);
  letter-spacing: -0.02em;
}
.page-body p,
.page-body li {
  color: var(--muted);
  font-size: 1rem;
}
.page-body ul {
  padding-left: 1.2rem;
}
.download-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  max-width: 520px;
}
@media (min-width: 640px) {
  .download-grid { grid-template-columns: 1fr 1fr; }
}
.download-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.85);
  text-decoration: none;
  transition: transform 0.18s var(--ease), border-color 0.18s;
}
.download-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 61, 54, 0.28);
}
.download-tile strong {
  color: var(--forest);
  font-size: 1.05rem;
}
.download-tile span {
  color: var(--muted);
  font-size: 0.9rem;
}
.download-tile.disabled {
  opacity: 0.7;
  pointer-events: none;
}

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 24px 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}
.site-footer a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}
.site-footer a:hover { color: var(--palm); }

/* Marketing footer — light */
.site-footer-pro {
  margin-top: 0;
  background: #f7f1e6;
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.footer-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 28px 48px;
  display: grid;
  gap: 48px;
}
@media (min-width: 900px) {
  .footer-main {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 72px;
    align-items: start;
  }
}
.footer-logo {
  display: inline-flex;
  text-decoration: none;
  margin-bottom: 28px;
}
.footer-logo img {
  height: 36px;
  width: auto;
  filter: none;
}
.footer-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, #e0b33a 100%);
  color: #3a2c00;
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.18s var(--ease), filter 0.18s;
}
.footer-download svg {
  width: 16px;
  height: 16px;
}
.footer-download:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 28px;
}
@media (min-width: 800px) {
  .footer-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 40px;
  }
}
.footer-col h3 {
  margin: 0 0 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--muted);
}
.footer-col a {
  display: block;
  color: var(--forest);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--palm); }

.footer-disclosures {
  background: transparent;
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.footer-disclosures-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 28px 12px;
}
.footer-disclosures p {
  margin: 0 0 16px;
  max-width: 72rem;
  font-size: 0.78rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--muted);
}
.footer-disclosures a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-disclosure-meta {
  margin-top: 28px !important;
  margin-bottom: 0 !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
}
.footer-mega-logo {
  margin-top: 48px;
  line-height: 0;
  overflow: hidden;
}
.footer-mega-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: none;
}

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 28px 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: space-between;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  font-size: 0.88rem;
  color: var(--muted);
}
.footer-legal a {
  color: var(--forest);
  text-decoration: none;
  font-weight: 600;
}
.footer-legal a:hover { color: var(--palm); }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: auto;
}
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(11, 61, 54, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
}
.social-btn svg {
  width: 15px;
  height: 15px;
}
.social-btn:hover {
  background: rgba(11, 61, 54, 0.06);
  border-color: rgba(11, 61, 54, 0.4);
}
@media (max-width: 640px) {
  .footer-social { margin-left: 0; }
}

@media (max-width: 640px) {
  .brand-lockup img { height: 22px; }
  .hero-inner { padding: 32px 20px; }
  .section { padding: 64px 20px; }
  .footer-disclosures-inner { padding: 32px 20px 20px; }
  .footer-mega-logo { margin-top: 36px; }
}
