/* =========================================================
   FitCheck — Swipe. Try. Buy.
   Editorial black / bone palette, runway-red accent.
   ========================================================= */

:root {
  --paper: #f3f1ec;
  --paper-2: #e8e5de;
  --ink: #0d0d0e;
  --ink-2: #19191b;
  --mute: #6d6a65;
  --mute-dark: #a29e97;
  --line: rgba(13, 13, 14, .14);
  --line-dark: rgba(243, 241, 236, .16);
  --red: #c3161c;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --nav-h: 64px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ink); color: var(--paper); }

.sr, .skip:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
  margin: 0 0 18px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.display {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(38px, 5.6vw, 84px);
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.display em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
}
.display em.upright { font-style: normal; }
.muted { color: var(--mute); max-width: 46ch; margin: 22px 0 0; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: 15px; letter-spacing: -.005em;
  transition: translate .4s var(--ease), background .3s, color .3s;
}
.btn:hover { translate: 0 -2px; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }

.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 20px 0 16px; border-radius: 14px;
  background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: 17px; line-height: 1.05;
  transition: translate .4s var(--ease);
}
.store:hover { translate: 0 -2px; }
.store svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.store small { display: block; font-size: 10px; font-weight: 500; letter-spacing: .02em; opacity: .75; }

.round {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-size: 18px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background .3s, color .3s;
}
.round:hover { background: var(--ink); color: var(--paper); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
  color: var(--ink);
  transition: color .35s, background .35s, transform .5s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom: 1px solid var(--line);
  transition: background .35s, border-color .35s;
}
.nav.is-dark { color: var(--paper); }
.nav.is-dark::before { background: color-mix(in srgb, var(--ink) 92%, transparent); border-color: var(--line-dark); }
.nav.is-dark .brand img { filter: invert(1); }
.nav.is-dark .nav__cta { background: var(--paper); color: var(--ink); }
.nav.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 22px; height: auto; transition: filter .35s; }
.brand span { font-family: var(--serif); font-size: 19px; letter-spacing: .26em; font-weight: 500; }
.brand--light img { filter: invert(1); }

.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav__links a { position: relative; opacity: .8; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--paper);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font-size: clamp(34px, 9vw, 52px); font-weight: 700; letter-spacing: -.035em; line-height: 1.15;
  padding: 6px 0; border-bottom: 1px solid var(--line);
}
.menu .btn { align-self: stretch; min-height: 56px; }

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 3vh) var(--gutter) 4vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero__inner {
  width: 100%; max-width: var(--max); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center; gap: clamp(24px, 4vw, 72px);
}
.hero__words {
  margin: 0;
  font-weight: 800;
  font-size: clamp(64px, 12.2vw, 196px);
  line-height: .84;
  letter-spacing: -.06em;
}
.hero__words .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__words .word { display: inline-block; transition: color .6s var(--ease), opacity .6s var(--ease); }
.hero__words .word b { font-weight: inherit; transition: color .6s var(--ease); }
.js-anim .hero__words .word { opacity: .13; }
.js-anim .hero[data-stage="0"] .word[data-w="0"],
.js-anim .hero[data-stage="1"] .word[data-w="1"],
.js-anim .hero[data-stage="2"] .word[data-w="2"] { opacity: 1; }
.js-anim .hero[data-stage="0"] .word[data-w="0"] b,
.js-anim .hero[data-stage="1"] .word[data-w="1"] b,
.js-anim .hero[data-stage="2"] .word[data-w="2"] b { color: var(--red); }

.hero__lede { max-width: 38ch; margin: clamp(22px, 3vh, 34px) 0 0; font-size: clamp(16px, 1.25vw, 19px); color: var(--mute); }

.hero__stage { position: relative; justify-self: center; height: min(78svh, 760px); aspect-ratio: 740 / 1646; max-width: 100%; }
.capsule {
  position: relative; width: 100%; height: 100%;
  border-radius: 999px 999px 28px 28px; overflow: hidden;
  background: #ececec;
  box-shadow: 0 40px 80px -40px rgba(13,13,14,.35);
}
.capsule { isolation: isolate; transform: translateZ(0); }
.capsule .look { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.capsule .look img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  will-change: transform; backface-visibility: hidden;
}
.capsule .look:not([data-i="0"]) { transform: translate3d(0, 100%, 0); }
.capsule .look:not([data-i="0"]) img { transform: translate3d(0, -100%, 0); }

.chip {
  position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%);
  height: 38px; min-width: 190px; padding: 0 16px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.95);
  border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.25);
}
.chip span { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: .5s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.chip span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.hero[data-stage="0"] .chip [data-c="0"],
.hero[data-stage="1"] .chip [data-c="1"],
.hero[data-stage="2"] .chip [data-c="2"] { opacity: 1; transform: none; }

.hero__count {
  position: absolute; top: 50%; right: calc(-1 * clamp(18px, 3vw, 44px)); transform: translate(100%, -50%);
  list-style: none; margin: 0; padding: 0; display: grid; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums;
}
.hero__count li { opacity: .25; transition: opacity .4s; position: relative; padding-left: 18px; }
.hero__count li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: currentColor; }
.hero[data-stage="0"] .hero__count li:nth-child(1),
.hero[data-stage="1"] .hero__count li:nth-child(2),
.hero[data-stage="2"] .hero__count li:nth-child(3) { opacity: 1; }

.hero__hint {
  position: absolute; left: var(--gutter); bottom: 22px;
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute);
}
.hero__hint span { width: 1px; height: 28px; background: var(--line); position: relative; overflow: hidden; }
.hero__hint span::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: drip 2s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

@media (max-width: 1100px) { .hero__count { display: none; } }
@media (max-width: 820px) {
  .hero { align-items: stretch; padding-top: calc(var(--nav-h) + 18px); padding-bottom: 20px; }
  .hero__inner { display: flex; flex-direction: column; gap: 18px; height: calc(100svh - var(--nav-h) - 38px); }
  .hero__words { font-size: clamp(40px, 12.4vw, 92px); display: flex; flex-wrap: wrap; column-gap: .18em; line-height: .92; }
  .hero__lede, .hero__copy .stores, .hero__hint { display: none; }
  .hero__stage { flex: 1; min-height: 0; width: 100%; height: auto; aspect-ratio: auto; }
  .capsule { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: auto; height: 100%; aspect-ratio: 740 / 1646; }
}

/* =========================================================
   TICKER
   ========================================================= */
.ticker {
  background: var(--ink); color: var(--paper);
  overflow: hidden; padding: 22px 0;
  border-block: 1px solid var(--ink);
}
.ticker__track {
  display: flex; width: max-content; align-items: center; gap: 36px;
  font-family: var(--serif); font-style: italic; font-size: clamp(28px, 4vw, 56px); line-height: 1;
  white-space: nowrap; padding-right: 36px;
  animation: tick 30s linear infinite;
}
.ticker__track i { font-style: normal; font-size: .45em; color: var(--red); }
.js-anim .ticker__track { animation: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* =========================================================
   HOW IT WORKS — horizontal
   ========================================================= */
.how { position: relative; overflow: hidden; background: var(--paper); }
.how__track { display: flex; width: max-content; height: 100svh; }
.how__intro {
  width: min(42vw, 620px); flex: none;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--nav-h) var(--gutter) 0;
}
.how__intro .display { font-size: clamp(44px, 6vw, 96px); }

.step {
  position: relative; flex: none; width: 100vw; height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: clamp(24px, 5vw, 80px);
  padding: calc(var(--nav-h) + 4vh) var(--gutter) 8vh;
}
.step__word {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-weight: 800; font-size: clamp(120px, 26vw, 420px); letter-spacing: -.07em; line-height: 1;
  color: var(--paper-2); white-space: nowrap; pointer-events: none; user-select: none;
}
.step[data-step="try"] .step__word { color: #ead7d2; }
.step .vphone { grid-column: 2; }
.step__text { grid-column: 3; max-width: 340px; position: relative; }
.step__num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--red); }
.step__text h3 { margin: 6px 0 10px; font-size: clamp(34px, 3.4vw, 54px); letter-spacing: -.04em; line-height: 1; }
.step__text p { margin: 0; color: var(--mute); }

/* phone crop around the original demo videos (bezel is baked into the files) */
.vphone {
  position: relative;
  height: min(74svh, 700px);
  aspect-ratio: 254 / 538;
  border-radius: 16.5% / 7.8%;
  overflow: hidden;
  background: #111;
  box-shadow: 0 50px 90px -40px rgba(13,13,14,.45), 0 0 0 1px rgba(0,0,0,.06);
  transform: translateZ(0);
}
.vphone video {
  position: absolute;
  left: -12.598%; top: -5.762%;
  width: 124.41%; height: 111.52%;
  max-width: none; object-fit: fill;
}

.how__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; height: 2px; background: var(--line); }
.how__bar span { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }

@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .how__track { flex-direction: column; width: auto; height: auto; }
  .how__intro { width: auto; padding: 96px var(--gutter) 16px; }
  .step { width: auto; height: auto; grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 48px var(--gutter); gap: 28px; overflow: hidden; }
  .step .vphone, .step__text { grid-column: 1; }
  .step .vphone { height: auto; width: min(58vw, 260px); }
  .step__word { top: 34%; font-size: 40vw; }
  .how__bar { display: none; }
}

/* =========================================================
   FOR EVERYONE
   ========================================================= */
.everyone { background: var(--paper-2); padding: clamp(88px, 12vw, 160px) 0; }
.everyone__grid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.everyone__title { font-size: clamp(48px, 8vw, 128px); }
.everyone__title .swap { display: inline-block; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.03em; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.tabs button {
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  font-size: 15px; font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background .3s, color .3s, box-shadow .3s;
}
.tabs button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.everyone__desc { margin: 26px 0 0; max-width: 40ch; font-size: 19px; min-height: 3em; transition: opacity .3s; }

.compare {
  position: relative; margin: 0; width: 100%;
  aspect-ratio: 3 / 4; max-height: 80svh; justify-self: end;
  border-radius: 28px; overflow: hidden; background: #ddd;
  touch-action: pan-y; cursor: ew-resize; user-select: none;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; pointer-events: none; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: #fff; pointer-events: none;
}
.compare__handle span {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.compare__tag {
  position: absolute; top: 18px; padding: 7px 12px; border-radius: 999px;
  background: rgba(13,13,14,.6); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.compare__tag--l { left: 18px; }
.compare__tag--r { right: 18px; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; }
.compare:focus-within { outline: 2px solid var(--red); outline-offset: 4px; }

@media (max-width: 860px) {
  .everyone__grid { grid-template-columns: 1fr; }
  .compare { justify-self: stretch; max-height: none; }
}

/* =========================================================
   SPLIT SCREENS (celebrity + runway)
   ========================================================= */
.split {
  position: relative; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  aspect-ratio: 1270 / 1616;
}
.split__half { position: relative; overflow: hidden; border-radius: 18px; background: #2a2a2c; }
.split__half img { width: 100%; height: 100%; object-fit: cover; scale: 1.02; transition: scale 1.2s var(--ease); backface-visibility: hidden; }
.split:hover .split__half img { scale: 1.07; }
.split figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end;
  padding: 14px 16px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff;
  pointer-events: none;
}
.split figcaption span:last-child { text-align: right; }
.split figcaption b {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 18px;
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: var(--paper); color: var(--ink); transform: translateY(-40%);
}
.split figcaption::before {
  content: ""; position: absolute; inset: -60px 0 0; z-index: -1; border-radius: 0 0 18px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
}

/* ---------- Celebrity ---------- */
.celeb { background: var(--ink); color: var(--paper); overflow: hidden; position: relative; }
.celeb .muted { color: var(--mute-dark); }
.celeb__track {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 44px);
  width: max-content; height: 100svh;
  padding: calc(var(--nav-h) + 3vh) var(--gutter) 4vh;
}
.celeb__intro { width: min(46vw, 640px); flex: none; padding-right: 3vw; }
.celeb__intro .display { font-size: clamp(36px, 4.6vw, 72px); }
.celeb .split { height: min(76svh, 760px); flex: none; will-change: transform; }
.celeb__outro { flex: none; width: min(40vw, 520px); padding-left: 3vw; }
.celeb__outro .display { font-size: clamp(44px, 6vw, 96px); margin-bottom: 30px; }

@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .celeb__track {
    -webkit-overflow-scrolling: touch;
    width: auto; height: auto; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; padding: 96px var(--gutter) 64px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; flex-direction: row; align-items: stretch;
  }
  .celeb__track::-webkit-scrollbar { display: none; }
  .celeb__intro { width: 78vw; padding: 0; align-self: center; scroll-snap-align: start; }
  .celeb .split { height: auto; width: 82vw; max-width: 460px; scroll-snap-align: center; }
  .celeb__outro { width: 74vw; align-self: center; scroll-snap-align: end; }
}

/* ---------- Runway ---------- */
.runway { padding: clamp(96px, 12vw, 180px) 0; overflow: hidden; }
.runway__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); }
.runway__copy { position: sticky; top: calc(var(--nav-h) + 12vh); align-self: start; }
.runway__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 22px); align-items: start; }
.runway__col { display: grid; gap: clamp(12px, 1.6vw, 22px); will-change: transform; }
.runway__col:last-child { margin-top: 18vh; }
.split--sm { gap: 4px; }
.split--sm .split__half { border-radius: 12px; }

@media (max-width: 860px) {
  .runway__grid { grid-template-columns: 1fr; }
  .runway__copy { position: static; }
  .runway__col:last-child { margin-top: 10vh; }
}

/* =========================================================
   LENS
   ========================================================= */
.lens { background: var(--ink); color: var(--paper); min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 4vh) 0 6vh; overflow: hidden; }
.lens .muted { color: var(--mute-dark); }
.lens__grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 6vw, 110px); align-items: center; }
.lens__copy .display { font-size: clamp(44px, 6.4vw, 104px); }
.lens__say { display: flex; flex-wrap: wrap; gap: 0 .35em; margin: 40px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3vw, 44px); line-height: 1.1; }
.lens__say span { transition: opacity .4s; }

.lens__frame {
  position: relative; height: min(80svh, 780px); aspect-ratio: 2 / 3;
  border-radius: 32px; overflow: hidden; background: #222;
  box-shadow: 0 0 0 1px var(--line-dark), 0 60px 120px -40px rgba(0,0,0,.6);
}
.lens__frame > img { width: 100%; height: 100%; object-fit: cover; }
.lens__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 22%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.18) 85%, rgba(255,255,255,.9) 100%);
  border-bottom: 2px solid #fff; opacity: 0; pointer-events: none;
}
.lens__corners i { position: absolute; width: 34px; height: 34px; border: 2px solid #fff; opacity: .9; }
.lens__corners i:nth-child(1) { top: 18px; left: 18px; border-right: 0; border-bottom: 0; border-top-left-radius: 14px; }
.lens__corners i:nth-child(2) { top: 18px; right: 18px; border-left: 0; border-bottom: 0; border-top-right-radius: 14px; }
.lens__corners i:nth-child(3) { bottom: 18px; left: 18px; border-right: 0; border-top: 0; border-bottom-left-radius: 14px; }
.lens__corners i:nth-child(4) { bottom: 18px; right: 18px; border-left: 0; border-top: 0; border-bottom-right-radius: 14px; }

.lens__tags { list-style: none; margin: 0; padding: 0; }
.lens__tags li {
  position: absolute; left: var(--x); top: var(--y);
  display: flex; align-items: center; gap: 8px;
  transform: translate(-7px, -50%);
  font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--ink);
}
.lens__tags li::before {
  content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.35);
}
.lens__tags li span {
  padding: 6px 11px; border-radius: 999px;
  background: rgba(255,255,255,.94); box-shadow: 0 6px 18px -6px rgba(0,0,0,.35);
}
.lens__tags li.is-left { flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -50%); }

.lens__sheet {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 14px 14px 18px; border-radius: 20px;
  background: rgba(255,255,255,.94); color: var(--ink); font-size: 14px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.lens__actions { display: flex; gap: 6px; }
.lens__actions em { font-style: normal; font-weight: 600; font-size: 13px; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.lens__actions em + em { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

@media (max-width: 899px) {
  .lens { min-height: 0; padding: 96px 0; }
  .lens__grid { grid-template-columns: 1fr; }
  .lens__frame { height: auto; width: 100%; max-width: 440px; justify-self: center; }
  .lens__sheet { left: 10px; right: 10px; bottom: 10px; padding: 10px 10px 10px 14px; border-radius: 16px; font-size: 13px; }
  .lens__actions em { padding: 7px 12px; font-size: 12px; }
  .lens__tags li span { padding: 5px 9px; font-size: 11px; }
}

/* =========================================================
   INSIDE THE APP — drag reel
   ========================================================= */
.inside { padding: clamp(96px, 12vw, 170px) 0 clamp(72px, 9vw, 130px); position: relative; }
.inside__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.inside__nav { display: flex; gap: 8px; }
.reel {
  display: flex; gap: clamp(12px, 1.6vw, 22px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  padding: 10px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 30px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scrollbar-width: none; cursor: grab;
}
.reel::-webkit-scrollbar { display: none; }
.reel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.reel.is-dragging img { pointer-events: none; }
.reel img {
  flex: none; height: min(72svh, 640px); width: auto; aspect-ratio: 1206 / 2622;
  border-radius: 26px; object-fit: cover; scroll-snap-align: start;
  box-shadow: 0 30px 60px -30px rgba(13,13,14,.35), 0 0 0 1px var(--line);
  transition: translate .6s var(--ease);
  user-select: none; -webkit-user-drag: none;
}
.reel img:hover { translate: 0 -8px; }
.cursor {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  transform: scale(0); transition: transform .35s var(--ease);
}
.cursor.is-on { transform: scale(1); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } .reel { cursor: auto; } }
@media (max-width: 640px) { .inside__nav { display: none; } .reel img { height: 62svh; border-radius: 20px; } }

/* =========================================================
   PRICING
   ========================================================= */
.pricing { background: var(--paper-2); padding: clamp(96px, 12vw, 170px) 0; }
.pricing__head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(40px, 5vw, 72px); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: center; gap: clamp(14px, 2vw, 24px); }
.plan {
  display: flex; flex-direction: column; gap: 28px;
  padding: clamp(28px, 3vw, 40px); border-radius: 30px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  transition: translate .6s var(--ease);
}
.plan:hover { translate: 0 -6px; }
.plan header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.plan h3 { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; }
.plan__price { margin: 0; font-size: clamp(40px, 4vw, 56px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.plan__price small { font-size: 15px; font-weight: 500; letter-spacing: 0; margin-left: 4px; opacity: .7; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; flex: 1; }
.plan li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.plan li svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plan li svg.ok { stroke: var(--red); }
.plan li.off { color: var(--mute); }
.plan li.off > span { text-decoration: line-through; text-decoration-thickness: 1px; }
.plan .btn { width: 100%; min-height: 54px; }
.plan--premium { background: var(--ink); color: var(--paper); box-shadow: none; }
.plan--premium header { border-color: var(--line-dark); }
.plan--premium li svg.ok { stroke: #ff5a5f; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* =========================================================
   FINALE — zoom through the arch
   ========================================================= */
.finale { position: relative; height: 100svh; overflow: hidden; background: var(--ink); }
.finale__hall { position: absolute; inset: 0; }
.finale__hall img { width: 100%; height: 100%; object-fit: cover; transform-origin: 49.5% 49%; }
.finale__kicker {
  position: absolute; left: 0; right: 0; bottom: 8vh; margin: 0; text-align: center;
  color: var(--paper); font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4vw, 60px);
  text-shadow: 0 2px 30px rgba(0,0,0,.4);
}
.finale__arch { display: none; }
.js-anim .finale__arch {
  display: block; position: absolute; background: var(--paper);
  transform-origin: 50% 50%; opacity: 0; pointer-events: none;
}
.finale__portal {
  position: absolute; inset: 0; background: var(--paper);
  display: flex; align-items: center;
  padding-top: var(--nav-h);
}
.js-anim .finale__portal { visibility: hidden; background: transparent; }
.finale__content { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.finale__copy .display { font-size: clamp(44px, 6.6vw, 112px); }

.phone {
  justify-self: center;
  position: relative; height: min(70svh, 660px); aspect-ratio: 270 / 584;
  border-radius: 46px; padding: 9px; background: #0d0d0e;
  box-shadow: 0 0 0 1.5px #3a3a3d inset, 0 50px 100px -40px rgba(13,13,14,.6);
}
.phone::before {
  content: ""; position: absolute; top: 17px; left: 50%; z-index: 2; transform: translateX(-50%);
  width: 30%; height: 22px; border-radius: 999px; background: #0d0d0e;
}
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; background: #f5f5f5; }

@media (max-width: 820px) {
  .finale__copy .muted { display: none; }
  .finale__content { grid-template-columns: 1fr; text-align: center; justify-items: center; padding-block: 24px; }
  .finale__copy .muted { margin-inline: auto; }
  .finale__copy .stores { justify-content: center; }
  .phone { height: 46svh; border-radius: 36px; padding: 7px; }
  .phone video { border-radius: 30px; }
  .phone::before { top: 13px; height: 16px; }
}
@media (max-width: 820px) and (max-height: 720px) {
  .phone { height: 36svh; }
  .finale__copy .display { font-size: 38px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.foot { background: var(--ink); color: var(--paper); padding: 56px 0 28px; overflow: hidden; }
.foot__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot__links { display: flex; gap: 4px 26px; flex-wrap: wrap; font-size: 14px; color: var(--mute-dark); }
.foot__links a { padding: 12px 0; }
.foot__links a:hover { color: var(--paper); }
.foot__word {
  margin: 48px 0 8px; text-align: center; white-space: nowrap;
  font-family: var(--serif); font-weight: 400; letter-spacing: .12em; line-height: .85;
  font-size: 16.4vw; color: transparent; -webkit-text-stroke: 1px rgba(243,241,236,.22);
}
.foot__legal { margin: 0; font-size: 13px; color: var(--mute-dark); }

/* =========================================================
   SWIPE HINTS + progress bars for native horizontal scrollers (mobile)
   ========================================================= */
.swipe-hint, .hbar { display: none; }
.swipe-hint {
  align-items: center; gap: 14px; margin-top: 28px; min-height: 44px; padding: 0 20px 0 22px;
  border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  transition: opacity .4s var(--ease);
}
.swipe-hint i { position: relative; width: 34px; height: 12px; overflow: hidden; }
.swipe-hint i::before, .swipe-hint i::after { content: ""; position: absolute; top: 50%; }
.swipe-hint i::before { left: 0; right: 2px; height: 1.5px; margin-top: -.75px; background: currentColor; transform-origin: left; animation: hint-line 1.8s var(--ease) infinite; }
.swipe-hint i::after { right: 1px; width: 8px; height: 8px; margin-top: -4px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); animation: hint-head 1.8s var(--ease) infinite; }
@keyframes hint-line { 0% { transform: scaleX(.2); } 55%, 100% { transform: scaleX(1); } }
@keyframes hint-head { 0% { translate: -22px 0; opacity: 0; } 25% { opacity: 1; } 55%, 100% { translate: 0 0; opacity: 1; } }
.swipe-hint.is-used { opacity: .35; }
.swipe-hint.is-used i::before, .swipe-hint.is-used i::after { animation-play-state: paused; }

.hbar { position: relative; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.hbar span { position: absolute; inset: 0; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, .12)); transition: transform .15s linear; }
.hbar--dark { background: var(--line-dark); margin: 0 var(--gutter) 40px; }
.hbar--dark span { background: var(--paper); }
.reel__meta { align-items: center; gap: 20px; margin-top: 4px; }
.reel__meta .hbar { flex: 1; display: block; }
.reel__meta .swipe-hint { margin-top: 0; flex: none; }

@keyframes nudge { 0%, 100% { translate: 0 0; } 35% { translate: -64px 0; } 60% { translate: -64px 0; } }
.is-nudge > * { animation: nudge 1.5s var(--ease) 1; }

@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .celeb .swipe-hint { display: inline-flex; color: var(--paper); }
  .celeb .hbar { display: block; }
}
@media (max-width: 899px) {
  .reel__meta { display: flex; }
  .reel__meta .swipe-hint { display: inline-flex; color: var(--ink); }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) { .reel__meta { display: none; } }

/* compositor hints for scroll-driven layers */
.js-anim .how__track, .js-anim .celeb__track, .js-anim .runway__col, .js-anim .step__word,
.js-anim .vphone, .js-anim .finale__hall img, .js-anim .ticker__track, .js-anim .celeb .split,
.js-anim .celeb .split__half img, .js-anim .lens__scan { will-change: transform; }

/* tab swap fade */
.compare { transition: opacity .25s; }
.compare.is-swapping { opacity: .35; }
.everyone__desc.is-swapping { opacity: 0; }

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   LEGAL PAGES (terms-conditions.html, privacy-policy.html)
   ========================================================= */
.legal { padding: calc(var(--nav-h) + clamp(48px, 8vw, 110px)) 0 clamp(80px, 10vw, 140px); }
.legal__grid { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 720px); gap: clamp(32px, 6vw, 110px); justify-content: center; align-items: start; }
.legal__side { position: sticky; top: calc(var(--nav-h) + 32px); max-height: calc(100svh - var(--nav-h) - 64px); overflow: auto; scrollbar-width: thin; }
.legal__side .display { font-size: clamp(40px, 4.4vw, 64px); }
.legal__toc { margin-top: 32px; }
.legal__toc summary { cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); list-style: none; }
.legal__toc summary::-webkit-details-marker { display: none; }
.legal__toc ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; }
.legal__toc a { display: block; padding: 6px 0; font-size: 14px; color: var(--mute); line-height: 1.35; transition: color .2s; }
.legal__toc a:hover { color: var(--ink); }
.legal__body { font-size: 16.5px; line-height: 1.7; color: #2b2a28; min-width: 0; overflow-wrap: anywhere; }
.legal__body h2 {
  margin: 56px 0 14px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.legal__body h2:first-of-type { margin-top: 24px; }
.legal__body h3 { margin: 30px 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.legal__body p { margin: 0 0 14px; }
.legal__body ul { margin: 0 0 18px; padding-left: 1.2em; }
.legal__body li { margin: 4px 0; padding-left: .3em; }
.legal__body li::marker { color: var(--red); }
.legal__body a { text-decoration: underline; text-underline-offset: 3px; }
.legal__meta { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--mute); }
.nav__links--legal a[aria-current="page"] { opacity: 1; }
.nav__links--legal a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 960px) {
  .legal-page .nav__links--legal { display: flex; gap: 18px; margin-left: auto; }
  .legal-page .nav__cta--always { display: inline-flex; }
}
@media (max-width: 520px) { .legal-page .nav__cta--always { display: none; } }
@media (max-width: 860px) {
  .legal__grid { grid-template-columns: 1fr; }
  .legal__side { position: static; max-height: none; }
  .legal__toc:not([open]) ol { display: none; }
}

/* =========================================================
   DOWNLOAD PAGE
   ========================================================= */
.dl { min-height: 100svh; display: grid; place-items: center; padding: 32px 16px; text-align: center; }
.dl__icon { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 20px 40px -20px rgba(13,13,14,.45); }
.dl .display { font-size: clamp(40px, 9vw, 72px); }
.dl .stores { justify-content: center; }
.dl__back { display: inline-block; margin-top: 28px; font-size: 14px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
