* { box-sizing: border-box; }
:root {
  --bg-top: #020617;
  --bg-mid: #0b1a2b;
  --bg-bottom: #0f172a;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-border: rgba(255, 255, 255, 0.10);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --muted-2: #94a3b8;
  --gold: #fbbf24;
  --navy-card-2: #142c46;
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --max-width: 1200px;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.14), transparent 24%),
    radial-gradient(circle at left, rgba(59, 130, 246, 0.18), transparent 28%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 50%, var(--bg-bottom) 100%);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 32px), var(--max-width)); margin: 0 auto; padding: 32px 0 48px; }
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-bottom: 28px; padding: 20px 24px; border-radius: 28px;
  border: 1px solid var(--panel-border); background: var(--panel); backdrop-filter: blur(18px); box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand-mark {
  display: flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  border-radius: 18px; background: linear-gradient(135deg, #fcd34d, #d97706); color: #0f172a;
  font-weight: 900; font-size: 1.15rem; box-shadow: 0 14px 30px rgba(245, 158, 11, 0.22);
}
.brand-title { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-subtitle { margin-top: 4px; color: var(--muted-2); font-size: 0.95rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.site-nav a { padding: 10px 14px; border-radius: 999px; color: var(--muted); transition: 0.2s ease; }
.site-nav a:hover { background: rgba(255,255,255,0.06); color: var(--text); }

.hero-banner {
  position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: end;
  min-height: 470px; margin-bottom: 48px; overflow: hidden; border-radius: var(--radius-xl);
  border: 1px solid var(--panel-border); background: linear-gradient(135deg, #0b1a2b 0%, #112240 45%, #1e3a5f 100%);
  box-shadow: var(--shadow);
}
.hero-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.06) 0%, rgba(2, 6, 23, 0.28) 55%, rgba(2, 6, 23, 0.50) 100%);
}
.hero-copy, .snapshot-card { position: relative; z-index: 1; }
.hero-copy { padding: 44px 56px 56px; }
.hero-pill, .section-kicker, .chip {
  display: inline-flex; align-items: center; border-radius: 999px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: 0.72rem;
}
.hero-pill { margin-bottom: 20px; padding: 8px 12px; border: 1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.10); }
.hero-copy h1 { max-width: 14ch; margin: 0; font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 1.02; letter-spacing: -0.05em; }
.hero-copy p { max-width: 42rem; margin: 18px 0 0; color: #dbe7f3; font-size: 1.08rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 999px; font-weight: 800; transition: 0.2s ease; }
.button-primary { background: var(--gold); color: #0f172a; box-shadow: 0 18px 36px rgba(251, 191, 36, 0.20); }
.button-primary:hover { background: #fcd34d; }
.button-secondary { border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: #fff; }
.button-secondary:hover { background: rgba(255,255,255,0.10); }
.status-message { margin-top: 16px; color: var(--muted); font-size: 0.95rem; }
.snapshot-card { margin: 28px; padding: 24px; border-radius: 28px; border: 1px solid var(--panel-border); background: rgba(11, 26, 43, 0.60); backdrop-filter: blur(18px); }
.section-kicker { color: var(--gold); margin-bottom: 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stat-card, .panel, .info-card, .top-donor-card, .story-card { border: 1px solid var(--panel-border); background: var(--panel); box-shadow: var(--shadow); }
.stat-card { padding: 18px; border-radius: 20px; }
.stat-label { color: var(--muted); font-size: 0.9rem; }
.stat-value { margin-top: 10px; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; }
.activity-card { margin-top: 18px; padding: 16px; border-radius: 20px; border: 1px solid var(--panel-border); background: rgba(255,255,255,0.06); }
.activity-title { margin-bottom: 12px; font-size: 0.98rem; font-weight: 700; }
.activity-list, .stack-list, .info-stack { display: grid; gap: 12px; }
.activity-item, .donor-row { display: flex; align-items: start; justify-content: space-between; gap: 16px; font-size: 0.95rem; }
.activity-item {
  padding: 10px 12px;
  border-radius: 14px;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
}
.activity-item:hover {
  transform: translateX(4px);
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}
.activity-line {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}
.class-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex: 0 0 20px;
  opacity: 0.95;
}
.class-name { font-weight: 700; }
.class-name.rogue { color: #fff468; }
.class-name.mage { color: #69ccf0; }
.class-name.paladin { color: #f58cba; }
.class-name.hunter { color: #abd473; }
.class-name.warrior { color: #c79c6e; }
.class-name.priest { color: #ffffff; }
.class-name.warlock { color: #9482c9; }
.class-name.druid { color: #ff7d0a; }
.class-name.shaman { color: #0070dd; }
.class-name.default { color: #e2e8f0; }
.activity-meta { margin-top: 4px; color: var(--muted-2); font-size: 0.82rem; }
.steps-grid, .support-grid, .apply-grid { display: grid; gap: 24px; margin-bottom: 48px; }
.steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.support-grid, .apply-grid { grid-template-columns: 0.9fr 1.1fr; }
.panel { padding: 24px; border-radius: var(--radius-lg); }
.panel h2, .panel h3, .stories-section h2 { margin: 0; letter-spacing: -0.03em; }
.panel p, .section-copy, .info-copy { color: var(--muted); line-height: 1.75; }
.stack-list { margin-top: 18px; }
.donor-row { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.donor-row:last-child { border-bottom: 0; }
.donor-amount { color: var(--gold); font-weight: 700; }
.top-donor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.top-donor-card { padding: 16px; border-radius: 18px; background: rgba(15, 33, 53, 0.55); }
.top-donor-label { color: var(--muted-2); font-size: 0.82rem; }
.top-donor-name { margin-top: 6px; font-weight: 700; }
.top-donor-amount { margin-top: 6px; color: var(--gold); font-size: 0.9rem; font-weight: 700; }
.stories-section { margin-bottom: 48px; }
.stories-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 18px; }
.story-card { padding: 16px; border-radius: 22px; }
.story-image, .story-image-empty { width: 100%; height: 144px; border-radius: 16px; object-fit: cover; background: var(--navy-card-2); }
.story-title { margin-top: 12px; font-weight: 700; }
.story-note { margin-top: 6px; color: var(--muted); font-size: 0.94rem; line-height: 1.7; }
.info-card { padding: 16px; border-radius: 18px; background: rgba(15, 33, 53, 0.55); }
.info-title { font-size: 0.96rem; font-weight: 700; }
.faith-note {
  margin-top: 20px; padding: 16px; border-radius: 18px; border: 1px solid rgba(251, 191, 36, 0.22);
  background: rgba(251, 191, 36, 0.10); color: #fde68a; font-size: 0.94rem; line-height: 1.7;
}
.apply-header { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.chip {
  padding: 8px 12px; border: 1px solid var(--panel-border); background: rgba(15, 33, 53, 0.60);
  color: var(--muted); letter-spacing: 0; text-transform: none; font-size: 0.75rem;
}
.form-embed-shell { margin-top: 18px; overflow: hidden; border-radius: 18px; border: 1px solid var(--panel-border); background: rgba(15, 33, 53, 0.40); }
.form-embed-shell iframe { display: block; width: 100%; min-height: 760px; border: 0; background: transparent; }

@media (max-width: 1024px) {
  .hero-banner, .support-grid, .apply-grid { grid-template-columns: 1fr; }
  .steps-grid, .stories-grid { grid-template-columns: 1fr; }
  .stats-grid, .top-donor-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 36px 28px 24px; }
  .snapshot-card { margin: 0 28px 28px; }
}
@media (max-width: 720px) {
  .container { width: min(calc(100% - 20px), var(--max-width)); padding-top: 20px; }
  .site-header { align-items: start; flex-direction: column; }
  .hero-copy h1 { max-width: none; }
}
