/* Layout: six short snap panels, each one screen of information, floating over one fixed starfield with twinkle and the odd shooting star. The hero holds a live globe that spins once and settles on the night side. */
:root{
  --night:#0b1020;
  --night-2:#121b31;
  --ink:#f3efe6;
  --ink-soft:#cfd4e0;
  --ink-muted:#9ea7bc;
  --gold:#efdcae;
  --gold-dim:rgba(239,220,174,.55);
  --coral:#e2775f;
  --coral-hover:#ec8b75;
  --coral-ink:#fff6f1;
  --star-blue:#a9bdff;
  --line:rgba(243,239,230,.12);
  --card:rgba(18,27,49,.55);
  --display:'Poppins','Segoe UI',system-ui,sans-serif;
  --body:'Nunito','Segoe UI',system-ui,sans-serif;
  --gutter:clamp(20px,5vw,56px);
  --nav-h:64px;
  color-scheme:dark;
}

html{ scroll-snap-type:y mandatory; scroll-behavior:smooth }
@media (max-height:600px){ html{ scroll-snap-type:y proximity } }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto } }

body{
  margin:0;
  background:
    radial-gradient(ellipse 70% 55% at 72% 18%, rgba(36,52,92,.55) 0%, rgba(36,52,92,0) 70%),
    radial-gradient(ellipse 60% 50% at 20% 85%, rgba(30,40,74,.5) 0%, rgba(30,40,74,0) 70%),
    var(--night);
  color:var(--ink);
  font-family:var(--body);
  font-size:1.0625rem;
  line-height:1.7;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
*,*::before,*::after{ box-sizing:border-box }
[hidden]{ display:none !important }
h1,h2,h3{ font-family:var(--display); font-weight:500; text-wrap:balance; margin:0 }
p{ margin:0 }
a{ color:inherit }
button{ font:inherit; color:inherit }
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; border-radius:999px }

#sky{ position:fixed; inset:0; width:100%; height:100%; z-index:0; pointer-events:none }

/* ---------- Nav ---------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:5;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:calc(12px + env(safe-area-inset-top,0px)) var(--gutter) 12px;
  background:linear-gradient(to bottom, rgba(11,16,32,.9) 0%, rgba(11,16,32,0) 100%);
  transition:background .5s ease;
}
.brand{
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--display); font-weight:500; font-size:1rem; letter-spacing:.01em;
  color:var(--gold); text-decoration:none; transition:color .5s ease;
}
.brand svg{ width:20px; height:20px; flex:none }
.nav.on-light{ background:linear-gradient(to bottom, rgba(120,100,130,.35) 0%, rgba(120,100,130,0) 100%) }
.nav.on-light .brand{ color:#fff }

.pill{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--display); font-weight:500; font-size:.9rem;
  padding:9px 18px; border-radius:999px; text-decoration:none; border:0; cursor:pointer;
  background:var(--coral); color:var(--coral-ink); white-space:nowrap;
  transition:background .25s ease, transform .25s ease;
}
.pill:hover{ background:var(--coral-hover); transform:translateY(-1px) }
.pill.big{ padding:13px 30px; font-size:1rem }

/* ---------- Section dots (desktop) ---------- */
.dots{
  position:fixed; right:22px; top:50%; transform:translateY(-50%); z-index:5;
  display:none; flex-direction:column; gap:14px; margin:0; padding:0; list-style:none;
}
@media (min-width:900px){ .dots{ display:flex } }
.dots button{
  width:10px; height:10px; border-radius:50%; padding:0; cursor:pointer;
  border:1px solid var(--gold-dim); background:transparent;
  transition:background .3s ease, transform .3s ease, box-shadow .3s ease, border-color .5s ease;
}
.dots button.active{ background:var(--gold); box-shadow:0 0 12px var(--gold-dim); transform:scale(1.2) }
.dots.on-light button{ border-color:rgba(255,255,255,.6) }
.dots.on-light button.active{ background:#fff; box-shadow:none }

/* ---------- Panels ---------- */
.panel{
  position:relative; z-index:1;
  min-height:100vh;
  min-height:calc(100svh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));
  scroll-snap-align:start; scroll-snap-stop:always;
  display:grid; align-items:center;
  padding-block:calc(var(--nav-h) + 16px) 36px;
}
@media (min-width:880px){ .panel{ padding-block:calc(var(--nav-h) + 40px) 72px } }
.wrap{ width:100%; max-width:1120px; margin-inline:auto; padding-inline:var(--gutter) }
.center{ text-align:center; display:grid; justify-items:center }

.eyebrow{
  font-family:var(--display); font-size:.74rem; font-weight:500;
  letter-spacing:.16em; text-transform:uppercase; color:var(--gold);
}
h1{ font-size:clamp(1.95rem,4.6vw,3.6rem); line-height:1.1; letter-spacing:-.012em }
h2{ font-size:clamp(1.7rem,3.4vw,2.7rem); line-height:1.18; letter-spacing:-.01em }
h3{ font-size:1.08rem; line-height:1.35; color:var(--ink) }
.lead{ font-size:clamp(1.05rem,1.5vw,1.2rem); color:var(--ink-soft); max-width:32rem }
.copy{ max-width:34rem; color:var(--ink-soft) }
.copy p + p{ margin-top:1.4em }
.muted{ color:var(--ink-muted) }

.stack{ display:grid; gap:30px; justify-items:start }
.center .stack, .stack.center{ justify-items:center; text-align:center }
@media (min-width:880px){ .stack{ gap:40px } }

/* ---------- Store buttons, always centred ---------- */
.stores{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; width:100% }
.store{
  display:inline-flex; flex-direction:column; align-items:flex-start; line-height:1.15;
  padding:11px 26px 12px; border-radius:999px; text-decoration:none; border:0; cursor:pointer;
  font-family:var(--display);
  transition:background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.store small{ font-size:.68rem; font-weight:400; letter-spacing:.05em; opacity:.85 }
.store b{ font-size:1.02rem; font-weight:600 }
.store:hover{ transform:translateY(-2px) }
.store.primary{ background:var(--coral); color:var(--coral-ink); box-shadow:0 10px 30px rgba(226,119,95,.25) }
.store.primary:hover{ background:var(--coral-hover) }
.store.secondary{ background:rgba(243,239,230,.92); color:#141a2a }
.store.secondary:hover{ background:#fff }
.fine{ font-size:.85rem; color:var(--ink-muted); letter-spacing:.02em; min-height:1.5em; transition:color .3s ease; width:100%; text-align:center }
.fine.flash{ color:var(--gold) }
.fine.tiny{ font-size:.74rem; opacity:.8; letter-spacing:.08em; text-transform:uppercase; min-height:0 }
.linkish{ background:none; border:0; padding:6px 10px; cursor:pointer; color:var(--ink-muted); font-family:var(--display); font-size:.9rem }
.linkish:hover{ color:var(--ink) }

/* ---------- Hero with the globe ---------- */
.hero-grid{ display:grid; gap:22px; align-items:center }
.hero-top{ display:grid; gap:12px; justify-items:start }
.hero-bottom{ display:grid }
@media (max-width:879px){ .hero-top{ order:0 } .hero-bottom{ order:1 } .globe-col{ order:2 } .hero-bottom .lead{ font-size:.95rem; line-height:1.5; color:var(--ink-soft) } .hero-grid{ gap:16px } }
@media (min-width:880px){
  .hero-grid{ grid-template-columns:1fr 1.08fr; grid-template-areas:"top globe" "bottom globe"; column-gap:48px; row-gap:24px }
  .hero-top{ grid-area:top; align-self:end; gap:18px }
  .hero-bottom{ display:grid; grid-area:bottom; align-self:start }
  .globe-col{ grid-area:globe; align-self:center }
}
.globe-col{ display:grid; gap:18px; width:100%; max-width:560px; justify-self:center }
@media (max-width:879px){ .globe-col{ width:calc(100% + var(--gutter) * 2 - 20px); max-width:none; margin-inline:calc(10px - var(--gutter)); gap:16px } .globe-col .stores, .globe-col .fine{ padding-inline:10px } }
.globe-box{
  position:relative; width:100%; aspect-ratio:1; border-radius:36px; overflow:hidden;
  touch-action:pan-y; cursor:grab; -webkit-user-select:none; user-select:none;
}
@media (max-width:879px){ .globe-box{ border-radius:30px; aspect-ratio:1/0.74 } .globe-col{ gap:14px } .hero{ padding-bottom:26px } }
.globe-box.dragging{ cursor:grabbing }
.globe-box canvas{ position:absolute; inset:0; width:100%; height:100%; display:block }
.zoom{ position:absolute; right:12px; bottom:12px; display:grid; gap:6px; z-index:2 }
.zoom button{
  width:36px; height:36px; border-radius:50%; border:1px solid var(--line); cursor:pointer;
  background:rgba(11,16,32,.72); color:var(--ink-soft); font-family:var(--display); font-size:1.15rem; line-height:1;
  display:grid; place-items:center; transition:background .2s ease, color .2s ease;
}
.zoom button:hover{ background:rgba(239,220,174,.15); color:var(--ink) }
.touch-hint{
  position:absolute; inset:0; z-index:3; display:grid; place-items:center; pointer-events:none;
  background:rgba(11,16,32,.5); color:var(--ink); font-family:var(--display); font-size:.9rem; text-align:center; padding:20px;
  opacity:0; transition:opacity .35s ease;
}
.touch-hint.show{ opacity:1 }
.label{
  position:absolute; z-index:3; pointer-events:none; transform:translate(-50%,-130%);
  background:rgba(11,16,32,.9); border:1px solid var(--line); color:var(--ink); border-radius:999px;
  padding:5px 11px; font-family:var(--display); font-size:.78rem; white-space:nowrap;
}
.tip{
  position:absolute; z-index:4; width:230px; max-width:calc(100% - 24px);
  background:rgba(14,21,40,.96); border:1px solid var(--line); border-radius:18px; padding:14px 14px 12px;
  display:grid; gap:8px; box-shadow:0 20px 50px rgba(0,0,0,.5);
  animation:rise .35s cubic-bezier(.2,.7,.2,1) both;
}
.tip .who{ font-size:.86rem; display:flex; align-items:center; gap:8px; font-family:var(--display) }
.tip p{ font-size:.82rem; color:var(--ink-muted); line-height:1.45 }
.tip .pill{ justify-self:start; padding:7px 14px; font-size:.82rem }
.tip .x{ position:absolute; top:8px; right:8px; width:26px; height:26px; border-radius:50%; border:0; background:transparent; color:var(--ink-muted); cursor:pointer; font-size:1rem }
.tip .x:hover{ color:var(--ink) }
.rise{ animation:rise .9s cubic-bezier(.2,.7,.2,1) both; animation-delay:var(--d,0s) }
@keyframes rise{ from{ opacity:0; transform:translateY(14px) } }

/* ---------- Reveal on scroll ---------- */
.reveal{ transition:opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay:var(--d,0s) }
html.js .reveal:not(.in){ opacity:0; transform:translateY(18px) }

/* ---------- Two-column sections ---------- */
.two{ display:grid; gap:36px; align-items:center }
@media (min-width:880px){ .two{ grid-template-columns:1fr 1fr; gap:88px } }

/* ---------- What you get ---------- */
.benefits{ list-style:none; margin:0; padding:0; display:grid; gap:24px; width:100%; max-width:34rem; text-align:left }
@media (min-width:760px){ .benefits{ grid-template-columns:1fr 1fr 1fr; gap:48px; max-width:66rem } .benefits li{ grid-template-columns:1fr; justify-items:center; text-align:center; gap:16px } .benefits .ico{ width:48px; height:48px } .benefits .ico svg{ width:20px; height:20px } .benefits p{ max-width:18rem } }
.benefits li{ display:grid; grid-template-columns:40px 1fr; gap:14px; align-items:start }
.benefits .ico{ width:40px; height:40px; border-radius:50%; display:grid; place-items:center; background:rgba(239,220,174,.08); box-shadow:inset 0 0 0 1px var(--line) }
.benefits .ico svg{ width:18px; height:18px; fill:none; stroke:var(--gold); stroke-width:1.6; stroke-linejoin:round; stroke-linecap:round }
.benefits h3{ font-size:1.02rem; margin-bottom:4px }
.benefits p{ color:var(--ink-muted); font-size:.93rem; line-height:1.5; margin-top:2px }
@media (max-width:879px){ .benefits{ gap:34px } .benefits p{ font-size:.9rem; line-height:1.5 } .benefits h3{ font-size:1rem } #why .stack, #why.stack{ gap:40px } }
@media (min-width:880px){ #why .wrap{ gap:56px } }

/* ---------- Voices ---------- */
.voices{
  background:var(--card); border:1px solid var(--line); border-radius:26px;
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  display:grid; min-width:0; padding:0 0 16px; width:100%; max-width:520px; justify-self:center;
}
.voices-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:16px 20px 12px; border-bottom:1px solid var(--line) }
.voices-head span{ font-size:.8rem; color:var(--ink-muted) }
.feed{ display:grid; align-content:start; padding:2px 20px 0; min-height:0 }
.feed article:nth-child(n+3){ display:none }
@media (max-width:879px){ .feed article:nth-child(n+3){ display:none } .voices-head{ display:none } .feed{ padding-top:4px } }
.msg{ display:grid; gap:8px; padding:18px 0; border-bottom:1px solid var(--line) }
.msg:last-child{ border-bottom:0 }
.msg.new{ animation:slide .6s cubic-bezier(.2,.7,.2,1) both }
@keyframes slide{ from{ opacity:0; transform:translateY(-10px) } }
.who{ display:flex; align-items:center; gap:8px; font-family:var(--display); font-size:.84rem; color:var(--ink) }
.who time{ margin-left:auto; color:var(--ink-muted); font-family:var(--body); font-size:.74rem; white-space:nowrap }
.av{ width:20px; height:20px; border-radius:50%; display:inline-grid; place-items:center; flex:none }
.av-coral{ background:var(--coral) }
.av-pink{ background:#e9a6c6 }
.av-blue{ background:#8fa6e6 }
.av svg{ width:11px; height:11px; fill:#fff }
.msg p{ color:var(--ink-soft); font-size:.95rem; line-height:1.5 }
.acts{ display:flex; gap:6px; align-items:center }
.acts button{
  display:inline-flex; align-items:center; gap:5px; background:none; border:0; padding:4px 8px; margin-left:-8px;
  border-radius:999px; color:var(--ink-muted); font-size:.76rem; cursor:pointer; transition:color .2s ease, background .2s ease;
}
.acts button + button{ margin-left:0 }
.acts button:hover{ color:var(--coral); background:rgba(226,119,95,.1) }
.acts svg{ width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linejoin:round; stroke-linecap:round }
.composer{
  margin:14px 16px 0; display:flex; align-items:center; gap:12px; text-align:left; width:calc(100% - 32px);
  background:rgba(58,76,122,.62); border:1px solid rgba(243,239,230,.08); border-radius:20px; padding:12px 12px 12px 16px;
  color:var(--ink-muted); font-size:.9rem; cursor:text; transition:background .2s ease;
}
.composer:hover{ background:rgba(58,76,122,.8); color:var(--ink-soft) }
.composer .txt{ flex:1; min-width:0 }
.composer .send{ flex:none; width:34px; height:34px; border-radius:50%; background:var(--coral); display:grid; place-items:center }
.send svg{ width:15px; height:15px; fill:#fff }
.voices-cta{ display:grid; justify-items:center; padding:16px 20px 4px }

/* ---------- Sheet (download prompt) ---------- */
.backdrop{ position:fixed; inset:0; z-index:20; background:rgba(5,8,16,.6); display:grid; align-items:end; justify-items:center; padding:0 }
@media (min-width:640px){ .backdrop{ align-items:center; padding:24px } }
.sheet{
  position:relative; width:100%; max-width:440px; background:#162038; border:1px solid var(--line);
  border-radius:28px 28px 0 0; padding:30px 24px calc(26px + env(safe-area-inset-bottom,0px));
  display:grid; gap:14px; justify-items:center; text-align:center;
  animation:up .45s cubic-bezier(.2,.7,.2,1) both;
}
@media (min-width:640px){ .sheet{ border-radius:28px; padding-bottom:26px } }
@keyframes up{ from{ opacity:0; transform:translateY(24px) } }
.sheet h3{ font-size:1.3rem }
.sheet p{ color:var(--ink-soft); font-size:.95rem; max-width:30rem }
.sheet .x{ position:absolute; top:12px; right:12px; width:34px; height:34px; border-radius:50%; border:0; background:transparent; color:var(--ink-muted); cursor:pointer; font-size:1.2rem }
.sheet .x:hover{ color:var(--ink) }
.sheet .stores{ margin-top:6px }

/* ---------- How it works ---------- */
.steps3{ list-style:none; margin:0; padding:0; display:grid; gap:30px; width:100%; max-width:34rem }
@media (min-width:760px){ .steps3{ grid-template-columns:repeat(3,1fr); gap:56px; max-width:none } }
.steps3 li{ display:grid; gap:10px; align-content:start; text-align:left }
@media (min-width:760px){ .steps3 li{ justify-items:center; text-align:center } }
.steps3 .ico{ width:42px; height:42px; border-radius:50%; display:grid; place-items:center; background:rgba(239,220,174,.08); box-shadow:inset 0 0 0 1px var(--line) }
.steps3 .ico svg{ width:18px; height:18px; fill:none; stroke:var(--gold); stroke-width:1.6; stroke-linejoin:round; stroke-linecap:round }
.steps3 p{ color:var(--ink-muted); font-size:.95rem; line-height:1.5 }
@media (max-width:759px){ .steps3 li{ grid-template-columns:42px 1fr; column-gap:14px } .steps3 li .ico{ grid-row:span 2 } .steps3 li h3{ align-self:end } }

/* ---------- Founder ---------- */
.portrait{
  width:116px; height:116px; border-radius:50%; object-fit:cover; display:block;
  box-shadow:0 0 0 1px var(--line), 0 0 0 6px rgba(239,220,174,.08), 0 18px 50px rgba(0,0,0,.45), 0 0 60px rgba(169,189,255,.12);
}
@media (min-width:880px){ .portrait{ width:132px; height:132px } }
.signature{ font-family:var(--display); font-weight:500; color:var(--gold) }

/* ---------- Closing: the constellation lives here ---------- */
.closing{ grid-template-rows:1fr auto }
.closing-grid{ display:grid; gap:30px; align-items:center; justify-items:center; text-align:center }
@media (min-width:880px){ .closing-grid{ grid-template-columns:1fr 1fr; gap:56px } }
.figure{ width:100%; max-width:460px; justify-self:center }
.figure svg{ width:100%; height:auto; max-height:min(25vh,300px); display:block; overflow:visible; margin-inline:auto }
@media (min-width:880px){ .figure svg{ max-height:min(68vh,620px) } }
.const .ln{
  stroke:var(--gold); stroke-opacity:.5; stroke-width:1.7; stroke-linecap:round;
  stroke-dasharray:1; stroke-dashoffset:1;
  animation:draw 1.2s ease-out forwards; animation-delay:var(--d,0s); animation-play-state:paused;
}
.const .ln.thick{ stroke-width:3.6; stroke-opacity:.65 }
.const .ptr{ stroke:var(--gold); stroke-opacity:.25; stroke-width:1.5; stroke-dasharray:4 9; stroke-linecap:round }
.const .st{
  fill:#fff6df; opacity:0;
  animation:appear .7s ease-out forwards, twinkle 6s ease-in-out infinite;
  animation-delay:var(--d,0s), calc(var(--d,0s) + 1.5s); animation-play-state:paused;
}
.const .st.blue{ fill:#d6e0ff }
.const text{
  font-family:var(--display); font-size:26px; letter-spacing:.22em; fill:var(--gold-dim);
  opacity:0; animation:appear 1s ease-out forwards; animation-delay:1.9s; animation-play-state:paused;
}
.const text.star{ font-family:var(--body); font-size:30px; letter-spacing:.02em; text-transform:none; fill:var(--gold-dim) }
.in .const .ln, .in .const .st, .in .const text{ animation-play-state:running }
@keyframes draw{ to{ stroke-dashoffset:0 } }
@keyframes appear{ to{ opacity:1 } }
@keyframes twinkle{ 0%,100%{ opacity:1 } 50%{ opacity:.7 } }
footer{
  display:flex; flex-wrap:wrap; gap:6px 22px; justify-content:center; align-items:center;
  padding:18px var(--gutter) 0; color:var(--ink-muted); font-size:.82rem; letter-spacing:.02em;
}
@media (min-width:880px){ footer{ padding-top:44px } }
footer a{ text-decoration:none; color:var(--ink-muted); border-bottom:1px solid transparent; transition:color .25s, border-color .25s }
footer a:hover{ color:var(--gold); border-color:var(--gold-dim) }
footer .made{ width:100%; text-align:center; color:var(--ink-muted); opacity:.8 }

@media (prefers-reduced-motion:reduce){
  .rise, .const .ln, .const .st, .const text, .msg.new, .tip, .sheet{ animation:none !important }
  .const .ln{ stroke-dashoffset:0 }
  .const .st, .const text{ opacity:1 }
  .reveal{ transition:none }
  html.js .reveal:not(.in){ opacity:1; transform:none }
  .pill:hover, .store:hover{ transform:none }
}
