:root {
  color-scheme: light dark;
  --bg: #FAF6EE;
  --ink: #1F2A22;
  --muted: #546052;
  --sage: #5E7A5E;
  --gold: #B8925A;
  --line: #DEDFD3;
  --wash: #EDF0E6;
  --phone-bg: #FAF6EE;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.7 "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible { outline: 2px solid var(--sage); outline-offset: 6px; border-radius: 4px; }
img { display: block; max-width: 100%; }
svg { display: block; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: "Cormorant Garamond", Georgia, serif; font-style: normal; font-weight: 500; }
h1 { font-size: clamp(64px, 6.3vw, 92px); line-height: 1.02; letter-spacing: -.045em; }
h2 { font-size: clamp(44px, 4.3vw, 64px); line-height: 1.08; letter-spacing: -.035em; }
.wrap { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: 8px; left: 16px; padding: 10px 18px; background: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; justify-content: space-between; padding-block: 30px; position: relative; z-index: 2; }
.brand { display: inline-flex; gap: 13px; align-items: center; text-decoration: none; }
.brand img { border-radius: 13px; box-shadow: 0 2px 10px #1F2A2208; }
.brand span { font-size: 29px; font-weight: 600; letter-spacing: -.055em; }
.header-link { font-size: 16px; text-decoration: none; }
.header-link span { margin-left: 12px; color: var(--sage); }
.eyebrow { color: var(--sage); font-size: 16px; font-weight: 600; letter-spacing: .1em; margin-bottom: 22px; }
.hero { position: relative; isolation: isolate; }
.hero-landscape { position: absolute; z-index: -1; inset: -112px 0 -50px 35%; background: url('meadow.jpg') center 68% / cover; opacity: .7; mask-image: linear-gradient(to right, transparent, #000 45%), linear-gradient(to bottom, transparent, #000 24%, #000 65%, transparent 100%); mask-composite: intersect; }
.hero-layout { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 56px; padding-block: 48px 100px; }
.hero-copy { padding-bottom: 34px; }
.hero-description { max-width: 435px; margin-top: 27px; font-size: 19px; line-height: 1.75; color: var(--muted); }
.availability { display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 15px 21px; border: 1px solid var(--sage); border-radius: 100px; background: var(--ink); color: var(--bg); font-size: 16px; font-weight: 600; line-height: 1.5; }
.hero-copy .availability { margin-top: 34px; }
.availability svg { width: 21px; height: 25px; flex-shrink: 0; }
.availability-note { margin-top: 12px; font-size: 16px; color: var(--muted); }
.hero-device { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.device-note { color: var(--muted); font-size: 16px; }

/* The screenshot sits above the preview. Missing images leave the cream preview intact. */
.phone { width: 292px; max-width: 100%; padding: 6px; border-radius: 44px; background: #252C26; border: 1px solid #697066; box-shadow: 0 28px 48px -24px #1F2A2260, 0 4px 9px #1F2A2215, inset 0 0 0 2px #42493F; position: relative; }
.phone::after { content: ''; position: absolute; width: 28%; height: 19px; top: 15px; left: 36%; border-radius: 20px; background: #141713; z-index: 3; }
.phone-hero { width: 310px; }
.phone-screen { position: relative; isolation: isolate; width: 100%; aspect-ratio: 1320 / 2868; border-radius: 37px; overflow: hidden; background: var(--phone-bg); }
.screen-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; color: transparent; }
.screen-image[hidden] { display: none; }
.has-screenshot .screen-preview { visibility: hidden; }
.screen-preview { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 54px 20px 25px; text-align: center; color: #1F2A22; background: #FAF6EE; }
.preview-reflect::before, .preview-result::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('meadow.jpg') center 70% / cover; opacity: .5; mask-image: linear-gradient(#000, #000 10%, transparent 72%); }
.preview-reflect, .preview-result { isolation: isolate; background: #FAF6EE; }
.preview-result::before { background-image: url('clouds.jpg'); opacity: .48; }
.preview-label { font-size: 16px; font-weight: 600; }
.preview-center { margin-block: auto; width: 100%; }
.preview-center h3, .preview-center h4 { font-size: 36px; line-height: 1.12; letter-spacing: -.025em; margin-top: 24px; }
.preview-center p { color: #546052; font-size: 16px; line-height: 1.8; margin-top: 18px; }
.sun-mark { position: relative; display: block; width: 48px; height: 48px; border: 1px solid var(--gold); border-radius: 50%; margin: 0 auto; }
.sun-mark::after { content: ''; position: absolute; left: -10px; right: -10px; top: 50%; height: 24px; border-top: 1px solid var(--gold); background: #FAF6EEB8; }
.preview-input { width: 100%; border: 1px solid #DCDDD1; border-radius: 16px; padding: 17px 10px; font-size: 16px; line-height: 1.6; background: #FFFFFF70; }
.voice-mark { display: block; margin-top: 12px; color: #5E7A5E; letter-spacing: 3px; }
.preview-bottom { margin-top: 24px; font-size: 16px; color: #546052; }
.preview-rule { width: 45px; height: 1px; background: #B8925A; margin: 28px auto; }
.breath-circle { width: 152px; height: 152px; margin: 0 auto 38px; border: 1px solid #82967A50; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 15px #82967A0A, 0 0 0 30px #82967A06; }
.breath-circle span { width: 116px; height: 116px; border-radius: 50%; background: #E4EADC; border: 1px solid #82967A30; }
.conversation-mark, .book-mark { display: block; width: 48px; height: 48px; margin: 0 auto; color: #5E7A5E; }
.habit-dots { display: flex; justify-content: center; gap: 9px; margin-top: 34px; }
.habit-dots span { width: 16px; height: 16px; border-radius: 50%; border: 1px solid #9BAA93; }
.habit-dots span:nth-child(-n+4) { background: #7D957A; }
.together-mark { display: flex; justify-content: center; }
.together-mark span { height: 48px; width: 48px; border-radius: 50%; border: 1px solid #7D957A; margin-inline: -8px; }

.how-section { padding-block: 105px 112px; }
.section-heading { text-align: center; max-width: 800px; margin: 0 auto 66px; }
.section-heading > p:last-child { color: var(--muted); max-width: 600px; margin: 23px auto 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 55px; }
.step { display: flex; flex-direction: column; align-items: center; }
.step-copy { width: 100%; border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 36px; }
.step-number { font-size: 16px; color: var(--sage); letter-spacing: .1em; }
.step h3 { font-size: 37px; line-height: 1.12; margin-top: 16px; }
.step-copy p { margin-top: 17px; color: var(--muted); font-size: 18px; }
.phone-step { width: 260px; margin-top: auto; }
.phone-step .screen-preview { padding-inline: 14px; }
.phone-step .preview-center h4 { font-size: 32px; }
.scripture-note { display: flex; align-items: center; justify-content: center; gap: 16px; text-align: center; color: var(--muted); font-size: 16px; margin-top: 55px; }
.small-rule { width: 28px; height: 1px; background: var(--gold); flex-shrink: 0; }

.feature { padding-block: 92px; }
.feature-guide, .feature-together { background: var(--wash); }
.feature-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 120px; }
.feature-copy { max-width: 460px; }
.feature-copy > p:not(.eyebrow) { margin-top: 27px; color: var(--muted); font-size: 19px; }
.feature-visual { display: flex; justify-content: center; position: relative; }
.feature-visual::before { content: ''; position: absolute; inset: 13% -15px; border: 1px solid var(--line); border-radius: 50% 50% 44% 44%; }
.feature-reverse .feature-copy { grid-column: 2; grid-row: 1; }
.feature-reverse .feature-visual { grid-column: 1; grid-row: 1; }
.closing { min-height: 520px; position: relative; isolation: isolate; display: grid; align-items: center; padding: 90px 0 110px; text-align: center; }
.closing-landscape { position: absolute; inset: 0; z-index: -1; background: url('meadow.jpg') center 64% / cover; opacity: .48; mask-image: linear-gradient(transparent, #000 35%, #000 85%, transparent); }
.closing .sun-mark { margin-bottom: 26px; }
.closing .sun-mark::after { background: var(--bg); }
.closing .availability { margin-top: 32px; }
.site-footer { padding-block: 48px 32px; }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-top { border-bottom: 1px solid var(--line); padding-bottom: 28px; }
.footer-top p { font-size: 16px; color: var(--muted); }
.footer-bottom { padding-top: 22px; font-size: 16px; color: var(--muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-bottom a:hover, .header-link:hover { color: var(--sage); text-decoration: underline; }
.reveal { transition: opacity .75s ease, transform .75s ease; }
.reveal-pending { opacity: 0; transform: translateY(20px); }

@media (prefers-color-scheme: dark) {
  :root { --bg: #171C18; --ink: #F1EDE4; --muted: #BCC3B8; --sage: #A6BDA0; --line: #394238; --wash: #202A22; }
  .hero-landscape { opacity: .27; }
  .closing-landscape { opacity: .24; }
  .phone { box-shadow: 0 28px 48px -24px #0009, 0 4px 9px #0003, inset 0 0 0 2px #42493F; }
}

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero-layout { gap: 28px; }
  h1 { font-size: 70px; }
  .hero-copy .availability { padding-inline: 15px; }
  .steps { gap: 28px; }
  .feature-layout { gap: 60px; }
  .step h3 { font-size: 33px; }
  .phone-step .preview-input { padding-inline: 6px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { padding-block: 20px; }
  .brand img { width: 44px; height: 44px; border-radius: 11px; }
  .brand span { font-size: 27px; }
  .header-link { font-size: 16px; max-width: 150px; text-align: right; line-height: 1.5; }
  .header-link span { display: none; }
  .hero-layout { grid-template-columns: 1fr; gap: 44px; padding-block: 44px 40px; }
  .hero-copy { padding: 0; text-align: center; }
  .eyebrow { font-size: 16px; letter-spacing: .07em; margin-bottom: 19px; }
  h1 { font-size: clamp(56px, 14.5vw, 82px); }
  h2 { font-size: clamp(43px, 10.8vw, 58px); }
  .hero-description { font-size: 18px; max-width: 400px; margin: 23px auto 0; }
  .hero-copy .availability { margin-top: 28px; padding: 15px 17px; }
  .hero-landscape { inset: 230px 0 -20px; opacity: .62; mask-image: linear-gradient(transparent, #000 28%, #000 65%, transparent); }
  .phone-hero { width: 286px; }
  .hero-device { gap: 22px; }
  .how-section { padding-block: 76px; }
  .section-heading { margin-bottom: 44px; }
  .steps { grid-template-columns: 1fr; gap: 56px; }
  .step-copy { max-width: 430px; text-align: center; padding-top: 24px; margin-bottom: 30px; }
  .step h3 { font-size: 37px; }
  .step-copy p { max-width: 340px; margin-inline: auto; }
  .phone-step { width: 260px; }
  .scripture-note { gap: 10px; margin-top: 38px; }
  .small-rule { width: 18px; }
  .feature { padding-block: 65px; }
  .feature-layout { grid-template-columns: 1fr; gap: 38px; }
  .feature-copy { max-width: 460px; margin-inline: auto; width: 100%; }
  .feature-copy > p:not(.eyebrow) { font-size: 18px; margin-top: 22px; }
  .feature-reverse .feature-copy, .feature-reverse .feature-visual { grid-column: auto; grid-row: auto; }
  .feature-visual { width: min(390px, 100%); margin-inline: auto; }
  .feature-visual::before { inset-inline: 0; }
  .feature-visual .phone { width: 278px; }
  .closing { min-height: 460px; padding-block: 75px; }
  .site-footer { padding-block: 32px 24px; }
  .footer-top { gap: 18px; }
  .footer-top p { max-width: 160px; text-align: right; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-bottom nav { gap: 6px 24px; }
}

@media (max-width: 360px) {
  .availability { font-size: 16px; padding-inline: 12px; gap: 6px; }
  .hero-copy .availability { padding-inline: 10px; }
  .availability svg { width: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; transform: none; opacity: 1; }
}
