/* Landing page 4 — loaded after styles.css, only on landing-4.html.
   Reuses the shared brand components and adds: header actions, a hero
   with falling 3D coins, stats,
   coin-rain closing band and a mobile sticky signup bar.
   Motion is transform/opacity only, paused off screen, and switched off for
   prefers-reduced-motion. */

:root {
  --gold-1: #ffee74; /* logo yellow */
  --gold-2: #f6c459; /* shield gold */
  --gold-3: #d9962c;
}

/* ---------- Buttons: extra sizes ---------- */

.btn--sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  line-height: 1;
}

.btn--md {
  height: 44px;
  padding: 0 18px;
  font-size: 14px;
  line-height: 1;
}

.btn:active {
  scale: 0.97;
}

/* ---------- Header with login + signup ---------- */

.site-header--actions {
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
}

.site-header__logo img {
  width: 104px;
  height: auto;
}

.site-header__actions {
  display: flex;
  gap: 8px;
}

@media (min-width: 768px) {
  .site-header--actions {
    padding: 0 24px;
  }

  .site-header__logo img {
    width: 120px;
  }

  .site-header__actions .btn--sm {
    height: 40px;
    padding: 0 18px;
    font-size: 14px;
  }
}

@media (min-width: 1200px) {
  .site-header--actions {
    padding: 0 max(24px, calc((100vw - 1280px) / 2 + 32px));
  }
}

/* ---------- Hero ---------- */

.hero4 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  justify-content: center;
  padding: 36px 16px 40px;
  text-align: center;
  background: #04150f;
}

/* Dark vignette behind the text, above the leaves */
.hero4::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 60% 55% at 50% 48%, rgba(3, 16, 12, 0.78), rgba(3, 16, 12, 0) 78%);
  pointer-events: none;
}

/* Fade into the page colour at the bottom */
.hero4::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(5, 29, 25, 0) 70%, var(--bg-page) 100%);
  pointer-events: none;
}

.hero4 .coin-field {
  z-index: 1;
}

.hero4__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 640px;
}

.hero4__chip {
  display: inline-flex;
  padding: 6px 12px;
  border: 1px solid rgba(114, 242, 120, 0.35);
  border-radius: 100px;
  background: rgba(114, 242, 120, 0.12);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero4__title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.02;
  text-transform: uppercase;
}

.hero4__line {
  display: block;
}

.hero4__line--accent {
  color: var(--green);
}

.hero4__cta-wrap {
  width: 100%;
  max-width: 420px;
}

.hero4__cta {
  width: 100%;
  padding: 0 20px;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(114, 242, 120, 0.25);
}

.hero4__cta img {
  width: 24px;
  height: 24px;
}

.assure {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin: 12px 0 0; /* extra room below the CTA (adds to the hero gap) */
  padding: 0;
  list-style: none;
}

.assure li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e3f5df;
  font-size: 14px;
  font-weight: 700;
}

.assure svg {
  flex-shrink: 0;
  color: var(--green);
}

.hero4__terms {
  color: rgba(205, 222, 204, 0.7);
  font-size: 11px;
}

/* Title lines rise further than the default reveal */
.motion .hero4 .hero4__line[data-reveal] {
  translate: 0 40px;
  transition-duration: 1s;
}

.motion .hero4.is-in .hero4__line[data-reveal] {
  translate: 0 0;
}

@media (min-width: 768px) {
  .hero4 {
    padding: 48px 40px 52px;
  }

  .hero4__inner {
    gap: 30px;
    max-width: 700px;
  }

  .assure {
    margin-top: 10px;
  }

  .hero4__title {
    font-size: 60px;
  }

  .hero4__cta {
    font-size: 16px;
  }
}

@media (min-width: 1200px) {
  .hero4 {
    padding: 56px 40px 60px;
  }

  .hero4__inner {
    max-width: 900px;
  }

  .hero4__title {
    font-size: 80px;
  }
}

/* ---------- Animated jungle (hero background) ----------
   Vector leaves (symbols generated by tools/jungle_svg.py) placed around the
   edges in three depths. Each leaf is anchored at its stem: --x/--y is where
   the stem sits, --r points the leaf, --w is its width at desktop size.
   They sway around the stem, and grow out from it when the page loads. */

.jungle {
  --k: 0.5; /* leaf scale for phones */
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(ellipse 60% 55% at 50% 46%, #07261d 0%, #04170f 55%, #020b08 100%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .jungle { --k: 0.66; }
}

@media (min-width: 1200px) {
  .jungle { --k: 1; }
}

.jungle__defs {
  position: absolute;
  width: 0;
  height: 0;
}

/* Two star layers twinkling out of step */
.jungle::before,
.jungle::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  animation: twinkle 3.6s ease-in-out infinite alternate;
}

.jungle::before {
  background-image:
    radial-gradient(1px 1px at 33% 16%, rgba(255, 255, 240, 0.55) 50%, transparent 100%),
    radial-gradient(1.8px 1.8px at 81% 11%, rgba(255, 255, 240, 0.55) 50%, transparent 100%),
    radial-gradient(1px 1px at 89% 23%, rgba(255, 255, 240, 1) 50%, transparent 100%),
    radial-gradient(1.8px 1.8px at 42% 25%, rgba(255, 255, 240, 1) 50%, transparent 100%),
    radial-gradient(1px 1px at 8% 56%, rgba(255, 255, 240, 0.55) 50%, transparent 100%),
    radial-gradient(1px 1px at 57% 40%, rgba(255, 255, 240, 0.55) 50%, transparent 100%),
    radial-gradient(1.4px 1.4px at 55% 15%, rgba(255, 255, 240, 0.7) 50%, transparent 100%),
    radial-gradient(1.8px 1.8px at 54% 57%, rgba(255, 255, 240, 0.7) 50%, transparent 100%),
    radial-gradient(1px 1px at 12% 57%, rgba(255, 255, 240, 0.85) 50%, transparent 100%),
    radial-gradient(1.8px 1.8px at 11% 70%, rgba(255, 255, 240, 0.55) 50%, transparent 100%),
    radial-gradient(1.8px 1.8px at 61% 50%, rgba(255, 255, 240, 1) 50%, transparent 100%),
    radial-gradient(1.4px 1.4px at 77% 47%, rgba(255, 255, 240, 0.85) 50%, transparent 100%),
    radial-gradient(1px 1px at 31% 78%, rgba(255, 255, 240, 0.55) 50%, transparent 100%),
    radial-gradient(1px 1px at 57% 52%, rgba(255, 255, 240, 1) 50%, transparent 100%),
    radial-gradient(1px 1px at 30% 96%, rgba(255, 255, 240, 1) 50%, transparent 100%),
    radial-gradient(1.4px 1.4px at 18% 35%, rgba(255, 255, 240, 1) 50%, transparent 100%);
  background-size: 260px 260px;
}

.jungle::after {
  background-image:
    radial-gradient(1.8px 1.8px at 6% 66%, rgba(255, 255, 240, 0.85) 50%, transparent 100%),
    radial-gradient(1.4px 1.4px at 35% 36%, rgba(255, 255, 240, 1) 50%, transparent 100%),
    radial-gradient(1px 1px at 9% 11%, rgba(255, 255, 240, 1) 50%, transparent 100%),
    radial-gradient(1px 1px at 69% 8%, rgba(255, 255, 240, 1) 50%, transparent 100%),
    radial-gradient(1px 1px at 29% 39%, rgba(255, 255, 240, 0.55) 50%, transparent 100%),
    radial-gradient(1.8px 1.8px at 92% 36%, rgba(255, 255, 240, 0.55) 50%, transparent 100%),
    radial-gradient(1px 1px at 49% 23%, rgba(255, 255, 240, 0.7) 50%, transparent 100%),
    radial-gradient(1.4px 1.4px at 73% 40%, rgba(255, 255, 240, 0.55) 50%, transparent 100%),
    radial-gradient(1px 1px at 18% 41%, rgba(255, 255, 240, 0.7) 50%, transparent 100%),
    radial-gradient(1px 1px at 81% 85%, rgba(255, 255, 240, 1) 50%, transparent 100%),
    radial-gradient(1.4px 1.4px at 97% 68%, rgba(255, 255, 240, 0.7) 50%, transparent 100%),
    radial-gradient(1px 1px at 16% 19%, rgba(255, 255, 240, 0.7) 50%, transparent 100%);
  background-size: 330px 330px;
  animation-delay: -1.8s;
}

@keyframes twinkle {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

.leaf {
  --ar: 1;
  --a: 7deg; /* sway amplitude */
  --d: 7s; /* sway duration */
  --dl: 0s;
  position: absolute;
  z-index: 1; /* above the stars */
  left: var(--x);
  top: var(--y);
  width: calc(var(--w) * var(--k) * 1px);
  aspect-ratio: var(--ar);
  translate: -50% -100%;
  transform-origin: 50% 100%;
  rotate: var(--r);
  animation: leaf-sway var(--d) ease-in-out var(--dl) infinite alternate;
}

.leaf svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.leaf--broad { --ar: 200 / 320; }
.leaf--frond { --ar: 170 / 430; }
.leaf--burst { --ar: 1; }
.leaf--straps { --ar: 240 / 380; }

/* Depth: further leaves are darker and sway less. All are dimmed so the
   jungle melts into the night background rather than sitting on top of it. */
.leaf--back { filter: brightness(0.22) saturate(0.8); --a: 5deg; }
.leaf--mid { filter: brightness(0.34) saturate(0.85); --a: 7deg; }
.leaf--front { filter: brightness(0.48) saturate(0.9); --a: 9deg; }
.leaf--front.leaf--burst { filter: brightness(0.6); } /* the bright spiky plants stay the highlight */

@keyframes leaf-sway {
  from { rotate: calc(var(--r) - var(--a)); }
  to { rotate: calc(var(--r) + var(--a)); }
}

/*         stem x / stem y / direction / width / sway timing
   (direction: 0deg points up, 90deg right, 180deg down) */
.leaf--a1 { --x: 6%;   --y: -4%;  --r: 150deg; --w: 150; --d: 8s;   --dl: -2s; }
.leaf--a2 { --x: 94%;  --y: -4%;  --r: 210deg; --w: 150; --d: 8.5s; --dl: -5s; }
.leaf--a3 { --x: 38%;  --y: -5%;  --r: 196deg; --w: 100; --d: 7.5s; --dl: -1s; }
.leaf--a4 { --x: 62%;  --y: -5%;  --r: 164deg; --w: 100; --d: 9s;   --dl: -4s; }
.leaf--a5 { --x: -2%;  --y: 96%;  --r: 58deg;  --w: 170; --d: 9.5s; --dl: -3s; }
.leaf--a6 { --x: 102%; --y: 96%;  --r: -58deg; --w: 170; --d: 8s;   --dl: -6s; }

.leaf--a7 { --x: 20%;  --y: -6%;  --r: 186deg; --w: 160; --d: 9s;   --dl: -3s; }
.leaf--a8 { --x: 80%;  --y: -6%;  --r: 174deg; --w: 160; --d: 8s;   --dl: -6s; }
.leaf--a9 { --x: -4%;  --y: 52%;  --r: 86deg;  --w: 170; --d: 8.5s; --dl: -1s; }
.leaf--a10 { --x: 104%; --y: 50%; --r: -86deg; --w: 170; --d: 9.5s; --dl: -4s; }
.leaf--a11 { --x: 24%;  --y: 108%; --r: 22deg; --w: 170; --d: 8s;   --dl: -5s; }
.leaf--a12 { --x: 76%;  --y: 108%; --r: -22deg; --w: 170; --d: 9s;  --dl: -2s; }

.leaf--b1 { --x: -3%;  --y: 36%;  --r: 100deg; --w: 150; --d: 7s;   --dl: -2.5s; }
.leaf--b2 { --x: 103%; --y: 34%;  --r: -100deg; --w: 150; --d: 7.5s; --dl: -1.5s; }
.leaf--b3 { --x: -3%;  --y: 74%;  --r: 62deg;  --w: 180; --d: 6.5s; --dl: -4s; }
.leaf--b4 { --x: 103%; --y: 72%;  --r: -62deg; --w: 180; --d: 7s;   --dl: -3s; }
.leaf--b5 { --x: 30%;  --y: 108%; --r: 14deg;  --w: 170; --d: 6s;   --dl: -2s; }
.leaf--b6 { --x: 70%;  --y: 108%; --r: -14deg; --w: 170; --d: 6.5s; --dl: -5s; }

.leaf--b7 { --x: 17%;  --y: -4%;  --r: 176deg; --w: 140; --d: 7s;   --dl: -3s; }
.leaf--b8 { --x: 83%;  --y: -4%;  --r: 184deg; --w: 140; --d: 7.5s; --dl: -1s; }

.leaf--c1 { --x: 2%;   --y: -6%;  --r: 165deg; --w: 200; --d: 6s;   --dl: -1s; }
.leaf--c2 { --x: 98%;  --y: -6%;  --r: 195deg; --w: 200; --d: 6.5s; --dl: -3.5s; }
.leaf--c3 { --x: 50%;  --y: 116%; --r: 0deg;   --w: 230; --d: 5.5s; --dl: -2s; }
.leaf--c4 { --x: 12%;  --y: 110%; --r: 40deg;  --w: 210; --d: 7s;   --dl: -4.5s; }
.leaf--c5 { --x: 88%;  --y: 110%; --r: -40deg; --w: 210; --d: 6s;   --dl: -1.5s; }
.leaf--c6 { --x: 99%;  --y: 58%;  --r: -70deg; --w: 200; --d: 5s;   --dl: -3s; }
.leaf--c7 { --x: 1%;   --y: 60%;  --r: 75deg;  --w: 170; --d: 5.5s; --dl: -1s; }
.leaf--c8 { --x: 4%;   --y: 104%; --r: 30deg;  --w: 170; --d: 6.5s; --dl: -2.5s; }

/* Phones: fewer, smaller leaves so the text keeps the stage */
@media (max-width: 767px) {
  .leaf--a3,
  .leaf--a4,
  .leaf--b5,
  .leaf--b6,
  .leaf--a11,
  .leaf--a12,
  .leaf--b7,
  .leaf--b8,
  .leaf--c8 { display: none; }
}

/* Entrance: leaves grow out from their stems as the hero appears */
.motion .jungle .leaf {
  opacity: 0;
  scale: 1.3;
  transition:
    opacity 1.2s ease,
    scale 1.8s var(--ease-out);
}

.motion .jungle .leaf--mid { transition-delay: 0.08s; }
.motion .jungle .leaf--front { transition-delay: 0.16s; }

.motion .hero4.is-in .jungle .leaf {
  opacity: 1;
  scale: 1;
}

/* ---------- 3D gold coins ---------- */

.coin-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.coin {
  --size: 44px;
  --x: 10%;
  --fall: 720px;
  --drift: 30px;
  --dur: 9s;
  --delay: 0s;
  --spin: 2.4s;
  position: absolute;
  top: calc(var(--size) * -1.5);
  left: var(--x);
  width: var(--size);
  height: var(--size);
  perspective: calc(var(--size) * 10);
  animation: coin-fall var(--dur) linear var(--delay) infinite backwards;
}

.coin__spin {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: coin-spin var(--spin) linear infinite;
}

.coin__face,
.coin__edge {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.coin__face {
  background: radial-gradient(circle at 35% 30%, #fff9c4 0 8%, var(--gold-1) 24%, var(--gold-2) 58%, var(--gold-3) 100%);
  box-shadow:
    inset 0 0 0 calc(var(--size) * 0.07) #e3a43a,
    inset 0 0 0 calc(var(--size) * 0.1) #ffe58a;
  backface-visibility: hidden;
  transform: translateZ(2px);
}

.coin__face::after {
  content: "★";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gold-3);
  font-size: calc(var(--size) * 0.42);
  line-height: 1;
  text-shadow: 0 1px 0 #fff3a6;
}

.coin__face--back {
  transform: rotateY(180deg) translateZ(2px);
}

/* Three discs between the faces give the coin a visible edge when it turns */
.coin__edge {
  background: #c98a26;
}

.coin__edge:nth-child(1) { transform: translateZ(-1.2px); }
.coin__edge:nth-child(2) { transform: translateZ(0); }
.coin__edge:nth-child(3) { transform: translateZ(1.2px); }

@keyframes coin-fall {
  0% {
    opacity: 0;
    translate: 0 0;
    rotate: 0deg;
  }
  8%,
  88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    translate: var(--drift) var(--fall);
    rotate: 40deg;
  }
}

@keyframes coin-spin {
  from { transform: rotateX(16deg) rotateY(0deg); }
  to { transform: rotateX(16deg) rotateY(360deg); }
}

/* Hero coins stay at the sides, clear of the text */
.coin--h1 { --x: 3%; --size: 38px; --dur: 8s; --delay: -1s; --spin: 2.2s; --drift: 24px; }
.coin--h2 { --x: 12%; --size: 26px; --dur: 11s; --delay: -6s; --spin: 1.8s; --drift: -18px; }
.coin--h3 { --x: 19%; --size: 48px; --dur: 10s; --delay: -3.5s; --spin: 2.8s; --drift: 30px; }
.coin--h4 { --x: 80%; --size: 30px; --dur: 9.5s; --delay: -8s; --spin: 2s; --drift: -26px; }
.coin--h5 { --x: 87%; --size: 46px; --dur: 8.5s; --delay: -2s; --spin: 2.6s; --drift: 20px; }
.coin--h6 { --x: 94%; --size: 32px; --dur: 12s; --delay: -5s; --spin: 2.1s; --drift: -30px; }
.coin--h7 { --x: 70%; --size: 22px; --dur: 13s; --delay: -10s; --spin: 1.6s; --drift: 16px; }

@media (max-width: 767px) {
  .coin-field--hero .coin { --fall: 640px; }
  .coin--h1 { --x: 2%; --size: 28px; }
  .coin--h2,
  .coin--h4,
  .coin--h7 { display: none; }
  .coin--h3 { --x: 8%; --size: 34px; }
  .coin--h5 { --x: 84%; --size: 34px; }
  .coin--h6 { --x: 92%; --size: 24px; }
}

/* ---------- Content column ---------- */

.content--p4 {
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  .content--p4 {
    gap: 36px;
    padding-top: 36px;
  }
}

/* ---------- Count-up stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 8px;
  border-radius: var(--radius);
  background: var(--bg-paper);
}

.stat__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
  border-radius: 100px;
  background: var(--green-icon-bg);
}

.stat__value {
  color: var(--green);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .stat {
    padding: 24px 8px;
  }

  .stat__value {
    font-size: 36px;
  }
}

/* ---------- Steps: numbers pop in one after another ---------- */

.onboarding--p4 .step__num {
  position: relative;
}

.motion .onboarding--p4 .step__num {
  scale: 0;
}

.motion .onboarding--p4.is-in .step__num {
  animation: num-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(350ms + var(--i, 0) * 160ms);
}

.motion .onboarding--p4.is-in .step__num::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--bg-paper);
  border-radius: 100px;
  animation: num-ring 1s ease-out both;
  animation-delay: calc(450ms + var(--i, 0) * 160ms);
}

@keyframes num-pop {
  from { scale: 0; }
  to { scale: 1; }
}

@keyframes num-ring {
  from { opacity: 0.8; scale: 1; }
  to { opacity: 0; scale: 1.9; }
}

/* ---------- Closing band with coin rain ---------- */

.closing--p4 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 380px;
  background:
    radial-gradient(ellipse 80% 70% at 50% 110%, #216248 0%, rgba(33, 98, 72, 0) 70%),
    linear-gradient(to bottom, var(--bg-page), var(--bg-default));
}

.closing--p4 > :not(.coin-field) {
  position: relative;
  z-index: 1;
}

.closing--p4 .coin-field {
  z-index: 0;
  opacity: 0.85;
}

.closing--p4 .closing__title {
  font-size: 40px;
  line-height: 1.1;
}

.closing--p4 .closing__text {
  max-width: 320px;
}

.coin-field--rain .coin { --fall: 520px; }
.coin--r1 { --x: 6%; --size: 30px; --dur: 7s; --delay: -1s; --spin: 2s; }
.coin--r2 { --x: 18%; --size: 22px; --dur: 9s; --delay: -5s; --spin: 1.7s; --drift: -20px; }
.coin--r3 { --x: 30%; --size: 36px; --dur: 8s; --delay: -3s; --spin: 2.6s; }
.coin--r4 { --x: 44%; --size: 20px; --dur: 10s; --delay: -7s; --spin: 1.5s; --drift: 14px; }
.coin--r5 { --x: 58%; --size: 28px; --dur: 7.5s; --delay: -2s; --spin: 2.2s; --drift: -24px; }
.coin--r6 { --x: 70%; --size: 40px; --dur: 9.5s; --delay: -6s; --spin: 2.8s; }
.coin--r7 { --x: 83%; --size: 24px; --dur: 8.5s; --delay: -4s; --spin: 1.9s; --drift: -16px; }
.coin--r8 { --x: 94%; --size: 32px; --dur: 10.5s; --delay: -8s; --spin: 2.4s; }

@media (max-width: 767px) {
  .coin--r2,
  .coin--r4,
  .coin--r7 { display: none; }
}

@media (min-width: 768px) {
  .closing--p4 {
    min-height: 440px;
  }

  .closing--p4 .closing__title {
    font-size: 56px;
  }

  .closing--p4 .closing__text {
    max-width: none;
  }
}

/* ---------- Mobile sticky signup bar ---------- */

.sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(114, 242, 120, 0.2);
  background: rgba(10, 42, 23, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  translate: 0 110%;
  transition: translate 0.45s var(--ease-out, ease-out);
}

.sticky-cta.is-visible {
  translate: 0 0;
}

.sticky-cta__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.sticky-cta__text strong {
  color: var(--text-primary);
  font-size: 15px;
}

.sticky-cta__text span {
  color: var(--text-secondary);
  font-size: 12px;
}

/* Keep the end of the footer clear of the bar */
@media (max-width: 767px) {
  .page-4 .site-footer {
    padding-bottom: calc(56px + 72px + env(safe-area-inset-bottom));
  }
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* ---------- Click burst (particles created by landing-4.js) ---------- */

.burst-coin {
  position: fixed;
  z-index: 60;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff9c4 0 10%, var(--gold-1) 30%, var(--gold-2) 65%, var(--gold-3));
  box-shadow: inset 0 0 0 1.5px #e3a43a;
  pointer-events: none;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .coin-field {
    display: none;
  }

  .leaf,
  .jungle::before,
  .jungle::after {
    animation: none;
  }


  .sticky-cta {
    transition: none;
  }
}
