/* Heart Turn Kids: the welcome page a shared link opens. Light by default, dark with the device.
   Colors: the logo's neon (pink, yellow, green) and its light blue heart, on the lessons' night-sky chrome. */
:root {
  --bg: #f3f7fa;
  --surface: #ffffff;
  --surface-2: #e7eff5;
  --ink: #0d1722;
  --muted: #4e5d6e;
  --line: rgba(13, 23, 34, 0.11);
  --night: #05090e;
  --night-2: #0d1620;
  --night-ink: #eef5fa;
  --night-muted: #a2b3c3;
  --night-line: rgba(238, 245, 250, 0.12);
  --sky: #5bc2f7;
  --sky-ink: #04263a;
  --sky-strong: #0f6fa8;
  --sky-soft: rgba(91, 194, 247, 0.15);
  --pink: #ff3da8;
  --yellow: #ffe600;
  --green: #5cff4f;
  --free: #137a38;
  --gold: #e2b04a;
  --gold-ink: #6e4b0c;
  --gold-soft: rgba(226, 176, 74, 0.18);
  --display: 'Lilita One', 'Poppins', system-ui, sans-serif;
  --body: 'Nunito Sans', 'Segoe UI', system-ui, sans-serif;
  --verse: 'EB Garamond', 'Iowan Old Style', Georgia, serif;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #091017;
    --surface: #101a23;
    --surface-2: #17232e;
    --ink: #e8f0f6;
    --muted: #9daebf;
    --line: rgba(232, 240, 246, 0.11);
    --sky-strong: #82d3fb;
    --sky-soft: rgba(91, 194, 247, 0.13);
    --free: #6fe38a;
    --gold-ink: #f0c66c;
    --gold-soft: rgba(226, 176, 74, 0.13);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #091017;
  --surface: #101a23;
  --surface-2: #17232e;
  --ink: #e8f0f6;
  --muted: #9daebf;
  --line: rgba(232, 240, 246, 0.11);
  --sky-strong: #82d3fb;
  --sky-soft: rgba(91, 194, 247, 0.13);
  --free: #6fe38a;
  --gold-ink: #f0c66c;
  --gold-soft: rgba(226, 176, 74, 0.13);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}
h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.002em;
  text-wrap: balance;
}
h3 {
  font: 800 19px/1.3 var(--body);
}
p {
  text-wrap: pretty;
}
a {
  color: var(--sky-strong);
}
img {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 8px;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gut);
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--sky);
  color: var(--sky-ink);
  font-weight: 800;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.sec {
  padding-block: clamp(56px, 7.4vw, 96px);
}
.sec-h {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.02;
  max-width: 18ch;
}
.sec-p {
  margin-top: 14px;
  max-width: 60ch;
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  border: 2px solid transparent;
  font: 800 16.5px/1.1 var(--body);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition:
    transform 0.15s,
    filter 0.15s,
    background 0.15s;
}
.btn svg {
  width: 19px;
  height: 19px;
  flex: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn-main {
  background: var(--sky);
  color: var(--sky-ink);
}
.btn-main:hover {
  filter: brightness(1.06);
}
.btn-line {
  border-color: color-mix(in srgb, var(--ink) 22%, transparent);
  color: var(--ink);
  background: var(--surface);
}
.btn-line:hover {
  border-color: var(--sky);
}
.btn-gold {
  background: var(--gold);
  color: #241800;
}
.btn-gold:hover {
  filter: brightness(1.06);
}
.btn-night {
  border-color: var(--night-line);
  color: var(--night-ink);
  background: transparent;
}
.btn-night:hover {
  border-color: var(--sky);
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px 0 13px;
  border-radius: 999px;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--night), var(--night)) padding-box,
    linear-gradient(100deg, var(--pink), var(--yellow) 52%, var(--green)) border-box;
  color: #fff;
  font: 800 14.5px/1 var(--body);
  transition: box-shadow 0.2s;
}
.share-btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.share-btn:hover {
  box-shadow:
    0 0 0 4px rgba(255, 61, 168, 0.15),
    0 0 22px -4px rgba(92, 255, 79, 0.6);
}
.share-btn.big {
  height: 54px;
  padding: 0 24px 0 20px;
  font-size: 16.5px;
}

/* Top bar */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--night);
  color: var(--night-ink);
  border-bottom: 1px solid var(--night-line);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding-block: 8px;
}
.logo {
  display: block;
  height: 40px;
  flex: none;
}
.logo svg {
  height: 100%;
  width: auto;
  max-width: 100%;
  display: block;
}
.logo svg.v {
  display: none;
}
/* on a phone the top logo stands stacked (heart, "Heart Turn", "Kids"), so it reads bigger */
@media (max-width: 520px) {
  .top .logo {
    height: 52px;
  }
  .top-in {
    gap: 8px;
  }
  .top .logo svg {
    display: none;
  }
  .top .logo svg.v {
    display: block;
  }
}
.top-nav {
  display: none;
  gap: 4px;
  margin-left: auto;
}
.top-nav a {
  color: var(--night-muted);
  text-decoration: none;
  font: 700 15px/1 var(--body);
  padding: 10px 12px;
  border-radius: 999px;
}
.top-nav a:hover {
  color: var(--night-ink);
  background: rgba(255, 255, 255, 0.06);
}
.top .share-btn {
  margin-left: auto;
}
.top-nav + .share-btn {
  margin-left: 6px;
}
.top-go {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--sky-ink);
  font: 800 14.5px/1 var(--body);
  text-decoration: none;
}
.top-go .long {
  display: none;
}
@media (min-width: 560px) {
  .top-go .long {
    display: inline;
  }
  .top-go .short {
    display: none;
  }
}
@media (min-width: 1000px) {
  .top-nav {
    display: flex;
  }
}
@media (max-width: 380px) {
  .top .share-btn {
    width: 42px;
    padding: 0;
    justify-content: center;
  }
  .top .share-btn span {
    display: none;
  }
  .logo {
    height: 42px;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(70% 90% at 92% 8%, var(--sky-soft), transparent 62%), var(--bg);
}
.hero-in {
  display: grid;
  gap: 36px;
  padding-block: clamp(30px, 6vw, 72px) clamp(48px, 7vw, 88px);
  align-items: center;
}
.hero-txt {
  display: grid;
  gap: 22px;
  justify-items: start;
}
.invited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font: 700 14.5px/1.2 var(--body);
}
.invited svg {
  width: 18px;
  height: 19px;
  color: var(--sky);
  flex: none;
}
.invited[hidden] {
  display: none;
}
.hero h1 {
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: 0.98;
  max-width: 12.5ch;
}
.lede {
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.55;
  max-width: 36em;
  color: var(--muted);
}
.facts {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 800 16px/1.2 var(--body);
}
.facts svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--free);
}
@media (min-width: 960px) {
  .hero-in {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 56px;
  }
}

/* The menu: everything on Heart Turn Kids, from any screen */
.menu-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 15px 0 13px;
  border-radius: 999px;
  border: 1.5px solid var(--night-line);
  background: transparent;
  color: var(--night-ink);
  font: 800 14.5px/1 var(--body);
  cursor: pointer;
}
.menu-btn:hover,
.menu-btn[aria-expanded='true'] {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(238, 245, 250, 0.28);
}
.menu-btn:focus-visible,
.top-menu a:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}
.menu-ico {
  position: relative;
  width: 18px;
  height: 14px;
  flex: none;
}
.menu-ico i {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    top 0.2s ease;
}
.menu-ico i:nth-child(1) {
  top: 0;
}
.menu-ico i:nth-child(2) {
  top: 6px;
}
.menu-ico i:nth-child(3) {
  top: 12px;
}
.menu-btn[aria-expanded='true'] .menu-ico i:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.menu-btn[aria-expanded='true'] .menu-ico i:nth-child(2) {
  opacity: 0;
}
.menu-btn[aria-expanded='true'] .menu-ico i:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}
.top-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--night);
  border-bottom: 1px solid var(--night-line);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  max-height: calc(100vh - 66px);
  max-height: calc(100dvh - 66px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.top-menu[hidden] {
  display: none;
}
.tm-in {
  display: grid;
  gap: 22px 40px;
  padding-block: 22px 26px;
}
.tm-col {
  display: grid;
  align-content: start;
  gap: 2px;
}
.tm-h {
  margin: 0 0 6px;
  font: 800 12.5px/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--night-muted);
}
.tm-col a {
  color: var(--night-ink);
  text-decoration: none;
  font: 700 17px/1.25 var(--body);
  padding: 9px 10px;
  margin-inline: -10px;
  border-radius: 10px;
}
.tm-col a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.tm-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-top: 6px;
  border-top: 1px solid var(--night-line);
}
.tm-cta .btn {
  margin-top: 14px;
}
.tm-cta .share-btn {
  margin-top: 14px;
  color: #fff;
}
@media (min-width: 640px) {
  .tm-in {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tm-cta {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  /* phones: tighter spacing so the menu button sits beside Start and the bar always fits */
  .top-in {
    gap: 8px;
  }
  .logo {
    height: 40px;
    min-width: 0;
    flex: 0 1 auto;
  }
  .menu-word {
    display: none;
  }
  .menu-btn {
    width: 42px;
    padding: 0;
    justify-content: center;
  }
}
@media (max-width: 400px) {
  .top .share-btn {
    width: 42px;
    padding: 0;
    justify-content: center;
  }
  .top .share-btn span {
    display: none;
  }
}
/* the on-page links in the bar need room beside the buttons; without them, the buttons sit at the right */
@media (max-width: 1199px) {
  .top-nav {
    display: none;
  }
  .top-nav + .share-btn {
    margin-left: auto;
  }
}

/* The film: a scene from The Rainbow Promise, verse by verse */
.film {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: var(--night);
  color: #eef4f8;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.08),
    0 40px 80px -40px rgba(4, 14, 24, 0.7);
}
.film-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b1e33;
}
.film-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
  transform-origin: 60% 55%;
}
.film-screen img.on {
  opacity: 1;
  animation: drift 9s ease-out both;
}
@keyframes drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07) translate(-1%, -0.5%);
  }
}
.film-cap {
  display: grid;
  gap: 12px;
  padding: 18px clamp(16px, 2.4vw, 24px) 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.film-t {
  font: 800 12px/1.3 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.film-verses {
  display: grid;
}
.fv {
  grid-area: 1 / 1;
  display: grid;
  gap: 6px;
  align-content: start;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.6s,
    visibility 0s 0.6s;
}
.fv.on {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.7s 0.35s;
}
.fv q {
  font: italic 400 clamp(18px, 1.7vw, 21px)/1.42 var(--verse);
  color: #f4f0e6;
  quotes: none;
}
.fv cite {
  font: 800 12px/1.2 var(--body);
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fb2c2;
}
.film-ctl {
  display: flex;
  align-items: center;
  gap: 6px;
}
.film-play {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0;
}
.film-play:hover {
  border-color: var(--sky);
}
.film-play .i-play,
.film-play[aria-pressed='false'] .i-pause {
  display: none;
}
.film-play[aria-pressed='false'] .i-play {
  display: block;
}
.film-dots {
  display: flex;
}
.film-dots button {
  width: 24px;
  height: 32px;
  border: 0;
  background: none;
  padding: 0;
  display: grid;
  place-items: center;
}
.film-dots button::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  transition:
    width 0.3s,
    background 0.3s;
}
.film-dots button[aria-current='true']::after {
  width: 18px;
  background: var(--sky);
}
.film-note {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--muted);
}

/* What it costs: nothing */
.cost-in {
  display: grid;
  gap: 36px;
  align-items: start;
}
.cost-txt {
  display: grid;
  gap: 16px;
}
.cost-txt p {
  max-width: 46ch;
  font-size: 18px;
  color: var(--muted);
}
.cost-txt p strong {
  color: var(--ink);
}
.tag {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -44px rgba(5, 15, 25, 0.5);
}
.price {
  list-style: none;
  padding: 0;
  display: grid;
}
.price li {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 9px 0;
  font-size: 16.5px;
  line-height: 1.35;
}
.price li span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.price li span::after {
  content: '';
  display: inline-block;
  width: 100%;
  margin: 0 -100% 0 10px;
  vertical-align: 0.28em;
  border-bottom: 2px dotted color-mix(in srgb, var(--muted) 55%, transparent);
}
.price b {
  flex: none;
  font: 800 16px/1.35 var(--body);
  color: var(--free);
}
.total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 2.5px solid var(--ink);
}
.total span {
  font: 400 clamp(22px, 2.4vw, 28px)/1.1 var(--display);
}
.total b {
  font: 400 clamp(34px, 4vw, 48px)/1 var(--display);
  color: var(--free);
}
.tag-foot {
  margin-top: 10px;
  font: 700 14px/1.4 var(--body);
  color: var(--muted);
}
@media (min-width: 900px) {
  .cost-in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 64px;
  }
  .cost-txt {
    position: sticky;
    top: 110px;
  }
}

/* Inside every lesson */
.inside {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.inside-in {
  display: grid;
  gap: 44px;
  align-items: center;
}
.papers {
  position: relative;
  width: min(100%, 560px);
  justify-self: center;
  aspect-ratio: 1 / 0.9;
}
.papers img {
  position: absolute;
  width: 50%;
  height: auto;
  aspect-ratio: 8.5 / 11;
  border-radius: 4px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.1),
    0 22px 40px -22px rgba(5, 15, 25, 0.55);
}
.papers .p1 {
  left: 0;
  top: 7%;
  transform: rotate(-7deg);
}
.papers .p2 {
  right: 0;
  top: 4%;
  transform: rotate(6deg);
}
.papers .p3 {
  left: 25%;
  top: 2%;
  z-index: 2;
  transform: rotate(-1deg);
}
.kit {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 22px;
  margin-top: 28px;
}
.kit li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 14px;
}
.kit h3 {
  grid-column: 2;
  font-size: 18px;
}
.kit p {
  grid-column: 2;
  color: var(--muted);
  font-size: 16px;
}
.kit .ic {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--sky-soft);
  color: var(--sky-strong);
}
.kit .ic svg {
  width: 22px;
  height: 22px;
}
@media (min-width: 960px) {
  .inside-in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }
  .papers {
    order: -1;
    position: sticky;
    top: 120px;
    margin-top: 24px;
  }
}

/* In the order it happened */
.order-rows {
  display: grid;
  gap: 34px;
  margin-top: 40px;
}
.orow {
  display: grid;
  gap: 12px;
}
.orow-h {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
}
.orow-h h3 {
  font: 400 clamp(22px, 2.4vw, 28px)/1.1 var(--display);
}
.orow-h p {
  color: var(--muted);
  font-size: 16px;
}
.band {
  display: flex;
  gap: 3px;
  height: 16px;
}
.band span {
  border-radius: 4px;
}
.band span:first-child {
  border-radius: 999px 4px 4px 999px;
}
.band span:last-child {
  border-radius: 4px 999px 999px 4px;
}
.eras {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.eras li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 700 15px/1.3 var(--body);
}
.eras li::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c);
  flex: none;
}
.order-note {
  margin-top: 30px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--gold-soft);
  font-size: 16.5px;
  max-width: 70ch;
}

/* Faithful to sound doctrine */
.doctrine {
  background: radial-gradient(80% 70% at 0% 0%, rgba(91, 194, 247, 0.16), transparent 60%), var(--night);
  color: var(--night-ink);
}
.doctrine .sec-h {
  color: #fff;
}
.doctrine .sec-p {
  color: var(--night-muted);
}
.doc-grid {
  display: grid;
  gap: 40px;
  margin-top: 44px;
}
.gospel {
  display: grid;
  gap: 14px;
  align-content: start;
  padding-left: 20px;
  border-left: 4px solid var(--gold);
}
/* Jesus and the children (Mark 10:14), under the opening */
.kids-verse {
  padding-block: clamp(36px, 5vw, 64px);
  background: var(--sky-soft);
  border-block: 1px solid var(--line);
  text-align: center;
}
.kv-in {
  display: grid;
  gap: 18px;
  justify-items: center;
}
.kv {
  margin: 0;
  max-width: 900px;
}
.kv blockquote p {
  font: italic 500 clamp(26px, 3.4vw, 42px)/1.28 var(--verse);
  color: var(--ink);
  text-wrap: balance;
}
.kv cite {
  display: block;
  margin-top: 10px;
  font: 800 12.5px/1.2 var(--body);
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-strong);
}
.kv-kjv {
  max-width: 620px;
}
.kv-kjv blockquote p {
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--muted);
}
.gospel blockquote {
  font: italic 400 clamp(24px, 2.7vw, 34px)/1.38 var(--verse);
  color: #f4f0e6;
}
.gospel cite {
  font: 800 12.5px/1.2 var(--body);
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.commit {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 24px;
}
.commit li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 14px;
}
.commit .ic {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(91, 194, 247, 0.14);
  color: var(--sky);
}
.commit .ic svg {
  width: 22px;
  height: 22px;
}
.commit h3 {
  color: #fff;
}
.commit p {
  color: var(--night-muted);
  font-size: 16.5px;
}
.beliefs {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--night-line);
}
.beliefs h3 {
  font: 400 clamp(24px, 2.6vw, 32px)/1.1 var(--display);
  color: #fff;
}
.beliefs ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: grid;
  gap: 14px;
}
.beliefs li {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--night-2);
  border: 1px solid var(--night-line);
  display: grid;
  gap: 6px;
}
.beliefs b {
  font: 800 17px/1.35 var(--body);
  color: #fff;
}
.beliefs span {
  font: italic 400 18px/1.5 var(--verse);
  color: #c9d5e0;
}
.beliefs-note {
  margin: 18px 0 0;
  font: 400 14px/1.55 var(--body);
  color: #9fb2c4;
}
.beliefs cite {
  font: 800 11.5px/1 var(--body);
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  white-space: nowrap;
  margin-left: 4px;
}
@media (min-width: 900px) {
  .doc-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 64px;
  }
  .beliefs ul {
    grid-template-columns: 1fr 1fr;
  }
}

/* For your church: VBS and church pages */
.vbs-wall {
  list-style: none;
  padding: 0;
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px 14px;
}
.vbs-wall li {
  flex: 0 0 calc((100% - 14px) / 2);
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  text-align: center;
}
@media (min-width: 600px) {
  .vbs-wall li {
    flex-basis: calc((100% - 28px) / 3);
  }
}
@media (min-width: 1000px) {
  .vbs-wall {
    flex-wrap: nowrap;
  }
  .vbs-wall li {
    flex: 1 1 0;
    min-width: 0;
  }
}
.vbs-wall img {
  width: min(100%, 150px);
  height: auto;
  aspect-ratio: 1;
  filter: drop-shadow(0 10px 14px rgba(5, 15, 25, 0.18));
}
.vbs-wall b {
  font: 800 15.5px/1.25 var(--body);
}
.vbs-wall span {
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
}
.vbs-wall .vbs-yr {
  display: block;
  margin-bottom: 3px;
  font: 800 11.5px/1.2 var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-strong);
}
.vbs-wall .vbs-yr.tbd {
  color: var(--muted);
  font-weight: 700;
}
.vbs-has {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  list-style: none;
  padding: 0;
}
.vbs-has li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font: 700 15px/1.2 var(--body);
}
.cpage {
  margin-top: clamp(48px, 7vw, 80px);
  display: grid;
  gap: 28px;
  padding: clamp(22px, 3.4vw, 40px);
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.cpage h3 {
  font: 400 clamp(26px, 3vw, 36px)/1.08 var(--display);
}
.cpage > div > p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 52ch;
}
.cpage .ctas {
  margin-top: 20px;
}
.ticks {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
  align-content: center;
}
.ticks li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  font-size: 16.5px;
}
.ticks svg {
  width: 22px;
  height: 22px;
  color: var(--free);
  margin-top: 2px;
}
@media (min-width: 900px) {
  .cpage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }
}

/* Who we are */
.story-in {
  display: grid;
  gap: 34px;
}
.story-in p + p {
  margin-top: 16px;
}
.story-txt p {
  font-size: 18px;
  line-height: 1.65;
  max-width: 58ch;
}
.story-txt .sec-h {
  margin-bottom: 22px;
}
.quote {
  align-self: center;
  padding: 26px 28px;
  border-radius: 24px;
  background: var(--gold-soft);
}
.quote blockquote {
  font: italic 500 clamp(24px, 2.6vw, 32px)/1.35 var(--verse);
}
.quote cite {
  display: block;
  margin-top: 14px;
  font: 800 12.5px/1 var(--body);
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.quote a {
  display: inline-block;
  margin-top: 18px;
  font-weight: 800;
}
.quote .quote-bible {
  margin-top: 20px;
  cursor: pointer;
}
@media (min-width: 900px) {
  .story-in {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 64px;
  }
}

/* Pass it on, and the bonus pack */
.pass {
  background: radial-gradient(55% 70% at 78% 50%, var(--sky-soft), transparent 70%), var(--bg);
  border-top: 1px solid var(--line);
}
.pass-in {
  display: grid;
  gap: 40px;
  align-items: center;
}
.pass-txt {
  display: grid;
  gap: 16px;
  justify-items: start;
}
.pass-txt > p {
  font-size: 18px;
  color: var(--muted);
  max-width: 52ch;
}
.bonus {
  width: 100%;
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding: 20px 22px;
  border-radius: 22px;
  background: var(--surface);
  border: 1.5px dashed color-mix(in srgb, var(--muted) 45%, transparent);
}
.bonus.is-open {
  border-style: solid;
  border-color: color-mix(in srgb, var(--sky) 70%, transparent);
}
.bonus-h {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 800 17px/1.3 var(--body);
}
.bonus-h svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--sky-strong);
}
.bonus p {
  font-size: 16px;
  color: var(--muted);
}
.bonus .ctas {
  margin-top: 6px;
}
.bonus .btn {
  min-height: 48px;
  font-size: 15.5px;
  padding: 0 18px;
}
.pass .ctas .share-btn.big {
  color: #fff;
}
.stack {
  position: relative;
  width: min(100%, 540px);
  justify-self: center;
  aspect-ratio: 1 / 0.8;
}
.stack figure {
  position: absolute;
  width: 49%;
}
.stack img {
  width: 100%;
  height: auto;
  aspect-ratio: 8.5 / 11;
  border-radius: 4px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.1),
    0 22px 40px -22px rgba(5, 15, 25, 0.55);
}
.stack figcaption {
  margin-top: 10px;
  font: 800 14px/1.2 var(--body);
  text-align: center;
  color: var(--muted);
}
.stack .s1 {
  left: 0;
  top: 2%;
  transform: rotate(-3deg);
}
.stack .s2 {
  right: 0;
  top: 8%;
  transform: rotate(3deg);
}
@media (min-width: 900px) {
  .pass-in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
}

/* Keep it free */
.give-in {
  display: grid;
  gap: 22px 48px;
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
}
.give-in p {
  color: var(--muted);
  max-width: 56ch;
  margin-top: 12px;
  font-size: 17.5px;
}
.give-act {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.give-in .give-act .verse {
  margin: 0;
  font: italic 400 19px/1.5 var(--verse);
  color: var(--ink);
  max-width: 34ch;
}
.give-act .btn {
  min-width: 180px;
}
.give-in .verse cite {
  font: 800 11.5px/1 var(--body);
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-left: 6px;
  white-space: nowrap;
}
@media (min-width: 860px) {
  .give-in {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
  .give-act {
    padding-left: 40px;
    border-left: 1px solid var(--line);
  }
}

/* The end: start teaching, and the footer */
.end {
  background: var(--night);
  color: var(--night-ink);
}
.end-cta {
  padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 64px);
  display: grid;
  gap: 18px;
  justify-items: start;
}
.end-cta h2 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
  color: #fff;
}
.end-cta p {
  color: var(--night-muted);
  font-size: 18px;
  max-width: 48ch;
}
.end-cta .ctas {
  margin-top: 8px;
}
.foot {
  border-top: 1px solid var(--night-line);
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding-block: 26px calc(26px + env(safe-area-inset-bottom, 0px));
}
.foot-id {
  display: flex;
  align-items: center;
  gap: 14px;
}
.foot-id .logo {
  height: 84px;
}
.foot-id p {
  font-size: 14.5px;
  color: var(--night-muted);
  max-width: 34ch;
  line-height: 1.45;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.foot nav a {
  color: var(--night-ink);
  font: 700 14.5px/1.2 var(--body);
  text-decoration: none;
}
.foot nav a:hover {
  color: var(--sky);
}
.foot nav .give {
  color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .film-screen img,
  .fv,
  .fv.on,
  .btn,
  .share-btn {
    transition: none;
  }
  .film-screen img.on {
    animation: none;
  }
}

/* Course eras: each era's color, and its share of the bar (its number of lessons) */
.band span {
  flex: var(--w);
  background: var(--c);
}
.era-nt-1 {
  --c: #5563a8;
  --w: 7;
}
.era-nt-2 {
  --c: #2f6fb3;
  --w: 5;
}
.era-nt-3 {
  --c: #1e8c99;
  --w: 8;
}
.era-nt-4 {
  --c: #2e8a5e;
  --w: 16;
}
.era-nt-5 {
  --c: #7d8b2c;
  --w: 11;
}
.era-nt-6 {
  --c: #a63c3c;
  --w: 4;
}
.era-nt-7 {
  --c: #d09a26;
  --w: 5;
}
.era-nt-8 {
  --c: #3aa0d8;
  --w: 11;
}
.era-nt-9 {
  --c: #26a196;
  --w: 5;
}
.era-nt-10 {
  --c: #4e5cc2;
  --w: 15;
}
.era-nt-11 {
  --c: #8b57b9;
  --w: 12;
}
.era-nt-12 {
  --c: #c7782a;
  --w: 5;
}
.era-ot-1 {
  --c: #4e9a4a;
  --w: 4;
}
.era-ot-2 {
  --c: #3a7fa8;
  --w: 4;
}
.era-ot-3 {
  --c: #b07a3a;
  --w: 14;
}
.era-ot-4 {
  --c: #c4528a;
  --w: 10;
}
.era-ot-5 {
  --c: #c9773a;
  --w: 13;
}
.era-ot-6 {
  --c: #b58b4c;
  --w: 4;
}
.era-ot-7 {
  --c: #5e9a3a;
  --w: 7;
}
.era-ot-8 {
  --c: #8a6a3a;
  --w: 8;
}
.era-ot-9 {
  --c: #7a4aa8;
  --w: 10;
}
.era-ot-10 {
  --c: #c8582e;
  --w: 9;
}
.era-ot-11 {
  --c: #3a6aa0;
  --w: 8;
}

/* Language button (assets/translate.js): a globe; the picker opens over it. Google Translate's own bar is hidden. */
.lang-pick {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  color: inherit;
  cursor: pointer;
  flex: none;
}
.lang-pick svg {
  display: block;
  width: 18px;
  height: 18px;
}
.lang-code {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.lang-pick select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 16px;
}
.lang-pick:focus-within {
  outline: 3px solid #5bc2f7;
  outline-offset: 2px;
}
.goog-te-banner-frame,
body > .skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}
body {
  top: 0 !important;
}
font[style*='background-color'] {
  background: none !important;
  box-shadow: none !important;
}

/* The menu's own Share button keeps its full label (the header's icon-only rules are for the bar) */
.top .tm-cta .share-btn {
  width: auto;
  margin-left: 0;
  padding: 0 24px 0 20px;
  justify-content: flex-start;
}
/* While the menu is open, the floating Bible button steps aside so it doesn't cover the menu */
body:has(#topMenu:not([hidden])) .hb {
  display: none;
}
