/* Jesus Is Saviour — static site stylesheet.
   Design tokens mirror tailwind.config.ts (navy/gold/stone scales derived
   from the official logo — see Decision-Log.md D-014). Single light theme
   only; no build step, no framework. */

:root {
  --navy-50: #f1f6fb;
  --navy-100: #dfeaf6;
  --navy-200: #b5d1ee;
  --navy-300: #77ade4;
  --navy-400: #217ede;
  --navy-500: #115ba6;
  --navy-600: #0a4480;
  --navy-700: #053464;
  --navy-800: #02274d;
  --navy-900: #011932;
  --navy-950: #010e1b;

  --gold-50: #f9f7f3;
  --gold-100: #f0e8db;
  --gold-200: #e2d1b6;
  --gold-300: #d6b684;
  --gold-400: #cea059;
  --gold-500: #c78d33;
  --gold-600: #a47328;
  --gold-700: #835c20;
  --gold-800: #61451a;
  --gold-900: #433014;

  --stone-50: #faf9f7;
  --stone-100: #f2f0eb;
  --stone-200: #e6e2d9;
  --stone-300: #d3cdbf;
  --stone-400: #b0a795;
  --stone-500: #8c8172;
  --stone-600: #6b6255;
  --stone-700: #524b41;
  --stone-800: #3a352e;
  --stone-900: #26221d;

  --font-serif: Georgia, Cambria, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  --radius-xl2: 1.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--stone-50);
  color: var(--navy-900);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy-900);
  margin: 0;
}
p { margin: 0; line-height: 1.6; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }

/* Layout */
.container-page {
  margin: 0 auto;
  width: 100%;
  max-width: 72rem;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container-page { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-page { padding: 0 2rem; } }

.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }

/* Buttons */
.btn-primary, .btn-secondary, .btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-700); }
.btn-secondary { background: #fff; border-color: var(--navy-300); color: var(--navy-800); }
.btn-secondary:hover { border-color: var(--navy-400); background: var(--stone-50); }
.btn-secondary.on-dark { background: transparent; border-color: rgba(255,255,255,0.3); color: #fff; }
.btn-secondary.on-dark:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }
.btn-secondary.on-navy { background: #fff; border-color: #fff; color: var(--navy-800); }
.btn-gold { background: var(--gold-500); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-400); }
.btn-primary:disabled, .btn-gold:disabled { cursor: not-allowed; opacity: 0.5; }
.w-full { width: 100%; }

/* Cards */
.card {
  border-radius: var(--radius-xl2);
  border: 1px solid var(--stone-200);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.p-6 { padding: 1.5rem; }
.p-5 { padding: 1.25rem; }
.p-4 { padding: 1rem; }

.label-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-600);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--stone-200);
  background: rgba(250, 249, 247, 0.9);
  backdrop-filter: blur(8px);
}
.site-header .container-page {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex: none;
}
.brand img { height: 2.5rem; width: auto; }
.brand span {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy-900);
  white-space: nowrap;
}
.primary-nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.primary-nav a {
  font-size: 0.875rem;
  color: var(--navy-700);
  text-decoration: none;
  transition: color 0.15s;
}
.primary-nav a:hover { color: var(--navy-900); }
.primary-nav a.active { color: var(--navy-900); font-weight: 600; }
@media (min-width: 1024px) { .primary-nav { display: flex; } }
.header-actions { display: flex; align-items: center; gap: 0.75rem; flex: none; }
.get-help-link {
  display: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy-700);
  text-decoration: none;
}
.get-help-link:hover { color: var(--navy-900); }
@media (min-width: 640px) { .get-help-link { display: inline; } }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--navy-300);
  background: #fff;
  cursor: pointer;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.mobile-nav {
  display: none;
  border-top: 1px solid var(--stone-200);
  background: var(--stone-50);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0.5rem 0 1rem; }
.mobile-nav a {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.9375rem;
  color: var(--navy-700);
  text-decoration: none;
}
.mobile-nav a:hover { color: var(--navy-900); background: var(--stone-100); }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* Hero */
.hero {
  border-bottom: 1px solid var(--stone-200);
  background: linear-gradient(to bottom, var(--navy-900), var(--navy-950));
  color: #fff;
}
.hero .container-page {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.hero img.mark { height: 4rem; width: auto; }
.hero h1 {
  max-width: 42rem;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
.hero p { max-width: 36rem; font-size: 1.125rem; color: var(--navy-200); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; padding-top: 0.5rem; }

/* Sections */
.section { padding: 4rem 0; }
.section.bordered-top { border-top: 1px solid var(--stone-200); }
.section.white { background: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.section-head a.view-all { font-size: 0.875rem; font-weight: 500; color: var(--navy-700); text-decoration: underline; text-underline-offset: 4px; }

/* Grids */
.grid { display: grid; gap: 1.5rem; }
.grid.cols-2 { grid-template-columns: repeat(1, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) {
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.grid.impact-3 { grid-template-columns: repeat(1, 1fr); gap: 2rem; }
@media (min-width: 640px) { .grid.impact-3 { grid-template-columns: repeat(3, 1fr); } }
.grid.two-col { grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .grid.two-col { grid-template-columns: 1fr 1fr; } }
.grid.detail-layout { grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .grid.detail-layout { grid-template-columns: 1fr 360px; } }
.grid.faith-split { grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .grid.faith-split { grid-template-columns: 1fr 1fr; } }

/* Empty state */
.empty-state {
  border: 1px dashed var(--stone-300);
  border-radius: var(--radius-xl2);
  background: var(--stone-100);
  padding: 3rem 2rem;
  text-align: center;
}
.empty-state h3 { font-size: 1.125rem; font-weight: 600; color: var(--navy-900); }
.empty-state p { margin-top: 0.5rem; max-width: 32rem; margin-left: auto; margin-right: auto; color: var(--navy-600); font-size: 0.9375rem; }

/* Demo banner */
.demo-banner { border: 1px dashed var(--gold-400); border-radius: var(--radius-xl2); background: var(--gold-50); }
.demo-banner .demo-flag {
  display: inline-flex; align-items: center; gap: 0.375rem;
  margin: 1rem 0 0 1rem;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold-700);
}

/* Text helpers */
.text-navy-600 { color: var(--navy-600); }
.text-navy-500 { color: var(--navy-500); }
.text-navy-700 { color: var(--navy-700); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }

/* Callout / notice card */
.notice {
  border: 1px solid var(--gold-300);
  background: var(--gold-50);
  color: var(--navy-700);
  font-size: 0.875rem;
}
.notice p.notice-title { font-weight: 600; color: var(--navy-900); margin: 0; }
.notice p + p { margin-top: 0.5rem; }

/* Prose sections (legal pages, about, etc.) */
.prose > * + * { margin-top: 1.5rem; }
.prose h2 { font-size: 1.5rem; font-weight: 600; margin-top: 2.5rem; }
.prose section h2 { font-size: 1.125rem; }
.prose section p { margin-top: 0.5rem; font-size: 0.875rem; }
.prose a { text-decoration: underline; }

/* Tags / pills */
.pill {
  display: inline-block;
  border-radius: 9999px;
  background: var(--navy-50);
  color: var(--navy-700);
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Cause cards */
.cause-card {
  border-radius: var(--radius-xl2);
  border: 1px solid var(--stone-200);
  background: #fff;
  padding: 1.5rem;
}
.cause-card h3 { font-size: 1.0625rem; font-weight: 600; }
.cause-card p { margin-top: 0.375rem; font-size: 0.8125rem; color: var(--navy-500); }

/* Table (transparency) */
.table-wrap { overflow: hidden; overflow-x: auto; border-radius: var(--radius-xl2); border: 1px solid var(--stone-200); }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.875rem; }
thead { background: var(--stone-100); color: var(--navy-600); }
th, td { padding: 0.75rem 1.25rem; }
th { font-weight: 500; }
tbody tr + tr { border-top: 1px solid var(--stone-200); }
tbody { background: #fff; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 0.375rem; }
.field label { font-size: 0.875rem; font-weight: 500; color: var(--navy-800); }
.field input, .field textarea {
  border-radius: 0.75rem;
  border: 1px solid var(--stone-300);
  padding: 0.625rem 0.875rem;
  font: inherit;
  color: var(--navy-900);
  background: #fff;
}
.field input:focus, .field textarea:focus { border-color: var(--navy-400); }
.checkbox-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--navy-600); }
form.card { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
form.card h2 { font-size: 1.125rem; font-weight: 600; }

/* Donate form specific */
.freq-row, .amount-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 0.5rem; }
.chip {
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--navy-300);
  background: #fff;
  color: var(--navy-700);
  cursor: pointer;
}
.chip.selected { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.amount-other {
  width: 6rem;
  border-radius: 9999px;
  border: 1px solid var(--navy-300);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.field-label { font-size: 0.875rem; font-weight: 500; color: var(--navy-800); margin: 0; }
.hint { margin-top: 0.5rem; font-size: 0.75rem; color: var(--gold-700); }
.donate-note { border-radius: 0.75rem; background: var(--stone-100); padding: 1rem; font-size: 0.75rem; color: var(--navy-500); }
.donate-success { border: 1px solid var(--gold-300); background: var(--gold-50); border-radius: 0.75rem; padding: 1rem; font-size: 0.875rem; color: var(--navy-800); }

/* Progress bar */
.progress-track { height: 0.5rem; width: 100%; border-radius: 9999px; background: var(--stone-200); overflow: hidden; }
.progress-fill { height: 100%; border-radius: 9999px; background: var(--gold-500); }
.progress-row { display: flex; align-items: baseline; justify-content: space-between; font-size: 0.875rem; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 0.375rem; border-radius: 9999px; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 600; }
.badge.pending { background: var(--stone-200); color: var(--stone-700); }
.badge.review { background: var(--gold-100); color: var(--gold-800); }
.badge.verified { background: #dcf5e6; color: #166534; }

/* Sticky aside */
.sticky-aside { position: sticky; top: 6rem; height: fit-content; }

/* Footer */
.site-footer { border-top: 1px solid var(--stone-200); background: var(--navy-950); color: var(--stone-300); }
.footer-grid { display: grid; gap: 2.5rem; padding: 3.5rem 0; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand img { height: 3.5rem; width: auto; }
.footer-brand p.desc { margin-top: 1rem; max-width: 20rem; font-size: 0.875rem; color: var(--stone-400); }
.footer-contact { margin-top: 1rem; font-size: 0.75rem; color: var(--stone-400); }
.footer-contact p + p { margin-top: 0.25rem; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--stone-200); }
.footer-legal-note { margin-top: 0.75rem; font-size: 0.75rem; color: var(--stone-500); }
.footer-legal-note a { text-decoration: underline; }
.footer-col p.col-title { font-size: 0.875rem; font-weight: 600; color: #fff; }
.footer-col ul { list-style: none; margin: 0.75rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.875rem; color: var(--stone-400); text-decoration: none; }
.footer-col a:hover { color: var(--stone-200); }
.footer-bottom { border-top: 1px solid var(--navy-800); }
.footer-bottom .container-page {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 1.5rem 0; font-size: 0.75rem; color: var(--stone-500);
}
@media (min-width: 640px) { .footer-bottom .container-page { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--stone-300); }

/* Final CTA */
.cta-band { border-top: 1px solid var(--stone-200); background: var(--navy-900); color: #fff; }
.cta-band .container-page { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding: 4rem 0; text-align: center; }
.cta-band h2 { max-width: 36rem; font-size: 1.875rem; font-weight: 600; color: #fff; }
.cta-band .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* Thank-you page */
.thanks { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 8rem 0; text-align: center; }
.thanks .actions { margin-top: 1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

.list-dot { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: var(--navy-700); }
.list-dot li { display: flex; align-items: flex-start; gap: 0.5rem; }
.list-dot li::before { content: ""; margin-top: 0.4rem; height: 0.375rem; width: 0.375rem; flex: none; border-radius: 9999px; background: var(--gold-500); }
