/* On a phone the heading scrolls away first (the negative top), so the phone gets the whole screen above the dock. */
.story { position: relative; height: 400svh; }
.story .stick { position: sticky; top: -150px; height: calc(100svh + 150px); overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 70px var(--inset) 0; }
.story .cloud { left: 0; top: 0; }
.story .fade { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--bg), transparent 25%, transparent 55%, var(--bg) 85%); }
.story .copy { position: relative; z-index: 2; text-align: center; }
.story .title { margin-top: 12px; }
.steps { list-style: none; position: relative; z-index: 2; margin-top: 18px; width: 100%; max-width: 420px; height: 64px; }
.step { position: absolute; inset: 0; text-align: center; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .5s var(--spring); }
.step.on { opacity: 1; transform: none; }
.step b { display: block; font-size: var(--t-body); font-weight: 600; }
.step b i { font-style: normal; color: var(--lime-label); margin-right: 8px; font-variant-numeric: tabular-nums; }
.step span { display: block; margin-top: 4px; text-wrap: balance; font-size: var(--t-subhead); color: var(--dim); }
.dots { position: relative; z-index: 2; display: flex; gap: 6px; margin-top: 8px; }
.dots i { width: 18px; height: 3px; border-radius: 2px; background: rgba(240, 236, 228, 0.1); transition: background .3s; }
.dots i.on { background: var(--lime); box-shadow: 0 0 10px var(--lime-light); }
.phone { position: relative; z-index: 2; flex: none; container-type: inline-size; margin-top: 18px; height: min(560px, calc(100svh - 270px)); aspect-ratio: 471 / 1024; border-radius: 36px; overflow: hidden; background: #000; box-shadow: 0 0 0 6px #0b0b0b, 0 0 0 7px #2c2c2c, 0 40px 80px rgba(0,0,0,.6), 0 0 120px var(--lime-glow); }
.phone .screen { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.phone .screen.on { opacity: 1; }
.phone::after { content: ''; position: absolute; z-index: 3; left: 27%; top: 1.4%; width: 46%; height: 4.6%; border-radius: var(--r-pill); background: #000; }
/* Film now, as built: her camera full screen, the next line up top, TikTok's segment bar, the record button. */
.cam { background: #000 center / cover no-repeat; }
.cam .seg { position: absolute; top: 8.5%; left: 5%; right: 5%; display: flex; gap: 3px; }
.cam .seg i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); }
.cam .seg i.done { background: var(--lime); }
.cam .line { position: absolute; top: 11.5%; left: 5%; right: 5%; padding: 10px 12px; border-radius: var(--r-control); background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 12px; line-height: 1.35; font-weight: 600; color: #fff; }
.cam .line small { display: block; font-size: 9px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--lime-label); margin-bottom: 3px; }
.cam .rec { position: absolute; bottom: 6%; left: 50%; translate: -50% 0; width: 54px; height: 54px; border-radius: 50%; border: 4px solid #fff; }
.cam .rec::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--lime); }

/* Watch it, as built: the finished video, Post it, or just save it. */
.watch { background: var(--bg); display: flex; flex-direction: column; align-items: center; padding: 17% 7% 8%; }
.watch h3 { font-size: 7cqw; font-weight: 600; }
.watch small { margin-top: 1cqw; font-size: 3.8cqw; color: var(--faint); }
.watch .vid { width: 74%; margin-top: 6cqw; }
.watch .vid .hook { position: absolute; left: 50%; top: 9%; translate: -50% 0; white-space: nowrap; padding: .14em .4em; border-radius: 1.4cqw; background: #fff; color: #000; font-family: 'TikTok Sans', sans-serif; font-weight: 600; font-size: 6cqw; line-height: 1.5; }
/* Lever's done screen, with her video in it (Theran, Nov 8 — one girl, one sitting, start to finish). */
.clean { background: var(--bg); display: flex; flex-direction: column; padding: 15% 6% 7%; }
.clean .bar { display: flex; align-items: center; gap: 3cqw; font-size: 5cqw; font-weight: 600; }
.clean .bar i { width: 9cqw; height: 9cqw; border-radius: 50%; background: rgba(240,236,228,.1); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 6cqw; line-height: 1; padding-bottom: .6cqw; }
.clean .card { flex: 1; margin-top: 7cqw; border-radius: var(--r-panel); padding: 6cqw 6cqw 5cqw; display: flex; flex-direction: column; align-items: center; }
.clean h3 { font-size: 7.4cqw; font-weight: 300; letter-spacing: -.2cqw; line-height: 1.15; text-align: center; }
.clean h3 span { display: block; color: var(--dim); }
.clean dl { margin-top: 4cqw; display: grid; grid-template-columns: auto auto; column-gap: 2.4cqw; row-gap: 1.6cqw; align-items: baseline; }
.clean dt { justify-self: end; font-size: 4.6cqw; font-weight: 600; }
.clean dd { font-size: 3.6cqw; color: var(--dim); }
.clean .vid { width: 44%; margin-top: 5cqw; }
.clean .go { margin-top: auto; width: 100%; height: 11cqw; display: flex; align-items: center; justify-content: center; border-radius: var(--r-pill); background: var(--lime); color: var(--ink); font-size: 4.2cqw; font-weight: 600; box-shadow: inset 0 1px 0 var(--rim); }
.watch .post { margin-top: auto; width: 100%; height: 13cqw; display: flex; align-items: center; justify-content: center; border-radius: var(--r-pill); background: var(--lime); color: var(--ink); font-size: 4.6cqw; font-weight: 600; box-shadow: inset 0 1px 0 var(--rim); }
.watch .save { margin-top: 4cqw; font-size: 4cqw; color: var(--dim); }

/* ── Two promises ─────────────────────────────────────────── */
.promises { display: grid; gap: 14px; padding: 30px var(--inset) 0; max-width: 1000px; margin: 0 auto; }
.promise { padding: 22px; }
.promise h2 { font-size: var(--t-title); font-weight: 300; letter-spacing: -0.4px; line-height: 1.2; }
.promise p { margin-top: 10px; font-size: var(--t-subhead); line-height: 1.5; color: var(--dim); }
.promise a { color: var(--text); text-underline-offset: 4px; }

/* ── The ending: the app's opener ──────────────────────────── */
.end { position: relative; padding: 120px var(--inset) 60px; text-align: center; overflow: hidden; }
.end .space { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%); mask-image: linear-gradient(to bottom, transparent, #000 35%); background: radial-gradient(circle 420px at 22% 18%, rgba(255,255,255,.07), transparent 70%), radial-gradient(ellipse 80% 70% at 50% 50%, transparent 30%, rgba(0,0,0,.5) 75%, #000 100%); }
.end .grain { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%); mask-image: linear-gradient(to bottom, transparent, #000 35%); }
/* The opener's mark: 206 wide on the app's 393 frame (LUXE.opener.mark). */
.end .keys { position: relative; display: block; width: 206px; height: auto; margin: 0 auto; }
.end .title { position: relative; margin-top: 36px; }
.end .act, .end .fine { display: none; }

@media (min-width: 900px) {

  .story .stick { top: 0; height: 100vh; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto 1fr; align-items: center; padding: 0 7vw; }
  .story .cloud { left: auto; right: -120px; top: -60px; transform: scale(2.1); transform-origin: 100% 0; }
  .story .fade { background: linear-gradient(to bottom, var(--bg), transparent 20%, transparent 70%, var(--bg)), linear-gradient(to right, var(--bg) 18%, transparent 55%); }
  .story .title { font-size: var(--t-hero); letter-spacing: -1.6px; }
  .story .copy { text-align: left; grid-column: 1; grid-row: 1; align-self: end; }
  .steps { grid-column: 1; grid-row: 2; align-self: start; margin-top: 34px; max-width: 460px; height: 80px; }
  .step { text-align: left; }
  .step b { font-size: var(--t-title); font-weight: 300; letter-spacing: -0.4px; }
  .step span { font-size: var(--t-body); }
  .dots { grid-column: 1; grid-row: 3; align-self: start; }
  .phone { grid-column: 2; grid-row: 1 / span 3; justify-self: center; height: min(650px, calc(100vh - 140px)); border-radius: 46px; margin: 0; box-shadow: 0 0 0 7px #0b0b0b, 0 0 0 8px #2c2c2c, 0 50px 100px rgba(0,0,0,.7), 0 0 120px var(--lime-glow); }
  .cam .line { font-size: 15px; padding: 12px 14px; }
  .cam .line small { font-size: 11px; }
  .cam .rec { width: 66px; height: 66px; }

  .promises { grid-template-columns: 1fr 1fr; padding: 60px 48px 0; }

  .end { padding: 160px 48px 100px; }
  .end .keys { width: 400px; }
  .end .title { margin-top: 54px; font-size: var(--t-hero); letter-spacing: -1.6px; }
  .end .act { display: inline-flex; margin-top: 44px; }
  .end .fine { display: block; margin-top: 14px; }
}
