/* eResonate Foundation (eresonate.org)
   eResonate branding: the ring logo, the wordmark in Outfit, DM Sans for text,
   ink #070B18, blue #2E5CFF and the logo's green #3EE08C. */

@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/dmsans-400.ttf) format('truetype'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/dmsans-500.ttf) format('truetype'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/dmsans-600.ttf) format('truetype'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/dmsans-700.ttf) format('truetype'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #070B18; --ink-card: #0D1428; --ink-elev: #131C36;
  --on-ink: #F5F4FB; --on-ink-muted: #BEC2DA;
  --text: #181820; --body: #2A2D3E; --muted: #555566;
  --blue: #2E5CFF; --blue-hover: #1E44D8; --blue-text: #2450E8; --blue-on-ink: #5B8CFF;
  --green: #3EE08C; --green-text: #097A45;
  --tint: #F6F4FB; --tint-2: #ECE9F7; --line: #E4E2EE;
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--body);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px; line-height: 1.6;
}
img, svg { display: block; }
a { color: var(--blue-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue-on-ink); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 14px; }
b, strong { color: var(--text); font-weight: 700; }
h1, h2, h3 { font-family: 'Outfit', sans-serif; color: var(--text); letter-spacing: -0.015em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 16px; }

/* ── header ── */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: 'Outfit', sans-serif; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand .sub { font-weight: 400; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--text); font-weight: 500; font-size: 16px; }
.nav a[aria-current="page"] { color: var(--blue-text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 16px; line-height: 1;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { border-color: rgba(245, 244, 251, 0.45); color: var(--on-ink); }
.btn-ghost:hover { border-color: var(--on-ink); }
.nav .btn, .nav .btn[aria-current="page"] { padding: 11px 20px; color: #fff; }

/* ── the ink hero ── */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--blue), var(--blue-on-ink)); }
.hero .rings { position: absolute; right: -170px; top: -150px; width: 640px; height: 640px; opacity: 0.28; pointer-events: none; }
.hero .wrap { position: relative; padding-top: 92px; padding-bottom: 96px; }
.kicker { font-weight: 600; font-size: 15px; letter-spacing: 0.02em; color: var(--green); margin: 0 0 14px; }
.hero h1 { color: var(--on-ink); font-weight: 800; font-size: clamp(40px, 6.2vw, 74px); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 22px; max-width: 13em; }
.hero .lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--on-ink-muted); max-width: 36em; margin: 0 0 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; padding: 0; list-style: none; }
.chips li { font-size: 14.5px; font-weight: 600; color: var(--on-ink); background: var(--ink-elev); border: 1px solid #253154; border-radius: 999px; padding: 7px 15px; }
.chips li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: 1px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.page-hero .wrap { padding-top: 72px; padding-bottom: 72px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); max-width: 15em; }

/* ── sections ── */
.section { padding: 88px 0; }
.section.tint { background: var(--tint); }
.section h2 { font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; margin: 0 0 16px; max-width: 22em; }
.section h2::before { content: ""; display: block; width: 34px; height: 4px; border-radius: 2px; background: var(--blue); margin-bottom: 18px; }
.lead { font-size: clamp(18px, 1.9vw, 20px); line-height: 1.55; color: var(--text); max-width: 40em; }
.narrow { max-width: 760px; }
.label { font-weight: 600; font-size: 15px; letter-spacing: 0.02em; color: var(--blue-text); margin: 0 0 8px; }

/* the mission */
.mission-line { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 22px; max-width: 16em; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0 0; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.pillar h3 { margin: 0 0 6px; font-size: 21px; color: var(--ink); }
.pillar p { margin: 0; font-size: 16px; }

/* steps */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--tint); border-radius: var(--radius); padding: 24px 22px 22px; }
.section.tint .steps li { background: #fff; border: 1px solid var(--line); }
.steps li::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 18px; margin-bottom: 16px;
}
.steps h3 { margin: 0 0 6px; font-size: 20px; }
.steps p { margin: 0; font-size: 16px; }
.steps.five { grid-template-columns: repeat(5, 1fr); }

/* two kinds */
.kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.kind { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 20px; background: #fff; }
.kind h3 { margin: 0 0 8px; font-size: 26px; }
.kind.lab h3 { color: var(--blue-text); }
.kind.cause h3 { color: var(--green-text); }
.kind p { margin: 0 0 10px; }

/* problem chips */
.problems { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 26px 0 0; }
.problems li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 14px; font-size: 15.5px; font-weight: 500; color: var(--text); }
.problems li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 9px; vertical-align: 1px; }

/* facts list */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px; }
.fact { border-top: 3px solid var(--blue); padding-top: 16px; }
.fact h3 { margin: 0 0 6px; font-size: 21px; }
.fact p { margin: 0; font-size: 16.5px; }

/* the ink band */
.band { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); border-radius: 26px; padding: 52px 52px 50px; }
.band .rings { position: absolute; right: -120px; bottom: -160px; width: 460px; height: 460px; opacity: 0.25; pointer-events: none; }
.band h2 { color: var(--on-ink); position: relative; }
.band h2::before { background: var(--green); }
.band p { color: var(--on-ink-muted); position: relative; max-width: 38em; }
.band .actions { position: relative; margin-top: 22px; }

/* notes */
.note { font-size: 15px; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: var(--green-text); background: #E8FAF1; border-radius: 999px; padding: 7px 15px; margin: 0 0 18px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-text); }

/* ── footer ── */
.site-foot { background: var(--ink); color: var(--on-ink-muted); padding: 56px 0 40px; font-size: 15.5px; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-foot .brand { color: var(--on-ink); margin-bottom: 14px; }
.site-foot .brand .sub { color: var(--on-ink-muted); }
.site-foot h4 { font-family: 'Outfit', sans-serif; color: var(--on-ink); font-size: 16px; margin: 4px 0 12px; letter-spacing: 0; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 0 0 8px; }
.site-foot a { color: var(--on-ink); }
.site-foot .fine { border-top: 1px solid #1C2542; margin-top: 40px; padding-top: 22px; font-size: 14px; color: #8D91B8; }

/* ── responsive ── */
@media (max-width: 960px) {
  .steps, .steps.five { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .site-head .wrap { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; row-gap: 10px; }
  .brand { font-size: 19px; }
  .nav { gap: 18px; width: 100%; justify-content: space-between; }
  .nav a { font-size: 15px; }
  .nav .btn { padding: 9px 16px; font-size: 15px; }
  .hero .wrap { padding-top: 60px; padding-bottom: 64px; }
  .hero .rings { width: 420px; height: 420px; right: -190px; top: -120px; }
  .section { padding: 64px 0; }
  .steps, .steps.five, .kinds, .facts { grid-template-columns: 1fr; }
  .band { padding: 36px 24px; border-radius: 20px; }
  .site-foot .cols { grid-template-columns: 1fr; }
}
