/* Landing page. The hero feed reproduces the app's "Feed C" screen (docked card, action rail). */

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(10, 10, 11, .78);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}
.site-header-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}
.site-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, .82);
  transition: color .2s;
}
.site-nav a:hover { color: var(--ink); }
.header-cta { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 260vh; }
.hero-stage {
  /* Set by home.js as you scroll: --p shrink progress, --c app UI opacity, --s app UI scale. */
  --p: 0;
  --c: 0;
  --s: 1;
  --x: 0px;
  --y: 0px;
  --w: 100vw;
  --h: 100vh;
  --r: 0px;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.hero.is-static { height: 100vh; height: 100svh; min-height: 680px; }
.hero.is-static .hero-stage { position: relative; height: 100%; }

.hero-glow {
  position: absolute;
  left: var(--gx, 70%);
  top: var(--gy, 50%);
  width: 900px;
  height: 900px;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(224, 0, 122, .26), rgba(224, 0, 122, 0));
  opacity: var(--p, 0);
  pointer-events: none;
}

.bezel, .feed {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  border-radius: var(--r);
}
.bezel {
  box-shadow:
    0 0 0 calc(var(--p) * 10px) #161618,
    0 0 0 calc(var(--p) * 11px) #2E2E33,
    0 60px 140px -30px rgba(224, 0, 122, calc(var(--p) * .45));
  pointer-events: none;
}
.feed {
  overflow: hidden;
  clip-path: inset(0 round var(--r));
  background: var(--video);
  color: #FFFFFF;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  animation: feed-in 1.4s var(--ease-out) both;
}
@keyframes feed-in { from { opacity: 0; } to { opacity: 1; } }

.feed-track { position: absolute; inset: 0; }
.slide {
  position: absolute;
  inset: 0;
  transform: translateY(100%);
  transition: transform .75s var(--ease-out);
  visibility: hidden;
}
.slide.is-active, .slide.is-prev, .slide.is-next { visibility: visible; }
.slide.is-active { transform: none; z-index: 2; }
.slide.is-prev { transform: translateY(-100%); z-index: 1; }
.slide.is-next { transform: translateY(100%); z-index: 1; }
.slide.is-idle { transition: none; }
.slide video, .slide-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Darkens the left side so the headline reads over full-screen video; gone once the phone forms. */
.feed-cinema {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(10, 10, 11, .88) 0%, rgba(10, 10, 11, .55) 38%, rgba(10, 10, 11, 0) 68%),
    linear-gradient(0deg, rgba(10, 10, 11, .7) 0%, rgba(10, 10, 11, 0) 40%),
    linear-gradient(180deg, rgba(10, 10, 11, .55) 0%, rgba(10, 10, 11, 0) 22%);
  opacity: calc(1 - var(--p) * 1.25);
  pointer-events: none;
}
.feed-shade {
  position: absolute;
  inset: 0 0 auto;
  height: calc(150px * var(--s));
  z-index: 3;
  background: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, 0));
  opacity: var(--c);
  pointer-events: none;
}
.island {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: calc(11px * var(--s));
  width: calc(110px * var(--s));
  height: calc(32px * var(--s));
  translate: -50% 0;
  border-radius: 99px;
  background: #000;
  opacity: var(--c);
}
.burst-layer { position: absolute; inset: 0; z-index: 7; pointer-events: none; overflow: hidden; }
.burst {
  position: absolute;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  color: var(--accent);
  filter: drop-shadow(0 6px 24px rgba(224, 0, 122, .5));
  animation: burst .8s var(--ease-out) forwards;
}
@keyframes burst {
  0% { transform: scale(0); opacity: 1; }
  35% { transform: scale(1.06); opacity: 1; }
  60% { transform: translateY(-14px) scale(1.1); opacity: 1; }
  100% { transform: translateY(-48px) scale(1.18); opacity: 0; }
}

/* App UI, laid out at the app's 390 px width and scaled to the phone. */
.chrome {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 5;
  width: 390px;
  height: calc(var(--h) / var(--s));
  transform: scale(var(--s));
  transform-origin: 0 100%;
  opacity: var(--c);
  pointer-events: none;
  font-family: var(--body);
}
.feed.is-live .chrome { pointer-events: auto; }

.app-head {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 54px 16px 0;
}
.app-logo { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.app-tabs { display: flex; gap: 18px; font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .7); }
.app-tabs .is-on { color: #FFF; box-shadow: inset 0 -2px #FFF; padding-bottom: 6px; }
.app-filter { margin: 0 11px; }

.feed-toggle {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .4);
  color: #FFF;
  display: grid;
  place-items: center;
  opacity: 0;
  cursor: pointer;
  transition: opacity .18s;
}
.feed-toggle:focus-visible, .feed.is-paused .feed-toggle { opacity: 1; }
.paused-glyph svg { margin-left: 4px; }

.tap-hint {
  position: absolute;
  left: 50%;
  top: 30%;
  translate: -50% 0;
  padding: 8px 14px;
  border-radius: 99px;
  background: rgba(10, 10, 11, .6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s, transform .4s var(--ease-out);
  pointer-events: none;
}
.tap-hint.is-on { opacity: 1; transform: none; }

.app-bottom { position: absolute; inset: auto 0 0; }
.app-row {
  display: flex;
  align-items: flex-end;
  padding: 0 8px 14px 16px;
}
.seller-line {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 8px 4px 0;
  font-size: 15px;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .7), 0 0 2px rgba(0, 0, 0, .4);
}
.seller-handle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge {
  flex: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
}
.badge svg { width: 10px; height: 10px; }
.badge[hidden] { display: none; }
.seller-kind { flex: none; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .85); }

.rail {
  width: 60px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.avatar {
  position: relative;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border-radius: 50%;
  border: 2px solid #FFF;
  background: #3A3B40;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}
.follow {
  position: absolute;
  bottom: -11px;
  left: 50%;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
}
.follow svg { width: 13px; height: 13px; }
.rail-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0;
  border: 0;
  background: none;
  color: #FFF;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .7);
  cursor: pointer;
}
.rail-btn svg { width: 32px; height: 32px; filter: drop-shadow(0 0 6px rgba(0, 0, 0, .3)); }
.rail-btn[aria-pressed="true"] .heart { color: var(--accent); fill: var(--accent); animation: bump .45s var(--ease-out); }
@keyframes bump { 0% { transform: scale(.55); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }

.docked {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 10px 10px;
  padding: 10px 10px 10px 14px;
  border-radius: 18px;
  background: rgba(10, 10, 11, .72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .08);
}
.docked-text { flex: 1; min-width: 0; }
.docked-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.featured {
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .14);
  font-family: var(--body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.featured[hidden] { display: none; }
.docked-details {
  margin: 3px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.docked-details.is-swapping { animation: swap .6s var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.docked-chat {
  flex: none;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}

/* Odometer digits: each digit is a column of 0-9 that rolls to its value. */
.odo { display: inline-flex; white-space: pre; }
.odo-col { display: inline-block; height: 1.15em; overflow: hidden; }
.odo-strip {
  display: flex;
  flex-direction: column;
  transition: transform .9s cubic-bezier(.2, .9, .25, 1);
}
.odo-strip span { display: block; height: 1.15em; line-height: 1.15em; text-align: center; }

.progress { height: 2px; background: rgba(255, 255, 255, .22); }
.progress i { display: block; height: 100%; background: #FFF; transform-origin: 0 50%; transform: scaleX(var(--prog, 0)); }

.app-nav {
  height: 84px;
  padding: 8px 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0A0A0B;
  border-top: 1px solid #2A2A2E;
}
.app-nav > span {
  position: relative;
  width: 64px;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #A1A1AA;
  font-size: 11px;
  font-weight: 500;
}
.app-nav > span.is-on { color: #FFF; }
.app-nav svg { width: 24px; height: 24px; }
.app-nav .nav-sell i {
  width: 56px;
  height: 40px;
  border-radius: 14px;
  background: var(--accent);
  color: #FFF;
  display: grid;
  place-items: center;
}
.app-nav b {
  position: absolute;
  top: 0;
  right: 12px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--accent);
  color: #FFF;
  font-size: 11px;
  display: grid;
  place-items: center;
}

/* Headline */
.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(10vh, 72px);
  z-index: 4;
  pointer-events: none;
}
.hero-copy > * {
  max-width: var(--copy-w, 760px);
  pointer-events: auto;
  animation: rise 1.1s var(--ease-out) both;
}
.hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.hero-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 6.4vw, 108px);
  line-height: .98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero-lede {
  margin: 28px 0 0;
  max-width: 30em;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  color: rgba(255, 255, 255, .82);
}
.hero-lede { max-width: min(var(--copy-w, 760px), 30em); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 56px;
  padding: 8px 20px 9px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.store small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--muted);
}

.hero-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 4;
  translate: -50% 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  opacity: calc(1 - var(--p, 0) * 10);
  pointer-events: none;
}
.hero-cue span {
  width: 1px;
  height: 34px;
  background: linear-gradient(rgba(255, 255, 255, 0), #FFF);
  transform-origin: top;
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(96px, 13vw, 176px); }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 80px); }
.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.sec-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.3vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.sec-text {
  margin: 24px 0 0;
  max-width: 32em;
  font-size: clamp(17px, 1.3vw, 19px);
  color: var(--muted);
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Film */
.film-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}
.viewfinder {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 440px;
  justify-self: end;
  aspect-ratio: 390 / 600;
  border-radius: 36px;
  overflow: hidden;
  background: var(--video);
  box-shadow: 0 0 0 1px var(--line), 0 50px 100px -40px rgba(0, 0, 0, .8);
}
.vf-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 7s linear;
}
.viewfinder.is-running .vf-image { transform: scale(1); }
.vf-top { position: absolute; inset: 20px 20px auto; display: flex; justify-content: center; }
.vf-rec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 16px;
  background: rgba(0, 0, 0, .55);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.vf-rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.viewfinder.is-running .vf-rec i { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.vf-guide {
  position: absolute;
  inset: 72px 16px auto;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.vf-guide p { margin: 0 0 8px; font-size: 13px; font-weight: 700; }
.vf-shots { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.vf-shots li {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .16);
  font-size: 12px;
  font-weight: 700;
  transition: background-color .35s, color .35s;
}
.vf-shots li::before {
  content: '';
  width: 0;
  height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: width .35s var(--ease-out);
}
.vf-shots li.is-done { background: #FFF; color: #0A0A0B; }
.vf-shots li.is-done::before { width: 12px; }
.vf-bottom { position: absolute; inset: auto 16px 24px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.vf-bar { width: 100%; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.vf-bar i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--vf, 0)); }
.vf-shutter {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 5px solid #FFF;
  display: grid;
  place-items: center;
}
.vf-shutter i { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); }

/* Buy */
.buy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.panel {
  padding: 14px 14px 28px;
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.panel:nth-child(2) { transition-delay: .1s; }
.panel:nth-child(3) { transition-delay: .2s; }
.panel-demo {
  position: relative;
  height: 340px;
  padding: 18px;
  border-radius: 20px;
  background: var(--bg);
  overflow: hidden;
}
.panel-title { margin: 26px 14px 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.panel-text { margin: 8px 14px 0; color: var(--muted); font-size: 16px; }

.demo-label { margin: 0 0 8px; font-size: 12px; font-weight: 500; color: var(--muted); }
.demo-label:not(:first-child) { margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.segmented {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.segmented button {
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.segmented button[aria-checked="true"] { background: var(--ink); color: var(--bg); }

.chat-demo { display: flex; flex-direction: column; padding: 14px; }
.chat-listing {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
}
.chat-listing b { display: block; font-size: 14px; }
.chat-listing small { color: var(--muted); font-size: 12px; }
.chat-thumb {
  width: 36px;
  height: 46px;
  flex: none;
  border-radius: 8px;
  background: url("https://assets.mixkit.co/videos/35540/35540-thumb-720-0.jpg") center / cover, #2A2C30;
}
.chat-log {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}
.msg {
  align-self: flex-start;
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 18px 18px 18px 4px;
  background: var(--surface);
  font-size: 14px;
  line-height: 1.35;
}
.msg.mine { align-self: flex-end; border-radius: 18px 18px 4px 18px; background: var(--accent); color: var(--on-accent); }
.js .chat-demo .msg { opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .35s, transform .45s var(--ease-out); }
.js .chat-demo .msg.is-shown { opacity: 1; transform: none; }
.typing {
  position: absolute;
  left: 14px;
  top: 0;
  display: flex;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 18px 18px 18px 4px;
  background: var(--surface);
  opacity: 0;
  transition: opacity .2s;
}
.typing.is-on { opacity: 1; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.save-demo {
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(10, 10, 11, .25), rgba(10, 10, 11, .65)),
    url("https://assets.mixkit.co/videos/35230/35230-thumb-720-0.jpg") center / cover,
    var(--video);
}
.save-big {
  width: 140px;
  height: 140px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #FFF;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.save-big svg { width: 112px; height: 112px; filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .5)); transition: color .2s; }
.save-big[aria-pressed="true"] svg { color: var(--accent); fill: var(--accent); animation: bump .5s var(--ease-out); filter: drop-shadow(0 10px 40px rgba(224, 0, 122, .55)); }

/* Sell */
.steps {
  --fill: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps::before, .steps::after {
  content: '';
  position: absolute;
  top: 271px;
  left: 7px;
  right: calc(33.333% - 20px);
  height: 2px;
  background: var(--line);
}
.steps::after { background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--fill)); }
.step:nth-child(2) { transition-delay: .1s; }
.step:nth-child(3) { transition-delay: .2s; }
.step-demo {
  height: 240px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.step-num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.step-num::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  transition: background-color .3s, border-color .3s;
}
.step.is-reached .step-num { color: var(--accent-text); }
.step.is-reached .step-num::before { background: var(--accent); border-color: var(--accent); }
.step-title { margin: 14px 0 0; font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.step-text { margin: 10px 0 0; max-width: 24em; color: var(--muted); font-size: 16px; }

.rec-demo { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.rec-time {
  padding: 5px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.rec-btn {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 5px solid #FFF;
  display: grid;
  place-items: center;
}
.rec-btn i { width: 32px; height: 32px; border-radius: 8px; background: var(--accent); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.82); } }
.rec-label { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.fields-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: calc(100% - 32px);
  margin: 0;
}
.fields-demo div {
  padding: 7px 10px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.fields-demo dt { font-size: 10px; color: var(--muted); }
.fields-demo dd { margin: 1px 0 0; font-size: 14px; font-weight: 700; }

.live-demo { display: flex; flex-direction: column; align-items: center; gap: 16px; width: calc(100% - 28px); }
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(224, 0, 122, .14);
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 700;
}
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(224, 0, 122, .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(224, 0, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 0, 122, 0); } }
.live-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 14px;
  border-radius: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.live-card > span:first-child { flex: 1; min-width: 0; }
.live-card b { display: block; font-family: var(--display); font-size: 16px; letter-spacing: -0.02em; }
.live-card small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-chat {
  flex: none;
  height: 38px;
  padding: 0 14px;
  border-radius: 11px;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

/* Safety */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.safety-item:nth-child(2) { transition-delay: .08s; }
.safety-item:nth-child(3) { transition-delay: .16s; }
.safety-item:nth-child(4) { transition-delay: .24s; }
.safety-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.safety-icon svg { width: 22px; height: 22px; }
.safety-icon.is-pink { background: var(--accent); border-color: var(--accent); }
.safety-item h3 { margin: 22px 0 0; font-size: 19px; font-weight: 700; }
.safety-item p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.safety-note {
  margin: clamp(56px, 7vw, 88px) 0 0;
  padding: 22px 26px;
  border-radius: 20px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 17px;
}
.safety-note strong { color: var(--ink); }

/* Download */
.download { overflow: hidden; }
.download-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.download-title {
  margin: 0;
  max-width: 14ch;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 7.4vw, 124px);
  line-height: .96;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.emirates {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0;
  margin: 40px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}
.emirates span + span::before { content: '•'; margin: 0 12px; color: var(--accent); }
.download .stores { justify-content: center; margin-top: 40px; }
.dealer-note { margin: 36px 0 0; color: var(--muted); font-size: 15px; }
.dealer-note a { color: var(--ink); }

/* ---------- Small screens: the hero is the feed, full screen ---------- */
@media (max-width: 899px), (max-height: 559px) {
  .site-nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero, .hero.is-static { height: 100svh; min-height: 640px; }
  .hero-stage { position: relative; height: 100%; }
  .hero-glow, .hero-cue, .island, .app-head, .app-nav, .feed-shade, .bezel { display: none; }
  .feed {
    --p: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    clip-path: none;
  }
  .feed-cinema {
    opacity: 1;
    background:
      linear-gradient(180deg, rgba(10, 10, 11, .82) 0%, rgba(10, 10, 11, .5) 42%, rgba(10, 10, 11, 0) 62%),
      linear-gradient(0deg, rgba(10, 10, 11, .55) 0%, rgba(10, 10, 11, 0) 30%);
  }
  .chrome { width: 100%; height: 100%; transform: none; opacity: 1; pointer-events: auto; }
  .app-bottom { padding-bottom: env(safe-area-inset-bottom); }
  .hero-copy { top: 92px; bottom: auto; }
  .hero-copy .stores { display: none; }
  .hero-title { font-size: clamp(36px, 10.5vw, 56px); }
  .hero-lede { margin-top: 16px; font-size: 16px; }
  .tap-hint { top: 52%; }

  .film-grid, .buy-grid, .steps { grid-template-columns: 1fr; }
  .viewfinder { justify-self: center; }
  .steps { gap: 48px; }
  .steps::before, .steps::after { display: none; }
  .safety-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .safety-grid { grid-template-columns: 1fr; }
}
