/* Act On Word — website
   Idea: a day lived with the Word. Lessons open at 4 AM, so the page moves like a day:
   a soft sunrise with the verse and the welcome video → the sun's path through the day → dusk for churches.
   Cormorant Garamond = the Word (verse, headings) · Tiro = the verse in Hindi and Punjabi ·
   Mukta / Mukta Mahee = everyday reading in all three scripts. Motion is slow and quiet, like morning light. */

:root {
  /* paper and ink */
  --ivory: #fff8ef;         /* page background */
  --ivory-2: #fbefe2;       /* quiet bands */
  --blush: #fbe4dc;         /* sunrise wash */
  --plum: #34163a;          /* text */
  --plum-2: #5b3c5c;        /* secondary text (AA on ivory) */
  --muted: #74596f;
  --line: #ecd9cc;
  /* sunrise */
  --gold: #f0b24a;
  --gold-hi: #ffe2a6;
  --coral: #e0796a;
  --rose: #b84d72;
  --dusk: #4a1f4e;
  --night: #2a1232;
  /* brand */
  --violet: #6d28d9;        /* links and the app button (AA on ivory) */
  --violet-btn: #7c3aed;
  --sunrise: linear-gradient(100deg, #f6c15c, #f0a259 45%, #e98471);

  --serif: "Cormorant Garamond", "Tiro Devanagari Hindi", "Tiro Gurmukhi", Georgia, serif;
  --sans: "Mukta", "Mukta Mahee", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(2.2rem, 4.4vw, 3.35rem);
  --step-4: clamp(2.6rem, 6vw, 4.4rem);
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 66ch;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--plum); font: 400 var(--step-0)/1.65 var(--sans); }
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--violet-btn); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--plum); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 30; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.pa { font-family: "Mukta Mahee", var(--sans); }

/* ── Header: ivory, then translucent with blur once you scroll ── */
.site-head { position: sticky; top: 0; z-index: 20; margin-bottom: -72px; background: rgba(255, 248, 239, 0); transition: background-color .4s, box-shadow .4s; }
.site-head.scrolled { background: rgba(255, 248, 239, .78); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(52, 22, 58, .08), 0 10px 30px -18px rgba(52, 22, 58, .35); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: auto; height: 56px; }
.brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { color: var(--plum-2); text-decoration: none; font-weight: 500; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--coral); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--plum); }
.menu-toggle { display: none; margin-left: auto; background: rgba(255,255,255,.6); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font: 500 var(--step-0)/1.4 var(--sans); color: var(--plum); cursor: pointer; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 26px; font: 600 var(--step-0)/1.2 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--violet-btn); color: #fff; box-shadow: 0 10px 24px -12px rgba(109, 40, 217, .7); }
.btn-primary:hover { background: var(--violet); }
.btn-sun { background: var(--sunrise); color: var(--night); box-shadow: 0 12px 28px -12px rgba(224, 121, 106, .85), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-sun:hover { box-shadow: 0 16px 34px -12px rgba(224, 121, 106, .95), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-ghost { background: rgba(255,255,255,.55); border-color: rgba(52, 22, 58, .28); color: var(--plum); }
.btn-ghost:hover { background: #fff; border-color: var(--plum); }
.nav .btn { padding: 9px 18px; color: #fff; }
.nav .btn:hover { color: #fff; }
.soon { display: inline-flex; align-items: center; padding: 12px 22px; line-height: 1.2; border-radius: 999px; border: 1px dashed currentColor; opacity: .75; font-weight: 600; }

/* ── Hero: the verse at sunrise, with the welcome video in an arched window ── */
.hero { position: relative; isolation: isolate; overflow: hidden;
  padding: calc(72px + clamp(32px, 6vw, 84px)) 0 clamp(36px, 5vw, 64px);
  background: linear-gradient(180deg, var(--blush) 0%, #fdeee2 48%, var(--ivory) 100%); }
.dawn { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.dawn .glow { position: absolute; left: 72%; top: 58%; width: min(900px, 120vw); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 214, 140, .85) 0%, rgba(246, 176, 104, .45) 26%, rgba(232, 128, 120, .16) 48%, rgba(232, 128, 120, 0) 66%);
  animation: breathe 9s ease-in-out infinite; }
.dawn .glow-2 { left: 8%; top: 10%; width: min(520px, 90vw); animation-delay: -4s;
  background: radial-gradient(circle, rgba(244, 176, 196, .5), rgba(244, 176, 196, 0) 65%); }
.dawn .rays { position: absolute; left: 72%; top: 58%; width: 1600px; height: 1600px; margin: -800px 0 0 -800px; opacity: .5;
  background: repeating-conic-gradient(from 0deg, rgba(255, 236, 196, .55) 0deg 4deg, rgba(255, 236, 196, 0) 4deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 0, rgba(0,0,0,.5) 25%, transparent 55%); mask: radial-gradient(circle, #000 0, rgba(0,0,0,.5) 25%, transparent 55%);
  animation: turn 140s linear infinite; }
@keyframes breathe { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .9; } 50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; } }
@keyframes turn { to { transform: rotate(360deg); } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.verse { margin: 0; }
.verse blockquote { margin: 0; }
.verse .en { font: italic 500 var(--step-4)/1.02 var(--serif); letter-spacing: -0.015em; margin: 0; text-wrap: balance; color: var(--plum); }
.verse .hi, .verse .pa { font: 400 clamp(1.15rem, 2vw, 1.4rem)/1.5 "Tiro Devanagari Hindi", var(--serif); color: var(--plum-2); margin: 0; }
.verse .hi { margin-top: 22px; padding-top: 18px; position: relative; }
.verse .hi::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 2px; border-radius: 2px; background: var(--sunrise); }
.verse .pa { font-family: "Tiro Gurmukhi", var(--serif); margin-top: 2px; }
.verse figcaption { margin-top: 10px; color: var(--muted); font-size: var(--step--1); letter-spacing: .02em; }
.hero-side { margin-top: 28px; }
.hero-lead { font-size: var(--step-1); line-height: 1.55; color: var(--plum-2); margin: 0 0 26px; max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.store-note { margin: 16px 0 0; font-size: var(--step--1); color: var(--muted); max-width: 40ch; }

/* The arched window */
.hero-media { display: flex; justify-content: center; }
.film { margin: 0; width: 100%; max-width: 520px; }
.film-arch { position: relative; padding: 46% 16px 16px; border-radius: 999px 999px 26px 26px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #3a1840 0%, #7b2f5f 38%, #d0686b 70%, #f2a865 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.6), 0 0 0 9px rgba(255, 248, 239, .7), 0 0 0 10px rgba(224, 121, 106, .35), 0 40px 80px -30px rgba(74, 31, 78, .6); }
.film-arch::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(1.4px 1.4px at 22% 18%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 70% 12%, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 48% 8%, rgba(255,255,255,.7) 50%, transparent 51%), radial-gradient(1.4px 1.4px at 84% 26%, rgba(255,255,255,.6) 50%, transparent 51%); }
/* the sun rising in the window: a slow loop */
.film-sun { position: absolute; left: 50%; top: 12%; width: 34%; aspect-ratio: 1; margin-left: -17%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, #fff3cf 0 30%, var(--gold) 46%, rgba(240, 178, 74, .35) 58%, rgba(240, 178, 74, 0) 72%);
  animation: sunloop 12s ease-in-out infinite; }
@keyframes sunloop { 0% { transform: translateY(70%) scale(.9); opacity: .55; } 45%, 70% { transform: translateY(0) scale(1); opacity: 1; } 100% { transform: translateY(70%) scale(.9); opacity: .55; } }
.yt { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #2a1232; box-shadow: 0 18px 40px -16px rgba(20, 6, 24, .8); }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt img { color: transparent; font-size: 0; transition: transform .8s var(--ease), filter .5s; filter: saturate(.95); }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 18, 50, 0) 40%, rgba(42, 18, 50, .45)); pointer-events: none; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; z-index: 1; display: grid; place-items: center;
  background: rgba(255, 248, 239, .92); box-shadow: 0 0 0 10px rgba(255, 248, 239, .25), 0 12px 30px -8px rgba(20, 6, 24, .6); transition: transform .4s var(--ease), box-shadow .4s; }
.yt-play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(255, 248, 239, .7); animation: ripple 3.2s ease-out infinite; }
@keyframes ripple { from { transform: scale(.85); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.yt-play svg { width: 34px; height: 34px; fill: var(--rose); margin-left: 4px; }
.yt:hover img { transform: scale(1.04); }
.yt:hover .yt-play, .yt:focus-visible .yt-play { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(255, 248, 239, .3), 0 12px 30px -8px rgba(20, 6, 24, .6); }
.yt:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.yt.playing::after, .yt.playing .yt-play { display: none; }
.film figcaption { display: grid; justify-items: center; text-align: center; margin-top: 22px; }
.film figcaption b { font: italic 600 var(--step-2)/1.2 var(--serif); }
.film figcaption span { color: var(--muted); font-size: var(--step--1); }

/* Real numbers, set quietly under the hero */
.facts { list-style: none; margin: clamp(40px, 6vw, 72px) auto 0; padding: 0 var(--gutter); max-width: 1160px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { padding: 4px 18px; border-left: 1px solid rgba(52, 22, 58, .14); color: var(--plum-2); font-size: var(--step--1); line-height: 1.35; }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font: 600 2.4rem/1 var(--serif); color: var(--rose); margin-bottom: 4px; }

/* ── Sections ── */
.band { position: relative; padding: clamp(56px, 8vw, 104px) 0; }
.head { margin-bottom: clamp(32px, 4vw, 52px); }
.head-center { text-align: center; }
.head-center .lead { margin-left: auto; margin-right: auto; }
.section-title { font: 600 var(--step-3)/1.06 var(--serif); margin: 0 0 14px; letter-spacing: -0.01em; text-wrap: balance; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--plum-2); max-width: 50ch; margin: 0; }
.ico { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Benefits */
.benefits { background: var(--ivory); }
.benefit-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.benefit { position: relative; background: #fffdf9; border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px 28px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.benefit:hover { transform: translateY(-4px); border-color: #e6c3b3; box-shadow: 0 24px 40px -28px rgba(116, 46, 72, .45); }
.benefit .ico { width: 46px; height: 46px; padding: 11px; border-radius: 50%; color: var(--rose); background: linear-gradient(160deg, #fff1df, #fbd9cf); margin-bottom: 18px; }
.benefit h3 { font: 600 1.55rem/1.15 var(--serif); margin: 0 0 8px; }
.benefit p { margin: 0; color: var(--plum-2); font-size: var(--step--1); line-height: 1.6; }
.benefit-main { grid-column: span 2; grid-row: span 1; color: #fff; border: 0; overflow: hidden; isolation: isolate; padding: 34px 32px;
  background: linear-gradient(150deg, var(--dusk) 0%, #7b2f5f 55%, #c8606b 100%); }
.benefit-main::before { content: ""; position: absolute; right: -60px; bottom: -90px; width: 260px; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(255, 214, 140, .8), rgba(240, 178, 74, .25) 45%, rgba(240, 178, 74, 0) 70%); animation: breathe-s 8s ease-in-out infinite; }
@keyframes breathe-s { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.benefit-main h3 { font-size: clamp(1.9rem, 3vw, 2.4rem); font-style: italic; max-width: 16ch; }
.benefit-main p { color: rgba(255,255,255,.88); font-size: var(--step-0); max-width: 44ch; }
.benefit-main .ico { color: var(--gold-hi); background: rgba(255,255,255,.12); }
.benefit-main a, .band-dusk a:not(.btn) { color: var(--gold-hi); }

/* A day with Act On Word: five moments along the sun's path */
.band-day { background: linear-gradient(180deg, var(--ivory), var(--ivory-2)); }
.sunpath { position: relative; }
.sunpath .arc { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 110px; overflow: visible; }
.sunpath .arc path { fill: none; stroke: url(#gArc); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 3000; stroke-dashoffset: 0; }
.day { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.day li { position: relative; padding-top: 128px; }
.day .mark { position: absolute; top: calc(var(--y) - 15px); left: calc(50% - 15px); width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle, var(--c1) 0 42%, var(--c2) 44% 100%); box-shadow: 0 0 0 7px var(--glow), 0 0 26px var(--glow); }
.t-dawn    { --c1: #ffe1c0; --c2: #e0796a; --glow: rgba(224,121,106,.2); }
.t-morning { --c1: #fff1cc; --c2: #f0a24f; --glow: rgba(240,162,79,.22); }
.t-noon    { --c1: #fff8de; --c2: #f0b24a; --glow: rgba(240,178,74,.26); }
.t-after   { --c1: #ffe9cc; --c2: #e88a5c; --glow: rgba(232,138,92,.22); }
.t-evening { --c1: #e4c9ef; --c2: #7a3e8f; --glow: rgba(122,62,143,.2); }
.day time { display: block; font: italic 600 1.45rem/1.2 var(--serif); color: var(--rose); margin-bottom: 6px; }
.day h3 { margin: 0 0 6px; font-size: var(--step-0); font-weight: 600; }
.day p { margin: 0; color: var(--plum-2); font-size: var(--step--1); line-height: 1.55; }

/* Inside the app */
.band-screens { background: var(--ivory-2); }
.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.screens figure { margin: 0; display: grid; justify-items: center; gap: 22px; text-align: center; }
.screens figcaption { max-width: 30ch; color: var(--plum-2); }
.screens figcaption b { display: block; font: 600 1.6rem/1.2 var(--serif); color: var(--plum); margin-bottom: 4px; }
.screens .phone { animation: float 8s ease-in-out infinite; }
.screens figure:nth-child(2) .phone { animation-delay: -2.6s; }
.screens figure:nth-child(3) .phone { animation-delay: -5.2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Phones (the app's screens, drawn in HTML) */
.phone { position: relative; width: 250px; aspect-ratio: 9 / 18.5; background: #241029; border-radius: 40px; padding: 10px;
  box-shadow: 0 40px 70px -28px rgba(74, 31, 78, .6), inset 0 0 0 2px rgba(255,255,255,.08); flex: none; }
.phone .notch { position: absolute; top: 16px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 10px; background: #241029; z-index: 2; }
.phone .screen { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: #fbf6fb; color: var(--plum); padding: 40px 14px 14px;
  font: 400 12px/1.4 var(--sans); display: flex; flex-direction: column; gap: 9px; text-align: left; }
.scr-top { display: flex; justify-content: space-between; align-items: center; }
.hello { font-weight: 700; font-size: 13px; }
.chip { background: #fff0d6; color: #864600; border-radius: 99px; padding: 2px 8px; font-weight: 700; font-size: 10.5px; white-space: nowrap; flex: none; }
.days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.days i { height: 5px; border-radius: 3px; background: #eadbe6; }
.days i.on { background: var(--coral); }
.video { position: relative; height: 128px; border-radius: 16px; padding: 12px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(circle at 78% 34%, #fff1c9 0 10px, var(--gold) 11px 18px, rgba(240,178,74,.35) 19px 30px, transparent 31px), linear-gradient(165deg, #3a1840, #7b2f5f 55%, #e0796a); }
.play { position: absolute; top: 14px; left: 14px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.92); }
.play::after { content: ""; position: absolute; left: 12px; top: 9px; border-left: 10px solid var(--rose); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.vt { font: italic 600 17px/1.15 var(--serif); }
.vs { font-size: 10.5px; opacity: .85; }
.scr-h, .scr-title { font-weight: 700; }
.scr-title { font-size: 15px; margin-bottom: 4px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ticks li { background: #fff; border-radius: 10px; padding: 7px 8px 7px 30px; position: relative; transition: color .3s; }
.ticks li::before { content: ""; position: absolute; left: 8px; top: 7px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #dcc6d6; box-sizing: border-box; }
.ticks li.done::before, .ticks li.loop::before { background: #2f9a5b; border-color: #2f9a5b; }
.ticks li.done::after, .ticks li.loop::after { content: ""; position: absolute; left: 13px; top: 10px; width: 3px; height: 6px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ticks li.done { color: var(--muted); }
/* the looping tick: unticked → ticked → a small "well done" → reset */
.ticks li.loop::before { animation: tickbg 6s ease-in-out infinite; }
.ticks li.loop::after { animation: tickmark 6s ease-in-out infinite; }
.ticks li.loop { animation: tickrow 6s ease-in-out infinite; }
@keyframes tickbg { 0%, 30% { background: transparent; border-color: #dcc6d6; } 38%, 92% { background: #2f9a5b; border-color: #2f9a5b; } 100% { background: transparent; border-color: #dcc6d6; } }
@keyframes tickmark { 0%, 34% { opacity: 0; } 40%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes tickrow { 0%, 30% { box-shadow: 0 0 0 0 rgba(47,154,91,0); } 40% { box-shadow: 0 0 0 3px rgba(47,154,91,.25); } 55%, 100% { box-shadow: 0 0 0 0 rgba(47,154,91,0); } }
.toast { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: var(--plum); color: #fff; border-radius: 99px; padding: 6px 14px; font-weight: 600; white-space: nowrap;
  opacity: 0; animation: toast 6s ease-in-out infinite; }
@keyframes toast { 0%, 38% { opacity: 0; transform: translate(-50%, 10px); } 46%, 80% { opacity: 1; transform: translate(-50%, 0); } 90%, 100% { opacity: 0; transform: translate(-50%, -6px); } }
.bub { max-width: 86%; padding: 8px 10px; border-radius: 14px; }
.bub.them { background: #fff; border-bottom-left-radius: 4px; }
.bub.me { align-self: flex-end; background: var(--violet-btn); color: #fff; border-bottom-right-radius: 4px; }
.typing { display: flex; gap: 4px; background: #fff; border-radius: 14px; border-bottom-left-radius: 4px; padding: 9px 11px; align-self: flex-start; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #c7a9bf; animation: dot 1.4s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.left { margin-top: auto; text-align: center; font-size: 10.5px; color: var(--muted); background: #fff; border-radius: 99px; padding: 4px; }
.streak { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; background: linear-gradient(135deg, #f0a24f, #d4596b); color: #fff; border-radius: 16px; padding: 12px; }
.streak b { font: 700 28px/1 var(--serif); grid-column: 2; }
.streak span:last-child { grid-column: 2; font-size: 11px; opacity: .92; }
.flame { grid-row: span 2; font-size: 30px; line-height: 1; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tiles div { background: #fff; border-radius: 12px; padding: 8px 10px; display: grid; }
.tiles b { font: 700 20px/1.1 var(--serif); }
.tiles div:first-child b { color: var(--rose); } .tiles div:last-child b { color: #1f7a45; }
.tiles span { font-size: 10.5px; color: var(--muted); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; align-items: end; height: 70px; background: #fff; border-radius: 12px; padding: 8px; }
.week i { height: calc(var(--v) * 100%); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--gold), var(--coral)); }
.badge-row { display: flex; gap: 8px; justify-content: center; margin-top: 2px; }
.badge-row span { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 3px rgba(255,255,255,.6); }
.b1 { background: var(--gold); } .b2 { background: var(--coral); } .b3 { background: var(--violet-btn); }

/* The Six-Day Challenge: six days on a path, from dawn to full light */
.band-challenge { background: var(--ivory); }
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.path::before, .path::after { content: ""; position: absolute; left: 24px; right: calc(100% / 6 - 24px); top: 23px; height: 3px; border-radius: 3px; }
.path::before { background: var(--line); }
.path::after { background: linear-gradient(90deg, #7b2f5f, var(--rose), var(--coral), #f0a24f, var(--gold)); transform-origin: left; }
.path li { position: relative; padding-right: 14px; z-index: 1; }
.path .dot { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 700 1.45rem/1 var(--serif); color: #fff; background: var(--c); box-shadow: 0 0 0 6px var(--ivory), 0 0 0 7px color-mix(in srgb, var(--c) 35%, transparent); }
.path li:nth-child(1) { --c: #7b2f5f; } .path li:nth-child(2) { --c: #a33f6c; } .path li:nth-child(3) { --c: #c4566c; }
.path li:nth-child(4) { --c: #e0796a; } .path li:nth-child(5) { --c: #f0a24f; } .path li:nth-child(6) { --c: var(--gold); }
.path li:nth-child(n+4) .dot { color: var(--night); }
.path li:nth-child(6) .dot { box-shadow: 0 0 0 6px var(--ivory), 0 0 0 7px rgba(240,178,74,.5), 0 0 30px 6px rgba(240,178,74,.55); }
.path h3 { margin: 16px 0 4px; font: 600 1.4rem/1.2 var(--serif); }
.path p { margin: 0; font-size: var(--step--1); color: var(--plum-2); }
.after-path { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.after-path p { margin: 0; color: var(--plum-2); }

/* See yourself grow: example chart */
.band-grow { background: linear-gradient(180deg, var(--ivory), var(--ivory-2)); }
.grow { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.grow .lead { margin-bottom: 28px; }
.grow-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.grow-list li { position: relative; padding-left: 28px; color: var(--plum-2); }
.grow-list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.grow-list b { color: var(--plum); }
.c-1 { --c: #7b2f5f; } .c-2 { --c: var(--rose); } .c-3 { --c: var(--coral); } .c-4 { --c: var(--gold); }
.chart { margin: 0; background: #fffdf9; border: 1px solid var(--line); border-radius: 24px; padding: 24px 22px 14px; box-shadow: 0 30px 60px -40px rgba(116, 46, 72, .45); }
.chart figcaption { display: grid; gap: 2px; margin-bottom: 8px; }
.chart figcaption b { font: 600 1.5rem/1.2 var(--serif); }
.chart figcaption span { font-size: var(--step--1); color: var(--muted); }
.chart-box { position: relative; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid line { stroke: #f1e3d9; stroke-width: 1; }
.chart text { font: 500 12px var(--sans); fill: var(--muted); }
.chart .yt { text-anchor: end; } .chart .xt { text-anchor: middle; }
.chart .area { fill: url(#gArea); }
.chart .line { fill: none; stroke: url(#gLine); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.chart .dot { fill: var(--rose); stroke: #fff; stroke-width: 2; }
.chart .hit { fill: transparent; }
.chart .pt { cursor: default; outline: none; }
.chart .pt:hover .dot, .chart .pt:focus .dot { r: 7; }
.chart .pt:focus-visible .dot { stroke: var(--violet-btn); stroke-width: 3; }
.chart .endlabel { text-anchor: end; fill: var(--plum); font-weight: 700; }
.tip { position: absolute; transform: translate(-50%, calc(-100% - 12px)); background: var(--plum); color: #fff; font-size: 13px; padding: 5px 10px; border-radius: 8px; white-space: nowrap; pointer-events: none; }

/* What's inside: two columns of plain statements */
.band-inside { background: var(--ivory-2); }
.inside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 64px; max-width: 1000px; }
.inside > div { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; align-content: start; }
.inside > div > :not(.ico) { grid-column: 2; }
.inside .ico { grid-row: span 3; width: 48px; height: 48px; padding: 12px; border-radius: 50%; color: var(--rose); background: #fffdf9; border: 1px solid #ecc9bd; }
.inside h3 { margin: 4px 0 4px; font: 600 1.55rem/1.2 var(--serif); }
.inside p { margin: 0; color: var(--plum-2); }
.langs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.langs span { border: 1px solid var(--line); background: #fffdf9; border-radius: 999px; padding: 2px 12px; font-size: var(--step--1); }

/* Churches: dusk closes the day */
.band-dusk { color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 34% 74%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 58% 14%, rgba(255,255,255,.7) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 88% 60%, #fff 50%, transparent 51%),
    radial-gradient(ellipse 60% 70% at 85% 120%, rgba(240, 162, 79, .55), rgba(240, 162, 79, 0) 70%),
    linear-gradient(170deg, var(--night) 0%, var(--dusk) 55%, #7b2f5f 100%); }
.band-dusk .lead { color: rgba(255,255,255,.86); margin-bottom: 30px; }
.band-dusk :focus-visible { outline-color: var(--gold); }
.churches { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.churches ul { list-style: none; margin: 0; padding: 26px 28px; border-radius: 22px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.churches li { position: relative; padding-left: 30px; margin: 12px 0; color: rgba(255,255,255,.9); }
.churches li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(240,178,74,.2), 0 0 14px rgba(240,178,74,.6); }

/* Final call to action */
.band-cta { overflow: hidden; isolation: isolate; text-align: center; background: linear-gradient(180deg, var(--ivory) 0%, var(--blush) 100%); }
.band-cta .dawn .glow { left: 50%; top: 100%; }
.cta { display: grid; justify-items: center; }
.cta .lead { margin-bottom: 30px; }
.cta .actions { justify-content: center; }

/* ── Scroll reveals (only when JavaScript runs; off for reduced motion) ── */
.js .reveal, .js .stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in, .js .stagger.in > * { opacity: 1; transform: none; }
/* the sun's path draws itself, then the moments light up */
.js .sunpath .arc path { stroke-dashoffset: 3000; transition: stroke-dashoffset 2.2s var(--ease) .2s; }
.js .sunpath .mark { transform: scale(0); transition: transform .7s cubic-bezier(.3, 1.5, .5, 1) calc(.4s + var(--i) * .32s); }
.js .sunpath .day li > :not(.mark) { opacity: 0; transition: opacity .8s var(--ease) calc(.5s + var(--i) * .32s); }
.js .sunpath.in .arc path { stroke-dashoffset: 0; }
.js .sunpath.in .mark { transform: none; }
.js .sunpath.in .day li > :not(.mark) { opacity: 1; }
/* the challenge line grows from day 1 to day 6 */
.js .path::after { transform: scaleX(0); transition: transform 2.4s var(--ease) .3s; }
.js .path li { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(.3s + var(--i) * .38s); }
.js .path.in::after { transform: none; }
.js .path.in li { opacity: 1; transform: none; }
.js .path.reveal { opacity: 1; transform: none; }
/* the chart line draws */
.js .chart .line { stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease) .4s; }
.js .chart .area { opacity: 0; transition: opacity 1.2s ease 1.4s; }
.js .chart .pt, .js .chart .endlabel { opacity: 0; transition: opacity .5s ease calc(.5s + var(--i, 5) * .28s); }
.js .chart.in .line { stroke-dashoffset: 0; }
.js .chart.in .area, .js .chart.in .pt, .js .chart.in .endlabel { opacity: 1; }

/* hero entrance: one gentle sequence on load */
.hero-text > *, .hero-media { animation: rise .95s var(--ease) both; }
.hero-side { animation-delay: .18s; }
.hero-media { animation-delay: .32s; }
.facts { animation: rise .95s var(--ease) .5s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ── Reading pages (privacy, terms, support…) ── */
.page-head { position: relative; isolation: isolate; padding: calc(72px + clamp(40px, 7vw, 88px)) 0 clamp(28px, 4vw, 44px); margin-bottom: 12px; }
.page-head::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw;
  background: radial-gradient(ellipse 50% 90% at 85% 100%, rgba(246, 176, 104, .4), rgba(246, 176, 104, 0) 70%), linear-gradient(180deg, var(--blush), var(--ivory)); }
.page-head h1 { font: 600 var(--step-4)/1.04 var(--serif); margin: 0 0 14px; letter-spacing: -0.015em; text-wrap: balance; }
.page-head p { color: var(--plum-2); margin: 0; font-size: var(--step-1); max-width: 54ch; }
.page-head::after { content: ""; display: block; width: 72px; height: 3px; border-radius: 3px; margin-top: 26px; background: var(--sunrise); }
.prose { max-width: var(--measure); padding-bottom: 88px; }
.prose h2 { font: 600 2rem/1.15 var(--serif); margin: 2em 0 0.45em; }
.prose h3 { font-size: var(--step-1); margin: 1.6em 0 0.4em; }
.prose p, .prose li { color: var(--plum-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.4em 0; }
.prose li::marker { color: var(--coral); }
.prose table { border-collapse: collapse; width: 100%; font-size: var(--step--1); margin: 1em 0; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--line); padding: 9px 10px 9px 0; vertical-align: top; }
.prose th { color: var(--plum); }
.callout { background: #fffdf9; border: 1px solid var(--line); border-left: 4px solid var(--coral); padding: 18px 22px; border-radius: 4px 18px 18px 4px; margin: 1.6em 0; box-shadow: 0 20px 40px -34px rgba(116, 46, 72, .5); }
.callout p { margin: 0.3em 0; color: var(--plum); }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 50px; margin: 18px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--sunrise); color: var(--night); display: grid; place-items: center; font: 700 1.2rem/1 var(--serif); }

details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; color: var(--plum); list-style: none; position: relative; padding-right: 32px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: .45em; width: 9px; height: 9px; border: solid var(--rose); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .3s var(--ease); }
details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
details p { margin: 10px 0 0; }

form.stack { display: grid; gap: 14px; max-width: 520px; margin: 1.2em 0; }
label { font-weight: 600; display: grid; gap: 6px; color: var(--plum); }
input, textarea, select { font: inherit; padding: 11px 13px; border: 1px solid #dcc3b7; border-radius: 12px; background: #fffdf9; color: var(--plum); }
input:focus-visible, textarea:focus-visible { border-color: var(--violet-btn); }
textarea { min-height: 96px; resize: vertical; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--plum-2); }
label.check input { margin-top: 5px; }

/* Pricing table */
.price-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.98rem; }
.price-table th, .price-table td { text-align: left; padding: 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { font-weight: 700; background: var(--ivory-2); }
.price-table td:nth-child(2) { white-space: nowrap; font-weight: 600; color: var(--rose); }

/* ── Footer ── */
.site-foot { background: var(--ivory-2); border-top: 1px solid var(--line); padding: 56px 0 36px; font-size: var(--step--1); color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-foot h2 { font: 600 1.3rem/1.2 var(--serif); color: var(--plum); margin: 0 0 10px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 7px 0; }
.site-foot a { color: var(--plum-2); text-decoration: none; overflow-wrap: break-word; }
.site-foot a:hover { color: var(--violet); text-decoration: underline; }
.foot-about img { width: 92px; height: auto; }
.foot-verse { font: italic 500 1.35rem/1.3 var(--serif); color: var(--plum); max-width: 24ch; margin: 14px 0 0; }
.foot-verse span { display: block; font: 400 var(--step--1)/1.4 var(--sans); font-style: normal; color: var(--muted); margin-top: 6px; }
.foot-business { position: relative; margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.foot-business::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line); }
.foot-business address { font-style: normal; display: flex; flex-wrap: wrap; gap: 4px 28px; color: var(--plum-2); }
.foot-business p { margin: 0; }

/* Notice bar (text from the CRM) and test preview bar */
.notice-bar { background: #fde8c8; color: #6b3200; text-align: center; padding: 10px 16px; font-size: 15px; line-height: 1.45; white-space: pre-line; }
.notice-bar[hidden] { display: none; }
.preview-bar { background: var(--plum); color: #fff; text-align: center; padding: 6px 12px; font-size: 13px; }
.preview-bar a { color: var(--gold-hi); }

/* ── Narrower screens ── */
@media (max-width: 1040px) {
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screens { grid-template-columns: 1fr; gap: 52px; }
  .grow { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -24px rgba(52,22,58,.4);
    flex-direction: column; align-items: flex-start; padding: 14px var(--gutter) 22px; gap: 16px; }
  .nav.open { display: flex; }
  .hero-grid, .churches { grid-template-columns: 1fr; }
  .hero-media { margin-top: 4px; }
  .dawn .glow, .dawn .rays { left: 50%; top: 78%; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .inside { grid-template-columns: 1fr; }
  .sunpath .arc { display: none; }
  .day { grid-template-columns: 1fr; gap: 28px; position: relative; }
  .day::before { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--coral), var(--gold) 50%, #7a3e8f); border-radius: 2px; transform-origin: top; }
  .js .sunpath .day::before { transform: scaleY(0); transition: transform 2s var(--ease) .2s; }
  .js .sunpath.in .day::before { transform: none; }
  .day li { padding: 0 0 0 52px; }
  .day .mark { top: 2px; left: 0; }
  .path { grid-template-columns: 1fr; gap: 20px; }
  .path::before, .path::after { left: 23px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; }
  .path::after { background: linear-gradient(180deg, #7b2f5f, var(--rose), var(--coral), #f0a24f, var(--gold)); transform-origin: top; }
  .js .path::after { transform: scaleY(0); }
  .path li { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: center; }
  .path .dot { grid-row: span 2; }
  .path h3 { margin: 0; }
  .path p { grid-column: 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-main { grid-column: auto; padding: 28px 24px; }
  .benefit { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; align-items: center; padding: 22px 20px; }
  .benefit .ico { margin: 0; }
  .benefit h3 { margin: 0; }
  .benefit p { grid-column: 1 / -1; margin-top: 10px; }
  .benefit-main { padding: 28px 22px; }
  .foot-grid { column-gap: 16px; }
  .phone { width: 236px; }
  .btn { padding: 13px 22px; }
  .actions .btn { flex: 1 1 auto; }
  .film-arch { padding: 42% 12px 12px; }
  .yt-play { width: 62px; height: 62px; margin: -31px 0 0 -31px; }
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
  .price-table thead { display: none; }
  .price-table tr { padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
  .price-table td { border: 0; padding: 0.15rem 0; }
}

/* ── Reduced motion: no animation, everything visible ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .stagger > *, .js .path li, .js .sunpath .day li > :not(.mark), .js .chart .area, .js .chart .pt, .js .chart .endlabel { opacity: 1 !important; transform: none !important; }
  .js .sunpath .mark, .js .path::after, .js .sunpath .day::before { transform: none !important; }
  .js .sunpath .arc path, .js .chart .line { stroke-dashoffset: 0 !important; }
  .toast { opacity: 0; }
}
