/* Lantern 365 · lantern365app.com */

@font-face { font-family: 'DM Serif Display'; font-weight: 400; font-display: swap; src: url('../fonts/dm-serif-display.woff2') format('woff2'); }
@font-face { font-family: 'DM Serif Display'; font-weight: 400; font-style: italic; font-display: swap; src: url('../fonts/dm-serif-display-italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('../fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('../fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('../fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 800; font-display: swap; src: url('../fonts/inter-800.woff2') format('woff2'); }

:root {
  --night: #0A0E1A;
  --night-2: #0F1424;
  --night-3: #161C30;
  --gold: #F5B942;
  --gold-soft: rgba(245, 185, 66, 0.14);
  --cream: #F5EFE3;
  --grey: #B8BCC8;
  --grey-2: #9DA3B3;
  --sand: #D5D0C6;
  --line: rgba(245, 239, 227, 0.10);
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 18px;
  --header: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--cream); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #FFD07A; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
p { margin: 0 0 1em; }
em.gold, .gold { color: var(--gold); font-style: normal; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--night); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--sand); line-height: 1.6; }
.muted { color: var(--grey-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s; border: 0; cursor: pointer; font-family: var(--sans); }
.btn-gold { background: var(--gold); color: #1A1407; box-shadow: 0 8px 30px rgba(245, 185, 66, 0.28); }
.btn-gold:hover { color: #1A1407; transform: translateY(-1px); box-shadow: 0 12px 40px rgba(245, 185, 66, 0.4); background: #FFC555; }
.btn-ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(245, 239, 227, 0.3); }
.btn-ghost:hover { color: var(--cream); box-shadow: inset 0 0 0 1px var(--gold); }
.btn-small { padding: 10px 18px; font-size: 0.92rem; }

/* Store badges (official artwork can replace these: see js/config.js) */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge { display: inline-flex; align-items: center; gap: 11px; height: 54px; padding: 0 20px 0 16px; background: #000; color: #fff; border-radius: 11px; box-shadow: inset 0 0 0 1px #A6A6A6; text-decoration: none; font-weight: 600; font-size: 1.32rem; line-height: 1; letter-spacing: -0.01em; transition: transform .2s, box-shadow .2s; }
.store-badge:hover { color: #fff; transform: translateY(-1px); box-shadow: inset 0 0 0 1px #fff; }
.store-badge small { display: block; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.02em; margin-bottom: 3px; }
.store-badge img { height: 54px; width: auto; }
.store-badge.has-art { padding: 0; background: none; box-shadow: none; }
.badge-icon { width: 24px; height: 26px; flex: none; }
.free-line { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--cream); margin: 22px 0 16px; }
.free-line::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header); background: rgba(10, 14, 26, 0.72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(10, 14, 26, 0.9); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none; font-weight: 800; letter-spacing: 0.32em; font-size: 0.92rem; }
.logo:hover { color: var(--gold); }
.logo-sub { margin-left: 2px; padding-left: 12px; border-left: 1px solid rgba(245, 239, 227, 0.25); color: var(--cream); font-weight: 500; font-size: 0.92rem; letter-spacing: 0.01em; white-space: nowrap; }
@media (max-width: 1000px) and (min-width: 861px) { .nav { gap: 20px; } }
@media (max-width: 340px) { .logo-sub { display: none; } }
.logo svg { width: 13px; height: 20px; fill: var(--gold); filter: drop-shadow(0 0 6px rgba(245, 185, 66, 0.6)); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--sand); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current] { color: var(--cream); }
.menu-btn { display: none; }

@media (max-width: 860px) {
  .header-inner { gap: 14px; }
  .header-cta { margin-left: auto; }
  .menu-btn { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0; }
  .menu-btn span { display: block; width: 22px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .25s; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav { position: fixed; inset: var(--header) 0 auto 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 20px 20px; background: rgba(10, 14, 26, 0.98); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
}
@media (max-width: 420px) { .header-cta { display: none; } .menu-btn { margin-left: auto; } }

/* Sections */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-alt { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 30%, var(--night-2) 70%, var(--night) 100%); }

/* Hero */
.hero { position: relative; min-height: min(100svh, 940px); display: flex; align-items: center; overflow: hidden; margin-top: calc(var(--header) * -1); padding: calc(var(--header) + 48px) 0 72px; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; animation: kenburns 30s ease-out both; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 14, 26, 0.94) 0%, rgba(10, 14, 26, 0.75) 42%, rgba(10, 14, 26, 0.2) 75%), linear-gradient(0deg, var(--night) 0%, rgba(10, 14, 26, 0) 30%); }
.hero-content { max-width: 640px; }
.hero-verse { margin: 0 0 30px; padding-left: 18px; border-left: 2px solid var(--gold); max-width: 520px; }
.hero-verse blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.3vw, 1.5rem); line-height: 1.4; color: var(--cream); text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6); }
.hero-verse figcaption { margin-top: 8px; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.story-copy p { color: var(--sand); }
.book-photo { width: 100%; max-width: 360px; margin: 0 auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 60px rgba(245, 185, 66, 0.12)); }
.hero h1 { margin-bottom: 0.35em; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5); }
.hero .lead { color: var(--cream); opacity: 0.9; max-width: 540px; }
.glow { position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 185, 66, 0.35) 0%, rgba(245, 185, 66, 0) 65%); pointer-events: none; animation: flicker 5s ease-in-out infinite; }
.hero .glow { right: 12%; top: 36%; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes flicker { 0%, 100% { opacity: 0.85; transform: scale(1); } 30% { opacity: 1; transform: scale(1.04); } 55% { opacity: 0.78; } 75% { opacity: 0.95; transform: scale(1.02); } }

@media (max-width: 760px) {
  .hero { align-items: flex-end; min-height: 92svh; padding-bottom: 48px; }
  .hero::before { background: linear-gradient(0deg, rgba(10, 14, 26, 1) 0%, rgba(10, 14, 26, 0.88) 45%, rgba(10, 14, 26, 0.25) 80%); }
  .hero-bg img { object-position: 70% 30%; }
  .hero .glow { right: -60px; top: 18%; }
}

.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--grey); font-size: 0.92rem; padding: 0; list-style: none; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* Problem / solution */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.problem-list { list-style: none; padding: 0; margin: 24px 0; }
.problem-list li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; color: var(--sand); }
.problem-list li::before { content: '✕'; position: absolute; left: 4px; color: var(--grey-2); font-size: 0.85rem; top: 15px; }
.answer { margin-top: 28px; padding: 26px 28px; border-radius: var(--radius); background: var(--gold-soft); border: 1px solid rgba(245, 185, 66, 0.25); }
.answer p:last-child { margin: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-media { order: -1; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 34px 28px 30px; background: linear-gradient(180deg, var(--night-3), var(--night-2)); border: 1px solid var(--line); border-radius: var(--radius); }
.step-num { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--gold); opacity: 0.9; display: block; margin-bottom: 18px; }
.step p { color: var(--grey); margin: 0; }
.step .time { display: inline-block; margin-top: 18px; font-size: 0.82rem; font-weight: 600; color: var(--gold); letter-spacing: 0.04em; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.after-steps { text-align: center; margin-top: 44px; }

/* Phones */
/* iPhone-style frame: blue rim, black bezel, notch and side buttons */
.phone { position: relative; width: 270px; flex: none; padding: 3px; border-radius: 46px; background: linear-gradient(150deg, #B4CCE2 0%, #6E8FB0 22%, #4F6E8F 50%, #86A6C6 78%, #57779A 100%); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 90px rgba(245, 185, 66, 0.08); }
.phone::before { content: ''; position: absolute; left: -2px; top: 92px; width: 3px; height: 22px; border-radius: 2px 0 0 2px; background: #6E8FB0; box-shadow: 0 38px 0 0 #6E8FB0, 0 38px 0 0 #6E8FB0, 0 76px 0 0 #6E8FB0; }
.phone::after { content: ''; position: absolute; right: -2px; top: 128px; width: 3px; height: 54px; border-radius: 0 2px 2px 0; background: #6E8FB0; }
.phone-screen { padding: 8px; border-radius: 43px; background: #000; }
.phone-display { position: relative; border-radius: 35px; overflow: hidden; background: #0A0E1A; }
.phone-status { position: relative; aspect-ratio: 390 / 44; display: flex; align-items: center; justify-content: space-between; padding: 2px 24px 0 28px; font: 600 11px/1 var(--sans); color: var(--cream); }
.phone-status .notch { position: absolute; left: 50%; top: 0; width: 44%; height: 22px; transform: translateX(-50%); background: #000; border-radius: 0 0 14px 14px; }
.phone-status .notch::after { content: ''; position: absolute; right: 24%; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: #111827; box-shadow: inset 0 0 0 1.5px #1F2A44; }
.status-icons { width: 40px; height: 11px; }
.phone-display img { width: 100%; height: auto; aspect-ratio: 390 / 800; object-fit: cover; object-position: top; }

/* Features */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding: clamp(36px, 5vw, 60px) 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media { display: flex; justify-content: center; position: relative; }
.feature-media .glow { width: 360px; height: 360px; left: 50%; top: 50%; margin: -180px 0 0 -180px; }
.feature-text p { color: var(--sand); }
.feature-text ul { padding-left: 1.1em; color: var(--grey); }
.feature-text li { margin-bottom: 6px; }
.badge-row { display: flex; gap: 6px; margin-top: 20px; flex-wrap: wrap; }
.badge-row img { width: 58px; height: 58px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-media { order: 0; }
  .phone { width: 240px; }
}

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; max-width: 1000px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 28px 30px; border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--line); }
.plan.best { background: linear-gradient(180deg, #1D1B1C, var(--night-2)); border-color: rgba(245, 185, 66, 0.6); box-shadow: 0 0 60px rgba(245, 185, 66, 0.12); }
.plan-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #1A1407; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sand); }
.price { font-family: var(--serif); font-size: 3.2rem; line-height: 1; margin: 8px 0 4px; }
.price small { font-family: var(--sans); font-size: 1rem; color: var(--grey); }
.plan .per { color: var(--grey-2); font-size: 0.92rem; min-height: 1.6em; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; flex: 1; }
.plan li { padding: 7px 0 7px 26px; position: relative; color: var(--sand); font-size: 0.96rem; }
.plan li::before { content: ''; position: absolute; left: 2px; top: 14px; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.pricing-note { text-align: center; color: var(--grey-2); font-size: 0.9rem; margin-top: 28px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; max-width: 440px; } .plan.best { order: -1; } }

/* Book */
.book { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.book-cover { aspect-ratio: 2 / 3; max-width: 330px; margin: 0 auto; border-radius: 6px 14px 14px 6px; overflow: hidden; position: relative; box-shadow: -10px 0 0 -4px #0B0D14 inset, 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 80px rgba(245, 185, 66, 0.12); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 26, 0.1) 0%, rgba(10, 14, 26, 0.85) 100%); }
.book-cover-text { position: absolute; left: 24px; right: 24px; bottom: 28px; z-index: 1; }
.book-cover-text strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.05; }
.book-cover-text span { display: block; margin-top: 10px; font-size: 0.8rem; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; font-weight: 700; }
@media (max-width: 860px) { .book { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer-text { padding: 0 0 22px; color: var(--sand); }
.faq .answer-text p:last-child { margin: 0; }

/* Final CTA */
.final { position: relative; overflow: hidden; text-align: center; padding: clamp(100px, 14vw, 170px) 0; isolation: isolate; }
.final-bg { position: absolute; inset: 0; z-index: -2; }
.final-bg img { width: 100%; height: 100%; object-fit: cover; }
.final::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(10, 14, 26, 0.55) 0%, rgba(10, 14, 26, 0.92) 70%), linear-gradient(180deg, var(--night) 0%, transparent 25%, transparent 75%, var(--night) 100%); }
.final .stores { justify-content: center; }
.final .free-line { justify-content: center; }

/* Page hero (inner pages) */
.page-hero { padding: clamp(60px, 9vw, 110px) 0 clamp(30px, 5vw, 50px); }
.page-hero h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); }

/* Legal / support text */
.prose { color: var(--sand); }
.prose h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); color: var(--cream); margin-top: 1.8em; }
.prose h3 { color: var(--cream); margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--cream); }
.prose .updated { color: var(--grey-2); font-size: 0.92rem; }
.callout { padding: 22px 26px; border-radius: var(--radius); background: var(--gold-soft); border: 1px solid rgba(245, 185, 66, 0.25); margin: 28px 0; }
.callout p:last-child { margin: 0; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--cream); background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, border-color .25s; }
.post-card:hover { color: var(--cream); transform: translateY(-3px); border-color: rgba(245, 185, 66, 0.4); }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h2 { font-size: 1.45rem; margin-bottom: 10px; }
.post-card p { color: var(--grey); font-size: 0.95rem; flex: 1; }
.post-card .read { color: var(--gold); font-weight: 600; font-size: 0.92rem; }
.post-card.lead-card { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.post-card.lead-card img { height: auto; aspect-ratio: 16 / 10; }
.post-card.lead-card .post-card-body { padding: clamp(24px, 4vw, 44px); justify-content: center; }
.post-card.lead-card h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
@media (max-width: 760px) { .post-card.lead-card { grid-template-columns: 1fr; } .post-card.lead-card img { min-height: 0; aspect-ratio: 16 / 9; } }

.post-hero { padding: clamp(48px, 7vw, 84px) 0 0; }
.post-hero h1 { font-size: clamp(2.2rem, 5.6vw, 3.7rem); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--grey-2); font-size: 0.92rem; margin-top: 18px; }
.byline strong { color: var(--sand); font-weight: 600; }
.post-image { margin: clamp(28px, 5vw, 48px) auto 0; width: min(1100px, 100% - 40px); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.post-image img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.post-body { padding: clamp(40px, 6vw, 70px) 0 20px; font-size: 1.08rem; line-height: 1.75; }
.post-body > p:first-child { font-size: 1.2rem; color: var(--cream); }
.post-body p, .post-body li { color: #E4DED2; }
.post-body h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); margin-top: 1.7em; }
.post-body h3 { margin-top: 1.4em; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li { margin-bottom: 10px; }
.post-body strong { color: var(--cream); }
.post-body .kv { font-family: var(--serif); font-size: 1.15rem; color: var(--cream); }
.post-body .kv-ref { display: block; font-style: normal; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-top: 4px; }
.post-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--gold); }
.post-body blockquote p { font-family: var(--serif); font-size: 1.32rem; line-height: 1.45; color: var(--cream); margin-bottom: 0.4em; }
.post-body blockquote cite { font-style: normal; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.toc { margin: 0 0 32px; padding: 22px 26px; border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--line); font-size: 0.98rem; }
.toc strong { display: block; margin-bottom: 8px; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin-bottom: 4px; color: var(--grey); }
.toc a { color: var(--sand); text-decoration: none; }
.toc a:hover { color: var(--gold); }
.related { padding: 50px 0 20px; }
.related h2 { font-size: 1.8rem; }

.cta-box { display: grid; gap: 20px; margin: 2.4em 0; padding: clamp(26px, 4vw, 38px); border-radius: var(--radius); background: radial-gradient(ellipse at 100% 0%, rgba(245, 185, 66, 0.22), rgba(245, 185, 66, 0) 60%), var(--night-3); border: 1px solid rgba(245, 185, 66, 0.3); }
.cta-box h3 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: 0.3em; }
.cta-box p { color: var(--sand); margin: 0; font-size: 1rem; }
.cta-box .eyebrow { margin-bottom: 8px; font-size: 0.72rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 30px; background: #070A13; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer-brand p { color: var(--grey-2); font-size: 0.92rem; margin-top: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: flex-start; }
.footer-links a { color: var(--sand); text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { color: var(--gold); }
.footer-small { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-small p { color: var(--grey-2); font-size: 0.8rem; margin: 0 0 6px; }

/* Phone bottom bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: flex; align-items: center; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(10, 14, 26, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s ease; }
  .mobile-bar.show { transform: none; }
  .mobile-bar .btn { flex: 1; padding: 13px 16px; font-size: 0.95rem; }
  .mini-store { display: grid; place-items: center; width: 48px; height: 48px; flex: none; background: #000; border-radius: 12px; box-shadow: inset 0 0 0 1px #A6A6A6; }
  .mini-store .badge-icon { width: 22px; height: 24px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; width: min(440px, calc(100% - 32px)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 18px 22px; border-radius: 14px; background: var(--night-3); border: 1px solid rgba(245, 185, 66, 0.45); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); color: var(--cream); font-size: 0.96rem; transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin-bottom: 4px; }
@media (max-width: 760px) { .toast { bottom: calc(86px + env(safe-area-inset-bottom)); } }

/* Fade-ins (only when scripts run, and never with reduced motion) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 420px) {
  .stores { gap: 10px; }
  .store-badge { height: 50px; padding: 0 14px 0 12px; gap: 9px; font-size: 1.08rem; }
  .store-badge small { font-size: 0.56rem; }
  .badge-icon { width: 21px; height: 23px; }
}

/* Header button stays on one line; the "365 Family Devotional" label gives way when space is tight */
.header-cta { white-space: nowrap; flex: none; }
@media (max-width: 540px) and (min-width: 421px) { .logo-sub { display: none; } }
