:root {
  --ink: #2f1f1b;
  --muted: #7f8494;
  --line: rgba(122, 93, 196, 0.16);
  --white: #ffffff;
  --violet: #8958f4;
  --violet-dark: #6d45d7;
  --violet-soft: #f1eaff;
  --gold: #ffb72f;
  --gold-soft: #fff3ca;
  --green: #37b77a;
  --green-soft: #e9f8ef;
  --blue-soft: #e8f4ff;
  --shadow: 0 22px 60px rgba(69, 45, 117, 0.16);
  --shadow-soft: 0 12px 32px rgba(66, 48, 97, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #fffaf1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.96), #ffffff 42%),
    #ffffff;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 224, 122, 0.28), transparent 26%),
    radial-gradient(circle at 82% 8%, rgba(137, 88, 244, 0.14), transparent 22%),
    linear-gradient(180deg, #fff7dc 0%, #fff 50%, #fbf9ff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 42px rgba(72, 58, 92, 0.12);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    top 180ms ease;
}

.site-header.is-scrolled {
  top: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 44px rgba(63, 48, 92, 0.16);
}

.brand,
.site-nav,
.nav-cta,
.button,
.store-button {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: max-content;
  font-size: 1.05rem;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 900;
  background: linear-gradient(140deg, var(--gold), #ff8a4a 58%, var(--violet));
  box-shadow: 0 10px 20px rgba(255, 141, 75, 0.28);
}

.site-nav {
  gap: 26px;
  color: #625871;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--violet-dark);
}

.nav-cta {
  min-width: max-content;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, #9a62ff, #7048de);
  box-shadow: 0 12px 22px rgba(111, 72, 222, 0.24);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(32px, 5vw, 78px);
  overflow: hidden;
  padding: 150px max(24px, calc((100vw - 1120px) / 2)) 92px;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 249, 230, 0.97) 0%, rgba(255, 249, 230, 0.82) 38%, rgba(255, 255, 255, 0.25) 100%),
    url("./assets/bible-screen.png") center top / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: -18vw;
  bottom: -36vw;
  z-index: -1;
  width: 84vw;
  height: 50vw;
  min-height: 380px;
  content: "";
  border-radius: 50% 50% 0 0;
  background:
    linear-gradient(180deg, rgba(211, 244, 188, 0.74), rgba(162, 219, 160, 0.74)),
    #caedc3;
  box-shadow: inset 0 18px 48px rgba(255, 255, 255, 0.48);
}

.hero-copy {
  width: min(620px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--violet-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.4rem, 8.4vw, 8.6rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-lede {
  width: min(560px, 100%);
  margin: 26px 0 0;
  color: #51485c;
  font-size: clamp(1.12rem, 1.6vw, 1.36rem);
  font-weight: 650;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 54px;
  justify-content: center;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 900;
}

.button-primary {
  min-width: 150px;
  padding: 0 28px;
  color: #ffffff;
  background: linear-gradient(135deg, #9c63ff, #734be3);
  box-shadow: 0 18px 32px rgba(113, 73, 223, 0.28);
}

.button-soft {
  min-width: 142px;
  padding: 0 26px;
  color: var(--violet-dark);
  border: 1px solid rgba(137, 88, 244, 0.18);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
}

.hero-stats div {
  min-width: 118px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
}

.hero-stats dt,
.hero-stats dd {
  margin: 0;
}

.hero-stats dt {
  color: var(--violet-dark);
  font-size: 1.48rem;
  font-weight: 950;
}

.hero-stats dd {
  margin-top: 3px;
  color: #7a7584;
  font-size: 0.82rem;
  font-weight: 750;
}

.hero-showcase {
  position: relative;
  height: min(640px, 66vw);
  min-height: 520px;
}

.phone {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.9);
  border-radius: 34px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-main {
  right: 18%;
  bottom: 0;
  z-index: 3;
  width: min(315px, 62vw);
  aspect-ratio: 390 / 997;
}

.phone-back-left,
.phone-back-right {
  width: min(210px, 38vw);
  aspect-ratio: 390 / 844;
  opacity: 0.96;
}

.phone-back-left {
  left: 0;
  top: 74px;
  z-index: 1;
  transform: rotate(-7deg);
}

.phone-back-right {
  right: 0;
  top: 42px;
  z-index: 2;
  transform: rotate(6deg);
}

.section {
  padding: 92px max(24px, calc((100vw - 1120px) / 2));
}

.section-heading {
  width: min(700px, 100%);
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2,
.feature-copy h2,
.download-copy h2 {
  margin: 0;
  font-size: clamp(2.05rem, 4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.feature-copy p,
.download-copy p {
  margin: 18px 0 0;
  color: #686273;
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.75;
}

.intro-section {
  background: linear-gradient(180deg, #ffffff, #fffaf0);
}

.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rhythm-card {
  min-height: 246px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.rhythm-card-gold {
  background: linear-gradient(145deg, #fff2bd, #ffffff 72%);
}

.rhythm-card-violet {
  background: linear-gradient(145deg, #efe5ff, #ffffff 72%);
}

.rhythm-card-green {
  background: linear-gradient(145deg, #e4f9ed, #ffffff 72%);
}

.card-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 950;
  background: linear-gradient(135deg, var(--violet), var(--gold));
  box-shadow: 0 12px 24px rgba(123, 83, 220, 0.2);
}

.rhythm-card h3,
.screen-card h3 {
  margin: 22px 0 10px;
  font-size: 1.28rem;
  letter-spacing: 0;
}

.rhythm-card p,
.screen-card p {
  margin: 0;
  color: #6f6879;
  font-weight: 600;
  line-height: 1.7;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  background:
    linear-gradient(180deg, rgba(250, 246, 255, 0.82), rgba(255, 255, 255, 0.96)),
    #faf6ff;
}

.feature-copy {
  width: min(630px, 100%);
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 16px 18px 16px 46px;
  border: 1px solid rgba(137, 88, 244, 0.12);
  border-radius: 20px;
  color: #584f62;
  font-weight: 700;
  line-height: 1.58;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 26px rgba(78, 61, 111, 0.08);
}

.feature-list li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  content: "+";
  font-size: 0.74rem;
  font-weight: 900;
  background: var(--green);
}

.journey-panel {
  min-height: 390px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 32px;
  background:
    linear-gradient(160deg, rgba(235, 250, 239, 0.95), rgba(255, 251, 223, 0.92)),
    #f0f9e9;
  box-shadow: var(--shadow);
}

.journey-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.journey-top span {
  color: #18a771;
  font-size: 0.78rem;
  font-weight: 950;
}

.journey-top strong {
  padding: 8px 12px;
  border-radius: 999px;
  color: #7d56df;
  background: rgba(255, 255, 255, 0.72);
}

.journey-panel blockquote {
  position: relative;
  margin: 70px 0 64px;
  color: #315448;
  font-size: clamp(1.75rem, 3vw, 2.72rem);
  font-weight: 900;
  line-height: 1.2;
}

.journey-panel blockquote::before {
  position: absolute;
  top: -46px;
  left: 0;
  color: #3fca91;
  content: "\"";
  font-size: 4.2rem;
  line-height: 1;
}

.journey-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.journey-bottom span {
  color: #758074;
  font-weight: 750;
}

.journey-bottom a {
  min-width: max-content;
  padding: 14px 20px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  background: #25a96f;
  box-shadow: 0 14px 28px rgba(37, 169, 111, 0.22);
}

.screens-section {
  background: #ffffff;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.screen-card {
  overflow: hidden;
  border: 1px solid rgba(137, 88, 244, 0.12);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.screen-card img {
  width: 100%;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top center;
  background: #fbf9ff;
}

.screen-card:first-child img {
  aspect-ratio: 390 / 997;
}

.screen-card div {
  min-height: 158px;
  padding: 22px;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  margin: 0 max(16px, calc((100vw - 1160px) / 2)) 24px;
  padding: 58px clamp(24px, 5vw, 60px);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 244, 197, 0.98), rgba(236, 227, 255, 0.96) 56%, rgba(230, 248, 238, 0.98)),
    #fff2c6;
  box-shadow: var(--shadow);
}

.download-copy {
  width: min(680px, 100%);
}

.download-actions {
  display: grid;
  gap: 12px;
}

.store-button {
  width: 210px;
  min-height: 64px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 18px;
  color: #ffffff;
  background: #2e233a;
  box-shadow: 0 16px 30px rgba(46, 35, 58, 0.16);
}

.store-button-light {
  color: #392a45;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.72);
}

.store-button span {
  font-size: 0.76rem;
  font-weight: 700;
  opacity: 0.74;
}

.store-button strong {
  font-size: 1.15rem;
  line-height: 1.1;
}

.site-footer {
  display: flex;
  width: min(1120px, calc(100% - 48px));
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  color: #7b7484;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 132px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 249, 230, 0.98) 0%, rgba(255, 249, 230, 0.86) 46%, rgba(255, 255, 255, 0.56) 100%),
      url("./assets/bible-screen.png") center top / cover no-repeat;
  }

  .hero-showcase {
    height: 620px;
    min-height: 0;
  }

  .phone-main {
    right: 50%;
    width: min(315px, 72vw);
    transform: translateX(50%);
  }

  .phone-back-left {
    left: 4%;
  }

  .phone-back-right {
    right: 4%;
  }

  .rhythm-grid,
  .screen-grid,
  .feature-band,
  .download-section {
    grid-template-columns: 1fr;
  }

  .download-actions {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 56px;
    padding: 8px 9px 8px 12px;
  }

  .brand {
    font-size: 0.96rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 11px;
  }

  .nav-cta {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 112px 18px 66px;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 19vw, 5.4rem);
  }

  .hero-lede {
    font-size: 1.02rem;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-stats div {
    min-width: 0;
    padding: 12px 10px;
    border-radius: 18px;
  }

  .hero-stats dt {
    font-size: 1.18rem;
  }

  .hero-stats dd {
    font-size: 0.72rem;
  }

  .hero-showcase {
    height: 520px;
  }

  .phone {
    border-width: 7px;
    border-radius: 28px;
  }

  .phone-back-left,
  .phone-back-right {
    width: min(150px, 38vw);
    top: 30px;
  }

  .phone-main {
    width: min(250px, 72vw);
  }

  .section {
    padding: 66px 18px;
  }

  .section-heading {
    text-align: left;
  }

  .rhythm-card {
    min-height: 0;
    padding: 24px;
    border-radius: 24px;
  }

  .feature-list li {
    padding-right: 14px;
  }

  .journey-panel {
    min-height: 0;
    padding: 24px;
    border-radius: 26px;
  }

  .journey-top,
  .journey-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .journey-panel blockquote {
    margin: 64px 0 36px;
  }

  .screen-grid {
    gap: 16px;
  }

  .screen-card {
    border-radius: 24px;
  }

  .download-section {
    margin: 0 12px 18px;
    padding: 40px 22px;
    border-radius: 28px;
  }

  .store-button {
    width: 100%;
  }

  .site-footer {
    width: calc(100% - 36px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 22px 0;
  }
}
