:root {
  --bg: #eef3f1;
  --paper: rgba(247, 251, 249, 0.76);
  --paper-strong: rgba(252, 255, 253, 0.88);
  --ink: #1c1b19;
  --muted: #5f6764;
  --line: rgba(38, 44, 40, 0.12);
  --accent: #7b9487;
  --accent-deep: #4f6b73;
  --warm: #9a7758;
  --shadow: 0 24px 80px rgba(30, 38, 34, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  background:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,0.72), transparent 0 22%),
    radial-gradient(circle at top left, rgba(79, 107, 115, 0.14), transparent 30%),
    radial-gradient(circle at top right, rgba(123, 148, 135, 0.14), transparent 28%),
    radial-gradient(circle at 80% 78%, rgba(154,119,88,0.08), transparent 0 20%),
    linear-gradient(180deg, #f9fcfb 0%, #edf4f1 42%, #e5efeb 100%);
}

.ja-page,
.ja-page * {
  font-feature-settings: "palt" 1;
}

.ja-page body,
.ja-page,
.ja-page p,
.ja-page li,
.ja-page a,
.ja-page div,
.ja-page span,
.ja-page strong {
  font-family: 'Inter', 'Noto Serif JP', sans-serif;
}

.ja-page h1,
.ja-page h2,
.ja-page h3,
.ja-page .quote-band p,
.ja-page .pull-quote p {
  font-family: 'Noto Serif JP', 'Cormorant Garamond', serif;
  line-height: 1.25;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: linear-gradient(rgba(255,255,255,0.8) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.8) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.42), rgba(0,0,0,0.08));
}

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

.page-shell {
  width: min(1440px, calc(100% - 36px));
  margin: 18px auto 56px;
}

.hero,
.section,
.offer-box,
.card,
.lesson {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 36px 40px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154,119,88,0.12), transparent 70%);
}

.topbar,
.hero-content,
.grid.two,
.grid.three,
.split,
.final-grid,
.offer-head,
.cta-panel {
  display: grid;
  gap: 24px;
}

.topbar {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 42px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.nav-links a,
.nav-cta,
.button {
  text-decoration: none;
}

.nav-links > a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-cta,
.button {
  border-radius: 12px;
  transition: transform 0.25s ease, opacity 0.25s ease, background-position 0.7s ease, background 0.7s ease, color 0.45s ease, border-color 0.45s ease;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.nav-cta {
  color: #fff;
  background: var(--ink);
  padding: 12px 18px;
}

.hero-content {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  padding-top: 4px;
}

.hero-rebuilt {
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "title title"
    "copy visual";
  gap: 8px 24px;
}

.hero-title-block {
  grid-area: title;
  position: relative;
  z-index: 5;
  margin-bottom: -38px;
  padding: 12px 24px 10px;
  width: calc(100% - 30px);
  background: linear-gradient(90deg, rgba(247,251,249,0.88) 0%, rgba(247,251,249,0.82) 52%, rgba(247,251,249,0.48) 76%, rgba(247,251,249,0.14) 100%);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(32, 44, 40, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-title-block h1 {
  margin: 0;
  color: var(--ink);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 5.6vw, 5.4rem);
  line-height: 0.94;
  width: 100%;
}

.hero-copy {
  position: relative;
  z-index: 3;
  margin-right: 0;
  align-self: center;
  padding-right: 18px;
  padding-top: 0;
  grid-area: copy;
}

.hero-visual {
  grid-area: visual;
  position: relative;
  z-index: 1;
  margin-top: -8px;
  max-width: 560px;
  justify-self: end;
}

.lesson span,
.brand,
.button,
.nav-cta {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.split h2,
.offer-box h2,
.final-grid h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  line-height: 0.95;
  font-weight: 600;
}

.hero-copy h1 {
  font-size: clamp(3.4rem, 6.4vw, 6rem);
  margin-bottom: 18px;
  max-width: 16ch;
}



.hero-text,
.card p,
.section-heading p,
.split p,
.lesson p,
.offer-head p,
.cta-panel p,
.final-grid p,
li {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.04rem;
}

.hero-text {
  max-width: 34rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.section-heading > h2,
.split > div > h2,
.final-grid > div > h2,
.offer-head h2 {
  margin-bottom: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  font-size: 0.84rem;
  font-weight: 700;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #295f4e, #3f7a67, #6a9a86);
  background-size: 200% 200%;
  background-position: 0% 50%;
  border: 1px solid transparent;
}

.button.primary:hover {
  color: #fff;
  background-position: 100% 50%;
  border-color: transparent;
}

.button.secondary {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(236, 244, 240, 0.96), rgba(216, 231, 224, 0.96));
  background-size: 200% 200%;
  background-position: 0% 50%;
  border: 1px solid var(--line);
}

.button.secondary:hover {
  color: var(--ink);
  background-position: 100% 50%;
  border-color: rgba(79, 107, 115, 0.2);
}

.hero-points {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 18px 20px;
  margin: 14px 0 28px;
  border: 1px solid rgba(79, 107, 115, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 246, 0.94));
  box-shadow: 0 18px 40px rgba(36, 57, 63, 0.08);
}

.hero-points li {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  column-gap: 16px;
}

.hero-points li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #295f4e, #6a9a86);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(41, 95, 78, 0.22);
}

.hero-points li + li {
  padding-top: 12px;
  border-top: 1px solid rgba(79, 107, 115, 0.12);
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.hero-card,
.offer-box,
.quote-band {
  border: 1px solid var(--line);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.card,
.lesson {
  background: transparent;
  box-shadow: none;
  border: none;
}

.hero-card {
  padding: 24px;
  border-radius: 10px;
}

.hero-card.floating {
  position: absolute;
  right: -10px;
  bottom: 20px;
  width: min(92%, 400px);
  margin-top: 0;
}

.hero-price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(47, 143, 91, 0.14);
  border: 1px solid rgba(47, 143, 91, 0.22);
  color: #2f8f5b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-card .stat {
  color: var(--warm);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.hero-card h2 {
  margin: 0 0 10px;
  font-size: 2.4rem;
  font-family: 'Cormorant Garamond', serif;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.mini-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.mini-grid strong {
  font-size: 0.95rem;
}

.price-original {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  opacity: 0.8;
  margin-right: 6px;
}

.price-current {
  color: var(--warm);
}

.price-current-hero {
  color: #2f8f5b;
  font-weight: 700;
}

.section {
  margin-top: 28px;
  padding: 36px 40px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  border: none;
  box-shadow: none;
}

.quote-band {
  padding: 30px 36px;
  border-radius: 10px;
  text-align: center;
}

.quote-band p {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.section-heading {
  max-width: 980px;
  margin-bottom: 28px;
}

.problem .section-heading {
  max-width: none;
}

.section-heading.narrow {
  max-width: 1200px;
}

.section-heading h2,
.split h2,
.offer-box h2,
.final-grid h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 14px;
}

.faq-dark-section .section-heading h2 {
  white-space: nowrap;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.problem-grid {
  align-items: start;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 8px 0;
  border-radius: 0;
}

.image-card {
  padding: 0;
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 320px;
  object-fit: cover;
  border-radius: 6px;
}

.card h3,
.lesson h3,
.cta-panel h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.small-label {
  margin: 0 0 10px;
  color: var(--warm);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-split {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
}

.statement-split {
  align-items: stretch;
}

.statement-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  width: min(100%, 1120px);
  max-width: 1120px;
}

.statement-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(79, 107, 115, 0.12);
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  overflow: hidden;
  flex-shrink: 0;
}

.statement-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-icon {
  background: transparent;
  border: 1px solid rgba(38, 44, 40, 0.08);
  box-shadow: 0 10px 24px rgba(32, 44, 40, 0.08);
}

.statement-bubble {
  position: relative;
  padding: 30px 36px;
  border-radius: 14px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(38, 44, 40, 0.08);
  box-shadow: 0 16px 40px rgba(32, 44, 40, 0.06);
  width: 100%;
  min-height: 220px;
}

.statement-bubble::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 22px;
  width: 18px;
  height: 18px;
  background: rgba(255,255,255,0.7);
  border-left: 1px solid rgba(38, 44, 40, 0.08);
  border-bottom: 1px solid rgba(38, 44, 40, 0.08);
  transform: rotate(45deg);
}

.statement-bubble p {
  margin: 0 0 14px;
}

.statement-bubble p:last-of-type {
  margin-bottom: 0;
}

.statement-bubble span {
  display: inline-block;
  margin-top: 18px;
  color: var(--warm);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.statement-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.statement-social-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(79, 107, 115, 0.08);
  border: 1px solid rgba(38, 44, 40, 0.08);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.statement-social-pill:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.social-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 107, 115, 0.16);
  color: var(--accent-deep);
  font-size: 0.95rem;
  line-height: 1;
}

.image-stack {
  position: relative;
  min-height: 100%;
  height: 100%;
  max-width: 720px;
  margin-left: auto;
  display: flex;
  align-items: stretch;
}

.stack-main,
.stack-sub,
.final-grid img {
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.stack-main {
  width: 100%;
  min-height: 100%;
  height: 100%;
  aspect-ratio: 1.55 / 1;
  margin-left: auto;
}

.stack-sub {
  display: none;
}

.curriculum-list {
  display: grid;
  gap: 16px;
}

.lesson {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
}

.lesson span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: rgba(48, 68, 93, 0.08);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.82rem;
}

.pull-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  line-height: 1.2;
  color: var(--ink);
}

.pull-quote span {
  color: var(--warm);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.offer-cards-grid {
  align-items: stretch;
}

.testimonials-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.testimonials-slider {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  max-width: 1358px;
  margin: 0 auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.testimonials-shell {
  overflow: hidden;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonials-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 340px);
  gap: 18px;
}

.testimonial-card {
  padding: 24px 22px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(38, 44, 40, 0.08);
  box-shadow: 0 16px 40px rgba(32, 44, 40, 0.06);
  scroll-snap-align: start;
}

.testimonial-card p {
  margin: 0 0 18px;
  font-size: 1.02rem;
  line-height: 1.85;
}

.testimonial-card span {
  display: block;
  color: var(--warm);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(38, 44, 40, 0.1);
  background: rgba(255,255,255,0.8);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.slider-arrow:hover {
  transform: translateY(-1px);
}

.faq-dark-section {
  margin-top: 40px;
  padding: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background:
    linear-gradient(135deg, rgba(48, 68, 93, 0.96), rgba(38, 56, 62, 0.98)),
    radial-gradient(circle at top left, rgba(123,148,135,0.24), transparent 34%),
    radial-gradient(circle at bottom right, rgba(154,119,88,0.12), transparent 28%);
}

.faq-dark-section .section-heading,
.faq-dark-section .faq-list {
  width: min(1440px, calc(100% - 72px));
  margin-left: auto;
  margin-right: auto;
  padding-left: 36px;
  padding-right: 36px;
}

.faq-dark-section .section-heading {
  padding-top: 56px;
}

.faq-dark-section .faq-list {
  padding-bottom: 56px;
}

.faq-dark-section h2,
.faq-dark-section p,
.faq-dark-section summary,
.faq-dark-section .faq-item summary {
  color: rgba(248, 250, 248, 0.96) !important;
}

.faq-dark-section .faq-item {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.faq-dark-section .faq-item summary::after {
  color: rgba(248, 250, 248, 0.74);
}

.faq-dark-section .faq-item p {
  color: rgba(232, 238, 235, 0.82);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-bottom: 1px solid rgba(38, 44, 40, 0.12);
  padding-bottom: 14px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 1.14rem;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 34px 6px 0;
  position: relative;
  white-space: nowrap;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--muted);
  transition: transform 0.28s ease;
}

.faq-item[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.faq-item p {
  margin: 12px 0 0;
  max-width: 780px;
}

.faq-answer {
  display: none;
}

.faq-item[open] .faq-answer {
  display: block;
}

.offer-card {
  display: grid;
  gap: 22px;
  min-height: 100%;
}

.large-card {
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
}

.stacked-offer-card {
  grid-template-rows: auto 1fr;
  align-content: stretch;
}

.offer-card-copy ul {
  margin-top: 16px;
}

.prayer-card .button.secondary {
  margin-top: 1.75rem;
}

.offer-card-visual {
  min-height: 320px;
  border-radius: 8px;
  border: 1px solid rgba(35, 28, 22, 0.08);
  overflow: hidden;
}

.ebook-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(246,251,249,0.96), rgba(225,236,231,0.92));
}

.tall-ebook-visual {
  min-height: 520px;
}

.stacked-ebook-visual {
  min-height: 420px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px;
}

.ebook-cover {
  width: 56%;
  max-width: 280px;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(45, 34, 26, 0.18);
  position: relative;
  z-index: 2;
}

.stacked-ebook-visual .ebook-cover,
.stacked-ebook-visual .stacked-page {
  position: static;
  width: 100%;
  max-width: none;
}

.ebook-page {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 48%;
  max-width: 220px;
  border-radius: 8px;
  border: 8px solid rgba(255,255,255,0.82);
  box-shadow: 0 18px 40px rgba(45, 34, 26, 0.12);
}

.secondary-page {
  left: 20px;
  bottom: 18px;
  right: auto;
  width: 38%;
  max-width: 180px;
}

.stacked-page {
  border-radius: 8px;
  border: 8px solid rgba(255,255,255,0.82);
  box-shadow: 0 18px 40px rgba(45, 34, 26, 0.12);
}

.prayer-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(79,107,115,0.08));
}

.elevated-card {
  padding: 22px 24px;
  border-radius: 8px;
  border: 1px solid rgba(35, 28, 22, 0.08);
  box-shadow: var(--shadow);
}

.prayer-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  margin-top: 18px;
}

.prayer-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.prayer-gallery img:first-child {
  grid-row: span 2;
  height: 100%;
  min-height: 372px;
}

.offer-box {
  padding: 32px 36px;
  border-radius: 12px;
}

.offer-head {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  margin-bottom: 24px;
}

.offer-head.single-column {
  grid-template-columns: 1fr;
  gap: 10px;
}

.card.accent {
  padding: 20px 22px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(123,148,135,0.12));
  border: 1px solid rgba(38, 44, 40, 0.08);
}

.cta-panel {
  margin-top: 28px;
  padding: 24px 0 0;
  border-radius: 0;
  border: none;
  border-top: 1px solid var(--line);
  background: transparent;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.final-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
}

.compact-final-grid {
  grid-template-columns: 0.72fr 1.28fr;
  gap: 32px;
}

.full-width-heading-copy {
  display: grid;
  align-content: start;
}

.full-width-heading-copy h2,
.full-width-heading-copy p {
  width: 100%;
  max-width: none;
}

.closing-section {
  margin-top: 40px;
  padding: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.closing-panel {
  position: relative;
  padding: 56px clamp(28px, 6vw, 84px);
  border-radius: 0;
  border: none;
  background:
    linear-gradient(135deg, rgba(48, 68, 93, 0.96), rgba(38, 56, 62, 0.98)),
    radial-gradient(circle at top left, rgba(123,148,135,0.24), transparent 34%),
    radial-gradient(circle at bottom right, rgba(154,119,88,0.12), transparent 28%);
  box-shadow: none;
  overflow: hidden;
}

.closing-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.04), transparent 24%, transparent 76%, rgba(255,255,255,0.03));
  pointer-events: none;
}

.closing-panel > * {
  position: relative;
  z-index: 1;
}

.closing-panel h2,
.closing-panel p {
  color: rgba(248, 250, 248, 0.96);
}

.closing-panel p {
  color: rgba(232, 238, 235, 0.82);
}

.final-grid img {
  width: 100%;
  height: 560px;
  border-radius: 6px;
}

.compact-final-grid img {
  height: 420px;
}

.single-line-heading {
  white-space: nowrap;
}

ul {
  margin: 0;
  padding-left: 20px;
}

.button,
.nav-links a,
.image-card img,
.prayer-gallery img,
.stack-main,
.final-grid img,
.ebook-cover,
.ebook-page,
.secondary-page {
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.image-card:hover img,
.prayer-gallery img:hover,
.stack-main:hover,
.final-grid img:hover,
.ebook-cover:hover,
.ebook-page:hover,
.secondary-page:hover {
  transform: translateY(-3px);
}

@media (max-width: 980px) {
  .hero-content,
  .grid.two,
  .grid.three,
  .visual-split,
  .offer-head,
  .cta-panel,
  .final-grid,
  .large-card,
  .statement-card {
    grid-template-columns: 1fr;
  }

  .statement-card {
    width: 100%;
    max-width: 100%;
    gap: 16px;
  }

  .statement-icon {
    width: 76px;
    height: 76px;
  }

  .statement-bubble {
    padding: 24px 22px;
    min-height: auto;
  }

  .testimonials-shell {
    grid-template-columns: 1fr;
  }

  .testimonials-track {
    grid-auto-columns: minmax(260px, 82vw);
  }

  .slider-arrow {
    display: none;
  }

  .faq-dark-section .section-heading,
  .faq-dark-section .faq-list {
    width: min(100%, calc(100% - 24px));
    padding-left: 12px;
    padding-right: 12px;
  }

  .faq-dark-section .section-heading h2 {
    white-space: normal;
  }

  .hero-rebuilt {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "visual"
      "copy";
    gap: 12px;
  }

  .hero-visual {
    max-width: 100%;
    justify-self: stretch;
  }

  .hero-copy {
    margin-right: 0;
    padding-right: 0;
    padding-top: 0;
  }

  .hero-title-block {
    width: 100%;
    margin-bottom: -24px;
    padding: 10px 16px 8px;
  }

  .hero-visual {
    margin-top: 0;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual > img {
    min-height: 420px;
  }

  .image-card img {
    min-height: 220px;
    max-height: 260px;
  }

  .hero-card.floating {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .image-stack {
    min-height: auto;
  }

  .stack-main {
    width: 100%;
    height: 240px;
    margin-left: 0;
  }

  .stack-sub {
    position: static;
    width: 46%;
    height: 110px;
    margin-top: 12px;
    margin-left: auto;
  }

  .ebook-cover,
  .ebook-page,
  .secondary-page,
  .stacked-page {
    position: static;
    width: 100%;
    max-width: none;
  }

  .ebook-visual {
    gap: 16px;
    flex-direction: column;
    min-height: auto;
  }

  .stacked-ebook-visual {
    grid-template-columns: 1fr;
  }

  .prayer-gallery {
    grid-template-columns: 1fr;
  }

  .prayer-gallery img,
  .prayer-gallery img:first-child {
    height: 220px;
    min-height: 0;
  }

  .final-grid img,
  .compact-final-grid img {
    height: 420px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .page-shell {
    width: min(100% - 18px, 1200px);
    margin: 10px auto 28px;
  }

  .hero,
  .section,
  .offer-box,
  .quote-band {
    padding: 22px;
  }

  .topbar {
    grid-template-columns: 1fr;
    margin-bottom: 28px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-content {
    padding-top: 2px;
  }

  .single-line-heading {
    white-space: normal;
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }

  .lesson {
    grid-template-columns: 1fr;
  }

  .lesson span {
    width: 48px;
    height: 48px;
  }

  .stack-sub {
    width: 100%;
  }
}
