:root {
  color-scheme: light;
  --paper: #faf4e9;
  --ink: #123724;
  --copy: #273d31;
  --leaf: #547534;
  --line: #e6ddcb;
  --green: #215539;
  --serif: "Songti SC", "Songti TC", "Noto Serif CJK SC", "Noto Serif CJK TC", Georgia, serif;
  --sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, ul { margin: 0; }
body { min-width: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
select, summary { font: inherit; color: inherit; }
summary { cursor: pointer; }
a:focus-visible, summary:focus-visible, select:focus-visible {
  outline: 2px solid #3a7358;
  outline-offset: 3px;
}
ul { padding: 0; list-style: none; }
[id] { scroll-margin-top: 1rem; }
.frame { width: min(100% - 5rem, 1050px); margin-inline: auto; }
.icon {
  display: inline-block;
  flex: none;
  width: 1.3rem;
  height: 1.3rem;
  background-color: currentColor;
  mask: var(--icon) center / contain no-repeat;
}
.skip {
  position: absolute;
  top: .5rem;
  left: .5rem;
  transform: translateY(-160%);
  z-index: 10;
  background: white;
  padding: .7rem;
}
.skip:focus { transform: none; }

.mast {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.05rem;
  min-height: 59px;
  z-index: 2;
}
.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .45rem;
  font-family: var(--serif);
}
.brand-mark { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; overflow: hidden; }
.brand img { width: 100%; transform: scale(1.36); mix-blend-mode: multiply; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.32rem; line-height: 1.05; }
.brand small { text-align: center; font-size: .73rem; font-weight: 700; letter-spacing: .12em; }
.desktop-nav {
  display: flex;
  gap: clamp(.6rem, 2.6vw, 2.55rem);
  align-items: center;
  white-space: nowrap;
}
.desktop-nav a { padding-block: .48rem; font: 700 .94rem/1.25 var(--serif); }
.desktop-nav a:hover, .desktop-nav a[href="#top"] { text-decoration: underline; text-underline-offset: .45rem; }
.mast-actions { display: flex; flex: none; align-items: center; gap: .65rem; }
.mast-actions select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: .45rem;
  padding: .15rem .4rem;
  background: #f9f1e0;
  font-size: .85rem;
}
.mast-cta {
  flex: none;
  border-radius: 2rem;
  color: white;
  background: var(--green);
  padding: .55rem 1.25rem;
  font: 700 .93rem/1.2 var(--serif);
}
.mast-cta:hover { background: #163f2a; }
.mobile-nav, .hero-return { display: none; }

.hero {
  background: #f7efe1 url("hero-panorama.webp") center 48% / cover no-repeat;
}
.hero-inner { min-height: clamp(285px, 25.5vw, 390px); display: grid; align-items: center; }
.hero-content { width: min(100%, 580px); padding: 1.15rem 0 1.2rem clamp(0rem, 3.8vw, 3.75rem); }
h1, h2, .hero-lines { font-family: var(--serif); }
h1 { font-size: clamp(2rem, 3.25vw, 3.35rem); font-weight: 750; line-height: 1.13; }
.hero-lines {
  margin-top: .6rem;
  color: #172c20;
  font-size: clamp(1.35rem, 2.35vw, 2.15rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .045em;
}
.hero-lines span { display: block; }
.lead {
  max-width: 25rem;
  margin-block: .65rem 0;
  color: var(--copy);
  font-size: .91rem;
  font-weight: 530;
  line-height: 1.53;
}
:lang(en) .hero-lines { letter-spacing: 0; }
:lang(en) .hero-content { width: min(100%, 550px); }

.platforms {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1.04fr) minmax(0, 1fr);
  gap: .75rem;
}
.platform {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .55rem;
  min-height: 3.05rem;
  padding: .28rem .4rem;
  border: 1px solid #8ca08b;
  border-radius: .78rem;
  color: white;
  background: #235b3b;
}
.platform-ios { background: #153d28; }
.platform-android { color: #5a5947; background: #f5eddfd9; border-color: #b9b7a0; }
.platform .icon { width: 1.72rem; height: 1.72rem; }
.platform-android .icon { color: #777660; }
.platform-copy { min-width: 0; text-align: center; }
.platform strong, .platform small { display: block; }
.platform strong { font-size: .87rem; line-height: 1.16; }
.platform small { font-size: .72rem; line-height: 1.3; }
a.platform:hover { background: #19482d; }
a.platform-ios:hover { background: #102f1d; }
a.platform-android:hover { background: #ecebdc; }

.beliefs {
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid #eee3d3;
}
.beliefs::before, .features::before, .download::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("mountain-wash.webp") center 65% / min(100%, 1450px) auto no-repeat;
  mix-blend-mode: multiply;
  opacity: .66;
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 84%, transparent);
}
.beliefs-inner {
  display: grid;
  grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr);
  padding-block: 1.25rem 1.12rem;
}
.belief > summary { display: none; }
.philosophy {
  position: relative;
  padding: 0 1.5rem 0 .4rem;
  border-inline-end: 1px solid var(--line);
  isolation: isolate;
}
.philosophy::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1rem;
  z-index: -1;
  width: min(35%, 11rem);
  height: 9rem;
  background: url("lotus-pond.webp") 72% 50% / auto 104% no-repeat;
  mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse at 62% 58%, black 33%, transparent 76%);
}
.about { padding-inline-start: 1.55rem; }
.belief h2, .features h2 {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: clamp(1.26rem, 2vw, 1.7rem);
  font-weight: 750;
  line-height: 1.23;
}
.belief h2 .icon, .features h2 .icon { color: var(--leaf); width: 2.55rem; height: 2.55rem; }
.belief-copy > p {
  padding-inline-start: 3.2rem;
  color: var(--copy);
  font-size: .9rem;
  line-height: 1.58;
}
.philosophy .belief-copy > p { max-width: 23rem; }
.vows { display: grid; gap: .15rem; margin: .65rem 0 .1rem 3.2rem; }
.vows li { display: flex; gap: .47rem; align-items: flex-start; font-size: .86rem; line-height: 1.46; }
.vows .icon { color: var(--leaf); width: 1.13rem; height: 1.13rem; margin-top: .06rem; }
.benefits-title {
  display: table;
  margin: .65rem auto .25rem;
  padding: .18rem .9rem;
  border-radius: 2rem;
  background: #eeebd5;
  font: 750 .94rem/1.22 var(--serif);
}
.benefits { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .35rem; }
.benefits li { text-align: center; overflow-wrap: anywhere; }
.benefits .icon { color: var(--leaf); width: 1.95rem; height: 1.95rem; }
.benefits h3 { font: 750 .89rem/1.25 var(--serif); }
.benefits p { margin-top: .12rem; color: var(--copy); font-size: .71rem; line-height: 1.33; }

.features { position: relative; isolation: isolate; }
.features::before {
  background-position: center 76%;
  opacity: .83;
}
.features-inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.84fr);
  align-items: center;
  gap: 1.9rem;
}
.features-content { padding-block: 1.2rem 1.75rem; }
.features h2 { margin-bottom: .7rem; }
.features h2 .icon { width: 2.05rem; height: 2.05rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .55rem; }
.feature-grid :is(a, .feature-preview) {
  display: flex;
  align-items: center;
  gap: .6rem;
  height: 100%;
  min-height: 5.3rem;
  padding: .55rem;
  border: 1px solid #eae1d2;
  border-radius: .9rem;
  background: #f9f2e5e8;
  box-shadow: 0 1px 2px #5845240d;
}
.feature-grid a:hover { background: #eee8d5; border-color: #ced4b6; }
.feature-grid .icon { width: 2.1rem; height: 2.1rem; color: var(--leaf); }
.feature-grid h3 { font: 750 1rem/1.3 var(--serif); }
.feature-grid p { margin-top: .15rem; color: var(--copy); font-size: .72rem; line-height: 1.32; }
.feature-divination { grid-column: 1 / -1; }
.feature-preview small { display: block; margin-top: .35rem; color: var(--leaf); font-size: .72rem; font-weight: 650; }
.phones { position: relative; height: clamp(240px, 24vw, 330px); align-self: end; }
.phone {
  position: absolute;
  bottom: 6%;
  width: auto;
  height: 82%;
  border: 3px solid #252b24;
  border-radius: clamp(.8rem, 2vw, 1.65rem);
  background: var(--paper);
  box-shadow: 0 0 0 1px #aaa99d, 0 6px 12px #2c3a2d31;
}
.phone-movement { left: 9%; transform: rotate(-5deg); }
.phone-scripture { right: 11%; transform: rotate(5deg); }
.phone-today {
  left: 33%;
  bottom: 0;
  height: 96%;
  z-index: 1;
  box-shadow: 0 0 0 1px #aaa99d, 0 8px 16px #2c3a2d42;
}

.download {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding-block: .8rem 1.05rem;
}
.download::before {
  background-position: center 70%;
  opacity: 1;
  mask-image: linear-gradient(to bottom, transparent, black 40%);
}
.download h2 { font-size: clamp(1.55rem, 2.5vw, 2.15rem); line-height: 1.2; }
.download p { margin-top: .28rem; color: var(--copy); font-size: .89rem; }
.download .platforms { width: min(100%, 30rem); margin: .7rem auto 0; grid-template-columns: repeat(2,minmax(0,1fr)); }
.faq { padding-block: .9rem 1.2rem; max-width: 660px; }
.faq h2 { margin-bottom: .35rem; font-size: 1.35rem; }
.faq details { border-bottom: 1px solid var(--line); color: var(--copy); }
.faq summary { padding-block: .65rem; font-size: .91rem; font-weight: 650; }
.faq p { padding: 0 0 .65rem 1.25rem; font-size: .87rem; line-height: 1.55; }
.faq p a { text-decoration: underline; text-underline-offset: .16em; }
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  padding-block: .55rem .85rem;
  border-top: 1px solid var(--line);
  color: var(--copy);
  font-size: .83rem;
}
.footer-tools { display: flex; align-items: center; gap: clamp(.45rem, 2vw, 1.2rem); }
.footer a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.footer a:hover { text-decoration: underline; }

@media (max-width: 1050px) {
  .frame { width: calc(100% - 3.2rem); }
  .mast, .mast-actions { gap: .6rem; }
  .desktop-nav { gap: .6rem; }
  .desktop-nav a { font-size: .9rem; }
  :lang(en) .desktop-nav a, :lang(en) .mast-cta { font-size: .84rem; }
  .mast-cta { padding-inline: .75rem; }
  .feature-grid :is(a, .feature-preview) { gap: .4rem; padding-inline: .45rem; }
  .feature-grid .icon { width: 1.8rem; height: 1.8rem; }
}
@media (max-width: 820px) {
  .frame { width: min(100% - 2rem, 540px); }
  .mast { min-height: 60px; gap: .4rem; }
  .mast-actions { gap: .25rem; }
  .brand-mark { width: 2.5rem; height: 2.5rem; }
  .brand strong { font-size: 1.19rem; }
  .brand small { font-size: .64rem; }
  .desktop-nav, .mast-actions .mast-cta, .phones { display: none; }
  .mobile-nav { display: block; }
  .hero-return { display: inline-flex; align-items: center; min-height: 44px; margin-top: .6rem; }
  .mobile-nav { flex: none; }
  .mobile-nav summary {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    list-style: none;
  }
  .mobile-nav summary::-webkit-details-marker, .belief summary::-webkit-details-marker { display: none; }
  .mobile-nav summary .icon { width: 1.45rem; height: 1.45rem; }
  .mobile-nav nav {
    position: absolute;
    inset: 100% 0 auto auto;
    display: grid;
    min-width: min(14rem, 100%);
    padding: .3rem;
    border-radius: .65rem;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 .4rem 1.2rem #342a161f;
  }
  .mobile-nav a { padding: .65rem .8rem; min-height: 44px; }
  .mobile-nav a:hover, .mobile-nav a:focus-visible { background: #efe9d6; }

  .hero { position: relative; isolation: isolate; background: none; }
  .hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: min(100%, clamp(235px, 65vw, 315px));
    background: url("hero-panorama.webp") 58% top / auto 100% no-repeat;
    mask-image: linear-gradient(to bottom, black 78%, transparent);
  }
  .hero-inner { min-height: 0; display: block; }
  .hero-content, :lang(en) .hero-content { width: 100%; padding: .85rem 0 1.08rem; }
  h1 { font-size: clamp(1.58rem, 7.15vw, 2.28rem); }
  .hero-lines { max-width: 63%; margin-top: .6rem; font-size: clamp(1rem, 4.65vw, 1.58rem); line-height: 1.4; letter-spacing: .02em; }
  .lead { max-width: 64%; min-height: 2.8em; margin-block: 2.05rem 0; font-size: .87rem; line-height: 1.45; }
  :lang(en) .lead { margin-top: .9rem; }
  .platforms { grid-template-columns: 1fr; gap: .48rem; }
  .platform { min-height: 45px; border-radius: 2rem; gap: .5rem; }
  .platform-copy { display: flex; align-items: center; justify-content: center; gap: .5rem; }
  .platform-ios { background: #fbf6ec; color: #183d2a; border-color: #829b89; }
  a.platform-ios:hover { background: #ecebdc; }
  .platform .icon { width: 1.35rem; height: 1.35rem; }
  .platform small { font-size: .72rem; }
  .platform-android { background: #f6efe2; }
  .platform-android .platform-copy { display: block; }

  .beliefs { border-bottom: 0; }
  .beliefs::before { display: none; }
  .beliefs-inner { display: grid; grid-template-columns: 1fr; gap: .55rem; padding-block: .45rem .75rem; }
  .belief { padding: 0; border: 1px solid var(--line); border-radius: .84rem; background: #fbf6ec; }
  .philosophy::before, .belief h2 { display: none; }
  .belief > summary {
    display: flex;
    align-items: center;
    gap: .72rem;
    min-height: 3.95rem;
    padding: .55rem .75rem;
    list-style: none;
    font: 750 clamp(1.03rem, 5vw, 1.27rem)/1.3 var(--serif);
  }
  .about-summary-title span { display: block; }
  .belief summary .icon { color: var(--leaf); width: 2rem; height: 2rem; }
  .belief summary .icon:last-child { margin-inline-start: auto; width: 1.1rem; height: 1.1rem; }
  .belief[open] summary .icon:last-child { transform: rotate(180deg); }
  .belief-copy { padding: 0 .85rem .8rem; }
  .belief-copy > p { padding: 0; font-size: .86rem; }
  .vows { margin: .5rem 0 0; }
  .vows li { font-size: .84rem; }
  .benefits { gap: .3rem; }
  .benefits .icon { width: 1.48rem; height: 1.48rem; }
  .benefits h3 { font-size: .74rem; }
  .benefits p { font-size: .66rem; }

  .features::before { display: none; }
  .features-inner { display: block; }
  .features-content { padding-block: .55rem .85rem; }
  .features h2 { gap: .45rem; font-size: clamp(1.1rem, 4.7vw, 1.42rem); margin-bottom: .62rem; }
  .features h2 .icon { width: 1.58rem; height: 1.58rem; }
  .feature-grid { gap: .43rem; }
  .feature-grid a {
    flex-direction: column;
    justify-content: center;
    gap: .4rem;
    min-height: clamp(5.15rem, 25.5vw, 6.45rem);
    padding: .4rem .22rem;
    border-radius: .7rem;
    text-align: center;
  }
  .feature-grid .icon { width: 1.9rem; height: 1.9rem; }
  .feature-grid h3 { font-size: clamp(.8rem, 3.6vw, .97rem); overflow-wrap: anywhere; }
  .feature-grid p { display: none; }
  .feature-grid .feature-preview { min-height: 0; gap: .65rem; padding: .65rem; border-radius: .7rem; }
  .feature-grid .feature-preview p { display: block; }

  .download { padding-block: .85rem 1rem; }
  .download::before { display: none; }
  .download .platforms { gap: .45rem; }
  .faq { padding-top: .6rem; }
  .footer { flex-wrap: wrap; font-size: .8rem; }
}
@media (max-width: 360px) {
  .frame { width: calc(100% - 1.5rem); }
  .hero::before { background-position: 56% top; }
  .hero-lines { max-width: 63%; }
  .lead { max-width: 66%; }
  .platform-copy { gap: .33rem; }
}
