:root {
  --ink: #0B1726;
  --ink-2: #13243A;
  --text: #1E293B;
  --muted: #5B6B80;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --tint: #F4F8FB;
  --teal: #14B8A6;
  --teal-d: #0E7490;
  --amber: #F59E0B;
  --orange: #F97316;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(11, 23, 38, .18);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .4em; padding: .85em 1.5em; border-radius: 999px; background: linear-gradient(135deg, var(--teal), var(--teal-d)); color: #fff; font-weight: 600; border: 0; cursor: pointer; font: inherit; font-weight: 600; transition: transform .2s, box-shadow .2s; box-shadow: 0 8px 20px -8px rgba(20, 184, 166, .6); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(20, 184, 166, .7); }
.btn-sm { padding: .55em 1.1em; font-size: .9rem; }
.btn-ghost { background: transparent; color: #E2E8F0; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--teal); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(11, 23, 38, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: #fff; }
.brand b { background: linear-gradient(135deg, var(--amber), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: 1px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.btn) { color: #CBD5E1; font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; transition: transform .25s; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 600px at 80% -10%, rgba(20,184,166,.25), transparent 60%), radial-gradient(800px 500px at -10% 110%, rgba(249,115,22,.18), transparent 60%), var(--ink); color: #CBD5E1; padding: 160px 0 90px; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); }
.hero-inner { position: relative; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.5rem); max-width: 14ch; }
.grad { background: linear-gradient(120deg, #5EEAD4, var(--teal) 40%, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 60ch; color: #CBD5E1; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--teal); margin-bottom: 1rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 3.5rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; margin: 0; }
.stats div { background: rgba(11, 23, 38, .85); padding: 1.4rem 1.5rem; }
.stats dt { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: #fff; }
.stats dd { margin: 0; font-size: .9rem; color: #94A3B8; }

/* Track */
.track { border-bottom: 1px solid var(--line); padding: 2.2rem 0; }
.track-label { text-align: center; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.track-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.75rem; }
.track-list li { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: #94A3B8; }

/* Sections */
.section { padding: 100px 0; }
.section-head { max-width: 680px; margin-bottom: 3.5rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section-dark { background: var(--ink); color: #CBD5E1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p:last-child { color: #94A3B8; }
.section-tint { background: var(--tint); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(20,184,166,.14), rgba(14,116,144,.14)); margin-bottom: 1.25rem; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--teal-d); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; }
.steps li { padding: 2rem 1.5rem; border-radius: var(--radius); background: var(--ink-2); border: 1px solid rgba(255,255,255,.06); position: relative; }
.steps span { font-family: var(--font-head); font-weight: 700; font-size: .9rem; background: linear-gradient(135deg, var(--amber), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 1rem; }
.steps p { color: #94A3B8; margin: 0; font-size: .95rem; }

/* Timeline */
.timeline { position: relative; display: grid; gap: 1.5rem; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--teal), var(--amber)); border-radius: 2px; }
.role { position: relative; padding: 1.75rem 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .25s; }
.role:hover { box-shadow: var(--shadow); }
.role::before { content: ""; position: absolute; left: calc(-2rem + 1px); top: 2rem; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); }
.role-tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-d); background: rgba(20,184,166,.1); padding: .25em .7em; border-radius: 999px; margin-bottom: .8rem; }
.role h3 { font-size: 1.35rem; margin-bottom: .15em; }
.org { font-weight: 600; color: var(--muted); margin-bottom: .8rem; }
.role ul { margin: 0; padding-left: 1.1rem; color: var(--text); }
.role li { margin-bottom: .3rem; }
.role li::marker { color: var(--teal); }

.credentials { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; margin-top: 3rem; padding: 2rem; border-radius: var(--radius); background: var(--tint); }
.credentials h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.credentials p { margin: 0; font-weight: 500; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { padding: .4em .9em; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; }

/* Impact */
.impact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; align-items: stretch; }
.feature { padding: 2.5rem; border-radius: var(--radius); color: #CBD5E1; background: radial-gradient(500px 300px at 100% 0, rgba(245,158,11,.25), transparent 60%), var(--ink); }
.feature h3 { color: #fff; font-size: 1.8rem; }
.feature p:last-child { margin: 0; }
.badge { display: inline-block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--amber); border: 1px solid rgba(245,158,11,.4); padding: .3em .8em; border-radius: 999px; }
.talks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.talks li { padding: 1.25rem 1.5rem; background: #fff; border-radius: 12px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.talks b { font-family: var(--font-head); color: var(--ink); }
.talks span, .give span { color: var(--muted); font-size: .95rem; }
.sub { margin-top: 4rem; font-size: 1.5rem; }
.give { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.give div { padding: 1.25rem 1.5rem; background: #fff; border-radius: 12px; border-left: 3px solid var(--teal); display: flex; flex-direction: column; }
.give b { color: var(--ink); }

/* Contact */
.contact { background: linear-gradient(135deg, var(--ink), #0F2E3D); color: #CBD5E1; }
.contact h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.6rem); }
.contact-inner { max-width: 680px; text-align: center; }
.contact-inner .btn { margin-top: .5rem; }

/* Footer */
.footer { background: #07111C; color: #64748B; padding: 2rem 0; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer p { margin: 0; }
.footer .brand { font-size: 1.1rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .impact-grid, .credentials { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 16px 1.25rem; background: rgba(11,23,38,.98); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-links .btn { margin-top: 1rem; justify-content: center; }
  .nav { background: rgba(11, 23, 38, .92); }
  .section { padding: 72px 0; }
  .hero { padding: 130px 0 70px; }
  .cards, .steps, .give { grid-template-columns: 1fr; }
  .role { padding: 1.5rem; }
}
