:root {
  --navy: #0f172a;
  --navy-2: #1e293b;
  --slate: #475569;
  --slate-2: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #fff;
  --blue: #1d4ed8;
  --blue-2: #1e40af;
  --teal: #0f766e;
  --radius: 14px;
  --shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--navy);
  background: linear-gradient(180deg, var(--bg), #fff 26%, var(--bg));
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding-left: 1.1rem; }
p { margin: 0 0 1rem; }

.container { width: min(100% - 2rem, var(--max)); margin: 0 auto; }
.section { padding: 3rem 0; }
.section.tight { padding: 2rem 0; }
.section-title { margin: 0 0 .7rem; line-height: 1.15; font-size: clamp(1.35rem, 2vw + .9rem, 2rem); }
.section-subtitle { color: var(--slate); max-width: 72ch; margin-bottom: 1.25rem; }
.muted { color: var(--slate); }
.sr-only {
  position: absolute; 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; left: -9999px; top: auto; }
.skip-link:focus {
  left: 1rem; top: 1rem; z-index: 1000; background: #fff; padding: .5rem .75rem;
  border: 2px solid var(--blue); border-radius: 8px;
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand img { width: 168px; height: auto; }
.nav-toggle {
  width: 42px; height: 42px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.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; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.nav-links {
  display: none; position: absolute; top: calc(var(--header-h) - 1px); left: 0; right: 0;
  background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); padding: .75rem 1rem 1rem;
}
.nav-links.open { display: block; }
.nav-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.nav-links a {
  display: block; padding: .7rem .85rem; border-radius: 10px; font-weight: 600; color: var(--slate);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.nav-links a:hover { background: #f1f5f9; color: var(--navy); transform: translateY(-1px); }
.nav-links a.active { background: rgba(29,78,216,.08); color: var(--blue-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .8rem 1rem; border-radius: 12px; border: 1px solid transparent; font-weight: 700; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(15,23,42,.12); }
.btn-primary { background: #fff; color: var(--navy); }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-solid { background: var(--blue); color: #fff; }
.btn-outline { background: #fff; color: var(--blue-2); border-color: rgba(29,78,216,.25); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero { padding: 2.25rem 0 2rem; }
.hero-card {
  border-radius: 20px; color: #fff; overflow: hidden; box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 88% 15%, rgba(59,130,246,.22), transparent 42%),
    radial-gradient(circle at 12% 12%, rgba(148,163,184,.23), transparent 38%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 45%, #334155 100%);
}
.hero-grid { display: grid; gap: 1rem; padding: 1.5rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
  padding: .35rem .7rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16);
}
.hero h1 { margin: .6rem 0 .75rem; line-height: 1.08; font-size: clamp(1.7rem, 4vw + .5rem, 3rem); }
.hero p { margin-bottom: 1.1rem; color: rgba(255,255,255,.9); max-width: 58ch; }
.hero-side {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 1rem;
}
.badge-line {
  display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; font-weight: 600; font-size: .92rem;
  padding: .35rem .75rem; background: rgba(15,118,110,.12); border: 1px solid rgba(20,184,166,.22); color: #ccfbf1;
}

.grid-2, .grid-3, .grid-4, .highlight-items, .funding-grid, .sponsor-logo-grid, .timeline, .tier-grid, .contact-grid {
  display: grid; gap: 1rem;
}
.card, .timeline-item, .tier-card, .panel, form.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem; box-shadow: 0 2px 10px rgba(15,23,42,.03);
}
.card, .tier-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover, .tier-card:hover {
  transform: translateY(-2px); box-shadow: var(--shadow); border-color: #cbd5e1;
}
.card h3, .timeline-item h3 { margin: 0 0 .45rem; line-height: 1.25; }
.panel {
  border-radius: 18px;
  background: radial-gradient(circle at 90% 10%, rgba(59,130,246,.12), transparent 35%), #fff;
}
.callout {
  border-left: 4px solid var(--blue); background: rgba(29,78,216,.05); border-radius: 0 12px 12px 0; padding: .9rem 1rem;
}
.pathway { display: grid; gap: .75rem; }
.path-step {
  display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem;
}
.path-step .num {
  width: 2rem; height: 2rem; border-radius: 999px; background: rgba(29,78,216,.1); color: var(--blue-2);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
}
.path-step h3 { margin: 0 0 .2rem; }

.highlights-strip {
  background: linear-gradient(180deg, rgba(15,23,42,.98), rgba(30,41,59,.96));
  color: #fff; border-radius: 16px; padding: 1rem; box-shadow: var(--shadow);
}
.highlights-strip h2 { margin: 0 0 .75rem; font-size: 1.2rem; }
.highlight-item {
  border-radius: 12px; padding: .85rem; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.12);
}
.highlight-item strong { display: block; font-size: 1.05rem; }

.funding-summary {
  background: #0b1220; color: #fff; border-radius: 16px; padding: 1.05rem;
}
.funding-summary .total { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: .3rem; }
.funding-bars { display: grid; gap: .9rem; }
.bar-row { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem; }
.bar-row .label { display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; margin-bottom: .45rem; }
.bar-track { width: 100%; height: 10px; background: #f1f5f9; border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, #1d4ed8, #3b82f6); }
.bar-fill.secondary { background: linear-gradient(90deg, #0f766e, #14b8a6); }
.bar-fill.tertiary { background: linear-gradient(90deg, #475569, #64748b); }

.logo-slot {
  border: 1.5px dashed #cbd5e1; border-radius: 14px; min-height: 90px; display: flex;
  align-items: center; justify-content: center; text-align: center; padding: .75rem; font-weight: 600; color: var(--slate);
  background: rgba(248,250,252,.8);
}

.tier-card.featured { border-color: rgba(29,78,216,.28); box-shadow: 0 10px 24px rgba(29,78,216,.08); }
.tier-header { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; margin-bottom: .5rem; }
.tier-price { color: var(--blue-2); font-weight: 800; }
.tier-list li + li { margin-top: .35rem; }

.role-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  border-radius: 999px; padding: .4rem .75rem; background: #f1f5f9; border: 1px solid var(--line); font-weight: 600; font-size: .92rem;
}

.field { display: grid; gap: .35rem; margin-bottom: .85rem; }
.field label { font-weight: 600; }
.field input, .field textarea {
  width: 100%; border: 1px solid #cbd5e1; border-radius: 10px; padding: .75rem .8rem; font: inherit; color: var(--navy);
  background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,78,216,.12);
}
.helper { color: var(--slate); font-size: .92rem; }

.nav-toggle:focus-visible, .nav-links a:focus-visible, .btn:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(29,78,216,.35); outline-offset: 2px;
}

.site-footer { margin-top: 2rem; border-top: 1px solid var(--line); background: rgba(255,255,255,.86); }
.footer-grid { display: grid; gap: .75rem; padding: 1.2rem 0 2rem; }
.footer-grid p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: .9rem; color: var(--slate); }
.footer-links a:hover { color: var(--blue-2); }

@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .highlight-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .funding-grid { grid-template-columns: .95fr 1.2fr; align-items: start; }
  .timeline, .tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sponsor-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1.15fr .85fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; align-items: center; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-links {
    display: block; position: static; padding: 0; border: 0; background: transparent;
  }
  .nav-links ul { display: flex; gap: .35rem; }
  .nav-links a { padding: .6rem .8rem; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: end; padding: 2rem; gap: 1.25rem; }
  .sponsor-logo-grid.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
