@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/nunito-0.woff2) format('truetype');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/nunito-1.woff2) format('truetype');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/nunito-2.woff2) format('truetype');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/assets/fonts/nunito-3.woff2) format('truetype');
}

:root {
  --ink: #2c2c2c;
  --muted: #6d6d6d;
  --faint: #8a8a8a;
  --line: #ece8e1;
  --paper: #fffdfb;
  --cream: #f6f3ec;
  --blue: #3b9ef5;
  --blue-dark: #2b8ae0;
  --shadow: 0 16px 40px rgba(40, 40, 40, 0.06);
  --nav: 72px;
  --max: 1080px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Nunito, ui-rounded, "SF Pro Rounded", "Avenir Next", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, summary { font: inherit; }
.skip {
  position: absolute; left: 12px; top: -40px;
  background: var(--ink); color: white; padding: 8px 12px; border-radius: 10px; z-index: 50;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.nav {
  position: sticky; top: 0; z-index: 30;
  min-height: var(--nav);
  display: flex; align-items: center;
  background: rgba(255, 253, 251, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f0ece6;
}
.nav .wrap { display: flex; align-items: center; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.logo .mark { width: 38px; height: 38px; border-radius: 10px; }
.desk { display: flex; gap: 18px; margin-left: auto; }
.desk a, .mobile-nav a { text-decoration: none; font-weight: 700; color: #4a4a4a; }
.desk a:hover, .mobile-nav a:hover { color: var(--ink); }
.desk a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--blue); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.mobile-nav { display: none; }
.mobile-nav summary {
  list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: white; display: grid; place-items: center; font-weight: 800;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav[open] .panel {
  display: grid; gap: 4px; position: absolute; right: 16px; top: calc(var(--nav) - 6px);
  background: white; border: 1px solid var(--line); border-radius: 16px; padding: 10px; min-width: 210px;
  box-shadow: var(--shadow);
}
.mobile-nav a { padding: 8px 10px; border-radius: 10px; }
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; font-weight: 700; border: 1px solid var(--line);
  background: white; border-radius: 12px; padding: 8px 12px;
}
.lang summary::-webkit-details-marker { display: none; }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none;
  background: white; border: 1px solid var(--line); border-radius: 16px; min-width: 160px; box-shadow: var(--shadow);
}
.lang a { display: block; text-decoration: none; font-weight: 700; padding: 8px 10px; border-radius: 10px; }
.lang a[aria-current="true"] { background: #e8f4ff; color: var(--blue-dark); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; border: 0; cursor: pointer; font-weight: 800;
  border-radius: 14px; padding: 14px 26px;
}
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: white; color: var(--ink); border: 1.5px solid #e4e4e4; }
.btn-ghost:hover { background: #fafafa; }
.btn-nav { padding: 10px 16px; border-radius: 12px; }

.scene-hero { background: #ffe479; }
.scene-frame { position: relative; width: 100%; }
.scene-frame img { width: 100%; height: auto; }
.scene-copy {
  position: absolute; top: 50%; right: max(32px, calc((100% - 1080px) / 2));
  transform: translateY(-56%);
  width: min(460px, 36%);
  text-align: left;
}
.scene-copy h1 {
  font-size: clamp(2rem, 3.4vw, 3.05rem);
  line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 12px;
}
.scene-copy .lead { margin: 0 0 18px; max-width: none; }
.scene-copy .cta-row { justify-content: flex-start; }
.scene-copy .fine { margin: 12px 0 0; }
.scene-sky { background: #fbe3c1; line-height: 0; }
.scene-sky img { width: 100%; height: auto; }
.illu { width: min(440px, 100%); height: auto; margin: 0 auto; }
.prayer-biblo { width: min(280px, 70vw); }
.streak-biblo { width: min(280px, 70vw); }
.lead { color: var(--muted); font-size: 1.08rem; font-weight: 650; margin: 0 auto 22px; max-width: 34rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.fine { color: var(--faint); font-weight: 700; font-size: 0.92rem; }
.biblo { filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5)); }

.verse-band { background: var(--cream); text-align: center; padding: 84px 0 64px; }
.verse-label { font-weight: 800; font-size: 1.35rem; margin: 0 0 18px; }
.verse-band blockquote { margin: 0 auto; max-width: 40rem; }
.verse-band blockquote p {
  margin: 0;
  font-family: ui-serif, "Iowan Old Style", Palatino, Georgia, serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500; line-height: 1.35; letter-spacing: -0.02em;
}
.verse-band cite { display: block; margin-top: 14px; font-style: normal; color: var(--muted); font-weight: 700; }
.store { display: inline-block; margin-top: 28px; }
.store img { width: 180px; height: auto; margin: 0 auto; }

.feature { padding: 28px 0; }
.feature-grid { display: grid; gap: 28px; align-items: center; padding: 36px 0; }
.feature-copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 12px; font-weight: 800; }
.feature-copy p, .sub { color: var(--muted); font-weight: 650; margin: 0; max-width: 34rem; }
.feature-art { display: grid; place-items: center; }
.feature-art .biblo { width: min(280px, 70vw); height: auto; }

.phone {
  width: min(280px, 86vw);
  background: #fffdf8;
  border: 7px solid #8fd0ff;
  border-radius: 40px;
  padding: 7px;
  box-shadow: 0 22px 50px rgba(80, 150, 210, 0.18);
}
.phone .shot {
  width: 100%;
  height: auto;
  border-radius: 32px;
  display: block;
}
.screen {
  background: #fffdf8; border-radius: 28px; min-height: 500px;
  padding: 16px 14px 14px; display: flex; flex-direction: column;
}
.screen-top { display: flex; align-items: center; gap: 10px; }
.mascot-row { display: flex; justify-content: center; }
.phone .biblo { width: 118px; height: auto; margin: 2px auto 0; filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.5)); }
.stat .biblo { filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.5)); }
.sky .biblo { filter: drop-shadow(0 0 1.3px rgba(0, 0, 0, 0.5)); }
.progress { flex: 1; height: 12px; background: #efeae0; border-radius: 999px; overflow: hidden; }
.progress span { display: block; width: 34%; height: 100%; background: #58cc02; border-radius: inherit; }
.xp { color: #1d6fbf; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.02em; white-space: nowrap; }
.bubble {
  margin: 8px 0; background: white; border: 1.5px solid #eee; border-radius: 16px;
  padding: 12px 14px; font-weight: 800;
}
.choices { display: grid; gap: 8px; }
.choice {
  background: white; border: 1.5px solid #ececec; border-radius: 14px;
  padding: 11px 14px; font-weight: 800; text-align: left;
}
.check {
  margin-top: auto; background: #efefef; color: #b0b0b0; text-align: center;
  font-weight: 800; letter-spacing: 0.08em; border-radius: 14px; padding: 12px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.chips li { background: #e8f4ff; color: #1d6fbf; font-weight: 800; border-radius: 999px; padding: 7px 12px; font-size: 0.92rem; }

.closing {
  text-align: center;
  background: #fff6d2;
  padding: 64px 0 56px;
}
.closing h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.03em; margin: 0 0 8px; }
.closing p { color: var(--muted); font-weight: 700; margin: 0 auto 18px; max-width: 32rem; }
.sky {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, #fff4c8 0%, #ffe59a 55%, #fffdfb 100%);
  padding: 72px 0 36px;
}
.sky-inner { position: relative; z-index: 1; }
.sky h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.03em; margin: 8px 0; }
.sky p { color: var(--muted); font-weight: 700; margin: 0 auto 18px; max-width: 32rem; }
.sky .biblo { width: 180px; height: auto; margin: 0 auto 8px; }
.cloud { position: absolute; background: white; border-radius: 40px; opacity: 0.85; }
.cloud:before, .cloud:after { content: ""; position: absolute; background: white; border-radius: 50%; }
.c1 { width: 180px; height: 46px; left: 8%; bottom: 18%; }
.c1:before { width: 70px; height: 70px; top: -36px; left: 24px; }
.c1:after { width: 90px; height: 90px; top: -48px; left: 70px; }
.c2 { width: 220px; height: 50px; right: 6%; top: 18%; }
.c2:before { width: 80px; height: 80px; top: -40px; left: 30px; }
.c2:after { width: 100px; height: 100px; top: -54px; left: 86px; }

.statrow { padding: 20px 0 10px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; }
.stat b { display: block; font-size: 2rem; letter-spacing: -0.04em; }
.stat span { color: var(--muted); font-weight: 700; }
.stat .biblo { width: 120px; height: auto; margin: 0 auto 6px; }

.section { padding: 56px 0; }
.section h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.03em; margin: 0 0 8px; }
.faq { display: grid; gap: 10px; margin-top: 18px; }
.faq details { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { color: var(--muted); font-weight: 650; margin: 10px 0 0; }

.legal { padding: 28px 0 72px; max-width: 800px; }
.blog-index h1, .post h1 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 8px; }
.posts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.posts a {
  display: block; text-decoration: none;
  background: white; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px;
}
.posts a:hover { border-color: #d7e8f8; }
.posts time, .post time { color: var(--faint); font-weight: 800; font-size: 0.88rem; }
.posts h2 { margin: 6px 0; font-size: 1.35rem; letter-spacing: -0.03em; }
.posts p { margin: 0; color: var(--muted); font-weight: 650; }
.post { padding: 28px 0 72px; max-width: 740px; }
.post .updated a { color: var(--blue-dark); font-weight: 800; }
.post-body h2 { font-size: 1.35rem; margin: 32px 0 8px; letter-spacing: -0.02em; }
.post-body h3 { font-size: 1.12rem; margin: 24px 0 8px; }
.post-body p, .post-body li { color: #3a3a3a; font-weight: 650; font-size: 1.05rem; line-height: 1.65; }
.post-body ul { padding-left: 1.2rem; }
.post-body li { margin: 6px 0; }
.post-body a { color: var(--blue-dark); }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; }
.legal h2 { font-size: 1.3rem; margin-top: 28px; }
.legal p, .legal li { color: #4d4d4d; font-weight: 650; }
.about { padding: 56px 0 88px; max-width: 680px; text-align: left; }
.about h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: -0.04em; margin: 0 0 10px; }
.about .kicker { color: var(--muted); font-weight: 800; font-size: 1.15rem; margin: 0 0 36px; }
.about .intro { color: var(--ink); font-size: 1.12rem; font-weight: 750; line-height: 1.55; }
.about h2 { font-size: 1.55rem; letter-spacing: -0.03em; margin: 40px 0 8px; }
.about h3 { font-size: 1.15rem; margin: 26px 0 6px; }
.about p { color: #4d4d4d; font-weight: 650; line-height: 1.65; margin: 0 0 12px; }
.about a { color: var(--blue-dark); }
.updated { color: var(--faint); font-weight: 800; }

footer { border-top: 1px solid #f0ece6; padding: 28px 0 48px; }
.foot { display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: space-between; align-items: start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 14px; }
.foot a { font-weight: 700; color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot p { margin: 8px 0 0; color: var(--faint); font-weight: 700; max-width: 36rem; }

@media (min-width: 900px) {
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 48px; padding: 64px 0; }
  .feature-grid.flip .feature-copy { order: 2; }
}

@media (max-width: 899px) {
  .desk, .lang, .btn-nav { display: none; }
  .mobile-nav { display: block; }
  .nav .wrap { gap: 10px; }
  .stats { grid-template-columns: 1fr; }
  h1 { overflow-wrap: anywhere; }
  .scene-frame img { height: 280px; object-fit: cover; object-position: left center; }
  .scene-copy {
    position: static; width: auto; transform: none; text-align: center;
    padding: 4px 20px 32px;
  }
  .scene-copy .lead { margin-left: auto; margin-right: auto; }
  .scene-copy .cta-row { justify-content: center; }
}

.bible-bar {
  width: min(760px, calc(100% - 40px));
  margin: 22px auto 14px;
  display: flex; align-items: center; gap: 10px;
}
.picker { position: relative; }
.picker summary {
  list-style: none; cursor: pointer; font-weight: 800;
  background: #f3f1ec; border-radius: 999px; padding: 10px 16px;
}
.picker summary::-webkit-details-marker { display: none; }
.picker summary:after { content: "▾"; margin-left: 8px; color: var(--faint); font-size: 0.8rem; }
.picker-panel {
  position: absolute; z-index: 40; top: calc(100% + 8px); left: 0;
  width: min(560px, calc(100vw - 32px));
  background: white; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: 210px 1fr;
  max-height: 420px;
}
.book-col, .ch-col { overflow: auto; max-height: 420px; padding: 8px; }
.book-col a, .ch-col a, .trans-menu a {
  display: block; text-decoration: none; font-weight: 700; padding: 7px 8px; border-radius: 8px; color: var(--ink);
}
.book-col a[aria-current="page"], .ch-col a[aria-current="page"], .trans-menu a[aria-current="true"] {
  background: #e8f4ff; color: var(--blue-dark);
}
.testament { margin: 8px 8px 4px; color: var(--faint); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.ch-col { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 4px; padding-top: 36px; }
.ch-col a { width: 44px; text-align: center; }
.bible-actions { margin-left: auto; display: flex; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line);
  background: white; color: #666; display: grid; place-items: center; cursor: pointer;
}
.icon-btn:hover { color: var(--ink); }
.trans-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40;
  background: white; border: 1px solid var(--line); border-radius: 16px;
  min-width: 220px; padding: 8px; box-shadow: var(--shadow);
}
.reader {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto 12px;
  background: var(--cream);
  border-radius: 28px;
  padding: 42px 56px 36px;
}
.reader h1 { text-align: center; font-size: 1.7rem; letter-spacing: -0.03em; margin: 0 0 28px; }
.reader h2 { font-size: 1.05rem; margin: 22px 0 12px; }
.verse { margin: 0 0 14px; font-weight: 600; font-size: 1.05rem; line-height: 1.65; }
.verse .n { color: #b0b0b0; font-size: 0.72rem; font-weight: 800; margin-right: 6px; vertical-align: 0.35em; }
.bible-credit { margin: 28px 0 0; color: var(--faint); font-size: 0.85rem; font-weight: 700; }
.bible-credit a { color: var(--muted); }
.turn {
  width: min(760px, calc(100% - 40px));
  margin: 8px auto 56px;
  display: flex; justify-content: space-between; gap: 16px;
}
.turn a { text-decoration: none; font-weight: 800; }
.turn span { display: block; color: var(--faint); font-size: 0.82rem; }
.turn .next { margin-left: auto; text-align: right; }

@media (max-width: 700px) {
  .reader { padding: 28px 18px 32px; border-radius: 22px; }
  .picker-panel { grid-template-columns: 1fr; max-height: 70vh; }
  .book-col, .ch-col { max-height: 32vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
