/* genie — 3D scroll site. Shared by index.html / product.html / team.html. */
:root {
  --ink: #0d0b1a; --muted: #4a4568; --lilac: #e7e3fb; --num: #cfc6f6;
  --num-dark: rgba(214,203,255,.55); --violet: #5b3bd1; --pad: clamp(18px, 3.2vw, 46px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body { font-family: "Poppins", system-ui, sans-serif; color: var(--ink); background: var(--lilac); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* NAV */
.nav { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; padding: 18px var(--pad) 0; pointer-events: none; }
.nav > * { pointer-events: auto; }
.logo { width: 40px; height: 40px; display: grid; place-items: center; margin-right: clamp(28px, 5vw, 66px); }
.logo svg { width: 38px; height: 38px; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.logo:hover svg { transform: translateY(-3px) rotate(-8deg); }
.nav__links { display: flex; gap: clamp(22px, 4.5vw, 58px); font-size: 15.5px; font-weight: 400; }
.nav__links a { position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { margin-left: auto; font-weight: 600; font-size: 14.5px; padding: 10px 20px; border-radius: 999px; background: var(--ink); color: #fff; transition: background .5s ease, color .5s ease, transform .3s ease; margin-right: clamp(0px, 3vw, 56px); }
.nav__cta:hover { transform: translateY(-2px); }
.nav__burger { display: none; margin-left: 12px; width: 40px; height: 40px; border: 0; background: none; color: inherit; cursor: pointer; place-items: center; }
.nav__burger span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s; }
.nav__burger span::before { top: -7px; } .nav__burger span::after { top: 7px; }
.nav, .badge { transition: color .5s ease; }
body.on-dark .nav, body.on-dark .badge { color: #fff; }
body.on-dark .nav__cta { background: #fff; color: var(--violet); }

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 28; background: var(--lilac); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 var(--pad); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
.menu a { font-size: clamp(34px, 9vw, 48px); font-weight: 700; letter-spacing: -.03em; padding: 6px 0; }
.menu a.menu__cta { margin-top: 22px; display: inline-block; align-self: flex-start; background: var(--ink); color: #fff; font-size: 17px; font-weight: 600; letter-spacing: 0; padding: 14px 26px; border-radius: 999px; }
body.menu-open .menu { opacity: 1; visibility: visible; }
body.menu-open .nav { color: var(--ink); }

/* BADGE */
.badge { position: fixed; z-index: 30; right: var(--pad); bottom: 22px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: #2b2550; }
.badge b { font-weight: 700; color: var(--violet); }
body.on-dark .badge b { color: #d9ccff; }
.badge svg { width: 20px; height: 20px; }

/* GIFT CANVAS */
#bee { position: fixed; inset: 0; z-index: 20; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
#bee.ready { opacity: 1; }

/* SECTIONS */
section { position: relative; min-height: 100vh; height: 100vh; overflow: hidden; }
.flower { position: absolute; pointer-events: none; user-select: none; will-change: transform; }

/* HERO */
.hero { background: #e4e0fa url(https://d8j0ntlcm91z4.cloudfront.net/user_38xzZboKViGWJOttwIXH07lWA1P/hf_20261016_130303_301c35dd-e2d1-4b40-a396-2b53f884d787.png) center/cover no-repeat; overflow: visible; z-index: 3; }
.hero h1 { position: absolute; left: 0; right: 0; top: 15.5vh; text-align: center; font-weight: 800; font-size: clamp(42px, 6.25vw, 112px); line-height: 1.04; letter-spacing: -.035em; color: var(--ink); text-shadow: 0 0 40px rgba(255,255,255,.35); will-change: transform; z-index: 2; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line span { display: inline-block; transform: translateY(110%); }
.loaded .hero h1 .line span { animation: rise 1.1s cubic-bezier(.2,.8,.15,1) forwards; }
.hero h1 .line:nth-child(2) span { animation-delay: .12s; }
@keyframes rise { to { transform: translateY(0); } }
.hero__side { position: absolute; right: clamp(24px, 6.5vw, 120px); top: 59vh; width: min(260px, 80vw); z-index: 2; opacity: 0; }
.loaded .hero__side { animation: fade 1s .7s ease forwards; }
.hero__side p { font-size: clamp(15px, 1.45vw, 20px); line-height: 1.32; color: var(--muted); font-weight: 400; }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.join { display: inline-flex; align-items: center; gap: 14px; margin-top: 40px; font-weight: 600; font-size: clamp(15px, 1.4vw, 19px); }
.join i { width: 25px; height: 32px; border: 1.8px solid currentColor; border-radius: 10px; display: grid; place-items: center; transition: transform .35s ease, background .35s; }
.join i svg { width: 9px; height: 9px; }
.join:hover i { transform: translateX(4px); }
.join--sm { margin-top: 26px; }
.hero .flower--cosmos { width: clamp(420px, 64vw, 1100px); left: -14vw; bottom: -24vw; transform-origin: 60% 40%; filter: drop-shadow(0 30px 40px rgba(80,50,160,.18)); z-index: 1; }

/* SHARED TYPE */
.num { font-weight: 600; line-height: .8; letter-spacing: -.06em; font-size: clamp(110px, 15vw, 250px); color: var(--num); }
.title { font-weight: 700; font-size: clamp(30px, 3.4vw, 56px); line-height: 1.12; letter-spacing: -.02em; }
.copy { margin-top: 22px; font-size: clamp(13.5px, 1.05vw, 16px); line-height: 1.6; color: var(--muted); max-width: 420px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--violet); }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1.1s cubic-bezier(.2,.8,.15,1); }
.in .reveal { opacity: 1; transform: none; }
.in .reveal.d1 { transition-delay: .1s; }
.in .reveal.d2 { transition-delay: .22s; }
.in .reveal.d3 { transition-delay: .34s; }
.in .reveal.d4 { transition-delay: .46s; }
.in .reveal.d5 { transition-delay: .58s; }

/* SECTION 01 */
.s1 { background: linear-gradient(180deg, #e4e0fa 0%, #ece9fc 100%); z-index: 2; }
.s1 .flower--hang { width: clamp(380px, 46vw, 820px); left: -9vw; top: -14vw; transform-origin: 50% 0%; }
.s1 .num { position: absolute; left: 6vw; top: 50vh; }
.s1 .text { position: absolute; left: 50vw; top: 41vh; width: min(520px, 44vw); }

/* SECTION 02 (dark) */
.s2 { background: #3a1f8c url(https://d8j0ntlcm91z4.cloudfront.net/user_38xzZboKViGWJOttwIXH07lWA1P/hf_20261017_132814_c3d2b090-c27d-49d1-8107-66d0cfa216c2.png) center/cover no-repeat; color: #fff; z-index: 3; }
.s2::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,10,70,.45) 0%, rgba(25,10,70,0) 55%); }
.s2 .num { color: var(--num-dark); position: relative; }
.s2 .text { position: absolute; left: 6vw; top: 22vh; width: min(500px, 46vw); }
.s2 .title { margin-top: 22px; }
.s2 .copy { color: rgba(240,234,255,.82); }
.s2 .flower--iris { width: clamp(380px, 46vw, 820px); right: -8vw; bottom: -20vw; transform-origin: 30% 30%; filter: drop-shadow(0 40px 60px rgba(20,0,60,.45)); z-index: 2; }

/* SECTION 03 */
.s3 { background: linear-gradient(180deg, #ece9fc 0%, #e7e3fb 100%); z-index: 1; }
.s3 .flower--passion { width: clamp(360px, 42vw, 760px); left: -10vw; top: 6vh; transform-origin: 40% 50%; }
.s3 .text { position: absolute; left: 54vw; top: 26vh; width: min(500px, 40vw); }
.s3 .title { margin-top: 24px; }

/* DOWNLOAD — store buttons + notify form */
.stores { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 16px; border-radius: 14px; background: var(--ink); color: #fff; transition: transform .3s ease, box-shadow .3s ease; }
.store:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(13,11,26,.28); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 10.5px; letter-spacing: .05em; opacity: .75; line-height: 1.1; }
.store b { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }
.store.soon::after { content: "Soon"; position: absolute; top: -9px; right: -7px; background: var(--violet); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.dk .store { background: #fff; color: var(--ink); }
.dk .store.soon::after { background: #ffd978; color: #3a2300; }
.apk[hidden] { display: none; }
.apk { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; opacity: .85; }
.wl { position: relative; z-index: 3; margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; max-width: 450px; }
.wl label.wl__lbl { flex-basis: 100%; font-size: 13.5px; font-weight: 500; opacity: .85; }
.wl input { flex: 1 1 210px; min-width: 0; background: rgba(255,255,255,.7); border: 1.5px solid rgba(91,59,209,.25); border-radius: 999px; color: var(--ink); padding: 13px 20px; font: 500 15px "Poppins", system-ui, sans-serif; outline: none; transition: border-color .3s, background .3s; }
.wl input::placeholder { color: rgba(74,69,104,.6); }
.wl input:focus { border-color: var(--violet); background: #fff; }
.wl button { border: 0; border-radius: 999px; background: var(--violet); color: #fff; padding: 13px 26px; font: 600 15px "Poppins", system-ui, sans-serif; cursor: pointer; transition: transform .3s ease, box-shadow .3s ease, opacity .3s; }
.wl button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(91,59,209,.35); }
.wl button:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.wl__msg { flex-basis: 100%; min-height: 1.5em; font-size: 13.5px; color: var(--muted); }
.wl__msg.err { color: #b42318; }
.dk .wl input { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; }
.dk .wl input::placeholder { color: rgba(240,234,255,.62); }
.dk .wl input:focus { border-color: #fff; background: rgba(255,255,255,.2); }
.dk .wl button { background: #fff; color: var(--violet); }
.dk .wl__msg { color: rgba(240,234,255,.92); }
.dk .wl__msg.err { color: #ffc9d4; }

/* VIDEO SECTION */
.vid { background: #2b1166; color: #fff; z-index: 2; }
.vid__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,10,70,.8) 0%, rgba(25,10,70,.38) 52%, rgba(25,10,70,.06) 100%), linear-gradient(180deg, rgba(25,10,70,.4) 0%, rgba(25,10,70,0) 28%, rgba(25,10,70,.5) 100%); }
.vid .text { position: absolute; left: 6vw; top: 50%; transform: translateY(-50%); width: min(540px, 46vw); }
.vid .eyebrow { color: rgba(214,203,255,.88); }
.vid .title { margin-top: 18px; font-size: clamp(34px, 4.4vw, 74px); line-height: 1.06; letter-spacing: -.03em; }
.vid .copy { color: rgba(240,234,255,.86); }

/* FOOTER (also the page's download section) */
.foot { background: #e7e3fb; height: 100vh; z-index: 1; }
.foot .brand { position: absolute; left: var(--pad); bottom: 80px; }
.foot .brand strong { display: block; font-size: clamp(30px, 3vw, 46px); font-weight: 700; letter-spacing: -.02em; }
.foot .brand span { font-size: 14px; color: var(--muted); }
.foot .cols { position: absolute; right: calc(var(--pad) + 120px); bottom: 80px; display: flex; gap: 52px; font-size: 14.5px; font-weight: 500; }
.foot .cols a { display: block; line-height: 1.9; }
.foot .cols a:hover { color: var(--violet); }
.foot .cta { position: absolute; left: var(--pad); top: 15vh; width: min(52vw, 600px); }
.foot .cta .title { font-size: clamp(30px, 3.6vw, 60px); }
.foot .cta .copy { max-width: 460px; }

/* ---------- inner pages (product / team) ---------- */
section.auto { height: auto; min-height: 100vh; }
.pg { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding: 13vh 6vw 8vh; }
.pg--r { padding-left: 46vw; }
.pg--g { padding-right: 30vw; }
.s1.auto .flower--hang { width: clamp(260px, 28vw, 520px); top: -11vw; } /* leaves a gutter the gift can fly in */
.pg .title { max-width: 720px; }
.pg .copy { max-width: 460px; }
.grid { display: grid; gap: clamp(14px, 1.6vw, 24px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: rgba(255,255,255,.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(91,59,209,.13); border-radius: 24px; padding: clamp(18px, 1.9vw, 30px); }
.card h3 { font-size: clamp(16px, 1.3vw, 20px); font-weight: 600; letter-spacing: -.01em; }
.card p { margin-top: 10px; font-size: clamp(13px, 1vw, 15px); line-height: 1.55; color: var(--muted); }
.card .ico { width: 42px; height: 42px; border-radius: 14px; background: var(--violet); color: #fff; display: grid; place-items: center; margin-bottom: 16px; font-size: 20px; }
.dk .card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.dk .card p { color: rgba(240,234,255,.8); }
.dk .card .ico { background: #fff; color: var(--violet); }
.steps { margin-top: clamp(26px, 4vh, 46px); }
.s1 .step .num, .step .num { position: static; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--violet); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0; line-height: 1; }
.step h3 { margin-top: 16px; font-size: clamp(20px, 1.8vw, 28px); font-weight: 700; letter-spacing: -.02em; }
.step p { margin-top: 10px; font-size: clamp(13.5px, 1.05vw, 16px); line-height: 1.6; color: var(--muted); max-width: 340px; }
.pg--dark { color: #fff; }
.pg--dark .copy { color: rgba(240,234,255,.84); }
.pg--dark .eyebrow { color: rgba(214,203,255,.9); }
.stat { font-size: clamp(30px, 3.2vw, 52px); font-weight: 700; letter-spacing: -.03em; color: var(--violet); }
.dk .stat { color: #ffd978; }
.photo { border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px rgba(60,30,140,.25); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero--photo .photo { position: absolute; left: 6vw; bottom: 9vh; width: min(34vw, 520px); aspect-ratio: 3 / 2; z-index: 1; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.25fr; gap: 6vw; align-items: center; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: rgba(255,255,255,.66); border: 1px solid rgba(91,59,209,.13); border-radius: 18px; padding: 0 22px; transition: background .3s, box-shadow .3s; }
.faq details[open] { background: #fff; box-shadow: 0 14px 34px rgba(60,30,140,.12); }
.faq summary { list-style: none; cursor: pointer; padding: 14px 0; font-size: clamp(14px, 1.15vw, 17px); font-weight: 600; letter-spacing: -.01em; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--lilac); color: var(--violet); display: grid; place-items: center; font-size: 18px; font-weight: 500; transition: transform .3s, background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--violet); color: #fff; }
.faq details p { padding: 0 0 18px; font-size: clamp(13px, 1vw, 15px); line-height: 1.6; color: var(--muted); max-width: 62ch; }

/* LOADER */
.loader { position: fixed; inset: 0; z-index: 50; background: var(--lilac); display: grid; place-items: center; transition: opacity .8s ease, visibility .8s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader svg { width: 30px; height: 46px; animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(5px) scale(.96); } 50% { transform: translateY(-7px) scale(1.04); } }

/* MOBILE */
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__burger { display: grid; }
  .nav__cta { padding: 9px 16px; font-size: 13.5px; margin-right: 0; }
  .hero h1 { top: 14vh; }
  .hero__side { top: auto; bottom: 14vh; right: 18px; width: 62vw; }
  .hero .flower--cosmos { width: 110vw; left: -38vw; bottom: -55vw; }
  .s1 .num { top: 16vh; left: auto; right: 6vw; }
  .s1 .text, .s3 .text { left: 18px; right: 18px; width: auto; top: auto; bottom: 10vh; }
  .s2 .text { left: 18px; right: 18px; width: auto; top: 14vh; }
  .s3 .flower--passion { width: 90vw; }
  .vid .text { left: 18px; right: 18px; width: auto; top: auto; bottom: 12vh; transform: none; }
  .foot { height: auto; min-height: 100vh; display: flex; flex-direction: column; gap: 34px; padding: 14vh 18px 96px; }
  .foot .cta, .foot .brand, .foot .cols { position: static; width: auto; }
  .foot .cols { flex-wrap: wrap; gap: 4px 34px; max-width: 62vw; }
  /* inner pages: tighter padding on small screens */
  .pg, .pg--g, .pg--r { justify-content: flex-start; padding: 15vh 18px 12vh; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .hero--photo .photo { width: 78vw; left: 18px; bottom: 6vh; }
  .step { margin-bottom: 8px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .hero h1 .line span { transform: none; animation: none !important; }
  .hero__side { opacity: 1; animation: none !important; }
  .loader svg { animation: none; }
}
