/* =========================================================
   STEAMEngine — steamengine.africa
   Plain CSS · Mobile-first · Brand tokens per design brief
   ========================================================= */

:root {
  /* Colour palette */
  --primary-dark: #0B0F19;
  --dark-2: #111827;
  --dark-3: #1E2535;
  --amber: #F5A623;
  --amber-dim: #C4841A;
  --teal: #00C9A7;
  --white: #FFFFFF;
  --off-white: #F8F7F4;
  --muted: #9AA0AD;
  --border: #2A2F3D;

  /* Type — Barlow (per brand guidelines) */
  --display: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Barlow', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* Layout */
  --max: 1200px;
  --side: clamp(20px, 5vw, 56px);
  --nav-h: 76px;
  --section-y: clamp(64px, 9vw, 120px);

  /* Motion */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset --------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--primary-dark);
  background: var(--white);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea, button { font-family: inherit; }

/* Accessibility utilities */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--primary-dark);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 4px;
  z-index: 200;
  font-weight: 700;
  font-size: 14px;
}
.skip-link:focus { top: 12px; }
*:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Layout helpers ------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--side);
}

.section { padding: var(--section-y) 0; }

.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

h1, h2, h3, h4, .display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  text-wrap: balance;
}

h1 { font-size: clamp(48px, 8vw, 96px); }
h2 { font-size: clamp(36px, 5.4vw, 64px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); }

p { text-wrap: pretty; }

/* Skip link ---------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber);
  color: var(--primary-dark);
  padding: 12px 16px;
  font-weight: 700;
  z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Focus state -------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 200ms var(--ease), backdrop-filter 200ms var(--ease), border-color 200ms var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 15, 25, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--side);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
/* Brand logo (image-based) */
.brand-logo {
  display: inline-flex;
  align-items: center;
  height: 60px;
  text-decoration: none;
}
.brand-logo img {
  height: 100%;
  width: auto;
  display: block;
}
.brand-logo--footer {
  height: 84px;
}
@media (max-width: 600px) {
  .brand-logo { height: 48px; }
  .brand-logo--footer { height: 68px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--amber);
  color: var(--primary-dark);
}
.btn--primary:hover { background: var(--amber-dim); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
.btn--dark {
  background: var(--primary-dark);
  color: var(--white);
}
.btn--dark:hover { background: var(--dark-3); }
.btn--sm { padding: 10px 16px; font-size: 12px; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.nav .btn--primary { padding: 10px 18px; font-size: 13px; }

.nav__hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: var(--amber);
  color: var(--primary-dark);
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.nav__hamburger:hover { background: var(--amber-dim); }
.nav__hamburger-close { display: none; }
.nav__hamburger[aria-expanded="true"] .nav__hamburger-icon { display: none; }
.nav__hamburger[aria-expanded="true"] .nav__hamburger-close { display: block; }

@media (max-width: 600px) {
  .nav .btn--primary.nav__cta { display: none; }
  .nav__hamburger { display: inline-flex; }
}

/* =========================================================
   MOBILE MENU DRAWER
   ========================================================= */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  right: 0;
  left: 0;
  z-index: 99;
  background: rgba(11, 15, 25, 0.97);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
  padding: 24px var(--side) 32px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 220ms var(--ease), opacity 220ms var(--ease), visibility 0s linear 220ms;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: calc(100vh - var(--nav-h));
  max-height: calc(100svh - var(--nav-h));
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 220ms var(--ease), opacity 220ms var(--ease), visibility 0s linear 0s;
}
.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mobile-menu__link {
  display: block;
  padding: 16px 4px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 160ms var(--ease);
}
.mobile-menu__link:hover,
.mobile-menu__link:focus-visible { color: var(--amber); }
.mobile-menu__cta {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
  padding: 14px 22px !important;
  font-size: 14px !important;
}
.mobile-menu__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms var(--ease), visibility 0s linear 220ms;
}
.mobile-menu__backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 220ms var(--ease), visibility 0s linear 0s;
}
@media (min-width: 601px) {
  .mobile-menu, .mobile-menu__backdrop { display: none !important; }
}
body.menu-open { overflow: hidden; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  /* Use small viewport height (svh) where supported so iOS Safari / Android
     Chrome dynamic toolbars don't inflate the hero. Fall back to a sensible
     min-height for older browsers without forcing 100vh. */
  min-height: 640px;
  min-height: 100svh;
  background: var(--primary-dark);
  color: var(--white);
  overflow: hidden;
  /* Top padding pins content just under the nav; bottom padding is the
     section-bottom rhythm. Avoid flex-centering, which produced a huge
     gap below the nav on tall viewports where hero content was short. */
  padding: calc(var(--nav-h) + clamp(24px, 5vw, 64px)) 0 clamp(56px, 8vw, 96px);
  display: flex;
  align-items: flex-start;
}
@supports (min-height: 100dvh) {
  .hero { min-height: 100dvh; }
}
.hero::before {
  /* dot grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(245,166,35,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.hero__glow--amber {
  width: 700px; height: 700px;
  top: -180px; right: -200px;
  background: radial-gradient(circle, rgba(245,166,35,0.32), transparent 60%);
}
.hero__glow--teal {
  width: 600px; height: 600px;
  bottom: -180px; left: -180px;
  background: radial-gradient(circle, rgba(0,201,167,0.28), transparent 60%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  max-width: 920px;
}

/* Government badge */
.gov-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 14px;
  background: rgba(245,166,35,0.10);
  border: 1px solid rgba(245,166,35,0.35);
  border-left: 3px solid var(--amber);
  border-radius: 6px;
  max-width: 720px;
}
.gov-badge__seal {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 3px;
}
.gov-badge__seal img { width: 100%; height: 100%; object-fit: contain; }
.gov-badge__text {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,0.92);
}
.gov-badge__text strong {
  color: var(--amber);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 11px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
  font-family: var(--mono);
}

.hero h1 {
  font-size: clamp(40px, 9vw, 112px);
  line-height: 0.98;
  letter-spacing: 0.005em;
  /* Allow long words like "generation" to break instead of overflowing
     the viewport on narrow phones. */
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--amber); }
/* Suppress the rigid line break on narrow viewports; let the text wrap
   naturally so "generation" doesn't push the layout wider than the viewport. */
@media (max-width: 520px) {
  .hero__br { display: none; }
}
.hero__sub {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  max-width: 680px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__stats {
  display: none;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
@media (min-width: 900px) {
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
  }
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__stat-num {
  font-family: var(--display);
  font-size: 36px;
  color: var(--amber);
  line-height: 1;
}
.hero__stat-lbl {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* =========================================================
   PARTNERSHIP STRIP — removed
   ========================================================= */

.footer__implemented {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer__implemented-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}
.footer__sankofa-logo {
  height: 24px;
  width: auto;
  max-width: 220px;
  display: block;
}
.footer__implemented a { display: inline-flex; transition: opacity 180ms ease; }
.footer__implemented a:hover { opacity: 0.78; }

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  background: var(--off-white);
}
.about__grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1.4fr 1fr; gap: 80px; }
}
.about__copy p + p { margin-top: 18px; }
.about__copy p {
  font-size: 17px;
  line-height: 1.65;
  color: #2A2F3D;
}
.about__copy h2 { margin: 14px 0 28px; color: var(--primary-dark); }
.facts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: end;
}
.fact {
  background: var(--white);
  border: 1px solid #E8E5DD;
  padding: 22px;
  border-radius: 4px;
  border-left: 4px solid var(--amber);
}
.fact__num {
  font-family: var(--display);
  font-size: 40px;
  color: var(--primary-dark);
  line-height: 1;
}
.fact__lbl {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #5C6273;
  margin-top: 6px;
}

/* =========================================================
   DOMAINS
   ========================================================= */
.domains {
  background: var(--dark-2);
  color: var(--white);
}
.domains__head {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
  max-width: 820px;
}
.domains__head h2 { color: var(--white); }
.domains__head p { color: rgba(255,255,255,0.78); font-size: 18px; max-width: 720px; }

.domain-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .domain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .domain-grid { grid-template-columns: repeat(4, 1fr); } }

.domain {
  background: var(--dark-3);
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-radius: 6px;
  display: grid;
  gap: 14px;
  grid-template-rows: auto auto 1fr;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), background 200ms var(--ease);
}
.domain:hover {
  transform: translateY(-3px);
  border-color: rgba(0,201,167,0.4);
  background: #232a3b;
}
.domain__icon {
  width: 44px; height: 44px;
  color: var(--teal);
}
.domain__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.domain__name {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--white);
}
.domain__desc {
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
}

/* =========================================================
   BUILD PROMPT
   ========================================================= */
.prompt-section {
  background: var(--primary-dark);
  color: var(--white);
  padding: clamp(64px, 8vw, 100px) 0;
  position: relative;
  overflow: hidden;
}
.prompt-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,201,167,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.prompt-section__inner {
  position: relative;
  text-align: center;
  display: grid;
  gap: 22px;
  max-width: 720px;
  margin: 0 auto;
}
.prompt-section h2 { color: var(--white); }
.prompt-section h2 .accent { color: var(--teal); }
.prompt-section__sub { color: rgba(255,255,255,0.72); font-size: 17px; }
.prompt-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.prompt-form input {
  flex: 1;
  min-width: 240px;
  padding: 16px 18px;
  background: var(--dark-3);
  color: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 16px;
}
.prompt-form input::placeholder { color: var(--muted); }
.prompt-form input:focus { border-color: var(--teal); outline: none; }
.prompt-form .btn--primary { padding: 16px 26px; }
.prompt-form__success {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--teal);
  display: none;
}
.prompt-form.is-success .prompt-form__success { display: block; }
.prompt-form.is-success .prompt-form__row { display: none; }
.prompt-form__row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; width: 100%; }

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter {
  background: var(--amber);
  color: var(--primary-dark);
  padding: clamp(48px, 7vw, 72px) 0;
}
.newsletter__inner {
  display: grid;
  gap: 24px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .newsletter__inner { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.newsletter h2 { font-size: clamp(28px, 4vw, 44px); color: var(--primary-dark); }
.newsletter__form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.newsletter__form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid rgba(11,15,25,0.2);
  border-radius: 4px;
  font-size: 15px;
  color: var(--primary-dark);
}
.newsletter__form input:focus { outline: none; border-color: var(--primary-dark); }
.newsletter__success {
  display: none;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--primary-dark);
  padding: 14px 16px;
  background: rgba(11,15,25,0.08);
  border-radius: 4px;
  margin-top: 8px;
}
.newsletter__form.is-success ~ .newsletter__success { display: block; }
.newsletter__form.is-success { display: none; }

/* =========================================================
   WHO IS THIS FOR
   ========================================================= */
.who { background: var(--off-white); }
.who h2 { max-width: 880px; margin-bottom: 48px; color: var(--primary-dark); }
.who-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .who-grid { grid-template-columns: repeat(3, 1fr); } }
.who-grid--secondary {
  margin-top: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .who-grid--secondary { grid-template-columns: repeat(2, 1fr); max-width: 760px; } }

.who-card {
  background: var(--white);
  border: 1px solid #E8E5DD;
  border-radius: 6px;
  padding: 28px 26px;
  display: grid;
  gap: 12px;
  grid-template-rows: auto auto 1fr auto;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}
.who-card:hover { transform: translateY(-3px); border-color: var(--amber); }
.who-card__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dim);
}
.who-card__title {
  font-family: var(--display);
  font-size: 28px;
  color: var(--primary-dark);
}
.who-card__body {
  font-size: 15px;
  line-height: 1.55;
  color: #3A4054;
}
.who-card__cta {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-dark);
  border-bottom: 1px solid var(--amber);
  padding: 6px 0;
  align-self: start;
  margin-top: 6px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  transition: gap 180ms var(--ease);
}
.who-card:hover .who-card__cta { gap: 10px; }
.who-card--small { padding: 22px 22px; }
.who-card--small .who-card__title { font-size: 22px; }

/* =========================================================
   PARTNER ARCHETYPES
   ========================================================= */
.partners-section {
  background: var(--dark-2);
  color: var(--white);
}
.partners-section h2 { color: var(--white); margin-bottom: 14px; }
.partners-section__lead { color: rgba(255,255,255,0.72); font-size: 17px; max-width: 640px; margin-bottom: 48px; }

.archetypes {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .archetypes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .archetypes { grid-template-columns: repeat(5, 1fr); } }
.arch {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  padding: 24px 22px;
  border-radius: 6px;
  display: grid;
  gap: 12px;
  transition: transform 200ms var(--ease);
}
.arch:hover { transform: translateY(-3px); }
.arch__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--teal);
}
.arch__name {
  font-family: var(--display);
  font-size: 22px;
  color: var(--white);
  letter-spacing: 0.02em;
}
.arch__desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
}

.partners-section__cta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.partners-section__cta-text {
  font-size: 16px;
  color: rgba(255,255,255,0.92);
}

/* =========================================================
   PATRON
   ========================================================= */
.patron {
  background: var(--amber);
  color: var(--primary-dark);
}
.patron__head { max-width: 960px; margin-bottom: 40px; }
.patron h2 { color: var(--primary-dark); margin-bottom: 18px; font-size: clamp(36px, 5vw, 56px); }
.patron__lead { font-size: 18px; line-height: 1.55; color: var(--primary-dark); }
.patron__body { display: grid; gap: 24px; }
.patron__body p { font-size: 16px; line-height: 1.6; color: rgba(11,15,25,0.85); }

.patron-tiers {
  margin-top: 56px;
  display: grid;
  gap: 32px;
}

.tier {
  background: var(--primary-dark);
  border-radius: 6px;
  padding: 28px;
  color: var(--white);
}
.tier__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.tier__row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.tier__seal {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  transition: transform 180ms ease;
}
a.tier__seal:hover { transform: translateY(-2px); }
.tier__seal img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tier__row a:has(.tier__sankofa) { display: inline-block; transition: transform 180ms ease; }
.tier__row a:has(.tier__sankofa):hover { transform: translateY(-2px); }

/* Inline body-copy links */
.text-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(245, 166, 35, 0.55);
  transition: text-decoration-color 180ms ease, color 180ms ease;
}
.text-link:hover {
  text-decoration-color: var(--amber);
  color: var(--amber);
}
.tier__name {
  font-family: var(--display);
  font-size: 28px;
  color: var(--white);
}
.tier__sub {
  font-family: var(--body);
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  margin-top: 4px;
  font-weight: 400;
}

.tier--implemented {
  background: transparent;
  color: var(--primary-dark);
  padding: 8px 0 0 0;
  border-radius: 0;
}
.tier--implemented .tier__label { color: var(--primary-dark); opacity: 0.65; margin-bottom: 12px; }
.tier__sankofa {
  height: 36px;
  width: auto;
  max-width: 320px;
  display: block;
}

.tier--partners {
  background: rgba(11,15,25,0.06);
  color: var(--primary-dark);
}
.tier--partners .tier__label { color: var(--primary-dark); opacity: 0.7; }

/* Strategic Partners — real logos */
.tier__partners {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 4px;
}
.tier__partner {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--primary-dark);
  transition: transform 180ms ease;
  max-width: 460px;
}
.tier__partner:hover { transform: translateY(-2px); }
.tier__partner img {
  height: 80px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.tier__partner-text { display: flex; flex-direction: column; }
.tier__partner-name {
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.2;
  color: var(--primary-dark);
}
.tier__partner-sub {
  font-family: var(--body);
  font-size: 13.5px;
  color: rgba(11,15,25,0.66);
  margin-top: 4px;
  font-weight: 400;
  line-height: 1.4;
}
@media (max-width: 640px) {
  .tier__partners {
    gap: 28px;
    flex-direction: column;
    align-items: stretch;
  }
  .tier__partner {
    gap: 14px;
    max-width: 100%;
    align-items: center;
  }
  .tier__partner img {
    height: 56px;
    width: 56px;
    max-width: 56px;
    max-height: 56px;
    object-fit: contain;
    flex-shrink: 0;
  }
  .tier__partner-text { flex: 1; min-width: 0; }
  .tier__partner-name { font-size: 15px; line-height: 1.25; }
  .tier__partner-sub { font-size: 12px; line-height: 1.35; }
}
.partner-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}
.partner-slot {
  width: 140px;
  height: 64px;
  border: 1.5px dashed rgba(11,15,25,0.25);
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(11,15,25,0.4);
}
.partner-row__note {
  font-style: italic;
  color: rgba(11,15,25,0.7);
  font-size: 14px;
}

/* =========================================================
   FORM
   ========================================================= */
.register {
  background: var(--off-white);
}
.register__inner {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .register__inner { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
}
.register__intro h2 { color: var(--primary-dark); margin-bottom: 18px; }
.register__intro .label { margin-bottom: 14px; display: block; }
.register__sub { font-size: 17px; line-height: 1.55; color: #3A4054; margin-bottom: 28px; }
.register__promise {
  background: var(--white);
  border-left: 4px solid var(--amber);
  padding: 22px 24px;
  border-radius: 0 4px 4px 0;
}
.register__promise h3 {
  font-family: var(--display);
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--primary-dark);
}
.register__promise ul {
  list-style: none;
  display: grid;
  gap: 8px;
}
.register__promise li {
  font-size: 14.5px;
  color: #3A4054;
  padding-left: 22px;
  position: relative;
}
.register__promise li::before {
  content: "→";
  color: var(--amber);
  font-weight: 700;
  position: absolute;
  left: 0;
}

/* form card */
.form-card {
  background: var(--white);
  border: 1px solid #E8E5DD;
  border-radius: 8px;
  padding: clamp(24px, 4vw, 36px);
}
.form-row { display: grid; gap: 6px; margin-bottom: 18px; }
.form-row--two {
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) { .form-row--two { grid-template-columns: 1fr 1fr; } }

.form-label {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.02em;
}
.form-label .req { color: var(--amber-dim); margin-left: 2px; }
.form-hint { font-size: 12px; color: #6A6F7C; margin-top: 2px; }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 14px;
  font-size: 15px;
  background: var(--white);
  border: 1px solid #D9D6CD;
  border-radius: 4px;
  color: var(--primary-dark);
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
  font-family: var(--body);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.15);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-textarea--lg { min-height: 120px; }

.form-row.has-error .form-input,
.form-row.has-error .form-select,
.form-row.has-error .form-textarea,
.form-row.has-error .checkbox-grid {
  border-color: #D14C2A;
}
.form-error {
  display: none;
  font-size: 12.5px;
  color: #D14C2A;
  margin-top: 4px;
  font-weight: 600;
}
.form-row.has-error .form-error { display: block; }

/* select arrow */
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%230B0F19' stroke-width='1.6' d='M1 1.5l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

/* checkboxes / radios */
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.45;
  cursor: pointer;
  color: var(--primary-dark);
}
.check input[type="checkbox"], .check input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #B8B4A8;
  border-radius: 3px;
  background: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  transition: background 150ms, border-color 150ms;
}
.check input[type="radio"] { border-radius: 50%; }
.check input[type="checkbox"]:checked,
.check input[type="radio"]:checked {
  background: var(--amber);
  border-color: var(--amber);
}
.check input[type="checkbox"]:checked::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--primary-dark);
  border-bottom: 2px solid var(--primary-dark);
  transform: rotate(-45deg) translate(1px,-1px);
}
.check input[type="radio"]:checked::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary-dark);
}

.checkbox-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  padding: 14px;
  border: 1px solid #D9D6CD;
  border-radius: 4px;
  background: #FCFBF7;
}
@media (min-width: 540px) { .checkbox-grid { grid-template-columns: 1fr 1fr; gap: 12px 16px; } }

.consent {
  margin-top: 8px;
  padding: 14px;
  border: 1px solid #D9D6CD;
  background: #FCFBF7;
  border-radius: 4px;
}

/* conditional sections */
.audience-fields {
  display: none;
  border-left: 3px solid var(--amber);
  padding: 20px 22px;
  margin: 18px 0 22px;
  background: #FCFBF7;
  border-radius: 0 4px 4px 0;
}
.audience-fields.is-active {
  display: block;
  animation: slideDown 220ms var(--ease);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.form-actions .btn { padding: 16px 28px; font-size: 14px; }
.form-actions__note { font-size: 12.5px; color: #6A6F7C; }

/* Form server error */
.form-server-error {
  display: none;
  background: #FFE8E0;
  border: 1px solid #D14C2A;
  color: #8A2410;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 14px;
  margin-top: 14px;
}
.form-server-error.is-active { display: block; }

/* Inline error for prompt + newsletter forms (same look, lighter weight) */
.prompt-form__error,
.newsletter__error {
  display: none;
  background: #FFE8E0;
  border: 1px solid #D14C2A;
  color: #8A2410;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13px;
  margin-top: 12px;
  font-family: var(--body);
  line-height: 1.4;
}
.prompt-form__error a,
.newsletter__error a {
  color: #8A2410;
  text-decoration: underline;
}
.prompt-form__error.is-active,
.newsletter__error.is-active { display: block; }

/* Success card (replaces form) */
.form-success {
  display: none;
  text-align: center;
  padding: 24px 0;
}
.form-success.is-active { display: block; }
.form-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--teal);
  display: grid;
  place-items: center;
  color: var(--primary-dark);
}
.form-success h3 {
  font-size: 36px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.form-success p {
  font-size: 16px;
  color: #3A4054;
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.form-success__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.form-success__copy-msg {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal);
  margin-top: 12px;
  min-height: 16px;
}

/* =========================================================
   UPDATES
   ========================================================= */
.updates {
  background: var(--off-white);
  border-top: 1px solid #E8E5DD;
}
.updates__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.updates h2 { color: var(--primary-dark); }
.updates__sub { color: #3A4054; font-size: 17px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.78);
  padding: 64px 0 28px;
}
.footer__top {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  margin-bottom: 48px;
}
@media (min-width: 800px) {
  .footer__top { grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
}
.footer__desc {
  margin: 14px 0 22px;
  font-size: 14px;
  line-height: 1.55;
  max-width: 360px;
}

.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; display: grid; gap: 10px; }
.footer__col a {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  transition: color 180ms;
}
.footer__col a:hover { color: var(--amber); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.footer__bottom a:hover { color: var(--amber); }
.footer__contact {
  background: none;
  border: none;
  padding: 0;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__contact:hover { color: var(--amber); }

/* =========================================================
   CONSENT BANNER + PREFERENCES DIALOG
   ========================================================= */
.se-consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: rgba(11, 15, 25, 0.96);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-top: 1px solid var(--border);
  color: var(--white);
  transform: translateY(110%);
  transition: transform 280ms var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.se-consent.is-visible { transform: translateY(0); }
.se-consent__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--side);
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.se-consent__copy { flex: 1 1 360px; min-width: 0; font-size: 13.5px; line-height: 1.5; }
.se-consent__copy strong { display: block; margin-bottom: 4px; font-size: 14px; color: var(--amber); font-family: var(--mono); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.se-consent__copy p { margin: 0; color: rgba(255,255,255,0.85); }
.se-consent__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.se-consent__btn {
  font-family: var(--body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  transition: background 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}
.se-consent__btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.3); }
.se-consent__btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.se-consent__btn--primary { background: var(--amber); color: var(--primary-dark); }
.se-consent__btn--primary:hover { background: var(--amber-dim); }

.se-consent-dlg {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
}
.se-consent-dlg.is-visible { opacity: 1; pointer-events: auto; }
.se-consent-dlg__backdrop {
  position: absolute; inset: 0;
  background: rgba(11, 15, 25, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.se-consent-dlg__panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  background: var(--white);
  color: var(--primary-dark);
  border-radius: 8px;
  padding: 28px 28px 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.se-consent-dlg__title { font-family: var(--display); font-size: 26px; line-height: 1.1; margin: 0 0 8px; }
.se-consent-dlg__intro { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 18px; }
.se-consent-dlg__rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.se-consent-dlg__row {
  display: block;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 14px 12px;
  cursor: pointer;
  background: #FCFBF7;
}
.se-consent-dlg__row-head { display: flex; align-items: center; gap: 10px; }
.se-consent-dlg__row-head input { width: 18px; height: 18px; accent-color: var(--amber); }
.se-consent-dlg__row-head input:disabled { opacity: 0.55; }
.se-consent-dlg__row-label { font-weight: 700; font-size: 14px; }
.se-consent-dlg__row-desc { margin: 8px 0 0 28px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.se-consent-dlg__footer { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; border-top: 1px solid var(--border); padding-top: 14px; }
.se-consent-dlg__footer .se-consent__btn--ghost { color: var(--primary-dark); border-color: rgba(11,15,25,0.2); }
.se-consent-dlg__footer .se-consent__btn--ghost:hover { background: rgba(11,15,25,0.04); border-color: var(--primary-dark); }

@media (max-width: 600px) {
  .se-consent__inner { padding: 14px var(--side); gap: 14px; }
  .se-consent__actions { width: 100%; justify-content: stretch; }
  .se-consent__actions .se-consent__btn { flex: 1 1 0; min-width: 100px; padding: 10px 10px; }
}

/* =========================================================
   THANK-YOU PAGE
   ========================================================= */
.thank-you-body { background: var(--primary-dark); color: var(--white); min-height: 100dvh; display: flex; flex-direction: column; }
.thank-you {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 48px) 0 64px;
  overflow: hidden;
}
.thank-you__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.thank-you__glow--amber { width: 560px; height: 560px; top: -160px; right: -180px; background: radial-gradient(circle, rgba(245,166,35,0.32), transparent 60%); }
.thank-you__glow--teal { width: 520px; height: 520px; bottom: -160px; left: -160px; background: radial-gradient(circle, rgba(0,201,167,0.26), transparent 60%); }
.thank-you__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.thank-you__icon {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.thank-you__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.thank-you__title { font-size: clamp(40px, 7vw, 72px); line-height: 1; margin: 0; }
.thank-you__lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: rgba(255,255,255,0.85); max-width: 560px; margin: 0; }
.thank-you__share {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.thank-you__share-lead { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin: 0; }
.thank-you__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.thank-you__copy-btn { color: var(--white); border-color: rgba(255,255,255,0.3); }
.thank-you__copy-btn:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
.thank-you__copy-msg { font-family: var(--mono); font-size: 12px; color: var(--teal); min-height: 16px; }
.thank-you__home { margin-top: 16px; }
.thank-you__footer { background: var(--primary-dark); border-top: 1px solid var(--border); }
.thank-you__footer .footer__bottom { padding: 18px 0; }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
