/* Blessed Give Portal — concept A "Open Door". System fonts only, no external resources. */
:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --text: #2b2a28;
  --muted: #5a5650;
  --accent: #1f5f5b;
  --accent-hover: #164845;
  --accent-soft: #e6efed;
  --border: #e2dbd0;
  --warm-soft: #f6ecdc;
  --urgent-border: #9a3b26;
  --focus: #b0541a;
  --radius: 10px;
  --maxw: 68rem;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: Georgia, "Iowan Old Style", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 48rem) { .wrap { padding: 0 2rem; } }

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }
a:focus-visible, .button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--accent); color: #fff; padding: 0.5rem 1rem; border-radius: 6px;
  z-index: 10;
}
.skip-link:focus { top: 0.75rem; color: #fff; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.5rem 1.5rem; padding-top: 1rem; padding-bottom: 1rem;
}
.wordmark {
  font-family: var(--font-head); font-size: 1.375rem; font-weight: 700;
  color: var(--text); text-decoration: none; letter-spacing: 0.01em;
}
.wordmark:hover { color: var(--accent); }
.nav-list { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: inline-block; padding: 0.35rem 0; color: var(--text);
  text-decoration: none; border-bottom: 2px solid transparent;
}
.nav-list a:hover { color: var(--accent); border-bottom-color: var(--accent-soft); }
.nav-list a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }

/* Main */
main.wrap { padding-top: 2.5rem; padding-bottom: 4rem; }
main > * { max-width: 44rem; }
main > .card-list, main > .hero, main > .section { max-width: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.25; color: var(--text); }
h1 { font-size: clamp(1.9rem, 5vw, 2.75rem); margin: 0 0 1rem; }
h2 { font-size: 1.45rem; margin: 2.25rem 0 0.75rem; }
p { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }
.lead { font-size: 1.2rem; color: var(--text); }
.small { font-size: 0.95rem; color: var(--muted); }

/* Hero */
.hero { padding: 1rem 0 1.5rem; }
.hero h1 { max-width: 40rem; }
.hero .lead { max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }

.button {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 0.75rem 1.25rem; border-radius: 999px; text-decoration: none; font-weight: 600;
  min-height: 44px;
}
.button:hover { background: var(--accent-hover); color: #fff; }
.text-link { font-weight: 600; }

.section { border-top: 1px solid var(--border); margin-top: 2rem; padding-top: 0.25rem; }
.section > p, .section > ul, .section > figure { max-width: 44rem; }

/* Empty state */
.empty-state {
  background: var(--accent-soft); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; max-width: 44rem;
}
.empty-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.empty-state p:last-child { margin-bottom: 0; }

/* Service cards */
.card-list {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
@media (min-width: 48rem) { .card-list { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; margin: 0;
}
.card-title { font-size: 1.2rem; margin: 0 0 0.5rem; }
.card p { margin-bottom: 0.5rem; }
.card-url { font-size: 0.9rem; color: var(--muted); margin-bottom: 0; }

/* Verse */
.verse { margin: 1.5rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--accent); background: var(--warm-soft); border-radius: 0 var(--radius) var(--radius) 0; }
.verse blockquote { margin: 0; }
.verse blockquote p { font-family: var(--font-head); font-size: 1.25rem; margin: 0 0 0.25rem; }
.verse figcaption { color: var(--muted); font-size: 0.95rem; }

.principles { list-style: none; padding: 0; }
.principles li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); margin: 0; }
.principles li:last-child { border-bottom: 0; }

/* Contact */
.email-block { margin: 1.5rem 0 0.75rem; }
.email-block .button { overflow-wrap: anywhere; }
.notice {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem 1.5rem; margin: 0 0 1rem;
}
.notice h2 { font-size: 1.2rem; margin: 0.25rem 0 0.5rem; }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.notice-urgent { border-left: 4px solid var(--urgent-border); }

/* Draft / sample notes (test build only) */
.draft-note {
  background: var(--warm-soft); border: 1px dashed var(--muted); border-radius: var(--radius);
  padding: 0.75rem 1rem; font-size: 0.95rem;
}
.sample-banner { background: #7a1f12; color: #fff; text-align: center; padding: 0.5rem 1rem; font-weight: 700; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner { padding-top: 1.5rem; padding-bottom: 2rem; }
.footer-name { font-family: var(--font-head); font-weight: 700; margin-bottom: 0.5rem; }
.footer-links { list-style: none; padding: 0; margin: 0 0 0.75rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.footer-links a { overflow-wrap: anywhere; }
.footer-note { color: var(--muted); font-size: 0.9rem; margin: 0; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
