/* ============================================================
   PRAYER STONE — Marketing site
   Calm, editorial, dark. The colourful app screenshots carry
   the colour; the page stays quiet around them. System type
   (serif = New York, sans = SF), one warm rose accent.
   Bilingual: English in markup, German in data-de.
   ============================================================ */

:root {
  --text-primary:    rgba(255,255,255,1);
  --text-secondary:  rgba(255,255,255,.74);
  --text-tertiary:   rgba(255,255,255,.5);
  --text-faint:      rgba(255,255,255,.38);

  --hairline:        rgba(255,255,255,.12);
  --hairline-soft:   rgba(255,255,255,.07);

  --fill-faint:      rgba(255,255,255,.04);
  --fill-subtle:     rgba(255,255,255,.06);
  --fill-regular:    rgba(255,255,255,.1);
  --fill-emphasis:   rgba(255,255,255,.15);

  --accent: rgb(237,92,107);            /* warm rose */
  --accent-soft: rgba(237,92,107,.16);

  --serif: ui-serif, "New York", Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", sans-serif;
  --mono:  ui-monospace, "SF Mono", Menlo, monospace;

  --s-xs:6px; --s-sm:8px; --s-md:12px; --s-lg:16px;
  --s-xl:24px; --s-2xl:36px; --s-3xl:56px; --s-4xl:88px;

  --r-card:20px; --r-row:14px;
  --press: cubic-bezier(.34,1.56,.64,1);
  --ease:  cubic-bezier(.22,.61,.36,1);
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text-primary);
  background: #0a0b0f;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Calm background: deep ground + soft lavender/rose glow up top ── */
#backdrop {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(80% 55% at 75% -5%, rgba(150,120,190,.28), transparent 60%),
    radial-gradient(70% 50% at 12% 8%, rgba(237,92,107,.14), transparent 55%),
    linear-gradient(180deg, #14131b 0%, #0b0b10 45%, #0a0a0d 100%);
}
#scrim { display: none; }

/* ── Type helpers ── */
.eyebrow {
  font: 600 11px/1.4 var(--sans);
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--text-tertiary);
}
.serif { font-family: var(--serif); font-weight: 400; }
.accent { color: var(--accent); }

/* ── Glass card ── */
.glass {
  background: var(--fill-subtle);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
}

/* ── Navigation (transparent over hero; hides while scrolling, returns when it stops) ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: var(--s-lg);
  padding: 14px var(--s-xl);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: transform .5s var(--ease), background .35s var(--ease),
              backdrop-filter .35s var(--ease), border-color .35s var(--ease);
}
nav.solid {
  background: rgba(10,11,15,.55);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  border-bottom-color: var(--hairline-soft);
}
nav.hidden { transform: translateY(-100%); }
nav .brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
nav .brand .mark { width: 72px; height: 72px; margin: -16px 0; }
nav .brand b { font-family: var(--serif); font-weight: 400; font-size: 21px; letter-spacing: .3px; }
nav .links { display: flex; gap: var(--s-xl); }
nav .links a { color: var(--text-tertiary); font: 500 14px var(--sans); transition: color .2s; }
nav .links a:hover { color: var(--text-primary); }

.langtoggle {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: 999px; background: var(--fill-subtle); border: 1px solid var(--hairline-soft);
}
.langtoggle button {
  border: 0; cursor: pointer; background: transparent; color: var(--text-tertiary);
  font: 600 11px var(--sans); letter-spacing: .6px; padding: 5px 10px; border-radius: 999px; transition: .2s;
}
.langtoggle button.on { background: var(--fill-emphasis); color: var(--text-primary); }
@media (max-width: 860px) { nav .links { display: none; } }

/* ── Official App Store badge (white lockup, EN/DE swap by lang) ── */
.appbadge { display: inline-flex; transition: transform .25s var(--press); }
.appbadge:hover { transform: translateY(-2px); }
.appbadge img { height: 54px; width: auto; }
.appbadge.sm img { height: 38px; }
.appbadge .b-de { display: none; }
html[lang="de"] .appbadge .b-en { display: none; }
html[lang="de"] .appbadge .b-de { display: inline-block; }

/* ── Ghost button ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 56px; padding: 0 24px; border-radius: 12px; cursor: pointer;
  font: 500 15px var(--sans); color: var(--text-primary);
  background: var(--fill-regular); border: 1px solid var(--hairline);
  transition: transform .25s var(--press), background .2s;
}
.btn:hover { background: var(--fill-emphasis); }
.btn:active { transform: scale(.97); }

/* ── Layout ── */
section { max-width: var(--maxw); margin: 0 auto; padding: var(--s-4xl) var(--s-xl); }
.section-head { max-width: 56ch; margin-bottom: var(--s-3xl); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font: 400 clamp(28px, 3.6vw, 38px) var(--serif); line-height: 1.12; letter-spacing: -.4px; margin-top: 10px; }
.section-head p { color: var(--text-secondary); margin-top: 14px; font-size: 17px; line-height: 1.6; }

/* ── Hero ── */
.hero {
  display: grid; grid-template-columns: 1.02fr .98fr;
  align-items: center; gap: clamp(32px, 6vw, 80px);
  max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 7vh, 80px) var(--s-xl) var(--s-4xl);
}
.hero h1 { font: 400 clamp(38px, 5.4vw, 62px) var(--serif); line-height: 1.06; letter-spacing: -1px; margin-top: 18px; }
.hero .lede { color: var(--text-secondary); font-size: 18px; line-height: 1.6; margin-top: 20px; max-width: 44ch; }
.hero .actions { display: flex; gap: var(--s-md); align-items: center; margin-top: 28px; flex-wrap: wrap; }
.hero .note { color: var(--text-tertiary); font-size: 13px; margin-top: 16px; }
.hero-art { display: flex; justify-content: center; }
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: var(--s-3xl); }
  .hero .lede { margin-inline: auto; }
  .hero .actions { justify-content: center; }
  .hero-art { order: -1; }
}

/* ── Proof strip ── */
.strip { border-block: 1px solid var(--hairline-soft); background: rgba(255,255,255,.02); }
.strip .inner { max-width: var(--maxw); margin: 0 auto; padding: 18px var(--s-xl); display: flex; flex-wrap: wrap; gap: 14px var(--s-2xl); justify-content: center; }
.strip .item { display: inline-flex; align-items: center; gap: 9px; color: var(--text-secondary); font-size: 14px; }
.strip .item .dot { width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px rgba(255,255,255,.5), 0 0 3px rgba(255,255,255,.75); }

/* ── Core benefit statement ── */
.benefit { position: relative; overflow: hidden; text-align: center;
  padding: clamp(84px, 13vw, 156px) var(--s-xl);
  background: radial-gradient(58% 110% at 50% 50%, rgba(255,255,255,.045), transparent 70%); }
.benefit-line { max-width: 18ch; margin: 0 auto;
  font: 400 clamp(36px, 6.2vw, 66px) var(--serif); line-height: 1.05; letter-spacing: -1.2px; text-wrap: balance; }
.benefit-line span { display: block; }
.benefit-line .a { color: var(--text-secondary); }
.benefit-line .b { color: var(--text-primary); }

/* ── Device frame holding a REAL screenshot ── */
.device {
  width: 270px; flex: none; border-radius: 46px; padding: 8px;
  background: linear-gradient(160deg, #1a1a1f, #0b0b0e);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 50px 100px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(0,0,0,.4);
  position: relative;
}
.device img { width: 100%; border-radius: 38px; display: block; }
.device.lg { width: 300px; }
.device .halo { position: absolute; inset: -8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%); filter: blur(30px); }

/* ── Layered device stack: a second phone staggered behind ── */
.device-stack { position: relative; z-index: 0; display: inline-block; }
.device-back { position: absolute; left: 0; top: 0; z-index: -1;
  width: 214px; transform: translate(-56%, -8%) rotate(-8deg);
  filter: brightness(.86) saturate(.98); pointer-events: none; }
@media (max-width: 720px) {
  .device-back { width: 172px; transform: translate(-44%, -6%) rotate(-8deg); }
}

/* ── Draggable before/after theme comparison (Bible reading themes) ── */
.ba { position: relative; border-radius: 38px; overflow: hidden; cursor: ew-resize;
  touch-action: none; user-select: none; -webkit-user-select: none; }
.ba img { display: block; width: 100%; height: 100%; pointer-events: none; -webkit-user-drag: none; }
.ba .ba-base { width: 100%; }
.ba .ba-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); }
.ba .ba-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-div { position: absolute; top: 0; bottom: 0; left: var(--x, 50%);
  width: 2px; margin-left: -1px; background: rgba(255,255,255,.9);
  box-shadow: 0 0 14px rgba(0,0,0,.5); pointer-events: none; }
.ba:focus-visible { outline: none; }
.ba:focus-visible .ba-div { background: var(--accent); }
.ba .ba-hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  padding: 6px 14px; border-radius: 999px; font: 500 12px var(--sans); letter-spacing: .3px;
  color: #fff; background: rgba(18,18,22,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18); pointer-events: none;
  transition: opacity .4s var(--ease); }
.ba.touched .ba-hint { opacity: 0; }

/* ── Swipeable image carousel inside a device frame ── */
.carousel { position: relative; border-radius: 38px; overflow: hidden;
  background: #0b0b0e; touch-action: pan-y; cursor: grab; }
.carousel:active { cursor: grabbing; }
.carousel:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.carousel-track { display: flex; will-change: transform;
  transition: transform .42s var(--ease); }
.carousel-slide { flex: 0 0 100%; }
.carousel-slide img { display: block; width: 100%; border-radius: 0;
  pointer-events: none; -webkit-user-drag: none; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.carousel-dots:empty { display: none; }
.carousel-dots .cdot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%;
  background: rgba(255,255,255,.28); cursor: pointer; transition: width .3s var(--ease), background .3s var(--ease); }
.carousel-dots .cdot:hover { background: rgba(255,255,255,.5); }
.carousel-dots .cdot.on { width: 20px; border-radius: 4px; background: rgba(255,255,255,.92); }

/* ── Features: clean hairline-ruled summary grid ── */
.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: clamp(30px, 5vw, 72px);
  border-top: 1px solid var(--hairline-soft);
}
.feat {
  display: flex; gap: 20px; align-items: flex-start;
  padding: clamp(24px, 2.8vw, 34px) 2px;
  border-bottom: 1px solid var(--hairline-soft);
}
.feat-ic { flex: none; width: 26px; height: 26px; display: grid; place-items: center; margin-top: 3px; color: var(--text-tertiary); transition: color .3s var(--ease); }
.feat-ic svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font: 400 21px var(--serif); letter-spacing: -.2px; margin-bottom: 7px; transition: color .3s var(--ease); }
.feat p { color: var(--text-tertiary); font-size: 14.5px; line-height: 1.58; max-width: 42ch; }
.feat:hover .feat-ic { color: var(--accent); }
.feat:hover h3 { color: var(--text-primary); }

@media (max-width: 720px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ── Showcase rows ── */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.showcase + .showcase { margin-top: var(--s-4xl); }
.showcase.flip .copy { order: 2; }
.showcase .copy h2 { font: 400 clamp(25px, 3.2vw, 34px) var(--serif); line-height: 1.14; letter-spacing: -.3px; margin-top: 10px; }
.showcase .copy p { color: var(--text-secondary); font-size: 17px; line-height: 1.65; margin-top: 14px; }
.showcase .copy ul { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.showcase .copy li { color: var(--text-secondary); padding-left: 24px; position: relative; }
.showcase .copy li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px rgba(255,255,255,.55), 0 0 4px rgba(255,255,255,.8); }
.showcase .art { display: flex; flex-direction: column; align-items: center; justify-content: center; }
@media (max-width: 880px) {
  .showcase { grid-template-columns: 1fr; gap: var(--s-2xl); }
  .showcase.flip .copy { order: 0; }
  .showcase .art { order: -1; }
}

/* ── How it works ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-lg); }
.step { padding: var(--s-xl); border-radius: var(--r-card); }
.step .n { font: 500 12px var(--mono); letter-spacing: 1px; color: var(--accent); display: block; margin-bottom: 12px; }
.step h3 { font: 400 20px var(--serif); margin-bottom: 6px; }
.step p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }

/* ── Brand band (real app icon, big) ── */
.brandband { text-align: center; }
.brandband .icon { width: 116px; height: 116px; border-radius: 27px; margin: 0 auto var(--s-lg); box-shadow: 0 30px 70px -15px rgba(0,0,0,.7); border: 1px solid var(--hairline); }
.brandband .eyebrow { display: block; margin-bottom: 14px; }
.brandband h2 { font: 400 clamp(26px, 3.6vw, 38px) var(--serif); letter-spacing: -.3px; }
.brandband p { color: var(--text-secondary); max-width: 46ch; margin: 12px auto 0; font-size: 17px; }

/* ── FAQ ── */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--hairline-soft); padding: 20px 0; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-lg); cursor: pointer; font: 400 19px var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { color: var(--text-tertiary); font-size: 22px; transition: transform .25s var(--press); }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq p { color: var(--text-secondary); font-size: 16px; line-height: 1.65; margin-top: 12px; max-width: 70ch; }

/* ── Final CTA — full-bleed cinematic close ── */
.closing {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(96px, 15vw, 190px) var(--s-xl);
  display: flex; justify-content: center; text-align: center;
}
/* the misty hero still, bookending the opening video */
.closing-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("img/mood-poster.jpg") center 32% / cover no-repeat;
  opacity: .32; filter: saturate(105%);
  transform: scale(1.04);
}
/* fade the band into the page at top & bottom, warm glow at centre */
.closing-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(58% 52% at 50% 34%, rgba(150,120,190,.18), transparent 70%),
    radial-gradient(50% 40% at 50% 40%, rgba(237,92,107,.10), transparent 72%),
    linear-gradient(180deg, #0a0b0f 0%, rgba(10,11,15,.5) 26%, rgba(10,11,15,.52) 72%, #0a0b0f 100%);
}
.closing-inner { max-width: 620px; display: flex; flex-direction: column; align-items: center; }
.closing-mark { width: 78px; height: 78px; opacity: .96; margin-bottom: 26px; filter: drop-shadow(0 8px 24px rgba(0,0,0,.5)); }
.closing-inner .eyebrow { margin-bottom: 16px; }
.closing-inner h2 { font: 400 clamp(32px, 5.2vw, 54px) var(--serif); line-height: 1.04; letter-spacing: -.8px; text-wrap: balance; }
.closing-inner p { color: var(--text-secondary); margin: 16px auto 0; max-width: 40ch; font-size: 17.5px; line-height: 1.6; }
.closing-inner .actions { display: flex; gap: var(--s-md); justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.closing-note { margin-top: 22px; font: 500 13px var(--sans); letter-spacing: .3px; color: var(--text-tertiary); }

/* ── Footer ── */
footer { max-width: var(--maxw); margin: 0 auto; padding: var(--s-2xl) var(--s-xl) var(--s-4xl); }
footer .divider { height: 1px; background: var(--hairline-soft); border: 0; margin-bottom: var(--s-xl); }
footer .cols { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-lg); align-items: center; }
footer .brand { display: flex; align-items: center; gap: 10px; }
footer .brand img { width: 56px; height: 56px; margin: -10px 0; }
footer .brand b { font-family: var(--serif); font-weight: 400; font-size: 18px; }
footer .fnav { display: flex; gap: var(--s-xl); flex-wrap: wrap; }
footer .fnav a { color: var(--text-tertiary); font-size: 14px; transition: color .2s; }
footer .fnav a:hover { color: var(--text-primary); }
footer .legal { margin-top: var(--s-lg); color: var(--text-faint); font-size: 13px; }

/* ============================================================
   Cinematic video hero
   ============================================================ */
.videohero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center start; text-align: left;
  padding: 128px clamp(24px, 7vw, 104px) 96px;
}
.vh-media {
  position: absolute; inset: 0; width: 100%; height: 118%;
  object-fit: cover; z-index: 0; will-change: transform;
  transform: translateY(0); filter: brightness(1.14) saturate(1.04);
}
.vh-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(8,8,12,.18), transparent 55%),
    linear-gradient(180deg, rgba(8,8,12,.38) 0%, rgba(8,8,12,.16) 38%, rgba(10,10,14,.82) 100%);
}
.vh-inner { position: relative; z-index: 2; max-width: 620px; }
.vh-cue { z-index: 2; }
.vh-welcome {
  display: inline-block; margin-bottom: 18px;
  font: 600 11px/1 var(--sans); letter-spacing: 3.2px; text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.vh-welcome::after {
  content: ""; display: inline-block; width: 26px; height: 1px; vertical-align: middle;
  background: rgba(255,255,255,.4); margin: 0 0 3px 12px;
}
.videohero .eyebrow { color: rgba(255,255,255,.62); }
.videohero h1 {
  font: 400 clamp(28px, 3.6vw, 44px) var(--serif); line-height: 1.08;
  letter-spacing: -.6px; margin-top: 16px; text-shadow: 0 2px 40px rgba(0,0,0,.35);
}
.videohero .lede {
  color: rgba(255,255,255,.84); font-size: clamp(15px, 1.5vw, 16px);
  line-height: 1.6; margin: 18px 0 0; max-width: 42ch;
}
.videohero .actions { display: flex; align-items: center; justify-content: flex-start; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.videohero .actions .appbadge img { height: 44px; width: auto; }
.videohero .actions .btn { height: 44px; padding: 0 18px; display: inline-flex; align-items: center; font-size: 12.5px; }
.videohero .note { color: rgba(255,255,255,.6); font-size: 13px; margin-top: 18px; }

/* scroll cue */
.vh-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: block; }
.vh-cue span {
  display: block; width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,.5);
  border-radius: 14px; position: relative;
}
.vh-cue span::after {
  content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px;
  border-radius: 3px; background: rgba(255,255,255,.85); transform: translateX(-50%);
  animation: vh-scroll 1.8s var(--ease) infinite;
}
@keyframes vh-scroll { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

@media (max-width: 920px) { .videohero { padding-top: 108px; } }

/* pre-launch (coming soon) hero */
.prelaunch-actions { display: flex; align-items: center; justify-content: flex-start; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.soon-pill {
  display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.06);
  color: #fff; font: 600 12.5px/1 var(--sans); letter-spacing: 2px; text-transform: uppercase;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.soon-pill .pulse { width: 8px; height: 8px; border-radius: 50%; background: #7fe0a8; box-shadow: 0 0 0 0 rgba(127,224,168,.55); animation: soon-pulse 2s var(--ease) infinite; }
@keyframes soon-pulse { 0% { box-shadow: 0 0 0 0 rgba(127,224,168,.5); } 70% { box-shadow: 0 0 0 8px rgba(127,224,168,0); } 100% { box-shadow: 0 0 0 0 rgba(127,224,168,0); } }
.ig-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.28); color: #fff;
  font: 600 13px var(--sans); letter-spacing: .3px; transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.ig-btn:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); transform: translateY(-1px); }
.ig-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
@media (prefers-reduced-motion: reduce) { .soon-pill .pulse { animation: none; } }

/* ============================================================
   Scroll reveal — slow, controlled, entering from the sides
   ============================================================ */
.reveal, .reveal-l, .reveal-r {
  opacity: 0;
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  will-change: opacity, transform;
}
.reveal   { transform: translateY(42px); }
.reveal-l { transform: translateX(-64px); }
.reveal-r { transform: translateX(64px); }
.reveal.in, .reveal-l.in, .reveal-r.in { opacity: 1; transform: none; }

/* staggered children (feature cards, steps) */
.stagger > * { opacity: 0; transform: translateY(38px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(2) { transition-delay: .08s; }
.stagger.in > *:nth-child(3) { transition-delay: .16s; }
.stagger.in > *:nth-child(4) { transition-delay: .24s; }
.stagger.in > *:nth-child(5) { transition-delay: .32s; }
.stagger.in > *:nth-child(6) { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-l, .reveal-r, .stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .vh-cue span::after { animation: none; }
  .vh-media { height: 100%; }
}

/* ============================================================
   Reflection — "What is prayer?" editorial block
   ============================================================ */
.reflection { display: flex; justify-content: center; padding-inline: clamp(0px, 4vw, 40px); }
.reflection-inner {
  position: relative; max-width: 660px; text-align: center;
}
/* the brand spark, used as a sacred dinkus */
.reflection-inner .refl-mark { display: block; margin: 0 auto clamp(20px, 3vw, 30px); }
.reflection-inner .refl-mark svg { width: 24px; height: 32px; display: block; margin: 0 auto; fill: var(--accent); opacity: .92; }
.reflection-inner .eyebrow { display: block; margin-bottom: 18px; }
.reflection-inner h2 {
  font: 400 clamp(34px, 5.6vw, 60px) var(--serif); letter-spacing: -1.1px; line-height: 1.02;
  margin-bottom: clamp(26px, 4vw, 38px); text-wrap: balance;
}
.reflection-inner .refl-lead {
  font: 400 clamp(19px, 2.1vw, 23px) var(--serif); line-height: 1.5; color: var(--text-primary);
  max-width: 32ch; margin: 0 auto clamp(20px, 3vw, 26px); text-wrap: balance;
}
.reflection-inner p {
  color: var(--text-secondary); font-size: 16px; line-height: 1.75;
  max-width: 52ch; margin: 0 auto;
}
.reflection-inner .readmore {
  display: inline-flex; align-items: center; gap: 8px; margin-top: clamp(30px, 4vw, 40px);
  font: 500 15px var(--serif); letter-spacing: .2px; color: var(--text-primary);
  padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.28);
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.reflection-inner .readmore:hover { border-color: rgba(255,255,255,.6); gap: 12px; }
.reflection-inner .readmore span { transition: transform .25s var(--ease); }
.reflection-inner .readmore:hover span { transform: translateX(3px); }

/* ============================================================
   Sub-pages (App Store, Contact, Privacy, Terms)
   Fixed nav sits solid over content; give it breathing room.
   ============================================================ */
.subpage { padding-top: 96px; }
nav.solid.static { transform: none !important; }   /* never hide on sub-pages */

/* Page header */
.page-head { max-width: 760px; margin: 0 auto; padding: var(--s-4xl) var(--s-xl) var(--s-2xl); }
.page-head .eyebrow { margin-bottom: 14px; }
.page-head h1 { font: 400 clamp(32px, 5vw, 46px) var(--serif); line-height: 1.1; letter-spacing: -.6px; }
.page-head p { color: var(--text-secondary); font-size: 18px; margin-top: 16px; max-width: 56ch; }

/* Legal / prose */
.prose { max-width: 760px; margin: 0 auto; padding: 0 var(--s-xl) var(--s-4xl); }
.prose .meta { color: var(--text-faint); font-size: 13px; margin-bottom: var(--s-2xl); }
.prose h2 { font: 500 20px var(--sans); letter-spacing: -.2px; margin: var(--s-2xl) 0 var(--s-sm); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-secondary); font-size: 15.5px; line-height: 1.7; }
.prose p { margin-bottom: var(--s-md); }
.prose ul { margin: 0 0 var(--s-md) 1.2em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); }
.prose a:hover { text-decoration: underline; }
.prose .callout {
  background: var(--fill-faint); border: 1px solid var(--hairline-soft);
  border-radius: var(--r-card); padding: var(--s-lg) var(--s-xl); margin: var(--s-lg) 0 var(--s-2xl);
  color: var(--text-secondary); font-size: 15px;
}
.prose .callout b { color: var(--text-primary); font-weight: 600; }

/* Contact form */
.formwrap { max-width: 560px; margin: 0 auto; padding: 0 var(--s-xl) var(--s-4xl); }
.field { margin-bottom: var(--s-lg); }
.field label { display: block; font: 600 12px var(--sans); letter-spacing: .4px; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 15px var(--sans); color: var(--text-primary);
  background: var(--fill-subtle); border: 1px solid var(--hairline);
  border-radius: 12px; padding: 13px 14px; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--fill-regular); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: var(--s-md) 0 var(--s-lg); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.consent label { font-size: 13px; color: var(--text-tertiary); line-height: 1.5; }
.consent a { color: var(--accent); }
.btn.primary { background: var(--accent); border-color: transparent; color: #fff; width: 100%; }
.btn.primary:hover { background: rgb(224,78,94); }
.form-success {
  display: none; text-align: center; padding: var(--s-3xl) var(--s-xl);
  color: var(--text-secondary); font-size: 16px;
}
.form-success.show { display: block; }
.form-success .tick {
  width: 52px; height: 52px; margin: 0 auto var(--s-lg); border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 24px;
}
.form-success .form-fallback { margin-top: 12px; font-size: 14px; color: var(--text-tertiary); }
.form-success .form-fallback a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   Blog
   ============================================================ */
.blog-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-xl) var(--s-4xl);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-lg);
}
.blog-card {
  border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--press), border-color .2s;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card .cover { aspect-ratio: 4/3; overflow: hidden; background: var(--fill-faint); }
.blog-card .cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.blog-card:hover .cover img { transform: scale(1.04); }
.blog-card .body { padding: var(--s-lg) var(--s-lg) var(--s-xl); }
.blog-card .eyebrow { display: block; margin-bottom: 10px; }
.blog-card h3 { font: 400 21px var(--serif); line-height: 1.22; letter-spacing: -.2px; margin-bottom: 8px; }
.blog-card p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 880px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

/* Post page */
.blog-hero-cover { max-width: var(--maxw); margin: 0 auto var(--s-2xl); padding: 0 var(--s-xl); }
.blog-hero-cover img {
  width: 100%; max-height: 440px; object-fit: cover; object-position: center 20%;
  border-radius: var(--r-card); border: 1px solid var(--hairline);
}
.photo-credit {
  display: block; margin-top: 8px; font-size: 12.5px; color: var(--text-secondary);
  opacity: .65; letter-spacing: .1px;
}
.photo-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.photo-credit a:hover { opacity: 1; }
.blog-card .credit {
  display: block; padding: 6px var(--s-lg) 0; font-size: 11.5px; color: var(--text-secondary);
  opacity: .55;
}
.post-body { max-width: 760px; }
.post-body h2 { font: 400 26px var(--serif); letter-spacing: -.3px; margin: var(--s-2xl) 0 var(--s-sm); color: var(--text-primary); }
.post-body h2:first-child { margin-top: 0; }
.post-body blockquote {
  border-left: 2px solid var(--accent); margin: var(--s-xl) 0; padding: 2px 0 2px 22px;
}
.post-body blockquote p { font: 400 19px var(--serif); font-style: italic; color: var(--text-primary); line-height: 1.5; margin-bottom: 8px; }
.post-body blockquote cite { display: block; font: 500 13px var(--sans); font-style: normal; letter-spacing: .2px; color: var(--text-tertiary); }
.post-body table { width: 100%; border-collapse: collapse; margin: var(--s-lg) 0 var(--s-2xl); font-size: 13.5px; }
.post-body th, .post-body td { border-bottom: 1px solid var(--hairline-soft); padding: 11px 14px; text-align: left; color: var(--text-secondary); vertical-align: top; }
.post-body th { color: var(--text-primary); font-weight: 600; font-size: 12px; letter-spacing: .3px; text-transform: uppercase; }
.post-body table + p { margin-top: var(--s-lg); }
.post-cta {
  margin: var(--s-3xl) 0 0; padding: var(--s-xl); border-radius: var(--r-card);
  background: var(--fill-faint); border: 1px solid var(--hairline-soft);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-lg); flex-wrap: wrap;
}
.post-cta p { color: var(--text-secondary); font-size: 15px; margin: 0; max-width: 44ch; }
.post-back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-tertiary); font-size: 14px; margin-bottom: var(--s-lg); }
.post-back:hover { color: var(--text-primary); }

/* App Store page — just the button, centred */
.appstore-page {
  min-height: calc(100vh - 220px); display: grid; place-items: center; text-align: center;
  padding: 140px var(--s-xl) var(--s-4xl);
}
.appstore-page .mark { width: 108px; height: 108px; margin: 0 auto var(--s-lg); }
.appstore-page h1 { font: 400 clamp(28px, 4vw, 40px) var(--serif); letter-spacing: -.6px; }
.appstore-page p { color: var(--text-secondary); font-size: 17px; margin: 14px auto var(--s-2xl); max-width: 42ch; }
.appstore-page .appbadge img { height: 60px; }
