/* Bondowosopedia landing page. Tokens mirror lib/core/theme/app_colors.dart. */

@font-face { font-family: "Nunito Sans"; font-weight: 400; font-display: swap; src: url(/assets/fonts/nunito-sans-regular.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 600; font-display: swap; src: url(/assets/fonts/nunito-sans-semibold.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-display: swap; src: url(/assets/fonts/nunito-sans-bold.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 800; font-display: swap; src: url(/assets/fonts/nunito-sans-extrabold.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 900; font-display: swap; src: url(/assets/fonts/nunito-sans-black.woff2) format("woff2"); }

:root {
  --cream: #FFFAF5;
  --surface: #FFFEFC;
  --ink: #26372B;
  --muted: #718075;
  --green: #315B3D;
  --green-light: #6F9271;
  --green-dark: #244631;
  --night: #17251B;
  --night-2: #203126;
  --sage: #AFC7A8;
  --sage-soft: #EAF3E6;
  --peach-soft: #FFF0E5;
  --blue-soft: #EAF3F7;
  --lilac-soft: #F2EAF7;
  --honey-soft: #FEF6E0;
  --honey: #F4C566;
  --peach: #F5B58B;
  --lilac: #C7A8DB;
  --blue: #9CC7E1;
  --line: #E7EDE5;
  --radius: 28px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.08; }
h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 900; }
h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; }
p { margin: 0; }
::selection { background: var(--honey); color: var(--ink); }

.skip { position: absolute; left: -999px; top: 12px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section__head { max-width: 680px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section__head p:last-child { margin-top: 18px; color: var(--muted); font-size: 19px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  color: var(--green); font-size: 13px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--sage); }

/* ---------- contours ---------- */
.contours { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.contours path { fill: none; stroke: var(--sage); stroke-width: 1.2; vector-effect: non-scaling-stroke; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, transform .4s var(--ease); }
.nav__inner { max-width: var(--wrap); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 24px; }
.nav.is-scrolled { background: rgba(255, 250, 245, .78); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 rgba(38, 55, 43, .07); }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 19px; letter-spacing: -.02em; }
.brand img { border-radius: 10px; box-shadow: 0 2px 8px rgba(38, 55, 43, .14); }
.nav__links { margin-left: auto; display: flex; gap: 6px; }
.nav__links a { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--muted); padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--ink); background: var(--sage-soft); }
.nav__cta { text-decoration: none; font-weight: 800; font-size: 15px; background: var(--green); color: #fff; padding: 10px 18px; border-radius: 999px; transition: transform .2s var(--spring), background .2s; }
.nav__cta:hover { transform: translateY(-2px); background: var(--green-dark); }

/* ---------- store buttons ---------- */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 24px 0 20px;
  border-radius: 18px; color: #fff; text-decoration: none; font-weight: 800; font-size: 18px; line-height: 1.1;
  transition: transform .25s var(--spring), box-shadow .25s; box-shadow: 0 10px 24px -12px rgba(23, 37, 27, .55);
}
.store:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -14px rgba(23, 37, 27, .6); }
.store:active { transform: scale(.98); }
.store svg { width: 24px; height: 26px; fill: #fff; flex: none; }
.store small { display: block; font-size: 11.5px; font-weight: 600; opacity: .78; letter-spacing: .01em; }
.store--apple { background: #0b0b0b; }
.store--play { background: var(--green); }
.stores.is-android .store--play { order: -1; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; }
.hero .contours { opacity: .9; }
.hero__inner { position: relative; max-width: var(--wrap); width: 100%; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.hero__title { font-size: clamp(46px, 7.4vw, 96px); font-weight: 900; letter-spacing: -.035em; line-height: .98; }
.hero__title .line { display: block; }
.hero__title .line:nth-child(2) { --delay: .12s; }
.scribble { position: relative; font-style: normal; color: var(--green); white-space: nowrap; }
.scribble svg { position: absolute; left: -2%; right: -2%; bottom: -.12em; width: 104%; height: .28em; overflow: visible; }
.scribble path { fill: none; stroke: var(--honey); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 360; stroke-dashoffset: 360; transition: stroke-dashoffset 1.4s .9s var(--ease); }
.is-in .scribble path, .hero.is-ready .scribble path { stroke-dashoffset: 0; }
.hero__lead { margin: 28px 0 34px; max-width: 520px; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); --delay: .22s; }
.hero .stores { --delay: .32s; }
.hero__facts { --delay: .42s; list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: var(--muted); }
.hero__facts li { position: relative; padding-left: 16px; }
.hero__facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); }
.hero__facts b { color: var(--ink); }

.hero__stage { position: relative; height: min(720px, 78svh); min-height: 560px; --mx: 0; --my: 0; }
.halo { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 197, 102, .38), rgba(244, 197, 102, 0) 62%); filter: blur(10px); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }

/* depth parallax: --d is the layer depth */
.hero__stage > * { transform: translate3d(calc(var(--mx) * var(--d, 0) * 6px), calc(var(--my) * var(--d, 0) * 6px), 0); transition: transform .5s var(--ease); }

/* ---------- phone ---------- */
.phone { position: relative; width: 300px; aspect-ratio: 620 / 1370; border-radius: 48px; padding: 11px; background: linear-gradient(145deg, #2b3a30, #0f1712 55%, #24332a);
  box-shadow: 0 0 0 1.5px #3c4b41 inset, 0 40px 80px -30px rgba(23, 37, 27, .55), 0 18px 36px -18px rgba(23, 37, 27, .45); }
.phone::before { content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 64px; border-radius: 0 3px 3px 0; background: #1d2a22; }
.phone__screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: var(--cream); display: flex; flex-direction: column; }
.phone__bar { position: relative; z-index: 3; height: 34px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 4px 26px 0 30px; font-size: 13px; font-weight: 800; color: var(--ink); background: var(--cream); transition: background .5s, color .5s; }
.phone__bar::before { content: ""; position: absolute; left: 50%; top: 8px; width: 86px; height: 24px; translate: -50% 0; border-radius: 20px; background: #0b0f0c; }
.phone__bar i { width: 42px; height: 11px; background:
  linear-gradient(currentColor, currentColor) 0 100% / 3px 4px no-repeat,
  linear-gradient(currentColor, currentColor) 5px 100% / 3px 6px no-repeat,
  linear-gradient(currentColor, currentColor) 10px 100% / 3px 8px no-repeat,
  linear-gradient(currentColor, currentColor) 15px 100% / 3px 11px no-repeat;
  position: relative; }
.phone__bar i::after { content: ""; position: absolute; right: 0; top: 1px; width: 20px; height: 10px; border: 1.5px solid currentColor; border-radius: 3px; background: linear-gradient(currentColor, currentColor) 1px 1px / 12px 5px no-repeat; }
.phone__screen > img, .phone__stack { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top; }

.phone--hero { position: absolute; left: 50%; top: 50%; margin: -320px 0 0 -150px; width: 300px; height: auto; rotate: -4deg; }
.hero__mascot { position: absolute; width: 190px; left: calc(50% - 300px); bottom: -1%; z-index: 4; filter: drop-shadow(0 18px 20px rgba(38, 55, 43, .25)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -10px; } }

.float { position: absolute; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px;
  background: rgba(255, 254, 252, .86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 20px 40px -18px rgba(38, 55, 43, .35), 0 0 0 1px rgba(38, 55, 43, .06);
  font-size: 15px; line-height: 1.2; white-space: nowrap; animation: drift 9s ease-in-out infinite; }
.float small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.float b { font-weight: 800; }
.float__icon { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-soft); flex: none; }
.float__icon svg { width: 24px; height: 24px; fill: none; stroke: #2563EB; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.float__icon svg circle { fill: #F4C566; stroke: #E0A82E; }
.float__icon--honey { background: var(--honey-soft); }
.float__icon--honey svg { stroke: #B7791F; fill: rgba(244, 197, 102, .45); }
.float--weather { left: 2%; top: 12%; }
.float--prayer { right: -2%; top: 30%; animation-delay: -3s; }
.float--report { right: 0; bottom: 18%; animation-delay: -5s; white-space: normal; width: 270px; }
.float--report small { margin: 3px 0 0; }
.float--volcano { left: -4%; top: 35%; animation-delay: -1.5s; }
@keyframes drift { 50% { translate: 0 -8px; } }
.pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 900; flex: none; }
.pill--done { background: #E3F4E4; color: #2E7D32; }
.pill--done::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4CAF50; margin-right: 6px; box-shadow: 0 0 0 4px rgba(76, 175, 80, .2); animation: ping 2s ease-out infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(76, 175, 80, 0); } 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); } }
.lvl { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-weight: 900; font-size: 15px; flex: none; color: #fff; background: #4CAF50; font-family: Georgia, serif; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 28px; height: 46px; border-radius: 16px; border: 2px solid rgba(38, 55, 43, .25); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 4px; background: var(--green); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- ribbon ---------- */
.ribbon { background: var(--green); color: #fff; padding: 22px 0; overflow: hidden; position: relative; rotate: -1.2deg; margin: 0 -2%; box-shadow: 0 20px 40px -24px rgba(23, 37, 27, .5); }
.ribbon__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.ribbon__track--rev { animation-direction: reverse; animation-duration: 75s; margin-top: 10px; opacity: .55; }
.ribbon__track span { font-size: clamp(22px, 2.6vw, 32px); font-weight: 900; letter-spacing: -.01em; padding: 0 22px; white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.ribbon__track span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--honey); }
.ribbon__track--rev span { font-size: clamp(16px, 1.7vw, 20px); font-weight: 700; }
.ribbon__track--rev span::after { background: var(--sage); width: 6px; height: 6px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- quick grid ---------- */
.quick__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.qcard { position: relative; background: var(--surface); border-radius: var(--radius); padding: 26px 24px 28px; box-shadow: 0 0 0 1px var(--line), 0 18px 34px -30px rgba(38, 55, 43, .5);
  transition: transform .35s var(--spring), box-shadow .35s; overflow: hidden; }
.qcard::before { content: ""; position: absolute; inset: 0 0 auto; height: 130px; background: var(--tint); border-radius: var(--radius) var(--radius) 50% 50% / var(--radius) var(--radius) 22px 22px; transition: height .4s var(--ease); }
.qcard:hover { transform: translateY(-8px); box-shadow: 0 0 0 1px var(--line), 0 32px 46px -30px rgba(38, 55, 43, .55); }
.qcard:hover::before { height: 150px; }
.qcard img { position: relative; width: 92px; height: 92px; margin: 2px 0 34px; transition: transform .45s var(--spring); filter: drop-shadow(0 10px 12px rgba(38, 55, 43, .18)); }
.qcard:hover img { transform: rotate(-7deg) scale(1.1); }
.qcard b { position: relative; display: block; font-size: 21px; font-weight: 900; letter-spacing: -.01em; }
.qcard span { position: relative; display: block; margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.quick__grid .qcard:nth-child(4n+2) { --delay: .06s; } .quick__grid .qcard:nth-child(4n+3) { --delay: .12s; } .quick__grid .qcard:nth-child(4n) { --delay: .18s; }

/* ---------- story ---------- */
.story { position: relative; padding: 40px 0 120px; }
.story__bg { position: absolute; inset: 0; background: var(--story-tint, var(--blue-soft)); transition: background-color .9s var(--ease); }
.story__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.story__stage { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; }
.contours--story { opacity: .9; }
.contours--story path { stroke: var(--story-accent, var(--green)); opacity: .18; transition: stroke .8s; }
.phone--story { width: min(320px, 27vw); transform: rotate(-3deg); transition: transform 1s var(--ease); }
.story[data-active="1"] .phone--story, .story[data-active="3"] .phone--story, .story[data-active="5"] .phone--story { transform: rotate(3deg); }
.phone__stack { position: relative; }
.phone__stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.phone__stack img.is-active { opacity: 1; transform: none; }
.phone__stack img.was-active { opacity: 0; transform: translateY(-24px) scale(.98); }
.story.is-dark-bar .phone--story .phone__bar { background: #2f3b3b; color: #fff; }
.story.is-dim-bar .phone--story .phone__bar { background: #75736f; }
.story__mascots { position: absolute; left: calc(50% - min(320px, 27vw) / 2 - 150px); bottom: 10svh; width: 200px; height: 200px; }
.story__mascots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: translateY(30px) rotate(-8deg) scale(.85); transition: opacity .5s, transform .7s var(--spring); filter: drop-shadow(0 16px 18px rgba(38, 55, 43, .22)); }
.story__mascots img.is-active { opacity: 1; transform: none; }
.story__steps { padding: 18svh 0 30svh; }
.step { min-height: 74svh; display: flex; flex-direction: column; justify-content: center; max-width: 480px; opacity: .25; transition: opacity .6s var(--ease); }
.step.is-active { opacity: 1; }
.step__phone { display: none; }
.step__kicker { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--story-accent, var(--green)); margin-bottom: 18px; transition: color .6s; }
.step__kicker span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff; box-shadow: 0 6px 16px -8px rgba(38, 55, 43, .4); letter-spacing: 0; font-size: 14px; color: var(--ink); }
.step h3 { margin-bottom: 18px; }
.step p { font-size: 19px; color: #4c5c50; }
.timeline { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 8px; flex-wrap: wrap; counter-reset: s; }
.timeline li { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 12px; border-radius: 999px; background: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 0 0 1px var(--line); opacity: .35; transform: translateY(6px); transition: opacity .4s, transform .4s var(--spring); }
.timeline li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.step.is-active .timeline li { opacity: 1; transform: none; }
.step.is-active .timeline li:nth-child(2) { transition-delay: .35s; } .step.is-active .timeline li:nth-child(3) { transition-delay: .7s; } .step.is-active .timeline li:nth-child(4) { transition-delay: 1.05s; }

/* ---------- notifications ---------- */
.notif { overflow: hidden; }
.notif__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.notif__copy p:last-child { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 470px; }
.notif__stage { position: relative; min-height: 470px; padding: 20px 0 0 190px; }
.notif__mascot { position: absolute; left: -10px; bottom: -10px; width: 220px; z-index: 2; filter: drop-shadow(0 20px 22px rgba(38, 55, 43, .25)); }
.toast { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; margin-bottom: 14px; max-width: 470px; margin-left: auto;
  background: rgba(255, 254, 252, .9); border-radius: 22px; backdrop-filter: blur(16px); box-shadow: 0 0 0 1px rgba(38, 55, 43, .06), 0 24px 40px -26px rgba(38, 55, 43, .45);
  opacity: 0; transform: translateY(-26px) scale(.96); transition: opacity .6s var(--ease), transform .7s var(--spring); transition-delay: calc(var(--i) * .45s); }
.notif__stage.is-in .toast { opacity: 1; transform: none; }
.toast:nth-of-type(odd) { margin-right: 26px; }
.toast img { width: 40px; height: 40px; border-radius: 11px; flex: none; }
.toast span { flex: 1; min-width: 0; line-height: 1.3; }
.toast b { display: block; font-size: 15.5px; font-weight: 800; }
.toast small { display: block; color: var(--muted); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.toast time { align-self: flex-start; font-size: 12px; color: var(--muted); font-weight: 600; }

/* ---------- night ---------- */
.night { position: relative; background: radial-gradient(120% 90% at 50% 100%, #24402c 0%, var(--night) 55%, #101a13 100%); color: #F6F4ED; padding: clamp(100px, 12vw, 170px) 0; overflow: hidden; }
.contours--night path { stroke: #6F9271; opacity: .35; }
.stars { position: absolute; inset: 0 0 45%; background-image:
  radial-gradient(1.4px 1.4px at 12% 22%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 28% 12%, #fff 50%, transparent 52%),
  radial-gradient(1.2px 1.2px at 46% 30%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 63% 8%, #fff 50%, transparent 52%),
  radial-gradient(1.6px 1.6px at 78% 26%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 90% 14%, #fff 50%, transparent 52%),
  radial-gradient(1px 1px at 36% 44%, #fff 50%, transparent 52%), radial-gradient(1.3px 1.3px at 6% 40%, #fff 50%, transparent 52%),
  radial-gradient(1px 1px at 55% 50%, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 85% 46%, #fff 50%, transparent 52%);
  opacity: .55; animation: twinkle 6s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .25; } }
.night__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.night__copy > p { margin-top: 22px; font-size: 19px; color: #C9D5CB; }
.levels { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.levels li { position: relative; padding: 14px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset; font-weight: 800; font-size: 14px; color: #DCE5DD; text-align: center; overflow: hidden; }
.levels li::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--c); box-shadow: 0 0 18px var(--c); }
.levels b { display: block; font-family: Georgia, serif; font-size: 26px; color: var(--c); margin-bottom: 2px; }
.night__note { font-size: 16px !important; color: #9FB0A3 !important; }
.night__stage { position: relative; height: 680px; }
.night { padding-bottom: clamp(220px, 22vw, 320px); }
.ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(170px, 20vw, 290px); z-index: 1; overflow: visible; pointer-events: none; }
.ridge__line { fill: none; stroke: #AFC7A8; stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 3s var(--ease); }
.ridge__line--far { stroke-opacity: .35; stroke-width: 1.5; }
.ridge.is-in .ridge__line { stroke-dashoffset: 0; }
.ridge__fill { fill: #101a13; }
.ridge__dot { fill: #F4C566; filter: drop-shadow(0 0 8px #F4C566); animation: ping2 2.4s ease-in-out infinite; }
.ridge text { fill: #DCE5DD; font: 800 14px "Nunito Sans", sans-serif; letter-spacing: .02em; }
@keyframes ping2 { 50% { opacity: .5; } }
.phone--night { position: absolute; width: 290px; left: 50%; top: 0; margin-left: -60px; z-index: 2; rotate: 4deg; box-shadow: 0 0 0 1.5px #3c4b41 inset, 0 50px 90px -30px rgba(0, 0, 0, .8); }
.phone--back { margin-left: -250px; top: 70px; rotate: -6deg; z-index: 1; filter: brightness(.82); }

/* ---------- tiers ---------- */
.tiers { background: linear-gradient(var(--cream), var(--honey-soft) 60%, var(--cream)); }
.tiers__path { position: relative; }
.tiers__path svg { position: absolute; left: 0; right: 0; top: 30px; width: 100%; height: 220px; overflow: visible; }
.tiers__path path { fill: none; stroke: var(--green); stroke-width: 3; stroke-dasharray: 10 12; stroke-linecap: round; opacity: .35; }
.tiers__path ol { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tier { text-align: center; }
.tier:nth-child(odd) { padding-top: 90px; } .tier:nth-child(even) { padding-top: 0; }
.tier:nth-child(2) { --delay: .08s; } .tier:nth-child(3) { --delay: .16s; } .tier:nth-child(4) { --delay: .24s; } .tier:nth-child(5) { --delay: .32s; } .tier:nth-child(6) { --delay: .40s; }
.tier img { width: 128px; height: 128px; margin: 0 auto 14px; border-radius: 50%; box-shadow: 0 18px 30px -16px rgba(38, 55, 43, .5); transition: transform .45s var(--spring); }
.tier:hover img { transform: translateY(-8px) rotate(-6deg) scale(1.06); }
.tier b { display: block; font-size: 17px; font-weight: 900; line-height: 1.2; }
.tier span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.tier--legend img { box-shadow: 0 0 0 6px rgba(244, 197, 102, .45), 0 24px 40px -14px rgba(183, 121, 31, .6); }

/* ---------- numbers ---------- */
.numbers { background: var(--green); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.numbers::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 10% 0%, rgba(244, 197, 102, .18), transparent 60%), radial-gradient(50% 100% at 90% 100%, rgba(156, 199, 225, .16), transparent 60%); }
.numbers__grid { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; }
.num b { display: block; font-size: clamp(44px, 5.4vw, 72px); font-weight: 900; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.num span { display: block; margin-top: 10px; color: #CFE0D2; font-weight: 700; font-size: 15px; }
.num:nth-child(2) { --delay: .07s; } .num:nth-child(3) { --delay: .14s; } .num:nth-child(4) { --delay: .21s; } .num:nth-child(5) { --delay: .28s; }

/* ---------- crew ---------- */
.crew__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: end; }
.buddy { position: relative; text-align: center; }
.buddy:nth-child(2) { --delay: .06s; } .buddy:nth-child(3) { --delay: .12s; } .buddy:nth-child(4) { --delay: .18s; } .buddy:nth-child(5) { --delay: .24s; } .buddy:nth-child(6) { --delay: .30s; }
.buddy img { width: 100%; max-width: 190px; margin: 0 auto; transform: rotate(var(--r)); transition: transform .5s var(--spring); filter: drop-shadow(0 16px 16px rgba(38, 55, 43, .2)); cursor: pointer; }
.buddy:hover img, .buddy:focus-within img { transform: rotate(0) translateY(-14px) scale(1.06); }
.buddy q { position: absolute; left: 50%; top: -6px; translate: -50% -100%; quotes: none; white-space: nowrap; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; padding: 9px 14px; border-radius: 16px; opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .25s, transform .35s var(--spring); pointer-events: none; }
.buddy q::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -7px; border: 7px solid transparent; border-bottom: 0; border-top-color: var(--ink); }
.buddy:hover q, .buddy:focus-within q, .buddy.is-talking q { opacity: 1; transform: none; }

/* ---------- trust ---------- */
.trust { padding-top: 0; padding-bottom: clamp(60px, 7vw, 100px); }
.trust__card { display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: center; background: var(--surface); border-radius: 36px; padding: 44px 52px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -44px rgba(38, 55, 43, .55); position: relative; overflow: hidden; }
.trust__card::before { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: var(--sage-soft); }
.trust__card > * { position: relative; }
.trust__card h2 { font-size: clamp(28px, 3.4vw, 40px); }
.trust__card p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 18px; }
.trust__contact a { color: var(--green); font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--honey); }

/* ---------- final ---------- */
.final { position: relative; overflow: hidden; padding: clamp(60px, 8vw, 110px) 0 0; background: linear-gradient(var(--cream), var(--sage-soft)); }
.contours--final path { stroke: var(--green); opacity: .12; }
.final__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: end; }
.final__art { width: 100%; max-width: 470px; margin: 0 auto -6px; }
.final__copy { padding-bottom: clamp(70px, 9vw, 130px); }
.final__copy h2 { font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -.035em; }
.final__copy > p { margin: 20px 0 32px; font-size: 20px; color: var(--muted); max-width: 470px; }
.qr { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding: 14px 20px 14px 14px; border-radius: 22px; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px var(--line); max-width: 430px; }
.qr img { width: 96px; height: 96px; padding: 8px; background: #fff; border-radius: 14px; flex: none; }
.qr span { font-size: 15px; color: var(--muted); line-height: 1.45; }
.qr b { display: block; color: var(--ink); font-size: 16px; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: #C9D5CB; padding: 56px 0 34px; }
.foot .brand { color: #fff; }
.foot__grid { display: flex; flex-wrap: wrap; gap: 28px 60px; justify-content: space-between; align-items: flex-start; }
.foot__brand p { margin-top: 10px; color: #9FB0A3; font-weight: 700; }
.foot__links { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 36px; }
.foot__links a { color: #DCE5DD; text-decoration: none; font-weight: 700; font-size: 15px; }
.foot__links a:hover { color: var(--honey); }
.foot__fine { margin-top: 40px; padding-top: 22px; border-top: 1px solid #2B3D30; display: flex; flex-wrap: wrap; gap: 8px 30px; justify-content: space-between; font-size: 13px; color: #8A9C8E; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 10px; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero .stores, .hero__facts { justify-content: center; }
  .eyebrow { justify-content: center; }
  .hero__stage { height: 640px; min-height: 0; max-width: 560px; width: 100%; margin: 20px auto 0; }
  .quick__grid { grid-template-columns: repeat(2, 1fr); }
  .notif__grid, .night__grid, .final__grid { grid-template-columns: 1fr; }
  .notif__copy, .night__copy, .final__copy { text-align: center; }
  .notif__copy p:last-child, .final__copy > p { margin-left: auto; margin-right: auto; }
  .final .stores { justify-content: center; }
  .qr { margin-left: auto; margin-right: auto; text-align: left; }
  .final__art { max-width: 380px; order: 2; }
  .night__stage { max-width: 560px; width: 100%; margin: 0 auto; }
  .numbers__grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .crew__row { grid-template-columns: repeat(3, 1fr); row-gap: 60px; }
  .tiers__path ol { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .tiers__path svg { display: none; }
  .tier:nth-child(n) { padding-top: 0; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .scroll-cue { display: none; }

  /* Story on phones: the phone stays pinned in the top half and swaps
     screens while each chapter's text scrolls up underneath it. */
  .story { padding: 0 0 40px; }
  .story__grid { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .story__stage { display: grid; position: sticky; top: 0; z-index: 2; height: 60svh; padding-top: 58px;
    background: var(--story-tint, var(--blue-soft)); transition: background-color .9s var(--ease);
    box-shadow: 0 18px 22px -10px var(--story-tint, var(--blue-soft)); }
  .story__stage .contours { overflow: hidden; }
  .phone--story { width: min(230px, calc((60svh - 84px) * .452)); padding: 8px; border-radius: 36px; }
  .phone--story .phone__screen { border-radius: 29px; }
  .phone--story .phone__bar { height: 26px; font-size: 11px; padding: 2px 20px 0 24px; }
  .phone--story .phone__bar::before { width: 64px; height: 18px; top: 5px; }
  .story__mascots { width: 104px; height: 104px; left: calc(50% - min(230px, calc((60svh - 84px) * .452)) / 2 - 78px); bottom: 7%; }
  .story__steps { position: relative; z-index: 1; padding: 5svh 24px 2svh; }
  .step:last-child { min-height: 38svh; }
  .step { min-height: 46svh; max-width: 520px; margin: 0 auto; justify-content: flex-start; padding-top: 4svh; text-align: left; opacity: .2; }
  .step.is-active { opacity: 1; }
  .step__phone { display: none; }
  .step h3 { font-size: 27px; margin-bottom: 12px; }
  .step p { font-size: 16.5px; }
  .step__kicker { margin-bottom: 12px; }
  .timeline { margin-top: 18px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  h2 { font-size: 34px; }
  .section { padding: 76px 0; }
  .section__head { margin-bottom: 36px; }
  .section__head p:last-child { font-size: 17px; }

  /* hero: copy, then a compact stage that already peeks into view */
  .hero { min-height: 0; padding: 92px 0 36px; display: block; }
  .hero__title { font-size: 47px; }
  .hero__lead { margin: 18px auto 24px; font-size: 16.5px; max-width: 340px; }
  .hero .stores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .store { height: 54px; padding: 0 10px; gap: 9px; font-size: 16px; justify-content: center; border-radius: 16px; }
  .store svg { width: 20px; height: 22px; }
  .store small { font-size: 10.5px; }
  .hero__facts { margin-top: 18px; gap: 6px 16px; font-size: 14px; }
  .hero__stage { height: 500px; margin-top: 18px; }
  .halo { width: 360px; height: 360px; }
  .phone--hero { width: 226px; margin: -250px 0 0 -113px; padding: 9px; border-radius: 40px; }
  .phone--hero .phone__screen { border-radius: 32px; }
  .phone--hero .phone__bar { height: 28px; font-size: 11.5px; padding: 3px 22px 0 26px; }
  .phone--hero .phone__bar::before { width: 70px; height: 20px; top: 6px; }
  .hero__mascot { width: 128px; left: calc(50% - 196px); bottom: 2%; }
  .float { font-size: 13px; padding: 8px 13px 8px 8px; gap: 8px; border-radius: 16px; }
  .float small { font-size: 11px; }
  .float__icon, .lvl { width: 32px; height: 32px; border-radius: 11px; }
  .float__icon svg { width: 20px; height: 20px; }
  .float--weather { left: calc(50% - 186px); top: 7%; }
  .float--prayer, .float--volcano { display: none; }
  .float--report { width: 200px; right: calc(50% - 190px); bottom: 12%; padding: 10px 12px; }
  .float--report .pill { display: none; }
  .float--report b::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4CAF50; margin-right: 6px; vertical-align: 2px; box-shadow: 0 0 0 3px rgba(76, 175, 80, .2); }

  .ribbon { padding: 14px 0; }
  .quick__grid { gap: 12px; }
  .qcard { padding: 16px 14px 18px; border-radius: 22px; }
  .qcard::before { height: 88px; border-radius: 22px 22px 50% 50% / 22px 22px 16px 16px; }
  .qcard img { width: 62px; height: 62px; margin-bottom: 24px; }
  .qcard b { font-size: 17px; }
  .qcard span { font-size: 13.5px; }

  .notif__grid { gap: 28px; }
  .notif__stage { padding: 0; min-height: 0; }
  .notif__mascot { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: 120px; margin: -6px auto 6px; }
  .toast { padding: 12px 14px 12px 12px; border-radius: 18px; margin-bottom: 10px; }
  .toast:nth-of-type(odd) { margin-right: 0; }
  .toast img { width: 34px; height: 34px; }
  .toast b { font-size: 14.5px; }
  .toast small { font-size: 12.5px; white-space: normal; }

  .levels { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .levels li { padding: 10px 4px 9px; font-size: 12px; border-radius: 14px; }
  .levels b { font-size: 21px; }
  .night__stage { height: 520px; }
  .phone--night { width: 214px; margin-left: -50px; }
  .phone--back { margin-left: -190px; top: 54px; }

  .numbers { padding: 54px 0; }
  .numbers__grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .num:last-child { grid-column: 1 / -1; }

  /* mascots: a swipeable row, every bubble visible */
  .crew .wrap { padding: 0; }
  .crew .section__head { padding: 0 24px; }
  .crew__row { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 64px 24px 18px; scrollbar-width: none; }
  .crew__row::-webkit-scrollbar { display: none; }
  .buddy { flex: 0 0 150px; scroll-snap-align: center; }
  .buddy img { max-width: 140px; }
  .buddy q { opacity: 1; transform: none; font-size: 12.5px; padding: 7px 11px; top: 4px; }
  .buddy.is-talking q { background: var(--green); }
  .buddy.is-talking q::after { border-top-color: var(--green); }

  .tiers__path ol { grid-template-columns: repeat(3, 1fr); gap: 26px 8px; }
  .tier img { width: 86px; height: 86px; margin-bottom: 10px; }
  .tier b { font-size: 14px; }
  .tier span { font-size: 12px; }
  .trust__card { grid-template-columns: 1fr; padding: 30px 22px; text-align: center; gap: 6px; border-radius: 28px; }
  .trust__card img { width: 140px; margin: 0 auto; }
  .trust__card p:not(.eyebrow) { font-size: 16.5px; }
  .final__copy h2 { font-size: 44px; }
  .final__copy > p { font-size: 17px; }
  .final .stores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .final__copy { padding-bottom: 30px; }
  .final__art { max-width: 320px; margin-top: 10px; }
  .crew { padding-bottom: 40px; }
  .qr { display: none; }
  .foot__links { grid-template-columns: repeat(2, auto); }
}

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

/* ---------- night ridge peaks ---------- */
.peaks span { position: absolute; z-index: 2; translate: -50% -100%; display: flex; flex-direction: column; align-items: center; color: #F6F4ED; font-weight: 900; font-size: 15px; line-height: 1.15; padding-bottom: 18px; }
.peaks small { font-weight: 700; font-size: 12px; color: #9FB0A3; }
.peaks span::after { content: ""; position: absolute; bottom: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--honey); box-shadow: 0 0 0 6px rgba(244, 197, 102, .18), 0 0 16px var(--honey); animation: ping2 2.4s ease-in-out infinite; }
@media (max-width: 640px) { .peaks span { font-size: 13px; } }
