/* Biblarm marketing site.
   Colors are the light-mode values from Biblarm/Design/Theme.swift (Palette),
   fonts match BFont: Cormorant Garamond for Scripture and headings, Instrument Sans for the interface. */

:root {
  --sand: #F5EEE3;
  --parchment: #FBF7F0;
  --linen: #E7DBC9;
  --oat: #EBDFCC;
  --linen-deep: #E2D2BA;
  --stone: #D8CAB6;
  --candle: #C89B5E;
  --clay: #8A5A3B;
  --walnut: #6E4630;
  --walnut-dark: #4A2E1F;
  --umber: #2B1E16;
  --cream: #F5EEE3;
  --ink: #33241A;
  --muted: #7A6352;
  --muted-dark: #5A4334;
  --on-dark-muted: #C9B8A3;
  --on-dark-soft: #D9CBB8;
  --faint: #8A7464;

  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--walnut); }
a:hover { color: var(--walnut-dark); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--walnut); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--serif); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--sand) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.is-scrolled { border-bottom-color: var(--linen); box-shadow: 0 6px 24px -18px rgba(43, 30, 22, .5); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 30px; height: 30px; color: var(--walnut); }
.brand__name { font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: .02em; line-height: 1; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--muted-dark); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; border-radius: 22px; cursor: pointer; }
.nav__toggle span { display: block; width: 20px; height: 1.6px; background: var(--ink); margin: 5px auto; transition: transform .3s var(--ease), opacity .2s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--parchment); border-bottom: 1px solid var(--linen);
    padding: 8px var(--gutter) 16px;
    clip-path: inset(0 0 100% 0); transition: clip-path .35s var(--ease);
  }
  .nav__links a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--linen); }
  .nav.is-open .nav__links { clip-path: inset(0 0 0 0); }
  .nav .nav__cta { display: none; }
}

/* ---------- Buttons and badges ---------- */
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 20px 0 16px; border-radius: 14px;
  background: var(--umber); color: var(--cream); text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
  box-shadow: 0 10px 24px -14px rgba(43, 30, 22, .7);
}
.store-badge:hover { color: var(--cream); background: #000; transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(43, 30, 22, .8); }
.store-badge svg { width: 24px; height: 24px; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.05; }
.store-badge__text small { font-size: 11px; letter-spacing: .02em; opacity: .85; }
.store-badge__text strong { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.store-badge--sm { height: 40px; padding: 0 14px 0 12px; border-radius: 11px; gap: 8px; }
.store-badge--sm svg { width: 18px; height: 18px; }
.store-badge--sm .store-badge__text small { font-size: 9px; }
.store-badge--sm .store-badge__text strong { font-size: 15px; }
.store-badge--light { background: var(--cream); color: var(--umber); }
.store-badge--light:hover { background: #fff; color: var(--umber); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 26px; border: 0; cursor: pointer;
  background: var(--walnut); color: var(--cream); text-decoration: none; font-weight: 600; font-size: 16px;
  transition: background .2s, transform .25s var(--ease);
}
.btn:hover { background: var(--walnut-dark); color: var(--cream); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--stone); }
.btn--ghost:hover { background: var(--parchment); color: var(--ink); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--parchment); border: 1px solid var(--linen);
  font-size: 13px; font-weight: 500; color: var(--muted-dark);
}
.pill__dot { width: 22px; height: 22px; border-radius: 11px; background: var(--oat); display: grid; place-items: center; color: var(--walnut); }
.pill__dot svg { width: 13px; height: 13px; }

.eyebrow {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--oat); color: var(--muted-dark);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -.01em; margin: 0; }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); margin: 0; max-width: 560px; }

/* ---------- Hero ---------- */
.hero { overflow: hidden; padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 110px); }
.hero__glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 900px; height: 900px; right: -220px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 208, 142, .55) 0%, rgba(232, 160, 90, .18) 40%, rgba(232, 160, 90, 0) 68%);
  transform: translate3d(0, calc(var(--hero-p, 0) * 120px), 0) scale(calc(1 + var(--hero-p, 0) * .15));
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero h1 {
  font-family: var(--serif); font-weight: 600; margin: 0;
  font-size: clamp(56px, 8.2vw, 104px); line-height: .94; letter-spacing: -.015em;
}
.hero h1 em { font-style: italic; font-weight: 500; color: var(--walnut); }
.hero__sub { font-size: clamp(18px, 1.7vw, 20px); color: var(--muted); max-width: 500px; margin: 0; }
.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__note { font-size: 14px; color: var(--muted); }
.hero__stage { position: relative; height: clamp(520px, 52vw, 640px); }
.hero__phone-a, .hero__phone-b { position: absolute; }
.hero__phone-a { left: 2%; top: 6%; z-index: 2; transform: translate3d(0, calc(var(--hero-p, 0) * -60px), 0) rotate(calc(-6deg + var(--hero-p, 0) * 6deg)); }
.hero__phone-b { right: 0; top: 0; transform: translate3d(0, calc(var(--hero-p, 0) * 50px), 0) rotate(calc(7deg - var(--hero-p, 0) * 4deg)); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { align-items: center; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__stage { height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 520px) {
  .hero__stage { height: 470px; }
  .hero__phone-a { left: -2%; }
  .hero__phone-b { right: -4%; }
}

/* ---------- Verse band ---------- */
.verse-band { padding: clamp(56px, 8vw, 96px) 0; text-align: center; border-top: 1px solid var(--linen); border-bottom: 1px solid var(--linen); background: var(--parchment); }
.verse-band blockquote { margin: 0 auto; max-width: 900px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.18; }
.verse-band .word { display: inline-block; opacity: .16; transition: opacity .5s var(--ease); }
.verse-band .word.is-lit { opacity: 1; }
.verse-band cite { display: block; margin-top: 18px; font-style: normal; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 20px; }
.step__card {
  position: relative; border-radius: 28px; background: var(--parchment); border: 1px solid var(--linen);
  display: flex; justify-content: center; padding: 60px 16px 32px;
}
.step__card .phone { --s: .46; }
.step__num {
  position: absolute; top: 18px; left: 18px; height: 26px; padding: 0 10px; border-radius: 13px;
  background: var(--umber); color: var(--cream); font-size: 12px; font-weight: 600; display: grid; place-items: center; letter-spacing: .06em;
}
.step__card .phone { transition: transform .8s var(--ease-out); }
.step:hover .step__card .phone { transform: translateY(-10px); }
.step h3 { font-family: var(--serif); font-size: 30px; line-height: 1.1; font-weight: 600; margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

/* ---------- Sticky read-aloud story ---------- */
.story { height: 340vh; }
.story__sticky { position: sticky; top: 0; height: 100vh; min-height: 640px; overflow: hidden; display: flex; align-items: center; }
.story__sky {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--sky-top, #17110D) 0%, var(--sky-mid, #2B1E16) 55%, var(--sky-low, #3A2418) 100%);
}
.story__stars { position: absolute; inset: 0; opacity: var(--stars, 1); pointer-events: none; }
.story__stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: var(--cream); animation: twinkle 3.6s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.story__sun {
  position: absolute; left: 50%; bottom: 0; width: 260px; height: 260px; margin-left: -130px; border-radius: 50%;
  background: var(--sun, #D9773F);
  transform: translate3d(0, calc(70% - var(--rise, 0) * 95%), 0);
  box-shadow: 0 0 120px 60px rgba(246, 208, 142, calc(.12 + var(--rise, 0) * .38));
}
.story__ground { position: absolute; left: 0; right: 0; bottom: 0; height: 18vh; background: var(--ground, #0D0907); }
.story__grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(32px, 6vw, 96px); width: 100%; }
.story__steps { position: relative; min-height: 300px; }
.story__step {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 16px;
  opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease-out);
  color: var(--story-ink, var(--cream));
}
.story__step.is-active { opacity: 1; transform: none; }
.story__step .eyebrow { align-self: flex-start; background: rgba(245, 238, 227, .14); color: inherit; transition: background .6s; }
.story.is-day .story__step .eyebrow { background: rgba(110, 70, 48, .12); }
.story__step h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 5vw, 64px); line-height: 1.02; margin: 0; }
.story__step p { margin: 0; font-size: 18px; max-width: 460px; color: var(--story-sub, var(--on-dark-muted)); }
.story__progress { position: absolute; left: 0; right: 0; bottom: -36px; display: flex; gap: 8px; color: var(--story-ink, var(--cream)); }
.story__progress span { width: 28px; height: 3px; border-radius: 2px; background: currentColor; opacity: .25; transition: opacity .4s, width .4s var(--ease); }
.story__progress span.is-on { opacity: 1; width: 44px; }
.story__phone { position: relative; }
.story__phone .phone { --s: .66; }
@media (max-width: 860px) {
  .story { height: 360vh; }
  .story__grid { grid-template-columns: 1fr; justify-items: center; gap: 12px; }
  .story__steps { order: 2; min-height: 200px; width: 100%; text-align: center; }
  .story__step { align-items: center; }
  .story__step .eyebrow { align-self: center; }
  .story__step p { font-size: 16px; }
  .story__progress { justify-content: center; bottom: -20px; }
  .story__sticky { align-items: flex-start; padding-top: 84px; }
}

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.feature {
  grid-column: span 2; background: var(--parchment); border: 1px solid var(--linen); border-radius: 26px;
  padding: 28px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; position: relative;
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -30px rgba(43, 30, 22, .5); }
.feature--wide { grid-column: span 3; }
.feature--dark { background: var(--umber); border-color: var(--umber); color: var(--cream); }
.feature--dark p { color: var(--on-dark-muted); }
.feature__icon { width: 44px; height: 44px; border-radius: 14px; background: var(--oat); color: var(--walnut); display: grid; place-items: center; margin-bottom: 6px; }
.feature--dark .feature__icon { background: rgba(245, 238, 227, .1); color: var(--candle); }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-family: var(--serif); font-size: 28px; line-height: 1.1; font-weight: 600; margin: 0; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.feature__visual { margin-top: auto; padding-top: 18px; }
@media (max-width: 960px) {
  .features { grid-template-columns: 1fr 1fr; }
  .feature, .feature--wide { grid-column: span 1; }
}
@media (max-width: 620px) {
  .features { grid-template-columns: 1fr; }
}

/* Feature visuals */
.amen-mic { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 22px; background: var(--sand); border: 1px solid var(--linen); }
.amen-mic__btn { position: relative; width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; background: var(--walnut); display: grid; place-items: center; color: var(--cream); }
.amen-mic__btn::before, .amen-mic__btn::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--clay); animation: ping 2.4s ease-out infinite; }
.amen-mic__btn::after { animation-delay: 1.2s; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.1); opacity: 0; } }
.amen-mic__word { font-family: var(--serif); font-size: 34px; font-weight: 600; letter-spacing: .04em; }
.bars { display: flex; align-items: center; gap: 3px; height: 30px; margin-left: auto; }
.bars i { width: 3px; border-radius: 2px; background: var(--clay); animation: bar 1s ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: .15s; } .bars i:nth-child(3) { animation-delay: .3s; } .bars i:nth-child(4) { animation-delay: .45s; } .bars i:nth-child(5) { animation-delay: .6s; }
@keyframes bar { 0%, 100% { height: 6px; } 50% { height: 26px; } }

.mini-widgets { display: grid; grid-template-columns: repeat(2, minmax(0, 180px)); gap: 14px; }
.widget { border-radius: 22px; padding: 16px; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 14px 30px -22px rgba(43, 30, 22, .6); }
.widget--light { background: var(--parchment); border: 1px solid var(--linen); }
.widget--dark { background: var(--umber); color: var(--cream); }
.widget__label { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.widget--dark .widget__label { color: var(--on-dark-muted); }
.widget__verse { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.2; }
.widget__ref { font-size: 11px; color: var(--muted); }
.widget--dark .widget__ref { color: var(--on-dark-muted); }
.widget__time { font-family: var(--serif); font-size: 46px; line-height: .9; font-weight: 500; }
.widget__time small { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--on-dark-muted); margin-left: 4px; }

.notif { display: flex; gap: 12px; padding: 12px 14px; border-radius: 20px; background: rgba(251, 247, 240, .9); border: 1px solid var(--linen); box-shadow: 0 12px 26px -20px rgba(43, 30, 22, .6); }
.notif + .notif { margin-top: 10px; transform: scale(.96); opacity: .7; }
.notif img { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; }
.notif__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.notif__top { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.notif__top strong { color: var(--ink); font-weight: 600; }
.notif__text { font-size: 14px; line-height: 1.35; }

.translations { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.translation { padding: 16px; border-radius: 18px; background: var(--sand); border: 1px solid var(--linen); display: flex; flex-direction: column; gap: 8px; }
.translation.is-on { border-color: var(--walnut); box-shadow: inset 0 0 0 1px var(--walnut); }
.translation strong { font-size: 13px; letter-spacing: .1em; }
.translation span { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.25; }

.sounds { display: flex; flex-direction: column; gap: 8px; }
.sound { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: rgba(245, 238, 227, .06); border: 1px solid rgba(245, 238, 227, .1); font-size: 15px; }
.sound__play { width: 32px; height: 32px; border-radius: 50%; background: rgba(245, 238, 227, .12); display: grid; place-items: center; color: var(--candle); flex-shrink: 0; }
.sound.is-on { border-color: var(--candle); }
.sound.is-on .sound__play { background: var(--candle); color: var(--umber); }
.sound small { margin-left: auto; color: var(--on-dark-muted); font-size: 12px; }

.streak { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; font-size: 12px; color: var(--muted); }
.streak span { display: block; aspect-ratio: 1; border-radius: 50%; margin: 0 auto 6px; width: 100%; max-width: 32px; background: var(--clay); transform: scale(0); transition: transform .5s var(--ease-out); }
.streak .is-today span { background: var(--walnut); }
.streak .is-future span { background: none; border: 1.5px dashed var(--stone); }
.is-visible .streak span { transform: scale(1); }
.is-visible .streak div:nth-child(2) span { transition-delay: .08s; } .is-visible .streak div:nth-child(3) span { transition-delay: .16s; }
.is-visible .streak div:nth-child(4) span { transition-delay: .24s; } .is-visible .streak div:nth-child(5) span { transition-delay: .32s; }
.is-visible .streak div:nth-child(6) span { transition-delay: .4s; } .is-visible .streak div:nth-child(7) span { transition-delay: .48s; }

/* ---------- Sunrise / nightfall ---------- */
.skies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sky-card { position: relative; border-radius: 30px; overflow: hidden; min-height: 440px; padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; isolation: isolate; }
.sky-card h3 { font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1; margin: 0; }
.sky-card p { margin: 0; max-width: 340px; font-size: 16px; }
.sky-card__orb { position: absolute; z-index: -1; left: 50%; width: 150px; height: 150px; margin-left: -75px; border-radius: 50%; transition: transform 2.6s var(--ease-out), background 2.6s, box-shadow 2.6s; }
.sky-card--dawn { background: linear-gradient(180deg, #3A2418 0%, #A9693F 55%, #EED8B6 100%); color: var(--ink); }
.sky-card--dawn p { color: var(--muted-dark); }
.sky-card--dawn .sky-card__orb { top: 40%; background: #D9773F; transform: translateY(160px); box-shadow: 0 0 90px 40px rgba(246, 208, 142, .2); }
.sky-card--dawn.is-visible .sky-card__orb { transform: translateY(-40px); background: #F6D08E; box-shadow: 0 0 120px 70px rgba(246, 208, 142, .55); }
.sky-card--dusk { background: linear-gradient(180deg, #120D0A 0%, #2B1E16 55%, #6E4630 100%); color: var(--cream); }
.sky-card--dusk p { color: var(--on-dark-muted); }
.sky-card--dusk .sky-card__orb { top: 14%; width: 110px; height: 110px; margin-left: -55px; background: transparent; box-shadow: inset -26px 12px 0 0 #F2E8DA; transform: translateY(160px) rotate(-20deg); opacity: .4; transition: transform 2.6s var(--ease-out), opacity 2.6s; }
.sky-card--dusk.is-visible .sky-card__orb { transform: rotate(-20deg); opacity: 1; filter: drop-shadow(0 0 24px rgba(242, 232, 218, .35)); }
.sky-card__stars { position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity 2s 1s; }
.sky-card.is-visible .sky-card__stars { opacity: 1; }
.sky-card__stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: var(--cream); animation: twinkle 3s ease-in-out infinite; }
.sky-card__tag { position: absolute; top: 24px; left: 24px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(245, 238, 227, .16); color: var(--cream); }
@media (max-width: 900px) { .skies { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .sky-card { min-height: 380px; } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; border-radius: 28px; padding: 32px 28px; background: var(--parchment); border: 1px solid var(--linen); display: flex; flex-direction: column; gap: 18px; }
.plan--featured { border: 2px solid var(--walnut); box-shadow: 0 30px 60px -40px rgba(74, 46, 31, .55); }
.plan--lifetime { background: var(--umber); border-color: var(--umber); color: var(--cream); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); height: 26px; padding: 0 12px; border-radius: 13px; background: var(--walnut); color: var(--cream); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; display: grid; place-items: center; white-space: nowrap; }
.plan--lifetime .plan__badge { background: var(--candle); color: var(--umber); }
.plan__name { font-family: var(--serif); font-size: 30px; font-weight: 600; margin: 0; line-height: 1; }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__price strong { font-family: var(--serif); font-size: 60px; line-height: .9; font-weight: 600; letter-spacing: -.01em; }
.plan__price span { color: var(--muted); font-size: 16px; font-weight: 500; }
.plan--lifetime .plan__price span, .plan--lifetime .plan__fine { color: var(--on-dark-muted); }
.plan__fine { font-size: 14px; color: var(--muted); margin: -8px 0 0; }
.plan ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--linen); display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.plan--lifetime ul { border-top-color: rgba(245, 238, 227, .14); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--walnut); }
.plan--lifetime li svg { color: var(--candle); }
.plan .btn { margin-top: auto; width: 100%; }
.plan--lifetime .btn { background: var(--candle); color: var(--umber); }
.plan--lifetime .btn:hover { background: #D9B07A; color: var(--umber); }
.pricing__legal { text-align: center; max-width: 720px; margin: 32px auto 0; font-size: 14px; color: var(--muted); }
@media (max-width: 960px) {
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 28px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--linen); }
.faq details { border-bottom: 1px solid var(--linen); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--muted); transition: transform .35s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq__body { overflow: hidden; }
.faq__body p { margin: 0; padding: 0 4px 22px; color: var(--muted-dark); max-width: 680px; }

/* ---------- Final CTA ---------- */
.cta { margin: 0 var(--gutter) clamp(64px, 8vw, 100px); border-radius: 36px; overflow: hidden; background: linear-gradient(180deg, #17110D 0%, #2B1E16 50%, #4A2E1F 100%); color: var(--cream); text-align: center; padding: clamp(72px, 10vw, 128px) var(--gutter) 0; isolation: isolate; position: relative; }
.cta h2 { color: var(--cream); }
.cta .lede { color: var(--on-dark-muted); margin: 0 auto; }
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; position: relative; z-index: 2; }
.cta__horizon { position: relative; height: 220px; margin-top: 40px; }
.cta__sun { position: absolute; left: 50%; top: 40px; width: 240px; height: 240px; margin-left: -120px; border-radius: 50%; background: #D9773F; transform: translateY(180px); transition: transform 2.4s var(--ease-out), background 2.4s, box-shadow 2.4s; box-shadow: 0 0 80px 30px rgba(246, 208, 142, .1); }
.cta.is-visible .cta__sun { transform: translateY(0); background: #F6D08E; box-shadow: 0 0 160px 90px rgba(246, 208, 142, .35); }
.cta__stars { position: absolute; inset: 0; z-index: -1; transition: opacity 2.4s; }
.cta.is-visible .cta__stars { opacity: .35; }
.cta__stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: var(--cream); animation: twinkle 3s ease-in-out infinite; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--linen); padding: 56px 0 40px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.footer h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { color: var(--walnut); text-decoration: underline; }
.footer__about p { color: var(--muted); max-width: 320px; margin: 14px 0 20px; }
.footer__base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--linen); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }

/* ---------- Phone frame ----------
   Screens are built at the app's 390 x 844 point size and scaled with --s. */
.phone {
  --s: .62;
  width: max-content;
  padding: calc(16px * var(--s));
  border-radius: calc(62px * var(--s));
  background: linear-gradient(145deg, #3a2c22, #17110C);
  box-shadow: 0 50px 80px -40px rgba(43, 30, 22, .55), 0 0 0 1px rgba(43, 30, 22, .25), inset 0 0 0 1.5px rgba(255, 255, 255, .08);
  flex-shrink: 0;
}
.phone__screen {
  position: relative; overflow: hidden;
  width: calc(390px * var(--s)); height: calc(844px * var(--s));
  border-radius: calc(50px * var(--s));
  background: var(--sand);
}
.phone__screen > .screen { position: absolute; left: 0; top: 0; width: 390px; height: 844px; transform: scale(var(--s)); transform-origin: 0 0; }
.phone__island { position: absolute; z-index: 5; top: calc(11px * var(--s)); left: 50%; width: calc(124px * var(--s)); height: calc(36px * var(--s)); margin-left: calc(-62px * var(--s)); border-radius: calc(18px * var(--s)); background: #000; }

/* Screen internals, in app points */
.screen { font-family: var(--sans); color: var(--ink); overflow: hidden; }
.screen__status { position: absolute; z-index: 4; top: 0; left: 0; right: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 34px 0 46px; font-size: 16px; font-weight: 600; }
.screen__status svg { width: 62px; height: 14px; }

/* Ringing (sunrise) */
.s-ring { background: #EED8B6; }
.s-ring.is-anim { animation: sky 9s ease-in-out infinite; }
.s-ring__stars { position: absolute; inset: 0; }
.s-ring.is-anim .s-ring__stars { animation: starsout 9s ease infinite; }
.s-ring__stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--cream); }
.s-ring__sun { position: absolute; left: 135px; top: 560px; width: 120px; height: 120px; transform: translateY(-250px); }
.s-ring.is-anim .s-ring__sun { animation: rise 9s cubic-bezier(.3, .55, .25, 1) infinite; }
.s-ring__sun::before { content: ''; position: absolute; inset: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(246, 208, 142, .55) 0%, rgba(232, 160, 90, .22) 38%, rgba(232, 160, 90, 0) 70%); }
.s-ring__sun b { position: absolute; inset: 0; border-radius: 50%; background: #F6D08E; }
.s-ring.is-anim .s-ring__sun b { animation: sunc 9s ease infinite; }
.s-ring__sun u { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(246, 208, 142, .8); animation: pulse 2.4s ease-out infinite; }
.s-ring__sun u + u { animation-delay: 1.2s; }
.s-ring__ground { position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: #4A2E1F; }
.s-ring.is-anim .s-ring__ground { animation: ground 9s ease infinite; }
.s-ring__top { position: absolute; left: 0; right: 0; top: 96px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ink); }
.s-ring.is-anim .s-ring__top { animation: ink 9s ease infinite; }
.s-ring__label { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.s-ring__label svg { width: 18px; height: 18px; transform-origin: 50% 10%; animation: bell 1.6s ease-in-out infinite; }
.s-ring__time { font-family: var(--serif); font-size: 112px; line-height: 1; font-weight: 500; letter-spacing: -.01em; margin-top: 10px; }
.s-ring__time small { font-family: var(--sans); font-size: 24px; font-weight: 500; margin-left: 6px; }
.s-ring__date { font-size: 17px; opacity: .8; }
.s-ring__card { position: absolute; left: 22px; right: 22px; bottom: 130px; padding: 20px 22px; border-radius: 26px; background: rgba(251, 247, 240, .92); display: flex; flex-direction: column; gap: 6px; box-shadow: 0 20px 40px -20px rgba(43, 30, 22, .5); }
.s-ring__card span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.s-ring__card strong { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.05; }
.s-ring__card em { font-family: var(--serif); font-size: 19px; line-height: 1.3; color: var(--muted-dark); }
.s-ring__btn { position: absolute; left: 22px; right: 22px; bottom: 44px; height: 64px; border-radius: 32px; background: var(--walnut); color: var(--cream); display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 19px; font-weight: 600; }
.s-ring__btn svg { width: 22px; height: 22px; }
@keyframes sky { 0% { background-color: #17110D; } 35% { background-color: #3A2418; } 65% { background-color: #A9693F; } 88%, 100% { background-color: #EED8B6; } }
@keyframes ink { 0%, 45% { color: #F5EEE3; } 80%, 100% { color: #33241A; } }
@keyframes rise { 0% { transform: translateY(0); } 88%, 100% { transform: translateY(-250px); } }
@keyframes sunc { 0% { background-color: #D9773F; } 88%, 100% { background-color: #F6D08E; } }
@keyframes starsout { 0%, 25% { opacity: 1; } 65%, 100% { opacity: 0; } }
@keyframes ground { 0% { background-color: #0D0907; } 88%, 100% { background-color: #4A2E1F; } }
@keyframes pulse { 0% { transform: scale(.9); opacity: .6; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes bell { 0%, 55%, 100% { transform: rotate(0); } 8% { transform: rotate(16deg); } 16% { transform: rotate(-14deg); } 24% { transform: rotate(10deg); } 32% { transform: rotate(-7deg); } 40% { transform: rotate(3deg); } }

/* Reading */
.s-read { background: var(--sand); padding: 64px 22px 30px; display: flex; flex-direction: column; gap: 16px; }
.s-read__top { display: flex; align-items: center; justify-content: space-between; }
.s-read__chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 16px; background: var(--oat); font-size: 13px; font-weight: 500; color: var(--muted-dark); }
.s-read__chip svg { width: 15px; height: 15px; }
.s-read__ring { position: relative; width: 56px; height: 56px; display: grid; place-items: center; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.s-read__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.s-read__ring circle + circle { transition: stroke-dashoffset .3s; }
.s-read__eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.s-read h4 { margin: 2px 0 0; font-family: var(--serif); font-size: 34px; line-height: 1.05; font-weight: 600; }
.s-read__text { flex: 1; margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.45; }
.s-read__text sup { font-family: var(--sans); font-size: 11px; font-weight: 600; color: var(--clay); margin-right: 3px; }
.s-read__text .w { color: var(--faint); border-radius: 5px; transition: color .2s, background .2s, box-shadow .2s; }
.s-read__text .w.is-read { color: var(--ink); }
.s-read__text .w.is-now { color: var(--ink); background: #E5D5BD; box-shadow: 0 0 0 3px #E5D5BD; }
.s-read__listen { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 22px; background: var(--parchment); border: 1px solid var(--linen); }
.s-read__mic { width: 42px; height: 42px; flex-shrink: 0; border-radius: 21px; background: var(--walnut); display: grid; place-items: center; box-shadow: 0 0 0 5px var(--oat); color: var(--cream); }
.s-read__mic svg { width: 20px; height: 20px; }
.s-read__listen > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.s-read__listen strong { font-size: 15px; font-weight: 600; }
.s-read__listen small { font-size: 13px; color: var(--muted); }
.s-read__amen { height: 58px; border-radius: 29px; background: var(--walnut); color: var(--cream); display: none; align-items: center; justify-content: center; font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: .04em; }
.s-read.is-done .s-read__amen { display: flex; animation: pop .6s var(--ease-out); }
.s-read.is-done .s-read__listen { display: none; }
.s-read__done { display: none; font-size: 13px; color: var(--muted); text-align: center; }
.s-read.is-done .s-read__done { display: block; }
@keyframes pop { 0% { transform: scale(.9); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* Amen */
.s-amen { background: var(--sand); padding: 96px 24px 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.s-amen__head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.s-amen__head svg { width: 56px; height: 56px; color: var(--clay); }
.s-amen__head h4 { margin: 0; font-family: var(--serif); font-size: 68px; line-height: 1; font-weight: 500; }
.s-amen__head p { margin: 0; font-size: 16px; color: var(--muted); }
.s-card { background: var(--parchment); border: 1px solid var(--linen); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.s-card__title { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.s-card__eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.s-card__verse { font-family: var(--serif); font-style: italic; font-size: 23px; line-height: 1.3; }
.s-card__ref { font-size: 13px; color: var(--muted); }
.s-amen .streak span { transform: none; max-width: 30px; }
.s-amen__done { height: 58px; border-radius: 29px; background: var(--walnut); color: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 600; }

/* Alarms list */
.s-home { background: var(--sand); padding: 64px 20px 0; display: flex; flex-direction: column; gap: 22px; }
.s-home__head { display: flex; align-items: center; justify-content: space-between; }
.s-home__brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 30px; font-weight: 600; }
.s-home__brand svg { width: 30px; height: 30px; color: var(--walnut); }
.s-home__add { width: 44px; height: 44px; border-radius: 22px; background: var(--walnut); display: grid; place-items: center; color: var(--cream); }
.s-home__add svg { width: 20px; height: 20px; }
.s-next { background: var(--parchment); border: 1px solid var(--linen); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.s-next__row { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.s-next__row b { letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.s-next__time { display: flex; align-items: baseline; gap: 8px; }
.s-next__time strong { font-family: var(--serif); font-size: 72px; line-height: .9; font-weight: 500; }
.s-next__time span { font-size: 18px; color: var(--muted); font-weight: 500; }
.s-next__time em { margin-left: auto; font-style: normal; font-size: 14px; color: var(--muted); }
.s-next hr { border: 0; height: 1px; background: var(--linen); margin: 0; }
.s-next__verse { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.25; }
.s-next__ref { font-size: 13px; color: var(--muted); margin-top: 4px; }
.s-list__h { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px; margin-bottom: 10px; }
.s-list__h strong { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.s-list__h span { font-size: 13px; color: var(--muted); }
.s-list { background: var(--parchment); border: 1px solid var(--linen); border-radius: 20px; }
.s-alarm { display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 20px; }
.s-alarm + .s-alarm { border-top: 1px solid var(--linen); }
.s-alarm__body { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.s-alarm__time { font-family: var(--serif); font-size: 36px; line-height: 1; font-weight: 500; }
.s-alarm__time small { font-family: var(--sans); font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.s-alarm__label { font-size: 14px; font-weight: 500; }
.s-alarm__label span { color: var(--muted); font-weight: 400; }
.s-alarm.is-off .s-alarm__body { opacity: .45; }
.toggle { width: 51px; height: 31px; border-radius: 16px; background: var(--walnut); padding: 2px; display: flex; justify-content: flex-end; flex-shrink: 0; }
.toggle::after { content: ''; width: 27px; height: 27px; border-radius: 14px; background: #FFFDF9; box-shadow: 0 1px 3px rgba(51, 36, 26, .28); }
.is-off .toggle { background: var(--stone); justify-content: flex-start; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal--left { transform: translate3d(-40px, 0, 0); }
.reveal--scale { transform: scale(.94); }
.reveal.is-visible { opacity: 1; transform: none; }
.hero .reveal { opacity: 1; transform: none; transition: none; animation: hero-in 1.1s var(--ease-out) var(--d, 0s) both; }
.hero .reveal--scale { animation-name: hero-in-scale; }
@keyframes hero-in { from { opacity: 0; transform: translate3d(0, 30px, 0); } }
@keyframes hero-in-scale { from { opacity: 0; transform: scale(.94); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition-duration: .01s !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Legal and support pages ---------- */
.doc { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 9vw, 120px); }
.doc__inner { max-width: 720px; margin: 0 auto; }
.doc h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 6vw, 64px); line-height: 1; margin: 18px 0 10px; }
.doc h2 { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.15; margin: 44px 0 10px; }
.doc .date { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.doc p, .doc li { color: var(--muted-dark); }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--ink); }
.doc .callout { background: var(--parchment); border: 1px solid var(--linen); border-radius: 22px; padding: 22px 24px; margin: 28px 0; }
.doc .callout p { margin: 0; }
.contact-card { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; background: var(--umber); color: var(--cream); border-radius: 28px; padding: 32px; margin: 32px 0 8px; }
.contact-card h2 { margin: 0; color: var(--cream); }
.contact-card p { color: var(--on-dark-muted); margin: 0; }
.contact-card .btn { background: var(--candle); color: var(--umber); }
.contact-card .btn:hover { background: #D9B07A; color: var(--umber); }
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.help-grid a { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 20px; background: var(--parchment); border: 1px solid var(--linen); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), border-color .3s; }
.help-grid a:hover { transform: translateY(-2px); border-color: var(--stone); color: var(--ink); }
.help-grid strong { font-family: var(--serif); font-size: 22px; }
.help-grid span { font-size: 14px; color: var(--muted); }
@media (max-width: 560px) { .help-grid { grid-template-columns: 1fr; } }

/* Story phone: three screens stacked, one shown at a time */
.story__phone .screen { transition: opacity .6s var(--ease), transform .6s var(--ease-out); }
.story__phone .screen.is-hidden { opacity: 0; transform: scale(var(--s)) translateY(14px); }
.footer .store-badge, .footer .store-badge:hover { color: var(--cream); text-decoration: none; }
[id] { scroll-margin-top: 76px; }
@media (max-width: 860px) { .story__phone .phone { --s: .46; } }
@media (max-width: 860px) and (max-height: 700px) { .story__phone .phone { --s: .38; } }
@media (min-width: 861px) and (max-height: 760px) { .story__phone .phone { --s: .56; } }
@media (max-width: 860px) { .story__ground { height: 7vh; } }

/* High sun (noon to 5 PM), from SkyScene.swift: noonSky, disc F0B865 to FBE3A8, rays E8A05A, clouds FFF9EE */
.sky-card--noon { background: linear-gradient(180deg, #D9B48A 0%, #EBD3AF 50%, #F6EBD8 100%); color: var(--ink); }
.sky-card--noon p { color: var(--muted-dark); }
.sky-card--noon .sky-card__tag { background: rgba(110, 70, 48, .12); color: var(--muted-dark); }
.sky-card__sun { position: absolute; z-index: -1; left: 50%; top: 18%; width: 120px; height: 120px; margin-left: -60px; transform: translateY(90px); transition: transform 2.6s var(--ease-out); }
.sky-card--noon.is-visible .sky-card__sun { transform: translateY(0); }
.sky-card--noon .sky-card__orb { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; background: #F0B865; box-shadow: 0 0 80px 40px rgba(251, 227, 168, .35); transition: background 2.6s, box-shadow 2.6s; }
.sky-card--noon.is-visible .sky-card__orb { background: #FBE3A8; box-shadow: 0 0 120px 70px rgba(251, 227, 168, .6); animation: noon-glow 5.2s ease-in-out infinite 2.6s; }
.sky-card__rays { position: absolute; inset: 0; opacity: 0; transition: opacity 2s .6s; animation: spin 60s linear infinite; }
.sky-card--noon.is-visible .sky-card__rays { opacity: .7; }
.sky-card__rays i { position: absolute; left: 50%; top: 50%; width: 3px; height: 18px; margin: -9px 0 0 -1.5px; border-radius: 2px; background: #E8A05A; }
.sky-card__rays i:nth-child(1) { transform: rotate(0deg) translateY(-84px); }
.sky-card__rays i:nth-child(2) { transform: rotate(30deg) translateY(-84px); }
.sky-card__rays i:nth-child(3) { transform: rotate(60deg) translateY(-84px); }
.sky-card__rays i:nth-child(4) { transform: rotate(90deg) translateY(-84px); }
.sky-card__rays i:nth-child(5) { transform: rotate(120deg) translateY(-84px); }
.sky-card__rays i:nth-child(6) { transform: rotate(150deg) translateY(-84px); }
.sky-card__rays i:nth-child(7) { transform: rotate(180deg) translateY(-84px); }
.sky-card__rays i:nth-child(8) { transform: rotate(210deg) translateY(-84px); }
.sky-card__rays i:nth-child(9) { transform: rotate(240deg) translateY(-84px); }
.sky-card__rays i:nth-child(10) { transform: rotate(270deg) translateY(-84px); }
.sky-card__rays i:nth-child(11) { transform: rotate(300deg) translateY(-84px); }
.sky-card__rays i:nth-child(12) { transform: rotate(330deg) translateY(-84px); }
.sky-card__clouds { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 2s .4s; }
.sky-card--noon.is-visible .sky-card__clouds { opacity: 1; }
.cloud { position: absolute; left: -45%; width: 150px; height: 46px; opacity: .9; background: radial-gradient(ellipse 18% 35% at 32% 57%, #FFF9EE 97%, transparent 100%); animation: drift 80s linear infinite; }
.cloud::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; border-radius: 12px; background: #FFF9EE; }
.cloud::after { content: ''; position: absolute; left: 36%; top: 0; width: 42%; height: 90%; border-radius: 50%; background: #FFF9EE; }
.cloud--1 { top: 30%; animation-delay: -20s; }
.cloud--2 { top: 44%; width: 110px; height: 34px; animation-duration: 120s; animation-delay: -75s; }
.cloud--3 { top: 56%; width: 90px; height: 28px; animation-duration: 60s; animation-delay: -10s; }
@keyframes drift { from { left: -45%; } to { left: 110%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes noon-glow { 0%, 100% { box-shadow: 0 0 120px 70px rgba(251, 227, 168, .6); } 50% { box-shadow: 0 0 140px 84px rgba(251, 227, 168, .7); } }

/* Larger passage for the How it works card, so the words read at small sizes */
.s-read--large { gap: 20px; }
.s-read--large .s-read__text { font-size: 27px; line-height: 1.42; }
.s-read--large h4 { font-size: 38px; }
