/* ============================================
   Africa ICON — Design tokens
   Brand palette: maroon, gold, white, black only.
   Tints below are the brand colors at reduced
   opacity — not new colors.
   ============================================ */
:root {
  --maroon: #700c2a;
  --maroon-dark: #4c0819;
  --gold: #eeba2b;
  --white: #ffffff;
  --black: #000000;

  --maroon-05: rgba(112, 12, 42, 0.05);
  --maroon-10: rgba(112, 12, 42, 0.1);
  --maroon-70: rgba(112, 12, 42, 0.7);
  --gold-15: rgba(238, 186, 43, 0.15);
  --black-60: rgba(0, 0, 0, 0.6);

  --font-display: "Playfair Display", "Georgia", "Iowan Old Style", serif;
  --font-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container-w: 1140px;
  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
  letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0 0 0.5em; line-height: 1.15; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 720px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--black);
  padding: 12px 20px;
  z-index: 1000;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Every section needs offset room under the sticky header for anchor jumps */
section[id] { scroll-margin-top: 84px; }

/* ============ Scroll-in reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Cards already have a hover lift transform, so fade only (no translateY) to avoid conflicts */
.reveal-fade {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.reveal-fade.is-visible { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-fade { transition: none; opacity: 1; transform: none; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--maroon); color: var(--white); }
.btn-primary:hover { background: var(--maroon-dark); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { box-shadow: var(--shadow-soft); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-small { padding: 10px 20px; font-size: 0.9rem; }
.btn-full { width: 100%; text-align: center; }

.pill {
  display: inline-block;
  background: var(--gold-15);
  border: 1px solid var(--gold);
  color: var(--maroon);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 999px;
  margin: 18px 0;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--maroon-10);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--maroon);
}
.brand-logo { width: 44px; height: 44px; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}
.brand-name strong { color: var(--gold); -webkit-text-stroke: 0.3px var(--maroon); }
.brand-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 0.68rem;
  color: var(--maroon);
  opacity: 0.65;
  letter-spacing: 0.2px;
}

.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--black);
  position: relative;
  padding: 4px 2px;
}
.main-nav a:hover { color: var(--maroon); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.15s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--maroon); }
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--maroon);
  border-radius: 2px;
}

/* ============ Page hero (About / Programming / FAQ banners) ============ */
.page-hero {
  background: linear-gradient(160deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 8px;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ============ Hero ============ */
.hero {
  background: linear-gradient(160deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 64px 0 72px;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }

/* Staggered entrance animation — plays on load since the hero is visible immediately (no scroll needed) */
@keyframes hero-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero-inner > * {
  animation: hero-fade-in 1.4s ease both;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.1s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.25s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.4s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.55s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.7s; }
.hero-inner > *:nth-child(6) { animation-delay: 0.85s; }
.hero-inner > *:nth-child(7) { animation-delay: 1s; }
.hero-inner > *:nth-child(8) { animation-delay: 1.15s; }
.hero-inner > *:nth-child(9) { animation-delay: 1.3s; }

@media (prefers-reduced-motion: reduce) {
  .hero-inner > * { animation: none; }
}
.eyebrow {
  max-width: 560px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.eyebrow-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.eyebrow-orgs {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-logo-wrap {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.32) 68%, rgba(0, 0, 0, 0.18) 100%);
  border: 1.5px solid rgba(238, 186, 43, 0.45);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.hero-logo { width: 68%; height: 68%; margin-bottom: 0; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.hero h1 .accent { color: var(--gold); }
.hero-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--gold);
  margin-bottom: 18px;
}
.hero-tagline {
  max-width: 620px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}
.hero .pill { background: rgba(238, 186, 43, 0.18); color: var(--gold); border-color: var(--gold); }
.hero-date {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.countdown {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.countdown-unit {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(238, 186, 43, 0.35);
  border-radius: var(--radius);
  min-width: 84px;
  padding: 14px 10px;
}
.countdown-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.countdown-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ============ Sections ============ */
.section { padding: 88px 0; }
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  text-align: center;
  color: var(--maroon);
}
.section-lead {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 1.1rem;
  color: #333;
}
.section-dark {
  background: var(--black);
  color: var(--white);
}
.section-dark .section-title { color: var(--gold); }
.section-dark .section-lead { color: rgba(255, 255, 255, 0.8); }
.section-footnote {
  text-align: center;
  color: var(--gold);
  font-weight: 700;
  margin-top: 8px;
}

/* ============ About cards ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--maroon-10);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.card-icon { font-size: 2rem; margin-bottom: 12px; }
.card h3 { color: var(--maroon); font-size: 1.2rem; }
.card p { color: #444; margin: 0; }

.pitch-banner {
  margin-top: 40px;
  background: linear-gradient(160deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  border-radius: var(--radius);
  padding: 40px 44px;
  text-align: center;
}
.pitch-banner h3 {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.pitch-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
}

/* ============ Traction / stat rings ============ */
.stats-grid {
  display: flex;
  gap: 56px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.stat-ring-card {
  position: relative;
  width: 160px;
  height: 160px;
}
.stat-ring { transform: rotate(-90deg); }
.ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 10;
}
.ring-fill {
  fill: none;
  stroke: var(--gold);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-ring-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 110px;
  margin-top: 4px;
}

/* ============ FAQ ============ */
.faq-item {
  border-bottom: 1px solid var(--maroon-10);
  padding: 18px 0;
}
.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--maroon);
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; color: #444; }

/* ============ Waitlist ============ */
.section-waitlist { background: var(--maroon-05); }
.waitlist-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}
.form-row { margin-bottom: 20px; text-align: left; }
.form-row label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.form-row input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--maroon-10);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.15s ease;
}
.form-row input:focus {
  outline: none;
  border-color: var(--maroon);
}
.form-row input.field-error { border-color: #b3261e; }
.form-status {
  min-height: 1.4em;
  text-align: center;
  font-weight: 700;
  margin: 14px 0 0;
}
.form-status.success { color: #1b7a3d; }
.form-status.error { color: #b3261e; }

/* ============ Footer ============ */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 32px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.footer-tagline {
  font-family: var(--font-display);
  color: var(--gold);
  margin: 0;
  font-size: 1.05rem;
}
.footer-orgs {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 24px;
}
.footer-org-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  max-width: 220px;
}
.footer-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 8px;
  padding: 4px;
}

.footer-disclaimer {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 780px;
  margin-bottom: 16px;
}
.footer-trademark {
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.45);
  max-width: 780px;
  margin-bottom: 24px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--maroon-10);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.is-open { max-height: 260px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .main-nav li { border-bottom: 1px solid var(--maroon-05); }
  .main-nav a { display: block; padding: 14px 0; }
  .header-actions .btn-small { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 560px) {
  .countdown { gap: 8px; }
  .countdown-unit { min-width: 68px; padding: 10px 6px; }
  .stats-grid { gap: 32px; }
  .waitlist-form { padding: 24px; }
}
