:root {
  --gospel-ink: var(--h24-color-text, #2d2925);
  --gospel-muted: var(--h24-color-text-muted, #6d655d);
  --gospel-paper: var(--h24-color-surface, #fffdf8);
  --gospel-soft: var(--h24-color-bg, #f4efe5);
  --gospel-line: var(--h24-color-border, #ded5c6);
  --gospel-accent: var(--h24-color-primary, #17a2b8);
  --gospel-accent-dark: var(--h24-color-primary-hover, #138496);
  --gospel-secondary: var(--h24-color-link, #117a8b);
}

.gospel-landing {
  overflow: hidden;
  color: var(--gospel-ink);
  background: var(--gospel-paper);
}

.gospel-landing__container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.gospel-hero {
  position: relative;
  padding: 76px 0 82px;
  background:
    radial-gradient(circle at 86% 18%, rgba(20, 114, 123, .14), transparent 31%),
    linear-gradient(145deg, #fffdf8 0%, #f4eee2 100%);
}

.gospel-hero::after {
  position: absolute;
  right: -90px;
  bottom: -140px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(109, 41, 68, .12);
  border-radius: 50%;
  content: '';
}

.gospel-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  gap: 76px;
  align-items: center;
}

.gospel-eyebrow {
  margin: 0 0 14px;
  color: var(--gospel-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gospel-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(42px, 5.3vw, 70px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.gospel-hero__lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--gospel-muted);
  font-size: 20px;
  line-height: 1.65;
}

.gospel-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-top: 34px;
}

.gospel-landing .btn-primary {
  border-color: var(--gospel-accent);
  background: var(--gospel-accent);
}

.gospel-landing .btn-primary:hover,
.gospel-landing .btn-primary:focus {
  border-color: var(--gospel-accent-dark);
  background: var(--gospel-accent-dark);
}

.gospel-text-link {
  color: var(--gospel-secondary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.gospel-text-link:hover,
.gospel-text-link:focus {
  color: #0f6674;
}

.gospel-hero__note {
  margin: 18px 0 0;
  color: var(--gospel-muted);
  font-size: 14px;
}

.gospel-reader-preview {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(109, 41, 68, .16);
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 26px 70px rgba(72, 56, 38, .15);
  backdrop-filter: blur(8px);
}

.gospel-reader-preview::before {
  position: absolute;
  top: -18px;
  left: 28px;
  width: 74px;
  height: 5px;
  border-radius: 5px;
  background: var(--gospel-secondary);
  content: '';
}

.gospel-reader-preview__topline,
.gospel-reader-preview__chapter {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.gospel-reader-preview__topline {
  color: var(--gospel-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.gospel-reader-preview__status {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--gospel-accent-dark);
  background: #e2f0ee;
  font-size: 11px;
}

.gospel-reader-preview__book {
  margin: 42px 0 10px;
  color: var(--gospel-secondary);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 27px;
}

.gospel-reader-preview__chapter strong {
  font-size: 20px;
}

.gospel-reader-preview__chapter span,
.gospel-reader-preview__meta {
  color: var(--gospel-muted);
}

.gospel-reader-preview__progress {
  height: 8px;
  margin: 24px 0 10px;
  overflow: hidden;
  border-radius: 10px;
  background: #e8e1d6;
}

.gospel-reader-preview__progress span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--gospel-accent);
}

.gospel-reader-preview__meta {
  margin: 0 0 26px;
  font-size: 14px;
}

.gospel-reader-preview__button,
.gospel-reader-preview__link {
  display: block;
  text-align: center;
}

.gospel-reader-preview__button {
  padding: 12px 18px;
  border-radius: 8px;
  color: var(--h24-color-on-primary, #fff);
  background: var(--gospel-accent);
  font-weight: 700;
}

.gospel-reader-preview__link {
  margin-top: 16px;
  color: var(--gospel-secondary);
  font-weight: 600;
}

.gospel-section {
  padding: 90px 0;
}

.gospel-section--soft {
  border-top: 1px solid var(--gospel-line);
  border-bottom: 1px solid var(--gospel-line);
  background: var(--gospel-soft);
}

.gospel-section h2,
.gospel-final-cta h2 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.025em;
}

.gospel-section__intro {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--gospel-muted);
  font-size: 18px;
  line-height: 1.65;
}

.gospel-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.gospel-step {
  padding: 28px;
  border: 1px solid var(--gospel-line);
  border-radius: 18px;
  background: var(--h24-color-surface, #fff);
}

.gospel-step__number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--gospel-accent);
  font-weight: 700;
}

.gospel-step h3,
.gospel-feature h3 {
  margin: 22px 0 10px;
  font-size: 20px;
}

.gospel-step p,
.gospel-feature p {
  margin: 0;
  color: var(--gospel-muted);
  line-height: 1.65;
}

.gospel-features-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 80px;
}

.gospel-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.gospel-feature {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .75);
}

.gospel-feature__icon {
  flex: 0 0 42px;
  display: inline-flex;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: var(--gospel-accent);
  background: #dcecea;
}

.gospel-feature h3 {
  margin-top: 0;
}

.gospel-faq-layout {
  display: grid;
  grid-template-columns: minmax(250px, .65fr) minmax(0, 1.35fr);
  gap: 80px;
}

.gospel-faq details {
  border-bottom: 1px solid var(--gospel-line);
}

.gospel-faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 19px;
  font-weight: 700;
}

.gospel-faq summary::-webkit-details-marker {
  display: none;
}

.gospel-faq summary::after {
  position: absolute;
  top: 19px;
  right: 4px;
  color: var(--gospel-accent);
  content: '+';
  font-size: 26px;
  font-weight: 400;
}

.gospel-faq details[open] summary::after {
  content: '−';
}

.gospel-faq details p {
  max-width: 700px;
  margin: -4px 0 22px;
  color: var(--gospel-muted);
  line-height: 1.65;
}

.gospel-final-cta {
  padding: 64px 0;
  color: #fff;
  background: var(--gospel-accent-dark);
}

.gospel-final-cta__inner {
  display: flex;
  justify-content: space-between;
  gap: 42px;
  align-items: center;
}

.gospel-final-cta .gospel-eyebrow {
  color: #b8dedb;
}

.gospel-final-cta p:last-child {
  margin: 18px 0 0;
  color: #d7e8e6;
  font-size: 17px;
}

.gospel-final-cta .btn-light {
  flex: 0 0 auto;
  color: var(--gospel-accent-dark);
  font-weight: 700;
}

[data-theme=dark] .gospel-landing {
  --gospel-ink: var(--h24-color-text, #e3ecf2);
  --gospel-muted: var(--h24-color-text-muted, #b8c6d7);
  --gospel-paper: var(--h24-color-surface, #0d151e);
  --gospel-soft: var(--h24-color-bg, #101b25);
  --gospel-line: var(--h24-color-border, #2b3b4b);
  --gospel-accent: var(--h24-color-primary, #17a2b8);
  --gospel-accent-dark: var(--h24-color-primary-hover, #138496);
  --gospel-secondary: var(--h24-color-link, #70baf5);
}

[data-theme=dark] .gospel-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(112, 186, 245, .12), transparent 31%),
    linear-gradient(145deg, #101b25 0%, #0d151e 100%); background:
    radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--h24-color-link, rgb(112 186 245)) 12%, transparent), transparent 31%),
    linear-gradient(145deg, #101b25 0%, #0d151e 100%);
}

[data-theme=dark] .gospel-reader-preview,
[data-theme=dark] .gospel-step,
[data-theme=dark] .gospel-feature {
  border-color: var(--gospel-line);
  background: var(--h24-color-surface, #101b25);
  box-shadow: none;
}

[data-theme=dark] .gospel-reader-preview__status,
[data-theme=dark] .gospel-feature__icon {
  color: var(--h24-color-link, #9fd1ff);
  background: var(--h24-color-surface-strong, #203143);
}

[data-theme=dark] .gospel-reader-preview__progress {
  background: var(--h24-color-surface-strong, #203143);
}

[data-theme=dark] .gospel-reader-preview__progress span,
[data-theme=dark] .gospel-reader-preview__button {
  background: var(--gospel-accent);
}

[data-theme=dark] .gospel-landing .btn-primary {
  border-color: var(--gospel-accent) !important;
  color: var(--h24-color-on-primary, #fff) !important;
  background: var(--gospel-accent) !important;
}

[data-theme=dark] .gospel-landing .btn-primary:hover,
[data-theme=dark] .gospel-landing .btn-primary:focus,
[data-theme=dark] .gospel-landing .btn-primary:active {
  border-color: var(--gospel-accent-dark) !important;
  color: var(--h24-color-on-primary, #fff) !important;
  background: var(--gospel-accent-dark) !important;
}

[data-theme=dark] .gospel-text-link:hover,
[data-theme=dark] .gospel-text-link:focus {
  color: #a9d8ff;
}

@media (max-width: 991px) {
  .gospel-hero__grid,
  .gospel-features-layout,
  .gospel-faq-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .gospel-reader-preview {
    max-width: 560px;
  }

  .gospel-features-layout,
  .gospel-faq-layout {
    gap: 42px;
  }
}

@media (max-width: 767px) {
  .gospel-landing__container {
    width: min(100% - 30px, 1160px);
  }

  .gospel-hero {
    padding: 54px 0 62px;
  }

  .gospel-hero__grid {
    gap: 46px;
  }

  .gospel-hero h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .gospel-hero__lead {
    font-size: 18px;
  }

  .gospel-section {
    padding: 68px 0;
  }

  .gospel-steps,
  .gospel-features {
    grid-template-columns: 1fr;
  }

  .gospel-final-cta__inner {
    display: block;
  }

  .gospel-final-cta .btn {
    margin-top: 28px;
  }
}

@media (max-width: 479px) {
  .gospel-hero__actions,
  .gospel-hero__actions .btn,
  .gospel-final-cta .btn {
    width: 100%;
    text-align: center;
  }

  .gospel-hero__actions {
    gap: 16px;
  }

  .gospel-reader-preview {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .gospel-reader-preview__topline {
    display: block;
  }

  .gospel-reader-preview__status {
    display: inline-block;
    margin-top: 8px;
  }

  .gospel-step,
  .gospel-feature {
    padding: 22px;
  }
}

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

/* The final call to action is a deep band with light text in both themes. */
[data-theme=dark] .gospel-final-cta {
  background: var(--h24-color-primary-container, var(--gospel-accent-dark));
}

[data-theme=dark] .gospel-final-cta .btn-light {
  color: var(--h24-color-primary-container, var(--gospel-accent-dark));
}
