:root {
  --navy: #1c2b4a;
  --navy-deep: #121d33;
  --cream: #faf6ee;
  --paper: #ffffff;
  --gold: #d9a441;
  --gold-deep: #b5832a;
  --brick: #a4402e;
  --ink: #1f2430;
  --muted: #5d6475;
  --line: #e6dfd0;
  --radius: 14px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--brick); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--gold-deep); margin-bottom: .8em; }
section { padding: 88px 0; scroll-margin-top: 68px; }
.center { text-align: center; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #e4b456; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-navy { background: var(--navy); color: #fff; }

/* Nav */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 29, 51, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: Fraunces, serif; font-weight: 700; font-size: 1.3rem; }
.logo svg { width: 34px; height: 34px; }
.logo span em { font-style: normal; color: var(--gold); }
.nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav ul a { color: rgba(255,255,255,.82); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav ul a:hover { color: #fff; }
.nav .btn { padding: 9px 18px; font-size: .9rem; }
@media (max-width: 820px) { .nav ul { display: none; } }
@media (max-width: 420px) {
  .nav .btn { padding: 8px 14px; font-size: .82rem; white-space: nowrap; }
  .logo { font-size: 1.1rem; gap: 8px; }
  .logo svg { width: 28px; height: 28px; }
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 80% 10%, rgba(217,164,65,.22), transparent 55%),
    linear-gradient(180deg, var(--navy-deep), var(--navy));
  color: #fff; padding: 110px 0 120px; position: relative; overflow: hidden;
}
.hero h1 { color: #fff; max-width: 820px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p.lede { color: rgba(255,255,255,.8); font-size: 1.25rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero .verse {
  margin-top: 56px; padding-left: 18px; border-left: 3px solid var(--gold);
  font-family: Fraunces, serif; font-style: italic; font-size: 1.1rem; color: rgba(255,255,255,.85); max-width: 560px;
}
.hero .verse cite { display: block; font-style: normal; font-family: Inter, sans-serif; font-size: .85rem; color: var(--gold); margin-top: 6px; }
.hero-mark { position: absolute; right: -60px; bottom: -80px; width: 460px; opacity: .07; }
@media (max-width: 820px) { .hero-mark { display: none; } }

/* Countdown */
.countdown-bar { background: var(--gold); color: var(--navy-deep); }
.countdown-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; padding-top: 18px; padding-bottom: 18px; text-align: center; }
.countdown-bar strong { font-family: Fraunces, serif; font-size: 1.6rem; }
.countdown-bar a { color: var(--navy-deep); font-weight: 600; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 48px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.card .ref { font-size: .8rem; font-weight: 600; color: var(--gold-deep); letter-spacing: .06em; text-transform: uppercase; }
.card blockquote { margin: 10px 0 14px; font-family: Fraunces, serif; font-style: italic; color: var(--navy); font-size: 1.05rem; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Steps */
.steps { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 48px; counter-reset: step; }
.step { position: relative; padding: 32px 28px 28px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -22px; left: 28px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: var(--gold);
  font-family: Fraunces, serif; font-weight: 700; font-size: 1.3rem;
}
.step h3 { margin-top: 8px; }
.step p { color: var(--muted); font-size: .97rem; }
.step ul { padding-left: 18px; margin: 0 0 18px; color: var(--muted); font-size: .95rem; }
.step .btn { padding: 10px 20px; font-size: .92rem; }


/* State registration picker */
.register { padding-top: 88px; }
.state-picker { max-width: 440px; margin: 36px auto 0; }
.state-picker label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .9rem; }
.state-picker select {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 1.05rem; border-radius: 12px;
  border: 2px solid var(--navy); background: #fff; color: var(--ink); cursor: pointer;
}
.state-picker select:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.state-result {
  max-width: 820px; margin: 28px auto 0; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; box-shadow: 0 8px 30px rgba(28,43,74,.07);
}
.sr-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.sr-head h3 { font-size: 1.7rem; margin: 0; }
.sr-badge { font-size: .85rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: #e8f3ea; color: #24613a; }
.sr-badge.soon { background: #fff4dc; color: #7a5510; }
.sr-badge.closed { background: #f9e4e0; color: #8a2f20; }
.sr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.sr-item { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.sr-item.na { opacity: .6; }
.sr-item .k { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--gold-deep); }
.sr-item .v { font-family: Fraunces, serif; font-size: 1.2rem; color: var(--navy); margin: 4px 0 2px; }
.sr-item .h { font-size: .88rem; color: var(--muted); }
.sr-note { margin: 18px 0 0; color: var(--ink); }
.sr-note:empty { display: none; }
.sr-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--cream); }
.sr-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 18px; }
.sr-more a { display: block; text-decoration: none; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); }
.sr-more a:hover { border-color: var(--gold); }
.sr-more b { display: block; font-size: .98rem; }
.sr-more span { display: block; font-size: .85rem; color: var(--muted); margin-top: 2px; }
.sr-source { margin: 20px 0 0; font-size: .82rem; color: var(--muted); }

/* Pledge */
.pledge { background: linear-gradient(180deg, var(--navy), var(--navy-deep)); color: #fff; }
.pledge h2 { color: #fff; }
.pledge .lede { color: rgba(255,255,255,.78); }
.pledge-box { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .pledge-box { grid-template-columns: 1fr; } }
.pledge-text {
  font-family: Fraunces, serif; font-size: 1.15rem; line-height: 1.7; color: rgba(255,255,255,.92);
  border-left: 3px solid var(--gold); padding-left: 22px; margin-top: 24px;
}
form.pledge-form { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 30px; }
form.pledge-form h3 { color: var(--navy); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; color: var(--navy); }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid #cfc8b8; border-radius: 10px;
  font: inherit; background: #fff;
}
.field input:focus, .field select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; font-size: .88rem; color: var(--muted); margin: 6px 0 18px; }
form.pledge-form .btn { width: 100%; justify-content: center; }
.thanks { display: none; text-align: center; padding: 20px 0; }
.thanks .big { font-family: Fraunces, serif; font-size: 1.8rem; color: var(--navy); }
.pledge-count { margin-top: 18px; font-size: .95rem; color: rgba(255,255,255,.75); }
.pledge-count b { color: var(--gold); font-size: 1.2rem; }

/* Churches */
.church-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 44px; }
.res { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.res .icon { width: 46px; height: 46px; border-radius: 12px; background: #f3ead6; display: grid; place-items: center; margin-bottom: 14px; }
.res .icon svg { width: 24px; height: 24px; stroke: var(--gold-deep); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.res p { color: var(--muted); font-size: .95rem; flex: 1; }
.res a.more { font-weight: 600; text-decoration: none; }
.note {
  margin-top: 36px; padding: 18px 22px; background: #fff8e8; border: 1px solid #f0dfb6; border-radius: 12px;
  font-size: .92rem; color: #5c4a22;
}

/* Prayer */
.prayer { background: var(--paper); border-top: 1px solid var(--line); }
.prayer-list { max-width: 720px; margin: 36px auto 0; display: grid; gap: 12px; text-align: left; }
.prayer-item { display: flex; gap: 16px; padding: 16px 20px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); }
.prayer-item .d { font-family: Fraunces, serif; font-weight: 700; color: var(--gold-deep); min-width: 64px; }

/* FAQ */
.faq { max-width: 760px; margin: 40px auto 0; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold-deep); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* CTA + footer */
.cta { text-align: center; background: var(--brick); color: #fff; padding: 72px 0; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); }
footer { background: var(--navy-deep); color: rgba(255,255,255,.6); padding: 48px 0 36px; font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
footer a { color: rgba(255,255,255,.8); text-decoration: none; }
footer a:hover { color: var(--gold); }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.disclaimer { width: 100%; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; font-size: .8rem; }

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .sr-actions .btn { width: 100%; justify-content: center; text-align: center; }
  .state-result { padding: 22px 18px; }
  .hero { padding: 72px 0 84px; }
  .row2 { grid-template-columns: 1fr; }
}

/* ---- Subpages (toolkit) ---------------------------------------------- */
.page-hero { background: linear-gradient(180deg, var(--navy-deep), var(--navy)); color: #fff; padding: 64px 0 56px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero .lede { color: rgba(255,255,255,.8); }
.crumb { font-size: .9rem; margin-bottom: 14px; }
.crumb a { color: var(--gold); text-decoration: none; }
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h2 { font-size: 1.7rem; margin-top: 44px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin-top: 26px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc .card { margin: 18px 0; }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border: 2px solid var(--gold-deep); border-radius: 5px; }
.script-box { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 22px 24px; font-family: Fraunces, Georgia, serif; font-size: 1.08rem; line-height: 1.75; color: var(--navy); }
.script-box p:last-child { margin-bottom: 0; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.tools .btn { padding: 10px 18px; font-size: .92rem; }
.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
@media (max-width: 680px) { .do-dont { grid-template-columns: 1fr; } }
.do-dont > div { border-radius: 12px; padding: 20px 22px; border: 1px solid var(--line); background: var(--paper); }
.do-dont h3 { margin-top: 0; }
.do-dont .yes { border-top: 4px solid #3b8a55; }
.do-dont .no { border-top: 4px solid var(--brick); }
.do-dont ul { margin: 0; }
.fine { font-size: .88rem; color: var(--muted); }
.kit-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0; }
.kit-links a { display: block; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--navy); }
.kit-links a:hover { border-color: var(--gold); }
.kit-links b { display: block; }
.kit-links span { font-size: .88rem; color: var(--muted); }
.subnav .btn-ghost-sm { color: rgba(255,255,255,.85); text-decoration: none; font-size: .92rem; font-weight: 500; }

/* ---- Printable handout (two half-sheets per letter page) ------------- */
.sheet { display: grid; gap: 24px; margin-top: 28px; }
.half { border: 2px dashed var(--line); border-radius: 12px; padding: 28px 30px; background: #fff; }
.h-brand { font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 1.3rem; color: var(--navy); }
.h-brand span { color: var(--gold-deep); }
.h-title { font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 1.7rem; line-height: 1.15; color: var(--navy); margin: 8px 0 14px; }
.h-title em { color: var(--gold-deep); }
.h-body { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.h-body ol { margin: 0; padding-left: 20px; }
.h-body li { margin-bottom: 6px; }
.h-qr { text-align: center; font-size: .82rem; color: var(--muted); }
.h-qr img { display: block; margin: 0 auto 6px; }
.h-verse { margin-top: 14px; font-family: Fraunces, Georgia, serif; font-style: italic; color: var(--navy); font-size: .95rem; }
.h-fine { margin-top: 6px; font-size: .75rem; color: var(--muted); }
@media (max-width: 560px) { .h-body { grid-template-columns: 1fr; } }
@media print {
  @page { size: letter portrait; margin: 0.35in; }
  body { background: #fff; }
  header.nav, .page-hero, footer, .no-print { display: none !important; }
  .doc { max-width: none; padding: 0; }
  .sheet { gap: 0; margin: 0; }
  .half { height: 5.1in; border: none; border-bottom: 1px dashed #999; border-radius: 0; padding: 0.35in 0.45in; break-inside: avoid; }
  .half:last-child { border-bottom: none; }
  .h-body { grid-template-columns: 1fr auto; }
  a { color: inherit; text-decoration: none; }
}

/* ---- Church link banner + sign-up CTA ---------------------------------- */
.church-banner { background: var(--gold); color: var(--navy-deep); font-weight: 600; }
.church-banner .wrap { padding-top: 12px; padding-bottom: 12px; text-align: center; }
.church-banner a { color: var(--navy-deep); white-space: nowrap; }
.church-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 22px 26px; }
.church-cta h3 { margin: 0 0 4px; }
.church-cta p { margin: 0; color: var(--muted); max-width: 560px; }
.church-form { max-width: 620px; margin: 22px 0 10px; border: 1px solid var(--line); }
.church-link { font-family: Fraunces, Georgia, serif; font-size: 1.2rem; word-break: break-all; }
.form-error { color: var(--brick); font-weight: 600; }
.church-list h3 { margin: 22px 0 8px; font-size: 1.1rem; }
.church-list ul { list-style: none; padding: 0; margin: 0; }
.church-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.church-list li a { font-weight: 600; color: var(--navy); text-decoration: none; }
.church-list li span { color: var(--muted); font-size: .92rem; }
