/* ==========================================================
   Steadfast website styles
   Colors and fonts live in the :root block below.
   Change a value there and it updates everywhere.
   ========================================================== */

:root {
  /* Colors */
  --night: #141B2D;        /* hero and pricing background */
  --night-soft: #1F2840;   /* raised panels on dark */
  --dawn: #E6A94F;         /* the one accent: buttons, horizon */
  --dawn-deep: #C98A2E;    /* button hover */
  --ink: #1C2230;          /* body text on light */
  --ink-soft: #545B6B;     /* secondary text on light */
  --paper: #F3F2EE;        /* alternate section background */
  --white: #FFFFFF;
  --line: #D9D8D2;         /* borders on light */
  --mist: #B8BFD0;         /* secondary text on dark */

  /* Fonts */
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Segoe UI", Arial, sans-serif;

  /* Layout */
  --wrap: 1120px;
  --gutter: 24px;
  --radius: 10px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.4rem; font-weight: 600; }
.h2-small { font-size: 1.8rem; }

p { margin: 0 0 1em; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--dawn);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow { max-width: 760px; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--dawn); color: var(--night);
  padding: 10px 16px; border-radius: 6px; z-index: 100;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn-dawn { background: var(--dawn); color: var(--night); }
.btn-dawn:hover { background: var(--dawn-deep); }
.btn-small {
  padding: 9px 18px;
  font-size: 0.92rem;
  background: var(--dawn);
  color: var(--night);
}
.btn-small:hover { background: var(--dawn-deep); }
.btn-block { display: block; text-align: center; width: 100%; }
.btn.is-disabled { opacity: 0.45; cursor: not-allowed; }
.btn.is-disabled:hover { background: var(--dawn); }

.btn-ghost {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--dawn); color: var(--dawn); }

.text-link {
  font-weight: 500;
  text-underline-offset: 4px;
}
.text-link.light { color: var(--white); }
.text-link.light:hover { color: var(--dawn); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 27, 45, 0.94);
  backdrop-filter: blur(8px);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex; align-items: center; gap: 32px;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
}
.brand-mark { width: 28px; height: 28px; color: var(--dawn); }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a {
  color: var(--mist);
  text-decoration: none;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 45% at 50% 100%, rgba(230, 169, 79, 0.28), transparent 70%),
    linear-gradient(180deg, #0F1424 0%, var(--night) 55%, #232B44 100%);
  color: var(--white);
  padding: 88px 0 120px;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-lede {
  font-size: 1.22rem;
  color: #D7DBE6;
  max-width: 34em;
  margin-bottom: 1.8em;
}
.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px;
}
.hero-fine {
  margin-top: 1.6em;
  font-size: 0.92rem;
  color: var(--mist);
}

/* The sunrise line along the bottom of the hero */
.horizon {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--dawn) 30%, var(--dawn) 70%, transparent);
  opacity: 0.8;
}

/* ---------- Phone mockup ---------- */
.phone {
  justify-self: center;
  width: 300px;
  aspect-ratio: 9 / 19;
  border-radius: 44px;
  padding: 12px;
  background: #0A0E19;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 30px 60px rgba(0, 0, 0, 0.45);
}
.phone-screen {
  height: 100%;
  border-radius: 34px;
  padding: 40px 14px 20px;
  display: flex; flex-direction: column; align-items: center;
  background:
    radial-gradient(ellipse 120% 50% at 50% 100%, rgba(230, 169, 79, 0.55), transparent 70%),
    linear-gradient(180deg, #1A2340 0%, #2C3557 60%, #5A4A49 100%);
}
.phone-date { margin: 0; font-size: 0.9rem; color: #E3E6EF; }
.phone-time {
  margin: 0 0 22px;
  font-family: var(--sans);
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
}
.note {
  width: 100%;
  background: rgba(246, 245, 241, 0.94);
  color: var(--ink);
  border-radius: 18px;
  padding: 12px 14px 14px;
}
.note-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; color: var(--ink-soft);
  margin-bottom: 6px;
}
.note-app { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.note-app svg { width: 16px; height: 16px; color: var(--dawn-deep); }
.note-title { margin: 0 0 4px; font-weight: 600; font-size: 0.9rem; }
.note-verse {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.35;
}
.note-ref { margin: 0; font-size: 0.78rem; color: var(--ink-soft); font-weight: 500; }
.phone-lock {
  margin: auto 0 0;
  font-size: 0.78rem;
  color: #F1E2C8;
  background: rgba(10, 14, 25, 0.35);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-paper { background: var(--paper); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head p { font-size: 1.12rem; color: var(--ink-soft); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.lead-p {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.45;
  color: var(--ink);
}

/* ---------- Steps (a real sequence, so numbered) ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}
.steps li {
  counter-increment: step;
  padding: 26px 26px 10px 0;
}
.steps li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--dawn-deep);
  margin-bottom: 14px;
}
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--ink-soft); font-size: 0.98rem; }

.escape-note {
  margin-top: 48px;
  padding: 20px 24px;
  border-left: 3px solid var(--dawn);
  background: var(--paper);
  max-width: 720px;
}
.escape-note p { margin: 0; }

/* ---------- Lists ---------- */
.check-list, .x-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li, .x-list li {
  position: relative;
  padding: 7px 0 7px 30px;
}
.check-list li::before {
  content: "";
  position: absolute; left: 2px; top: 15px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--dawn-deep);
  border-bottom: 2px solid var(--dawn-deep);
  transform: rotate(-45deg);
}
.x-list li::before, .x-list li::after {
  content: "";
  position: absolute; left: 2px; top: 18px;
  width: 14px; height: 2px;
  background: var(--ink-soft);
}
.x-list li::before { transform: rotate(45deg); }
.x-list li::after { transform: rotate(-45deg); }

.partner-lists { display: grid; gap: 28px; }
.partner-lists h3 { font-size: 1.2rem; margin-bottom: 0.3em; }

/* ---------- Device table ---------- */
.device-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}
.device-table th {
  text-align: left;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding: 0 12px 10px 0;
  border-bottom: 2px solid var(--ink);
}
.device-table td {
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.device-table td:first-child { font-weight: 600; white-space: nowrap; }
.tag {
  display: inline-block;
  font-size: 0.8rem;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  white-space: nowrap;
}
.tag-now { border-color: var(--dawn-deep); color: #8A5A12; background: #FBF1E0; }

/* ---------- Scripture reader (the memorable part) ---------- */
.scripture {
  background: var(--night);
  color: var(--white);
}
.scripture .section-head p { color: var(--mist); }
.reader {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 0 8px;
}
.reader-day {
  font-size: 0.9rem;
  color: var(--dawn);
  font-weight: 500;
}
.reader-verse {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.32;
  min-height: 4.2em;
  transition: opacity 0.25s ease;
}
.reader-verse.is-changing { opacity: 0; }
.reader-ref {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--dawn);
}
.reader-prayer {
  max-width: 560px;
  margin: 18px auto 32px;
  color: var(--mist);
  font-size: 1rem;
}
.reader-controls {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
}
.translation-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.85rem;
  color: var(--mist);
}

/* ---------- Pricing ---------- */
.pricing {
  background: linear-gradient(180deg, var(--night) 0%, #232B44 100%);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.pricing-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}
.pricing-copy p { color: #D7DBE6; font-size: 1.1rem; max-width: 32em; }
.pricing-copy .trial-note { color: var(--mist); font-size: 1rem; }

.pass {
  background: var(--white);
  color: var(--ink);
  border-radius: 16px;
  padding: 32px;
  border-top: 6px solid var(--dawn);
}
.pass-name { font-weight: 600; margin-bottom: 4px; }
.pass-price { margin-bottom: 18px; }
.pass-amount {
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
}
.pass-term { color: var(--ink-soft); }

.agree {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 18px 0 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.92rem;
  cursor: pointer;
}
.agree input {
  width: 20px; height: 20px;
  margin-top: 2px;
  accent-color: var(--dawn-deep);
  flex-shrink: 0;
}
.buy-message {
  min-height: 1.4em;
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- FAQ ---------- */
#faq h2 { margin-bottom: 0.8em; }
details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  padding: 16px 40px 16px 0;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute; right: 4px; top: 12px;
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--dawn-deep);
}
details[open] summary::after { content: "\2212"; }
details p { color: var(--ink-soft); padding-right: 40px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0F1424;
  color: var(--mist);
  padding: 48px 0;
  font-size: 0.9rem;
}
.footer-inner {
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-verse { font-family: var(--serif); font-style: italic; font-size: 1.05rem; max-width: 30em; }
.footer-meta { text-align: right; }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero-inner, .two-col, .pricing-inner { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-meta { text-align: left; }
}

/* ---------- Phone ---------- */
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 80px; }
  .phone { width: 270px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 22px 0 6px; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .pass { padding: 24px; }
  .device-table td:nth-child(2) { font-size: 0.9rem; }
}

/* ==========================================================
   New features: "I'm tempted", freedom counter, memory verse,
   partner guide, church plans
   ========================================================== */

.section-lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 36em; }
.h3-quiet { font-size: 1.3rem; margin-top: 1.4em; }

.btn-dark { background: var(--night); color: var(--white); }
.btn-dark:hover { background: #2A3452; }

.btn-outline {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.btn-outline:hover { border-color: var(--dawn-deep); color: #8A5A12; }

/* Phone mockup: streak line */
.phone-streak {
  margin: 14px 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white);
}

/* ---------- "I'm tempted" section preview ---------- */
#tempted .check-list { margin-bottom: 1.6em; }
.tempted-preview {
  justify-self: center;
  width: 100%;
  max-width: 340px;
  background: var(--night);
  color: var(--white);
  border-radius: 24px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 24px 48px rgba(20, 27, 45, 0.25);
}
.tp-label { font-weight: 600; color: var(--dawn); margin-bottom: 20px; }
.tp-ring {
  width: 132px; height: 132px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 3px solid rgba(230, 169, 79, 0.35);
  box-shadow: inset 0 0 0 10px rgba(230, 169, 79, 0.08);
  display: grid; place-items: center;
}
.tp-ring span { font-size: 2rem; font-weight: 300; }
.tp-verse { font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; margin-bottom: 6px; }
.tp-ref { font-family: var(--serif); font-style: italic; color: var(--dawn); }
.tp-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--dawn);
  color: var(--night);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ---------- Floating "I'm tempted" button ---------- */
.tempted-fab {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 60;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 22px;
  border-radius: 999px;
  border: 2px solid var(--dawn);
  background: var(--night);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(10, 14, 25, 0.35);
}
.tempted-fab:hover { background: #2A3452; }

/* ---------- "I'm tempted" dialog ---------- */
.tempted-dialog {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--night);
  color: var(--white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.tempted-dialog::backdrop { background: rgba(10, 14, 25, 0.75); }
.td-inner { position: relative; padding: 40px 32px 32px; text-align: center; }
.td-close {
  position: absolute; top: 12px; right: 14px;
  width: 40px; height: 40px;
  border: 0; border-radius: 50%;
  background: transparent; color: var(--mist);
  font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.td-close:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.td-title { font-size: 2rem; margin-bottom: 0.3em; }
.td-sub { color: var(--mist); margin-bottom: 24px; }

.td-timer {
  position: relative;
  width: 168px; height: 168px;
  margin: 0 auto 8px;
  display: grid; place-items: center;
}
.td-breath {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 169, 79, 0.35), rgba(230, 169, 79, 0.06) 70%);
  border: 2px solid rgba(230, 169, 79, 0.6);
  transform: scale(0.72);
  animation: breathe 10s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(0.72); }
  50% { transform: scale(1); }
}
.td-time { position: relative; font-size: 2.4rem; font-weight: 300; }
.td-breath-word { color: var(--dawn); font-size: 0.95rem; margin-bottom: 20px; }

.td-verse { margin: 0 0 8px; font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; }
.td-ref { font-family: var(--serif); font-style: italic; color: var(--dawn); font-size: 1.1rem; }
.td-prayer { color: var(--mist); max-width: 30em; margin: 0 auto 24px; }
.td-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; align-items: center; }
.td-note { margin-top: 16px; font-size: 0.82rem; color: var(--mist); }
.td-done {
  margin-top: 24px;
  padding: 20px;
  border-radius: 12px;
  background: var(--night-soft);
  border-top: 3px solid var(--dawn);
}
.td-done h3 { font-size: 1.5rem; }

/* ---------- Freedom counter ---------- */
.freedom { align-items: center; }
.counter-card {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  border: 1px solid var(--line);
}
.counter-ring { width: 220px; height: 220px; display: block; margin: 0 auto; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: #ECEAE4; stroke-width: 12; }
.ring-fill {
  fill: none;
  stroke: var(--dawn);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 540.35;
  stroke-dashoffset: 540.35;
  transition: stroke-dashoffset 0.8s ease;
}
.counter-center {
  position: absolute;
  top: 32px; left: 0; right: 0;
  height: 220px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.counter-num { font-family: var(--serif); font-size: 4.2rem; line-height: 1; }
.counter-label { font-size: 0.9rem; color: var(--ink-soft); max-width: 9em; }
.milestones {
  list-style: none; padding: 0; margin: 24px 0 12px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.milestones li {
  font-size: 0.8rem;
  color: var(--ink-soft);
  padding: 8px 4px;
  border-radius: 10px;
  border: 1px dashed var(--line);
}
.milestones li span { display: block; font-family: var(--serif); font-size: 1.4rem; color: var(--ink-soft); line-height: 1.1; }
.milestones li.is-done { border: 1px solid var(--dawn-deep); background: #FBF1E0; color: #8A5A12; }
.milestones li.is-done span { color: #8A5A12; }
.counter-best { margin: 0; font-size: 0.88rem; color: var(--ink-soft); }

.inline-verse {
  margin: 1.2em 0;
  padding-left: 18px;
  border-left: 3px solid var(--dawn);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.4;
}
.inline-verse cite { display: block; font-size: 1rem; font-style: italic; color: var(--ink-soft); margin-top: 4px; }
.counter-demo { display: flex; gap: 10px; flex-wrap: wrap; }
.grace-message { margin-top: 14px; min-height: 1.5em; color: #8A5A12; font-weight: 500; }

/* ---------- Memory verse ---------- */
.memory {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.memory-head h3 { font-size: 1.8rem; font-weight: 500; }
.memory-head p { color: var(--mist); }
.memory-card {
  background: var(--night-soft);
  border-radius: 16px;
  padding: 28px;
  border-left: 3px solid var(--dawn);
}
.memory-text { font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; margin-bottom: 6px; }
.memory-text .hint { color: var(--dawn); letter-spacing: 0.02em; }
.memory-ref { font-family: var(--serif); font-style: italic; color: var(--dawn); }
.memory-controls { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- Partner guide ---------- */
.guide {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.guide-head { max-width: 640px; margin-bottom: 32px; }
.guide-head h3 { font-size: 1.9rem; font-weight: 500; }
.guide-head p { color: var(--ink-soft); }
.guide-steps {
  list-style: none; counter-reset: gstep;
  margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.guide-steps li {
  counter-increment: gstep;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
}
.guide-steps li::before {
  content: counter(gstep);
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--dawn-deep);
  margin-bottom: 10px;
}
.guide-steps h4, .wives-note h4 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.25; margin: 0 0 8px; }
.guide-steps p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }
.wives-note {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 3px solid var(--dawn);
  background: var(--white);
  max-width: 760px;
}
.wives-note p { margin: 0; color: var(--ink-soft); }

/* ---------- Churches ---------- */
#churches h3 { font-size: 1.2rem; margin-top: 0.4em; }
#churches .x-list { margin-bottom: 0; }
.group-price { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 1.4em; }
.group-amount { font-family: var(--serif); font-size: 2.6rem; color: var(--ink); margin-right: 4px; }

/* Leave room above the floating button at the bottom of the page */
.site-footer { padding-bottom: 96px; }

@media (max-width: 960px) {
  .memory { grid-template-columns: 1fr; gap: 24px; }
  .guide-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .guide-steps { grid-template-columns: 1fr; }
  .td-inner { padding: 36px 20px 24px; }
  .td-title { font-size: 1.6rem; }
  .td-verse { font-size: 1.25rem; }
  .td-timer { width: 140px; height: 140px; }
  .counter-card { padding: 24px 16px; }
  .counter-center { top: 24px; }
  .milestones li { font-size: 0.72rem; }
  .tempted-fab { right: 14px; bottom: 14px; padding: 11px 18px; }
}

/* ---------- Promotion code note (pass card) ---------- */
.code-note {
  margin: 0 0 4px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #FBF1E0;
  color: #8A5A12;
  font-size: 0.92rem;
  font-weight: 500;
}

/* ---------- Thank-you page ---------- */
.thanks-hero { min-height: calc(100vh - 68px); display: flex; align-items: center; }
.thanks-hero .wrap { max-width: 760px; }
.thanks-steps {
  list-style: none; counter-reset: tstep;
  margin: 32px 0; padding: 0;
  display: grid; gap: 14px;
}
.thanks-steps li {
  counter-increment: tstep;
  position: relative;
  padding: 18px 20px 18px 64px;
  border-radius: 12px;
  background: var(--night-soft);
  color: #D7DBE6;
}
.thanks-steps li::before {
  content: counter(tstep);
  position: absolute; left: 20px; top: 14px;
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--dawn);
}
.thanks-steps strong { color: var(--white); }
.thanks-verse {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.4;
  border-left: 3px solid var(--dawn);
  padding-left: 18px;
  margin: 0 0 28px;
}
.thanks-verse cite { display: block; font-size: 1rem; font-style: italic; color: var(--dawn); margin-top: 6px; }

.pass-fine { margin: 10px 0 0; font-size: 0.85rem; color: var(--ink-soft); text-align: center; }
.btn[hidden] { display: none; }

/* Keep the sticky header from covering a section you jump to */
section[id] { scroll-margin-top: 68px; }
