/* NoGhosting — one stylesheet for the whole site.
   Layout follows the Noize page: tall tinted hero, big quiet type, phones that
   drift as you scroll. Colours and words are ours. */

:root {
  --plum: #67295F;
  --lilac: #B37FAC;
  --blush: #F2A3B8;
  --page: #FAF5F8;
  --tint: #F3E7EF;
  --tint2: #F7EDF3;
  --card: #FFFFFF;
  --text: #1D1420;
  --muted: #6F6276;
  --line: #EFE6EC;
  --ink-on-plum: #FFFFFF;
  --shadow: 0 18px 50px rgba(29, 20, 32, .10);
  --shadow-sm: 0 8px 24px rgba(29, 20, 32, .07);
  --wrap: 1160px;          /* measured off the reference */
  --head: "Manrope", "DM Sans", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --plum: #C58FBE;
    --lilac: #B37FAC;
    --page: #141019;
    --tint: #1A1522;
    --tint2: #17121E;
    --card: #1C1C26;
    --text: #F4EEF3;
    --muted: #A99CAF;
    --line: #2A2333;
    --shadow: 0 18px 50px rgba(0, 0, 0, .45);
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, .35);
  }
}
:root[data-theme="dark"] {
  --plum: #C58FBE; --lilac: #B37FAC; --page: #141019; --tint: #1A1522; --tint2: #17121E;
  --card: #1C1C26; --text: #F4EEF3; --muted: #A99CAF; --line: #2A2333;
  --shadow: 0 18px 50px rgba(0,0,0,.45); --shadow-sm: 0 8px 24px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 500 15px/1.65 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 800; letter-spacing: normal; line-height: 1.03; }
h1 { font-size: clamp(44px, 5.4vw, 76px); }
h2 { font-size: clamp(32px, 4.4vw, 62px); }
h3 { font-size: clamp(20px, 1.8vw, 23px); font-weight: 500; line-height: 1.3; }
p { margin: 0; }
.lead { color: var(--muted); font-size: clamp(15px, 1.2vw, 16.5px); line-height: 1.65; max-width: 52ch; }
.kicker {
  font-size: 12.5px; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--plum); margin-bottom: 18px;
}
.soft { color: var(--lilac); }
.accent { color: var(--plum); }
.ul { text-decoration: underline; text-decoration-thickness: .07em; text-underline-offset: .1em; text-decoration-color: var(--blush); }

/* ---------- top bar ---------- */
header {
  position: sticky; top: 0; z-index: 60; height: 84px;
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--page) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
header .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.03em; font-size: 19px; text-decoration: none; }
nav { margin-left: auto; display: flex; gap: 26px; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
nav a:hover { color: var(--text); }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 54px; padding: 0 25px; border-radius: 100px;
  font-weight: 600; font-size: 13px; letter-spacing: .01em; text-decoration: none; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.pill:active { transform: scale(.97); }
.pill-dark { background: #29242E; color: #FFFAFB; }
.pill-dark:hover { box-shadow: var(--shadow-sm); }
.pill-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.pill-ghost:hover { border-color: var(--plum); color: var(--plum); }
.pill-light { background: #fff; color: #67295F; }
header .pill { height: 44px; font-size: 13px; }
@media (max-width: 820px) { nav { display: none; } }

/* ---------- the mark: always two ghosts and a heart, always alive ---------- */
.mark { flex: none; overflow: visible; }
.mark .mk-a, .mark .mk-b { animation: mk-bob 2.6s ease-in-out infinite; }
.mark .mk-b { animation-delay: -.9s; }
.mark .mk-h { transform-box: fill-box; transform-origin: 50% 60%; animation: mk-beat 2.6s ease-in-out infinite; }
@keyframes mk-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes mk-beat { 0%, 44%, 100% { transform: scale(1); } 10% { transform: scale(1.24); } 22% { transform: scale(1); } 32% { transform: scale(1.14); } }
@media (prefers-reduced-motion: reduce) { .mark .mk-a, .mark .mk-b, .mark .mk-h { animation: none; } }

/* ---------- the travelling phone ---------- */
.fly { display: none; }
.fly-on .fly { display: block; position: fixed; left: 0; top: 0; z-index: 40; width: 300px; aspect-ratio: 390 / 844; pointer-events: none; transform-origin: 50% 50%; will-change: transform, opacity; }
.fly-bob { width: 100%; height: 100%; perspective: 1400px; animation: ng-float 6s ease-in-out infinite; }
.fly-phone { width: 100%; height: 100%; transition: none; will-change: transform;
  box-shadow: 0 60px 120px rgba(103, 41, 95, .34), 0 22px 46px rgba(29, 20, 32, .24), 0 0 0 1.5px rgba(255, 255, 255, .14) inset; }
.fly-phone .tb-screen img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; opacity: 0; transition: opacity .5s ease; }
.fly-phone .tb-screen img.on { opacity: 1; }
/* each section's own phone stays in the layout as a placeholder, and is simply not drawn */
.fly-on [data-fly]:not([data-fly-live]):not(.fly-skip) .phone { visibility: hidden; }
.fly-on [data-fly-live] .phone { opacity: 0; }

/* ---------- the opening ---------- */
/* the phone's screen wakes on the logo, then the app fades up from under it */
.fly-boot { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: radial-gradient(circle at 50% 42%, #3A1836, #170B19 72%); transition: opacity .7s ease, transform .9s cubic-bezier(.16, 1, .3, 1); }
.fly-boot .mark { width: 42%; height: auto; filter: drop-shadow(0 0 22px rgba(242, 75, 184, .55)); animation: boot-pulse 1.2s ease-in-out infinite; }
.fly-boot.gone { opacity: 0; transform: scale(1.12); pointer-events: none; }
@keyframes boot-pulse { 0%, 100% { scale: 1; } 50% { scale: 1.08; } }
/* the little cards wait for the phone to land, then pop out from behind it one after another */
.fly-on .hero .float { transition: opacity .5s ease, scale .7s cubic-bezier(.34, 1.56, .64, 1), translate 1s cubic-bezier(.16, 1, .3, 1), box-shadow .25s; }
.intro .hero .float { opacity: 0 !important; scale: .4; }
.intro .hero .pager { opacity: 0; translate: 0 16px; }
.hero .pager { transition: opacity .6s ease .3s, translate .8s cubic-bezier(.16, 1, .3, 1) .3s; }
/* and a ring of light goes out from where it lands */
.stage::after { content: ""; position: absolute; left: 50%; top: 50%; width: 340px; height: 340px; margin: -170px 0 0 -170px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, transparent 54%, hsl(var(--hue) 90% 72% / .55) 60%, transparent 70%); }
.hero.landed .stage::after { animation: land-ring 1.1s cubic-bezier(.16, 1, .3, 1) forwards; }
@keyframes land-ring { 0% { opacity: .9; scale: .5; } 100% { opacity: 0; scale: 2.6; } }
@media (prefers-reduced-motion: reduce) { .fly-boot { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; background: linear-gradient(170deg, #F6DFEB 0%, #F3E7EF 42%, var(--page) 100%); padding: 72px 0 110px; overflow: hidden; }
/* a soft bloom of colour behind the phone, the way light falls on a screen */
.hero::before {
  content: ""; position: absolute; width: 760px; height: 760px; right: -8%; top: -14%;
  background: radial-gradient(circle, rgba(242,163,184,.55), rgba(179,127,172,.26) 42%, transparent 68%);
  filter: blur(14px); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; left: -12%; bottom: -22%;
  background: radial-gradient(circle, rgba(179,127,172,.34), transparent 66%);
  filter: blur(18px); pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero .wrap { display: grid; grid-template-columns: .92fr 1.08fr; gap: 24px; align-items: center; min-height: 760px; }
.hero-copy { max-width: 620px; }
.hero h1 span { display: block; }
.hero .lead { margin: 22px 0 32px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.stage { position: relative; display: grid; place-items: center; min-height: 700px; perspective: 1500px; perspective-origin: 50% 40%; padding: 0 4px; }
/* nothing in the art column may reach across into the words */
.stage .float { max-width: calc(50% - 150px); }

/* phone */
.phone {
  position: relative; width: 288px; aspect-ratio: 390 / 844;
  border-radius: 46px; background: linear-gradient(145deg, #2a2430, #0d0a10 38%, #0d0a10 72%, #322b38);
  padding: 9px; transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.22,.8,.3,1);
  box-shadow: 0 48px 110px rgba(103, 41, 95, .30), 0 18px 40px rgba(29,20,32,.22), 0 0 0 1.5px rgba(255,255,255,.14) inset;
}
/* light sliding across the glass */
.phone > .glass {
  position: absolute; inset: 9px; border-radius: 38px; pointer-events: none; z-index: 2;
  background: linear-gradient(118deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,.1) 22%, transparent 42%, transparent 100%);
  mix-blend-mode: screen; opacity: .75;
}
.feature-art .phone { transform: rotateY(9deg) rotateX(3deg); }
.feature:nth-child(even) .feature-art .phone { transform: rotateY(-9deg) rotateX(3deg); }
.gallery .phone { transform: rotateY(-7deg) rotateX(2deg); transition: transform .45s cubic-bezier(.22,.8,.3,1); }
.gallery .phone:hover { transform: rotateY(0deg) rotateX(0deg) translateY(-10px); }
.panel .phone { transform: rotateX(4deg); }
.phone img { width: 100%; height: 100%; object-fit: contain; background: #0d0a10; border-radius: 38px; }
.phone::after {
  content: ""; position: absolute; top: 20px; left: 50%; translate: -50% 0;
  width: 92px; height: 24px; border-radius: 14px; background: #0d0a10;
}
.phone-sm { width: 266px; }

/* floating cards */
.float {
  position: absolute; background: var(--card); color: var(--text);
  border-radius: 16px; padding: 11px 15px;
  box-shadow: 0 16px 40px rgba(103, 41, 95, .16), 0 0 0 1px rgba(255,255,255,.7) inset;
  font-size: 13px; font-weight: 700; line-height: 1.3; display: flex; align-items: center; gap: 9px;
}
.float i { width: 8px; height: 8px; border-radius: 50%; background: var(--plum); display: inline-block; }
.float.good i { background: #22C55E; }
.float.warn i { background: #F59E0B; }
/* Anchored to the centre line, so they always clear the phone's edges rather
   than landing on top of the screen. */
.f1 { top: 6%;     right: calc(50% + 172px); left: auto; }
.f2 { top: 31%;    left: calc(50% + 172px);  right: auto; }
.f3 { bottom: 29%; right: calc(50% + 172px); left: auto; }
.f4 { bottom: 5%;  left: calc(50% + 172px);  right: auto; }


/* Below this the two columns leave too little room beside the phone, so the
   hero stacks and the cards sit in the corners of a full-width stage. */
@media (max-width: 1320px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .stage { min-height: 720px; margin-top: 22px; }
  .f1 { top: 0;      right: auto; left: 0; }
  .f2 { top: 13%;    left: auto;  right: 0; }
  .f3 { bottom: 13%; right: auto; left: 0; }
  .f4 { bottom: 0;   left: auto;  right: 0; }
}
@media (max-width: 560px) {
  /* a tall stage with the phone in the middle and a card at each corner */
  .stage { min-height: 880px; }
  .phone { width: 236px; }
  .f1 { top: 0;      left: 0;  right: auto; }
  .f2 { top: 10%;    right: 0; left: auto; }
  .f3 { bottom: 10%; left: 0;  right: auto; }
  .f4 { bottom: 0;   right: 0; left: auto; }
  .float { font-size: 12px; padding: 9px 12px; }
  .stage .float { max-width: 62vw; }
}
@media (max-width: 420px) {
  .float { font-size: 12px; padding: 9px 12px; }
  .phone { width: 252px; }
}

/* ---------- plain sections ---------- */
section { position: relative; }
.pad { padding: 104px 0; }
.pad-lg { padding: 132px 0; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.problem { background: linear-gradient(180deg, var(--page), #F7EDF3 60%, var(--page)); }
.problem h2 { max-width: 16ch; }
.problem .lead { margin-top: 26px; }

/* the long feature run, with the huge faint wordmark behind it */
.run { position: relative; background: linear-gradient(180deg, var(--page) 0%, #F7EDF3 18%, #F3E7EF 50%, #F7EDF3 82%, var(--page) 100%); overflow: clip; /* clip, not hidden: hidden would stop the cards sticking */ }
.ghostword {
  position: absolute; inset-inline: 0; top: 7%; text-align: center; pointer-events: none;
  font-size: clamp(120px, 24vw, 330px); font-weight: 800; letter-spacing: -.06em;
  color: var(--plum); opacity: .085; line-height: .8; user-select: none;
}
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 58px 0; }
.feature:nth-child(even) .feature-art { order: -1; }
.feature-art { display: grid; place-items: center; }
.feature-copy { max-width: 46ch; }
.feature-copy p { color: var(--muted); margin-top: 12px; font-size: 15px; line-height: 1.65; }
.tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lilac); margin-bottom: 12px; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 54px 0; }
  .feature:nth-child(even) .feature-art { order: 0; }
}

/* ---------- the tour, laid out as on the reference: pinned stage, phone on the right ---------- */
.tb { position: relative; height: 520vh; transition: --hue 1.2s ease; }
.tb-pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; align-items: center;
  background:
    radial-gradient(760px 560px at 12% 18%, hsl(calc(var(--hue) + 30) 90% 90% / .85), transparent 66%),
    radial-gradient(900px 700px at 86% 70%, hsl(var(--hue) 82% 84% / .80), transparent 66%),
    linear-gradient(160deg, #FBF1F7, #F1E6F6);
}
.tb-bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 3; }
.tb-bar i { display: block; height: 100%; background: hsl(var(--hue) 46% 42%); transform-origin: 0 50%; transform: scaleX(0); }
.tb-ghost { position: absolute; left: 50%; top: 46%; translate: -50% -50%; white-space: nowrap; pointer-events: none; user-select: none;
  font: 800 clamp(160px, 30vw, 470px)/.8 var(--head); letter-spacing: -.06em; color: #fff; opacity: .34; }
.tb-words { position: absolute; left: 3vw; right: 0; bottom: -0.1em; height: 1em; pointer-events: none; user-select: none;
  font: 800 clamp(96px, 16vw, 250px)/1 var(--head); letter-spacing: -.045em; }
.tb-words span { position: absolute; left: 0; bottom: 0; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px hsl(var(--hue) 40% 46% / .30);
  opacity: 0; transform: translateY(40px); transition: opacity .6s ease, transform .9s cubic-bezier(.16, 1, .3, 1); }
.tb-words span.on { opacity: 1; transform: none; }
.tb-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding-top: 84px; }
.tb-eyebrow { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #3B2F42; margin-bottom: 20px; }
.tb h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1.08; letter-spacing: -.02em; color: #1D1420; }
.tb h2 .accent { color: hsl(var(--hue) 44% 44%); transition: color 1s ease; }
.tb-sub { margin: 20px 0 0; font-size: 16px; color: #5E5266; }
.tb-steps { position: relative; height: 96px; margin-top: clamp(28px, 6vh, 64px); }
.tb-step { position: absolute; inset: 0; display: flex; gap: 18px; align-items: flex-start; opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity .45s ease, transform .7s cubic-bezier(.16, 1, .3, 1); }
.tb-step.on { opacity: 1; transform: none; }
.tb-ico { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: hsl(var(--hue) 62% 76%); box-shadow: 0 10px 24px hsl(var(--hue) 50% 50% / .28); }
.tb-ico svg { width: 26px; height: 26px; fill: #2B1F33; }
.tb-num { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: hsl(var(--hue) 44% 42%); margin-bottom: 6px; }
.tb-step h3 { font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; line-height: 1.15; color: #1D1420; }
.tb-step p { margin: 8px 0 0; font-size: 14.5px; color: #6F6276; }
.tb-rail { display: flex; gap: 6px; margin-top: clamp(22px, 5vh, 52px); }
.tb-rail button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; transition: background .4s, scale .3s cubic-bezier(.16, 1, .3, 1); }
.tb-rail svg { width: 21px; height: 21px; fill: #4A3D52; transition: fill .3s; }
.tb-rail button:hover { background: rgba(255, 255, 255, .6); }
.tb-rail button.on { background: hsl(var(--hue) 62% 74%); scale: 1.08; }
.tb-rail button.on svg { fill: #1D1420; }
.tb-art { position: relative; display: grid; place-items: center; perspective: 1500px; perspective-origin: 50% 45%; }
.tb-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; filter: blur(22px);
  background: radial-gradient(circle, hsl(var(--hue) 86% 70% / .55), transparent 66%); animation: ng-breathe 7s ease-in-out infinite alternate; }
.tb-phone { width: min(300px, calc((100vh - 84px - 90px) / 2.165)); transition: none; will-change: transform; transform: rotateY(-9deg) rotateX(3deg); }
/* the screens sit in their own window, so they can drift with the scroll and never spill over the bezel */
.tb-screen { position: absolute; inset: 9px; border-radius: 38px; overflow: hidden; background: #FBF5F9; }
.tb-phone img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; opacity: 0; transition: opacity .55s ease; will-change: transform; }
.tb-phone img.on { opacity: 1; }

@media (max-width: 900px) {
  .tb { height: 460vh; }
  .tb-pin { align-items: start; }
  .tb-grid { grid-template-columns: 1fr; gap: 14px; padding-top: 96px; }
  .tb-eyebrow { margin-bottom: 10px; font-size: 10.5px; }
  .tb h2 { font-size: clamp(28px, 8vw, 40px); }
  .tb-sub { display: none; }
  .tb-steps { height: 82px; margin-top: 18px; }
  .tb-ico { width: 44px; height: 44px; border-radius: 13px; }
  .tb-ico svg { width: 22px; height: 22px; }
  .tb-step { gap: 13px; }
  .tb-step h3 { font-size: 20px; }
  .tb-step p { font-size: 13px; margin-top: 4px; }
  .tb-rail { margin-top: 10px; gap: 2px; }
  .tb-rail button { width: 38px; height: 38px; }
  .tb-phone { width: min(230px, calc((100vh - 96px - 330px) / 2.165)); min-width: 120px; border-radius: 34px; padding: 7px; }
  .tb-screen { inset: 7px; border-radius: 28px; }
  .tb-phone > .glass { inset: 7px; border-radius: 28px; }
  .tb-phone::after { top: 15px; width: 64px; height: 17px; }
  .tb-words { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tb { transition: none; } .tb-glow { animation: none; } }

/* ---------- the slides: full width, pinned, each one covering the last ---------- */
/* measured off the reference: nearly the whole page wide, 52px corners, a deep
   coloured shadow, the phone in a panel on one side and the words on the other */
.run { padding: 20px 0 40px; }
.slide {
  position: sticky; top: 92px; z-index: 1; isolation: isolate;   /* under the page header, never behind it */
  width: calc(100% - 28px); margin: 0 auto 14px; min-height: min(calc(100vh - 104px), 820px);
  border-radius: 52px; overflow: hidden; padding: 44px clamp(28px, 5vw, 76px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center;
  background:
    radial-gradient(900px 560px at 0% 0%, hsl(var(--hue) 80% 88% / .95), transparent 62%),
    radial-gradient(800px 600px at 100% 100%, hsl(calc(var(--hue) + 40) 80% 90% / .9), transparent 60%),
    linear-gradient(135deg, #FFFFFF, #FBF4F9);
  box-shadow: 0 46px 100px hsl(var(--hue) 45% 38% / .30), 0 0 0 1px rgba(255, 255, 255, .7) inset;
  transform-origin: 50% 0; will-change: transform;
}
.slide-right .slide-media { order: 2; }
.slide-right .slide-word { text-align: left; }
.slide-media {
  position: relative; align-self: stretch; min-height: 0; border-radius: 40px; overflow: hidden;
  display: grid; place-items: center; perspective: 1500px; perspective-origin: 50% 42%;
  background:
    radial-gradient(520px 420px at 50% 38%, hsl(var(--hue) 85% 78% / .75), transparent 70%),
    linear-gradient(160deg, hsl(var(--hue) 70% 84%), hsl(calc(var(--hue) + 36) 72% 88%));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 -40px 80px hsl(var(--hue) 60% 60% / .14) inset;
}
.slide-halo {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 66%);
  animation: ng-breathe 7s ease-in-out infinite alternate;
}
.slide-phone { width: min(292px, calc((min(100vh, 924px) - 104px - 88px - 70px) / 2.165)); transition: none; will-change: transform; animation: ng-float 7s ease-in-out infinite; }
.slide-phone > .glass { background-size: 240% 100%; }
.slide-copy { position: relative; max-width: 520px; }
.slide-right .slide-copy { justify-self: end; }
.eyebrow { display: block; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: hsl(var(--hue) 42% 38%); margin-bottom: 22px; }
.slide h3 { font-size: clamp(34px, 4.3vw, 62px); font-weight: 800; line-height: 1.04; letter-spacing: -.025em; color: #1D1420; }
.slide h3 .accent { display: block; color: hsl(var(--hue) 46% 42%); }
.slide p { color: #5E5266; margin-top: 22px; font-size: 17px; line-height: 1.65; max-width: 44ch; }
.slide .pill { margin-top: 32px; }
/* a huge outlined word behind everything, as on the reference */
.slide-word {
  position: absolute; left: 0; right: 0; bottom: -0.16em; z-index: -1; text-align: right; padding: 0 3vw; white-space: nowrap; pointer-events: none; user-select: none;
  font-family: var(--head); font-weight: 800; font-size: clamp(120px, 21vw, 340px); line-height: 1; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px hsl(var(--hue) 45% 45% / .16); will-change: transform;
}

@media (max-width: 900px) {
  .run { padding: 10px 0 24px; }
  .slide { width: calc(100% - 16px); min-height: 0; border-radius: 34px; padding: 30px 22px 22px; grid-template-columns: 1fr; gap: 22px; margin-bottom: 10px; }
  .slide-right .slide-media { order: 0; }
  .slide-copy, .slide-right .slide-copy { order: -1; justify-self: start; }
  .eyebrow { margin-bottom: 14px; font-size: 11px; }
  .slide h3 { font-size: clamp(30px, 8.6vw, 44px); }
  .slide p { font-size: 15px; margin-top: 14px; }
  .slide .pill { display: none; }   /* the header already carries the button on a phone */
  .slide-media { min-height: 0; border-radius: 26px; padding: 22px 0; }
  .slide-phone { width: min(190px, 46vw, calc((100vh - 476px) / 2.165)); min-width: 132px; border-radius: 32px; padding: 6px; }
  .slide-phone img, .slide-phone > .glass { border-radius: 27px; }
  .slide-phone > .glass { inset: 6px; }
  .slide-phone::after { top: 13px; width: 58px; height: 15px; }
  .slide-word { display: none; }   /* no room for it behind the words on a phone */
}
@media (prefers-reduced-motion: reduce) {
  .slide-halo { animation: none; }
}

/* ---------- the two little ghosts, doing whatever the slide is about ---------- */
.slide-toon { width: 236px; margin: 0 0 20px -10px; }
.slide-toon svg { display: block; width: 100%; height: auto; overflow: visible; }
/* only the moving groups get a box-centred origin; anything placed with its own
   transform must keep the drawing's origin, or it lands somewhere else */
.il-a, .il-b, .il-float, .il-pop, .il-blink, .il-wig, .il-ring, .il-hour, .il-min, .il-dot, .il-line, .il-zzz { transform-box: fill-box; transform-origin: 50% 50%; }
.il-a, .il-b { animation: il-bob 2.800s ease-in-out infinite; }
.il-b { animation-delay: -1s; }
.il-float { animation: il-bob 3.400s ease-in-out infinite; }
.il-pop { animation: il-pop 2.400s ease-in-out infinite; }
.il-blink { animation: il-blink 2.200s ease-in-out infinite; }
.il-wig { animation: il-wig 3s ease-in-out infinite; }
.il-ring { transform-origin: 50% 0 !important; animation: il-ring 2.400s ease-in-out infinite; }
.il-hour { transform-origin: 50% 100% !important; animation: il-spin 48s linear infinite; }
.il-min { transform-origin: 50% 100% !important; animation: il-spin 6s linear infinite; }
.il-dot { animation: il-dot 1.200s ease-in-out infinite; }
.il-tick { animation: il-tick 3.200s ease-in-out infinite; }
.il-arc { animation: il-arc 3.600s ease-in-out infinite; }
.il-line { transform-origin: 0 50% !important; animation: il-line 2.600s ease-in-out infinite; }
.il-zzz { animation: il-zzz 2.700s ease-in-out infinite; }
.d1 { animation-delay: -.400s; } .d2 { animation-delay: -.900s; }
@keyframes il-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes il-pop { 0%, 60%, 100% { transform: scale(1); } 20% { transform: scale(1.22); } 40% { transform: scale(.96); } }
@keyframes il-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes il-wig { 0%, 100% { transform: rotate(0) translateY(0); } 50% { transform: rotate(5deg) translateY(-4px); } }
@keyframes il-ring { 0%, 55%, 100% { transform: rotate(0); } 10% { transform: rotate(16deg); } 22% { transform: rotate(-14deg); } 34% { transform: rotate(9deg); } 45% { transform: rotate(-5deg); } }
@keyframes il-spin { to { transform: rotate(360deg); } }
@keyframes il-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .55; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes il-tick { 0%, 40% { stroke: #B9A9B6; } 55%, 100% { stroke: #2D9CDB; } }
@keyframes il-arc { 0% { stroke-dasharray: 0 123; } 55%, 100% { stroke-dasharray: 113 123; } }
@keyframes il-line { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } }
@keyframes il-zzz { 0% { opacity: 0; transform: translate(-4px, 6px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(5px, -8px); } }
@media (max-width: 900px) {
  .slide-toon { position: absolute; right: -6px; top: -26px; width: 112px; margin: 0; }
  .slide .eyebrow { max-width: calc(100% - 112px); }
}
@media (prefers-reduced-motion: reduce) { .slide-toon svg * { animation: none !important; } }

/* gallery */
.gallery { display: flex; gap: 22px; overflow-x: auto; padding: 44px 4px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery > * { flex: 0 0 auto; scroll-snap-align: center; }

/* two-tone */
.twotone { position: relative; background: linear-gradient(180deg, #F3E7EF, #F6DFEB); overflow: hidden; }
.twotone::before {
  content: ""; position: absolute; width: 680px; height: 680px; left: 50%; translate: -50% 0; top: -18%;
  background: radial-gradient(circle, rgba(242,163,184,.5), transparent 64%); filter: blur(16px); pointer-events: none;
}
.twotone .wrap { position: relative; z-index: 1; }
.twotone h2 { font-size: clamp(38px, 7vw, 82px); }
.panel {
  margin-top: 52px; background: var(--card); border-radius: 34px; padding: 54px;
  box-shadow: var(--shadow); display: grid; place-items: center;
}

/* ---------- colour that moves: one number per scene, eased between scenes ---------- */
@property --hue { syntax: "<number>"; inherits: true; initial-value: 330; }
.hero, .twotone { transition: --hue 1.6s ease; }

/* the hero changes scene, as on the reference: slow cross-fade of the whole backdrop */
.hero-scene {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 640px at 82% 18%, hsl(var(--hue) 88% 78% / .62), transparent 66%),
    radial-gradient(760px 560px at 6% 96%, hsl(calc(var(--hue) + 46) 86% 82% / .55), transparent 66%),
    radial-gradient(520px 420px at 46% 52%, hsl(calc(var(--hue) - 30) 90% 88% / .45), transparent 70%);
}
.phone.multi img { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); opacity: 0; transform: scale(1.03); transition: opacity .9s ease, transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.phone.multi img.on { opacity: 1; transform: none; }
button.float { border: 0; font-family: inherit; cursor: pointer; transition: box-shadow .25s, scale .25s cubic-bezier(.16, 1, .3, 1); }
button.float:hover { scale: 1.06; box-shadow: 0 22px 50px hsl(var(--hue) 50% 40% / .28), 0 0 0 1px rgba(255,255,255,.7) inset; }
button.float:active { scale: .97; }
.pager {
  position: absolute; left: clamp(16px, 4vw, 48px); bottom: 28px; z-index: 2; display: flex; align-items: center; gap: 4px;
  padding: 5px; border-radius: 100px; background: rgba(255, 255, 255, .62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(29, 20, 32, .10), 0 0 0 1px rgba(255, 255, 255, .7) inset;
}
.pager button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font: 600 12px/1 var(--head); cursor: pointer; transition: background .3s, color .3s; }
.pager button:hover { color: var(--text); }
.pager button.on { background: #29242E; color: #fff; }
.pager .pause span { display: block; width: 10px; height: 12px; margin: 0 auto; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.pager .pause.is-paused span { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; translate: 2px 0; }

/* ---------- the phone you can use ---------- */
.twotone { background: linear-gradient(180deg, #FBF4F9, #F6ECF3); }
.twotone::before { display: none; }
.tt-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tt-bg i { position: absolute; border-radius: 50%; filter: blur(30px); }
.tt-bg i:nth-child(1) { width: 720px; height: 720px; left: 50%; top: 22%; translate: -50% 0; background: radial-gradient(circle, hsl(var(--hue) 90% 74% / .60), transparent 66%); animation: ng-breathe 8s ease-in-out infinite alternate; }
.tt-bg i:nth-child(2) { width: 520px; height: 520px; left: -8%; bottom: -12%; background: radial-gradient(circle, hsl(calc(var(--hue) + 50) 88% 78% / .50), transparent 66%); }
.tt-bg i:nth-child(3) { width: 480px; height: 480px; right: -6%; top: 4%; background: radial-gradient(circle, hsl(calc(var(--hue) - 40) 88% 80% / .48), transparent 66%); }
.twotone .accent { color: hsl(var(--hue) 46% 40%); }
.try-hint { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; padding: 9px 16px; border-radius: 100px; font-size: 13px; font-weight: 700; color: hsl(var(--hue) 44% 34%); background: rgba(255, 255, 255, .7); box-shadow: 0 6px 20px rgba(29, 20, 32, .07); }
.try-dot { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--hue) 70% 52%); animation: ng-ping 1.6s ease-out infinite; }
@keyframes ng-ping { 0% { box-shadow: 0 0 0 0 hsl(var(--hue) 70% 52% / .55); } 100% { box-shadow: 0 0 0 12px hsl(var(--hue) 70% 52% / 0); } }
.twotone .panel { position: relative; background: rgba(255, 255, 255, .55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .8); }
/* a match lights the whole panel, the way the edge of the app does */
.twotone .panel::before {
  content: ""; position: absolute; inset: -3px; border-radius: 37px; padding: 3px; pointer-events: none; opacity: 0;
  background: conic-gradient(from 0deg, #FF4D8D, #FFC53D, #FFFFFF, #7C5CFF, #2DD4BF, #FF4D8D);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  filter: drop-shadow(0 0 18px #FF4D8D);
}
.twotone.burst .panel::before { animation: ng-ring 2.4s ease-out; }
.twotone.burst-gold .panel::before { background: conic-gradient(from 0deg, #FFC53D, #FFF1B8, #FFC53D, #FFF1B8, #FFC53D); filter: drop-shadow(0 0 16px #FFC53D); animation: ng-ring 1.4s ease-out; }
.twotone.burst .tt-bg i:nth-child(1) { animation: ng-flash 2.4s ease-out; }
@keyframes ng-ring { 0% { opacity: 0; rotate: 0deg; } 12% { opacity: 1; } 30% { opacity: .55; } 45% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ng-flash { 0% { scale: 1; } 20% { scale: 1.35; filter: blur(30px) saturate(1.8) brightness(1.15); } 100% { scale: 1; } }

/* Flat and still on purpose: browsers lose taps on buttons inside a phone that
   is tilted in 3D and bobbing, and this one is for touching. */
.panel .phone.live { width: 318px; transform: none; transform-style: flat; animation: none; }
/* Everything below copies the app's own screens: its colours, cards, pills and tab bar. */
.app { --p: #67295F; --g: linear-gradient(135deg, #67295F, #B13A8E); --bg: #FAF3F8; --cd: #F1E5ED; --tx: #1D1420; --t2: #6F6276;
  position: absolute; inset: 9px; border-radius: 38px; overflow: hidden; background: var(--bg); color: var(--tx); text-align: left; font: 500 11.5px/1.35 "DM Sans", system-ui, sans-serif; }
.app button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; text-align: left; }
.app img { width: auto; height: auto; background: none; border-radius: 0; object-fit: cover; }
.app b { font-weight: 800; } .app small { display: block; font-size: 10px; color: var(--t2); font-weight: 500; }
.app .i { width: 14px; height: 14px; fill: currentColor; flex: none; }
.app .i.ok { fill: #16A34A; }
.a-status { position: absolute; inset: 0 0 auto 0; height: 40px; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 6px 22px 0 26px; font-size: 11.5px; pointer-events: none; }
.a-status span { display: flex; align-items: flex-end; gap: 2px; }
.a-status i { width: 3px; background: var(--tx); border-radius: 1px; } .a-status i:nth-child(1) { height: 4px; } .a-status i:nth-child(2) { height: 6px; } .a-status i:nth-child(3) { height: 8px; } .a-status i:nth-child(4) { height: 10px; }
.a-status em { width: 20px; height: 10px; margin-left: 4px; border-radius: 3px; background: var(--tx); }
.scr { position: absolute; inset: 44px 0 58px; padding: 4px 13px 8px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; opacity: 0; pointer-events: none; transform: translateX(14px); transition: opacity .3s ease, transform .45s cubic-bezier(.16, 1, .3, 1); }
.scr.on { opacity: 1; pointer-events: auto; transform: none; }
.app.deep .scr { bottom: 0; padding-bottom: 12px; }
.app-nav { position: absolute; inset: auto 0 0 0; height: 58px; padding: 0 8px 8px; display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; background: var(--bg); border-top: 1px solid #EDE0E9; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.app.deep .app-nav { transform: translateY(100%); }
.app-nav button { height: 40px; display: grid; place-items: center; border-radius: 14px; transition: background .3s; }
.app-nav .i { width: 20px; height: 20px; fill: #7B6E84; transition: fill .3s, scale .3s cubic-bezier(.16, 1, .3, 1); }
.app-nav button.on { background: #F1E1EC; } .app-nav button.on .i { fill: var(--p); scale: 1.12; }
.a-card { background: var(--cd); border-radius: 16px; padding: 10px 12px; }
.a-title { display: flex; align-items: center; gap: 7px; padding: 2px 0 2px; } .a-title b { font: 800 19px/1.1 var(--head); letter-spacing: -.02em; }
.a-mark { width: 24px; height: 24px; }
.a-sec { font-size: 9.500px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--t2); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.a-sec i { font-style: normal; background: var(--p); color: #fff; border-radius: 10px; padding: 1px 6px; letter-spacing: 0; }
.a-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--cd) !important; color: var(--p) !important; } .a-ico.end { margin-left: auto; }
.a-back { width: 26px; height: 30px; display: grid; place-items: center; } .a-back .i { width: 18px; height: 18px; }
.a-toast { position: absolute; left: 12px; right: 12px; bottom: 66px; z-index: 4; padding: 9px 12px; border-radius: 12px; background: #2B2230; color: #fff; font-size: 10.500px; font-weight: 600; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .4s cubic-bezier(.16, 1, .3, 1); }
.a-toast.on { opacity: 1; transform: none; }
.app.deep .a-toast { bottom: 74px; }

/* Discover */
.a-top { display: flex; align-items: center; justify-content: space-between; }
.a-word { font: 800 16px/1 var(--head); letter-spacing: -.02em; background: var(--g); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a-chips { display: flex; gap: 5px; } .a-chip { font-style: normal; display: inline-flex; align-items: center; gap: 3px; padding: 4px 8px; border-radius: 100px; font-size: 10px; font-weight: 800; background: #FBE7C8; color: #A35A00; }
.a-chip + .a-chip { background: #EADBE6; color: var(--p); } .a-chip .i { width: 11px; height: 11px; }
.a-chip.bump { animation: ng-bump .6s cubic-bezier(.16, 1, .3, 1); }
@keyframes ng-bump { 0% { scale: 1; } 40% { scale: 1.28; background: #FFE9A8; } 100% { scale: 1; } }
.a-name { display: flex; align-items: center; gap: 6px; } .a-name b { font: 700 21px/1.1 Georgia, "Times New Roman", serif; }
.a-tags { display: flex; gap: 5px; flex-wrap: wrap; } .a-tags span { display: inline-flex; align-items: center; gap: 3px; padding: 4px 8px; border-radius: 100px; font-size: 9.500px; font-weight: 800; }
.a-tags .i { width: 10px; height: 10px; } .t-ok { background: #DCFCE7; color: #15803D; } .t-warm { background: #FDEBC8; color: #A35A00; } .t-line { box-shadow: 0 0 0 1.5px #D8C2D3 inset; color: var(--p); }
.d-card { position: relative; flex: 1; min-height: 0; border-radius: 20px; overflow: hidden; background: #EADBE6; }
.d-card > img { width: 100%; height: 100%; display: block; }
.d-card.nope { animation: ng-nope .5s ease; }
@keyframes ng-nope { 30% { transform: translateX(-12px) rotate(-3deg); opacity: .6; } 60% { transform: translateX(8px) rotate(1.5deg); } }
.d-score { position: absolute; left: 10px; top: 10px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #2B2230; color: #fff; font-weight: 800; font-size: 11px; box-shadow: 0 0 0 3px #22C55E; }
.d-heart { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%; background: #fff !important; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(29, 20, 32, .22); animation: ng-beat 1.8s ease-in-out infinite; transition: scale .2s cubic-bezier(.16, 1, .3, 1); }
.d-heart .i { width: 19px; height: 19px; fill: #B13A8E; } .d-heart:hover { scale: 1.12; } .d-heart:active { scale: .9; }
@keyframes ng-beat { 0%, 100% { box-shadow: 0 6px 16px rgba(29, 20, 32, .22), 0 0 0 0 rgba(177, 58, 142, .5); } 60% { box-shadow: 0 6px 16px rgba(29, 20, 32, .22), 0 0 0 12px rgba(177, 58, 142, 0); } }
.d-how { background: #fff; padding: 9px 12px 10px; } .d-how > b { display: block; font-size: 12.500px; margin: 1px 0 5px; }
.d-row { display: flex; align-items: center; gap: 7px; font-size: 10.500px; color: var(--t2); padding: 2px 44px 2px 42px; } .d-row em { font-style: normal; font-weight: 800; color: #16A34A; margin-left: auto; } .d-row .i { width: 12px; height: 12px; fill: #16A34A; }
.d-fab { position: absolute; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; background: #fff !important; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(29, 20, 32, .18), 0 0 0 1.5px #2B2230 inset; transition: scale .2s cubic-bezier(.16, 1, .3, 1); }
.d-fab:hover { scale: 1.1; } .d-fab:active { scale: .9; } .d-fab .i { width: 17px; height: 17px; }
.d-no { left: 18px; } .d-star { right: 18px; box-shadow: 0 6px 16px rgba(29, 20, 32, .18), 0 0 0 1.5px #3B82F6 inset; } .d-star .i { fill: #3B82F6; }

/* Chats */
.a-games { display: flex !important; align-items: center; gap: 10px; padding: 11px 12px !important; border-radius: 18px; background: var(--g) !important; color: #fff !important; transition: scale .2s; }
.a-games:active { scale: .97; } .a-games > .i { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.a-games span { flex: 1; } .a-games b { display: block; font-size: 13.500px; } .a-games small { color: rgba(255, 255, 255, .8); } .a-games em { font-style: normal; font-size: 18px; }
.a-tile { display: flex !important; align-items: center; gap: 10px; padding: 10px !important; border-radius: 18px; box-shadow: 0 0 0 1.5px #DCC8D7 inset; transition: scale .2s, background .2s; }
.a-tile:hover { background: #fff; } .a-tile:active { scale: .97; } .a-tile.dim { opacity: .6; }
.a-tile img { width: 42px; height: 42px; border-radius: 50%; } .a-tile span { flex: 1; min-width: 0; } .a-tile b { display: block; font-size: 13px; } .a-tile small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; color: var(--tx); }
.a-left { font-style: normal; display: inline-flex; align-items: center; gap: 3px; font-size: 9.500px; font-weight: 800; padding: 4px 7px; border-radius: 100px; background: #DCFCE7; color: #15803D; } .a-left .i { width: 10px; height: 10px; } .a-left.quiet { background: var(--cd); color: var(--t2); }

/* Chat */
.c-head { display: flex; align-items: center; gap: 7px; } .c-head img { width: 30px; height: 30px; border-radius: 50%; } .c-head div { flex: 1; min-width: 0; }
.c-head b { display: block; font: 800 14px/1.2 var(--head); } .c-head div > span { font-size: 10px; color: var(--t2); }
.c-read { display: flex; align-items: center; gap: 5px; font-size: 9.500px; font-weight: 700; color: #0F766E; } .c-read .i { width: 11px; height: 11px; fill: #0F766E; }
.c-stand { background: #fff; padding: 9px 11px; } .c-stand b { font-size: 11.500px; } .c-stand div { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.c-stand button { padding: 5px 9px !important; border-radius: 100px; background: var(--cd) !important; font-size: 10px; font-weight: 800; transition: scale .2s, background .2s; } .c-stand button:hover { background: #E7D3E1 !important; scale: 1.04; }
.c-stand.set { background: #DCFCE7; } .c-stand.set div { display: none; } .c-stand.set small { color: #15803D; font-weight: 700; }
.c-plan { display: flex !important; align-items: center; gap: 6px; padding: 8px 11px !important; border-radius: 14px; background: var(--g) !important; color: #fff !important; font-size: 11px; transition: scale .2s; } .c-plan:active { scale: .97; }
.c-plan span { margin-left: auto; font-size: 9.500px; opacity: .85; }
.c-log { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.b { max-width: 84%; padding: 7px 10px; border-radius: 15px; font-size: 11.500px; animation: ng-pop .4s cubic-bezier(.16, 1, .3, 1); }
.b i { display: block; font-style: normal; font-size: 8.500px; opacity: .6; text-align: right; margin-top: 1px; }
.b.them { align-self: flex-start; background: var(--cd); border-bottom-left-radius: 5px; }
.b.me { align-self: flex-end; color: #fff; background: var(--g); border-bottom-right-radius: 5px; }
.b.sys { align-self: center; max-width: 100%; background: none; color: var(--t2); font-size: 10px; font-weight: 700; padding: 2px 0; text-align: center; }
.b.typing { letter-spacing: 2px; color: #A99CAF; animation: ng-pop .4s cubic-bezier(.16, 1, .3, 1), ng-blink 1s ease-in-out infinite; }
@keyframes ng-pop { 0% { opacity: 0; transform: translateY(8px) scale(.94); } }
@keyframes ng-blink { 50% { opacity: .45; } }
.c-chips { display: grid; gap: 5px; max-height: 80px; transition: opacity .3s, max-height .4s; }
.c-chips.gone, .p-pair.gone { opacity: 0; max-height: 0; pointer-events: none; overflow: hidden; }
.c-chips button { padding: 7px 11px !important; border-radius: 13px; background: #fff !important; color: var(--p) !important; font-size: 10.500px; font-weight: 700; box-shadow: 0 0 0 1.5px #E7D3E1 inset; }
.c-bar { display: flex; align-items: center; gap: 6px; }
.c-ai, .c-send { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--cd) !important; color: #6D4BD8 !important; transition: scale .2s; } .c-send { color: var(--p) !important; } .c-ai:active, .c-send:active { scale: .9; }
.c-bar input { flex: 1; min-width: 0; height: 32px; border: 0; outline: 0; border-radius: 100px; padding: 0 13px; background: var(--cd); font: inherit; color: var(--tx); }
.c-bar input::placeholder { color: #9A8DA1; }
/* phones zoom the whole page when a field with small text is tapped; 16px stops that */
@media (pointer: coarse) { .c-bar input { font-size: 16px; } }
.c-close { align-self: center; font-size: 9.500px; font-weight: 700; color: var(--t2) !important; }

/* Ghost Games */
.c-head.plain div b { font-size: 15px; } .g-sub { margin: 0; font-size: 10.500px; color: var(--t2); }
.g-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.g-grid button { padding: 10px !important; border-radius: 16px; background: #fff !important; box-shadow: 0 5px 12px rgba(29, 20, 32, .07); transition: scale .2s cubic-bezier(.16, 1, .3, 1); } .g-grid button:hover { scale: 1.03; } .g-grid button:active { scale: .95; }
.g-grid i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--cd); color: var(--p); margin-bottom: 14px; } .g-grid b { display: block; font-size: 11.500px; }
.g-played { display: flex; align-items: center; gap: 7px; padding: 9px 11px; border-radius: 14px; background: #fff; font-size: 10.500px; } .g-played .i { fill: var(--p); } .g-played span { margin-left: auto; color: var(--t2); font-size: 9.500px; }
.p-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; } .p-bar i { height: 4px; border-radius: 4px; background: #D9BFD4; transition: background .3s; } .p-bar i.on { background: var(--p); }
.p-step { font-size: 10.500px; font-weight: 800; color: var(--t2); }
.p-pair { flex: 1; min-height: 0; display: grid; grid-template-rows: 1fr auto 1fr; gap: 6px; max-height: 600px; transition: opacity .3s, max-height .4s; }
.p-pair button { border-radius: 22px; background: #fff !important; display: grid !important; place-items: center; font: 800 17px/1.2 var(--head) !important; box-shadow: 0 4px 0 #E9DDE6; transition: scale .2s cubic-bezier(.16, 1, .3, 1), background .2s; }
.p-pair button:hover { scale: 1.02; background: #FDF7FB !important; } .p-pair button:active { scale: .96; }
.p-pair span { text-align: center; font-size: 10px; font-weight: 800; color: var(--t2); }
.p-res { display: none; gap: 6px; } .p-res.on { display: grid; }
.p-row { padding: 9px 11px; border-radius: 12px; background: var(--cd); font-size: 11px; font-weight: 700; color: var(--t2); animation: ng-pop .4s cubic-bezier(.16, 1, .3, 1); } .p-row.hit { background: #DCFCE7; color: #15803D; }
.p-hint { margin: auto 0 0; text-align: center; font-size: 10.500px; font-weight: 700; color: var(--t2); }

/* Trust, profile, rewards */
.t-hero { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: var(--g); color: #fff; box-shadow: 0 5px 0 #D6BFD0; }
.t-ring { --v: 82; width: 66px; height: 66px; border-radius: 50%; flex: none; display: grid; place-items: center; align-content: center; background: radial-gradient(circle, #7A2F6E 58%, transparent 60%), conic-gradient(#fff calc(var(--v) * 1%), rgba(255, 255, 255, .28) 0); }
.t-ring b { font: 800 22px/1 var(--head); } .t-ring small { color: rgba(255, 255, 255, .8); font-size: 8.500px; }
.t-hero > div:last-child b { display: block; font: 800 15px/1.2 var(--head); } .t-hero small { color: rgba(255, 255, 255, .88); margin-top: 5px; }
.t-pill { display: inline-block; margin-top: 4px; padding: 3px 8px; border-radius: 100px; font-size: 9.500px; font-weight: 800; background: rgba(43, 34, 48, .55); }
.t-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; } .t-stats.three { grid-template-columns: repeat(3, 1fr); }
.t-stats div { background: var(--cd); border-radius: 14px; padding: 9px 11px; } .t-stats b { font: 800 15px/1.1 var(--head); }
.t-bars { display: grid; gap: 9px; } .t-bars div { display: grid; gap: 4px; } .t-bars span { font-size: 10.500px; font-weight: 800; }
.t-bars i { display: block; height: 5px; border-radius: 5px; background: linear-gradient(90deg, #22C55E var(--w), #DDD0DA 0); }
.pf-card { position: relative; flex: 1; min-height: 0; border-radius: 20px; overflow: hidden; background: #EADBE6; }
.pf-card > img { width: 100%; height: 100%; display: block; }
.pf-card > div { position: absolute; inset: auto 0 0 0; padding: 30px 12px 10px; color: #fff; background: linear-gradient(180deg, transparent, rgba(29, 20, 32, .8)); } .pf-card b { font: 800 18px/1.1 var(--head); } .pf-card small { color: rgba(255, 255, 255, .9); }
.pf-new { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 3px; padding: 4px 8px; border-radius: 100px; background: var(--p); color: #fff; font-size: 9.500px; font-weight: 800; } .pf-new .i { width: 10px; height: 10px; }
.pf-card em { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 11px; color: #fff; background: #2B2230; box-shadow: 0 0 0 2.5px #B13A8E; }
.pf-about b { display: block; font: 600 12px/1.35 Georgia, serif; margin-top: 3px; } .pf-good { display: flex; gap: 9px; align-items: center; } .pf-good .i { width: 22px; height: 22px; }
.r-hero { padding: 14px; border-radius: 18px; background: var(--g); color: #fff; box-shadow: 0 5px 0 #D6BFD0; position: relative; } .r-hero small { color: rgba(255, 255, 255, .85); }
.r-hero > b { display: block; font: 800 38px/1.05 var(--head); letter-spacing: -.02em; } .r-hero span { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 3px; padding: 4px 8px; border-radius: 100px; background: rgba(43, 34, 48, .5); font-size: 9.500px; font-weight: 800; } .r-hero .i { width: 10px; height: 10px; }
.r-list { padding: 4px 10px; } .r-list > div { display: flex; align-items: center; gap: 9px; padding: 7px 0; } .r-list > div + div { border-top: 1px solid #E5D5E0; }
.r-list .i { width: 26px; height: 26px; padding: 6px; border-radius: 8px; background: #E5D3E0; fill: var(--p); } .r-list span { flex: 1; } .r-list b { display: block; font-size: 11px; } .r-list em { font-style: normal; font-weight: 800; color: #16A34A; font-size: 11px; }
.r-spots { display: flex !important; align-items: center; gap: 8px; padding: 11px 12px !important; border-radius: 16px; background: var(--g) !important; color: #fff !important; font-size: 12.500px; } .r-spots em { margin-left: auto; font-style: normal; font-size: 16px; }

/* Live */
.l-title { display: flex; align-items: center; gap: 7px; } .l-title b { font: 800 16px/1.2 var(--head); flex: 1; }
.l-live { font-size: 9px; font-weight: 800; letter-spacing: .08em; padding: 4px 7px; border-radius: 100px; color: #fff; background: #EF4444; animation: ng-blink 1.6s ease-in-out infinite; }
.l-dates { padding: 5px 9px !important; border-radius: 100px; font-size: 9.500px; font-weight: 800; background: #E9D5E4 !important; box-shadow: 0 0 0 1.5px var(--p) inset; color: var(--p) !important; }
.l-range { display: flex; gap: 5px; } .l-range button { padding: 5px 10px !important; border-radius: 100px; font-size: 10px; font-weight: 800; background: #fff !important; transition: background .25s, color .25s; } .l-range button.on { background: var(--p) !important; color: #fff !important; }
.l-list { display: grid; gap: 7px; }
.l-row { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 4px 12px rgba(29, 20, 32, .06); max-height: 70px; transition: opacity .3s, max-height .4s, padding .4s; overflow: hidden; }
.l-row.gone { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: -7px; }
.l-row img { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 2px #EF4444; } .l-row div { flex: 1; min-width: 0; } .l-row b { display: block; font-size: 12px; } .l-row span { font-size: 10px; color: var(--t2); }
.l-row button { padding: 7px 10px !important; border-radius: 100px; font-size: 10px; font-weight: 800; color: #fff !important; background: #29242E !important; white-space: nowrap; transition: scale .2s, background .3s; } .l-row button:hover { scale: 1.06; } .l-row button:disabled { background: #16A34A !important; cursor: default; scale: 1; }
.l-note { margin: 0; font-size: 10px; color: var(--t2); }

.app-match { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; text-align: center; padding: 24px; color: #fff; background: linear-gradient(160deg, rgba(103, 41, 95, .96), rgba(177, 58, 142, .96)); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.app-match.on { opacity: 1; pointer-events: auto; }
.app-match b { display: block; font: 800 30px/1.05 var(--head); letter-spacing: -.02em; }
.app-match span { display: block; margin-top: 10px; font-size: 12.5px; opacity: .92; }
.app-match.on b { animation: ng-pop .6s cubic-bezier(.16, 1, .3, 1); }

@media (max-width: 900px) {
  .pager { position: relative; left: auto; bottom: auto; width: max-content; margin: 26px auto 0; }
  .twotone .panel { padding: 30px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero, .twotone { transition: none; }
  .d-yes, .try-dot, .l-live { animation: none; }
}

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; }
details {
  border: 1px solid var(--line); border-radius: 16px; background: var(--card);
  margin-bottom: 10px; overflow: hidden;
}
summary {
  list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; font-size: 15px; font-family: var(--head);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; font-size: 22px; font-weight: 400; color: var(--plum); line-height: 1;
  transition: transform .22s ease;
}
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 22px 22px; color: var(--muted); max-width: 70ch; }

/* closing block */
.close-block { background: #67295F; color: #fff; text-align: center; padding: 128px 0; overflow: hidden; }
.close-block::before {
  content: ""; position: absolute; inset: -12%; pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(242,163,184,.30), transparent 62%);
  animation: ng-breathe 26s ease-in-out infinite alternate;
}
.close-block .wrap { position: relative; z-index: 1; }
:root[data-theme="dark"] .close-block, html:not([data-theme="light"]) .close-block { background: #4E1F48; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero { background: linear-gradient(170deg, #241A2B 0%, #1A1522 46%, var(--page) 100%); }
  :root:not([data-theme="light"]) .hero::before { background: radial-gradient(circle, rgba(197,143,190,.26), transparent 66%); }
  :root:not([data-theme="light"]) .hero::after { background: radial-gradient(circle, rgba(179,127,172,.2), transparent 66%); }
  :root:not([data-theme="light"]) .problem,
  :root:not([data-theme="light"]) .run { background: linear-gradient(180deg, var(--page), #1A1522 50%, var(--page)); }
  :root:not([data-theme="light"]) .twotone { background: linear-gradient(180deg, #1A1522, #241A2B); }
  :root:not([data-theme="light"]) .twotone::before { background: radial-gradient(circle, rgba(197,143,190,.22), transparent 64%); }
}
.close-block h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.close-block .kicker { color: rgba(255,255,255,.72); }
.close-block .pill { margin-top: 34px; }

/* footer */
footer { padding: 64px 0 48px; border-top: 1px solid var(--line); }
.foot { display: flex; gap: 48px; flex-wrap: wrap; }
.foot-brand { min-width: 240px; }
.foot-brand p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col b { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.foot-col a { color: var(--text); text-decoration: none; font-size: 15px; }
.foot-col a:hover { color: var(--plum); }
.copy { margin-top: 44px; color: var(--muted); font-size: 14px; }

/* ---------- motion ---------- */
.js .rise { opacity: 0; translate: 0 25px; transition: opacity .8s ease, translate 1s cubic-bezier(.16, 1, .3, 1); }
.js .rise.in { opacity: 1; translate: 0; }
.rise.d1 { transition-delay: .08s; } .rise.d2 { transition-delay: .16s; } .rise.d3 { transition-delay: .24s; }
.drift { will-change: transform; }
/* lifted from the reference: a slow breath, and a drift with a little rotation */
@keyframes ng-float { 0%, 100% { translate: 0 -5px; } 50% { translate: 0 7px; } }
@keyframes ng-drift { 0%, 100% { translate: 0 0; rotate: -2.5deg; } 50% { translate: 0 -6px; rotate: 2.5deg; } }
@keyframes ng-breathe { 0% { translate: 0 0; scale: 1.02; } 100% { translate: 0 -10px; scale: 1.07; } }
.bob  { animation: ng-drift 8s ease-in-out infinite; }
.bob2 { animation: ng-drift 9.5s ease-in-out infinite reverse; }
.stage .phone { animation: ng-float 6s ease-in-out infinite; }
.feature-art .phone { animation: ng-float 7s ease-in-out infinite; }
.panel .phone { animation: ng-float 6.5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .phone, .gallery .phone { transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .bob, .bob2, .phone, .close-block::before { animation: none !important; }
  .drift { transform: none !important; }
}


/* The travelling phone is the one you use. At rest it stands straight and the working app wakes up inside it. */
.fly-app { position: absolute; inset: 9px; border-radius: 38px; z-index: 3; opacity: 0; pointer-events: none; transition: opacity .4s ease; overflow: hidden; }
.fly-app .app { position: absolute; inset: 0; width: auto; height: auto; }
.fly.dock { pointer-events: auto; }
.fly.dock .fly-app { opacity: 1; pointer-events: auto; }
.fly.dock .fly-bob { animation-play-state: paused; }
.fly.dock .fly-phone { cursor: default; }

/* Slides come in from the left, then the right, and still stack on top of each other. */
.js .slide { transition: translate 1.1s cubic-bezier(.16, 1, .3, 1), opacity .7s ease; }
.js .slide:not(.seen) { opacity: 0; }
.js .slide.slide-left:not(.seen) { translate: -14vw 0; }
.js .slide.slide-right:not(.seen) { translate: 14vw 0; }
@media (prefers-reduced-motion: reduce) { .js .slide, .js .slide:not(.seen) { translate: 0 0 !important; opacity: 1 !important; transition: none !important; } }


/* The tour is a pile of big cards, one per step, each the size of the whole section.
   No two in a row arrive the same way: left, right, up from below, zoom, down from above, swing, flip. */
.tb-cards { position: absolute; inset: 76px 18px 18px; z-index: 0; perspective: 1600px; pointer-events: none; }
.tb-cards i { position: absolute; inset: 0; border-radius: 40px; opacity: 0; will-change: transform, opacity;
  background: radial-gradient(900px 620px at 82% 30%, hsl(var(--h) 92% 86% / .95), transparent 62%), linear-gradient(140deg, hsl(var(--h) 100% 98%), hsl(var(--h) 86% 93%));
  border: 1px solid hsl(var(--h) 60% 86%); box-shadow: 0 30px 80px rgba(29, 20, 32, .14);
  transition: transform 1.05s cubic-bezier(.16, 1, .3, 1), opacity .55s ease, filter .6s ease; }
.tb-cards i:nth-child(7n+1):not(.on):not(.past) { transform: translateX(-108%) rotate(-4deg); }
.tb-cards i:nth-child(7n+2):not(.on):not(.past) { transform: translateX(108%) rotate(4deg); }
.tb-cards i:nth-child(7n+3):not(.on):not(.past) { transform: translateY(108%); }
.tb-cards i:nth-child(7n+4):not(.on):not(.past) { transform: scale(.55); }
.tb-cards i:nth-child(7n+5):not(.on):not(.past) { transform: translateY(-108%); }
.tb-cards i:nth-child(7n+6):not(.on):not(.past) { transform: translate(-70%, 60%) rotate(-18deg); }
.tb-cards i:nth-child(7n):not(.on):not(.past) { transform: rotateX(-78deg) translateY(30%); transform-origin: 50% 100%; }
.tb-cards i.on { opacity: 1; transform: none; z-index: 6; }
.tb-cards i.past { opacity: 1; z-index: calc(6 - var(--d, 1)); filter: brightness(calc(1 - var(--d, 1) * .035));
  transform: translateY(calc(var(--d, 1) * -12px)) scale(calc(1 - var(--d, 1) * .028)); }
/* the words for each step ride in with their card, large, with no little box around them */
.tb-steps { height: clamp(120px, 20vh, 170px); margin-top: clamp(26px, 5vh, 56px); }
.tb-step { align-items: flex-start; opacity: 0; transition: transform .95s cubic-bezier(.16, 1, .3, 1), opacity .5s ease; }
.tb-step h3 { font-size: clamp(28px, 3.3vw, 46px); font-weight: 800; line-height: 1.08; }
.tb-step p { font-size: clamp(15px, 1.25vw, 18px); margin-top: 10px; }
.tb-step:nth-child(7n+1):not(.on) { transform: translateX(-90px); }
.tb-step:nth-child(7n+2):not(.on) { transform: translateX(90px); }
.tb-step:nth-child(7n+3):not(.on) { transform: translateY(70px); }
.tb-step:nth-child(7n+4):not(.on) { transform: scale(.7); transform-origin: 0 50%; }
.tb-step:nth-child(7n+5):not(.on) { transform: translateY(-70px); }
.tb-step:nth-child(7n+6):not(.on) { transform: translate(-60px, 50px) rotate(-6deg); }
.tb-step:nth-child(7n):not(.on) { transform: translateY(40px) scale(1.08); }
.tb-step.on { opacity: 1; transform: none; }
.tb-step.past { opacity: 0; }
@media (max-width: 900px) {
  .tb-cards { inset: 70px 8px 8px; }
  .tb-cards i { border-radius: 28px; }
  .tb-steps { height: 104px; margin-top: 18px; }
  .tb-step h3 { font-size: 22px; } .tb-step p { font-size: 13.5px; margin-top: 5px; }
}
@media (prefers-reduced-motion: reduce) { .tb-cards i, .tb-step { transition: opacity .2s ease; transform: none !important; } .tb-step.past { opacity: 0; } }


/* ---- Fun while you scroll ---- */
/* a score that climbs as you read */
.tscore { position: fixed; left: 18px; bottom: 18px; z-index: 60; display: grid; grid-template-columns: 54px auto; align-items: center; column-gap: 10px;
  padding: 7px 16px 7px 7px; border-radius: 40px; background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(29, 20, 32, .07); box-shadow: 0 12px 34px rgba(29, 20, 32, .14); opacity: 0; translate: 0 24px; pointer-events: none;
  transition: opacity .5s ease, translate .7s cubic-bezier(.16, 1, .3, 1), scale .5s cubic-bezier(.34, 1.56, .64, 1); }
.tscore.on { opacity: 1; translate: 0 0; }
.tscore svg { grid-area: 1 / 1; width: 54px; height: 54px; rotate: -90deg; }
.tscore circle { fill: none; stroke: #EADBE6; stroke-width: 5; }
.tscore .fg { stroke: #B13A8E; stroke-linecap: round; transition: stroke-dashoffset .35s ease, stroke .4s ease; }
.tscore b { grid-area: 1 / 1; justify-self: center; font: 800 15px/1 var(--head); color: #1D1420; }
.tscore span { font: 700 13px/1.2 var(--head); color: #6F6276; white-space: nowrap; }
.tscore.win { scale: 1.08; }
.tscore.win .fg { stroke: #16A34A; }
.tscore.win span { color: #15803D; }
@media (max-width: 700px) { .tscore { left: 10px; bottom: 10px; grid-template-columns: 44px auto; padding: 5px 12px 5px 5px; } .tscore svg { width: 44px; height: 44px; } .tscore b { font-size: 13px; } .tscore span { font-size: 12px; } }
/* hearts where you tap */
.pop-heart { position: fixed; z-index: 70; width: 18px; height: 18px; margin: -9px 0 0 -9px; pointer-events: none; opacity: 0;
  background: #F24BB8; clip-path: path("M9 16 C3 11 0 8 0 4.800 C0 2 2.200 0 4.700 0 C6.400 0 8 1 9 2.600 C10 1 11.600 0 13.300 0 C15.800 0 18 2 18 4.800 C18 8 15 11 9 16 Z");
  animation: pop-heart 1.05s cubic-bezier(.16, 1, .3, 1) forwards; }
.pop-heart:nth-of-type(3n) { background: #B13A8E; } .pop-heart:nth-of-type(4n) { background: #FFB3D9; }
@keyframes pop-heart {
  0% { opacity: 0; transform: translate(0, 0) scale(.2) rotate(0deg); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(var(--s)) rotate(var(--r)); }
}
/* the big outlined words lean with your scroll speed */
/* (the big words lean with scroll speed: set directly by the script, element by element) */
/* a soft light follows the pointer across each slide, and the words lean toward it */
.slide .spot { position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .5s ease;
  background: radial-gradient(340px 340px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .30), transparent 70%); }
.slide:hover .spot { opacity: 1; }
.slide .slide-copy { translate: var(--tx, 0px) var(--ty, 0px); transition: translate .5s cubic-bezier(.16, 1, .3, 1); }


/* The second section has its own place for the phone: it flies down from the hero and settles beside the words. */
.why-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.why-art { position: relative; display: grid; place-items: center; min-height: clamp(520px, 74vh, 700px); }
.why-art .phone { width: clamp(230px, 22vw, 300px); }
.why-halo { position: absolute; width: min(460px, 90%); aspect-ratio: 1; border-radius: 50%; filter: blur(46px); opacity: .7;
  background: radial-gradient(circle, rgba(242, 75, 184, .34), rgba(103, 41, 95, .10) 62%, transparent 72%); }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 10px; }
  .why-art { min-height: 480px; }
  .why-art .phone { width: 220px; }
}


/* Three big cards now, not seven: a shorter section, and each card sweeps in from a side. */
.tb { height: 330vh; }
.tb-cards i:nth-child(odd):not(.on):not(.past) { transform: translateX(-112%) rotate(-5deg); transform-origin: 50% 50%; }
.tb-cards i:nth-child(even):not(.on):not(.past) { transform: translateX(112%) rotate(5deg); transform-origin: 50% 50%; }
.tb-step:nth-child(odd):not(.on) { transform: translateX(-110px); }
.tb-step:nth-child(even):not(.on) { transform: translateX(110px); }
.tb-step p { max-width: 44ch; line-height: 1.45; }
.tb-steps { height: clamp(170px, 26vh, 230px); }
@media (max-width: 900px) { .tb-steps { height: 150px; } .tb { height: 300vh; } }


/* A heart that follows the mouse, and a trail of hearts behind it that grow with speed */
.heart-cur, .trail-heart { position: fixed; left: 0; top: 0; pointer-events: none;
  clip-path: path("M9 16 C3 11 0 8 0 4.800 C0 2 2.200 0 4.700 0 C6.400 0 8 1 9 2.600 C10 1 11.600 0 13.300 0 C15.800 0 18 2 18 4.800 C18 8 15 11 9 16 Z"); width: 18px; height: 16px; }
.heart-cur { z-index: 80; margin: -8px 0 0 -9px; opacity: 0; transition: opacity .3s ease; will-change: transform;
  background: linear-gradient(135deg, #FF7AC8, #B13A8E); filter: drop-shadow(0 4px 10px rgba(177, 58, 142, .45)); }
.heart-cur.on { opacity: .95; }
.trail-heart { z-index: 79; margin: -8px 0 0 -9px; opacity: 0; background: linear-gradient(135deg, hsl(var(--h, 325) 100% 74%), hsl(var(--h, 325) 62% 46%));
  animation: trail-heart .9s cubic-bezier(.16, 1, .3, 1) forwards; }
@keyframes trail-heart {
  0% { opacity: 0; transform: translate(0, 0) scale(calc(var(--s) * .3)) rotate(0deg); }
  20% { opacity: .9; transform: translate(0, -4px) scale(var(--s)) rotate(calc(var(--r) * .4)); }
  100% { opacity: 0; transform: translate(var(--dx), -46px) scale(calc(var(--s) * .55)) rotate(var(--r)); }
}


/* ---- The closing block and footer: three real screens fanned out, then a big wordmark to finish ---- */
.close-block { padding-top: 84px; }
.close-art { position: relative; display: flex; justify-content: center; align-items: flex-end; height: clamp(300px, 46vw, 520px); margin: 0 auto 54px; max-width: 900px;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
.close-phone { position: relative; flex: 0 0 auto; width: clamp(150px, 23vw, 270px); border-radius: clamp(26px, 3.6vw, 44px); padding: clamp(5px, .7vw, 9px); background: #17101A;
  box-shadow: 0 40px 90px rgba(10, 4, 12, .55), inset 0 0 0 1.5px rgba(255, 255, 255, .14); transform-origin: 50% 100%;
  transition: opacity .8s ease, translate 1.1s cubic-bezier(.16, 1, .3, 1), rotate 1.1s cubic-bezier(.16, 1, .3, 1), scale .5s cubic-bezier(.16, 1, .3, 1); }
.close-phone img { display: block; width: 100%; height: auto; border-radius: clamp(21px, 3vw, 36px); }
.close-phone.cp-c { z-index: 2; margin-bottom: -6%; }
.close-phone.cp-l { rotate: -9deg; margin: 0 -5% -16% 0; }
.close-phone.cp-r { rotate: 9deg; margin: 0 0 -16% -5%; }
.js .close-phone.rise:not(.in) { translate: 0 90px; }
.js .close-phone.cp-l.rise:not(.in) { rotate: -22deg; translate: -60px 90px; }
.js .close-phone.cp-r.rise:not(.in) { rotate: 22deg; translate: 60px 90px; }
.close-art:hover .close-phone.cp-l { rotate: -13deg; } .close-art:hover .close-phone.cp-r { rotate: 13deg; } .close-art:hover .close-phone.cp-c { scale: 1.03; }
.close-note { margin-top: 18px; color: rgba(255, 255, 255, .7); font-size: 15px; }
footer { position: relative; overflow: hidden; padding-bottom: 0; }
.foot-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-base .copy { margin: 0; }
.foot-top { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 700; }
.foot-top:hover { color: var(--plum); }
.foot-word { margin: 26px 0 -0.19em; text-align: center; font-family: var(--head); font-weight: 800; letter-spacing: -.05em; line-height: .9; white-space: nowrap;
  font-size: clamp(64px, 17.5vw, 290px); 
  background: linear-gradient(180deg, #B13A8E 0%, #67295F 55%, transparent 100%); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .92; user-select: none; }
@media (max-width: 700px) { .close-art { margin-bottom: 36px; } .foot-base { justify-content: center; text-align: center; } }


/* Smoothness: the travelling phone and the big moving layers get their own compositor layer, and nothing fights the scroll. */
.fly-on .fly { backface-visibility: hidden; contain: layout style; }
.fly-bob, .fly-phone { backface-visibility: hidden; }
.slide-word, .tb-words, .foot-word { will-change: translate; }
.tb-cards i, .tb-step { backface-visibility: hidden; }


/* ---- Big, quiet ghosts and hearts in the backgrounds: part of the page, never in the way ---- */
.bg-art { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; color: #67295F; border-radius: inherit; }
.bg-art svg { position: absolute; fill: currentColor; }
#why, #faq { position: relative; }
#why > .wrap, #faq > .wrap { position: relative; z-index: 1; }
.bg-pair { width: clamp(340px, 46vw, 760px); opacity: .05; }
.bg-ghost { width: clamp(220px, 26vw, 420px); opacity: .05; }
.bg-heart { width: clamp(70px, 9vw, 150px); opacity: .07; color: #B13A8E; }
.bg-why .bg-pair { left: -6%; bottom: -14%; rotate: -8deg; }
.bg-why .bg-heart { right: 6%; top: 9%; rotate: 14deg; }
.bg-faq .bg-pair { right: -7%; top: -6%; rotate: 9deg; }
.bg-faq .bg-heart { left: 5%; bottom: 8%; rotate: -12deg; }
.bg-slide { z-index: -1; }
.bg-slide .bg-ghost { right: -3%; top: -9%; rotate: 12deg; opacity: .055; }
.bg-slide .bg-heart { left: 44%; top: 8%; rotate: -10deg; opacity: .06; }
.bg-slide.flip .bg-ghost { right: auto; left: -3%; rotate: -12deg; }
.bg-slide.flip .bg-heart { left: auto; right: 44%; rotate: 10deg; }
.bg-close { color: #fff; }
.bg-close .bg-pair { left: 50%; top: 44%; translate: -50% 0; width: clamp(420px, 70vw, 1100px); opacity: .045; }
.bg-close .bg-heart { color: #FF9AD5; opacity: .10; }
.bg-close .bg-heart:nth-of-type(2) { left: 8%; top: 16%; rotate: -16deg; }
.bg-close .bg-heart:nth-of-type(3) { right: 9%; top: 58%; rotate: 18deg; width: clamp(50px, 6vw, 100px); }
@media (prefers-color-scheme: dark) { .bg-art:not(.bg-close) { color: #E7B6DE; } }
@media (max-width: 700px) { .bg-slide .bg-heart { display: none; } }


/* ---- Support form ---- */
.help-form { position: relative; display: grid; gap: 14px; margin: 22px 0 34px; padding: 22px; max-width: 620px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.help-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; color: var(--text); }
.help-form input, .help-form select, .help-form textarea { width: 100%; font: inherit; font-weight: 500; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--page); color: var(--text); }
.help-form textarea { resize: vertical; min-height: 130px; }
.help-form input:focus, .help-form select:focus, .help-form textarea:focus { outline: 2px solid var(--plum); outline-offset: 1px; }
.help-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.help-form button { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.help-form button[disabled] { opacity: .6; cursor: default; }
.help-note { margin: 0; min-height: 1.3em; font-size: 14px; font-weight: 700; color: var(--muted); }
.help-note.ok { color: #15803D; } .help-note.bad { color: #B91C1C; }


/* ---- The plain pages: privacy, terms, support and "not found" ---- */
body.legal > header { position: static; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: 860px; margin: 0 auto; padding: 20px 24px; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.legal > header .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 19px; }
body.legal > header nav { display: flex; gap: 22px; }
body.legal > header nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 14.5px; }
body.legal > header nav a:hover { color: var(--plum); }
body.legal main { max-width: 860px; margin: 0 auto; padding: 26px 24px 72px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; margin: 0 0 16px; }
.doc h2 { font-size: clamp(20px, 2.3vw, 26px); line-height: 1.2; margin: 36px 0 10px; }
.doc p, .doc li { font-size: 16px; line-height: 1.65; color: var(--text); }
.doc p { margin: 0 0 12px; max-width: 72ch; }
.doc ul, .doc ol { display: grid; gap: 10px; margin: 0 0 14px; padding-left: 22px; max-width: 72ch; }
.doc a { color: var(--plum); font-weight: 600; }
body.legal > footer { position: static; overflow: visible; max-width: 860px; margin: 0 auto; padding: 22px 24px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.8; }
body.legal > footer a { color: var(--muted); }
@media (prefers-color-scheme: dark) { .help-note.ok { color: #4ADE80; } .help-note.bad { color: #F87171; } }

/* ---------- v42: a real-looking phone ----------
   Titanium edge with a bright rim, a thin black screen border, the Dynamic Island,
   side buttons, and glass that catches the light. Applies to every phone on the page. */
.phone, .close-phone {
  background:
    linear-gradient(145deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 9%) border-box,
    linear-gradient(160deg, #6d6670 0%, #2a2630 16%, #121015 46%, #1b181f 70%, #57505c 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.22) inset,        /* polished rim */
    0 0 0 2.5px #0a090c inset,                     /* black screen border */
    0 1px 0 1px rgba(255,255,255,.10),
    0 70px 120px -20px rgba(70, 20, 66, .55),
    0 30px 60px -10px rgba(20, 10, 22, .45),
    0 8px 16px rgba(20, 10, 22, .25);
}
.phone::before, .close-phone::before {
  /* side buttons: action + volume on the left, power on the right */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background:
    linear-gradient(#3a3540, #3a3540) left -2.5px top 17% / 3px 4% no-repeat,
    linear-gradient(#3a3540, #3a3540) left -2.5px top 24% / 3px 7% no-repeat,
    linear-gradient(#3a3540, #3a3540) left -2.5px top 33% / 3px 7% no-repeat,
    linear-gradient(#3a3540, #3a3540) right -2.5px top 27% / 3px 10% no-repeat;
}
.phone::after, .close-phone::after {
  content: ""; position: absolute; top: 2.6%; left: 50%; translate: -50% 0; z-index: 4;
  width: 31%; height: 3.4%; border-radius: 99px;
  background: radial-gradient(circle at 78% 50%, #1d2a3a 0 14%, #050506 16%) , #050506;
  box-shadow: 0 0 0 1px rgba(255,255,255,.04);
}
.phone > .glass {
  background:
    linear-gradient(115deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.07) 18%, rgba(255,255,255,0) 34%),
    linear-gradient(295deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 22%),
    radial-gradient(120% 60% at 50% -10%, rgba(255,255,255,.10), rgba(255,255,255,0) 60%);
  mix-blend-mode: screen; opacity: .9;
}
.close-phone img, .phone img { image-rendering: auto; }
/* screens stay crisp on retina: a hair of contrast and saturation, like a real OLED */
.tb-screen img, .phone img, .close-phone img { filter: saturate(1.06) contrast(1.03); }

/* early list form (v43) */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-lead { color: rgba(255,255,255,.82); margin: 18px auto 0; max-width: 40ch; }
.wl { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 640px; margin: 26px auto 0; }
.wl input { flex: 1 1 200px; min-width: 0; height: 52px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; padding: 0 20px; font: inherit; }
.wl input::placeholder { color: rgba(255,255,255,.7); }
.wl input:focus { outline: 2px solid #F2A3B8; outline-offset: 2px; }
.close-block .wl .pill { margin-top: 0; height: 52px; border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 0 26px; }
.wl .pill:disabled { opacity: .6; cursor: default; }
.wl-msg { min-height: 1.4em; margin: 14px 0 0; color: #fff; font-weight: 600; }
@media (max-width: 560px) { .wl input, .wl .pill { flex-basis: 100%; } }

/* reels (v43) */
.reels-sec { text-align: center; }
.reels-sec h2 { margin-inline: auto; }
.reels { display: flex; gap: 22px; justify-content: center; margin-top: 40px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 16px; }
.reel { flex: 0 0 auto; width: min(280px, 72vw); aspect-ratio: 9/16; border-radius: 28px; overflow: hidden; background: #2A0F27; box-shadow: 0 24px 50px rgba(103,41,95,.25); scroll-snap-align: center; margin: 0; }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.reels-more { margin-top: 18px; font-weight: 700; }
.reels-more a { color: var(--plum); }
@media (max-width: 900px) { .reels { justify-content: flex-start; } }
