:root {
  color-scheme: light;
  --ink: #17241f;
  --muted: #5f6d67;
  --forest: #174d3b;
  --forest-dark: #0c3025;
  --gold: #c79635;
  --gold-light: #f1dfb5;
  --ivory: #fbfaf6;
  --paper: #ffffff;
  --line: #d9ddd9;
  --danger: #9b2c2c;
  --success: #16754d;
  --shadow: 0 16px 44px rgba(18, 46, 35, 0.12);
  --radius: 8px;
  font-family: Georgia, 'Times New Roman', serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
}

button,
input,
textarea { font: inherit; }

a { color: inherit; }

img { display: block; max-width: 100%; }

.sans,
.eyebrow,
.brand,
.button,
.field label,
.tier-label,
.price,
.progress-label,
.notice,
.site-footer,
.setup-banner {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.site-header--solid {
  position: static;
  background: var(--forest-dark);
}

.site-header__inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 19px;
}

.header-link {
  color: rgba(255, 255, 255, 0.84);
  font: 650 13px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
}

.hero {
  min-height: min(760px, 88vh);
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--forest-dark) url('/assets/prayer-hero.png') center / cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 27, 21, 0.92) 0%, rgba(7, 27, 21, 0.68) 46%, rgba(7, 27, 21, 0.12) 76%);
}

.hero__inner,
.content,
.offer-wrap,
.upsell-wrap,
.legal-wrap {
  width: min(980px, calc(100% - 40px));
  margin-inline: auto;
}

.hero__inner {
  padding: 118px 0 70px;
}

.hero__copy { max-width: 610px; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.14;
  font-weight: 500;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0;
}

.lead {
  max-width: 700px;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--forest);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover { transform: translateY(-1px); background: #1d604a; }
.button:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.button--gold { background: var(--gold); color: #16130c; }
.button--gold:hover { background: #d6aa51; }
.button--ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.button--ghost:hover { background: #f2f3ef; }
.button--wide { width: 100%; }

.hero .button { margin-top: 12px; }

.content {
  padding: 72px 0;
}

.content--narrow { max-width: 760px; }

.section-band { background: #edf1ed; }

.prose {
  font-size: 18px;
  color: #34413b;
}

.prose p { margin-bottom: 22px; }

.process-page,
.order-page,
.upsell-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #eef2ef 0, var(--ivory) 45%);
}

.form-panel,
.process-panel,
.upsell-panel {
  max-width: 720px;
  margin: 0 auto;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.field { margin-bottom: 22px; }

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #aeb7b1;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  font-size: 17px;
  outline: none;
}

.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(23, 77, 59, 0.12); }

.notice {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-error { min-height: 24px; color: var(--danger); }

.process-wrap { padding: 120px 0 80px; }
.process-panel { text-align: center; }

.process-symbol {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7efe9;
  color: var(--forest);
  font-size: 34px;
}

.progress-track {
  width: 100%;
  height: 12px;
  margin: 28px 0 12px;
  overflow: hidden;
  border-radius: 6px;
  background: #e4e8e5;
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--forest);
  transition: width 180ms ease;
}

.progress-label { color: var(--muted); font-size: 14px; }

.offer-wrap { padding: 74px 0 90px; }
.offer-letter { max-width: 780px; margin: 0 auto 52px; font-size: 18px; }
.offer-letter p { margin-bottom: 22px; }

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 26px rgba(18, 46, 35, 0.08);
}

.tier--featured { border: 2px solid var(--gold); transform: translateY(-10px); }

.tier-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--gold);
  color: #16130c;
  font: 800 12px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
}

.tier-label { min-height: 44px; color: var(--muted); font-size: 14px; font-weight: 800; }
.price { margin: 8px 0 20px; color: var(--forest-dark); font-size: 42px; font-weight: 850; line-height: 1; }
.tier-copy { flex: 1; color: var(--muted); font-size: 15px; }

.setup-banner {
  display: none;
  width: min(980px, calc(100% - 40px));
  margin: 20px auto 0;
  padding: 12px 16px;
  border: 1px solid #dbb566;
  border-radius: 6px;
  background: #fff6de;
  color: #684d16;
  font-size: 14px;
}

.setup-banner.is-visible { display: block; }

.upsell-wrap { padding: 72px 0 90px; }
.upsell-panel { max-width: 820px; }
.step {
  color: var(--gold);
  font: 800 13px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
}

.cover-placeholder {
  min-height: 220px;
  margin: 26px 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 28px;
  border: 1px solid #d4dad6;
  border-radius: 6px;
  background: #edf2ee;
  text-align: center;
}

.cover-placeholder strong { color: var(--forest-dark); font-size: 24px; }
.cover-placeholder span { color: var(--muted); }

.action-stack { display: grid; gap: 12px; }
.skip-link {
  display: block;
  padding: 8px;
  color: var(--muted);
  font: 650 13px/1.4 Inter, ui-sans-serif, system-ui, sans-serif;
  text-align: center;
}

.site-footer {
  padding: 34px 20px;
  border-top: 1px solid var(--line);
  color: #66716c;
  background: #f4f4f0;
  font-size: 13px;
  text-align: center;
}

.legal-entity {
  margin: 18px auto;
  color: #4f5d57;
  line-height: 1.65;
}

.business-section { padding-top: 58px; }
.business-section .eyebrow { color: var(--forest); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-bottom: 12px;
}

.legal-wrap { max-width: 760px; padding: 70px 0; }
.legal-wrap h1 { color: var(--forest-dark); font-size: 44px; }

@media (max-width: 760px) {
  .site-header__inner { width: min(100% - 28px, 1120px); min-height: 64px; }
  .header-link { display: none; }
  .hero { min-height: 92svh; background-position: 61% center; }
  .hero::before { background: linear-gradient(180deg, rgba(7, 27, 21, 0.82), rgba(7, 27, 21, 0.9)); }
  .hero__inner,
  .content,
  .offer-wrap,
  .upsell-wrap,
  .legal-wrap { width: min(100% - 28px, 980px); }
  .hero__inner { padding: 104px 0 50px; align-self: end; }
  h1 { font-size: 43px; }
  h2 { font-size: 31px; }
  .lead { font-size: 18px; }
  .content { padding: 54px 0; }
  .form-panel,
  .process-panel,
  .upsell-panel { padding: 26px 20px; }
  .process-wrap { padding: 76px 0 50px; }
  .offer-wrap { padding: 48px 0 64px; }
  .tier-grid { grid-template-columns: 1fr; gap: 16px; }
  .tier--featured { order: -1; transform: none; margin-top: 12px; }
  .tier-label { min-height: 0; }
  .button { width: 100%; }
  .legal-wrap h1 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

/* Campaign page: mirrors the reference funnel's composition without reusing its identity. */
.reference-page {
  min-width: 320px;
  background: #f5f5f5;
  color: #303030;
  font-family: Lato, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.reference-header {
  padding: 20px 0 12px;
  background: rgba(255, 255, 255, 0.94);
  text-align: center;
}

.reference-logo {
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0 auto 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #6a7175;
  text-decoration: none;
  text-align: left;
}

.reference-logo__mark {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border: 2px solid #7f9295;
  border-radius: 50%;
  color: #5c777c;
  font: 700 25px/1 Georgia, serif;
}

.reference-logo strong,
.reference-logo small { display: block; letter-spacing: 0; }
.reference-logo strong { font: italic 600 22px/1 Georgia, serif; }
.reference-logo small { margin-top: 2px; font-size: 11px; text-transform: uppercase; }

.reference-ribbon {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10px 16px;
  background: #52c7a8;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.reference-main { background: #f5f5f5; }

.reference-section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0 8px;
  text-align: center;
}

.reference-section h1,
.reference-section h2,
.reference-section h3,
.reference-section p { letter-spacing: 0; }

.reference-section h1 {
  max-width: 940px;
  margin: 0 auto 24px;
  color: #303030;
  font: 800 36px/1.12 Lato, Arial, sans-serif;
}

.reference-section h1 span,
.reference-section h2 span { color: #4d9bed; }

.reference-section > p {
  max-width: 1000px;
  margin: 0 auto 22px;
  color: #3f4447;
  font-size: 16px;
  line-height: 1.55;
}

.reference-section h2 {
  margin: 0 auto 18px;
  color: #303030;
  font: 800 28px/1.18 Lato, Arial, sans-serif;
}

.reference-photo {
  display: block;
  width: 100%;
  margin: 34px auto 0;
  border-radius: 4px;
  object-fit: cover;
}

.reference-photo--hero { max-width: 800px; aspect-ratio: 3 / 2; }
.reference-photo--wide { max-width: 900px; aspect-ratio: 16 / 9; }
.reference-photo--box { max-width: 640px; aspect-ratio: 4 / 3; }

.reference-prayer { padding-top: 82px; }

.reference-form {
  width: min(700px, 100%);
  margin: 34px auto 0;
  padding: 28px;
  border-radius: 4px;
  background: #0863b5;
  color: #fff;
}

.reference-form h3 {
  margin: 0 0 22px;
  color: #fff;
  font: 800 23px/1.2 Lato, Arial, sans-serif;
}

.reference-form input,
.reference-form textarea {
  width: 100%;
  display: block;
  margin: 0 0 14px;
  border: 0;
  border-radius: 2px;
  background: #fff;
  color: #303030;
  font: 15px/1.4 Lato, Arial, sans-serif;
}

.reference-form input { min-height: 48px; padding: 0 15px; }
.reference-form textarea { min-height: 150px; padding: 14px 15px; resize: vertical; }
.reference-form input:focus,
.reference-form textarea:focus { outline: 3px solid rgba(255, 190, 54, 0.55); }

.reference-form button,
.reference-cta {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border: 0;
  border-radius: 24px;
  background: #f5a623;
  color: #24313b;
  font: 800 15px/1.2 Lato, Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.reference-form button:hover,
.reference-cta:hover { background: #ffb83e; transform: translateY(-1px); }
.reference-form button:focus-visible,
.reference-cta:focus-visible { outline: 3px solid #79d9c2; outline-offset: 3px; }
.reference-form button:disabled { opacity: 0.65; cursor: wait; }

.reference-error {
  min-height: 20px;
  margin: -2px 0 12px;
  color: #ffe2e2;
  font-size: 13px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reference-how { padding-top: 90px; }

.reference-steps {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px;
}

.reference-steps article { min-width: 0; }
.reference-step-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border: 3px solid #52c7a8;
  color: #2db591;
  font-size: 24px;
  font-weight: 900;
}

.reference-steps h3 {
  margin: 0 0 10px;
  color: #303030;
  font: 800 18px/1.25 Lato, Arial, sans-serif;
}

.reference-steps strong { display: block; margin-bottom: 10px; font-size: 16px; }
.reference-steps p { margin: 0; color: #52585b; font-size: 14px; line-height: 1.55; }

.reference-copy { padding-top: 94px; }
.reference-copy > p { max-width: 1050px; }
.reference-copy .reference-cta { margin-top: 10px; }
.reference-final { padding-bottom: 92px; }

.reference-footer {
  padding: 48px 20px 58px;
  border: 0;
  background: #fff;
  color: #555c60;
  font: 13px/1.55 Lato, Arial, sans-serif;
  text-align: center;
}

.reference-logo--footer { margin-bottom: 20px; }
.reference-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-bottom: 22px; }
.reference-footer nav a { color: #398bdc; text-decoration: none; }
.reference-footer p { max-width: 900px; margin: 0 auto 14px; }

@media (max-width: 760px) {
  .reference-header { padding-top: 14px; }
  .reference-ribbon { width: 100%; font-size: 12px; }
  .reference-section { width: min(100% - 28px, 1120px); padding-top: 48px; }
  .reference-section h1 { font-size: 28px; }
  .reference-section h2 { font-size: 24px; }
  .reference-section > p { font-size: 15px; }
  .reference-prayer,
  .reference-how,
  .reference-copy { padding-top: 62px; }
  .reference-form { padding: 22px 16px; }
  .reference-form h3 { font-size: 20px; }
  .reference-steps { grid-template-columns: 1fr; gap: 44px; }
  .reference-steps article { max-width: 360px; margin: 0 auto; }
  .reference-photo { margin-top: 24px; }
  .reference-final { padding-bottom: 62px; }
  .reference-footer { padding-inline: 18px; }
}
