:root {
  --primary: #1e3a8a;
  --primary-hover: #1d4ed8;
  --primary-dark: #0f172a;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  --accent: #0284c7;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.skip-link { position: absolute; top: -40px; left: 0; background: var(--primary); color: white; padding: 8px; z-index: 100; }
.skip-link:focus { top: 0; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.top-banner { background: #0f172a; color: #94a3b8; font-size: 13px; padding: 6px 0; border-bottom: 1px solid #1e293b; }
.banner-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.banner-inner a { color: #38bdf8; text-decoration: none; }
.banner-inner a:hover { text-decoration: underline; }

.site-header { background: #ffffff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--primary-dark); }
.brand-mark svg { width: 32px; height: 32px; color: var(--primary); display: block; }
.brand-title { display: block; font-size: 19px; font-weight: 700; color: #0f172a; line-height: 1.2; }
.brand-sub { display: block; font-size: 12px; color: var(--text-muted); font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { color: #334155; font-weight: 500; font-size: 15px; padding: 6px 0; }
.site-nav a[aria-current="page"] { color: var(--primary); font-weight: 600; border-bottom: 2px solid var(--primary); }
.site-nav .nav-cta { background: var(--primary); color: #ffffff !important; padding: 9px 18px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.site-nav .nav-cta:hover { background: var(--primary-hover); text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }

.hero-section { background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%); padding: 60px 0; border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #0369a1; margin-bottom: 12px; }
.hero-copy h1 { font-size: 40px; line-height: 1.15; font-weight: 800; color: #0f172a; margin-bottom: 16px; }
.hero-copy h1 em { font-style: normal; color: var(--primary); }
.hero-copy .lead { font-size: 18px; color: #475569; margin-bottom: 28px; line-height: 1.5; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { display: inline-block; padding: 12px 24px; border-radius: 6px; font-weight: 600; font-size: 15px; text-decoration: none; transition: all 0.15s ease; cursor: pointer; border: 1px solid transparent; }
.button.primary { background: var(--primary); color: #ffffff; }
.button.primary:hover { background: var(--primary-hover); text-decoration: none; }
.button.outline { background: transparent; border-color: #cbd5e1; color: #334155; }
.button.outline:hover { background: #f1f5f9; text-decoration: none; }
.button.full-width { display: block; text-align: center; width: 100%; margin-top: 16px; }

.hero-card { background: #ffffff; border-radius: 12px; padding: 28px; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.06); border: 1px solid #e2e8f0; }
.hero-card h3 { font-size: 18px; margin-bottom: 16px; color: #0f172a; border-bottom: 2px solid #f1f5f9; padding-bottom: 10px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.feature-list li { font-size: 14px; color: #475569; line-height: 1.5; }
.contact-box { background: #f8fafc; border-radius: 8px; padding: 14px; border-left: 3px solid var(--primary); }
.contact-box p { font-size: 13px; color: #64748b; margin-bottom: 4px; }
.text-link { font-weight: 600; font-size: 14px; color: var(--primary); }

.section { padding: 60px 0; }
.bg-light { background: #f8fafc; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 40px auto; }
.section-header h2 { font-size: 30px; font-weight: 700; color: #0f172a; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; font-size: 16px; color: #334155; line-height: 1.7; }
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card { background: #ffffff; border-radius: 8px; padding: 24px; border: 1px solid var(--border); display: flex; flex-direction: column; justify-content: space-between; }
.program-card h3 { font-size: 18px; color: #0f172a; margin-bottom: 12px; }
.program-card p { font-size: 14px; color: #64748b; margin-bottom: 18px; line-height: 1.6; }
.card-link { font-weight: 600; font-size: 14px; color: var(--primary); margin-top: auto; }

.trust-section { padding-top: 0; }
.trust-box { background: #0f172a; color: #f8fafc; border-radius: 12px; padding: 36px 40px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.trust-box h2 { font-size: 24px; margin-bottom: 10px; color: #ffffff; }
.trust-box p { color: #cbd5e1; font-size: 14px; line-height: 1.6; margin-bottom: 8px; }

.page-header { background: #f8fafc; padding: 50px 0 35px 0; border-bottom: 1px solid var(--border); }
.page-header h1 { font-size: 34px; font-weight: 800; color: #0f172a; margin-bottom: 12px; }
.page-header .lead { font-size: 18px; color: #475569; max-width: 780px; }

.stat-sidebar { display: flex; flex-direction: column; gap: 16px; }
.stat-card { background: #f8fafc; border-radius: 8px; padding: 20px; border: 1px solid var(--border); }
.stat-card h3 { font-size: 22px; color: var(--primary); margin-bottom: 4px; }
.stat-card p { font-size: 13px; color: #64748b; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.info-block { margin-bottom: 20px; }
.info-block strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; margin-bottom: 4px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: #334155; margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid #cbd5e1; border-radius: 6px; font-family: inherit; font-size: 14px; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,58,138,0.1); }

.giving-card { background: #f8fafc; border-radius: 12px; padding: 28px; border: 1px solid var(--border); }
.giving-card h3 { font-size: 18px; color: #0f172a; margin-bottom: 12px; }
.giving-card p { font-size: 14px; color: #475569; margin-bottom: 12px; line-height: 1.6; }

.programs-list { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.program-item { background: #ffffff; border-radius: 8px; padding: 28px; border: 1px solid var(--border); }
.program-item h2 { font-size: 20px; color: #0f172a; margin-bottom: 10px; }
.program-item p { font-size: 15px; color: #475569; line-height: 1.7; }
.cta-banner { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 28px; text-align: center; }
.cta-banner h3 { font-size: 20px; color: #166534; margin-bottom: 8px; }
.cta-banner p { font-size: 15px; color: #15803d; margin-bottom: 18px; }

.site-footer { background: #0f172a; color: #94a3b8; padding: 50px 0 24px 0; margin-top: 60px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .brand-title { color: #ffffff; margin-bottom: 10px; font-size: 18px; }
.footer-brand p { font-size: 14px; color: #94a3b8; margin-bottom: 16px; line-height: 1.5; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.footer-badges .badge { background: #1e293b; color: #e2e8f0; font-size: 12px; padding: 4px 8px; border-radius: 4px; border: 1px solid #334155; }
.footer-social a { color: #38bdf8; font-size: 13px; }
.footer-main h2 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: #cbd5e1; margin-bottom: 16px; }
.footer-main a { display: block; color: #94a3b8; font-size: 14px; margin-bottom: 8px; }
.footer-main a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #64748b; flex-wrap: wrap; gap: 12px; }
.footer-bottom div a { color: #94a3b8; margin-left: 18px; }

@media (max-width: 840px) {
  .hero-grid, .story-grid, .programs-grid, .footer-main, .contact-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .trust-box { flex-direction: column; text-align: center; }
}
