/* walkwithjesusapp.com: colours and type follow the app (app/lib/design/tokens.dart).
   Fonts: Fraunces and Figtree, SIL Open Font License, served from this site. */
@font-face { font-family: Fraunces; src: url(/site/fonts/Fraunces-SemiBold.woff2) format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Fraunces; src: url(/site/fonts/Fraunces-Italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: Fraunces; src: url(/site/fonts/Fraunces-SemiBoldItalic.woff2) format('woff2'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: Figtree; src: url(/site/fonts/Figtree-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Figtree; src: url(/site/fonts/Figtree-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Figtree; src: url(/site/fonts/Figtree-SemiBold.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Figtree; src: url(/site/fonts/Figtree-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --night: #16193A;
  --night-2: #1d2150;
  --night-3: #232858;
  --line-night: #3A3F70;
  --gold: #F2B544;
  --gold-hi: #f7c766;
  --ember: #E07A3F;
  --ember-deep: #b85a24;
  --ember-tint: #FBEBDD;
  --parch: #F6EFE2;
  --sand: #E9DCC4;
  --paper: #FFFCF6;
  --ink: #2B2420;
  --muted: #6c6156;
  --lilac: #B9B2C8;
  --cream: #f4ecdc;
  --serif: Fraunces, Georgia, 'Times New Roman', serif;
  --sans: Figtree, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1160px;
  --radius: 22px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
html { overflow-x: clip; }
body { margin: 0; background: var(--parch); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--night); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ───── Buttons ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 15px 26px; font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn-gold { background: var(--gold); color: #1b1a33; box-shadow: 0 12px 28px -12px rgba(242, 181, 68, .8); }
.btn-gold:hover { background: var(--gold-hi); transform: translateY(-1px); }
.btn-gold:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* ───── Labels ───── */
.eyebrow { font: 700 13px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.eyebrow.ember { color: var(--ember-deep); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; margin-bottom: 26px; border-radius: 999px; background: rgba(242, 181, 68, .1); border: 1px solid rgba(242, 181, 68, .35); color: var(--gold); font: 600 14px/1.2 var(--sans); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(242, 181, 68, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 181, 68, .55); } 70% { box-shadow: 0 0 0 10px rgba(242, 181, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 181, 68, 0); } }

/* ───── Navigation ───── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(22, 25, 58, .86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); font: 600 19px/1 var(--serif); }
.brand img { border-radius: 10px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--lilac); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--cream); }

/* ───── Night sections ───── */
.night { position: relative; background: radial-gradient(1100px 600px at 78% 18%, rgba(242, 181, 68, .13), transparent 60%), linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: var(--cream); overflow: hidden; }
.stars { position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 28% 62%, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 47% 12%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 63% 40%, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 84% 9%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 92% 58%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 6% 84%, #fff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 38% 88%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 72% 80%, #fff 50%, transparent 52%);
}
.night .wrap { position: relative; }
.lede { font-size: 1.15rem; line-height: 1.65; color: var(--lilac); max-width: 560px; }

/* ───── Hero ───── */
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); line-height: 1.04; margin-bottom: 22px; }
.hero h1 em { display: block; font-style: italic; color: var(--gold); margin-top: 6px; }
.hero .lede { margin-bottom: 34px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 28px 0 0; color: var(--lilac); font-weight: 500; font-size: 15px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: rgba(242, 181, 68, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%23F2B544' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.hero-phones { position: relative; height: 620px; }
.hero-phones .glow { position: absolute; left: 50%; top: 52%; width: 460px; height: 460px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(242, 181, 68, .35), transparent 65%); filter: blur(10px); }
.hero-phones .phone { position: absolute; width: 268px; }
.phone-back { left: 4%; top: 30px; transform: rotate(-7deg); opacity: .92; }
.phone-front { right: 4%; top: 0; transform: rotate(4deg); }

/* ───── Phones ───── */
.phone { margin: 0; width: 100%; max-width: 300px; aspect-ratio: 600 / 1301; padding: 9px; border-radius: 46px; background: linear-gradient(150deg, #34385f 0%, #0c0e22 55%, #1b1e3d 100%); box-shadow: 0 40px 70px -30px rgba(9, 10, 32, .75), inset 0 0 0 1.5px rgba(255, 255, 255, .08); }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 37px; }
.parch .phone, .paper .phone { box-shadow: 0 36px 60px -30px rgba(70, 45, 20, .45), 0 10px 24px -14px rgba(70, 45, 20, .3), inset 0 0 0 1.5px rgba(255, 255, 255, .08); }
.phone-sm { max-width: 220px; padding: 7px; border-radius: 36px; }
.phone-sm img { border-radius: 29px; }

/* ───── Waitlist form ───── */
.notify { max-width: 520px; }
.notify label { display: block; font-weight: 600; font-size: 15px; color: var(--cream); margin-bottom: 10px; }
.notify-row { display: flex; gap: 10px; }
.notify input[type=email] { flex: 1; min-width: 0; height: 54px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .07); color: #fff; font: 400 16px var(--sans); transition: border-color .15s, background .15s; }
.notify input[type=email]::placeholder { color: rgba(185, 178, 200, .75); }
.notify input[type=email]:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .11); box-shadow: 0 0 0 3px rgba(242, 181, 68, .25); }
.notify .btn { height: 54px; }
.notify-msg { min-height: 1.6em; margin-top: 10px; font-weight: 600; font-size: 15px; }
.notify-msg.ok { color: #d6eab0; }
.notify-msg.err { color: #ffb8a3; }
.notify.done .notify-row { display: none; }
.fine { font-size: 14px; color: var(--lilac); }
.fine a { color: var(--lilac); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ───── Numbers ───── */
.numbers { background: #121433; color: var(--cream); border-top: 1px solid rgba(255, 255, 255, .06); }
.numbers-row { display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 28px; padding-bottom: 28px; }
.numbers-row div { text-align: center; padding: 6px 8px; border-left: 1px solid rgba(255, 255, 255, .08); }
.numbers-row div:first-child { border-left: 0; }
.numbers b { display: block; font: 600 2rem/1.1 var(--serif); color: var(--gold); }
.numbers span { font-size: 14px; color: var(--lilac); font-weight: 500; }

/* ───── Light sections ───── */
.section { padding: 104px 0; }
.parch { background: var(--parch); }
.paper { background: var(--paper); }
.head { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.head h2 + p { margin-top: 16px; font-size: 1.1rem; color: var(--muted); }
.night .head h2 + p { color: var(--lilac); }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.steps .phone { margin-bottom: 28px; }
.step-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--night); font: 700 15px/1 var(--sans); margin-bottom: 12px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 16px; max-width: 250px; }

/* Showcase rows */
.show { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 44px 0; }
.show + .show { border-top: 1px solid var(--sand); }
.show > .phone { justify-self: center; }
.show.flip > .phone, .show.flip > .phone-fan { order: 2; }
.show-copy { max-width: 470px; }
.show-copy h3 { font-size: clamp(1.75rem, 3vw, 2.3rem); margin-bottom: 16px; }
.show-copy > p { color: var(--muted); font-size: 1.08rem; }
.phone-fan { position: relative; height: 560px; justify-self: center; width: 100%; max-width: 480px; }
.phone-fan .phone { position: absolute; width: 230px; top: 40px; }
.phone-fan .phone:nth-child(1) { left: 0; transform: rotate(-8deg); }
.phone-fan .phone:nth-child(2) { left: 50%; top: 0; transform: translateX(-50%); z-index: 2; }
.phone-fan .phone:nth-child(3) { right: 0; transform: rotate(8deg); }

.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 500; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--ember-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='m6.5 11.3 3 3 6-6.3' fill='none' stroke='%23b85a24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat; }
.chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 16px; border-radius: 999px; background: var(--parch); border: 1px solid var(--sand); font-weight: 600; font-size: 15px; }

/* Feature grid */
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 18px; }
.grid li { background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius); padding: 24px 22px; }
.grid h3 { font-size: 1.12rem; margin: 16px 0 8px; }
.grid p { font-size: 15px; color: var(--muted); }
.ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ember-tint); color: var(--ember-deep); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Journeys */
.journeys { padding: 104px 0; }
.road { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.road::before { content: ''; position: absolute; left: 10%; right: 10%; top: 25px; border-top: 2px dashed rgba(242, 181, 68, .45); }
.road li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.road-n { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--night); border: 2px solid var(--gold); color: var(--gold); font: 600 20px/1 var(--serif); box-shadow: 0 0 0 6px var(--night-2), 0 0 26px rgba(242, 181, 68, .35); }
.road li:first-child .road-n { background: var(--gold); color: var(--night); }
.road li > div { background: rgba(35, 40, 88, .75); border: 1px solid var(--line-night); border-radius: 20px; padding: 22px 18px; height: 100%; width: 100%; }
.road h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--cream); }
.road p { font-size: 15px; color: var(--lilac); margin-bottom: 14px; }
.meta { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(242, 181, 68, .12); color: var(--gold); font-size: 13px; font-weight: 600; }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin: 0 auto; }
.plan { background: var(--paper); border: 1px solid var(--sand); border-radius: 26px; padding: 34px 32px; }
.plan h3 { font-size: 1.6rem; }
.plan-sub { color: var(--muted); margin-top: 6px; }
.plan-plus { background: linear-gradient(160deg, var(--night-3), var(--night)); color: var(--cream); border: 1px solid rgba(242, 181, 68, .5); box-shadow: 0 30px 60px -30px rgba(22, 25, 58, .7); }
.plan-plus h3 { color: var(--gold); }
.plan-plus .plan-sub { color: var(--lilac); }
.plan-plus .ticks li::before { background-color: rgba(242, 181, 68, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='m6.5 11.3 3 3 6-6.3' fill='none' stroke='%23F2B544' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--parch); border: 1px solid var(--sand); border-radius: 18px; padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font: 600 1.12rem/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 5v12M5 11h12' stroke='%23b85a24' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/22px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); }
.faq a { color: var(--ember-deep); font-weight: 600; }

/* Closing call */
.cta { padding: 96px 0; }
.cta-grid { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: center; max-width: 980px; }
.cta-art { width: 100%; aspect-ratio: 618 / 1000; object-fit: cover; border-radius: 28px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06); }
.cta h2 { margin-bottom: 16px; }
.cta .lede { margin-bottom: 30px; }

/* Footer */
.footer { background: #0f1130; color: var(--lilac); padding: 52px 0 40px; font-size: 15px; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-brand p { margin-top: 12px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--cream); font-weight: 500; }
.footer-links a:hover { color: var(--gold); }
.footer-fine { padding-top: 22px; display: grid; gap: 6px; font-size: 13px; color: #8f89a6; }

/* Reveal on scroll (only when app.js runs) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ───── Smaller screens ───── */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 72px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .notify { width: 100%; text-align: left; }
  .hero-facts { justify-content: center; }
  .hero-phones { height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 56px 32px; }
  .road { grid-template-columns: 1fr; gap: 14px; max-width: 560px; margin: 0 auto; }
  .road::before { left: 25px; right: auto; top: 26px; bottom: 26px; border-top: 0; border-left: 2px dashed rgba(242, 181, 68, .45); }
  .road li { flex-direction: row; align-items: flex-start; text-align: left; gap: 18px; }
  .road-n { flex: none; }
  .cta-grid { grid-template-columns: 240px 1fr; gap: 40px; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .section, .journeys { padding: 76px 0; }
  .show { grid-template-columns: 1fr; gap: 36px; padding: 40px 0; text-align: left; }
  .show.flip > .phone, .show.flip > .phone-fan { order: 0; }
  .show > .phone { max-width: 270px; }
  .show-copy { max-width: none; }
  .phone-fan { height: 470px; max-width: 400px; }
  .phone-fan .phone { width: 195px; }
  .numbers-row { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .numbers-row div:nth-child(4) { border-left: 0; }
  .plans { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; text-align: left; }
  .cta-art { max-width: 260px; aspect-ratio: 4 / 3; object-position: 50% 62%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .brand span { font-size: 17px; }
  .nav-row { height: 62px; gap: 12px; }
  .hero-grid { padding-top: 40px; gap: 28px; }
  .pill { font-size: 13px; }
  .notify-row { flex-direction: column; }
  .notify input[type=email] { flex: none; }
  .notify .btn { width: 100%; }
  .notify .fine { text-align: center; }
  .hero-phones { height: 470px; }
  .hero-phones .phone { width: 210px; }
  .hero-phones .glow { width: 320px; height: 320px; }
  .phone-back { left: 6px; }
  .phone-front { right: 14px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 14px; }
  .phone-sm { padding: 5px; border-radius: 26px; }
  .phone-sm img { border-radius: 21px; }
  .steps h3 { font-size: 1.12rem; }
  .steps p { font-size: 14px; }
  .phone-fan { height: 400px; }
  .phone-fan .phone { width: 160px; padding: 6px; border-radius: 30px; }
  .phone-fan .phone img { border-radius: 24px; }
  .phone-fan .phone:nth-child(1) { left: 10px; }
  .phone-fan .phone:nth-child(3) { right: 10px; }
  .numbers-row { display: flex; flex-wrap: wrap; justify-content: center; }
  .numbers-row div { flex: 0 0 33.33%; }
  .grid { grid-template-columns: 1fr; }
  .plan { padding: 28px 22px; }
  .faq details { padding: 0 18px; }
  .footer-row { flex-direction: column; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}
