/* One continuous native scroll surface. Content may grow beyond a viewport. */
html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-top: 0;
}
body {
  background: #230913;
}
.site-header {
  position: fixed;
  inset: 0 0 auto;
  max-width: none;
  height: 80px;
  padding: 18px clamp(22px, 5vw, 80px);
  z-index: 20;
  background: linear-gradient(#230913 65%, #23091300);
  border: 0;
}
.site-header .brand {
  font-size: 13px;
}
.site-header nav {
  font-size: 11px;
  gap: 24px;
}
.brand-icon {
  width: 34px;
  height: 34px;
}
#main > .scene {
  position: relative;
  min-height: min(100svh, 760px);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 96px max(32px, 8vw) 32px;
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
  overflow: visible;
  text-align: center;
  background: radial-gradient(ellipse at 50% 46%, #5f1e262e, transparent 67%);
}
#main > .scene:nth-child(even) {
  background: radial-gradient(ellipse at 50% 48%, #7041171c, transparent 65%),
    #1e0a13;
}
#main > .hero {
  padding-top: 100px;
  padding-bottom: 36px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, #74272970, transparent 64%);
}
.hero .portrait-stage {
  width: min(280px, 54vw, 32svh);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(25px, 3.5vw, 43px);
}
.hero-description {
  margin: 20px 0;
}
.small-note {
  margin: 14px 0 0;
}
.section-heading {
  margin: 0 auto 20px;
  max-width: 630px;
}
.section-heading h2 {
  font-size: clamp(30px, 3.6vw, 44px);
}
.motivation-grid {
  display: grid;
  grid-template-columns: minmax(210px, 270px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
}
.motivation-video {
  width: 100%;
  margin: auto;
}
.video-frame {
  border-radius: 12px;
  box-shadow: 0 20px 55px #0003;
}
.video-caption {
  margin-top: 10px;
}
.motivation .motivation-verse {
  max-width: 620px;
  margin: 0;
  text-align: left;
}
.motivation-verse h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin: 0 0 18px;
}
.shloka {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 2;
}
.transliteration {
  margin-bottom: 18px;
}
.verse-meaning {
  border: 0;
  padding: 16px 0 0;
  margin: 0 auto;
  max-width: 620px;
  border-top: 1px solid var(--line);
}
.verse-meaning p {
  font-size: 15px;
}
.practice-connection {
  max-width: 610px;
  margin: 16px auto 0;
}
.verse-source {
  margin-top: 18px;
}
.feature-grid {
  display: flex;
  flex-direction: column;
  max-width: 680px;
  width: 100%;
  gap: 0;
}
.feature,
.feature.featured {
  position: relative;
  text-align: left;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
  padding: 25px 0 25px 66px;
}
.feature-symbol {
  position: absolute;
  left: 8px;
  top: 26px;
  font-size: 25px;
  margin: 0;
}
.feature h3 {
  font-family: inherit;
  font-size: 18px;
  font-weight: 550;
  letter-spacing: 0;
  margin: 0 0 9px;
}
.feature p:not(.eyebrow) {
  font-size: 14px;
  max-width: 550px;
  line-height: 1.75;
}
.download h2 {
  font-size: clamp(32px, 4vw, 50px);
}
.store-links {
  margin: 22px 0 0;
}
.social-section {
  border: 0;
  margin: 24px auto 0;
  padding: 0;
  max-width: 800px;
  width: 100%;
}
.social-section h3 {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 18px;
}
.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 30px;
}
.social-links > a {
  border: 0;
  border-radius: 0;
  background: none;
  padding: 0;
  gap: 4px;
  text-align: center;
}
.social-links > a:hover {
  background: none;
}
.social-name {
  font-size: 12px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.social-icon {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}
.social-handle {
  font-size: 10px;
}
.download footer {
  width: 100%;
  max-width: 960px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 26px;
  margin: 28px auto 0;
  padding: 20px 0 0;
}
.download .footer-brand {
  display: none;
}
.download footer nav {
  gap: 20px;
}
.download footer p {
  font-size: 10px;
}
.chapter-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.chapter-nav a {
  position: relative;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  text-decoration: none;
}
.chapter-nav a::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cdb8b260;
  transition:
    background 0.2s,
    transform 0.2s;
}
.chapter-nav a[aria-current]::after {
  background: var(--gold);
  transform: scale(1.5);
}
.chapter-nav span {
  position: absolute;
  right: 30px;
  white-space: nowrap;
  font-size: 10px;
  color: var(--cream);
  background: #230913;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
}
.chapter-nav a:hover span,
.chapter-nav a:focus-visible span {
  opacity: 1;
}
.scene.is-offscreen .breathe {
  animation-play-state: paused;
}
@media (max-width: 700px) {
  .site-header {
    height: 86px;
    padding: 12px 18px;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
  }
  .site-header .brand {
    font-size: 12px;
  }
  .site-header .brand-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
  }
  .site-header nav {
    font-size: 10px;
    gap: 20px;
  }
  .chapter-nav {
    right: 3px;
    gap: 5px;
  }
  .chapter-nav a {
    width: 20px;
    height: 24px;
  }
  .chapter-nav span {
    display: none;
  }
  #main > .scene {
    padding: 98px 28px 28px;
  }
  #main > .hero {
    padding: 105px 26px 32px;
  }
  .hero .portrait-stage {
    width: min(250px, 60vw, 32svh);
  }
  .hero h1 {
    font-size: clamp(23px, 5.5vw, 34px);
  }
  .hero-description {
    font-size: 13px;
    margin: 18px 0;
  }
  .primary-button {
    padding: 12px 22px;
    font-size: 13px;
    min-height: 48px;
  }
  .devotional-line {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .section-heading {
    margin-bottom: 18px;
  }
  .section-heading > p:last-child {
    font-size: 12px;
  }
  .motivation-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 480px;
  }
  .motivation-video {
    width: min(210px, 52vw);
  }
  .motivation .motivation-verse {
    max-width: none;
    text-align: center;
  }
  .motivation-verse h2 {
    margin-bottom: 18px;
  }
  .shloka {
    font-size: 18px;
  }
  .transliteration {
    font-size: 12px;
  }
  .verse-meaning p {
    font-size: 14px;
  }
  .practice-connection {
    font-size: 12px;
  }
  .verse-source {
    font-size: 9px;
  }
  .feature,
  .feature.featured {
    padding: 20px 0 20px 45px;
  }
  .feature-symbol {
    left: 0;
    top: 20px;
    font-size: 23px;
  }
  .feature h3 {
    font-size: 16px;
  }
  .feature p:not(.eyebrow) {
    font-size: 12px;
  }
  .store-links {
    gap: 8px;
    flex-direction: column;
  }
  .google-play-badge {
    flex-basis: auto;
    width: 214px;
  }
  .store-button {
    min-width: 184px;
    min-height: 56px;
    padding: 10px 15px;
  }
  .store-pending {
    font-size: 11px;
  }
  .social-section {
    margin-top: 18px;
  }
  .social-links {
    gap: 18px;
  }
  .social-handle {
    display: none;
  }
  .download footer {
    margin-top: 28px;
    gap: 12px;
  }
  .download footer nav {
    gap: 15px;
  }
  .download footer p {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
  .chapter-nav a::after {
    transition: none;
  }
}
