/* viralguy. Flat colour only: no gradients anywhere.
   The canvas is near-black so the clips are the brightest thing on screen.
   Volt (the lime) means money or "yours": prices you pay, the pay button, clips you own.
   Nothing else may use it. The rarest colour on screen reads as the most important,
   so every other use would teach the eye to ignore it.
   Selection, focus and info use plain ink (white) instead. */
:root {
  color-scheme: dark;
  --bg: #0B0B09; --card: #161613; --tint: #24241F; --line: #2E2E28;
  --ink: #F5F3EC; --soft: #9F9D92;
  --volt: #C9F23D; --volt-ink: #12120D;
  --nav: rgba(11, 11, 9, .8); --veil: rgba(0, 0, 0, .72);
  --r: 22px; --ease: cubic-bezier(.2, .8, .2, 1);
  --guy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='15' fill='%23C9F23D'/%3E%3Crect x='5' y='11' width='10' height='7' rx='3' fill='%2312120D'/%3E%3Crect x='17' y='11' width='10' height='7' rx='3' fill='%2312120D'/%3E%3Crect x='14' y='12' width='4' height='2' fill='%2312120D'/%3E%3Cpath d='M11 22q5 4 10 0' stroke='%2312120D' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");  /* the mascot, for "working on it" */
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.4 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
}
h1, h2, h3, p, dl, dd, ul { margin: 0; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif; letter-spacing: -.03em; line-height: 1.08; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 0 24px; background: var(--nav); backdrop-filter: saturate(1.6) blur(20px); -webkit-backdrop-filter: saturate(1.6) blur(20px); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -.04em; }
.guy { width: 30px; height: 30px; fill: var(--volt-ink); transition: transform .5s var(--ease); }
.guy .face { fill: var(--volt); }
.guy .smile { fill: none; stroke: var(--volt-ink); stroke-width: 2; stroke-linecap: round; }
.brand:hover .guy { transform: rotate(-14deg) scale(1.08); }
.nav nav { display: flex; align-items: center; gap: 8px; }
.nav nav a { text-decoration: none; color: var(--soft); font-size: 15px; padding: 8px 10px; }
.nav nav a:hover { color: var(--ink); }
.pill { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 99px; background: var(--tint); transition: transform .2s var(--ease); }
.pill.money { background: var(--volt); color: var(--volt-ink); }
.pill:active { transform: scale(.96); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 99px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .2s var(--ease), opacity .2s; white-space: nowrap; }
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.97); }
.btn.quiet { background: var(--tint); color: var(--ink); }
.btn.money { background: var(--volt); color: var(--volt-ink); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.rise { animation: rise .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* intro: what this is, in the first second, without pushing the clips below the fold */
.intro { padding: 30px 0 6px; }
.intro h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -.045em; }
.intro p { margin-top: 8px; font-size: clamp(15px, 1.6vw, 18px); color: var(--soft); }
.intro p b { color: var(--volt); font-weight: 700; }

/* sources: the long videos the clips come from */
.sources { display: flex; gap: 12px; padding: 18px 0 6px; overflow-x: auto; scrollbar-width: none; }
.sources::-webkit-scrollbar { display: none; }
.source { flex: none; display: flex; align-items: center; gap: 12px; padding: 7px 18px 7px 7px; border-radius: 18px; background: var(--card);
  text-align: left; outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .2s, transform .3s var(--ease); }
.source:hover { transform: translateY(-2px); }
.source[aria-pressed=true] { outline-color: var(--ink); }
.source img { width: 96px; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; background: #000; }
.source b { display: block; font-size: 15px; }
.source .nums { display: flex; gap: 14px; margin-top: 4px; }
.source .nums span { font-size: 12px; color: var(--soft); }
.source .nums .logo { width: 14px; height: 14px; margin-right: 3px; }
.source .nums strong { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); line-height: 1.1; }
.source .cutting, .source .on { display: block; font-size: 12px; color: var(--soft); }
.source .on { margin-top: 5px; }

.logo { width: 18px; height: 18px; flex: none; vertical-align: -4px; margin-right: 6px; color: var(--ink); }
.chipb[aria-pressed=true] .logo { color: var(--bg); }
.source .on .logo { width: 20px; height: 20px; }

/* filters */
.filters { position: sticky; top: 60px; z-index: 15; display: flex; align-items: center; gap: 8px; padding: 12px 0;
  background: var(--bg); overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chipb { flex: none; font-size: 14px; font-weight: 600; padding: 9px 15px; border-radius: 99px; background: var(--card); color: var(--soft);
  transition: background .2s, color .2s, transform .2s var(--ease); }
.chipb:hover { color: var(--ink); }
.chipb:active { transform: scale(.95); }
.chipb[aria-pressed=true] { background: var(--ink); color: var(--bg); }
.sep { flex: none; width: 1px; height: 22px; background: var(--line); margin: 0 6px; }
.count { flex: none; margin-left: auto; padding-left: 12px; font-size: 14px; color: var(--soft); }

/* the feed */
.feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; padding: 6px 0 20px; }
.tile { position: relative; border-radius: var(--r); background: var(--card); overflow: hidden;
  outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .2s, transform .35s var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile.on { outline-color: var(--ink); }
.frame { position: relative; aspect-ratio: 9/16; background: #000; cursor: pointer; }
.frame img, .frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 10px; font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 8px; background: rgba(11,11,9,.78); color: #fff; }
.tag.l { left: 10px; } .tag.r { right: 10px; }
.tag.new { background: var(--ink); color: var(--bg); transform: rotate(-4deg); }
.add { position: absolute; right: 10px; bottom: 10px; min-width: 46px; height: 46px; padding: 0 16px; border-radius: 99px; display: grid; place-items: center;
  background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 700; line-height: 1; text-decoration: none; transition: transform .25s var(--ease), background .2s; }
.add:hover { transform: scale(1.1); }
.add:active { transform: scale(.92); }
.add[aria-pressed=true] { padding: 0; width: 46px; background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); font-size: 20px; font-weight: 800; }
.add.got { padding: 0; width: 46px; background: var(--volt); color: var(--volt-ink); font-size: 20px; font-weight: 800; }
.meta { padding: 12px 14px 14px; }
.meta h3 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta .nums { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 12px; color: var(--soft); }
.meta .nums strong { font-size: 20px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); margin-right: 3px; }
.meta .nums .one { font-weight: 700; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; white-space: nowrap; }
.meta .price { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--ink); }
.empty { grid-column: 1 / -1; padding: 80px 0; text-align: center; color: var(--soft); }

/* section heads */
.head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 56px 0 16px; scroll-margin-top: 80px; }
.head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.head p { color: var(--soft); font-size: 14px; }

/* earnings: folded inside a clip, for whoever wants the reassurance */
.earn { border-top: 1px solid var(--line); padding-top: 14px; }
.earn summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--soft); list-style: none; }
.earn summary::-webkit-details-marker { display: none; }
.earn summary::after { content: " +"; }
.earn[open] summary::after { content: " −"; }
.earn summary:hover { color: var(--ink); }
.earn-in { display: grid; gap: 4px; margin-top: 14px; }
.earn label { font-size: 14px; color: var(--soft); margin-top: 10px; }
.earn label b { color: var(--ink); }
.out .sum { font-size: 34px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--volt); }
.out .catch { margin-top: 8px; font-size: 13px; color: var(--soft); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: var(--tint); margin: 10px 0 14px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); border: 4px solid var(--card); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 4px solid var(--card); cursor: grab; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg .chipb { background: var(--tint); }
.seg .chipb[aria-pressed=true] { background: var(--ink); }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pack { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; background: var(--card); border-radius: var(--r); }
.pack h3 { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--soft); }
.pack .amt { font-size: 40px; font-weight: 800; letter-spacing: -.045em; line-height: 1.05; }
.pack small { font-size: 14px; color: var(--soft); }
.pack .btn { margin-top: auto; }
.pack .gap { height: 14px; }
.sticker { position: absolute; right: 14px; top: -12px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 13px;
  padding: 6px 11px; border-radius: 10px; transform: rotate(4deg); transition: transform .35s var(--ease); }
.pack:hover .sticker { transform: rotate(-3deg) scale(1.05); }
.gets { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; padding: 0; list-style: none; font-size: 14px; color: var(--soft); }
.gets li::before { content: "✓"; font-weight: 800; margin-right: 8px; color: var(--ink); }
.testmode { margin-top: 12px; font-size: 13px; color: var(--soft); }

/* cart bar */
.bar { position: fixed; left: 50%; bottom: 18px; z-index: 30; transform: translateX(-50%); width: min(680px, calc(100% - 24px));
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 99px;
  background: var(--ink); color: var(--bg); animation: up .45s var(--ease) both; }
@keyframes up { from { opacity: 0; transform: translate(-50%, 24px); } }
.stack { display: flex; flex: none; }
.stack img { width: 30px; height: 44px; object-fit: cover; border-radius: 7px; border: 2px solid var(--ink); margin-left: -10px; background: #000; }
.stack img:first-child { margin-left: 0; }
.bar .what { flex: 1; min-width: 0; }
.bar .what b { display: block; font-size: 17px; }
.bar .what span { display: block; font-size: 13px; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar .btn { background: var(--volt); color: var(--volt-ink); }
.bar .btn.quiet { background: transparent; color: var(--bg); box-shadow: inset 0 0 0 1.5px currentColor; }

/* sheets */
.sheet { border: 0; padding: 0; width: min(540px, calc(100% - 24px)); max-height: calc(100dvh - 40px); border-radius: 28px; background: var(--card); color: var(--ink); }
.sheet.wide { width: min(880px, calc(100% - 24px)); }
.sheet::backdrop { background: var(--veil); }
.keep { margin: 4px 24px 24px; display: grid; gap: 8px; }
.keep small { color: var(--soft); }
.keep .row { display: flex; gap: 8px; }
.keep input { flex: 1; min-width: 0; background: var(--tint); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: 13px ui-monospace, Menlo, monospace; }
.sheet[open] { animation: pop .35s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.sheet .in { padding: 28px; outline: none; }
.sheet h2 { font-size: 28px; font-weight: 800; padding-right: 40px; }
.mark { background: var(--volt); color: var(--volt-ink); padding: 0 .14em; border-radius: .16em; }
.sheet .x { position: absolute; right: 16px; top: 16px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); font-size: 18px; }
.view { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 28px; align-items: start; }
.view video { width: 100%; aspect-ratio: 9/16; border-radius: 18px; background: #000; display: block; }
.view .side { display: flex; flex-direction: column; gap: 18px; }
.stats { display: flex; flex-wrap: wrap; gap: 22px; }
.stats dd { font-size: 24px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stats dt { font-size: 12px; color: var(--soft); margin-top: 5px; }
.stats .logo { width: 14px; height: 14px; margin-right: 4px; }
.buy { display: grid; gap: 8px; }
.buy .btn { width: 100%; }
.buy p { font-size: 13px; color: var(--soft); text-align: center; }
.post-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 14px; color: var(--soft); }
.stats { padding-top: 14px; border-top: 1px solid var(--line); }
.copybox { padding: 16px; background: var(--tint); border-radius: 14px; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 190px; overflow-y: auto; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; }
.rows { margin: 20px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.rows li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rows img { width: 40px; height: 71px; object-fit: cover; border-radius: 8px; flex: none; background: #000; }
.rows .t { flex: 1; min-width: 0; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows .t small { display: block; font-weight: 400; color: var(--soft); }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--soft); }
.total b { font-size: 30px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.sheet .go { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.err { margin-top: 12px; font-size: 14px; font-weight: 600; }

.toast { position: fixed; left: 50%; top: 74px; z-index: 60; transform: translateX(-50%); padding: 11px 18px; border-radius: 99px;
  background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 600; animation: rise .3s var(--ease) both; }
.skel { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; padding-top: 110px; }
.skel i { aspect-ratio: 9/16; border-radius: var(--r); background: var(--card); }
@keyframes breathe { to { opacity: .45; } }
.oops { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 80px 0; color: var(--soft); }
.oops b { color: var(--ink); }
.wait { margin-top: 10px; color: var(--soft); }
.packs { display: grid; gap: 10px; margin: 22px 0 12px; }
.packrow { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 16px 18px; border-radius: 18px;
  background: var(--tint); text-align: left; transition: transform .2s var(--ease), outline-color .2s; outline: 2px solid transparent; outline-offset: -2px; }
.packrow:hover { outline-color: var(--ink); }
.packrow:active { transform: scale(.98); }
.packrow b { font-size: 18px; }
.packrow span { grid-row: 2; font-size: 13px; color: var(--soft); }
.packrow strong { grid-row: 1 / 3; grid-column: 2; font-size: 22px; font-weight: 800; color: var(--volt); }
#just { width: 100%; }
.foot { max-width: 1320px; margin: 72px auto 0; padding: 26px 24px 130px; border-top: 1px solid var(--line); font-size: 13px; color: var(--soft); }
.foot b { color: var(--ink); }

@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .wrap, .nav { padding-left: 14px; padding-right: 14px; }
  .feed { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .view { grid-template-columns: 1fr; }
  .skel { grid-template-columns: repeat(2, 1fr); gap: 10px; padding-top: 90px; }
  .view video { max-height: 52dvh; width: auto; margin: 0 auto; }
  .sheet .in { padding: 22px; }
  .intro { padding-top: 20px; }
  .head { flex-direction: column; gap: 4px; margin-top: 44px; }
  .count { display: none; }
  .bar { border-radius: 26px; flex-wrap: wrap; }
  .bar .btn { flex: 1; }
  .meta .nums strong { font-size: 18px; }
}
/* ---------- the clipping app ("/") ----------
   One job per screen at a time: the field is the biggest thing until a video is in,
   then the live card is. Motion only where something real happens: a card arriving,
   a step finishing, the frames Claude is looking at, clips landing. */
.studio .hero h1 { font-size: clamp(38px, 6.4vw, 72px); font-weight: 800; letter-spacing: -.05em; line-height: 1.02; }
.studio .hero p { margin: 16px auto 0; max-width: 560px; font-size: clamp(15px, 1.7vw, 18px); color: var(--soft); }
.studio .hero p b { color: var(--volt); font-weight: 700; }
.paste { display: flex; gap: 8px; margin-top: 30px; padding: 8px; border-radius: 99px; background: var(--card);
  outline: 2px solid transparent; transition: outline-color .2s; }
.paste:focus-within { outline-color: var(--ink); }
.paste input { flex: 1; min-width: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 17px; padding: 0 18px; outline: none; }
.paste input::placeholder { color: var(--soft); }
.paste .btn { min-height: 52px; padding: 0 26px; font-size: 17px; }
.shake { animation: shake .4s var(--ease); }
@keyframes shake { 20% { transform: translateX(-8px); } 45% { transform: translateX(7px); } 70% { transform: translateX(-4px); } }
.under { display: flex; justify-content: center; align-items: center; gap: 10px 22px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; color: var(--soft); }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border-radius: 8px; padding: 2px 4px; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.check.ping { animation: ping .9s var(--ease); }
@keyframes ping { 30% { color: var(--ink); transform: scale(1.06); } }
.upload { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.studio .err { text-align: center; color: var(--ink); }

.jobs { display: grid; gap: 16px; max-width: 980px; margin: 24px auto 0; }
.hint { text-align: center; color: var(--soft); font-size: 14px; padding: 24px 0; }
.job { padding: 22px; border-radius: 26px; background: var(--card); animation: cardin .55s var(--ease) both; }
@keyframes cardin { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.job header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.job header h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job header span { flex: none; font-size: 14px; color: var(--soft); }
.job.done header span { color: var(--soft); }

/* the live card: steps, a bar that fills, what's happening right now */
.track { display: flex; gap: 6px; margin: 18px 0 12px; padding: 0; list-style: none; }
.track li { flex: 1; font-size: 13px; font-weight: 600; color: var(--soft); display: flex; align-items: center; gap: 7px; transition: color .3s; }
.track li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--tint); transition: background .3s, transform .3s var(--ease); }
.track li.done { color: var(--ink); }
.track li.done::before { background: var(--ink); }
.track li.on { color: var(--ink); }
.track li.on::before { width: 20px; height: 20px; background: var(--guy) center / contain no-repeat; animation: bob 1.2s var(--ease) infinite; }
/* the guy nods along while a step runs: a character working, not a warning light pulsing */
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-3px) rotate(-10deg); } 60% { transform: translateY(0) rotate(8deg); } }
.prog { height: 6px; border-radius: 3px; background: var(--tint); overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease); }
.now { margin-top: 10px; font-size: 14px; color: var(--soft); }
.now.bad { color: var(--ink); }
/* while Claude watches: the real frames it is looking at, with a line moving over them */
.sheetscan { position: relative; margin-top: 16px; border-radius: 16px; overflow: hidden; background: #000; animation: cardin .5s var(--ease) both; }
.sheetscan img { display: block; width: 100%; opacity: .85; }
.sheetscan i { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ink); box-shadow: 0 0 0 1px rgba(11, 11, 9, .4);
  animation: scan 2.6s linear infinite; }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(var(--h, 520px)); } }

.pay { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.pay p { color: var(--soft); }
.pay b { color: var(--ink); }

/* done: the clips land */
.done-h { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 12px; }
.done-h b { font-size: 15px; }
.job .feed { padding: 0; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.job .tile { background: var(--tint); }
.copy { white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--ink); padding: 6px 10px; border-radius: 99px; background: var(--card); }
.copy:hover { background: var(--bg); }
.keepfor { margin-top: 12px; font-size: 13px; color: var(--soft); }
.moods { font-size: 16px !important; letter-spacing: 0 !important; text-transform: capitalize; }

/* drop a file anywhere */
.drop { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: var(--veil); animation: rise .2s ease both; }
.drop div { display: grid; gap: 6px; text-align: center; padding: 56px 72px; border-radius: 32px; border: 2px dashed var(--ink); background: var(--card); }
.drop b { font-size: 40px; font-weight: 800; letter-spacing: -.04em; }
.drop span { color: var(--soft); }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

@media (max-width: 760px) {
  .paste { border-radius: 22px; flex-direction: column; }
  .paste input { padding: 14px 12px; }
  .track li { font-size: 0; justify-content: center; }  /* dots only on phones; the line below names the step */
  .track li::before { width: 10px; height: 10px; }
  .job { padding: 18px; border-radius: 22px; }
  .job .feed { grid-template-columns: repeat(2, 1fr); }
}

/* hero: what's taking off on YouTube drifts behind the headline. A flat veil keeps the
   words readable; no gradient anywhere, so the veil is one solid colour. */
.studio .hero { position: relative; max-width: none; padding: 0; overflow: hidden; }
.hero-in { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: clamp(48px, 10vh, 110px) 24px 40px; text-align: center; }
.wall { position: absolute; inset: -40px 0; display: grid; align-content: center; gap: 14px; transform: rotate(-4deg) scale(1.08); }
.wall::after { content: ""; position: absolute; inset: 0; background: rgba(11, 11, 9, .84); }
.wall .row { display: flex; gap: 14px; width: max-content; animation: drift 90s linear infinite; }
.wall .row.b { animation-direction: reverse; animation-duration: 110s; }
.wall img { width: 300px; aspect-ratio: 16/9; object-fit: cover; border-radius: 16px; background: var(--card); }
@keyframes drift { to { transform: translateX(-50%); } }

/* the word on a moving picture (from Opus's video pill, made flat and ours) */
.vidpill { position: relative; display: inline-grid; place-items: center; padding: 0 .28em .06em; border-radius: .4em; overflow: hidden;
  vertical-align: baseline; background: var(--card); isolation: isolate; }
.vidpill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: opacity .26s, transform .6s var(--ease); }
.vidpill img.swap { opacity: 0; transform: scale(1.08); }
.vidpill::after { content: ""; position: absolute; inset: 0; background: rgba(11, 11, 9, .38); z-index: -1; }
.vidpill b { font-weight: 800; color: var(--ink); min-width: 3.2ch; }

.paste.glow { animation: glow 1.2s var(--ease); }
@keyframes glow { 0% { outline-color: var(--ink); transform: scale(1.02); } 100% { outline-color: transparent; transform: none; } }

/* the paste bar that follows you down */
.paste.float { position: fixed; z-index: 25; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: min(560px, calc(100% - 24px));
  margin: 0; transform: translateX(-50%); box-shadow: 0 0 0 1px var(--line); animation: up .4s var(--ease) both; }
.paste.float input { font-size: 15px; }
.paste.float .btn { min-height: 44px; font-size: 15px; }

/* how it works, shown not told: one long video fans out into scored vertical clips */
.demo { display: grid; justify-items: center; gap: 22px; padding: 26px 0 8px; }
.demo .long { position: relative; width: min(420px, 80%); aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: var(--card);
  animation: demoLong 6s var(--ease) infinite; }
.demo .long img, .demo .cut img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.demo .fan { display: flex; gap: 12px; }
.demo .cut { position: relative; width: clamp(64px, 11vw, 110px); aspect-ratio: 9/16; border-radius: 14px; overflow: hidden; background: var(--card);
  opacity: 0; animation: demoCut 6s var(--ease) infinite; animation-delay: calc(var(--k) * 140ms); }
.demo .cut img { object-position: calc(20% + var(--k) * 20%) 50%; }
.demo .score { position: absolute; left: 6px; bottom: 6px; font-size: 13px; font-weight: 800; padding: 3px 7px; border-radius: 8px; background: var(--ink); color: var(--bg); }
@keyframes demoLong { 0%, 100% { transform: scale(1); } 20% { transform: scale(.97); } }
@keyframes demoCut { 0%, 18% { opacity: 0; transform: translateY(-40px) scale(.6); } 30%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(10px); } }

/* trending */
.trend { padding-bottom: 40px; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tcard { border-radius: var(--r); background: var(--card); overflow: hidden; transition: transform .35s var(--ease); }
.tcard:hover { transform: translateY(-4px); }
.tframe { position: relative; aspect-ratio: 16/9; background: #000; }
.tframe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .16s; }
.tframe img.swap { opacity: .25; }
.tmeta { padding: 12px 14px 14px; }
.tmeta h3 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.trow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.trow span { font-size: 13px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clipit { flex: none; min-height: 34px; padding: 0 14px; font-size: 14px; }

/* clips appearing as they're cut */
.job .picks { margin-top: 16px; }
.tile.wait .frame { background: var(--tint); }
.tile.wait.next .cutnote::before { content: ""; width: 44px; height: 44px; background: var(--guy) center / contain no-repeat; animation: bob 1.2s var(--ease) infinite; }
.tile.wait:not(.next) .cutnote::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); }
.tile.wait h3 { color: var(--soft); }
.cutnote { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--soft); }
.tile.land { animation: land .6s var(--ease) both; }
@keyframes land { from { opacity: 0; transform: scale(.9) translateY(10px); } }
.tag.score { background: var(--ink); color: var(--bg); }
.eta { color: var(--soft); }

@media (max-width: 760px) {
  .wall img { width: 200px; }
  .hero-in { padding-top: 40px; }
  .paste.float { border-radius: 99px; flex-direction: row; }
  .paste.float input { padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
