/* BeStill marketing site. Colours and type follow the app (src/theme/colors.ts, typography.ts). */
@font-face { font-family: "Gelasio"; src: url(fonts/Gelasio-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/Inter-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/Inter-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(fonts/Atkinson.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Serif"; src: url(fonts/NotoSerif_italic.woff2) format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --bg: #FDF7EF; --surface: #FAF2EA; --card: #FFFCF8;
  --text: #36251D; --text-2: #64544E;
  --forest: #1E4D1B; --green-from: #2F5D38; --green-to: #1B4423; --on-green: #fff;
  --gold: #C48D4A; --gold-text: #8A5A1E; --on-gold: #36251D;
  --peach: #FBDDD1; --sage: #E1E4DB; --lavender: #E4DAE5; --sand: #F0DDCC; --green-soft: #E7EADC;
  --border: #E9DCCF;
  --shadow: 0 1px 2px rgba(54,37,29,.06), 0 12px 32px -12px rgba(54,37,29,.18);
  --shadow-lg: 0 30px 60px -20px rgba(54,37,29,.35);
  --serif: "Gelasio", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --verse: "Noto Serif", Georgia, serif;
  --r: 22px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1B1512; --surface: #261E19; --card: #2B221D;
    --text: #F6EDE4; --text-2: #BBAB9F;
    --forest: #8CC083; --green-from: #9DCB95; --green-to: #7FB677; --on-green: #10200E;
    --gold: #D9A55E; --gold-text: #D9A55E; --on-gold: #2A1608;
    --peach: #4A3029; --sage: #2F342C; --lavender: #352F38; --sand: #3A2E24; --green-soft: #2A3326;
    --border: #3A2F28;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
    --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1B1512; --surface: #261E19; --card: #2B221D;
  --text: #F6EDE4; --text-2: #BBAB9F;
  --forest: #8CC083; --green-from: #9DCB95; --green-to: #7FB677; --on-green: #10200E;
  --gold: #D9A55E; --gold-text: #D9A55E; --on-gold: #2A1608;
  --peach: #4A3029; --sage: #2F342C; --lavender: #352F38; --sand: #3A2E24; --green-soft: #2A3326;
  --border: #3A2F28;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--forest); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--forest); color: var(--on-green); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.section { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.center { text-align: center; justify-content: center; }
.muted { color: var(--text-2); }
.small { font-size: .9rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-2); max-width: 40rem; }
.lead.center { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px; }
.eyebrow.center { display: flex; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 25%, transparent); }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sec-head { text-align: center; margin-bottom: clamp(36px, 6vw, 64px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font: 600 1rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-green { background: linear-gradient(90deg, var(--green-from), var(--green-to)); color: var(--on-green); }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--card); border: 1px solid var(--border); color: var(--text); cursor: pointer; font-size: 1.1rem; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--border); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.45rem/1 var(--serif); }
.mark { width: 36px; height: 36px; }
.links { display: flex; gap: 28px; margin-inline: auto; }
.links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--text-2); }
.links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; }
#themeBtn .moon { display: none; }
:root[data-theme="dark"] #themeBtn .sun { display: none; }
:root[data-theme="dark"] #themeBtn .moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #themeBtn .sun { display: none; } :root:not([data-theme="light"]) #themeBtn .moon { display: block; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 90px) 0 clamp(70px, 9vw, 120px); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--bg) 30%, color-mix(in srgb, var(--bg) 55%, transparent) 65%, color-mix(in srgb, var(--bg) 20%, transparent)), linear-gradient(to top, var(--bg), transparent 30%); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--forest); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 16px; border-radius: 14px; background: #111; color: #fff; text-decoration: none; font: 600 1.15rem/1.1 var(--sans); transition: transform .2s, box-shadow .2s; border: 1px solid #333; }
.store:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: .68rem; font-weight: 400; letter-spacing: .04em; opacity: .85; text-transform: uppercase; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--card) 80%, transparent); border: 1px solid var(--border); font-size: .88rem; font-weight: 600; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 560px; }

/* Phone frame */
.phone { --sb: 28px; --ir: 36px; position: relative; width: min(300px, 72vw); aspect-ratio: 540 / 1124; padding: 10px; border-radius: 46px; background: linear-gradient(145deg, #3a302b, #120d0b); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #5a4c44; }
.phone img { width: 100%; height: calc(100% - var(--sb)); margin-top: var(--sb); object-fit: cover; object-position: top; border-radius: 0 0 var(--ir) var(--ir); background: #FDF7EF; }
/* Status strip with the time, so the camera dot never covers the screenshot. */
.phone::before { content: "9:41"; position: absolute; top: 10px; left: 10px; right: 10px; height: calc(var(--sb) + 1px); padding-left: 26px; border-radius: var(--ir) var(--ir) 0 0; background: #FDF7EF; color: #36251D; font: 600 11px/calc(var(--sb) + 4px) var(--sans); }
.phone::after { content: ""; position: absolute; top: 18px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #0b0807; box-shadow: inset 0 0 0 2px #2a221e; }
.tilt { transform: rotate(-4deg); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { transform: rotate(-3deg) translateY(-12px); } }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: .85rem; line-height: 1.3; animation: floaty2 6s ease-in-out infinite; }
.float b { display: block; font-weight: 600; }
.float small { color: var(--text-2); }
.float img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.fi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--green-soft); font-size: 1.2rem; color: var(--forest); font-weight: 700; }
.f1 { top: 12%; left: -2%; }
.f2 { bottom: 18%; right: -4%; animation-delay: -2s; }
.f3 { bottom: 4%; left: 4%; animation-delay: -4s; }
@keyframes floaty2 { 50% { transform: translateY(-8px); } }

/* Marquee */
.marquee { overflow: hidden; width: calc(100% + 20px); background: var(--forest); color: var(--on-green); padding: 16px 0; transform: rotate(-1deg); margin: -10px -10px 0; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: scroll 40s linear infinite; font: 700 1.25rem/1 var(--serif); white-space: nowrap; }
.marquee i { color: var(--gold); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Verse of the day */
.votd { margin: 0; text-align: center; background: var(--card); border: 1px solid var(--border); border-radius: 32px; padding: clamp(32px, 6vw, 64px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.votd::before { content: "“"; position: absolute; top: 6px; left: 22px; font: 700 7rem/1 var(--serif); color: var(--sand); z-index: 0; pointer-events: none; }
.votd .eyebrow { display: block; line-height: 1.7; }
.votd .eyebrow .ico { vertical-align: -4px; margin-right: 4px; }
.votd > * { position: relative; }
.votd blockquote { margin: 0 0 24px; font: italic 400 clamp(1.35rem, 2.8vw, 1.9rem)/1.5 var(--verse); transition: opacity .35s; }
.votd figcaption { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.votd cite { font: 700 1.25rem/1 var(--serif); font-style: normal; color: var(--forest); }
.rule { width: 32px; height: 3px; border-radius: 2px; background: var(--gold); }

/* Try it: breathe */
.try { background: var(--surface); }
.try-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.breath-wrap { display: grid; place-items: center; gap: 20px; }
.breath { position: relative; width: 280px; height: 280px; border-radius: 50%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.breath .ring { position: absolute; inset: 0; border-radius: 50%; background: var(--sage); transition: transform 4s cubic-bezier(.45,0,.55,1), opacity 4s; }
.breath .r1 { transform: scale(.55); }
.breath .r2 { transform: scale(.45); background: var(--green-soft); }
.breath .r3 { transform: scale(.36); background: color-mix(in srgb, var(--forest) 18%, var(--bg)); }
.breath .core { position: relative; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--green-from), var(--green-to)); color: var(--on-green); font: 700 1.1rem/1 var(--serif); box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--forest) 70%, transparent); transition: transform 4s cubic-bezier(.45,0,.55,1); }
.breath.in .r1 { transform: scale(1); opacity: .9; }
.breath.in .r2 { transform: scale(.82); }
.breath.in .r3 { transform: scale(.64); }
.breath.in .core { transform: scale(1.12); }
.breath-verse { min-height: 3.2em; text-align: center; font: italic 1.15rem/1.5 var(--verse); color: var(--text-2); max-width: 22rem; }

/* Feature grid */
.feature-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-grid li { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 26px 22px; transition: transform .25s, box-shadow .25s; }
.feature-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-grid p { color: var(--text-2); font-size: .95rem; margin: 0; }
.tone { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 16px; }
.tone.sand { background: var(--sand); } .tone.sage { background: var(--sage); } .tone.peach { background: var(--peach); } .tone.lavender { background: var(--lavender); }

/* Split feature sections */
.split.alt { background: var(--surface); }
.split-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split.alt .split-copy { order: 2; }
.split-art { position: relative; display: grid; place-items: center; min-height: 520px; }
.glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(10px); opacity: .9; }
.glow.sand { background: radial-gradient(circle, var(--sand), transparent 70%); }
.glow.sage { background: radial-gradient(circle, var(--sage), transparent 70%); }
.glow.peach { background: radial-gradient(circle, var(--peach), transparent 70%); }
.glow.lavender { background: radial-gradient(circle, var(--lavender), transparent 70%); }
.split-art .phone { z-index: 1; }
.split-art .phone.back { position: absolute; z-index: 0; transform: translateX(42%) rotate(6deg) scale(.86); opacity: .95; }
#grow .split-art .phone:not(.back) { transform: translateX(-16%); }
.checks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3L17 9' fill='none' stroke='%231E4D1B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.checks.sm { font-size: .95rem; gap: 10px; }
.f-audio { bottom: 14%; left: 2%; z-index: 2; }
.eq { width: 42px; height: 42px; border-radius: 12px; background: var(--gold); display: flex; align-items: end; justify-content: center; gap: 3px; padding: 10px; }
.eq i { width: 4px; background: var(--on-gold); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; } .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%,100% { height: 6px; } 50% { height: 22px; } }

/* Font demo */
.fontdemo { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; }
.fd-tabs, .shape-toggle { display: inline-flex; flex-wrap: wrap; gap: 6px; background: var(--surface); padding: 5px; border-radius: 999px; border: 1px solid var(--border); margin-bottom: 14px; }
.fd-tabs button, .shape-toggle button { border: 0; background: none; padding: 8px 14px; border-radius: 999px; font: 600 .85rem/1 var(--sans); color: var(--text-2); cursor: pointer; }
.fd-tabs button.on, .shape-toggle button.on { background: linear-gradient(90deg, var(--green-from), var(--green-to)); color: var(--on-green); }
.fd-text { font: 400 1.3rem/1.55 var(--verse); font-style: italic; margin: 0; transition: opacity .2s; }
.fd-text sup { color: var(--gold-text); font-family: var(--sans); font-style: normal; font-size: .7rem; margin-right: 4px; }
.fd-text.gelasio { font-family: var(--serif); font-style: normal; font-weight: 700; }
.fd-text.sans { font-family: "Atkinson Hyperlegible", var(--sans); font-style: normal; }

/* Plans rail */
.plan-rail, .shots { display: grid; grid-auto-flow: column; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 4px 24px; overscroll-behavior-x: contain; }
.plan-rail::-webkit-scrollbar, .shots::-webkit-scrollbar { display: none; }
.plan-rail { grid-auto-columns: 240px; }
.plan { scroll-snap-align: start; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 720 / 940; color: #fff; box-shadow: var(--shadow); isolation: isolate; }
.plan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s; }
.plan:hover img { transform: scale(1.05); }
.plan::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(27,21,18,.85), rgba(27,21,18,.1) 55%, transparent); }
.plan > div { position: absolute; inset: auto 0 0; padding: 18px; }
.plan h3 { font-size: 1.15rem; margin-bottom: 4px; }
.plan p { font-size: .85rem; opacity: .88; margin: 0; }
.tag { display: inline-block; margin-bottom: 8px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.2); backdrop-filter: blur(6px); font: 600 .7rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.tag.gold { background: #C48D4A; color: #36251D; }
.tag.plus { background: #1E4D1B; color: #fff; }
.feature-plan { outline: 3px solid #C48D4A; outline-offset: -3px; }
.rail-ctl { display: flex; gap: 10px; justify-content: center; margin-top: 8px; }

/* Come & See */
.cs { color: #FDF7EF; overflow: hidden; isolation: isolate; background: #2a1d14; }
.cs-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .5; }
.cs::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(27,21,18,.92) 30%, rgba(27,21,18,.55)); }
.cs-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.cs h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.eyebrow.light { color: #E0B27A; }
.cs-quote { font: italic 1.35rem/1.5 var(--verse); color: #F6EDE4; }
.cs-quote span { font: 600 .85rem/1 var(--sans); color: #E0B27A; margin-left: 6px; font-style: normal; }
.cs-copy > p:not(.cs-quote) { color: #E7DCD2; }
.cs-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 24px 0 30px; color: #E7DCD2; font-size: .95rem; }
.cs-meta b { font: 700 1.6rem/1 var(--serif); color: #fff; margin-right: 4px; }
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; counter-reset: d; }
.journey li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255,252,248,.08); border: 1px solid rgba(255,252,248,.12); backdrop-filter: blur(6px); transition: background .25s, transform .25s; }
.journey li:hover { background: rgba(255,252,248,.16); transform: translateY(-2px); }
.journey b { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(224,178,122,.2); color: #E0B27A; font: 700 .85rem/1 var(--sans); }
.journey li.hl b { background: #C48D4A; color: #2A1608; }
.journey span { font-weight: 600; font-size: .9rem; line-height: 1.25; }
.journey small { color: #BBAB9F; font-size: .76rem; }

/* Verse card */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 16px; }
.swatches button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--card); font: 600 .85rem/1 var(--sans); color: var(--text); cursor: pointer; }
.swatches .sw { width: 30px; height: 30px; border-radius: 50%; background: #FFFCF8 center/cover; border: 1px solid var(--border); }
.swatches button[aria-checked="true"] { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
.verse-card { position: relative; width: min(420px, 100%); aspect-ratio: 1; border-radius: 18px; padding: 40px 32px 28px; background: #FFFCF8 center/cover; color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; box-shadow: var(--shadow-lg); overflow: hidden; isolation: isolate; transition: aspect-ratio .4s, background-image .4s; }
.verse-card::before { content: ""; position: absolute; inset: 0; background: rgba(27,21,18,.38); z-index: -1; }
.verse-card.plain { color: #36251D; }
.verse-card.plain::before { background: none; }
.verse-card.portrait { aspect-ratio: 4 / 5; }
.verse-card p { font: 400 clamp(1.3rem, 2.6vw, 1.7rem)/1.45 var(--verse); text-shadow: 0 1px 12px rgba(0,0,0,.25); margin-bottom: 24px; }
.verse-card.plain p { text-shadow: none; }
.verse-card span { font: 700 1.1rem/1 var(--serif); }
.verse-card small { font-size: .72rem; opacity: .85; margin-top: 8px; }
.vc-brand { position: absolute; bottom: 14px; right: 16px; font: 700 .8rem/1 var(--serif); color: inherit; opacity: .8; }

/* Topic pills */
.topic-pills { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topic-pills li { padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); font: 700 .95rem/1 var(--serif); }
.topic-pills li:nth-child(4n+1) { background: var(--sand); } .topic-pills li:nth-child(4n+2) { background: var(--sage); } .topic-pills li:nth-child(4n+3) { background: var(--peach); } .topic-pills li:nth-child(4n) { background: var(--lavender); }

/* Stats */
.stats-sec { padding: 0; }
.stats-box { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 50% -20%, rgba(233,194,122,.35), transparent 60%), linear-gradient(120deg, #2F5D38, #1B4423); color: #fff; border-radius: 32px; box-shadow: var(--shadow-lg); }
.stats { list-style: none; margin: 0; padding: clamp(28px, 5vw, 48px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats b { display: block; font: 700 clamp(2.2rem, 5vw, 3.4rem)/1 var(--serif); margin-bottom: 8px; }
.stats span { font-size: .9rem; opacity: .9; }

/* Screenshots */
.shots { grid-auto-columns: 240px; padding-inline: max(16px, (100% - 1180px) / 2); scroll-padding-inline: max(16px, (100% - 1180px) / 2); }
.shots figure { margin: 0; scroll-snap-align: start; text-align: center; }
.shots .phone { --sb: 22px; --ir: 30px; width: 240px; border-radius: 38px; padding: 8px; box-shadow: var(--shadow); }
.shots .phone::before { top: 8px; left: 8px; right: 8px; font-size: 10px; padding-left: 22px; }
.shots .phone::after { top: 14px; width: 10px; height: 10px; margin-left: -5px; }
.shots figcaption { margin-top: 14px; font: 700 1rem/1 var(--serif); }

/* Plus */
.plus { background: var(--surface); }
.plus-badge { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--forest); color: var(--on-green); letter-spacing: .08em; }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 28px; padding: 32px 28px; box-shadow: var(--shadow); }
.price-card .btn { margin-top: auto; }
.price-card.best { border: 2px solid var(--gold); transform: translateY(-8px); }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 6px 14px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font: 600 .78rem/1 var(--sans); }
.price { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }
.price b { font: 700 2.6rem/1 var(--serif); }
.price span { color: var(--text-2); }
.trial { color: var(--forest); font-weight: 600; font-size: .9rem; margin: 0; }
.fine { color: var(--text-2); font-size: .82rem; max-width: 46rem; margin: 32px auto 0; }

/* Stories */
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.story { margin: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.story blockquote { margin: 0 0 18px; font: italic 1.1rem/1.55 var(--verse); }
.story figcaption { font-weight: 600; font-size: .9rem; }
.story-invite { grid-column: 1 / -1; text-align: center; background: var(--card); border: 1.5px dashed var(--border); border-radius: 28px; padding: clamp(28px, 5vw, 48px); }
.story-invite p { color: var(--text-2); max-width: 34rem; margin: 0 auto 20px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 700 1.15rem/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--forest); font: 600 1.2rem/1 var(--sans); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--text-2); padding-right: 40px; }

/* CTA */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 12vw, 150px) 0; text-align: center; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center 40%, color-mix(in srgb, var(--bg) 85%, transparent), color-mix(in srgb, var(--bg) 35%, transparent) 75%); }
.cta-in { max-width: 760px; }
.cta-verse { font: italic 1.25rem/1.5 var(--verse); color: var(--text-2); }
.cta-verse span { font: 600 .85rem/1 var(--sans); font-style: normal; color: var(--gold-text); }
.cta .stores { justify-content: center; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-weight: 600; font-size: .92rem; color: var(--text-2); }

/* Footer */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 64px 0 28px; font-size: .95rem; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { color: var(--text-2); max-width: 22rem; margin-top: 14px; }
.footer h4 { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 16px; }
.footer nav a { display: block; text-decoration: none; color: var(--text-2); padding: 5px 0; }
.footer nav a:hover { color: var(--text); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-2); font-size: .85rem; }
.foot-base p { margin: 0; }

:root[data-theme="dark"] .checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3L17 9' fill='none' stroke='%23B5D8AE' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3L17 9' fill='none' stroke='%23B5D8AE' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); } }

/* ── Holy light: sparkles, rays, dove, cross ornament ─────────────────── */
.sparkle { position: relative; isolation: isolate; }
.sparkle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.hero .sparkle-canvas, .cta .sparkle-canvas { z-index: 0; }
.hero-in, .cta-in { position: relative; z-index: 1; }
.cs .sparkle-canvas { z-index: -1; }
.rays { position: absolute; z-index: -1; top: -30%; right: -10%; width: 90%; height: 160%; pointer-events: none;
  background: repeating-conic-gradient(from 200deg at 70% 0%, rgba(255,226,170,.42) 0deg 3deg, transparent 3deg 9deg, rgba(255,240,210,.25) 9deg 11deg, transparent 11deg 18deg);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 60% at 70% 0%, #000 10%, transparent 70%);
  transform-origin: 70% 0%; animation: rays 18s ease-in-out infinite alternate; opacity: .75; mix-blend-mode: soft-light; }
.hero .rays { mix-blend-mode: normal; opacity: .55; }
.cta .rays { right: auto; left: 5%; top: -40%; }
@keyframes rays { from { transform: rotate(-4deg); opacity: .45; } to { transform: rotate(4deg); opacity: .8; } }
.dove { position: absolute; z-index: 0; top: 3%; left: -150px; width: 110px; fill: #fff; opacity: .95; filter: drop-shadow(0 2px 3px rgba(138,90,30,.45)) drop-shadow(0 0 18px rgba(233,194,122,.9)); pointer-events: none; animation: dove 34s linear infinite; }
.dove .dv-back { fill: #F3E3C8; }
.dove .dv-olive { fill: #7E9A5A; stroke: #7E9A5A; }
@keyframes dove {
  0% { transform: translate(0, 40px) rotate(-6deg) scale(.8); opacity: 0; }
  6% { opacity: .9; }
  50% { transform: translate(55vw, -10px) rotate(-2deg) scale(.9); }
  88% { opacity: .85; }
  100% { transform: translate(115vw, -70px) rotate(-8deg) scale(.7); opacity: 0; }
}
:root[data-theme="dark"] .dove { fill: #FFF4DC; opacity: .75; }
.sec-head::before, .legal-hero .eyebrow::before { content: ""; display: block; width: 132px; height: 22px; margin: 0 auto 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 22'%3E%3Cg stroke='%23C48D4A' stroke-linecap='round' fill='none'%3E%3Cpath d='M4 12h46M82 12h46' stroke-width='1.2' opacity='.7'/%3E%3Cpath d='M66 2v19M59 8h14' stroke-width='2.2'/%3E%3C/g%3E%3Ccircle cx='53' cy='12' r='1.6' fill='%23C48D4A'/%3E%3Ccircle cx='79' cy='12' r='1.6' fill='%23C48D4A'/%3E%3C/svg%3E") center/contain no-repeat; }
.legal-hero .eyebrow { display: block; }
.cs .sec-head::before { filter: brightness(1.3); }
.hero .eyebrow .dot { animation: halo 3s ease-in-out infinite; }
@keyframes halo { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--gold) 12%, transparent); } }

/* ── Legal & support pages ──────────────────────────────────────────── */
.legal-page .links { margin-inline: auto 0; }
.legal-page .links a[aria-current="page"] { color: var(--forest); }
.legal-hero { text-align: center; padding: clamp(56px, 9vw, 100px) 0 clamp(36px, 6vw, 60px); background: radial-gradient(ellipse at 50% -10%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 60%), var(--surface); border-bottom: 1px solid var(--border); overflow: hidden; }
.legal-hero h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
.legal-date { margin: 18px 0 0; font-size: .88rem; color: var(--text-2); }
.legal-date::before { content: "✝"; color: var(--gold); margin-right: 8px; }
.legal-wrap { display: grid; grid-template-columns: 250px 1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 100px); align-items: start; }
.legal-solo { padding: clamp(40px, 6vw, 64px) 0 clamp(64px, 8vw, 100px); }
.toc { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 20px 18px; font-size: .9rem; }
.toc-title { font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--text-2); }
.toc a { text-decoration: none; color: var(--text-2); }
.toc a:hover, .toc a.on { color: var(--forest); font-weight: 600; }
.legal { min-width: 0; max-width: 760px; }
.legal section { scroll-margin-top: 92px; margin-bottom: 40px; }
.legal h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin-bottom: .6em; }
.legal h3 { margin-top: 1.4em; font-size: 1.12rem; }
.legal p, .legal li { color: var(--text-2); }
.legal strong { color: var(--text); }
.legal ul:not(.checks) { padding-left: 1.2em; display: grid; gap: 8px; margin: 0 0 1em; }
.legal a { color: var(--forest); text-underline-offset: 3px; }
.legal em { color: var(--text); font-style: normal; font-weight: 600; }
.note { background: var(--green-soft); border-radius: 14px; padding: 14px 16px; font-size: .95rem; }
.summary-card { background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: var(--r); padding: 24px 26px 8px; box-shadow: var(--shadow); }
.summary-card .checks { margin-top: 12px; }
.summary-card.warn { border-left-color: var(--forest); background: color-mix(in srgb, var(--green-soft) 55%, var(--card)); }
.crisis { margin-top: 40px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 8px 0 18px; background: var(--card); border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-2); }
.legal-table th { background: var(--surface); color: var(--text); font-weight: 600; }
.legal-table tr:last-child td { border-bottom: 0; }
.contact-card { font-style: normal; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 20px 22px; line-height: 1.9; color: var(--text-2); }
.steps { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; color: var(--text-2); }
.steps b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--green-from), var(--green-to)); color: var(--on-green); font: 700 .9rem/1 var(--sans); }
.help-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 44px; }
.help-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; transition: transform .2s, box-shadow .2s; }
.help-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.help-card .tone { width: 44px; height: 44px; font-size: 1.15rem; margin-bottom: 8px; }
.help-card small { color: var(--text-2); }
.legal.faq h2 { margin-top: 36px; scroll-margin-top: 92px; }
.legal-page .footer { padding: 0 0 28px; }
.legal-page .foot-base { margin-top: 0; }
.legal-page .foot-base a { color: var(--text-2); }
@media (max-width: 900px) {
  .legal-wrap { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
  .toc ol { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .help-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .toc ol { grid-template-columns: 1fr; }
  .legal-table thead { display: none; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table tr { border-bottom: 1px solid var(--border); padding: 6px 0; }
  .legal-table td { border: 0; padding: 4px 14px; }
  .legal-table td:first-child { color: var(--text); font-weight: 600; padding-top: 10px; }
  .dove { width: 64px; top: 8%; }
}

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .cs-in { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--border); }
  .links.open { display: flex; }
  .links a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .menu-btn { display: inline-grid; }
  .nav-actions { margin-left: auto; }
  .hero-in, .try-in, .split-in { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero .stores, .chips { justify-content: center; }
  .hero::before { background: linear-gradient(to bottom, var(--bg) 35%, color-mix(in srgb, var(--bg) 60%, transparent) 70%, var(--bg)); }
  .hero-art { min-height: 0; padding: 20px 0; }
  .split.alt .split-copy { order: 0; }
  .split-art { min-height: 0; }
  .try-copy { text-align: center; }
  .pricing { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .price-card.best { transform: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr 1fr; }
  .journey li { padding: 8px 10px; }
  .float { font-size: .78rem; padding: 8px 12px 8px 8px; }
  .float img, .fi { width: 34px; height: 34px; }
  .f1 { left: 0; } .f2 { right: 0; } .f3 { display: none; }
  .split-art .phone.back { display: none; }
  #grow .split-art .phone:not(.back) { transform: none; }
  .glow { width: 300px; height: 300px; }
  .breath { width: 240px; height: 240px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dove { display: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* App icon (the finalised Holy Bible icon) */
.mark { border-radius: 22.5%; box-shadow: 0 0 0 1px rgba(54,37,29,.12), 0 2px 6px rgba(54,37,29,.12); }
.cta-icon { width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 22.5%; box-shadow: 0 0 0 1px rgba(54,37,29,.1), 0 18px 40px -12px rgba(54,37,29,.45), 0 0 60px rgba(233,194,122,.55); }
