:root{
  --blue:#1e40af;
  --navy:#0f172a;
  --sky:#3b82f6;
  --orange:#f97316;
  --slate:#f1f5f9;
  --text:#0f172a;
}
*{box-sizing:border-box}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin:0;
  color:var(--text);
  background:#ffffff;
  line-height:1.6;
}
a{color:inherit}
.container{max-width:980px;margin:0 auto;padding:0 12px;}
.topbar{background:#fff;border-bottom:1px solid #e5e7eb;}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:16px;}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;}
.brand > div{display:flex;flex-direction:column;gap:2px;}
.brand .name{white-space:nowrap;}
.brand img{height:64px;width:auto;}
.brand .name{font-weight:800;letter-spacing:.2px;}
.brand .tag{font-size:12px;color:#334155;margin-top:-2px;}
.navlinks{display:flex;gap:14px;flex-wrap:nowrap;justify-content:flex-end;white-space:nowrap;}
@media (max-width:1100px){
  .nav{flex-wrap:wrap}
  .brand{flex:1 1 100%;}
  .navlinks{flex:1 1 100%;flex-wrap:wrap;justify-content:flex-start;white-space:normal;}
}
@media (max-width:700px){
  .navlinks a{font-size:14px;padding:6px 8px;}
}
.navlinks a{text-decoration:none;padding:8px 10px;border-radius:8px;color:#0f172a;}
.navlinks a:hover{background:var(--slate);}
.hero{background:linear-gradient(135deg,var(--blue),#17338b);color:#fff;padding:56px 0 46px;}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:26px;align-items:center;}
@media (max-width:860px){.hero-grid{grid-template-columns:1fr}}
.kicker{display:inline-block;background:rgba(255,255,255,.12);padding:6px 10px;border-radius:999px;font-size:12px;letter-spacing:.4px;}
h1{margin:12px 0 10px;font-size:44px;line-height:1.1;}
@media (max-width:520px){h1{font-size:36px;}}
.hero .lead{max-width:38em;}
@media (max-width:700px){
  .hero h1{font-size:34px;line-height:1.15;}
  .hero h1 br{display:none;}
  .hero .lead{font-size:16px;}
}
@media (max-width:420px){
  .hero h1{font-size:30px;}
}
.lead{font-size:18px;opacity:.95;margin:0 0 18px;}
.slogan{margin:0 0 24px;font-style:italic;opacity:.95;}
.actions{display:flex;gap:12px;flex-wrap:nowrap;align-items:center;}
.hero .actions{flex-direction:row;white-space:nowrap;}
.hero .actions .btn{white-space:nowrap;}
.btn{display:inline-block;text-decoration:none;padding:12px 16px;border-radius:10px;font-weight:700;border:1px solid transparent;cursor:pointer}
.btn.primary{background:var(--orange);color:#fff;}
.btn.primary:hover{filter:brightness(.97)}
.btn.secondary{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.25);color:#fff;}
.btn.secondary:hover{background:rgba(255,255,255,.14)}
.card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:18px;box-shadow:0 6px 24px rgba(15,23,42,0.05);}
.mini{font-size:13px;opacity:.9;}
.section{padding:46px 0;}
.section h2{margin:0 0 10px;font-size:28px;}
.section p{margin:0 0 12px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;}
@media (max-width:1100px){.grid-4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:700px){.grid-4{grid-template-columns:1fr}}
@media (max-width:860px){.grid-3{grid-template-columns:1fr}}
.donate-grid .tile{display:flex;flex-direction:column}
.donate-grid .btn{margin-top:auto;width:100%;text-align:center}
.tile{background:var(--slate);border-radius:14px;padding:18px;}
.tile h3{margin:0 0 6px;font-size:18px;}
.badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px;}
.badge{font-size:12px;background:var(--slate);border:1px solid #e5e7eb;padding:6px 10px;border-radius:999px;}
.notice{background:#fff7ed;border:1px solid #fed7aa;padding:14px;border-radius:12px;}
hr.sep{border:0;border-top:1px solid #e5e7eb;margin:26px 0;}
.footer{background:var(--navy);color:#fff;padding:26px 0;margin-top:28px;}
.footer .footgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
@media (max-width:860px){.footer .footgrid{grid-template-columns:1fr}}
.footer a{color:#fff;opacity:.95}
.footer small{opacity:.8}
.list{margin:10px 0 0;padding-left:18px;}
.table{width:100%;border-collapse:collapse;margin-top:12px;font-size:14px;}
.table th,.table td{border-bottom:1px solid #e5e7eb;padding:10px 8px;text-align:left;}
.table th{color:#334155;font-weight:700;}
.form{display:grid;gap:12px;margin-top:10px;}
input,select,textarea{width:100%;padding:12px 12px;border-radius:10px;border:1px solid #cbd5e1;font:inherit;}
textarea{min-height:140px;resize:vertical;}
label{font-weight:700;font-size:14px}
.help{font-size:13px;color:#334155}


/* Subtle no-JS animation */
@keyframes floaty {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}
@keyframes sheen {
  0% { box-shadow: 0 0 0 rgba(0,0,0,0); }
  50% { box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18); }
  100% { box-shadow: 0 0 0 rgba(0,0,0,0); }
}
.hero .kicker{
  animation: floaty 4.5s ease-in-out infinite;
}
.btn.primary{
  animation: sheen 6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce){
  .hero .kicker, .btn.primary{ animation: none; }
}



/* Readability fixes: cards/tiles inside dark hero should use normal text color */
.hero .card,
.hero .tile,
.hero .notice{
  color: var(--text);
}
.hero .card a,
.hero .notice a{
  color: inherit;
}



/* Readability fix: badges inside hero (light background) need dark text */
.hero .badge{
  color: var(--text);
  background: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.65);
}



/* Header logo size tweak */
.brand img{
  height: 80px; /* was 64px */
}

@media (max-width: 520px){
  .brand img{
    height: 64px;
  }
}
