:root {
  --navy: #1E2761;
  --navy-dark: #141A45;
  --ice: #CADCFC;
  --white: #FFFFFF;
  --body: #3A3F55;
  --muted: #6B7280;
  --card: #F3F6FC;
  --teal: #2DBBCB;
  --purple: #5976DA;
  --border: #E3E8F5;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Calibri", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy-dark);
  margin: 0;
  line-height: 1.2;
}

a { color: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.eyebrow.on-dark { color: var(--ice); }

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
header.site img.logo { height: 30px; display: block; }
nav.main { display: flex; gap: 28px; align-items: center; }
nav.main a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
nav.main a.cta {
  background: var(--navy-dark);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 999px;
}
.nav-toggle { display: none; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 6px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}
.lang-switch a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  padding: 4px 6px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.lang-switch a.active {
  color: var(--navy-dark);
  background: var(--card);
}
.lang-switch a:hover { color: var(--navy); }

@media (max-width: 760px) {
  nav.main > a { display: none; }
  nav.main { gap: 0; }
  .lang-switch { display: flex; border-left: none; padding-left: 0; margin-left: 0; }
}

/* ---------- hero ---------- */
section.hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 65%, #1c2a66 100%);
  color: var(--white);
  padding: 72px 0 84px;
  position: relative;
  overflow: hidden;
}
section.hero::before {
  content: "";
  position: absolute;
  top: -140px; right: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(89,118,218,0.35), transparent 70%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
}
.hero-card {
  background: var(--white);
  border-radius: 18px;
  padding: 28px 32px;
  display: inline-block;
  box-shadow: 0 24px 60px rgba(10,15,45,0.35);
}
.hero-card img { width: 100%; max-width: 380px; display: block; }
.hero-copy h1 {
  color: var(--white);
  font-size: 36px;
  margin: 18px 0 16px;
}
.hero-copy p.lead {
  font-size: 17px;
  color: var(--ice);
  max-width: 46ch;
  margin-bottom: 26px;
}
.badge-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.badge {
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255,255,255,0.06);
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(120deg, var(--purple), var(--teal));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(45,187,203,0.28);
}
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.45);
  color: var(--white);
}
.hero-note { margin-top: 18px; font-size: 13px; color: var(--ice); opacity: 0.8; }

/* ---------- generic section ---------- */
section { padding: 76px 0; }
section.alt { background: var(--card); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: 30px; margin-top: 12px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 16px; }

/* ---------- problem grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
}
.problem-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif;
  font-weight: 700;
  margin-bottom: 16px;
}
.problem-card h3 { font-size: 18px; margin-bottom: 10px; }
.problem-card p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- solution ---------- */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 860px) { .solution-grid { grid-template-columns: 1fr; } }
.feature-list { display: flex; flex-direction: column; gap: 22px; }
.feature-list .item h4 {
  font-family: Georgia, serif;
  color: var(--navy-dark);
  font-size: 17px;
  margin: 0 0 6px;
}
.feature-list .item p { margin: 0; font-size: 14.5px; color: var(--muted); }
.pill-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(120deg, var(--purple), var(--teal));
  margin-right: 8px;
}
.stat-card {
  background: var(--navy-dark);
  color: var(--white);
  border-radius: 16px;
  padding: 30px;
}
.stat-card .stat { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.stat-card .stat:last-child { border-bottom: none; }
.stat-card .stat .k { font-family: Georgia, serif; font-size: 20px; font-weight: 700; }
.stat-card .stat .v { color: var(--ice); font-size: 13.5px; max-width: 60%; text-align: right; }

/* ---------- partnership ---------- */
.partner-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 860px) { .partner-panel { grid-template-columns: 1fr; } }
.partner-panel ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; }
.partner-panel li { margin-bottom: 10px; }

/* ---------- team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.team-card.open {
  border: 1px dashed var(--muted);
  background: var(--card);
}
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif;
  font-weight: 700;
  margin-bottom: 14px;
}
.team-card h4 { font-family: Georgia, serif; font-size: 16px; color: var(--navy-dark); margin: 0 0 4px; }
.team-card .role { font-size: 12.5px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.team-card p.note { font-size: 13px; color: var(--muted); margin: 0; }
.team-footnote { margin-top: 20px; font-size: 13px; color: var(--muted); font-style: italic; }

/* ---------- fundraise / cta ---------- */
section.raise {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  color: var(--white);
}
.raise-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .raise-inner { grid-template-columns: 1fr; } }
.raise-inner h2 { color: var(--white); font-size: 28px; }
.raise-inner p { color: var(--ice); font-size: 15.5px; margin-top: 14px; max-width: 52ch; }
.raise-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
}
.raise-card .amount { font-family: Georgia, serif; font-size: 34px; font-weight: 700; }
.raise-card .label { font-size: 13px; color: var(--ice); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 4px; }
.raise-card .btn { width: 100%; margin-top: 22px; }

/* ---------- contact ---------- */
.contact-panel {
  display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
  background: var(--card);
  border-radius: 16px;
  padding: 34px;
}
.contact-panel .email {
  font-family: Georgia, serif;
  font-size: 22px;
  color: var(--navy-dark);
}

/* ---------- footer ---------- */
footer.site {
  border-top: 1px solid var(--border);
  padding: 30px 0;
}
footer.site .bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer.site img.logo { height: 20px; opacity: 0.85; }
footer.site .fine { font-size: 12.5px; color: var(--muted); }
