@font-face { font-family: 'Garamond'; src: url('fonts/EBGaramond_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('fonts/Nunito_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --wine: #5A1A26; --wine-2: #6E2633; --cream: #F6E9E4; --cream-2: #FBF4F0; --gold: #C9A45C; --gold-d: #A8843F;
  --ink: #2A0E13; --muted: #7D5A61; --line: rgba(90, 26, 38, 0.12);
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: 'Garamond', 'Iowan Old Style', Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream-2); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(251, 244, 240, 0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.nav-in { max-width: 1080px; margin: 0 auto; height: 52px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Nunito', var(--sans); font-weight: 800; font-size: 17px; color: var(--wine); }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 13px; color: var(--muted); }
.nav-links a:hover { color: var(--wine); }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--wine); color: var(--cream); border-radius: 980px; padding: 7px 15px; font-size: 13px; font-weight: 600; }
@media (max-width: 640px) { .nav-links .hide-s { display: none; } }

/* Layout */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
section { padding: 110px 0; }
.eyebrow { font-family: 'Nunito', var(--sans); font-weight: 800; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-d); }
h1, h2 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; color: var(--wine); }
h1 { font-size: clamp(48px, 8.4vw, 96px); }
h2 { font-size: clamp(38px, 6vw, 64px); }
.serif { font-family: var(--serif); font-weight: 500; font-style: italic; letter-spacing: -0.01em; }
.lead { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.38; color: var(--muted); max-width: 680px; font-weight: 400; letter-spacing: -0.01em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.cta { display: inline-flex; align-items: center; gap: 10px; background: var(--wine); color: var(--cream); border-radius: 980px; padding: 15px 28px; font-size: 17px; font-weight: 600; transition: transform .2s ease, background .2s ease; }
.cta:hover { background: var(--wine-2); transform: scale(1.02); }
.cta svg { width: 20px; height: 20px; }
.soon { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }

/* Hero */
.hero { padding: 88px 0 0; text-align: center; overflow: hidden; }
.hero h1 { margin-top: 18px; }
.hero .lead { margin: 22px auto 34px; }
.hero-art { position: relative; margin: 56px auto 0; width: min(440px, 86vw); }
.halo { position: absolute; left: 50%; top: 4%; width: 78%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(201,164,92,0.28), rgba(201,164,92,0) 68%); }
.hero-art img { position: relative; width: 100%; }

/* Dark band */
.dark { background: var(--wine); color: var(--cream); }
.dark h2 { color: var(--cream); }
.dark .lead { color: rgba(246, 233, 228, 0.72); }
.dark .eyebrow { color: var(--gold); }

/* Widgets */
.widgets { margin-top: 70px; display: grid; grid-template-columns: 170px 364px; grid-template-rows: auto auto; gap: 22px; justify-content: center; }
.widgets img { height: auto; align-self: start; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.45); }
.w-small { grid-column: 1; grid-row: 1; width: 170px; }
.w-medium { grid-column: 2; grid-row: 1; width: 364px; }
.w-large { grid-column: 1 / span 2; grid-row: 2; width: 364px; justify-self: center; }
@media (max-width: 620px) { .widgets { grid-template-columns: 1fr; } .widgets img { justify-self: center; } .w-small, .w-medium, .w-large { grid-column: 1; grid-row: auto; } .w-medium, .w-large { width: min(364px, 90vw); } }

/* Phone */
.phone { width: 300px; height: 620px; border-radius: 52px; background: #111; padding: 11px; box-shadow: 0 50px 100px -30px rgba(90, 26, 38, 0.55), inset 0 0 0 2px #2b2b2b; margin: 0 auto; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: var(--cream); }
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #000; z-index: 2; }

/* Chat */
.chat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 30px; }
@media (max-width: 860px) { .chat-grid { grid-template-columns: 1fr; } .chat-grid .text { text-align: center; } .chat-grid .lead { margin: 0 auto; } }
.chat-head { padding: 56px 18px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.chat-head img { width: 38px; height: 38px; border-radius: 50%; }
.chat-head b { display: block; font-family: 'Nunito', var(--sans); font-weight: 800; color: var(--wine); font-size: 16px; }
.chat-head span { font-size: 10.5px; color: var(--muted); }
.msgs { padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.me { align-self: flex-end; max-width: 78%; background: var(--wine); color: var(--cream); padding: 10px 14px; border-radius: 20px 20px 6px 20px; font-size: 14px; line-height: 1.35; }
.him { align-self: flex-start; max-width: 88%; font-family: var(--serif); font-size: 16.5px; line-height: 1.38; color: var(--wine); }
.him em { color: var(--gold-d); font-family: var(--sans); font-style: normal; font-weight: 700; font-size: 12px; }
.note { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* Bible */
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 46px auto 0; max-width: 820px; }
.tag { background: #fff; border: 1px solid var(--line); border-radius: 980px; padding: 9px 16px; font-size: 15px; color: var(--wine); }
.tag i { font-style: normal; color: var(--muted); }
.langs { margin-top: 26px; font-size: 15px; color: var(--muted); }

/* Features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: 28px; padding: 30px 28px; border: 1px solid var(--line); }
.card .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--cream); display: grid; place-items: center; margin-bottom: 18px; }
.card .ic svg { width: 22px; height: 22px; stroke: var(--wine); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 21px; letter-spacing: -0.02em; color: var(--wine); margin-bottom: 6px; }
.card p { font-size: 15.5px; color: var(--muted); }

/* Final */
.final { text-align: center; }
.final img.app { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 28px; box-shadow: 0 0 0 1px rgba(246,233,228,0.25), 0 24px 50px -14px rgba(0,0,0,0.6); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 34px 0 50px; font-size: 13px; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a:hover { color: var(--wine); }

/* Reveal */
.r { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.r.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .r { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 70px 22px 90px; }
.legal h1 { font-size: clamp(38px, 6vw, 56px); margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 40px; }
.legal h2 { font-size: 24px; letter-spacing: -0.02em; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; color: #3d2228; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--wine); text-decoration: underline; }

/* ---- v2: hero with phone, big store button, realistic iPhone, sticky showcase ---- */
.hero2 { padding: 72px 0 40px; overflow: hidden; }
.hero2 .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero2 h1 { margin-top: 16px; }
.hero2 .lead { margin: 22px 0 34px; }
@media (max-width: 900px) { .hero2 .wrap { grid-template-columns: 1fr; text-align: center; } .hero2 .lead { margin-left: auto; margin-right: auto; } .store-row { justify-content: center; } }

.store-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 14px; background: #000; color: #fff; border-radius: 18px; padding: 14px 26px 14px 20px; box-shadow: 0 18px 40px -16px rgba(0,0,0,0.55); transition: transform .25s ease, box-shadow .25s ease; }
.store:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 26px 50px -18px rgba(0,0,0,0.6); }
.store .ico { width: 44px; height: 44px; border-radius: 11px; background: var(--gold); display: grid; place-items: center; }
.store .ico svg { width: 26px; height: 26px; }
.store small { display: block; font-size: 12px; opacity: 0.8; letter-spacing: 0.02em; }
.store b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
.store-note { font-size: 14px; color: var(--muted); }
.store-note b { color: var(--wine); }

/* Realistic iPhone */
.iphone { position: relative; width: 300px; aspect-ratio: 300 / 622; margin: 0 auto; border-radius: 56px; padding: 4px;
  background: linear-gradient(145deg, #d8d2ce, #8f8885 30%, #e9e4e1 55%, #7d7672 80%, #c9c2be);
  box-shadow: 0 60px 120px -40px rgba(90, 26, 38, 0.55), 0 30px 60px -30px rgba(0,0,0,0.45); }
.iphone::before, .iphone::after { content: ''; position: absolute; width: 4px; border-radius: 3px; background: linear-gradient(90deg, #8f8885, #d8d2ce); }
.iphone::before { left: -3px; top: 120px; height: 34px; box-shadow: 0 52px 0 0 #a39c98, 0 104px 0 0 #a39c98; }
.iphone::after { right: -3px; top: 170px; height: 78px; }
.iphone .bezel { width: 100%; height: 100%; border-radius: 52px; background: #050505; padding: 9px; }
.iphone .scr { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: #F6E9E4; transform: translateZ(0); }
.iphone video, .iphone .scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease; }
.iphone .glare { position: absolute; inset: 0; border-radius: 44px; background: linear-gradient(120deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 35%); pointer-events: none; }
.tilt { transform: perspective(1400px) rotateY(-14deg) rotateX(6deg); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.tilt:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
@media (max-width: 900px) { .tilt { transform: none; } }

/* Sticky showcase */
.show { padding: 40px 0 60px; }
.show .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.show .steps > div { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.25; transition: opacity .5s ease; }
.show .steps > div.on { opacity: 1; }
.show .steps .num { width: 40px; height: 40px; border-radius: 50%; background: var(--wine); color: var(--cream); display: grid; place-items: center; font-weight: 700; margin-bottom: 18px; }
.show .steps h2 { font-size: clamp(34px, 4.6vw, 54px); }
.show .steps p { margin-top: 16px; }
.show .stick { position: sticky; top: calc(50vh - 300px); height: 622px; align-self: start; }
@media (max-width: 900px) {
  .show .wrap { grid-template-columns: 1fr; }
  .show .wrap { gap: 0; }
  .show .stick { order: -1; top: 64px; height: auto; z-index: 2; pointer-events: none; }
  .show .stick .iphone { width: 170px; }
  .show .steps > div { min-height: 88vh; justify-content: flex-end; padding-bottom: 6vh; text-align: center; }
  .show .steps > div .num { margin-left: auto; margin-right: auto; }
  .show .steps h2 { font-size: 34px; }
  .show .steps .lead { font-size: 18px; }
}

.jesus-sm { width: 170px; height: 170px; margin: 0 auto 28px; border-radius: 50%; box-shadow: 0 0 0 6px rgba(201,164,92,0.35), 0 24px 50px -14px rgba(0,0,0,0.55); }
@media (max-width: 600px) { .jesus-sm { width: 140px; height: 140px; } }

/* ---- v3 ---- */
body { position: relative; overflow-x: hidden; }
main, header, footer { position: relative; z-index: 1; }
.bubbles { position: absolute; inset: 0 0 auto 0; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }
.bubbles i { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(90,26,38,0.16), rgba(90,26,38,0.05) 70%); animation: float 18s ease-in-out infinite; }
.bubbles i:nth-child(1) { width: 260px; height: 260px; left: -90px; top: 120px; }
.bubbles i:nth-child(2) { width: 140px; height: 140px; right: -30px; top: 60px; animation-delay: -4s; }
.bubbles i:nth-child(3) { width: 90px; height: 90px; right: 18%; top: 520px; animation-delay: -8s; }
.bubbles i:nth-child(4) { width: 200px; height: 200px; right: -70px; top: 1500px; animation-delay: -2s; }
.bubbles i:nth-child(5) { width: 120px; height: 120px; left: 6%; top: 1900px; animation-delay: -10s; }
.bubbles i:nth-child(6) { width: 300px; height: 300px; left: -120px; top: 3300px; animation-delay: -6s; }
.bubbles i:nth-child(7) { width: 160px; height: 160px; right: -40px; top: 4200px; animation-delay: -12s; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(18px, -26px); } }
@media (prefers-reduced-motion: reduce) { .bubbles i { animation: none; } }

.store { background: var(--wine); }
.store .ico { background: var(--gold); }
.hero-phone { width: 250px; }
@media (max-width: 900px) { .hero-phone { width: 210px; } .hero2 { padding-top: 48px; } }

/* soft color transitions between sections */
.dark { background: linear-gradient(180deg, var(--cream-2) 0, var(--wine) 140px, var(--wine) calc(100% - 140px), var(--cream-2) 100%); }
#download.dark { background: linear-gradient(180deg, var(--cream-2) 0, var(--wine) 160px); }
#bible { background: transparent !important; }

/* Talk to Jesus: static phone + steps */
.how-grid { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; max-width: 860px; margin: 56px auto 0; }
.iphone.small { width: 250px; }
.steps2 { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.steps2 li { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,0.78); border: 1px solid var(--line); border-radius: 24px; padding: 20px 22px; backdrop-filter: blur(8px); }
.steps2 .num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--wine); color: var(--cream); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.steps2 h3 { font-size: 19px; letter-spacing: -0.02em; color: var(--wine); }
.steps2 p { font-size: 15.5px; color: var(--muted); margin-top: 3px; }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; gap: 34px; } .iphone.small { width: 230px; } }

footer { background: var(--wine); color: rgba(246,233,228,0.7); border-top: 1px solid rgba(246,233,228,0.12); }
footer a:hover { color: var(--cream); }
.dark .store { background: var(--cream); color: var(--wine); } .dark .store small { opacity: 0.7; }

/* ---- v4 ---- */
.iphone { box-shadow: 0 30px 50px -28px rgba(0,0,0,0.35); }
.bubbles i:nth-child(8) { width: 110px; height: 110px; left: 70%; top: 2600px; animation-delay: -3s; }
.bubbles i:nth-child(9) { width: 220px; height: 220px; left: -80px; top: 2900px; animation-delay: -9s; }
.bubbles i:nth-child(10) { width: 90px; height: 90px; right: 8%; top: 3700px; animation-delay: -5s; }
.bubbles i:nth-child(11) { width: 180px; height: 180px; left: 10%; top: 4700px; animation-delay: -11s; }
.bubbles i:nth-child(12) { width: 140px; height: 140px; right: -40px; top: 5300px; animation-delay: -7s; }
.bubbles i:nth-child(13) { width: 240px; height: 240px; left: -90px; top: 6000px; animation-delay: -1s; }
.bubbles i:nth-child(14) { width: 120px; height: 120px; right: 12%; top: 6700px; animation-delay: -13s; }
.wgroup { margin: 64px 0 22px; font-size: 22px; letter-spacing: -0.02em; color: var(--wine); }
#widgets .widgets { margin-top: 0; }
#widgets .widgets img { box-shadow: 0 24px 44px -22px rgba(90,26,38,0.45); }
.lockimg { width: min(560px, 100%); height: auto; margin: 0 auto; border-radius: 26px; box-shadow: 0 24px 44px -22px rgba(90,26,38,0.45); }
.langgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 900px; margin: 44px auto 0; text-align: left; }
.langgrid div { background: rgba(255,255,255,0.8); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.langgrid b { display: block; color: var(--wine); font-size: 16px; }
.langgrid span { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 2px; }
@media (max-width: 860px) { .langgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .langgrid { grid-template-columns: 1fr 1fr; } }
#download.dark, .dark { background: var(--wine); }
@media (max-width: 560px) { .langgrid div:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Section divider like the app: thin line, cross in the middle */
.divider { display: flex; align-items: center; gap: 18px; max-width: 520px; margin: 0 auto; padding: 0 22px; }
.divider span { flex: 1; height: 1.5px; background: linear-gradient(90deg, rgba(90,26,38,0), rgba(90,26,38,0.22)); }
.divider span:last-child { background: linear-gradient(90deg, rgba(90,26,38,0.22), rgba(90,26,38,0)); }
.divider i { font-style: normal; font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--gold-d); }
section { padding: 80px 0; }
.hero2 { padding-bottom: 70px; }

/* ---- v6: Apple-style refinement ---- */
.divider { max-width: 1036px; gap: 16px; }
.divider span, .divider span:last-child { height: 1px; background: rgba(90, 26, 38, 0.16); }
.divider i { font-size: 22px; }
.card, .steps2 li, .langgrid div { border: none; background: #fff; box-shadow: none; }
.card { border-radius: 30px; padding: 34px 30px; }
.steps2 li { border-radius: 24px; }
.langgrid div { border-radius: 20px; }
.card .ic { background: var(--cream); border-radius: 12px; }
h2 { letter-spacing: -0.04em; }
.eyebrow { font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--gold-d); }
.lead { color: #6e5257; }
.nav { background: rgba(251, 244, 240, 0.8); border-bottom: 1px solid rgba(90, 26, 38, 0.1); }
.store { border-radius: 14px; box-shadow: none; }
.store:hover { box-shadow: none; transform: scale(1.02); }
#widgets .widgets img, .lockimg { box-shadow: 0 10px 30px -14px rgba(0,0,0,0.25); }

.langgrid div { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; align-items: center; }
.langgrid .flag { grid-row: 1 / span 2; width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(90,26,38,0.12); }
.langgrid b, .langgrid span { grid-column: 2; }

/* ---- Desktop ---- */
@media (min-width: 1000px) {
  .wrap { max-width: 1160px; }
  .hero2 { padding: 96px 0 90px; }
  .hero2 .wrap { grid-template-columns: 1.15fr 0.85fr; }
  .hero-phone { width: 300px; }
  .hero2 h1 { font-size: 104px; }
  #widgets .widgets { display: flex; align-items: flex-end; justify-content: center; gap: 26px; }
  #widgets .widgets img { flex: none; }
  #widgets .w-small { width: 170px; } #widgets .w-medium { width: 364px; } #widgets .w-large { width: 364px; }
  .how-grid { max-width: 940px; gap: 80px; }
  .iphone.small { width: 280px; }
  .lockimg { width: 600px; }
}
