:root {
  --green: #2b9560;
  --green-app: #1c8a52;
  --green-deep: #14352a;
  --ink: #0f2a20;
  --cream: #faf7f0;
  --muted: #5d6b63;
  --orange: #f0a02a;
  --nav-h: 48px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
svg { display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 8px 15px; font-size: 14px; }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(43, 149, 96, 0.35); }
.btn--primary:hover { background: #24824f; }
.btn--ghost { background: rgba(255, 255, 255, 0.16); color: #fff; border: 1px solid rgba(255, 255, 255, 0.42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-decoration: none; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.26); }
.btn--dark { background: var(--green-deep); color: #fff; text-decoration: none; }
.btn--dark:hover { background: #0b1f17; }
.btn--glow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #3ad483 0%, #22a366 48%, #178a52 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.32) inset, 0 8px 24px rgba(43, 200, 122, 0.42), 0 0 30px rgba(58, 212, 131, 0.28);
  text-shadow: 0 1px 2px rgba(6, 60, 34, 0.35);
}
.btn--glow:hover { background: linear-gradient(135deg, #4be193 0%, #27b06f 48%, #1a9558 100%); transform: translateY(-2px) scale(1.04); }
.btn--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, 0.6) 50%, transparent 68%);
  transform: translateX(-130%);
  animation: sheen 3.4s ease-in-out infinite;
}
@keyframes sheen { 0%, 45% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
.btn__ico { display: grid; place-items: center; width: 1.7em; height: 1.7em; margin-left: -0.35em; border-radius: 50%; background: rgba(255, 255, 255, 0.24); }

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: var(--green-deep);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
.js .loader { display: block; }
.loader.is-visible { opacity: 1; visibility: visible; transition: opacity 0.25s ease; }
.loader__center {
  position: absolute;
  left: 50%;
  top: 36%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.loader__ring { position: relative; width: 148px; height: 148px; display: grid; place-items: center; }
.loader__ring img { width: 54px; height: auto; filter: brightness(0) invert(1); }
.loader__ring i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(calc(var(--k) * 7.5deg)) translateY(-68px);
  transition: background 0.25s ease;
}
.loader__ring i.on { background: #fff; }
.loader__pct { font-size: 20px; font-weight: 700; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.loader__quote {
  position: absolute;
  left: clamp(20px, 4vw, 64px);
  right: clamp(20px, 4vw, 64px);
  bottom: clamp(20px, 5vh, 56px);
  margin: 0;
  font-size: clamp(34px, 8.2vw, 124px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.loader__quote span { color: #7fd6a6; }

/* ---------- Nav (centered pill; transparent at the top of the home page) ---------- */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 70;
  width: min(860px, calc(100% - 24px));
  height: var(--nav-h);
  padding: 0 6px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  color: #fff;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.nav.is-scrolled,
.nav--solid,
.nav--open {
  background: rgba(15, 42, 32, 0.66);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 40px rgba(8, 20, 14, 0.28);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.nav__brand { flex: none; }
.nav__brand img { height: 20px; width: auto; }
.nav__menu { flex: 1; display: flex; justify-content: center; gap: 2px; }
.nav__actions { flex: none; display: flex; align-items: center; gap: 2px; }
.nav__link,
.dd__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}
.nav__link:hover,
.dd__btn:hover,
.dd.open .dd__btn { background: rgba(255, 255, 255, 0.14); }
.dd { position: relative; }
.dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; }
.dd__chev { transition: transform 0.2s ease; }
.dd.open .dd__chev { transform: rotate(180deg); }
.dd__panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 300px;
  padding: 8px;
  border-radius: 22px;
  background: rgba(12, 32, 24, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.dd.open .dd__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.dd__panel a { display: block; padding: 11px 14px; border-radius: 14px; color: #fff; text-decoration: none; }
.dd__panel a b { display: block; font-size: 14.5px; }
.dd__panel a small { display: block; margin-top: 2px; font-size: 12.5px; color: rgba(255, 255, 255, 0.62); }
.dd__panel a:hover,
.dd__panel a:focus-visible { background: rgba(255, 255, 255, 0.1); outline: none; }

.nav__burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 0 11px; margin-left: 4px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.nav__burger span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.25s ease; }
.nav--open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav--open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.sheet { position: fixed; inset: 0; z-index: 60; overflow-y: auto; background: var(--green-deep); color: #fff; padding: calc(var(--nav-h) + 48px) 24px 40px; }
.sheet[hidden] { display: none; }
.sheet__group { margin-bottom: 22px; }
.sheet__group p { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #7fd6a6; }
.sheet__group a { display: block; padding: 8px 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.sheet__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Hero (scroll-scrubbed) ---------- */
.hero { position: relative; background: #d9c9a0; }
.hero__stage {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #cdb98d;
}
.hero__static,
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__static { object-fit: cover; object-position: 85% 50%; }
.js .hero__static { visibility: hidden; }
html.hero-static .hero__static { visibility: visible; }
html.hero-static .hero__canvas { display: none; }

.hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 42, 32, 0.34) 0%, rgba(15, 42, 32, 0) 34%, rgba(15, 42, 32, 0) 62%, rgba(15, 42, 32, 0.32) 100%);
}

.hero__intro {
  position: absolute;
  inset: 0;
  padding: calc(var(--nav-h) + 40px) 24px 60px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.js .hero__intro { display: flex; isolation: isolate; }
.hero__intro::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 62% 46% at 50% 46%, rgba(8, 22, 15, 0.5), rgba(8, 22, 15, 0) 72%); }
.hero__intro h1 {
  max-width: 15em;
  font-size: clamp(38px, 6.2vw, 88px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero__intro .hero__cta { margin-top: 28px; justify-content: center; }
.hero__intro .btn { padding: 16px 32px; font-size: 18px; }
/* Finale: one large phone rising from the bottom edge, cards floating around it */
.hero__outro {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--nav-h) + clamp(40px, 9svh, 110px));
  padding: 0 24px;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.4);
  z-index: 3;
}
.hero__outro h2 { font-size: clamp(30px, 4.4vw, 64px); line-height: 1.03; font-weight: 800; letter-spacing: -0.03em; }
.hero__outro p { max-width: 34em; margin: 14px auto 0; font-size: clamp(15px, 1.4vw, 19px); font-weight: 500; line-height: 1.45; }
.hero__outro .hero__cta { justify-content: center; margin-top: 22px; }

.finale { --pw: min(400px, 31vw, 52svh); position: absolute; inset: 0; z-index: 2; perspective: 1400px; pointer-events: none; }
.finale__phone { position: absolute; left: 50%; bottom: calc(var(--pw) * -1.02); width: var(--pw); margin-left: calc(var(--pw) * -0.5); }
.finale .phone--hero { --w: var(--pw); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset, 0 -24px 90px rgba(8, 20, 14, 0.3), 0 30px 90px rgba(8, 20, 14, 0.5); }
.orb {
  position: absolute;
  left: calc(50% + var(--ox) * var(--pw));
  bottom: calc(var(--oy) * var(--pw));
  width: calc(var(--pw) * 0.6);
  margin-left: calc(var(--pw) * -0.3);
  font-size: calc(var(--pw) / 27);
  pointer-events: auto;
}
.orb__a { transform-style: preserve-3d; }
.orb__card { display: flex; flex-direction: column; gap: 0.2em; }
.orb__card small { font-size: 0.78em; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.orb__card b { font-size: 1.9em; line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
.orb__card span { font-size: 0.95em; color: var(--muted); }
.orb .orb__card--dark { background: #14352a; color: #fff; }
.orb .orb__card--dark small, .orb .orb__card--dark span { color: rgba(255, 255, 255, 0.7); }
.orb .orb__card--dark b { color: #7fe3a8; }
.orb .orb__card--green { background: linear-gradient(135deg, #1e9457, #14703f); color: #fff; }
.orb .orb__card--green small, .orb .orb__card--green span { color: rgba(255, 255, 255, 0.8); }

.js .hero__outro,
.js .finale__phone,
.js .orb__a { opacity: 0; visibility: hidden; }
html.hero-static .hero__intro { display: none; }
html.hero-static .hero__outro,
html.hero-static .finale__phone,
html.hero-static .orb__a { opacity: 1; visibility: visible; }
html.hero-static .scene { display: none; }

/* ---------- Feature scenes ---------- */
.scene {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(16px, 4vw, 64px);
  padding: calc(var(--nav-h) + 40px) clamp(24px, 6vw, 96px) 32px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.scene--flip .scene__copy { order: 2; justify-self: end; }
.scene__copy {
  justify-self: start;
  max-width: 520px;
  padding: clamp(20px, 2.4vw, 36px);
  border-radius: 28px;
  color: #fff;
  background: rgba(10, 26, 19, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 24px 60px rgba(8, 20, 14, 0.3);
  pointer-events: auto;
}
.scene__copy .eyebrow { color: #9fe3bd; }
.scene__copy h2 {
  margin-top: 10px;
  font-size: clamp(30px, 3.6vw, 56px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.scene__copy p:not(.eyebrow) {
  margin-top: 14px;
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

.scene__widgets {
  position: relative;
  justify-self: center;
  width: 34em;
  height: 32em;
  max-width: 100%;
  font-size: clamp(9px, 1.1vw, 16px);
  perspective: 1400px;
}
.scene__tilt { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }

.w {
  position: absolute;
  left: var(--l);
  top: var(--t);
  width: var(--w);
  transform-style: preserve-3d;
  pointer-events: auto;
}
.js .w { opacity: 0; }
.w__in {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
  border-radius: 1.4em;
  background: #fff;
  color: var(--ink);
  padding: 1.1em 1.25em;
  box-shadow: 0 1.6em 3.2em rgba(8, 20, 14, 0.3), 0 0.3em 0.8em rgba(8, 20, 14, 0.18);
}
.w:hover .w__in { transform: translateZ(3.2em) scale(1.03); box-shadow: 0 2.6em 4.4em rgba(8, 20, 14, 0.36), 0 0.4em 1em rgba(8, 20, 14, 0.2); }
.w svg { width: 1em; height: 1em; flex: none; }

/* Orchard cards */
.oc { background: linear-gradient(135deg, #1e9457, #14703f); color: #fff; }
.oc--b { background: linear-gradient(135deg, #187a48, #10603a); }
.oc h3 { font-size: 1.7em; font-weight: 800; letter-spacing: -0.02em; }
.oc__loc { display: flex; align-items: center; gap: 0.4em; margin-top: 0.3em; font-size: 0.95em; opacity: 0.85; }
.oc__stats { display: flex; gap: 1.4em; margin-top: 0.7em; font-size: 1.35em; font-weight: 700; }
.oc__stats span { display: inline-flex; align-items: center; gap: 0.35em; }
.oc__stats svg { opacity: 0.85; }
.oc__pill {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 0.9em;
  padding: 0.55em 0.9em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.9em;
  font-weight: 600;
}
.oc-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
  padding: 1.4em 1em;
  border: 2px dashed #2b9560;
  color: #1c8a52;
  font-weight: 700;
  font-size: 1em;
}
.oc-add__plus { display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: #a8e6c1; }
.oc-add__plus svg { width: 1.3em; height: 1.3em; }

/* Stage widgets */
.sr__head { display: flex; justify-content: space-between; font-size: 0.8em; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sr__bar { display: flex; gap: 0.3em; margin-top: 0.8em; }
.sr__bar i { flex: 1; height: 0.7em; border-radius: 999px; background: #e3e7e4; }
.sr__bar i.d { background: var(--green); }
.sr__bar i.c { background: var(--orange); box-shadow: 0 0 0 0.25em rgba(240, 160, 42, 0.28); }
.sr__name { margin-top: 0.7em; font-size: 1.7em; font-weight: 800; letter-spacing: -0.02em; }
.tk { display: flex; align-items: center; gap: 1em; }
.tk__ico { flex: none; display: grid; place-items: center; width: 3em; height: 3em; border-radius: 1em; color: #fff; }
.tk__ico svg { width: 1.4em; height: 1.4em; }
.tk__ico--fung { background: #e58a1f; }
.tk__ico--fert { background: var(--green-app); }
.tk__ico--ins { background: #cf4d52; }
.tk__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.15em; }
.tk__body small { font-size: 0.72em; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-app); }
.tk__body b { font-size: 1.05em; line-height: 1.2; }
.tk__body span { font-size: 0.82em; color: var(--muted); }
.tk__check {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  border: 2px solid #c9d0cc;
  background: #fff;
  color: transparent;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.tk__check svg { width: 1.2em; height: 1.2em; }
.tk.done .tk__check { background: var(--green); border-color: var(--green); color: #fff; }
.tk.done .tk__body b { text-decoration: line-through; opacity: 0.55; }

/* Weather widgets */
.al { background: linear-gradient(135deg, #e5484d, #f0803c); color: #fff; }
.al__tag { display: flex; align-items: center; gap: 0.5em; font-size: 0.8em; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.al h3 { margin-top: 0.5em; font-size: 1.7em; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.al__body { margin-top: 0.6em; font-size: 0.95em; line-height: 1.4; opacity: 0.92; }
.sp { display: flex; flex-direction: column; gap: 0.15em; background: #14352a; color: #fff; }
.sp small { font-size: 0.75em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); }
.sp b { font-size: 2em; font-weight: 800; letter-spacing: 0.02em; color: #ff8f88; }
.sp span { font-size: 0.9em; color: rgba(255, 255, 255, 0.78); }
.st { display: flex; flex-direction: column; align-items: center; gap: 0.3em; text-align: center; padding: 0.9em 0.5em; }
.st svg { width: 1.5em; height: 1.5em; color: var(--green-app); }
.st b { font-size: 1.35em; font-weight: 800; }
.st small { font-size: 0.7em; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Market widgets */
.mc { display: flex; gap: 0.5em; padding: 0.7em; border-radius: 999px; overflow: hidden; }
.mc span { padding: 0.5em 1em; border-radius: 999px; font-size: 0.9em; font-weight: 700; border: 1px solid #e6e0d2; color: var(--ink); white-space: nowrap; }
.mc span.on { background: var(--green-app); border-color: var(--green-app); color: #fff; }
.pc { padding: 0.9em; display: flex; flex-direction: column; gap: 0.2em; }
.pc__tile { display: grid; place-items: center; height: 4.4em; border-radius: 1em; margin-bottom: 0.5em; }
.pc__tile svg { width: 2.4em; height: 2.4em; }
.pc__tile--mint { background: #e3f6ea; color: var(--green-app); }
.pc__tile--sand { background: #fde2ad; color: #7a3e0c; }
.pc__tile--peach { background: #fdf0dc; color: #a08560; }
.pc b { font-size: 1em; line-height: 1.2; }
.pc small { font-size: 0.72em; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pc__row { display: flex; align-items: center; justify-content: space-between; margin-top: 0.5em; font-size: 1.1em; font-weight: 800; }
.pc__row em { font-style: normal; font-size: 0.68em; font-weight: 500; color: var(--muted); margin-left: 0.3em; }
.pc__add { display: grid; place-items: center; width: 2.1em; height: 2.1em; border: 0; border-radius: 0.7em; background: var(--green-app); color: #fff; padding: 0; transition: transform 0.15s ease; }
.pc__add:active { transform: scale(0.9); }
.pc__add svg { width: 1.1em; height: 1.1em; }
.cart { position: relative; display: grid; place-items: center; aspect-ratio: 1; padding: 0; border-radius: 50%; background: var(--green-app); color: #fff; }
.cart svg { width: 42%; height: 42%; }
.cart em { position: absolute; top: -0.2em; right: -0.2em; min-width: 1.6em; height: 1.6em; padding: 0 0.3em; display: grid; place-items: center; border-radius: 999px; background: var(--orange); color: #fff; font-style: normal; font-size: 0.8em; font-weight: 800; }

/* ---------- Phone mockup ---------- */
.phone {
  --w: min(280px, 64vw);
  position: relative;
  width: var(--w);
  aspect-ratio: 1206 / 2622;
  border-radius: calc(var(--w) * 0.16);
  padding: calc(var(--w) * 0.028);
  background: linear-gradient(145deg, #2b332f, #0b0f0d 55%, #1a211d);
}
.phone__screen { width: 100%; height: 100%; border-radius: calc(var(--w) * 0.135); overflow: hidden; background: #fff; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }


/* Stats scene: big numbers between the orchard and growth-stage scenes */
.scene--stats { display: flex; align-items: center; justify-content: center; padding: calc(var(--nav-h) + 40px) clamp(16px, 5vw, 64px) 40px; }
.statsband {
  width: min(1100px, 100%);
  padding: clamp(24px, 4vw, 56px) clamp(16px, 3vw, 48px);
  border-radius: 36px;
  text-align: center;
  color: #fff;
  background: rgba(10, 26, 19, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 80px rgba(8, 20, 14, 0.35);
}
.statsband .eyebrow { color: #9fe3bd; }
.statsband__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 3vw, 40px); margin-top: clamp(16px, 3vw, 34px); }
.statsband__grid > div + div { border-left: 1px solid rgba(255, 255, 255, 0.16); }
.statsband b { display: block; font-size: clamp(46px, 6.6vw, 100px); line-height: 0.95; font-weight: 800; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.statsband small { display: block; margin-top: 12px; font-size: clamp(14px, 1.5vw, 20px); line-height: 1.35; font-weight: 600; color: rgba(255, 255, 255, 0.82); }
.fallback-stats { grid-column: 1 / -1; margin: 0; font-size: 18px; color: var(--muted); }
.fallback-stats b { color: var(--ink); }

/* Fallback content, only when the animated hero isn't running */
.features-fallback { display: none; background: var(--cream); padding: 72px 24px; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: 1000px; margin: 0 auto; }
.features-fallback h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.features-fallback p { margin-top: 8px; color: var(--muted); line-height: 1.5; }
html:not(.js) .features-fallback,
html.hero-static .features-fallback { display: grid; }

/* ---------- Download ---------- */
.download { background: var(--green-deep); color: #fff; padding: clamp(80px, 12vw, 160px) 24px; text-align: center; }
.download h2 { font-size: clamp(32px, 5vw, 64px); font-weight: 800; letter-spacing: -0.03em; }
.download p { margin-top: 12px; color: rgba(255, 255, 255, 0.7); font-size: 18px; }
.download__row { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; }

.qr { background: #fff; padding: 12px; border-radius: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); line-height: 0; }
.qr img { width: 176px; height: 176px; }
.qr--modal { display: inline-block; margin: 22px 0; }
.qr--modal img { width: 200px; height: 200px; }

.stores { display: flex; flex-direction: column; gap: 12px; align-items: stretch; min-width: 220px; }
.store {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  text-decoration: none;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.2s ease;
}
.store:hover { transform: translateY(-1px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; opacity: 0.75; letter-spacing: 0.02em; }
.store strong { display: block; font-size: 18px; font-weight: 700; line-height: 1.1; }
.store[aria-disabled="true"] { opacity: 0.7; cursor: default; }
.store[aria-disabled="true"]:hover { transform: none; }

.footer { background: #0b1f17; color: rgba(255, 255, 255, 0.7); padding: clamp(48px, 7vw, 80px) 24px 28px; }
.footer__top,
.footer__bottom { max-width: 1120px; margin: 0 auto; }
.footer__top { display: grid; grid-template-columns: 1.1fr 2.3fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer__brand img { height: 26px; width: auto; }
.footer__brand p { margin-top: 16px; max-width: 26em; line-height: 1.55; font-size: 15px; }
.footer__mail { display: inline-block; margin-top: 16px; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer__cols h4 { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #7fd6a6; }
.footer__cols a { display: block; padding: 5px 0; color: rgba(255, 255, 255, 0.75); text-decoration: none; font-size: 14.5px; }
.footer__cols a:hover,
.footer__legal a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; }
.footer__bottom p { margin: 0; }
.footer__legal a { margin-left: 18px; color: rgba(255, 255, 255, 0.6); text-decoration: none; }
.footer__legal a:first-child { margin-left: 0; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 20, 14, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal__card {
  position: relative;
  width: min(420px, 100%);
  max-height: 100%;
  overflow: auto;
  padding: 32px 28px 28px;
  border-radius: 28px;
  background: var(--cream);
  text-align: center;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}
.modal__card h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.modal__card > p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.modal__card .stores { margin: 0 auto; }
.modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(15, 42, 32, 0.08);
  font-size: 22px;
  line-height: 1;
}

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Page layout ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }
.center { text-align: center; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--cream { background: var(--cream); }
.section--white { background: #fff; }
.section h2 { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.section__head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section__head h2 { margin-top: 10px; }
.section__sub { margin-top: 14px; color: var(--muted); font-size: 18px; line-height: 1.5; }
.section__cta { margin-top: 28px; }
.section__head ~ .section__cta,
.center .section__cta { text-align: center; }

.page-hero { background: var(--green-deep); color: #fff; padding: calc(var(--nav-h) + 90px) 0 clamp(48px, 7vw, 80px); }
.page-hero .eyebrow { color: #7fd6a6; }
.page-hero h1 { margin-top: 10px; max-width: 16em; font-size: clamp(34px, 5vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; }
.page-hero .lede { margin-top: 16px; max-width: 38em; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, 0.78); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 28px; border-radius: 24px; background: #fff; border: 1px solid #efe7d6; }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; }
.step h3 { margin-top: 18px; font-size: 21px; letter-spacing: -0.02em; }
.step p { margin-top: 8px; color: var(--muted); line-height: 1.5; }

.cards { display: grid; gap: 20px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; display: block; padding: 26px; border-radius: 24px; background: var(--cream); color: var(--ink); text-decoration: none; border: 1px solid #efe7d6; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.section--cream .card { background: #fff; }
a.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 42, 32, 0.12); }
.card__ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 14px; background: #e3f6ea; color: var(--green-app); }
.card__ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 20px; letter-spacing: -0.02em; }
.card p { margin-top: 8px; color: var(--muted); line-height: 1.5; }
.card a { color: var(--green-app); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #fdf0dc; color: #8a5a12; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.badge--lg { margin-bottom: 16px; padding: 6px 12px; font-size: 12px; }
.card--soon .badge { position: absolute; top: 18px; right: 18px; }

.story { padding: 26px; border-radius: 24px; background: var(--cream); border: 1px dashed #d8ccb2; }
.story__avatar { width: 48px; height: 48px; border-radius: 50%; background: #e6dfcd; }
.story__lines i { display: block; height: 10px; margin-top: 10px; border-radius: 6px; background: #e9e2d1; }
.story__lines { margin-top: 16px; }
.story__lines i:nth-child(2) { width: 88%; }
.story__lines i:nth-child(3) { width: 60%; }
.story__by { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--muted); }
.post__img { height: 150px; margin-bottom: 16px; border-radius: 18px; background: linear-gradient(135deg, #e3f6ea, #fdf0dc); }
.post h3 { margin-top: 10px; font-size: 20px; letter-spacing: -0.02em; }
.post p { margin-top: 6px; color: var(--muted); line-height: 1.5; }

.feature { max-width: 720px; }
.feature h2 { margin-top: 10px; }
.feature__p { margin-top: 14px; font-size: 19px; line-height: 1.55; color: var(--muted); }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; }
.ticks li { position: relative; padding: 10px 0 10px 34px; font-size: 17px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 22px; height: 22px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat; }
.mini { margin: 32px 0 0; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }

.prose h2 { margin: 34px 0 10px; font-size: 24px; letter-spacing: -0.02em; }
.prose p, .prose li { font-size: 17px; line-height: 1.65; color: #33443b; }
.prose ul { padding-left: 20px; }
.prose ul.ticks { padding-left: 0; }
.draft { padding: 14px 16px; border: 1px solid #f0d99a; border-radius: 14px; background: #fff6e0; color: #6b4b0a !important; font-size: 15px !important; }

.faq { padding: 4px 0; border-bottom: 1px solid #e9e2d1; }
.faq summary { position: relative; padding: 16px 36px 16px 0; font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 28px; font-weight: 400; color: var(--green); }
.faq[open] summary::after { content: "\2212"; }
.faq p { padding: 0 0 18px; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  .nav__menu { display: none; }
  .nav__burger { display: flex; }
  .nav__actions .nav__link { display: none; }
  .nav { padding-left: 16px; }
  .steps, .cards--3 { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }

  .scene {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    align-content: start;
    gap: 10px;
    padding: calc(var(--nav-h) + 30px) 16px 12px;
  }
  .scene--flip .scene__copy { order: 0; justify-self: start; }
  .scene__copy { padding: 16px 18px; border-radius: 22px; max-width: none; width: 100%; }
  .scene__copy h2 { margin-top: 6px; font-size: clamp(24px, 7vw, 34px); }
  .scene__copy p:not(.eyebrow) { margin-top: 8px; font-size: 13.5px; line-height: 1.4; }
  .scene__widgets { font-size: min(2.85vw, 15px); align-self: start; margin-top: 4px; }
}

/* Phones: a narrower, larger-type widget canvas (26em x 34em) with real side margins */
@media (max-width: 600px) {
  .cards--4, .cards--2 { grid-template-columns: 1fr; }

  .hero__intro { padding-bottom: 72px; }
  .hero__intro h1 { font-size: clamp(36px, 11vw, 52px); }
  .hero__intro .btn { padding: 15px 28px; font-size: 17px; }
  .statsband__grid { grid-template-columns: 1fr; gap: 0; }
  .statsband__grid > div { padding: 14px 0; }
  .statsband__grid > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .statsband b { font-size: clamp(56px, 17vw, 76px); }
  .statsband small { margin-top: 6px; }

  .finale { --pw: min(90vw, 360px, 48svh); }
  .orb { display: none; }
  .hero__outro { top: calc(var(--nav-h) + 34px); }
  .hero__outro h2 { font-size: clamp(30px, 8.6vw, 42px); }

  .scene { padding: calc(var(--nav-h) + 26px) 16px 10px; gap: 8px; }
  .scene__copy { padding: 14px 16px; }
  .scene__copy p:not(.eyebrow) { display: none; }
  .scene__widgets { width: 26em; height: 34em; font-size: calc((100vw - 40px) / 26); }
  .w { left: var(--lm, var(--l)); top: var(--tm, var(--t)); width: var(--wm, var(--w)); }
  .w__in { padding: 0.95em 1.05em; }
  .oc__pill { display: none; }
  .tk__body span { display: none; }
  .mc span:nth-child(n + 4) { display: none; }
}

@media (max-width: 480px) {
  .btn__ico { display: none; }
  .nav .btn--glow { flex-shrink: 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .nav__brand img { height: 18px; }
  .btn--sm { padding: 7px 12px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .btn--glow::before { animation: none; }
}
