.hero .hero-copy h1 {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 1.03;
  letter-spacing: -.035em;
}

.workflow-summary h2 {
  max-width: 24ch;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 30px 0 20px;
  list-style: none;
}

.workflow-steps li {
  border-top: 3px solid #c83d00;
  border-radius: 10px;
  background: white;
  padding: 22px;
}

.workflow-steps h3 {
  margin-bottom: 8px;
}

.workflow-steps p,
.workflow-reminder p {
  margin: 0;
}

.workflow-reminder {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 20px;
  background: #fff0e7;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

.workflow-reminder blockquote {
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid #c83d00;
  font-weight: 700;
}

.walkthrough {
  background: #edf1f8;
}

.walkthrough-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.walkthrough-intro h2,
.walkthrough-intro p,
.walkthrough-copy p {
  margin-bottom: 0;
}

.walkthrough-controls,
.walkthrough-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.walkthrough [hidden] {
  display: none;
}

.walkthrough-steps {
  margin-bottom: 12px;
}

.walkthrough button {
  cursor: pointer;
}

.walkthrough-steps button {
  font: inherit;
  font-weight: 700;
  background: white;
  color: #0b204b;
  border: 1px solid #a8b6ce;
  border-radius: 7px;
  padding: 8px 15px;
}

.walkthrough-steps button[aria-pressed="true"] {
  background: #0b204b;
  border-color: #0b204b;
  color: white;
}

.walkthrough button:focus-visible {
  outline: 3px solid #a73606;
  outline-offset: 3px;
}

.walkthrough-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 26px;
  padding: clamp(18px, 4vw, 42px);
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid #cad5e5;
  border-radius: 12px;
  min-height: 260px;
}

.example-card {
  border: 1px solid #c7d3e4;
  border-radius: 12px;
  background: #f6f8fc;
  padding: 18px;
  box-shadow: 0 8px 20px #0b204b0a;
}

.example-card p {
  margin: 0 0 10px;
}

.example-card p:last-child {
  margin-bottom: 0;
}

.example-card .example-label {
  color: #415375;
  font-size: 13px;
  font-weight: 700;
}

.example-title {
  font-size: 19px;
  font-weight: 700;
}

.example-status {
  display: inline-block;
  border-radius: 6px;
  background: #ffe8dc;
  color: #743011;
  font-weight: 700;
  padding: 2px 9px;
  font-size: 13px;
}

.walkthrough-next {
  margin: 20px 0 0;
}

.attendance-pricing h1 {
  max-width: 21ch;
  margin-inline: auto;
  font-size: clamp(2.35rem, 4.7vw, 3.875rem);
}

.attendance-table {
  margin: 30px auto 0;
  max-width: 670px;
  border: 1px solid #cad5e5;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}

.attendance-table table {
  width: 100%;
  border-collapse: collapse;
}

.attendance-table thead {
  background: #0b204b;
  color: white;
}

.attendance-table th,
.attendance-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #d8e0ec;
}

.attendance-table td {
  font-weight: 800;
  font-size: 18px;
}

.attendance-table p {
  padding: 15px 18px;
  margin: 0;
  font-size: 14px;
}

.church-plant-callout {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
  max-width: 670px;
  margin: 18px auto 0;
  padding: 16px 18px;
  border-left: 3px solid #c83d00;
  border-radius: 8px;
  background: #fff0e7;
  text-align: left;
}

.church-plant-callout > div {
  flex: 1 1 280px;
}

.church-plant-callout h2 {
  margin: 0 0 4px;
  font-size: 21px;
  letter-spacing: normal;
}

.church-plant-callout p {
  margin: 0;
  font-size: 14px;
}

.church-plant-callout .btn {
  padding: 9px 14px;
}

.plan-details {
  max-width: 670px;
  text-align: left;
  margin-bottom: 26px;
}

.plan-details h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.plan-details ul {
  margin: 0;
  padding-left: 1.25em;
  line-height: 1.8;
}

@media (max-width: 650px) {
  .workflow-steps,
  .workflow-reminder,
  .walkthrough-panel {
    grid-template-columns: 1fr;
  }

  .workflow-steps {
    gap: 12px;
  }

  .walkthrough-panel {
    min-height: 0;
  }

  .attendance-table th,
  .attendance-table td {
    padding: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.hero .hero-copy p {
  max-width: 53ch;
}

.walkthrough-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  padding: 0;
  margin: 0;
}

.walkthrough-steps button,
.walkthrough-controls button {
  min-height: 44px;
}

.photo-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.photo-detail .example-title {
  margin: 0;
}

.game-photo {
  position: relative;
  flex: 0 0 58px;
  height: 48px;
  border: 3px solid white;
  outline: 1px solid #bac7d7;
  border-radius: 5px;
  background: repeating-conic-gradient(#c4d1df 0 25%, #f3f6fa 0 50%) 0 / 18px 18px;
}

.game-photo::before,
.game-photo::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border-bottom: 2px solid #833413;
  background: #df641f;
  top: 8px;
  left: 10px;
}

.game-photo::after {
  background: #264970;
  border-color: #102440;
  top: 23px;
  left: 32px;
}

.example-card .parent-question {
  background: white;
  border-left: 3px solid #c83d00;
  border-radius: 5px;
  padding: 10px 12px;
}

.attendance-pricing .plan-details {
  max-width: 670px;
  margin: 24px auto 14px;
}

.plan-details ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 28px;
}

.attendance-pricing .attendance-table {
  margin-top: 18px;
  scroll-margin-top: 18px;
}

.rates-link {
  white-space: nowrap;
}

.attendance-pricing .billing-note {
  max-width: 670px;
  text-align: left;
  margin: 16px auto;
  font-size: 15px;
}

.attendance-pricing .church-plant-callout {
  margin-bottom: 18px;
}

@media (max-width: 650px) {
  .plan-details ul {
    grid-template-columns: 1fr;
  }

  .workflow-steps li {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .walkthrough-panel:not([hidden]) .example-card {
    animation: walkthrough-appear 240ms ease-out;
  }
}

@keyframes walkthrough-appear {
  from { opacity: .65; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.sample-email-action {
  display: inline-block;
  background: #153657;
  border-radius: 5px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 12px;
}

.training-page {
  background: #f3f6fa;
  min-height: 60vh;
  padding-top: clamp(48px, 7vw, 88px);
}
.training-page h1 {
  margin: 0 0 12px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.training-intro { max-width: 54ch; font-size: 1.15rem; }
.training-cards {
  list-style: none;
  padding: 0;
  margin: 38px 0 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  gap: 18px;
}
.training-cards li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: white;
  border: 1px solid #d3ddeb;
  border-top: 3px solid #bf410b;
  border-radius: 10px;
}
.training-cards .guide-role { color: #97400f; font-size: .875rem; font-weight: 700; }
.training-cards h2 { margin: 12px 0 8px; font-size: 1.48rem; line-height: 1.2; letter-spacing: -.02em; }
.training-cards a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.training-cards a::after { content: ''; position: absolute; inset: 0; border-radius: 10px; }
.training-cards a:focus-visible::after { outline: 3px solid #963500; outline-offset: 3px; }
.training-cards li:hover { border-color: #a54a1b; }
.training-cards p { margin: 0 0 18px; color: #405167; }
.training-cards small { color: #405167; margin-top: auto; }
.training-support { font-size: 1rem; }

.hero .hero-copy h1 {
  text-wrap: balance;
  margin-bottom: 18px;
}
.hero .hero-copy .hero-subhead {
  color: #0b204b;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.4;
  font-weight: 700;
  max-width: 39ch;
  margin: 0 0 12px;
}
.hero .hero-copy .trial-note {
  font-size: .875rem;
  line-height: 1.5;
  margin: 9px 0 0;
  color: #425675;
}
@media (min-width: 651px) {
  .workflow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .workflow-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
