/* The landing (pages/index.jsx + components/home/). Motion is GSAP's; this
   file holds the layout, the ambient loops (aurora, reel art, points popping)
   and the pre-paint hidden states, which apply ONLY under html.bun-motion
   (public/js/motion-ready.js) and stand down at html.bun-ready, with a 2.5s
   safety fade in case the bundle is slow. Reduced motion never gets the
   class and sees every section finished. */

/* ---------------------------------------------------------------- grain */
body[data-app="bunny"]::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------------------------------------------------------------- pre-paint */
html.bun-motion:not(.bun-ready) .bun-hero2 [data-char] { transform: translateY(115%); animation: bun-safe .5s ease 2.5s forwards; }
html.bun-motion:not(.bun-ready) .bun-hero2 [data-fade],
html.bun-motion:not(.bun-ready) .bun-hero2 [data-reel-in] { opacity: 0; animation: bun-safe .5s ease 2.5s forwards; }
@keyframes bun-safe { to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- split type */
.bun-split .bun-line { display: block; }
.bun-split .bun-line.em { color: var(--bun-rose); font-style: italic; }
.bun-split .bun-word { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .03em .14em; margin: -.04em -.03em -.14em; }
.bun-split .bun-char { display: inline-block; will-change: transform; }

/* ---------------------------------------------------------------- aurora */
.bun-aurora { position: absolute; inset: -10%; pointer-events: none; filter: blur(70px) saturate(1.2); opacity: .9; }
.bun-aurora i { position: absolute; display: block; border-radius: 50%; mix-blend-mode: screen; }
.bun-aurora i:nth-child(1) { left: 22%; top: 8%; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; background: radial-gradient(circle, rgb(255 77 141 / 55%), transparent 65%); animation: bun-drift-a 18s ease-in-out infinite alternate; }
.bun-aurora i:nth-child(2) { right: 6%; top: -6%; width: 38vw; height: 38vw; max-width: 600px; max-height: 600px; background: radial-gradient(circle, rgb(150 40 170 / 50%), transparent 65%); animation: bun-drift-b 22s ease-in-out infinite alternate; }
.bun-aurora i:nth-child(3) { left: 4%; bottom: 0; width: 34vw; height: 34vw; max-width: 520px; max-height: 520px; background: radial-gradient(circle, rgb(255 140 90 / 30%), transparent 65%); animation: bun-drift-c 26s ease-in-out infinite alternate; }
.bun-aurora.soft { opacity: .55; -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent); mask-image: radial-gradient(closest-side, #000 35%, transparent); }
@keyframes bun-drift-a { to { transform: translate(12vw, 8vh) scale(1.2); } }
@keyframes bun-drift-b { to { transform: translate(-14vw, 14vh) scale(.85); } }
@keyframes bun-drift-c { to { transform: translate(18vw, -10vh) scale(1.15); } }

/* ---------------------------------------------------------------- hero */
.bun-hero2 { position: relative; display: grid; place-items: center; min-height: calc(100svh - var(--pickle-nav-h, 64px)); padding: 64px 0 96px; overflow: clip; isolation: isolate; perspective: 1200px; }
.bun-hero2 > .bun-aurora { z-index: -2; }
.bun-spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 40%), rgb(255 120 170 / 16%), transparent 70%); }
.bun-hero2.is-live:hover .bun-spot { opacity: 1; }
.bun-hero2-copy { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; will-change: transform; }
.bun-hero2-copy .bun-lede { margin-inline: auto; text-wrap: balance; }
.bun-hero2 .bun-display { font-size: clamp(4rem, 12.5vw, 10.5rem); line-height: .86; margin: 26px 0 26px; text-shadow: 0 10px 60px rgb(0 0 0 / 45%); }

.bun-hero2-reels { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bun-spot-reel { position: absolute; width: clamp(150px, 15vw, 230px); will-change: transform; }
.bun-spot-reel.a { left: 5%; top: 16%; }
.bun-spot-reel.b { right: 6%; top: 9%; width: clamp(160px, 17vw, 250px); }
.bun-spot-reel.c { right: 17%; bottom: -4%; width: clamp(120px, 11vw, 170px); }
.bun-spot-reel [data-reel-in] { transform: rotate(var(--tilt, 0deg)); }
.bun-spot-reel.a [data-reel-in] { --tilt: -9deg; }
.bun-spot-reel.b [data-reel-in] { --tilt: 7deg; }
.bun-spot-reel.c [data-reel-in] { --tilt: -4deg; }
.bun-tilt { position: relative; transform-style: preserve-3d; }

.bun-pop { position: absolute; left: 50%; top: 30%; z-index: 3; padding: 8px 14px; border: 1px solid var(--bun-rose-line); border-radius: 999px; background: rgb(26 12 20 / 82%); backdrop-filter: blur(10px); color: var(--bun-text); font-size: .8rem; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 30px -8px rgb(255 77 141 / 50%); opacity: 0; transform: translate(-50%, 0) scale(.8); animation: bun-pop 6s ease-in-out infinite; }
.bun-pop.p1 { animation-delay: 2s; top: 55%; }
.bun-pop.p2 { animation-delay: 4s; top: 20%; }
@keyframes bun-pop {
  0%, 8% { opacity: 0; transform: translate(-50%, 20px) scale(.8); }
  14% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  32% { opacity: 1; transform: translate(-50%, -26px) scale(1); }
  42%, 100% { opacity: 0; transform: translate(-50%, -54px) scale(.96); }
}

.bun-scrollcue { position: absolute; bottom: 26px; left: 50%; z-index: 2; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--bun-line-2); border-radius: 999px; }
.bun-scrollcue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--bun-rose); animation: bun-cue 1.8s ease-in-out infinite; }
@keyframes bun-cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(16px); } }

/* ---------------------------------------------------------------- reel */
.bun-reel { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border: 1px solid rgb(255 255 255 / 14%); border-radius: 22px; background: #120a0e; box-shadow: 0 30px 80px -20px rgb(0 0 0 / 80%), 0 0 0 6px rgb(255 255 255 / 3%); }
.bun-reel > video, .bun-reel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bun-reel-art { position: absolute; inset: 0; background: linear-gradient(160deg, #2a0f1e, #0d0609 70%); }
.bun-reel-art i { position: absolute; border-radius: 50%; filter: blur(18px); }
.bun-reel-art i:nth-child(1) { width: 90%; height: 55%; left: -20%; top: 8%; background: radial-gradient(circle, #ff4d8d, transparent 65%); animation: bun-art-a 9s ease-in-out infinite alternate; }
.bun-reel-art i:nth-child(2) { width: 80%; height: 50%; right: -25%; top: 38%; background: radial-gradient(circle, #8f2bd6, transparent 65%); animation: bun-art-b 11s ease-in-out infinite alternate; }
.bun-reel-art i:nth-child(3) { width: 70%; height: 40%; left: 10%; bottom: -10%; background: radial-gradient(circle, #ff9a6b, transparent 65%); animation: bun-art-a 13s ease-in-out infinite alternate-reverse; }
.bun-reel.v1 .bun-reel-art { background: linear-gradient(200deg, #1d0a26, #08050a 70%); }
.bun-reel.v1 .bun-reel-art i:nth-child(1) { background: radial-gradient(circle, #b13cff, transparent 65%); }
.bun-reel.v2 .bun-reel-art { background: linear-gradient(140deg, #2b0d12, #0a0506 70%); }
.bun-reel.v2 .bun-reel-art i:nth-child(2) { background: radial-gradient(circle, #ff6f61, transparent 65%); }
@keyframes bun-art-a { to { transform: translate(30%, 20%) scale(1.25); } }
@keyframes bun-art-b { to { transform: translate(-35%, -15%) scale(.8); } }
.bun-reel-ui { position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgb(0 0 0 / 55%)); }
.bun-reel-bar { position: absolute; left: 10px; right: 10px; top: 10px; height: 2px; border-radius: 2px; background: rgb(255 255 255 / 25%); overflow: hidden; }
.bun-reel-bar span { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; animation: bun-bar 7s linear infinite; }
@keyframes bun-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.bun-reel-side { position: absolute; right: 9px; bottom: 54px; display: grid; justify-items: center; gap: 2px; color: #fff; font-size: .95rem; }
.bun-reel-side small { margin-bottom: 8px; font-size: .58rem; opacity: .85; }
.bun-reel-meta { position: absolute; left: 10px; right: 10px; bottom: 12px; display: flex; align-items: center; gap: 6px; color: #fff; font-size: .68rem; font-weight: 600; }
.bun-reel-meta > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bun-reel-meta em { margin-left: auto; padding: 2px 6px; border-radius: 6px; background: rgb(255 255 255 / 18%); font-style: normal; font-size: .6rem; }
.bun-reel-meta .bun-net { width: 18px; height: 18px; margin: 0 0 0 4px; border-radius: 5px; }
.bun-reel-meta .bun-net .bun-net-ico { width: 11px; height: 11px; }
.bun-demo-nets { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--bun-line-2); border-radius: 99px; font-size: .68rem; font-weight: 600; }
.bun-demo-nets > span { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 6px 0; border-radius: 99px; color: var(--bun-muted); }
.bun-demo-nets > span.on { background: var(--bun-card-2); color: var(--bun-text); }
.bun-ig-chips > span { display: inline-flex; align-items: center; }
.bun-ig-chips .bun-net { width: 18px; height: 18px; margin-right: 6px; border-radius: 5px; }
.bun-ig-chips .bun-net .bun-net-ico { width: 11px; height: 11px; }
.bun-demo-split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: .68rem; color: var(--bun-muted); }
.bun-demo-split > span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 4px; border: 1px solid var(--bun-line); border-radius: 10px; white-space: nowrap; }
.bun-demo-split .bun-net { width: 16px; height: 16px; margin: 0; border-radius: 5px; }
.bun-demo-split .bun-net .bun-net-ico { width: 10px; height: 10px; }
.bun-ig-card small { display: inline-flex; align-items: center; gap: 5px; }
.bun-ig-connect { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.bun-reel-av { flex: none; display: inline-block; width: 20px; height: 20px; border-radius: 50%; background: conic-gradient(from 200deg, #ff4d8d, #ffb36b, #b13cff, #ff4d8d); box-shadow: inset 0 0 0 2px #120a0e; }
.bun-reel-av.lg { width: 38px; height: 38px; box-shadow: inset 0 0 0 3px #1a1116; }

/* ---------------------------------------------------------------- marquee */
.bun-marquee { padding: clamp(28px, 6vw, 72px) 0; overflow: hidden; border-block: 1px solid var(--bun-line); background: linear-gradient(90deg, var(--bun-bg), transparent 15%, transparent 85%, var(--bun-bg)), rgb(255 77 141 / 3%); }
.bun-marquee-row { display: flex; overflow: hidden; }
.bun-marquee-run { display: flex; flex: none; width: max-content; will-change: transform; }
.bun-marquee-set { display: flex; flex: none; }
.bun-marquee-set > span { display: inline-flex; align-items: center; gap: .45em; padding-right: .45em; font-family: var(--bun-serif); font-weight: var(--bun-serif-w); font-size: clamp(2.8rem, 8vw, 7rem); line-height: 1.08; white-space: nowrap; }
.bun-marquee-set i { color: var(--bun-rose); font-style: normal; font-size: .45em; }
.bun-marquee-row.alt .bun-marquee-set > span { color: transparent; -webkit-text-stroke: 1px rgb(255 134 178 / 55%); font-style: italic; }

/* ---------------------------------------------------------------- how (static by default) */
.bun-how { position: relative; padding: clamp(56px, 9vw, 110px) 0; }
.bun-how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(28px, 6vw, 90px); align-items: center; }
.bun-how-copy .bun-h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.bun-how-steps { display: grid; gap: 26px; margin: 26px 0 0; padding: 0; list-style: none; }
.bun-how-steps li { display: grid; gap: 8px; max-width: 460px; }
.bun-how-steps b { font-family: var(--bun-serif); font-weight: var(--bun-serif-w); font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.05; }
.bun-how-steps p { margin: 0; color: var(--bun-muted); font-size: 1.05rem; line-height: 1.6; }
.bun-how-n { color: var(--bun-rose); font-size: .8rem; font-weight: 700; letter-spacing: .16em; }
.bun-how-rail { display: none; }

.bun-phone { position: relative; justify-self: center; width: min(100%, 330px); aspect-ratio: 9 / 18.5; padding: 12px; border-radius: 48px; background: linear-gradient(150deg, #2a1d23, #120b0f); box-shadow: 0 0 0 1px rgb(255 255 255 / 9%), 0 50px 120px -30px rgb(255 77 141 / 35%), 0 30px 60px -20px #000; }
.bun-phone-notch { position: absolute; left: 50%; top: 22px; z-index: 5; width: 92px; height: 26px; margin-left: -46px; border-radius: 99px; background: #000; }
.bun-phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 37px; background: #0c0709; }
.bun-screen { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; padding: 62px 18px 20px; background: #0c0709; }
.bun-screen-k { margin: 0; color: var(--bun-muted); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.bun-ig-card { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--bun-line-2); border-radius: 18px; background: var(--bun-card-2); }
.bun-ig-card div { display: grid; gap: 2px; min-width: 0; }
.bun-ig-card b { font-size: .92rem; }
.bun-ig-card small { color: var(--bun-muted); font-size: .72rem; }
.bun-ok-badge { margin-left: auto; padding: 4px 9px; border-radius: 99px; background: rgb(94 227 161 / 14%); color: var(--bun-ok); font-size: .68rem; font-weight: 700; white-space: nowrap; }
.bun-ig-connect { width: 100%; padding: 13px; border: 0; border-radius: 14px; background: linear-gradient(90deg, #ff4d8d, #b13cff 60%, #ff9a6b); color: #fff; font: inherit; font-weight: 700; font-size: .9rem; }
.bun-ig-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bun-ig-chips > span { padding: 7px 11px; border: 1px solid var(--bun-line-2); border-radius: 99px; font-size: .74rem; }
.bun-ig-chips > span:last-child { border-style: dashed; color: var(--bun-muted); }
.bun-screen .bun-reel { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; border-radius: 18px; }
.bun-claim { position: absolute; left: 50%; top: 42%; z-index: 4; padding: 8px 18px; border: 2px solid var(--bun-ok); border-radius: 10px; color: var(--bun-ok); background: rgb(12 7 9 / 55%); font-weight: 800; font-size: 1.1rem; letter-spacing: .14em; text-transform: uppercase; transform: translateX(-50%) rotate(-8deg); }
.bun-screen-left { margin: 0; color: var(--bun-muted); font-size: .8rem; text-align: center; }
.bun-golink { margin: 0; padding: 10px 12px; border: 1px solid var(--bun-rose-line); border-radius: 12px; background: var(--bun-rose-soft); color: var(--bun-rose-hi); font-family: var(--pickle-font-mono); font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bun-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bun-nums div { display: grid; gap: 2px; padding: 10px 8px; border: 1px solid var(--bun-line); border-radius: 12px; background: var(--bun-card-2); text-align: center; }
.bun-nums b { font-family: var(--bun-serif); font-weight: var(--bun-serif-w); font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.bun-nums small { color: var(--bun-muted); font-size: .6rem; }
.bun-nums .hot { border-color: var(--bun-rose-line); background: var(--bun-rose-soft); }
.bun-nums .hot b { color: var(--bun-rose-hi); }

/* ---------------------------------------------------------------- how (pinned) */
@media (min-height: 600px) {
  html.bun-motion .bun-how { height: 420vh; padding: 0; }
  html.bun-motion .bun-how-stage { position: sticky; top: 0; display: grid; align-items: center; height: 100vh; height: 100svh; overflow: hidden; }
  html.bun-motion .bun-how-steps { margin-top: 18px; }
  html.bun-motion .bun-how-steps li { grid-area: 1 / 1; }
  html.bun-motion .bun-how-rail { position: relative; display: flex; justify-content: space-between; width: 140px; margin-top: 6px; }
  html.bun-motion .bun-how-rail::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--bun-line-2); }
  html.bun-motion .bun-how-rail i { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--bun-rose); box-shadow: 0 0 16px var(--bun-rose); }
  html.bun-motion .bun-how-fill { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--bun-rose); transform-origin: left; transform: scaleX(0); }
}

/* ---------------------------------------------------------------- pays */
.bun-pays { padding: clamp(40px, 5vw, 64px) 0 clamp(28px, 5vw, 56px); }
.bun-pays .bun-h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.bun-pays-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 30px; perspective: 1000px; }
.bun-pay { position: relative; display: grid; gap: 8px; align-content: start; padding: 34px 30px 30px; overflow: hidden; border: 1px solid var(--bun-line); border-radius: 26px; background: radial-gradient(280px circle at var(--x, 50%) var(--y, -20%), rgb(255 77 141 / 18%), transparent 70%), var(--bun-card); transition: border-color .3s; }
.bun-pay:hover { border-color: var(--bun-rose-line); }
.bun-pay b { font-family: var(--bun-serif); font-weight: var(--bun-serif-w); font-size: clamp(3.4rem, 6vw, 5.2rem); line-height: .9; background: linear-gradient(180deg, #fff, #ff9ec2); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.bun-pay span { color: var(--bun-text); font-weight: 600; }
.bun-pay p { margin: 0; color: var(--bun-muted); line-height: 1.55; }
.bun-pays-note { margin-top: 18px; text-align: center; }

/* ---------------------------------------------------------------- creators rail */
.bun-rail { padding: clamp(40px, 7vw, 90px) 0; }
.bun-rail-track { display: flex; gap: 18px; padding: 10px var(--pickle-gutter, 16px) 20px; overflow-x: auto; scroll-snap-type: x mandatory; }
.bun-rail-track figure { flex: none; width: clamp(190px, 21vw, 270px); margin: 0; scroll-snap-align: start; }
.bun-rail-track figcaption { display: grid; gap: 2px; padding: 12px 4px 0; }
.bun-rail-track figcaption span { color: var(--bun-muted); font-size: .85rem; }
.bun-rail-more { flex: none; align-self: center; padding: 0 40px; color: var(--bun-rose-hi); font-family: var(--bun-serif); font-weight: var(--bun-serif-w); font-size: 2.4rem; text-decoration: none; white-space: nowrap; }
@media (min-height: 600px) {
  html.bun-motion .bun-rail { height: calc(100vh + var(--reels, 4) * 26vw); padding: 0; }
  html.bun-motion .bun-rail-stage { position: sticky; top: 0; display: grid; grid-template-columns: minmax(0, 100%); align-content: center; gap: 10px; height: 100vh; height: 100svh; overflow: hidden; }
  html.bun-motion .bun-rail-track { overflow: visible; width: max-content; padding-left: max(var(--pickle-gutter, 16px), calc((100vw - var(--bun-wrap)) / 2 + var(--pickle-gutter, 16px))); }
}

/* ---------------------------------------------------------------- say + close */
.bun-say { padding: clamp(60px, 10vw, 140px) 0; }
.bun-say-text { max-width: 1000px; margin: 0 0 28px; font-family: var(--bun-serif); font-weight: var(--bun-serif-w); font-size: clamp(2.2rem, 5.4vw, 4.6rem); line-height: 1.06; letter-spacing: -.01em; }
.bun-close { position: relative; padding: clamp(80px, 13vw, 170px) 0 clamp(40px, 6vw, 70px); overflow: clip; isolation: isolate; }
.bun-close > .bun-aurora { z-index: -1; inset: 0 -10% 0; }
.bun-close .bun-display { font-size: clamp(3.2rem, 10vw, 8.5rem); line-height: .9; margin: 0 0 40px; }
.bun-magnet-zone { display: inline-grid; place-items: center; padding: 30px 60px; margin-bottom: 14px; }
body[data-app="bunny"] .ex-btn.bun-big-btn { min-height: 64px; padding-inline: 42px; font-size: 1.12rem; box-shadow: 0 16px 50px -10px rgb(255 77 141 / 70%); }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 899px) {
  .bun-hero2 { align-content: start; padding-top: 40px; }
  .bun-hero2-reels { position: relative; inset: auto; order: 2; display: flex; justify-content: center; gap: 0; height: 270px; margin-top: 10px; }
  .bun-hero2 { display: flex; flex-direction: column; align-items: center; }
  .bun-spot-reel, .bun-spot-reel.b, .bun-spot-reel.c { position: relative; inset: auto; width: 128px; margin: 0 -10px; }
  .bun-spot-reel.b { order: 2; width: 146px; z-index: 2; margin-top: -14px; }
  .bun-spot-reel.c { order: 3; margin-top: 18px; }
  .bun-pop { font-size: .7rem; padding: 6px 10px; }
  .bun-spot-reel .bun-reel-meta em, .bun-spot-reel .bun-reel-side small { display: none; }
  .bun-scrollcue { display: none; }
  .bun-how-grid { grid-template-columns: 1fr; }
  .bun-pays-grid { grid-template-columns: 1fr; }
  .bun-magnet-zone { padding: 10px 0; }
}
@media (max-width: 899px) and (min-height: 600px) {
  html.bun-motion .bun-how-grid { gap: 18px; align-content: center; }
  html.bun-motion .bun-how-copy .bun-h2 { font-size: 1.9rem; margin-bottom: 8px; }
  html.bun-motion .bun-how-steps b { font-size: 1.5rem; }
  html.bun-motion .bun-how-steps p { font-size: .92rem; }
  html.bun-motion .bun-phone { width: auto; height: 52svh; }
  html.bun-motion .bun-how-copy .bun-label { margin-bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .bun-aurora i, .bun-reel-art i, .bun-reel-bar span, .bun-pop, .bun-scrollcue span { animation: none; }
  .bun-pop { display: none; }
}

/* ---------------------------------------------------------------- the weekly battle */
.bun-teaser { position: relative; isolation: isolate; padding: clamp(80px, 12vw, 150px) 0; overflow: hidden; }
.bun-teaser > .bun-aurora { z-index: -1; inset: 0 -10%; }
.bun-teaser-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 80px); }
.bun-teaser-copy { min-width: 0; container-type: inline-size; }
.bun-teaser .bun-h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 10px; }
.bun-teaser-pool { margin: 0 0 6px; font-family: var(--bun-serif); font-weight: var(--bun-serif-w); font-size: min(10rem, calc(100cqi / (var(--len, 6) * .68))); line-height: .95; white-space: nowrap; font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #fff 10%, var(--bun-rose-hi) 50%, var(--bun-rose)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 50px rgb(255 77 141 / 35%)); }
.bun-teaser .bun-clock { margin-top: 26px; }
.bun-teaser .bun-cta { justify-content: flex-start; margin-bottom: 0; }
@media (max-width: 900px) {
  .bun-teaser-grid { grid-template-columns: minmax(0, 1fr); }
}

/* The tasks under the three big numbers: one line of four, quieter than the cards. */
.bun-pays-tasks { margin-top: 16px; padding: 22px 26px; border: 1px solid var(--bun-line); border-radius: 26px; background: var(--bun-card); }
.bun-pays-tasks-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.bun-pays-tasks-head b { font-size: 1.05rem; }
.bun-pays-tasks-head span { color: var(--bun-muted); font-size: .9rem; }
.bun-pays-tasks-head a { color: var(--bun-rose-hi); }
.bun-pays-tasks ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.bun-pays-tasks li { display: grid; gap: 2px; padding: 0 18px; border-left: 1px solid var(--bun-line); }
.bun-pays-tasks li:first-child { padding-left: 0; border-left: 0; }
.bun-pays-tasks li b { font-family: var(--bun-serif); font-weight: var(--bun-serif-w); font-size: 2.2rem; line-height: 1; color: var(--bun-rose-hi); font-variant-numeric: tabular-nums; }
.bun-pays-tasks li span { margin-top: 6px; font-weight: 600; }
.bun-pays-tasks li small { color: var(--bun-muted); font-size: .84rem; line-height: 1.45; }
@media (max-width: 760px) {
  .bun-pays-tasks ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .bun-pays-tasks li:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* The click line under the quest cards. */
.bun-pays-click { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: baseline; margin-top: 16px; padding: 20px 26px; border: 1px solid var(--bun-line); border-radius: 26px; background: var(--bun-card); }
.bun-pays-click b { grid-row: span 2; font-family: var(--bun-serif); font-weight: var(--bun-serif-w); font-size: 2.6rem; line-height: 1; color: var(--bun-rose-hi); }
.bun-pays-click span { font-weight: 600; }
.bun-pays-click small { color: var(--bun-muted); font-size: .88rem; }
.bun-pays-click a { color: var(--bun-rose-hi); }
@media (max-width: 980px) { .bun-pays-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
