/* Pray with us (/pray/). Page-specific pieces only; buttons, the opening,
   .path-card, .wave-band and the form fields come from /styles.css. */

.pray-page .opening-copy {
  padding-block: clamp(36px, 5vw, 80px) clamp(40px, 6vw, 100px);
}
.pray-page .opening .eyebrow {
  display: block;
  margin-bottom: 14px;
}
.pray-page .opening .eyebrow[hidden] {
  display: none;
}
.pray-page .opening h1 {
  font-size: clamp(34px, 3.44vw, 66px);
  line-height: 1.16;
}
.pray-page .pray-red {
  color: var(--red);
}
.pray-page .opening-actions {
  margin-top: clamp(24px, 3vw, 48px);
}
.pray-page .opening-copy > p:not(.eyebrow) {
  max-width: 34em;
  color: var(--ink);
  font-size: clamp(16px, 1.35vw, 26px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
}

/* Start now: charcoal with a faint dot grid and a soft red glow, no photo. */
.pray-now {
  position: relative;
  padding-block: calc(17.6vw + 8px) clamp(70px, 9vw, 150px);
  color: #fff;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(188, 32, 38, 0.35),
      transparent 45%
    ),
    radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.5px) 0 0 / 22px
      22px,
    var(--charcoal);
}
.pray-now::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  aspect-ratio: 1946 / 342;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1946 342' preserveAspectRatio='none'%3E%3Cpath d='M0 0C826.8 35.9 1165.7 75.5 1165.7 75.5 1463.1 110.2 1946 214.4 1946 214.4V0Z' fill='%23fff'/%3E%3Cpath d='M0 285.7C0 285.7 1008.6 165.7 1946 342.3V214.4C1946 214.4 1463.1 110.2 1165.7 75.5 826.8 35.9 0 0 0 0Z' fill='%23f6f6f6'/%3E%3C/svg%3E")
    top / 100% 100% no-repeat;
  pointer-events: none;
}
.pray-now .wrap {
  position: relative;
}
.pray-now h2 {
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 800;
  line-height: 1;
}
.pray-now-sub {
  max-width: none;
  margin-top: 14px;
  font-size: clamp(20px, 2vw, 36px);
  font-weight: 500;
  line-height: 1.25;
}
.pray-now .path-card {
  max-width: 1000px;
  margin-top: clamp(24px, 3vw, 48px);
}
.pray-facts {
  display: grid;
  gap: 6px;
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
  font-size: clamp(14px, 1.04vw, 20px);
  font-weight: 500;
}
.pray-facts li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.pray-facts li::before {
  content: "";
  flex: none;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--red);
  transform: translateY(-0.1em);
}

/* Coming next: the red band hands off to the grey wash behind the form. */
.pray-ribbon {
  --band-next: var(--line);
  --sweep: 17.8vw;
  padding-top: calc(var(--sweep) + clamp(0px, 1vw, 20px));
}
.pray-ribbon::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: var(--sweep);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1924.5 343' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1924.5C997.3 342.9 0 110 0 110Z' fill='%232e2e2e'/%3E%3C/svg%3E")
    top / 100% 100% no-repeat;
  pointer-events: none;
}
.pray-ribbon h2 {
  font-size: clamp(34px, 3.44vw, 66px);
  font-weight: 800;
  line-height: 1.12;
}
.pray-ribbon p {
  max-width: 34em;
  margin-top: 0.5em;
  font-size: clamp(15px, 1.35vw, 26px);
  font-weight: 600;
  line-height: 1.45;
}

/* The three things coming, then the sign-up panel with its consent checkboxes. */
.pray-next {
  padding-block: clamp(24px, 3vw, 48px) clamp(60px, 7vw, 120px);
  background: linear-gradient(var(--line), var(--haze));
}
.pray-next .form {
  margin-top: 0;
}
.pray-upcoming {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
  gap: clamp(12px, 1vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.pray-upcoming li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: clamp(20px, 2vw, 32px);
  border-radius: clamp(14px, 1.3vw, 25px);
  background: #fff;
}
.pray-upcoming h3 {
  font-size: clamp(18px, 1.35vw, 26px);
  font-weight: 600;
  line-height: 1.25;
}
.pray-upcoming p:not(.eyebrow) {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
}
.form-error {
  margin: 8px 0 0;
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
}
.form-error[hidden] {
  display: none;
}

/* The form itself is the white panel: fields, consents, notice, spam check and button. */
.pray-next .form {
  max-width: 52rem;
  margin: clamp(20px, 2.5vw, 40px) 0 0;
  padding: clamp(22px, 2.4vw, 40px);
  border-radius: clamp(14px, 1.3vw, 25px);
  background: #fff;
}
.pray-next .form-details-section {
  margin: 0 0 18px;
}
.pray-next .form-details-section .form-field input {
  border-radius: 999px;
  padding-inline: 20px;
}
.pray-next .form-details-section > legend {
  float: left;
  width: 100%;
  margin-bottom: 18px;
  font-size: clamp(22px, 1.9vw, 34px);
  font-weight: 600;
  line-height: 1.2;
}
.pray-next .form-details-section > legend + * {
  clear: both;
}
/* All four checkboxes sit on one 12px rhythm, across both groups. */
.pray-next .form-details-section .form-checks {
  display: grid;
  gap: 12px;
  margin: 0;
}
.pray-next .form-details-section .form-check {
  margin: 0;
}
.pray-next .form-details-section .form-consents {
  margin-top: 24px;
  margin-bottom: 12px;
}
.pray-next .form-consents > legend {
  padding: 0;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
}
.pray-next .form-consent {
  margin: 14px 0 0;
  font-size: 14px;
}
.pray-next .form-consent a {
  text-decoration: underline;
}
.pray-next .form-status {
  min-height: 0;
  margin-top: 10px;
}
.pray-next .form-status:empty {
  display: none;
}
.pray-next .form-verify {
  margin: 16px 0 0;
}
.pray-next .form .actions {
  margin-top: 0;
  justify-content: flex-start;
}
.pray-next .form-success {
  max-width: 52rem;
  padding: clamp(22px, 2.4vw, 40px);
  border-radius: clamp(14px, 1.3vw, 25px);
  background: #fff;
}
.pray-next .form-success .eyebrow {
  margin: 0;
}
.pray-next .form-success ul {
  margin: 12px 0;
  padding-left: 1.2em;
  font-weight: 500;
}
.pray-next .form-success li::marker {
  color: var(--red);
}
.pray-next .form-success .actions {
  padding-inline: 0;
}

@media (max-width: 800px) {
  .pray-now {
    padding-block: calc(17.6vw + 20px) 70px;
  }
  .pray-ribbon {
    --sweep: 0px;
    padding-top: 56px;
  }
  .pray-ribbon::before {
    display: none;
  }
  .pray-page .opening-actions .button,
  .pray-now .path-card .button,
  .pray-next .actions .button {
    width: 100%;
  }
}
