:root {
  --navy: #0a355d;
  --navy-deep: #062844;
  --gold: #c58a2b;
  --paper: #fbf2db;
  --cream: #fffaf0;
  --ink: #24313d;
  --muted: #617080;
  --line: rgba(10, 53, 93, 0.17);
  --shadow: 0 18px 55px rgba(30, 38, 45, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }

.hero {
  min-height: 100svh;
  position: relative;
  background: url('/assets/background.png') center/cover no-repeat;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,250,240,.88) 0%, rgba(255,250,240,.72) 48%, rgba(255,250,240,.28) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: 34px 0;
}
.hero__logo {
  width: 100%;
  max-width: 310px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.hero__copy { max-width: 670px; }
h1, h2, h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  color: var(--navy-deep);
  line-height: 1.18;
}
h1 { font-size: clamp(2.2rem, 5vw, 4.5rem); margin: 0 0 18px; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 0 0 18px; }
h3 { font-size: 1.25rem; margin-top: 0; }
.hero__copy p { font-size: clamp(1.05rem, 1.8vw, 1.24rem); max-width: 64ch; margin: 0 0 26px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--navy); color: white; box-shadow: 0 12px 30px rgba(10,53,93,.24); }
.button--full { width: 100%; }
.button:disabled { opacity: .6; cursor: wait; transform: none; }

.section { padding: 78px 0; }
.section--light { background: var(--cream); }
.section--paper {
  background: linear-gradient(rgba(255,248,230,.9), rgba(255,248,230,.9)), url('/assets/background.png') center/cover fixed;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .83rem;
}
.content-narrow { max-width: 780px; }
.request-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 60px; align-items: start; }
.section-copy { position: sticky; top: 24px; }
.small-note { color: var(--muted); font-size: .95rem; }

.prayer-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(22px, 4vw, 38px);
  box-shadow: var(--shadow);
}
.prayer-card label > span:first-child,
.amount-fieldset legend {
  display: block;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 7px;
}
.prayer-card > label { display: block; margin-bottom: 18px; }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  border: 1px solid #cdd6df;
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
textarea { resize: vertical; min-height: 145px; }
input:focus, textarea:focus { outline: 3px solid rgba(197,138,43,.22); border-color: var(--gold); }
.amount-fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.amount-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amount-option { margin: 0 !important; }
.amount-option input { position: absolute; opacity: 0; pointer-events: none; }
.amount-option span {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  border: 2px solid var(--line);
  border-radius: 14px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  cursor: pointer;
}
.amount-option input:checked + span { border-color: var(--gold); background: #fff7e5; box-shadow: inset 0 0 0 1px var(--gold); }
.monthly-option {
  display: grid !important;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: start;
  padding: 15px;
  background: #f7f3e8;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.monthly-option input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy); }
.monthly-option span { margin: 0 !important; font-weight: 400 !important; color: var(--ink) !important; }
.secure-note, .form-message { text-align: center; color: var(--muted); font-size: .9rem; margin: 10px 0 0; }
.form-message.error { color: #a12626; }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy-deep); }

.footer { background: var(--navy-deep); color: white; padding: 26px 0; }
.footer__inner { display: grid; grid-template-columns: 76px 1fr auto; gap: 18px; align-items: center; }
.footer__logo { width: 76px; border-radius: 10px; }
.footer p { margin: 2px 0 0; opacity: .8; }
.footer nav { display: flex; gap: 18px; }
.footer nav a { opacity: .9; text-decoration: none; }

.legal-page { min-height: 100vh; padding: 50px 0 90px; background: var(--cream); }
.legal-page .back { display: inline-block; margin-bottom: 28px; color: var(--navy); }

@media (max-width: 820px) {
  .hero__content { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 18px; }
  .hero__logo { max-width: 200px; }
  .hero__copy p { margin-left: auto; margin-right: auto; }
  .request-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-copy { position: static; }
  .trust-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 26px, 1120px); }
  .hero { min-height: 100svh; }
  .hero__content { padding: 18px 0 22px; gap: 10px; }
  .hero__logo { max-width: 130px; border-radius: 14px; }
  h1 { font-size: clamp(1.72rem, 8vw, 2.25rem); margin-bottom: 10px; }
  .hero__copy p { font-size: .98rem; line-height: 1.42; margin-bottom: 15px; }
  .hero__cta { padding: 12px 20px; }
  .section { padding: 56px 0; }
  .prayer-card { border-radius: 18px; }
  .footer__inner { grid-template-columns: 56px 1fr; }
  .footer__logo { width: 56px; }
  .footer nav { grid-column: 1 / -1; }
}

@media (max-height: 690px) and (max-width: 520px) {
  .hero__logo { max-width: 92px; }
  h1 { font-size: 1.55rem; }
  .hero__copy p { font-size: .9rem; line-height: 1.34; margin-bottom: 10px; }
  .hero__cta { padding: 10px 18px; }
}
