@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --bg: #08090a;
  --bg-2: #0f1011;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f7f8f8;
  --dim: #8a8f98;
  --dimmer: #62666d;
  --cut: #ff453a;
  --keep: #f7f8f8;
  --radius: 14px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; }
body {
  margin: 0;
  color: var(--text);
  font: 400 17px/1.55 "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:where(a) { text-decoration: none; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }

/* Page rails: two hairlines down the content edges (Supercut's boxed frame). */
.rails { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.rails::before, .rails::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.rails::before { left: max(23px, calc(50% - var(--wrap) / 2 - 1px)); }
.rails::after { right: max(23px, calc(50% - var(--wrap) / 2 - 1px)); }

/* Two-tone headings: the second clause sits back. */
h1 .h-2 i { font-style: normal; color: #3a3c40; transition: color 0.9s var(--ease); }
h1 .h-2 i.lit { color: var(--text); }
h2 span { color: #5d6169; }
.head { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 60px; align-items: end; }
.head h2 { max-width: 13em; }
.head p { color: var(--dim); font-size: 18px; max-width: 26em; padding-bottom: 6px; }
.panel { position: relative; margin-top: 64px; border-radius: 22px; overflow: hidden; background: #0c0d0e; box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 100px rgba(0, 0, 0, 0.55); }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
h1 { font-size: clamp(48px, 7.4vw, 104px); letter-spacing: -0.045em; }
h2 { font-size: clamp(36px, 4.6vw, 64px); }
h2.wide { font-size: clamp(40px, 6vw, 84px); }
p { margin: 0; }
.kicker { color: var(--dim); font-size: 15px; margin-bottom: 20px; }
.lede { color: var(--dim); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 34em; margin-top: 28px; }
.narrow { max-width: 38em; }
.fine { color: var(--dimmer); font-size: 14px; }

mark {
  color: var(--text);
  background: linear-gradient(180deg, transparent 8%, rgba(255, 69, 58, 0.22) 8%, rgba(255, 69, 58, 0.22) 94%, transparent 94%);
  box-shadow: inset 0 0 0 1px rgba(255, 69, 58, 0.45);
  border-radius: 12px;
  padding: 0 0.16em;
  white-space: nowrap;
}

/* Nav: neutral glass */
.nav {
  position: fixed; inset: 14px 0 auto; z-index: 50;
  width: min(1100px, calc(100% - 28px)); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 9px 9px 9px 18px;
  border-radius: 16px;
  background: rgba(14, 15, 16, 0.55);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: background 0.3s;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; font-size: 16px; }
.logo { width: 24px; height: 24px; border-radius: 7px; background: #000; box-shadow: inset 0 0 0 1px var(--line-2); display: inline-flex; align-items: center; justify-content: center; gap: 3px; }
.logo i { width: 7px; height: 3px; border-radius: 2px; background: #fff; }
.logo i + i { background: #fff; }
.logo::after { content: none; }
.links { display: flex; gap: 28px; font-size: 14px; color: var(--dim); }
.links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text); color: #08090a;
  border-radius: 12px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.btn:hover { transform: translateY(-1px); background: #fff; }
.btn-small { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.store { padding: 12px 20px 12px 16px; }
.store svg { width: 20px; height: 24px; }
.store span { display: flex; flex-direction: column; line-height: 1.05; font-size: 19px; }
.store small { font-size: 11px; font-weight: 500; opacity: 0.7; letter-spacing: 0; }

/* Hero */
.hero { position: relative; padding: 170px 0 0; }
.glow {
  position: absolute; inset: 0 0 auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% -8%, rgba(255, 255, 255, 0.11), transparent 70%);
}
.hero-copy { position: relative; }
.hero h1 span { display: block; }
.cta-row { display: flex; align-items: center; gap: 22px; margin-top: 40px; flex-wrap: wrap; }

.stage-wrap { perspective: 1800px; margin-top: 80px; padding: 0 24px; }
.stage {
  width: min(1240px, 100%); margin: 0 auto;
  transform-origin: 50% 0%;
  transform: rotateX(22deg) scale(0.94);
  will-change: transform;
}
.desk {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg, #111214, #0b0c0d);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.desk::after { /* fade to page at the bottom, like Linear */
  content: ""; position: absolute; inset: auto 0 0; height: 32%;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.desk-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.desk-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2a2b2e; }
.desk-bar em { margin-left: 12px; font-style: normal; font-size: 13px; color: var(--dim); }
.desk-body { display: grid; grid-template-columns: 1.15fr 0.85fr 0.62fr; gap: 28px; padding: 34px 34px 0; align-items: start; height: clamp(440px, 44vw, 600px); overflow: hidden; }

.script { padding-top: 8px; }
.script .l { font-size: clamp(16px, 1.55vw, 21px); line-height: 1.35; padding: 9px 0 9px 16px; border-left: 2px solid transparent; transition: color 0.5s, opacity 0.5s; position: relative; }
.script .l.cut { color: var(--dim); }
.script .l.cut.on { color: var(--cut); border-left: 2px dashed rgba(255, 69, 58, 0.7); opacity: 0.85; }
.script .l.cut.on::after { content: attr(data-tag); display: block; font-size: 12px; color: var(--cut); text-decoration: none; margin-top: 2px; opacity: 0.9; }

.phone { margin: 0; border-radius: 30px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px rgba(0, 0, 0, 0.5); }
.phone video { width: 100%; aspect-ratio: 9 / 14; object-fit: cover; }
.phone figcaption { display: flex; align-items: baseline; gap: 8px; padding: 14px 16px 18px; font-size: 13px; color: var(--dim); }
.phone figcaption b { color: var(--text); font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.phone figcaption i { margin-left: auto; font-style: normal; color: var(--cut); font-variant-numeric: tabular-nums; }

.mini-shorts { display: grid; gap: 14px; }
.mini { position: relative; aspect-ratio: 9 / 11; border-radius: 16px; background: var(--img) center / cover; box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
.mini::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 35%, transparent 60%, rgba(0, 0, 0, 0.6)); }
.mini b, .mini span { position: absolute; z-index: 1; font-size: 12px; }
.mini b { top: 10px; left: 12px; font-weight: 500; color: rgba(255, 255, 255, 0.85); }
.mini span { bottom: 10px; left: 12px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }

/* Blocks */
.block { padding: 150px 0; border-top: 1px solid var(--line); position: relative; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.rev .copy { order: 2; }
.copy h2 + p { color: var(--dim); font-size: 19px; margin-top: 26px; max-width: 30em; }
.panel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line-2); pointer-events: none; z-index: 5; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 56px; }
.facts div { padding: 26px 26px 0 0; }
.facts div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.facts dt { font-weight: 600; letter-spacing: -0.01em; }
.facts dd { margin: 6px 0 0; color: var(--dim); font-size: 15px; }

/* Cut: transcript card floats over the footage (Supercut's "Polish it further"). */
.cut-panel { height: clamp(600px, 54vw, 690px); }
.cp-video { position: absolute; top: 0; right: 0; height: 100%; width: 58%; object-fit: cover; object-position: 50% 30%;
  -webkit-mask: linear-gradient(90deg, transparent, #000 38%); mask: linear-gradient(90deg, transparent, #000 38%); }
.cut-panel::before { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(12, 13, 14, 0.85)); z-index: 1; pointer-events: none; }
.transcript {
  position: absolute; z-index: 2; left: 48px; top: 48px; width: min(540px, 52%);
  border-radius: 18px; background: rgba(16, 17, 18, 0.78);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px rgba(0, 0, 0, 0.5); padding: 10px 28px 22px;
}
.tl.kept { color: var(--text); }
.tl.kept::after { content: attr(data-why) " · kept"; display: block; font-size: 12px; margin-top: 3px; color: var(--dim); }
.pop { position: absolute; z-index: 3; display: flex; gap: 2px; padding: 4px; border-radius: 12px; background: #1b1c1e; box-shadow: inset 0 0 0 1px var(--line-2), 0 12px 30px rgba(0, 0, 0, 0.5); font-size: 13px; font-weight: 500; opacity: 0; transform: translateY(6px) scale(0.96); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); pointer-events: none; }
.pop.show { opacity: 1; transform: none; }
.pop span { padding: 6px 12px; border-radius: 8px; color: var(--dim); transition: background 0.2s, color 0.2s; }
.pop span.on { background: rgba(255, 69, 58, 0.16); color: var(--cut); }
.pop span.hit { background: var(--text); color: #08090a; }
.cursor { position: absolute; z-index: 4; left: 0; top: 0; width: 22px; height: 22px; opacity: 0; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)); pointer-events: none; }

/* Film: the promo, full width. */
.film-panel video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; }

/* Scenes: one wide cinematic band. */
.scene-band video { width: 100%; aspect-ratio: 1440 / 854; object-fit: cover; }
.sb-labels { position: absolute; inset: auto 0 0; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); padding: 60px 0 18px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6)); }
.sb-labels span { padding-left: 20px; font-size: 15px; font-weight: 500; }
.sb-labels span + span { border-left: 1px solid rgba(255, 255, 255, 0.18); }
.t-head { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.t-head b { color: var(--text); font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.tl { font-size: 20px; line-height: 1.4; padding: 10px 0; color: var(--text); transition: color 0.4s, opacity 0.4s; }
.tl:not(.keep).gone { color: var(--cut); opacity: 0.8; }
.tl:not(.keep).gone::after { content: attr(data-why) " · tap to keep"; display: block; font-size: 12px; text-decoration: none; margin-top: 3px; }

/* Shorts */
.timeline { position: relative; height: 118px; margin: 70px 0 0; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.wave { position: absolute; inset: 46px 14px 22px; display: flex; align-items: center; gap: 2px; }
.wave i { flex: 1; min-width: 0; border-radius: 1px; background: rgba(255, 255, 255, 0.16); }
.seg {
  position: absolute; top: 40px; bottom: 16px; left: var(--a); width: var(--w);
  border-radius: 8px; background: rgba(255, 69, 58, 0.18);
  box-shadow: inset 0 0 0 1.5px rgba(255, 69, 58, 0.85);
  transform: scaleY(0.2); opacity: 0; transform-origin: 50% 100%;
}
/* Timestamp chip over each moment (TwelveLabs-style). */
.seg::before { content: attr(data-t); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--text); background: #1f2022; padding: 3px 7px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); }
.seg::after { content: ""; position: absolute; bottom: 100%; left: 50%; width: 1px; height: 8px; background: rgba(255, 69, 58, 0.85); }
.tl-labels { position: absolute; inset: auto 14px 4px; display: flex; justify-content: space-between; font-size: 11px; color: var(--dimmer); font-variant-numeric: tabular-nums; }

.rail { margin-top: 56px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rail-track { display: flex; gap: 18px; width: max-content; animation: rail 48s linear infinite; padding: 6px 0; }
.rail:hover .rail-track { animation-play-state: paused; }
@keyframes rail { to { transform: translateX(-50%); } }
.short {
  position: relative; width: 236px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden;
  background: var(--img) center / cover; box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s var(--ease);
}
.short:hover { transform: translateY(-6px); }
.short::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 32%, transparent 62%, rgba(0, 0, 0, 0.75)); }
.short.look-warm { filter: sepia(0.18) saturate(1.15) contrast(1.02); }
.short.look-mono { filter: grayscale(1) contrast(1.1); }
.short.look-cine { filter: contrast(1.12) saturate(0.85) brightness(0.92); }
.hook { position: absolute; z-index: 1; top: 18px; left: 14px; right: 14px; font-weight: 800; font-size: 19px; line-height: 1.08; letter-spacing: -0.01em; text-transform: uppercase; text-align: center; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
.hook em { font-style: normal; color: #ffd60a; }
.short footer { position: absolute; z-index: 1; inset: auto 14px 12px; display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: rgba(255, 255, 255, 0.8); }
.short footer b { font-size: 22px; font-weight: 600; color: #fff; letter-spacing: -0.02em; }

.points { list-style: none; padding: 0; margin: 70px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.points li { padding: 26px 26px 0 0; display: grid; gap: 8px; }
.points li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.points b { font-weight: 600; letter-spacing: -0.01em; }
.points span { color: var(--dim); font-size: 15px; }

/* Scenes */
.looks { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.looks span { color: var(--dimmer); transition: color 0.3s; }
.looks span.on { color: var(--text); }

/* Tools */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.tools figure { margin: 0; border-radius: var(--radius); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.crop { aspect-ratio: 4 / 3.4; background: #161719 var(--img) 50% var(--y, 100%) / 100% auto no-repeat; border-bottom: 1px solid var(--line); }
.tools figcaption { padding: 20px 22px 24px; display: grid; gap: 6px; }
.tools b { font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.tools span { color: var(--dim); font-size: 15px; }
.also { margin-top: 34px; color: var(--dim); font-size: 17px; max-width: 46em; }

/* Languages */
.langs .lang-words { display: flex; flex-wrap: wrap; gap: 0 0.4em; font-size: clamp(54px, 9vw, 132px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; margin-bottom: 34px; }
.lang-words span { color: #2a2b2e; transition: color 0.6s var(--ease); }
.lang-words span.on { color: var(--text); }
.langs p.narrow { color: var(--dim); }

/* Pricing */
.price-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.toggle { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.toggle button { font: inherit; font-size: 14px; color: var(--dim); background: none; border: 0; padding: 8px 14px; border-radius: 9px; cursor: pointer; }
.toggle button small { color: var(--cut); margin-left: 6px; font-size: 12px; }
.toggle button[aria-selected="true"] { background: #1c1d1f; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 50px 0 26px; }
.plan { border-radius: var(--radius); padding: 30px 28px 32px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.plan.best { background: linear-gradient(180deg, #17181a, #101112); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 30px 60px rgba(0, 0, 0, 0.45); }
.plan h3 { font-size: 22px; letter-spacing: -0.02em; display: flex; justify-content: space-between; align-items: baseline; }
.plan h3 em { font-style: normal; font-size: 13px; font-weight: 500; color: var(--cut); }
.price { margin-top: 22px; display: flex; align-items: baseline; gap: 8px; }
.price b { font-size: 44px; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.price span { color: var(--dim); }
.trial { color: var(--dim); font-size: 14px; margin-top: 4px; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; border-top: 1px solid var(--line); padding-top: 22px; }
.plan li { font-size: 15px; padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 2px; border-radius: 1px; background: var(--text); }

/* Privacy, FAQ */
.privacy p { color: var(--dim); font-size: 19px; }
.privacy a { color: var(--text); border-bottom: 1px solid var(--line-2); }
#faq .split { align-items: start; }
.qa details { border-top: 1px solid var(--line); }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 19px; font-weight: 500; display: flex; justify-content: space-between; gap: 20px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--dim); font-weight: 400; transition: transform 0.3s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa p { color: var(--dim); padding: 0 0 22px; max-width: 34em; }

.final { position: relative; text-align: left; padding: 170px 0 190px; border-top: 1px solid var(--line); overflow: hidden; }
.final .glow { top: auto; bottom: -300px; transform: scaleY(-1); }
.final h2 { font-size: clamp(44px, 6.4vw, 92px); margin-bottom: 44px; position: relative; }
.final .btn { position: relative; }

.foot { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--dim); font-size: 14px; }
.foot .wrap { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; margin-left: auto; }
.foot a:hover { color: var(--text); }

/* Reveal (JS adds .in) */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

@media (max-width: 960px) {
  .links { display: none; }
  .desk-body { grid-template-columns: 1fr 0.8fr; }
  .mini-shorts { display: none; }
  .split { grid-template-columns: 1fr; gap: 50px; }
  .split.rev .copy { order: 0; }
  .points { grid-template-columns: 1fr 1fr; }
  .points li:nth-child(3) { padding-left: 0; border-left: 0; }
  .tools, .plans { grid-template-columns: 1fr; }
  .block { padding: 110px 0; }
  .head { grid-template-columns: 1fr; gap: 24px; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div { padding-left: 0; border-left: 0; }
  .cut-panel { height: auto; display: flex; flex-direction: column; }
  .cp-video { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; -webkit-mask: linear-gradient(180deg, #000 60%, transparent); mask: linear-gradient(180deg, #000 60%, transparent); }
  .cut-panel::before { display: none; }
  .transcript { position: relative; left: auto; top: auto; width: auto; margin: -90px 16px 16px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 130px; }
  .desk-body { grid-template-columns: 1fr; padding: 22px; }
  .script { display: none; }
  .stage-wrap { padding: 0 14px; margin-top: 56px; }
  .points { grid-template-columns: 1fr; }
  .points li + li { padding-left: 0; border-left: 0; }
  .short { width: 190px; }
  .transcript { padding: 8px 18px 16px; }
  .tl { font-size: 17px; }
  .sb-labels { padding-bottom: 10px; }
  .sb-labels span { padding-left: 10px; font-size: 12px; }
  .seg::before { display: none; }
  .seg:nth-child(3n+2)::before { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .stage { transform: none !important; }
  .rail-track { animation: none; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

.tx { transition: text-decoration-color 0.4s; text-decoration: line-through 2px transparent; }
.script .l.cut.on .tx, .tl.gone .tx { text-decoration-color: currentColor; }

/* Language switch (EN / RU / UZ) */
.lang-switch { display: flex; gap: 2px; margin-left: auto; margin-right: 8px; font-size: 13px; font-weight: 600; }
.lang-switch a { padding: 6px 8px; border-radius: 8px; color: var(--dim); }
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current] { color: var(--text); background: rgba(255, 255, 255, 0.08); }
@media (min-width: 961px) { .lang-switch { margin-left: 0; } }

/* Labels drawn by CSS, per language */
html:lang(ru) .tl:not(.keep).gone::after { content: attr(data-why) " · нажмите, чтобы оставить"; }
html:lang(ru) .tl.kept::after { content: attr(data-why) " · оставлено"; }
html:lang(uz) .tl:not(.keep).gone::after { content: attr(data-why) " · qoldirish uchun bosing"; }
html:lang(uz) .tl.kept::after { content: attr(data-why) " · qoldirildi"; }

/* Hero: the languages a video can be cut in. Plain words, not chips. */
.hero-langs { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; font-size: 17px; }
.hero-langs span { color: var(--dimmer); }
.hero-langs b { font-weight: 600; color: var(--text); }
.hero-langs b + b::before { content: "·"; color: var(--dimmer); margin-right: 18px; font-weight: 400; }
