/* Prayer Latch site. Colors and type follow the app (Berry bloom, Nunito) and the store screenshots (Anybody, gold accent). */
@font-face { font-family: Display; src: url(/fonts/anybody.woff2) format("woff2"); font-weight: 100 900; font-stretch: 50% 150%; font-display: swap; }
@font-face { font-family: Nunito; src: url(/fonts/nunito.woff2) format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #fcf7fa;
  --surface: #ffffff;
  --ink: #402b38;
  --muted: #75616c;
  --border: #e9d9e2;
  --berry: #a43f70;
  --berry-ink: #8d315e;
  --berry-deep: #7c2c54;
  --tint: #f8e3ee;
  --plum: #3e1230;
  --night: #171b45;
  --forest: #123a2a;
  --teal: #0f3a46;
  --gold: #ffd36e;
  --scripture: #515f8c;
  --scripture-surface: #ebeef9;
  --radius: 22px;
  --display: Display, "Arial Narrow", sans-serif;
  --body: Nunito, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-weight: 500; font-size: 18px; line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--berry-ink); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #b87922; outline-offset: 4px; border-radius: 6px; }

/* Shared header and footer */
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: rgba(252, 247, 250, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand span { white-space: nowrap; font-family: var(--display); font-weight: 900; font-stretch: 62%; font-size: 26px; letter-spacing: .5px; text-transform: uppercase; line-height: 1; }
.site-header nav { display: flex; align-items: center; gap: 18px; font-weight: 800; }
.site-header nav a { text-decoration: none; color: var(--ink); }
.site-header nav .get { background: var(--berry); color: #fff; padding: 9px 16px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 520px) { .site-header nav .hide-sm { display: none; } .site-header nav { gap: 12px; font-size: 16px; } .brand span { font-size: 21px; } .brand img { width: 32px; height: 32px; } .site-header nav .get { padding: 8px 12px; } }

.site-footer { background: var(--plum); color: rgba(255, 255, 255, .86); padding: 48px 16px 56px; margin-top: 0; }
.site-footer .inner { max-width: 1080px; margin: 0 auto; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer a { color: #fff; }
.site-footer h3 { font-family: var(--display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; color: var(--gold); font-size: 22px; margin: 0 0 8px; letter-spacing: .5px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer small { display: block; max-width: 1080px; margin: 32px auto 0; color: rgba(255, 255, 255, .6); }

/* Display type */
.display { font-family: var(--display); font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: .9; letter-spacing: -.5px; margin: 0; }
.display em { font-style: normal; color: var(--gold); }
.on-light .display em { color: var(--berry); }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 16px; background: #120a10; color: #fff;
  text-decoration: none; box-shadow: 0 6px 18px rgba(20, 5, 20, .25); transition: transform .12s cubic-bezier(.23, 1, .32, 1); }
.store:active { transform: scale(.97); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: grid; line-height: 1.1; font-size: 12px; font-weight: 700; }
.store b { font-size: 19px; font-weight: 900; }

/* Homepage hero */
.hero { position: relative; min-height: min(100svh, 900px); display: grid; overflow: hidden; color: #fff; background: var(--plum); }
.hero .painting { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(62, 18, 48, .96) 0%, rgba(62, 18, 48, .78) 32%, rgba(62, 18, 48, .1) 62%, rgba(62, 18, 48, 0) 100%); }
.hero .inner { position: relative; z-index: 2; width: 100%; max-width: 1080px; margin: 0 auto; padding: 48px 16px 24px; display: grid; gap: 18px; align-content: start; }
.hero h1 { font-size: clamp(64px, 17vw, 168px); text-shadow: 0 4px 18px rgba(0, 0, 0, .25); }
.hero .lede { text-shadow: 0 1px 10px rgba(30, 6, 22, .45); font-size: clamp(19px, 2.6vw, 24px); font-weight: 800; max-width: 34ch; margin: 0; color: rgba(255, 255, 255, .95); }
.hero .note { font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .85); margin: 0; }
.stage { position: relative; z-index: 2; align-self: end; justify-self: center; display: grid; justify-items: center; gap: 14px; padding-bottom: 28px; }

/* Latch rig: every measurement is a fraction of the body width --b. */
.latch { --b: clamp(150px, 34vw, 230px); position: relative; width: calc(var(--b) * 1.8); height: calc(var(--b) * 1.95); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.latch .ground { position: absolute; left: calc(var(--b) * .29); top: calc(var(--b) * 1.69); width: calc(var(--b) * 1.22); height: calc(var(--b) * .16); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30, 10, 25, .5), transparent); }
.latch .foot { position: absolute; top: calc(var(--b) * 1.542); width: calc(var(--b) * .3); height: calc(var(--b) * .22); }
.latch .foot.l { left: calc(var(--b) * .525); transform: scaleX(-1); }
.latch .foot.r { left: calc(var(--b) * .975); }
.latch .body { position: absolute; left: calc(var(--b) * .4); top: calc(var(--b) * .7); width: var(--b); height: calc(var(--b) * .992); transform-origin: 50% 100%; }
.latch .part { position: absolute; }
.latch .shackle { left: calc(var(--b) * .1875); top: calc(var(--b) * -.3865); width: calc(var(--b) * .625); height: calc(var(--b) * .5615);
  transform-origin: calc(var(--b) * .57) calc(var(--b) * .53); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.latch .torso { left: 0; top: 0; width: 100%; height: 100%; }
.latch .eye { width: calc(var(--b) * .17); top: calc(var(--b) * (.425 - .115)); height: calc(var(--b) * .23); object-fit: contain; }
.latch .eye.l { left: calc(var(--b) * (.34 - .085)); }
.latch .eye.r { left: calc(var(--b) * (.66 - .085)); }
.latch .eye.star { width: calc(var(--b) * .21); }
.latch .eye.star.l { left: calc(var(--b) * (.34 - .105)); transform: scaleX(-1); }
.latch .eye.star.r { left: calc(var(--b) * (.66 - .105)); }
.latch .lid { opacity: 0; }
.latch .brow { top: calc(var(--b) * .235); width: calc(var(--b) * .12); height: calc(var(--b) * .045); }
.latch .brow.l { left: calc(var(--b) * (.34 - .06)); transform: scaleX(-1) rotate(6deg); }
.latch .brow.r { left: calc(var(--b) * (.66 - .06)); transform: rotate(6deg); }
.latch .cheek { top: calc(var(--b) * .5625); width: calc(var(--b) * .16); height: calc(var(--b) * .075); border-radius: 50%; background: rgb(240, 140, 140); opacity: .65; }
.latch .cheek.l { left: calc(var(--b) * (.225 - .08)); }
.latch .cheek.r { left: calc(var(--b) * (.775 - .08)); }
.latch .mouth { top: calc(var(--b) * .6); }
.latch .mouth.smile { left: calc(var(--b) * (.5 - .0875)); width: calc(var(--b) * .175); }
.latch .mouth.laugh { left: calc(var(--b) * (.5 - .1)); width: calc(var(--b) * .2); opacity: 0; }
.latch .keyhole { left: calc(var(--b) * .4575); top: calc(var(--b) * .8); width: calc(var(--b) * .085); }
.latch .face-happy { opacity: 0; }

.latch.idle .body { animation: breathe 3.6s ease-in-out infinite; }
.latch.idle .eyes-open { animation: blink 5.2s infinite; }
.latch.idle .lid { animation: lid 5.2s infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.012, .985); } }
@keyframes blink { 0%, 94%, 100% { opacity: 1; } 95.5%, 98% { opacity: 0; } }
@keyframes lid { 0%, 94%, 100% { opacity: 0; } 95.5%, 98% { opacity: 1; } }

.latch.unlocked .shackle { transform: translateY(calc(var(--b) * -.08)) rotate(30deg); }
.latch.unlocked .eyes-open, .latch.unlocked .mouth.smile { opacity: 0; }
.latch.unlocked .face-happy, .latch.unlocked .mouth.laugh { opacity: 1; }
.latch.unlocked .cheek { opacity: .95; }
.latch.unlocked .body { animation: hop .7s cubic-bezier(.3, .7, .4, 1) 1; }
.latch.unlocked .foot { animation: hop .7s cubic-bezier(.3, .7, .4, 1) 1; }
@keyframes hop { 0% { transform: translateY(0) scale(1, 1); } 18% { transform: translateY(0) scale(1.06, .9); } 50% { transform: translateY(calc(var(--b) * -.22)) scale(.97, 1.04); } 82% { transform: translateY(0) scale(1.05, .94); } 100% { transform: translateY(0) scale(1, 1); } }
.latch.unlocked .foot.l { animation-name: hopl; }
@keyframes hopl { 0% { transform: scaleX(-1); } 50% { transform: translateY(calc(var(--b) * -.22)) scaleX(-1); } 100% { transform: scaleX(-1); } }
.latch.poked .body { animation: poke .45s cubic-bezier(.3, .7, .4, 1) 1; }
@keyframes poke { 30% { transform: scale(1.05, .92); } 65% { transform: translateY(calc(var(--b) * -.06)) scale(.97, 1.03); } }

.sparkles { position: absolute; inset: 0; pointer-events: none; }
.sparkles i { position: absolute; width: 16px; height: 16px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  opacity: 0; animation: spark 1s ease-out forwards; }
@keyframes spark { 0% { opacity: 0; transform: translate(0, 0) scale(.3); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.2) rotate(90deg); } }

.amen { position: relative; overflow: hidden; width: min(320px, 82vw); height: 64px; border: 0; border-radius: 999px; background: var(--berry-deep); color: #fff;
  font-family: var(--body); font-weight: 900; font-size: 22px; cursor: pointer; box-shadow: 0 10px 28px rgba(40, 8, 30, .45); touch-action: none; user-select: none; -webkit-user-select: none; }
.amen .fill { position: absolute; inset: 0; width: 0; background: var(--berry); }
.amen .label { position: relative; }
.amen.holding .fill { width: 100%; transition: width 1.5s linear; }
.stage .hint { margin: 0; font-weight: 800; font-size: 15px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); min-height: 1.5em; text-align: center; }

/* Homepage sections */
.band { padding: 72px 16px; }
.band .inner { max-width: 1080px; margin: 0 auto; }
.band.dark { color: #fff; }
.band.plum { background: var(--plum); }
.band.night { background: var(--night); }
.band.forest { background: var(--forest); }
.band.teal { background: var(--teal); }
.band.berry { background: #8a2e5c; }
.band h2.display { font-size: clamp(52px, 11vw, 112px); }
.band .lede { font-size: clamp(19px, 2.4vw, 23px); font-weight: 800; max-width: 40ch; }
.band.dark .lede { color: rgba(255, 255, 255, .92); }

.steps { display: grid; gap: 22px; margin-top: 40px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.step { position: relative; background: rgba(255, 255, 255, .07); border-radius: var(--radius); padding: 24px 22px 22px; overflow: hidden; }
.step .num { font-family: var(--display); font-weight: 900; font-stretch: 62%; font-size: 92px; line-height: .8; color: var(--gold); }
.step h3 { font-family: var(--display); font-weight: 900; font-stretch: 70%; text-transform: uppercase; font-size: 36px; line-height: .95; margin: 12px 0 8px; }
.step p { margin: 0 0 18px; color: rgba(255, 255, 255, .88); font-weight: 700; }
.step .ui { border-radius: 16px; box-shadow: 0 14px 30px rgba(10, 2, 10, .45), 0 0 0 3px rgba(255, 255, 255, .9); background: #fff; }
.step .prop { position: absolute; right: 14px; top: 16px; width: auto; height: 74px; max-width: 96px; object-fit: contain; transform: rotate(10deg); filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .3)); }
.step h3, .step p { padding-right: 8px; }

.journey { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px 16px 18px; margin: 0 -16px; scrollbar-width: thin; }
.journey figure { flex: 0 0 min(78vw, 420px); margin: 0; scroll-snap-align: center; border-radius: var(--radius); overflow: hidden; background: #fff; color: var(--ink);
  box-shadow: 0 16px 34px rgba(10, 30, 20, .4); }
.journey img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; }
.journey figcaption { padding: 14px 18px 18px; }
.journey figcaption b { display: block; font-size: 13px; color: var(--berry-ink); text-transform: uppercase; letter-spacing: .6px; }
.journey figcaption strong { display: block; font-size: 22px; font-weight: 900; line-height: 1.2; }
.journey figcaption span { display: block; font-family: Georgia, "Times New Roman", serif; color: var(--scripture); font-size: 16px; margin-top: 4px; }

.shots { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px 16px 12px; margin: 0 -16px; }
.shots img { height: auto; flex: 0 0 min(64vw, 280px); scroll-snap-align: center; border-radius: 26px; box-shadow: 0 18px 36px rgba(10, 2, 10, .35); }

.tiles { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 36px; }
.tile { position: relative; border-radius: var(--radius); padding: 26px 22px 24px; background: var(--surface); box-shadow: 0 2px 0 var(--border), 0 18px 40px rgba(124, 44, 84, .08); overflow: hidden; }
.tile:nth-child(3n+1) { background: var(--tint); }
.tile:nth-child(3n+2) { background: var(--scripture-surface); }
.tile h3 { padding-right: 64px; font-family: var(--display); font-weight: 900; font-stretch: 70%; text-transform: uppercase; font-size: 34px; line-height: .95; margin: 0 0 10px; color: var(--plum); }
.tile p { margin: 0; font-weight: 600; }
.tile img { position: absolute; right: 14px; top: 16px; width: auto; height: 56px; max-width: 70px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(60, 20, 40, .2)); }

.price { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 32px; }
.price div { background: rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 24px; }
.price b { display: block; font-family: var(--display); font-weight: 900; font-stretch: 62%; font-size: 64px; line-height: .9; color: var(--gold); }
.price span { font-weight: 800; }
.price p { margin: 8px 0 0; color: rgba(255, 255, 255, .86); font-weight: 600; font-size: 16px; }

.qlist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.qlist a { display: block; height: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 16px 18px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 18px; line-height: 1.35;
  transition: transform .12s cubic-bezier(.23, 1, .32, 1), border-color .12s; }
.qlist a:hover { border-color: var(--berry); transform: translateY(-2px); }
.qlist small { display: block; font-weight: 600; color: var(--muted); font-size: 14px; margin-top: 4px; }

/* Question pages and legal pages */
.page-hero { background: var(--plum); color: #fff; padding: 44px 16px 40px; position: relative; overflow: hidden; }
.page-hero .inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero .kicker { font-weight: 900; font-size: 14px; letter-spacing: .8px; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.page-hero h1 { font-family: var(--display); font-weight: 900; font-stretch: 66%; text-transform: uppercase; font-size: clamp(42px, 8vw, 76px); line-height: .92; margin: 0; letter-spacing: -.3px; }
.page-hero .latch-peek { position: absolute; right: -18px; bottom: -26px; width: 150px; opacity: .95; transform: rotate(-8deg); }
@media (max-width: 640px) { .page-hero .latch-peek { width: 96px; right: -14px; bottom: -18px; } .page-hero h1 { padding-right: 40px; } }

.article { max-width: 760px; margin: 0 auto; padding: 32px 16px 56px; }
.answer { font-size: 21px; font-weight: 700; line-height: 1.55; background: var(--tint); border-left: 6px solid var(--berry); border-radius: 0 18px 18px 0; padding: 18px 20px; margin: 0 0 28px; }
.article h2 { font-family: var(--body); font-weight: 900; font-size: 27px; line-height: 1.25; margin: 40px 0 10px; color: var(--plum); }
.article h3 { font-size: 21px; font-weight: 900; margin: 28px 0 6px; }
.article li { margin: 6px 0; }
.article blockquote { margin: 22px 0; padding: 16px 20px; background: var(--scripture-surface); color: var(--scripture); border-radius: 16px; font-family: Georgia, "Times New Roman", serif; font-size: 19px; }
.article blockquote p { margin: 0; }
.article blockquote cite, .article blockquote strong { font-style: normal; font-family: var(--body); font-weight: 800; font-size: 15px; }
.article table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 16px; display: block; overflow-x: auto; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.article th { background: var(--tint); font-weight: 900; }
.article figure { margin: 24px 0; }
.article figure img { border-radius: 18px; box-shadow: 0 10px 26px rgba(60, 20, 40, .15); }
.article figure.phone img { max-width: 300px; margin: 0 auto; border-radius: 26px; }

.cta { margin: 40px 0 0; background: var(--plum); color: #fff; border-radius: var(--radius); padding: 26px 22px; display: grid; gap: 16px; position: relative; overflow: hidden; }
.cta h2 { margin: 0; color: #fff; font-family: var(--display); font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: 44px; line-height: .92; padding-right: 90px; }
.cta h2 em { font-style: normal; color: var(--gold); }
.cta p { margin: 0; color: rgba(255, 255, 255, .88); font-weight: 700; padding-right: 90px; }
.cta img.mascot { position: absolute; right: 10px; top: 14px; width: 92px; }
.related h2 { margin-top: 48px; }
.updated { color: var(--muted); font-size: 15px; font-weight: 700; margin-top: 32px; }

/* Legal pages and the account-deletion form */
.legal { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
.legal h1 { font-family: var(--display); font-weight: 900; font-stretch: 66%; text-transform: uppercase; font-size: clamp(40px, 8vw, 68px); line-height: .92; margin: 8px 0 12px; color: var(--plum); }
.legal h2 { font-size: 24px; font-weight: 900; line-height: 1.3; margin-top: 36px; color: var(--plum); }
.legal header p { color: var(--muted); }
form, aside { padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: white; }
label { display: block; margin: 18px 0 6px; font-weight: 800; }
input { font: inherit; padding: 12px; border: 1px solid #946b82; border-radius: 9px; width: 100%; }
form button { font: inherit; font-weight: 900; background: var(--berry-deep); color: white; border: 0; border-radius: 999px; padding: 12px 26px; margin-top: 20px; cursor: pointer; }
form button:disabled { opacity: .55; }
.status { min-height: 28px; }
small { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; padding: 0 max(16px, calc((100vw - 1180px) / 2)); }
  .hero .inner { padding: 72px 0 72px 16px; align-self: center; }
  .hero h1 { font-size: clamp(96px, 9.5vw, 150px); }
  .hero .shade { background: linear-gradient(90deg, rgba(62, 18, 48, .94) 0%, rgba(62, 18, 48, .8) 34%, rgba(62, 18, 48, .15) 58%, rgba(62, 18, 48, 0) 100%); }
  .stage { padding-bottom: 48px; }
  .latch { --b: 240px; }
}
@media (max-width: 370px) { .site-header nav .hide-xs { display: none; } }
.page-hero .latch-peek, .cta img.mascot { border-radius: 26%; }
