/* ==========================================================================
   eemerse - site styles
   Colours, fonts and spacing live in :root below - change them there and the
   whole site follows. Sections are labelled so you can find things quickly.
   ========================================================================== */

:root {
  /* All brand values (colours, glows, radius) live in tokens.css - tune them at /brand/tuner. */
  --wrap: 1120px;
  --font: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(90% 50% at 50% -10%, var(--bg-glow) 0%, transparent 60%),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--lavender); text-decoration: none; }
a:hover { color: var(--lavender-soft); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(22px, 5vw, 40px); }
.accent { color: var(--lavender); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 13, 18, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header.scrolled { border-bottom-color: rgba(255, 255, 255, 0.06); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
/* Logo: gift box + Rounded wordmark, sitting on the same line - the base of the box lines up with the
   bottom of the e's (both images are trimmed to their real bottom edge). "merse" follows the text colour. */
.logo { display: inline-flex; align-items: flex-end; gap: 0; color: var(--text); line-height: 0; transform: translateY(var(--logo-nudge, 0px)); }
.logo:hover { color: var(--text); }
/* Logo position next to the wordmark:
   margin-right  - how close the box sits to the "e" (more negative = closer; the artwork has room for sparkles on its right)
   margin-bottom - how low the box sits (more negative = lower). These values centre the box on the letters.
   --logo-nudge  - moves the whole logo up/down in the header, to line it up with the menu. */
.site-header .logo { --logo-nudge: -9px; }
.logo .logo-icon { height: 36px; width: auto; flex: none; overflow: visible; margin-right: -2.5px; margin-bottom: -3px; }
.logo .logo-word { height: 19px; width: auto; overflow: visible; }
.site-footer .logo .logo-icon { height: 42px; margin-right: -3px; margin-bottom: -3px; }
.site-footer .logo .logo-word { height: 22px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.nav a:hover, .nav a.active { color: var(--text); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; color: var(--text); }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px clamp(22px, 5vw, 40px) 22px;
    background: rgba(13, 13, 18, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
  .nav .btn { margin-top: 14px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 600 15px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  color: var(--button-text) !important;
  background: var(--button-fill);
  /* The app's button: dark fill, lavender outline, a soft even glow around it */
  box-shadow: inset 0 0 0 1.5px var(--button-border), 0 0 16px -4px color-mix(in srgb, var(--button-glow) var(--button-glow-strength), transparent);
}
.btn-primary:hover { background: color-mix(in srgb, var(--button-fill), #ffffff 6%);
  box-shadow: inset 0 0 0 1.5px var(--button-border), 0 0 20px -3px color-mix(in srgb, var(--button-glow) var(--button-glow-strength), transparent); }
.btn-ghost { color: var(--lavender-soft) !important; background: transparent; border: 1.5px solid var(--border-strong); }
.btn-ghost:hover { background: rgba(179, 157, 250, 0.08); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* Store buttons (App Store / Google Play) */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 11px;
  height: 56px; padding: 0 20px 0 16px; border-radius: 16px;
  background: #fff; color: #111 !important;
  box-shadow: 0 10px 26px -14px rgba(0, 0, 0, 0.8);
  transition: transform 0.15s ease;
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 10.5px; font-weight: 500; line-height: 1.1; opacity: 0.75; }
.store b { display: block; font-size: 16.5px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }

/* ---------- Sections ---------- */
section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section-head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lavender); }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: clamp(15px, 1.6vw, 17px); }
.band { background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0)); border-top: 1px solid rgba(255, 255, 255, 0.04); border-bottom: 1px solid rgba(255, 255, 255, 0.04); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(60px, 8vw, 100px); overflow: hidden; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }   /* let the columns shrink to the screen */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(179, 157, 250, 0.1); border: 1px solid var(--border-soft);
  font-size: 13px; font-weight: 600; color: var(--lavender-soft);
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: #5ee6a8; box-shadow: 0 0 10px #5ee6a8; }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 6.2vw, 68px); font-weight: 700; letter-spacing: -0.045em; }
.hero .lead { margin-top: 22px; max-width: 520px; font-size: clamp(16px, 1.8vw, 19px); color: var(--muted); }
.hero .stores { margin-top: 34px; }
.price-note { margin-top: 18px; font-size: 13.5px; color: var(--dim); }
.price-note b { color: var(--lavender-soft); font-weight: 600; }

/* Waitlist (hero) */
.waitlist { margin-top: 30px; max-width: 470px; }
.waitlist-label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13.5px; font-weight: 600; color: var(--lavender-soft); }
.waitlist-label svg { flex: none; }
.waitlist-form {
  display: flex; gap: 6px; padding: 6px; border-radius: 999px;
  background: var(--card); border: 1.5px solid var(--border); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.waitlist-form:focus-within { border-color: var(--lavender); box-shadow: 0 0 0 4px rgba(179, 157, 250, 0.12); }
.waitlist-form input {
  flex: 1 1 0; width: 0; min-width: 0; padding: 0 16px; border: 0; outline: 0; background: none;
  color: var(--text); font: 400 15px/1 var(--font);
}
.waitlist-form input::placeholder { color: var(--dim); }
.waitlist-form .btn { min-height: 44px; padding: 0 22px; }
.waitlist-form.done { border-color: rgba(94, 230, 168, 0.5); }
.waitlist-form.done .btn { background: linear-gradient(100deg, #3fbf87, #2f9e6f); box-shadow: none; }
.waitlist-note { margin-top: 10px; font-size: 12.5px; color: var(--dim); }
.waitlist-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.waitlist-note.ok { color: #b8f5da; font-weight: 500; }
.waitlist-note.err { color: #ffc4c4; }

/* Phone frame (hero) */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone-stage::before {
  content: ""; position: absolute; width: 120%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.32) 0%, rgba(139, 92, 246, 0) 62%);
  pointer-events: none;
}
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 19.2;
  border-radius: 46px; padding: 11px;
  background: linear-gradient(160deg, #3a3a44, #1a1a20);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
}
.phone-screen {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 36px;
  background: radial-gradient(120% 70% at 50% 20%, #3a2f6b 0%, #16161c 70%);
}
.phone-screen::before { /* notch */
  content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 24px; border-radius: 14px; background: #0b0b0f; z-index: 3;
}
.phone-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.phone-fallback .hero-art { width: 88%; }
.floating-chip {
  position: absolute; left: -8%; bottom: 16%; z-index: 4;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px;   /* background, border and glow come from .modal .modal--bordered */
  font-size: 13.5px; font-weight: 600;
  animation: float 4s ease-in-out infinite;
}
.floating-chip span:first-child {
  width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--violet), var(--violet-2)); font-size: 16px;
}
.floating-chip small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Modal background (colours from tokens.css) ----------
   .modal             the fill and rounded corners
   .modal--bordered   + purple border and a soft glow around it
   .modal--floating   + a soft shadow underneath and no border, so it looks like it's lifting off the page */
.modal { background: var(--modal-fill); border-radius: var(--modal-radius); }
.modal--bordered {
  border: 1px solid var(--modal-border);
  box-shadow: 0 0 0 1px var(--modal-border), 0 0 24px -4px color-mix(in srgb, var(--modal-glow) var(--modal-glow-strength), transparent);
}
.modal--floating {
  border: 0;
  box-shadow: 0 28px 50px -18px color-mix(in srgb, var(--modal-shadow) var(--modal-shadow-strength), transparent),
              0 8px 18px -8px color-mix(in srgb, var(--modal-shadow) 55%, transparent);
}

/* ---------- Gift animation (shared with the gift page) ---------- */
.hero-art g, .hero-art ellipse { transform-box: view-box; }
.hero-art .ring { transform-origin: 100px 160px; animation: popIn 0.55s cubic-bezier(.34,1.56,.64,1) 0.25s both; }
.hero-art .box  { transform-origin: 100px 160px; animation: popIn 0.55s cubic-bezier(.34,1.56,.64,1) 0.25s both; }
.hero-art .lid  { transform-origin: 65px 108px; animation: lidWiggle 0.32s ease-in-out 0.95s 1, lidOff 0.6s cubic-bezier(.34,1.56,.64,1) 1.28s forwards; }
.hero-art .burst { transform-origin: 100px 100px; opacity: 0; animation: burst 0.75s ease-out 1.3s both; }
.hero-art .balloon-wrap { transform-origin: 90px 74px; animation: riseBalloon 0.9s cubic-bezier(.22,1,.36,1) 1.38s both; }
.hero-art .card-wrap    { transform-origin: 146px 74px; animation: riseCard 0.6s cubic-bezier(.34,1.56,.64,1) 1.6s both; }
.hero-art .balloon { transform-origin: 90px 74px; animation: sway 3.2s ease-in-out 2.3s infinite alternate; }
.hero-art .card    { transform-origin: 146px 74px; animation: bob 2.6s ease-in-out 2.2s infinite alternate; }
.hero-art .g  { opacity: 0; animation: twinkle 1.8s ease-in-out infinite; }
.hero-art .g1 { transform-origin: 30px 40px; animation-delay: 2s; }
.hero-art .g2 { transform-origin: 186px 108px; animation-delay: 2.45s; }
.hero-art .g3 { transform-origin: 22px 130px; animation-delay: 2.9s; }
.hero-art .g4 { transform-origin: 190px 30px; animation-delay: 3.35s; }
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes lidWiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(6deg); } 75% { transform: rotate(-6deg); } }
@keyframes lidOff { to { transform: translate(-30px, -22px) rotate(-26deg); opacity: 0; } }
@keyframes burst { 0% { transform: scale(0.3); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes riseBalloon { from { transform: translate(10px, 39px) scale(0.1); opacity: 0; } 8% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes riseCard { from { transform: translate(-46px, 40px) scale(0.1); opacity: 0; } 10% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes sway { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-5px) rotate(4deg); } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-4px); } }
@keyframes twinkle { 0%, 100% { transform: scale(0); opacity: 0; } 20%, 35% { transform: scale(1) rotate(-45deg); opacity: 1; } 55% { transform: scale(0) rotate(-90deg); opacity: 0; } }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  padding: 26px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--card-2) 0%, var(--card) 100%);
  border: 1px solid var(--border-soft);
}
.feature .icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(179, 157, 250, 0.12); margin-bottom: 18px;
}
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; }
.feature p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- How it works (tabs + steps) ---------- */
.tabs {
  display: flex; gap: 6px; width: max-content; margin: 0 auto 40px;
  padding: 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--border-soft);
}
.tab {
  border: 0; padding: 11px 22px; border-radius: 999px; background: none; cursor: pointer;
  font: 600 14.5px/1 var(--font); color: var(--muted); transition: background 0.25s ease, color 0.25s ease;
}
.tab[aria-selected="true"] { background: var(--lavender); color: #16161a; }
.tab-panel { display: none; }
.tab-panel.active { display: grid; animation: fadeUp 0.45s ease-out both; }
.steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  padding: 16px 16px 24px; border-radius: 26px;
  background: linear-gradient(160deg, var(--card-2) 0%, var(--card) 100%);
  border: 1px solid var(--border-soft); text-align: center;
}
.step .art { border-radius: 18px; background: var(--tile); aspect-ratio: 1 / 1; overflow: hidden; }
.step .art img, .step .art video { width: 100%; height: 100%; object-fit: cover; display: block; }
.step .num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; margin-top: 18px;
  border-radius: 50%; background: rgba(179, 157, 250, 0.14); color: var(--lavender); font-weight: 700; font-size: 14px;
}
.step h3 { margin-top: 10px; font-size: 19px; }
.step p { margin: 8px auto 0; max-width: 280px; font-size: 14.5px; color: var(--muted); }

/* ---------- Videos ---------- */
.videos { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.videos::-webkit-scrollbar { display: none; }
.video-card { text-align: center; scroll-snap-align: start; }
.video-frame {
  position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, #2b2447, #17161f); border: 1px solid var(--border-soft);
}
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--muted); font-size: 13.5px; font-weight: 500;
}
.video-placeholder span {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(179, 157, 250, 0.14); border: 1px solid var(--border-strong);
}
.video-frame.has-video .video-placeholder { display: none; }
.video-card h3 { margin-top: 14px; font-size: 16px; }
.video-card p { margin-top: 2px; font-size: 13.5px; color: var(--muted); }

/* ---------- Moments ---------- */
.moments-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.moments-head .section-head { margin: 0; text-align: left; }
.arrows { display: flex; gap: 10px; }
.arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--border-strong); background: none;
  color: var(--lavender-soft); cursor: pointer; display: grid; place-items: center; transition: background 0.2s ease;
}
.arrow:hover { background: rgba(179, 157, 250, 0.1); }
.moments {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.moments::-webkit-scrollbar { display: none; }
.moment {
  scroll-snap-align: start; padding: 22px; border-radius: var(--radius); min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(160deg, var(--card-2) 0%, var(--card) 100%); border: 1px solid var(--border-soft);
}
.moment .emoji {
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 32px;
  background: radial-gradient(circle at 30% 30%, rgba(179, 157, 250, 0.35), rgba(109, 79, 216, 0.15));
}
.moment h3 { font-size: 18px; margin-top: 24px; }
.moment p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.moments-note { margin-top: 22px; text-align: center; font-size: 14px; color: var(--dim); }

/* ---------- Lite mode ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(30px, 4vw, 42px); }
.split .lead { margin-top: 16px; color: var(--muted); font-size: 16.5px; }
.split ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.split li { display: flex; gap: 12px; color: var(--muted); font-size: 15px; }
.split li svg { flex: none; margin-top: 3px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.duo figure { margin: 0; border-radius: 22px; overflow: hidden; background: var(--tile); border: 1px solid var(--border-soft); }
.duo video { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.duo figcaption { padding: 12px 14px 14px; font-size: 13.5px; font-weight: 600; text-align: center; background: var(--card); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--border-soft); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px;
  font-weight: 600; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--lavender); transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- CTA bands ---------- */
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(40px, 6vw, 70px) clamp(22px, 5vw, 60px); border-radius: 32px;
  background: radial-gradient(80% 120% at 50% 0%, rgba(139, 92, 246, 0.35), rgba(139, 92, 246, 0) 70%), var(--card);
  border: 1px solid var(--border-soft);
}
.cta-card h2 { font-size: clamp(30px, 4.4vw, 46px); }
.cta-card p { margin: 14px auto 0; max-width: 520px; color: var(--muted); }
.cta-card .stores { justify-content: center; margin-top: 30px; }
.receiver {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: 28px 32px; border-radius: 26px; background: var(--card); border: 1px solid var(--border-soft);
}
.receiver h3 { font-size: 21px; }
.receiver p { margin-top: 6px; color: var(--muted); font-size: 15px; max-width: 520px; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid p { margin-top: 12px; color: var(--muted); font-size: 14px; max-width: 320px; }
.footer-grid h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid li a { color: var(--muted); font-size: 14.5px; }
.footer-grid li a:hover { color: var(--text); }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px; color: var(--dim);
}

/* ---------- Pages (legal, contact, 404) ---------- */
.page-hero { padding: clamp(50px, 8vw, 90px) 0 clamp(20px, 4vw, 40px); text-align: center; }
.page-hero h1 { font-size: clamp(36px, 5.5vw, 56px); }
.page-hero p { margin: 14px auto 0; max-width: 560px; color: var(--muted); font-size: 16.5px; }
.prose { max-width: 760px; margin: 0 auto; padding-bottom: 100px; color: #cfcbe0; font-size: 15.5px; }
.prose h2 { margin: 42px 0 12px; font-size: 22px; color: var(--text); }
.prose h3 { margin: 26px 0 8px; font-size: 17px; color: var(--text); }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose .updated { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--border-soft); font-size: 13px; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 14px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.prose th { color: var(--text); font-weight: 600; }

.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 24px; max-width: 980px; margin: 0 auto; padding-bottom: 100px; }
.form-card, .side-card { padding: clamp(22px, 4vw, 34px); border-radius: 26px; background: var(--card); border: 1px solid var(--border-soft); }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--lavender-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  background: var(--bg-2); border: 1.5px solid rgba(255, 255, 255, 0.08); color: var(--text);
  font: 400 15px/1.4 var(--font); outline: none; transition: border-color 0.2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lavender); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.form-note { margin-top: 12px; font-size: 12.5px; color: var(--dim); }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-size: 14.5px; }
.form-status.ok { display: block; background: rgba(94, 230, 168, 0.1); border: 1px solid rgba(94, 230, 168, 0.35); color: #b8f5da; }
.form-status.err { display: block; background: rgba(255, 110, 110, 0.08); border: 1px solid rgba(255, 110, 110, 0.35); color: #ffc4c4; }
.side-card h3 { font-size: 17px; }
.side-card p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.side-card + .side-card { margin-top: 16px; }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.notfound h1 { font-size: clamp(38px, 6vw, 60px); margin-top: 18px; }
.notfound p { margin: 14px auto 28px; max-width: 460px; color: var(--muted); }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%); z-index: 60;
  width: min(560px, calc(100% - 28px));
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px;
  background: rgba(28, 28, 36, 0.97); border: 1px solid var(--border-soft); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9);
  font-size: 13.5px; color: var(--muted); transition: transform 0.35s cubic-bezier(.22,1,.36,1);
}
.cookie.show { transform: translate(-50%, 0); }
.cookie .actions { display: flex; gap: 8px; flex: none; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .stores { justify-content: center; }
  .waitlist { margin-left: auto; margin-right: auto; }
  .waitlist-label { justify-content: center; }
  .features { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .features, .steps { grid-template-columns: 1fr; }
  .steps .step { max-width: 380px; margin: 0 auto; width: 100%; }
  /* Reaction videos: swipe sideways on phones instead of stacking */
  .videos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto;
            scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * clamp(22px, 5vw, 40px)); padding: 0 clamp(22px, 5vw, 40px) 4px; }
  .videos::-webkit-scrollbar { display: none; }
  .video-card { scroll-snap-align: center; }
  .moments-head { flex-direction: column; align-items: center; text-align: center; }
  .moments-head .section-head { text-align: center; }
  .two { grid-template-columns: 1fr; }
  .cookie { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie .actions { justify-content: center; }
  .floating-chip { left: 0; }
  .receiver { text-align: center; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  /* "Reduce motion" is on: no looping movement - but things still appear, the hero still opens and videos still play */
  .floating-chip, .hero-art .balloon, .hero-art .card, .anim-nudge, .anim-lift, .anim-float, .anim-edge, .anim-shine::before { animation: none !important; }
  .reveal { transition-duration: 0.3s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Brand animations (the kit's chosen eight) - add the class to any element ----------
   .anim-shine   shine sweep (idle) - needs position:relative + overflow:hidden (buttons already have them)
   .anim-nudge   attention nudge (idle)
   .anim-lift    lift (idle) - for cards
   .anim-edge    glowing edge (idle) - for .modal--bordered / selected cards
   .anim-float   gift float (idle)
   .anim-toast   toast slide in / out (add the class to show it once)
   Press is built into .btn (:active scale). Drifting particles: see .particles on the gift page. */
.btn { position: relative; overflow: hidden; }
.anim-shine::before { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent); transform: skewX(-20deg); animation: kitShine 3.6s ease-in-out infinite; }
@keyframes kitShine { 0%, 60% { left: -60%; } 85%, 100% { left: 130%; } }
.anim-nudge { animation: kitNudge 4s ease-in-out infinite; }
@keyframes kitNudge { 0%, 78%, 100% { transform: translateY(0); } 83% { transform: translateY(-7px); } 88% { transform: translateY(0); } 92% { transform: translateY(-3px); } 96% { transform: translateY(0); } }
.anim-lift { animation: kitLift 3s ease-in-out infinite; }
@keyframes kitLift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--modal-glow) 55%, transparent); } }
.anim-edge { animation: kitEdge 3s ease-in-out infinite; }
@keyframes kitEdge { 0%, 100% { box-shadow: 0 0 0 1px var(--modal-border), 0 0 10px -6px color-mix(in srgb, var(--modal-glow) 40%, transparent); }
  50% { box-shadow: 0 0 0 1px var(--modal-border), 0 0 34px 0 color-mix(in srgb, var(--modal-glow) 70%, transparent); } }
.anim-float { animation: kitFloat 2.6s ease-in-out infinite; }
@keyframes kitFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.anim-toast { animation: kitToast 3.4s ease-in-out both; }
@keyframes kitToast { 0% { transform: translateY(70px); opacity: 0; } 12%, 78% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(70px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .anim-shine::before, .anim-nudge, .anim-lift, .anim-edge, .anim-float, .anim-toast { animation: none !important; } }

/* ---------- Conversion pieces ---------- */
.assure { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--muted); }
.assure li { display: inline-flex; align-items: center; gap: 6px; }
.quick-send { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 14px 18px 14px 14px; max-width: 440px; border-radius: var(--modal-radius); background: var(--modal-fill); }
.quick-send img { width: 96px; height: 96px; border-radius: 10px; flex: none; }
.quick-send b { display: block; font-size: 15px; } .quick-send span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.compare { margin: 40px auto 0; max-width: 860px; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--border-soft); }
.compare-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.2fr; }
.compare-row > span { padding: 14px 16px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--border-soft); }
.compare-row > span:first-child { color: var(--text); font-weight: 600; }
.compare-row.head > span { border-top: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.compare-row .ee { color: var(--text); font-weight: 600; background: color-mix(in srgb, var(--lavender) 10%, transparent); }
.compare-row.head .ee { color: var(--lavender); }
.compare-row .ee b { color: var(--text); }

.section-cta { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.section-cta span { font-size: 13.5px; color: var(--dim); } .section-cta b { color: var(--lavender-soft); }

/* Moments as product cards (drop images in /assets/img/gifts/) */
.product { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; color: inherit;
  background: linear-gradient(160deg, var(--card-2) 0%, var(--card) 100%); border: 1px solid var(--border-soft); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.product:hover { transform: translateY(-4px); border-color: var(--modal-border); box-shadow: 0 0 0 1px var(--modal-border), 0 0 24px -4px color-mix(in srgb, var(--modal-glow) var(--modal-glow-strength), transparent); }
.product .thumb { position: relative; aspect-ratio: 4 / 5; background: var(--tile); overflow: hidden; }
.product .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.product .thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.product .thumb .ph svg { width: 42%; opacity: .9; }
.product .info { padding: 14px 16px 16px; }
.product h3 { font-size: 16.5px; } .product p { margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.product .buy { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 13.5px; }
.product .buy b { color: var(--text); } .product .buy span { color: var(--lavender); font-weight: 600; }

.sticky-cta { display: none; }
@media (max-width: 720px) {
  .assure { justify-content: center; }
  .compare-row { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .compare-row > span { padding: 11px 9px; font-size: 12px; }
  .compare-row.head > span { font-size: 10px; letter-spacing: .08em; }
  .sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 16px; border-radius: 20px; background: color-mix(in srgb, var(--modal-fill) 94%, transparent); backdrop-filter: blur(10px);
    border: 1px solid var(--modal-border); box-shadow: 0 0 0 1px var(--modal-border), 0 0 24px -4px color-mix(in srgb, var(--modal-glow) var(--modal-glow-strength), transparent);
    transform: translateY(140%); transition: transform .35s cubic-bezier(.34, 1.3, .64, 1); }
  .sticky-cta.show { transform: none; }
  .sticky-cta b { display: block; font-size: 14px; } .sticky-cta div > span { display: block; font-size: 12px; color: var(--muted); }
}
@media (max-width: 960px) { .quick-send { display: none; } .videos { grid-auto-columns: calc((100% - 18px) / 2); } }

/* ---------- Every modal / panel = the selected-card look: lavender border + a subtle glow ---------- */
.modal--bordered, .quick-send, .cta-card, .receiver, .form-card, .side-card {
  border: 1px solid var(--modal-border);
  box-shadow: 0 0 0 1px var(--modal-border), 0 0 24px -4px color-mix(in srgb, var(--modal-glow) var(--modal-glow-strength), transparent);
}
#tips .steps { display: grid; }

/* ======================================================================
   Launch switch (config.js > released). Default = coming soon.
   ====================================================================== */
.only-live { display: none !important; }
.is-live .only-live { display: revert !important; }
.is-live .only-soon { display: none !important; }
html:not(.is-live) .hero .pill i { background: #ffc947; box-shadow: 0 0 10px #ffc947; }
.hero-cta .stores { margin-top: 30px; }
.hero-cta .waitlist { margin-top: 26px; }

/* Join: a small, slow nudge - stops once they're typing */
.waitlist-form .btn.nudge { animation: joinNudge 5s ease-in-out 2.5s infinite; }
.waitlist-form:focus-within .btn.nudge, .waitlist-form.done .btn.nudge { animation: none; }
@keyframes joinNudge { 0%, 84%, 100% { transform: translateY(0); } 88% { transform: translateY(-4px); } 92% { transform: translateY(0); } 95% { transform: translateY(-2px); } 98% { transform: translateY(0); } }

/* ======================================================================
   How it works - one swipeable row (scroll snap) on every screen
   ====================================================================== */
.how-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.how-head .section-head { margin: 0; text-align: left; max-width: 680px; }
.how-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.how-row::-webkit-scrollbar { display: none; }
.how-card { scroll-snap-align: start; position: relative; padding: 14px 14px 22px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--card-2) 0%, var(--card) 100%); border: 1px solid var(--border-soft); }
.how-card .art { border-radius: 16px; background: var(--tile); aspect-ratio: 1 / 1; overflow: hidden; }
.how-card .art video { width: 100%; height: 100%; object-fit: cover; display: block; }
.how-num { position: absolute; top: 24px; left: 24px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--button-fill); box-shadow: inset 0 0 0 1.5px var(--button-border); font-size: 13px; font-weight: 700; color: var(--button-text); }
.how-tag { display: inline-flex; margin-top: 16px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: color-mix(in srgb, var(--lavender) 12%, transparent); color: var(--lavender-soft); }
.how-card h3 { margin-top: 10px; font-size: 19px; }
.how-card p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 960px) { .how-row { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 640px) {
  .how-head { flex-direction: column; align-items: center; text-align: center; }
  .how-head .section-head { text-align: center; }
  .how-head .arrows { display: none; }
  .how-row { grid-auto-columns: 82%; gap: 14px; margin: 0 calc(-1 * clamp(22px, 5vw, 40px)); padding: 0 clamp(22px, 5vw, 40px) 6px;
    scroll-padding: 0 clamp(22px, 5vw, 40px); }
}

/* ======================================================================
   Hero on phones: same banner, smaller - title and phone fit the first screen
   ====================================================================== */
@media (max-width: 760px) {
  .hero { padding-top: 14px; padding-bottom: 44px; }
  .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .hero-copy { display: contents; }
  .hero .pill { order: 1; align-self: center; font-size: 12px; }
  .hero h1 { order: 2; margin-top: 12px; font-size: clamp(30px, 8.6vw, 38px); text-align: center; }
  .hero .lead { order: 3; margin: 10px auto 0; max-width: 36ch; font-size: 14.5px; line-height: 1.5; text-align: center; }
  .phone-stage { order: 4; margin-top: 16px; height: clamp(250px, 40svh, 340px); }
  .phone-stage::before { width: 90vw; }
  .phone { width: auto; height: 100%; padding: 7px; border-radius: 32px; }
  .phone-screen { border-radius: 26px; }
  .phone-screen::before { top: 7px; height: 15px; }
  .floating-chip { left: calc(50% - 158px); bottom: 10%; padding: 7px 12px 7px 7px; font-size: 11.5px; gap: 8px; }
  .floating-chip span:first-child { width: 26px; height: 26px; border-radius: 9px; font-size: 13px; }
  .floating-chip small { font-size: 10px; }
  .hero-cta { order: 5; text-align: center; }
  .hero-cta .waitlist { margin: 22px auto 0; }
  .hero-cta .stores { justify-content: center; margin-top: 22px; }
  .hero .assure { order: 6; justify-content: center; margin-top: 14px; }
}
