:root {
  --blue: #3d3df2;
  --blue-dark: #2f2fd4;
  --blue-tint: rgba(61, 61, 242, 0.08);
  --coral: #ea5a3d;
  --coral-dark: #d1481f;
  --coral-tint: rgba(234, 90, 61, 0.1);
  --teal: #0f9b8e;
  --amber: #d97a06;
  --violet: #7c5cd6;
  --green: #2f9e5b;
  --ink: #12142b;
  --gray: #6b7080;
  --bg-soft: #f4f5fb;
  --border: #e6e7f0;
  --font-display: 'Fraunces', ui-serif, Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
}

h1, h2, h3, .logo, .hero-count, .timeline-marker {
  font-family: var(--font-display);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }

.btn {
  display: inline-block;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 10px 20px;
}
.btn-primary:hover { background: var(--blue-dark); }
.btn-accent {
  background: var(--coral);
  color: #fff;
  padding: 10px 20px;
}
.btn-accent:hover { background: var(--coral-dark); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

/* Topbar */
.topbar {
  padding: 20px 0;
  background: var(--bg-soft);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
}
.logo .tagline {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--gray);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
}

/* Hero */
.hero {
  background: var(--bg-soft);
  padding: 40px 0 60px;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  background: #fff;
  border-radius: 28px;
  padding: 60px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.hero-copy { flex: 1; }
.hero-copy h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 800;
}
.accent { color: var(--blue); }
.accent-warm { color: var(--coral); font-style: italic; }
.hero-sub { margin: 0; color: var(--ink); font-size: 1.1rem; }
.hero-count {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 4px 0 24px;
  color: var(--ink);
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  color: var(--ink);
  font-weight: 500;
}
.checklist li { margin: 8px 0; }

.hero-art { flex: 1; display: flex; justify-content: center; }
.world-map {
  position: relative;
  width: 525px;
  height: 400px;
  border-radius: 16px;
}
.map-svg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.map-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.avatar {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid #fff;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(18,20,43,0.2);
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avatar-1 { top: 120px; left: 54px; }
.avatar-2 { top: 106px; left: 285px; }
.avatar-3 { top: 120px; left: 369px; }
.avatar-4 { top: 228px; left: 118px; }
.avatar-5 { top: 176px; left: 290px; }
.avatar-6 { top: 228px; left: 433px; }

/* Section titles */
.section-title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 1px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 28px;
}

/* How it works */
.how-it-works { padding: 60px 0 20px; }
.timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 20px;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.timeline-marker {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-content { padding-top: 4px; }
.timeline-content h3 { font-size: 1.1rem; margin: 0 0 6px; }
.timeline-content p { font-size: 0.92rem; color: var(--gray); margin: 0; }

/* Icon badges (replace emoji icons) */
.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.icon-badge svg { width: 22px; height: 22px; stroke: var(--blue); }
.icon-badge-warm { background: var(--coral-tint); }
.icon-badge-warm svg { stroke: var(--coral); }
.timeline-content .icon-badge { margin-bottom: 8px; }

/* Who it's for */
.who-its-for { padding: 60px 0 20px; }
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.who-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 18px;
  text-align: center;
}
.who-card .icon-badge { margin-left: auto; margin-right: auto; }
.who-card h3 { margin: 0 0 8px; }
.who-card p { font-size: 0.85rem; color: var(--gray); margin: 0; }

/* Become a Participant */
.participant {
  padding: 60px 0;
  background: var(--bg-soft);
  border-radius: 28px;
  margin: 0 24px;
}
.participant-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 32px;
}
.participant-header .section-title { text-align: center; }
.participant-heading {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 12px;
}
.participant-sub { color: var(--gray); margin: 0; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.benefit-grid .who-card { background: #fff; }
.participant-cta { text-align: center; margin-top: 32px; }

/* Trusted */
.trusted { padding: 60px 0; }
.logos {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  font-weight: 700;
  color: var(--gray);
  font-size: 1.1rem;
}

/* CTA */
.cta {
  background: linear-gradient(120deg, #eceafd, #dfe3fb);
  border-radius: 28px;
  margin: 0 24px 60px;
  padding: 50px 60px;
}
.cta-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}
.cta h2 { margin: 0 0 8px; font-size: 1.5rem; }
.cta p { margin: 0; color: var(--gray); }
.cta-actions { text-align: center; }
.cta-actions .link {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Lead form (used inside the modal) */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lead-form input,
.lead-form textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
}
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.lead-form button { border: none; cursor: pointer; margin-top: 4px; }

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18, 20, 43, 0.5);
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}
.modal-overlay.open { display: flex; }
.modal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(18, 20, 43, 0.25);
}
.modal h2 { margin: 0 0 6px; font-size: 1.3rem; }
.modal-sub { margin: 0 0 20px; color: var(--gray); font-size: 0.9rem; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-soft);
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--gray);
}

/* Legal & Contact pages */
.legal-main { padding: 50px 0 80px; }
.legal-container { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
}
.legal-container h1 { font-size: 2rem; margin: 0 0 8px; }
.legal-updated { color: var(--gray); font-size: 0.85rem; margin: 0 0 24px; }
.legal-disclaimer {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 32px;
}
.legal-container h2 { font-size: 1.2rem; margin: 32px 0 12px; }
.legal-container h3 { font-size: 1rem; margin: 20px 0 8px; }
.legal-container p { line-height: 1.7; color: var(--ink); margin: 0 0 14px; }
.legal-container ul { line-height: 1.7; color: var(--ink); padding-left: 20px; margin: 0 0 14px; }
.legal-container a { color: var(--blue); }

.contact-grid { display: flex; gap: 48px; flex-wrap: wrap; }
.contact-info { flex: 1; min-width: 240px; }
.contact-info p { line-height: 1.7; color: var(--gray); }
.contact-info a { color: var(--blue); font-weight: 600; }
.contact-form-wrap { flex: 1; min-width: 280px; }

/* Footer */
.footer { padding: 30px 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 0.75rem; color: var(--gray); font-weight: 400; }
.footer-nav { display: flex; gap: 24px; color: var(--gray); font-size: 0.9rem; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .hero-inner { flex-direction: column; padding: 32px; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; gap: 20px; text-align: center; }
  .lead-form { width: 100%; justify-content: center; }
  .nav { display: none; }
}
