@font-face { font-family: 'Outfit'; src: url('/assets/outfit.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

.hero, .nav, .pin, .download, .stores, .rc-goal, .tile.accent, .doc-nav, .earn-pill { --gold: var(--accent); }

:root {
  --black: #000;
  --ink: #1d1d1f;
  --soft: #6e6e73;
  --mist: #f5f5f7;
  --white: #fff;
  --line: #d2d2d7;
  --on-dark-soft: #a1a1a6;
  /* Celis: night, sand and the gold sun. Gold is a fill or sits on dark; on light it becomes --gold, a deeper gold that reads. */
  --accent: #ffb41f;
  --accent-hover: #f0a300;
  --accent-ink: #9c6400;
  --on-accent: #0b2219;
  --gold: var(--accent-ink);
  --jade: #12a26c;
  --forest: #0b2219;
  --forest-soft: #163a2c;
  --sand: #f7f3ea;
  --safe: #1f6f54;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.47; letter-spacing: -.022em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
section[id] { scroll-margin-top: 60px; }
:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); color: #f5f5f7; }
.nav-inner { max-width: 1024px; height: 48px; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--sand); }
.logo .brandmark { height: 22px; width: auto; }
.nav-links { display: flex; gap: 30px; font-size: 13px; letter-spacing: -.01em; }
.nav-links a { text-decoration: none; opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { font-size: 13px; font-weight: 500; text-decoration: none; background: var(--accent); color: var(--on-accent); padding: 5px 13px; border-radius: 980px; transition: background .2s; white-space: nowrap; }
.nav-cta:hover { background: var(--accent-hover); }

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

/* Hero */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.eyebrow { font-size: clamp(19px, 2.4vw, 24px); font-weight: 600; color: var(--gold); margin-bottom: 6px; }
h1 { font-size: clamp(44px, 8.4vw, 96px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
.lede { font-size: clamp(19px, 2.4vw, 26px); line-height: 1.25; font-weight: 400; color: var(--on-dark-soft); max-width: 680px; margin: 20px auto 0; letter-spacing: -.02em; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 30px; min-height: 50px; }
.badge { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; text-decoration: none; transition: transform .3s var(--ease); }
a.badge:hover { transform: scale(1.04); }
.badge img { height: 50px; width: auto; }
.badge img[src*='google'] { height: 66px; margin: -8px 0; }
.badge.soon img { opacity: .55; }
.badge small { font-size: 11px; letter-spacing: 0; color: var(--on-dark-soft); }
.hero { position: relative; overflow: hidden; color: #f5f5f7; background: radial-gradient(120% 90% at 85% 10%, #163a2c 0%, #071710 45%, #000 100%); padding: clamp(48px, 7vw, 88px) 22px clamp(56px, 8vw, 100px); }
.hero-glow { position: absolute; width: 640px; height: 640px; right: -120px; top: 40px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 180, 31, .32), transparent 62%); filter: blur(30px); animation: glow 9s ease-in-out infinite alternate; pointer-events: none; }
@keyframes glow { to { transform: translate(-80px, 60px) scale(1.15); opacity: .7; } }
.hero-inner { position: relative; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.hero-copy { text-align: left; }
.hero h1 { font-size: clamp(46px, 6.6vw, 86px); line-height: 1.02; letter-spacing: -.04em; }
.rot { display: inline-block; position: relative; height: 1.08em; overflow: hidden; vertical-align: bottom; color: var(--gold); padding-right: .05em; }
.rot-word { display: block; white-space: nowrap; transition: transform .55s var(--ease), opacity .55s var(--ease); }
.rot-word.leave { transform: translateY(-105%); opacity: 0; }
.rot-word.enter { transform: translateY(105%); opacity: 0; transition: none; }
.hero .lede { margin: 22px 0 0; max-width: 520px; font-size: clamp(18px, 1.9vw, 22px); line-height: 1.4; }
.hero .badges { justify-content: flex-start; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #c9d3cd; }
.hero-trust .ic { width: 18px; height: 18px; color: var(--gold); }

.hero-stage { position: relative; width: min(340px, 74vw); margin: 0 auto; will-change: transform; }
.hero-stage .phone { animation: phone-in 1.1s var(--ease) both .1s; }
@keyframes phone-in { from { opacity: 0; transform: translateY(60px) rotate(3deg) scale(.94); } }
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; background: rgba(255, 253, 248, .96); color: var(--ink); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); white-space: nowrap; opacity: 0; animation: float-in .8s var(--ease) forwards, bob 6s ease-in-out infinite; }
.float b { display: flex; align-items: center; gap: 4px; font-size: 14px; letter-spacing: -.01em; }
.float small { display: block; font-size: 12px; color: var(--soft); }
.float strong { font-family: 'Outfit', var(--sans); font-size: 20px; color: var(--safe); margin-left: 4px; }
.f1 { top: 12%; left: -34%; animation-delay: .9s, 1.7s; }
.f2 { top: 34%; right: -30%; animation-delay: 1.2s, 2.6s; }
.f3 { bottom: 22%; left: -28%; animation-delay: 1.5s, 3.4s; }
.f4 { bottom: 5%; right: -24%; animation-delay: 1.8s, 2.1s; }
@keyframes float-in { from { opacity: 0; transform: translateY(18px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.f-app { width: 36px; height: 36px; border-radius: 10px; background: var(--forest); color: var(--sand); display: grid; place-items: center; }
.f-app svg { width: 26px; height: 26px; }
.f-time { align-self: flex-start; font-size: 11px; color: var(--soft); margin-left: 6px; }
.f-avatar { width: 36px; height: 36px; border-radius: 50%; background: #8a6a2f; color: #fff; display: grid; place-items: center; font-family: 'Outfit', var(--sans); font-weight: 700; font-size: 14px; }
.ic.blue { width: 15px; height: 15px; fill: #1d9bf0; stroke: #fff; stroke-width: 2.2; }
.f-ok, .f-warn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.f-ok { background: #dbebe2; color: var(--safe); }
.f-warn { background: #f8ebcd; color: #a5690f; }
.f-ok .ic, .f-warn .ic { width: 19px; height: 19px; stroke-width: 2.2; }

/* Phone */
.phone { position: relative; border-radius: 15.2% / 7%; background: #1b1b1d; padding: 2.8%; box-shadow: 0 0 0 1px #3a3a3c, 0 0 0 2px #000, 0 40px 90px rgba(0, 0, 0, .4); aspect-ratio: 660 / 1434; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 12.8% / 5.9%; background: #f7f3ea; }
.island { position: absolute; z-index: 2; top: 3.9%; left: 50%; width: 28%; height: 3%; transform: translateX(-50%); background: #000; border-radius: 99px; }

/* Statement */
.statement { background: var(--white); position: relative; z-index: 2; padding: clamp(90px, 14vw, 170px) 22px; }
.scrub { max-width: 900px; margin: 0 auto; font-size: clamp(30px, 5.4vw, 60px); line-height: 1.12; font-weight: 600; letter-spacing: -.03em; }
.scrub em { font-style: normal; }
.scrub span { color: #d2d2d7; transition: color .35s; }
.scrub span.lit { color: var(--ink); }
.scrub em span.lit { color: var(--gold); }
.scrub.static em { color: var(--gold); }

/* Bento */
.bento-section { background: var(--mist); padding: clamp(70px, 10vw, 130px) 22px; }
.section-head { max-width: 980px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
h2 { font-size: clamp(38px, 6.4vw, 72px); line-height: 1.06; letter-spacing: -.032em; font-weight: 700; }
.section-head > p:last-child:not(.eyebrow) { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.3; color: var(--soft); margin-top: 14px; }
.bento { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: var(--white); border-radius: 28px; padding: 34px 30px; min-height: 300px; display: flex; flex-direction: column; overflow: hidden; }
.tile h3 { font-size: clamp(22px, 2.5vw, 28px); line-height: 1.12; letter-spacing: -.024em; font-weight: 700; }
.tile p { color: var(--soft); margin-top: 10px; font-size: 17px; }
.tile.dark { background: #0b0b0c; color: #f5f5f7; }
.tile.dark p { color: var(--on-dark-soft); }
.tile.accent { background: var(--forest); color: #f7f3ea; }
.tile.accent p { color: #a8bfb3; }
.tile.accent .tile-icon svg { stroke: var(--accent); }
.tile-tall { grid-row: span 2; }
.tile-tall .tile-phone { margin: 30px auto -44%; width: 82%; }
.tile-wide { grid-column: span 2; flex-direction: row; gap: 30px; align-items: center; }
.tile-wide .tile-copy { flex: 1; }
.checks { flex: 1; display: grid; gap: 10px; }
.checks li { position: relative; padding: 11px 13px 11px 40px; background: var(--mist); border-radius: 13px; font-size: 15px; letter-spacing: -.01em; }
.checks li::before { content: ''; position: absolute; left: 13px; top: 50%; width: 17px; height: 17px; margin-top: -8.5px; border-radius: 50%; background: var(--safe) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }
.big-stat { font-size: 92px; line-height: 1; font-weight: 700; letter-spacing: -.05em; color: var(--gold); margin-bottom: auto; padding-bottom: 20px; }
.big-stat span { font-size: 20px; letter-spacing: -.02em; margin-left: 7px; }
.tile-icon { margin-bottom: auto; padding-bottom: 26px; }
.tile-icon svg { width: 52px; height: 52px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Pinned walkthrough */
.pin { background: var(--black); color: #f5f5f7; padding: clamp(70px, 10vw, 130px) 22px; }
.pin-grid { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.pin-phone { position: sticky; top: calc(50vh - min(38vh, 300px)); display: flex; justify-content: center; }
.pin-phone .phone { width: min(290px, calc(76vh * .46)); }
.pin-shot { position: absolute; inset: 2.8%; width: 94.4% !important; height: 94.4% !important; opacity: 0; transform: scale(.98); transition: opacity .55s, transform .75s var(--ease); }
.pin-shot.on { opacity: 1; transform: none; z-index: 1; }
.step-phone { display: none; }
.pin-steps li { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s; }
.pin-steps li.on { opacity: 1; }
.pin-steps span { color: var(--gold); font-weight: 600; font-size: 17px; margin-bottom: 10px; }
.pin-steps h3 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; }
.pin-steps p { color: var(--on-dark-soft); font-size: clamp(18px, 1.9vw, 21px); line-height: 1.36; margin-top: 14px; }

/* City */
.city { background: var(--white); padding: clamp(80px, 12vw, 150px) 0; overflow: hidden; }
.city .section-head { padding: 0 22px; }
.city-name { font-size: clamp(64px, 15vw, 176px); line-height: 1; letter-spacing: -.05em; }
.marquee { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto clamp(50px, 8vw, 90px); padding: 0 22px; }
.marquee li { background: var(--mist); padding: 10px 18px; border-radius: 980px; font-weight: 500; font-size: 16px; transition: background .25s, color .25s; }
.marquee li:hover { background: var(--ink); color: #fff; }
.three { max-width: 1024px; margin: 0 auto; padding: 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.three strong { font-size: 21px; letter-spacing: -.02em; font-weight: 700; }
.three p { color: var(--soft); margin-top: 6px; }

/* Download */
.download { background: var(--black); color: #f5f5f7; text-align: center; padding: clamp(90px, 13vw, 160px) 22px; }
.app-icon { margin: 0 auto 26px; width: 104px; height: 104px; border-radius: 23px; box-shadow: 0 0 0 1px #2c2c2e; }

/* Footer */
.footer { background: var(--mist); color: var(--soft); font-size: 12px; line-height: 1.5; letter-spacing: -.01em; padding: 26px 22px 34px; }
.footer-inner { max-width: 1024px; margin: 0 auto; display: grid; gap: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.footer-links a { color: var(--ink); text-decoration: none; font-size: 13px; }
.footer-links a:hover { text-decoration: underline; }

/* Legal and help pages */
body:has(.doc) { background: var(--white); }
.doc-nav { background: var(--black); color: #f5f5f7; }
.doc-nav .nav-inner { justify-content: space-between; }
.doc { max-width: 720px; margin: 0 auto; padding: clamp(44px, 8vw, 80px) 22px clamp(70px, 10vw, 110px); }
.doc h1 { font-size: clamp(38px, 6vw, 56px); margin-bottom: 8px; }
.doc .updated { color: var(--soft); font-size: 15px; }
.doc h2 { font-size: 22px; letter-spacing: -.02em; margin-top: 34px; line-height: 1.2; }
.doc p, .doc li { margin-top: 8px; color: #333336; }
.doc ol { list-style: decimal; padding-left: 22px; }
.doc a { color: #0066cc; }
.lang-switch { display: inline-flex; gap: 4px; background: var(--mist); border-radius: 980px; padding: 4px; margin: 22px 0 6px; }
.lang-switch a { padding: 6px 15px; border-radius: 980px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink); }
.lang-switch a.on { background: var(--ink); color: #fff; }
.draft-note { background: #fff4d6; padding: 10px 14px; border-radius: 12px; font-size: 14px; margin-top: 18px; color: #6b4e00; }

/* Launch countdown */
.launch { position: relative; overflow: hidden; background: #f7f3ea; color: var(--ink); padding: clamp(80px, 11vw, 140px) 22px; text-align: center; }
.launch-inner { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; }
/* The two halves of the title slide together as the section scrolls into place. */
.launch-title { font-size: clamp(44px, 7vw, 92px); line-height: 1; }
.launch-title span { display: inline-block; transition: transform .2s linear; }
.launch-title span:first-child { transform: translateX(calc((1 - var(--p)) * -60px)); }
.launch-title span:last-child { transform: translateX(calc((1 - var(--p)) * 60px)); color: var(--gold); }
.launch-sub { color: var(--soft); font-size: clamp(18px, 2vw, 22px); margin: 18px auto 0; max-width: 560px; }
.launch-sub time { color: var(--ink); font-weight: 600; }

.clock-stage { margin: clamp(36px, 5vw, 56px) auto 0; perspective: 1200px; }
.clock { --rx: 0deg; --ry: 0deg; display: inline-flex; align-items: flex-start; gap: clamp(6px, 1.4vw, 16px); padding: clamp(16px, 2.6vw, 30px); border-radius: 32px; background: var(--white); box-shadow: 0 50px 90px -40px rgba(11, 34, 25, .45), 0 0 0 1px #e2dbcb; transform: rotateX(calc(var(--rx) + (1 - var(--p)) * 24deg)) rotateY(var(--ry)) scale(calc(.9 + var(--p) * .1)); transform-style: preserve-3d; transition: transform .25s var(--ease); }
.unit { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.digits { display: flex; gap: clamp(3px, .5vw, 6px); }
.digit { --h: 1.18em; position: relative; display: block; width: .78em; height: var(--h); font-size: clamp(40px, 7.4vw, 92px); font-weight: 700; font-variant-numeric: tabular-nums; perspective: 300px; }
.half { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; display: flex; justify-content: center; background: var(--forest); color: #f7f3ea; backface-visibility: hidden; }
.half > span { display: block; height: var(--h); line-height: var(--h); }
.half.top { top: 0; align-items: flex-start; border-radius: .14em .14em 0 0; background: #14301f; }
.half.bottom { bottom: 0; align-items: flex-end; border-radius: 0 0 .14em .14em; }
/* The hinge line across the middle of each card. */
.digit::after { content: ''; position: absolute; z-index: 3; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(0, 0, 0, .45); }
.leaf { z-index: 2; }
.leaf.top { transform-origin: 50% 100%; animation: fold .32s cubic-bezier(.55, 0, .85, .4) forwards; }
.leaf.bottom { transform-origin: 50% 0; transform: rotateX(90deg); animation: unfold .32s cubic-bezier(.15, .6, .45, 1) .3s forwards; }
@keyframes fold { to { transform: rotateX(-90deg); } }
@keyframes unfold { to { transform: rotateX(0); } }
.unit-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.unit[data-unit='seconds'] .half { background: var(--accent); color: var(--on-accent); }
.unit[data-unit='seconds'] .half.top { background: #ffc24a; }
.colon { font-size: clamp(34px, 6vw, 76px); font-weight: 700; line-height: 1.18; color: #cfc6b4; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.clock-live { margin-top: 18px; font-weight: 700; color: var(--safe); font-size: 20px; }

.launch-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.button.ghost-dark { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.button.ghost-dark:hover { background: var(--ink); color: #fff; }
.launch-toast { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, -6px); background: var(--ink); color: #fff; font-size: 14px; padding: 8px 14px; border-radius: 980px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); white-space: nowrap; }
.launch-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Things people sell circle the clock, turning as you scroll. */
.launch-orbit { position: absolute; left: 50%; top: 56%; width: min(1100px, 150vw); aspect-ratio: 1; transform: translate(-50%, -50%) rotate(calc(var(--o) * 200deg)); pointer-events: none; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed #ddd3c0; }
.ring.r2 { inset: 17%; border-style: solid; border-color: #e9e1d1; }
.orbs { position: absolute; inset: 0; }
.orb { --a: calc(var(--i) * 45deg); position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px; border-radius: 18px; display: grid; place-items: center; background: var(--white); color: var(--forest); box-shadow: 0 14px 30px -14px rgba(11, 34, 25, .35); transform: rotate(var(--a)) translate(calc(min(1100px, 150vw) / 2)) rotate(calc(-1 * var(--a) - var(--o) * 200deg)); }
.orb svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.orb:nth-child(odd) { background: var(--forest); color: #f7f3ea; }

.journey { max-width: 860px; margin: clamp(56px, 7vw, 84px) auto 0; text-align: left; }
.journey-track { position: relative; height: 8px; border-radius: 8px; background: #e2dbcb; margin: 0 6% 22px; }
.journey-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--forest), var(--accent)); transition: width 1.6s var(--ease) .3s; }
.journey-you { position: absolute; top: -40px; left: 0; transform: translateX(-50%); background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 980px; white-space: nowrap; transition: left 1.6s var(--ease) .3s; }
.journey-you::after { content: ''; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--gold); }
.journey ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.journey li { position: relative; padding-top: 4px; font-size: 14px; text-align: center; }
.journey li b { display: block; font-size: 15px; }
.journey li span { color: var(--soft); }
.journey-note { text-align: center; color: var(--soft); font-size: 12px; margin-top: 18px; }

/* Earnings */
.hero-note { color: var(--on-dark-soft); font-size: 14px; margin-top: 12px; }
.earn { background: var(--white); position: relative; z-index: 2; padding: clamp(80px, 11vw, 140px) 22px clamp(70px, 10vw, 120px); }
.earn-head { max-width: 1080px; margin: 0 auto clamp(36px, 5vw, 56px); display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px clamp(28px, 5vw, 64px); align-items: end; }
.earn-head h2 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; }
/* A highlighter stroke that draws across the word when the heading scrolls in. */
.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark::after { content: ''; position: absolute; z-index: -1; left: -.06em; right: -.06em; bottom: .06em; height: .34em; border-radius: .1em; background: #ffe3a3; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .35s; }
.reveal.in .mark::after { transform: scaleX(1); }
.earn-intro p { color: var(--soft); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.45; }
.mini-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.mini-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 980px; background: var(--mist); font-size: 14px; font-weight: 600; }
.mini-steps span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 12px; }
.mini-steps li:last-child span { background: var(--accent); color: var(--on-accent); }
.earn-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.45fr 1fr; gap: 24px; align-items: start; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile-btn { position: relative; width: 100%; height: 100%; min-height: 138px; font: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 22px; border: 1.5px solid transparent; background: var(--mist); color: var(--ink); transition: transform .35s var(--ease), background .3s, border-color .3s, box-shadow .35s var(--ease); -webkit-tap-highlight-color: transparent; }
.tile-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .25); }
.tile-btn:active { transform: scale(.97); }
.tile-btn b { font-size: 15px; line-height: 1.25; letter-spacing: -.01em; margin-top: auto; padding-top: 12px; }
.tile-btn small { color: var(--soft); font-size: 13px; font-variant-numeric: tabular-nums; }
.tb-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--white); color: var(--ink); transition: background .3s, color .3s, transform .45s var(--ease); }
.tb-ic .ic { width: 24px; height: 24px; }
.tb-check { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); transform: scale(0); transition: transform .4s var(--ease); }
.tb-check .ic { width: 14px; height: 14px; stroke-width: 3; }
.tile-btn[aria-pressed='true'] { background: #fff6e0; border-color: var(--gold); box-shadow: 0 14px 30px -18px rgba(255, 180, 31, .6); }
.tile-btn[aria-pressed='true'] .tb-ic { background: var(--accent); color: var(--on-accent); transform: rotate(-8deg) scale(1.06); }
.tile-btn[aria-pressed='true'] .tb-check { transform: scale(1); }
.tile-btn[aria-pressed='true'] small { color: var(--gold); }
.float-gain { position: absolute; left: 50%; top: 40%; pointer-events: none; font-weight: 700; font-size: 18px; color: var(--gold); animation: float-up .9s var(--ease) forwards; }
@keyframes float-up { from { opacity: 0; transform: translate(-50%, 6px) scale(.8); } 25% { opacity: 1; } to { opacity: 0; transform: translate(-50%, -46px) scale(1.1); } }

.receipt-wrap { position: sticky; top: 72px; }
.receipt { position: relative; background: #fffdf8; border-radius: 6px 6px 22px 22px; padding: 26px 24px 22px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .35), 0 0 0 1px #ece6d8; }
/* The torn top edge of a paper receipt. */
.receipt::before { content: ''; position: absolute; left: 0; right: 0; top: -9px; height: 10px; background: radial-gradient(circle at 7px -2px, transparent 7px, #fffdf8 7.5px) 0 0 / 14px 10px repeat-x; }
.rc-head { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1.5px dashed #e2dbcb; }
.rc-head > .ic { width: 38px; height: 38px; padding: 8px; border-radius: 12px; background: var(--forest); color: #f7f3ea; }
.rc-head b { display: block; font-size: 17px; letter-spacing: -.01em; }
.rc-head small { color: var(--soft); font-size: 13px; }
.rc-lines { min-height: 120px; max-height: 260px; overflow-y: auto; padding: 10px 0; display: grid; align-content: start; gap: 2px; }
.rc-lines li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; animation: line-in .45s var(--ease); }
.rc-lines li.out { animation: line-out .3s var(--ease) forwards; }
@keyframes line-in { from { opacity: 0; transform: translateY(-10px); } }
@keyframes line-out { to { opacity: 0; transform: translateX(20px); height: 0; padding: 0; } }
.rc-lines li svg { width: 18px; height: 18px; fill: none; stroke: var(--soft); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.rc-lines li span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-lines li em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.rc-lines li.rc-empty { color: var(--soft); justify-content: center; text-align: center; padding: 34px 0; animation: none; }
.rc-lines li.rc-empty[hidden] { display: none; }
.rc-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 0 6px; border-top: 1.5px dashed #e2dbcb; }
.rc-total span { color: var(--soft); font-size: 14px; }
.rc-total strong { font-family: 'Outfit', var(--sans); font-size: clamp(40px, 5vw, 52px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rc-total strong.bump { animation: bump .5s var(--ease); }
@keyframes bump { 35% { transform: scale(1.08); color: var(--gold); } }
.rc-goal { margin-top: 12px; padding: 14px; border-radius: 16px; background: var(--forest); color: #f7f3ea; }
.goal-row { display: flex; gap: 12px; align-items: center; }
.goal-row p { font-size: 15px; line-height: 1.35; transition: opacity .25s; }
.goal-row p.swap { opacity: 0; }
.goal-ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 180, 31, .18); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.goal-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.goal-ic.pop { animation: pop .5s var(--ease); }
@keyframes pop { 40% { transform: scale(1.25) rotate(-8deg); } }
.goal-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .14); margin: 12px 0 6px; overflow: hidden; }
.goal-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #ffd47a); transition: width .7s var(--ease); }
.rc-goal small { color: #a8bfb3; font-size: 12px; }
.button.rc-cta { display: block; text-align: center; margin-top: 16px; }
.rc-fine { text-align: center; color: var(--soft); font-size: 12px; margin-top: 8px; }
.fine { max-width: 1080px; margin: 18px auto 0; color: var(--soft); font-size: 13px; text-align: center; }
/* On phones the receipt sits below the tiles, so a running total follows you while you tap. */
.earn-pill { display: none; }

/* Three steps */
.steps { background: var(--mist); padding: clamp(70px, 10vw, 130px) 22px; }
.step-grid { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-grid li { background: var(--white); border-radius: 28px; padding: 34px 30px; }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 19px; margin-bottom: 22px; }
.step-grid h3 { font-size: clamp(22px, 2.5vw, 28px); line-height: 1.12; letter-spacing: -.024em; }
.step-grid p { color: var(--soft); margin-top: 10px; }
.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.pill-row span { background: var(--white); border: 1px solid var(--line); border-radius: 980px; padding: 9px 18px; font-weight: 600; font-size: 15px; }
.pill-row span::before { content: '✓'; color: var(--safe); margin-right: 8px; }

/* Verified stores */
.stores { background: var(--forest); color: #f7f3ea; padding: clamp(80px, 11vw, 140px) 22px; overflow: hidden; }
.section-head.on-dark > p:last-child { color: #a8bfb3; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.stores-grid { max-width: 1024px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }

.store-preview { background: #f7f3ea; color: var(--ink); border-radius: 32px; padding: 26px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
.sp-head { display: flex; gap: 16px; align-items: center; }
.sp-avatar { width: 68px; height: 68px; border-radius: 50%; background: var(--forest); color: #f7f3ea; display: grid; place-items: center; flex-shrink: 0; }
.sp-avatar .ic { width: 32px; height: 32px; }
.sp-who b { display: flex; align-items: center; gap: 6px; font-family: 'Outfit', var(--sans); font-size: 23px; letter-spacing: -.02em; }
.sp-who small { display: block; color: var(--soft); font-size: 13px; margin-top: 6px; }
.sp-check .ic.fill { width: 20px; height: 20px; fill: #1d9bf0; stroke: #fff; stroke-width: 2; }
.sp-chip { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12px; font-weight: 700; color: #0b6cb0; background: #e3f2fd; padding: 3px 10px 3px 6px; border-radius: 980px; }
.sp-chip .ic { width: 15px; height: 15px; stroke: #1d9bf0; stroke-width: 2.2; }
.sp-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0 18px; background: var(--white); border-radius: 18px; padding: 12px 6px; text-align: center; }
.sp-stats b { display: block; font-size: 19px; letter-spacing: -.02em; }
.sp-stats small { color: var(--soft); font-size: 12px; }
.sp-items { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sp-item { position: relative; background: var(--white); border-radius: 18px; padding: 8px 8px 12px; }
.sp-item b { display: block; font-family: 'Outfit', var(--sans); font-size: 18px; margin: 8px 4px 0; }
.sp-item small { display: block; color: var(--soft); font-size: 12px; margin: 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-thumb { height: 92px; border-radius: 12px; display: grid; place-items: center; color: var(--forest); }
.sp-thumb .ic { width: 38px; height: 38px; stroke-width: 1.4; }
.sp-thumb.t1 { background: linear-gradient(140deg, #dbebe2, #b9d6c6); }
.sp-thumb.t2 { background: linear-gradient(140deg, #fbe4da, #f2c3ae); }
.sp-thumb.t3 { background: linear-gradient(140deg, #f8ebcd, #ecd39b); }
.sp-thumb.t4 { background: linear-gradient(140deg, #e3f2fd, #bcdcf5); }
.sp-feat { position: absolute; z-index: 1; top: 14px; left: 14px; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .92); padding: 3px 8px; border-radius: 980px; }
.sp-note { text-align: center; color: var(--soft); font-size: 12px; margin-top: 14px; }

.store-perks ul { display: grid; gap: 22px; }
.store-perks li { display: flex; gap: 16px; align-items: flex-start; }
.perk-ic { width: 48px; height: 48px; border-radius: 14px; background: #163a2c; color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.store-perks b { font-size: 19px; letter-spacing: -.015em; }
.store-perks p { color: #a8bfb3; margin-top: 3px; font-size: 16px; line-height: 1.45; }
.perk-cta { margin-top: 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.perk-cta small { color: #a8bfb3; font-size: 13px; }

.store-kinds { max-width: 1024px; margin: clamp(48px, 7vw, 80px) auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.store-kinds li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid #2f4438; border-radius: 980px; font-weight: 500; font-size: 15px; }
.store-kinds .ic { color: var(--gold); width: 20px; height: 20px; }

.button { flex-shrink: 0; display: inline-block; font: inherit; border: 0; cursor: pointer; text-decoration: none; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 16px; padding: 14px 24px; border-radius: 980px; transition: background .2s, transform .2s var(--ease); }
.button:hover { background: var(--accent-hover); transform: translateY(-1px); }
.button:disabled { opacity: .6; cursor: progress; transform: none; }

/* Store application */
.apply { width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 0; padding: 0; border-radius: 28px; background: var(--white); color: var(--ink); box-shadow: 0 40px 120px rgba(0, 0, 0, .4); }
.apply::backdrop { background: rgba(10, 16, 13, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.apply[open] { animation: apply-in .45s var(--ease); }
@keyframes apply-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.apply-form { position: relative; padding: clamp(24px, 4vw, 40px); }
.apply-form h2 { font-size: clamp(30px, 4vw, 40px); }
.apply-form .eyebrow { font-size: 15px; }
.apply-lede { color: var(--soft); margin: 10px 0 22px; }
.apply-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--mist); font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink); }
.apply-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.apply-form label i { font-style: normal; font-weight: 400; color: var(--soft); }
.apply-form label small { display: block; font-weight: 400; color: var(--soft); font-size: 12px; margin-top: 5px; }
.apply-form input:not([type=radio]):not([type=checkbox]), .apply-form select, .apply-form textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: var(--mist); border: 1.5px solid transparent; border-radius: 13px; padding: 12px 14px; outline: none; transition: border-color .2s, background .2s; }
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus { border-color: var(--ink); background: var(--white); }
.apply-form [aria-invalid=true] { border-color: #b3261e !important; }
.apply-form textarea { resize: vertical; min-height: 80px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.prefix { display: flex; align-items: stretch; margin-top: 6px; }
.prefix em { font-style: normal; font-weight: 600; display: grid; place-items: center; padding: 0 12px; background: var(--line); border-radius: 13px 0 0 13px; }
.prefix input { margin-top: 0 !important; border-radius: 0 13px 13px 0 !important; }
.kind { border: 0; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kind legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.kind label { margin: 0; }
.kind input { position: absolute; opacity: 0; }
.kind span { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1.5px solid var(--line); border-radius: 15px; cursor: pointer; font-weight: 600; transition: border-color .2s, background .2s; }
.kind input:checked + span { border-color: var(--ink); background: var(--mist); }
.kind input:focus-visible + span { outline: 2px solid #0071e3; outline-offset: 2px; }
.kind .ic { color: var(--gold); }
.agree { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--soft); }
.agree input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ink); flex-shrink: 0; }
.agree a { color: #0066cc; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply-error { background: #f9deda; color: #b3261e; border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-bottom: 14px; }
.apply-form [data-apply-submit] { width: 100%; padding: 16px; font-size: 17px; }
.apply-done { text-align: center; padding: 30px 0 6px; }
.apply-done p { color: var(--soft); margin: 12px auto 26px; max-width: 440px; }
.done-ic { width: 76px; height: 76px; border-radius: 50%; background: #e3f2fd; color: #1d9bf0; display: grid; place-items: center; margin: 0 auto 18px; }
.done-ic .ic { width: 40px; height: 40px; }
body.locked { overflow: hidden; }

/* Questions */
.faq { background: var(--mist); padding: clamp(80px, 11vw, 140px) 22px; }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: 18px; padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 30px 22px 0; font-weight: 600; font-size: 19px; letter-spacing: -.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--soft); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--soft); padding-bottom: 22px; }
.faq details a { color: #0066cc; }

/* Footer columns */
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; padding-bottom: 22px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.footer-cols h4 { margin: 0 0 8px; font-size: 12px; color: var(--ink); font-weight: 600; }
.footer-cols a:not(.logo) { display: block; color: var(--soft); text-decoration: none; font-size: 13px; padding: 3px 0; }
.footer-cols a:not(.logo):hover { color: var(--ink); }
.footer-cols p { margin-top: 8px; font-size: 13px; max-width: 260px; }
.footer-logo { color: var(--ink); text-decoration: none; }

/* ───────────── Scroll motion ─────────────
   site.js sets --p (arriving), --o (passing through) and --x (leaving) on every section as you scroll.
   The defaults below are the finished state, which is what you see with motion turned off. */
:root { --doc: 0; --m: 1; }
[data-scroll] { --p: 1; --o: .5; --x: 0; }
.earn, .steps, .bento-section, .download { overflow-x: clip; }

/* A thin line along the top bar shows how far down the page you are. */
.nav::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--doc) * 100%); background: linear-gradient(90deg, var(--accent), #ffd47a); }

/* Headings draw their letters together as they arrive. */
.section-head h2 { letter-spacing: calc(-.032em + (1 - var(--p)) * .07em); }

/* Hero: as you scroll away, the words lift off, the phone sinks back, and the cards drift apart. */
.hero-copy { transform: translateY(calc(var(--x) * -90px)); opacity: calc(1 - var(--x) * 1.5); }
.hero-stage { transform: translateY(calc(var(--x) * 140px * var(--m))) rotate(calc(var(--x) * -7deg)) scale(calc(1 - var(--x) * .1)); }
.hero-glow { margin-top: calc(var(--x) * 200px); }
.f1 { margin-left: calc(var(--x) * -90px * var(--m)); margin-top: calc(var(--x) * -50px); }
.f2 { margin-right: calc(var(--x) * -90px * var(--m)); }
.f3 { margin-left: calc(var(--x) * -70px * var(--m)); margin-bottom: calc(var(--x) * -30px); }
.f4 { margin-right: calc(var(--x) * -70px * var(--m)); margin-bottom: calc(var(--x) * -60px); }

/* Countdown: the title halves meet, and the clock settles flat. (Rules live with the countdown above.) */

/* Calculator: tiles rise in a wave, and the receipt swings in from the side. */
.earn-intro { transform: translateX(calc((1 - var(--p)) * 70px * var(--m))); }
.tiles li { transform: translateY(calc((1 - var(--p)) * (50px + var(--i) * 22px) * var(--m))); opacity: calc(var(--p) * 1.6 - var(--i) * .04); }
.receipt-wrap { transform: translateX(calc((1 - var(--p)) * 120px * var(--m))) rotate(calc((1 - var(--p)) * 6deg)); opacity: calc(var(--p) * 1.4); }

/* Selling steps: dealt from a stack into a row. */
.step-grid li { transform-origin: 50% 120%; }
.step-grid li:nth-child(1) { transform: translateX(calc((1 - var(--p)) * 100% * var(--m))) rotate(calc((1 - var(--p)) * -10deg)); }
.step-grid li:nth-child(2) { transform: translateY(calc((1 - var(--p)) * 60px)) scale(calc(.94 + var(--p) * .06)); }
.step-grid li:nth-child(3) { transform: translateX(calc((1 - var(--p)) * -100% * var(--m))) rotate(calc((1 - var(--p)) * 10deg)); }
.step-num { transform: rotate(calc((1 - var(--p)) * -180deg)) scale(calc(.5 + var(--p) * .5)); }
.pill-row { transform: scale(calc(.85 + var(--p) * .15)); opacity: var(--p); }

/* Stores: the example store turns towards you, the perks slide in, and the categories drift. */
.store-preview { transform: perspective(1400px) rotateY(calc((1 - var(--p)) * -28deg)) rotate(calc(-1.5deg - (1 - var(--p)) * 4deg)) translateY(calc((1 - var(--p)) * 70px)); }
.store-perks li { transform: translateX(calc((1 - var(--p)) * (60px + var(--i) * 40px) * var(--m))); opacity: calc(var(--p) * 1.8 - var(--i) * .15); }
.perk-ic { transform: rotate(calc((1 - var(--p)) * 90deg)); }
.store-kinds { transform: translateX(calc((.5 - var(--o)) * 260px * var(--m))); }

/* Safety tiles rise at different speeds, which gives the grid depth. */
.bento .tile { transform: translateY(calc((1 - var(--p)) * (60px + var(--i) * 34px) * var(--m))); }
.tile-tall .tile-phone .phone { transform: translateY(calc((.5 - var(--o)) * 80px)) rotate(calc((.5 - var(--o)) * 6deg)); }
.big-stat { transform: scale(calc(.6 + var(--p) * .4)); transform-origin: left bottom; }

/* Hargeisa: the city name grows and tightens, and the chips drift past. */
.city-name { transform: scale(calc(.72 + var(--p) * .28)); letter-spacing: calc(-.05em + (1 - var(--p)) * .12em); }
.marquee { transform: translateX(calc((.5 - var(--o)) * 320px * var(--m))); }
.three .col { transform: translateY(calc((1 - var(--p)) * (50px + var(--i) * 40px))); opacity: calc(var(--p) * 1.5 - var(--i) * .15); }

/* Questions slide in from alternating sides. */
.faq details:nth-child(odd) { transform: translateX(calc((1 - var(--p)) * -60px * var(--m))); }
.faq details:nth-child(even) { transform: translateX(calc((1 - var(--p)) * 60px * var(--m))); }

/* Download: the icon spins into place and the two lines of the headline meet. */
.download { position: relative; background: radial-gradient(70% 60% at 50% calc(30% + var(--o) * 40%), #163a2c 0%, #000 70%); }
.app-icon { transform: rotate(calc((1 - var(--p)) * -200deg)) scale(calc(.35 + var(--p) * .65)); }
.split span { display: inline-block; }
.split span:first-child { transform: translateX(calc((1 - var(--p)) * -90px * var(--m))); }
.split span:last-child { transform: translateX(calc((1 - var(--p)) * 90px * var(--m))); color: var(--gold); }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-column: span 2; }
  .earn-grid { grid-template-columns: 1fr; }
  .earn-head { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .badges, .hero-trust { justify-content: center; }
  .hero-stage { margin-top: 30px; }
  .receipt-wrap { position: static; }
  .earn-pill:not([hidden]) { position: sticky; bottom: 16px; z-index: 5; margin: 18px auto 0; width: max-content; display: flex; gap: 12px; align-items: center; text-decoration: none; color: #fff; background: var(--ink); padding: 10px 10px 10px 18px; border-radius: 980px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); animation: line-in .4s var(--ease); }
  .earn-pill b { background: var(--accent); color: var(--on-accent); padding: 6px 12px; border-radius: 980px; font-variant-numeric: tabular-nums; }
  .step-grid { grid-template-columns: 1fr; }
  .stores-grid { grid-template-columns: 1fr; }
  .store-preview { max-width: 460px; margin: 0 auto; width: 100%; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 734px) {
  .nav-links { display: none; }
  .bento { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .tile-tall { grid-row: auto; }
  .tile-tall .tile-phone { width: 74%; margin-bottom: -60%; }
  .tile-wide { grid-column: auto; flex-direction: column; align-items: stretch; }
  .big-stat { margin-bottom: 0; }
  .tile-icon { margin-bottom: 0; padding-bottom: 18px; }
  .pin-grid { display: block; }
  .pin-phone { display: none; }
  .pin-steps li { min-height: 0; opacity: 1; padding-bottom: 72px; }
  .pin-steps li:last-child { padding-bottom: 0; }
  .step-phone { display: block; width: min(250px, 66vw); margin: 30px auto 0; box-shadow: 0 0 0 1px #3a3a3c; }
  .three { grid-template-columns: 1fr; gap: 24px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  :root { --m: .55; }
  .hero-stage { width: min(250px, 62vw); }
  .clock { border-radius: 22px; gap: 12px; padding: 14px 14px 12px; }
  .digit { font-size: 34px; }
  .digits { gap: 2px; }
  .colon { display: none; }
  /* The text is too close to the orbit on a narrow screen, so only the rings turn. */
  .orbs { display: none; }
  .unit-label { font-size: 10px; letter-spacing: .08em; }
  .journey ol { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .journey-track { margin: 0 4% 22px; }
  .hero .badges { gap: 10px; }
  .hero .badge img { height: 42px; }
  .hero .badge img[src*='google'] { height: 56px; margin: -7px 0; }
  .float { padding: 7px 10px 7px 7px; gap: 7px; border-radius: 14px; }
  .float b { font-size: 12px; }
  .float small { font-size: 10px; }
  .float strong { font-size: 15px; }
  .f-app, .f-avatar, .f-ok, .f-warn { width: 28px; height: 28px; font-size: 12px; }
  .f1 { left: -22%; } .f2 { right: -22%; } .f3 { left: -20%; } .f4 { right: -16%; }
  .hero-trust { gap: 8px 16px; }
  .tile-btn { min-height: 124px; padding: 14px; }
  .receipt { padding: 22px 18px 18px; }
  .faq summary { font-size: 17px; }
  .row2, .kind { grid-template-columns: 1fr; }
  .store-preview { padding: 18px; }
  .sp-thumb { height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .pin-shot, .scrub span, .tile-btn, .tb-ic, .tb-check, .goal-bar i { transition: none; }
  [data-scroll] { --p: 1 !important; --o: .5 !important; --x: 0 !important; }
  .nav::after { display: none; }
  .mark::after, .journey-track i, .journey-you, .launch-title span, .clock { transition: none; }
  .colon { animation: none; }
  .rc-total strong.bump, .rc-lines li, .float-gain, .goal-ic.pop, .earn-pill, .hero-glow, .hero-stage .phone { animation: none !important; }
  .float { animation: none !important; opacity: 1; }
  .rot-word { transition: none; }
}

/* The Celis logo. The ring and letters are strokes, so they can draw themselves. */
.brandmark, .brandmark-mark { display: block; overflow: visible; }
.brandmark path, .brandmark-mark path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.brandmark .bm-l { stroke-width: 11; }
.bm-dot, .bm-idot { fill: var(--accent); }
.bm-dot { transform-box: view-box; transform-origin: 50px 50px; }
.bm-idot { transform-box: fill-box; transform-origin: 50% 50%; }
/* Intro: the ring draws, the gold dot goes once around it and comes back, the word writes, the i gets its dot. */
.brandmark.intro .bm-ring { stroke-dasharray: 1; animation: bm-draw .8s cubic-bezier(.65, 0, .35, 1) both; }
.brandmark.intro .bm-dot { animation: bm-orbit .85s cubic-bezier(.55, 0, .25, 1) .55s both; }
.brandmark.intro .bm-l { stroke-dasharray: 1; animation: bm-draw .42s ease-out calc(1.15s + var(--k) * .1s) both; }
.brandmark.intro .bm-idot { animation: bm-drop .6s cubic-bezier(.3, 1.6, .5, 1) 1.8s both; }
/* After the intro, hovering sends the dot around again. */
.logo:hover .brandmark:not(.intro) .bm-dot, .logo:focus-visible .brandmark:not(.intro) .bm-dot { animation: bm-orbit-again .85s cubic-bezier(.55, 0, .25, 1); }
@keyframes bm-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes bm-orbit { from { transform: rotate(0); } to { transform: rotate(-360deg); } }
@keyframes bm-orbit-again { from { transform: rotate(0); } to { transform: rotate(-360deg); } }
@keyframes bm-drop { from { transform: translateY(-46px) scale(0); } 40% { transform: translateY(-20px) scale(1); } to { transform: none; } }
.footer-logo { color: var(--ink); }
.footer-logo .brandmark { height: 26px; }

/* The app icon in the download section, with the gold dot circling it the way it circles the ring. */
.icon-orbit { position: relative; display: inline-block; margin: 0 auto 28px; }
.icon-orbit .app-icon { margin: 0; }
.icon-orbit::before { content: ''; position: absolute; inset: -22px; border-radius: 50%; border: 1px dashed rgba(247, 243, 234, .16); }
.icon-orbit::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px rgba(255, 180, 31, .7); animation: icon-orbit 6s linear infinite; }
@keyframes icon-orbit { from { transform: rotate(0) translateX(74px) rotate(0); } to { transform: rotate(-360deg) translateX(74px) rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .brandmark.intro .bm-ring, .brandmark.intro .bm-dot, .brandmark.intro .bm-l, .brandmark.intro .bm-idot, .logo:hover .brandmark .bm-dot { animation: none; }
  .icon-orbit::after { animation: none; transform: translateX(74px); }
}
