/* Commerzio. Layout concept: everything a customer makes is a 1000x1000 square,
   so media sits in sharp "viewfinder" frames with crop marks; controls stay soft pills.
   The one loud element is the scan beam. Everything around it stays quiet. */
:root {
  --orange: #ff7a14;
  --kicker: var(--orange);
  --ink: #07080c;
  --ink-2: #12141c;
  --ink-3: #1c1f2a;
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .28);
  --hover: rgba(255, 255, 255, .09);
  --text: #f6f7fb;
  --muted: #adb2c3;
  --accent: var(--orange);
  --on-accent: #000;
  --now: var(--orange);
  --field-bg: #0d0f15;
  --field-fg: #fff;
  --bad: #ff8f8f;
  --display: "Plus Jakarta Sans", "Mukta", sans-serif;
  --body: "Plus Jakarta Sans", "Mukta", sans-serif;
  --mono: "Plus Jakarta Sans", "Mukta", sans-serif;
  --logo: "Unbounded", "Arial Black", system-ui, sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1200px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 17px/1.55 var(--body);
  overflow-x: hidden;
}
.page { position: relative; min-height: 100vh; isolation: isolate; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, blockquote { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(1.74rem, 4.42vw, 3.61rem); line-height: 1.08; }
h2 { font-size: clamp(1.32rem, 2.64vw, 2.13rem); line-height: 1.14; }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.01em; }
.lede { font-size: clamp(1.06rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap {
  max-width: calc(var(--wrap) + 48px); margin-inline: auto;
  padding-left: max(24px, var(--gutter-l)); padding-right: max(24px, var(--gutter-r));
}
@media (max-width: 560px) { .wrap { padding-left: var(--gutter-l); padding-right: var(--gutter-r); } }
.band { padding-block: clamp(56px, 8vw, 104px); }
.stack { display: grid; gap: 16px; }
.head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 780px; }

/* Buttons and fields */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line-2);
  background: transparent; color: var(--text); font: 600 1rem/1.2 var(--body);
  text-decoration: none; cursor: pointer; transition: background .15s, box-shadow .15s, transform .15s;
}
.btn:hover { background: var(--hover); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-spark { background: var(--accent); border-color: transparent; color: var(--on-accent); font-weight: 700; }
.btn-spark:hover { background: var(--accent); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .92rem; }
label { font-weight: 600; font-size: .95rem; }
input, select, textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px;
  background: var(--field-bg); border: 1px solid var(--line-2); color: var(--field-fg); font: 400 1rem/1.4 var(--body);
}
textarea { resize: vertical; min-height: 84px; }
input::placeholder, textarea::placeholder { color: #8a8580; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.err { color: var(--bad); font-size: .92rem; }
.note {
  padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 10px;
  background: rgba(255, 106, 0, .1); font-size: .95rem;
}

/* Site navigation */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 8px 24px; flex-wrap: wrap; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 1.14rem/1 var(--logo); letter-spacing: -.02em; }
.logo svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 20px; margin-right: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
@media (max-width: 720px) {
  .nav-in { justify-content: space-between; }
  .nav-links { order: 3; width: 100%; margin: 0; }
}
.foot { border-top: 1px solid var(--line); padding-block: 32px; color: var(--muted); font-size: .94rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.foot-in nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.foot-in a { text-decoration: none; }
.foot-in nav a:hover { color: var(--text); }

/* Viewfinder frame with crop marks */
.vf { position: relative; background: var(--ink-2); }
.vf::before, .vf::after {
  content: ""; position: absolute; width: 16px; height: 16px; pointer-events: none; z-index: 4;
  border: 2px solid var(--accent);
}
.vf::before { left: -5px; top: -5px; border-right: 0; border-bottom: 0; }
.vf::after { right: -5px; bottom: -5px; border-left: 0; border-top: 0; }

/* Video player (square) */
.player { position: relative; aspect-ratio: 1; width: 100%; max-width: 100%; background: #000; overflow: hidden; }
.pl-scene { position: absolute; inset: 0; opacity: 0; transition: opacity .55s; }
.pl-scene.on { opacity: 1; }
.pl-scene > svg, .pl-scene > img { width: 100%; height: 100%; object-fit: cover; }
.pl-scene.on > svg, .pl-scene.on > img { animation: drift 5s ease-out both; }
@keyframes drift { from { transform: scale(1.05); } to { transform: scale(1); } }
.pl-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 16px 42px; z-index: 2;
  background: linear-gradient(transparent, rgba(0, 0, 0, .92) 42%);
  font-weight: 700; font-size: clamp(.92rem, 2.1cqw, 1.15rem); line-height: 1.32; color: #fff; text-wrap: balance;
}
.pl-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 38px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 0 10px; }
.pl-btn { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; flex: none; padding: 0; }
.pl-btn svg { width: 12px; height: 12px; fill: currentColor; }
.pl-wave { display: flex; align-items: center; gap: 2px; height: 18px; flex: none; }
.pl-wave i { width: 2px; height: 30%; background: var(--orange); border-radius: 2px; }
.playing .pl-wave i { animation: wave 1s ease-in-out infinite alternate; }
.pl-wave i:nth-child(2n) { animation-delay: -.35s; }
.pl-wave i:nth-child(3n) { animation-delay: -.7s; }
@keyframes wave { to { height: 100%; } }
.pl-track { flex: 1; height: 3px; background: rgba(255, 255, 255, .24); min-width: 0; }
.pl-track b { display: block; height: 100%; width: 0; background: var(--orange); }

/* Landing hero */
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(48px, 7vw, 88px); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: 36px; }
.hero-side { display: grid; gap: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rig { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .8fr) minmax(0, 1.05fr); gap: 28px; align-items: stretch; }
.pdp { position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: #111; font-size: .78rem; line-height: 1.3; display: flex; flex-direction: column; }
.pdp-url { display: flex; gap: 8px; align-items: center; padding: 8px 12px; background: #eee; color: #555; overflow: hidden; white-space: nowrap; }
.pdp-url::before { content: ""; width: 34px; height: 8px; flex: none; background: radial-gradient(circle at 4px 4px, #bbb 4px, transparent 4.5px) 0 0 / 13px 8px repeat-x; }
.pdp-body { padding: 12px; display: grid; gap: 9px; flex: 1; align-content: start; }
.pdp-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pdp-brand { font-weight: 800; letter-spacing: .02em; padding: 3px 7px; background: #111; color: #fff; }
.pdp-name { font-weight: 800; font-size: .96rem; padding: 2px 5px; }
.pdp-row { display: grid; gap: 7px; grid-template-columns: repeat(3, 1fr); }
.pdp-row.two { grid-template-columns: repeat(2, 1fr); }
.pdp-thumb { aspect-ratio: 1; overflow: hidden; background: #fff; border: 1px solid #ddd; }
.pdp-thumb.wide { aspect-ratio: 16/9; }
.pdp-thumb svg { width: 100%; height: 100%; }
.pdp-list { margin: 0; padding-left: 16px; }
.pdp-offer { padding: 5px 8px; border: 1px dashed #ff6a00; color: #7a3300; background: #fff1e6; }
.pdp-rel { color: #555; font-weight: 600; }
.pdp-related .pdp-thumb { aspect-ratio: 2/1; background: #eee; }
[data-verdict] { position: relative; transition: opacity .4s, filter .4s, box-shadow .3s; }
.scan-done[data-verdict="keep"] { box-shadow: 0 0 0 2px var(--orange); }
.scan-done[data-verdict="drop"] { opacity: .32; filter: grayscale(1); }
.beam {
  position: absolute; left: 0; right: 0; top: 0; height: 120px; pointer-events: none; opacity: 0; z-index: 5;
  background: linear-gradient(180deg, transparent, rgba(255, 106, 0, .08) 55%, rgba(255, 106, 0, .38) 96%);
  border-bottom: 3px solid transparent; border-image: linear-gradient(90deg, #ff6a00, #ffb27a, #ff6a00) 1;
  filter: drop-shadow(0 4px 12px rgba(255, 106, 0, .95));
}
.rig.running .beam { opacity: 1; animation: sweep 4.2s cubic-bezier(.45, .05, .55, .95) both; }
@keyframes sweep { from { transform: translateY(-120px); } to { transform: translateY(var(--sweep, 640px)); } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; align-content: center; }
.steps li { position: relative; padding: 0 0 22px 34px; color: var(--muted); }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink-3); border: 2px solid var(--line-2); z-index: 1; }
.steps li::after { content: ""; position: absolute; left: 11px; top: 8px; bottom: -8px; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps strong { display: block; color: var(--text); font: 800 1.08rem/1.3 var(--display); }
.steps span { display: block; font-size: .92rem; }
.steps li.now::before { background: var(--now); border-color: var(--now); box-shadow: 0 0 14px var(--now); animation: pulse 1s infinite alternate; }
.steps li.done::before { background: var(--accent); border-color: var(--accent); }
@keyframes pulse { to { box-shadow: 0 0 4px var(--now); } }
.rig-out { display: grid; gap: 10px; align-content: start; }
.lang-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; }
.seg button { min-height: 32px; padding: 3px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 .92rem var(--body); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--ink); }
@media (max-width: 960px) {
  .hero-top { grid-template-columns: 1fr; }
  .rig { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rig > .steps { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .steps li { padding-bottom: 0; }
  .steps li::after { display: none; }
}
@media (max-width: 620px) {
  .rig { grid-template-columns: minmax(0, 1fr); }
  .rig > .steps { grid-row: auto; grid-template-columns: minmax(0, 1fr); }
  .rig-out { order: 3; }
}

/* What it keeps */
.keep-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.vlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vlist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.vlist svg { width: 20px; height: 20px; margin-top: 3px; }
.yes svg { color: var(--accent); }
.no svg { color: var(--muted); }
.flag { border-left: 3px solid var(--accent); background: rgba(255, 106, 0, .12); padding: 14px 16px; display: grid; gap: 4px; }
@media (max-width: 760px) { .keep-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Sequence */
.seq { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.seq li { counter-increment: s; display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 2px solid var(--line-2); }
.seq li::before { content: counter(s); font: 800 1.9rem/1 var(--display); color: var(--accent); }
@media (max-width: 860px) { .seq { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .seq { grid-template-columns: minmax(0, 1fr); } }

/* Version compare */
.versions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.version { padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; align-content: start; min-width: 0; }
.version.pro { border-left: 1px solid var(--line-2); }
.version h3 { font-size: 1.5rem; }
@media (max-width: 760px) {
  .versions { grid-template-columns: minmax(0, 1fr); }
  .version.pro { border-left: 0; border-top: 1px solid var(--line-2); }
}

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 16px; padding: 26px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--ink-2); min-width: 0; }

.plan h3 { font-size: 1.4rem; }
.plan-tag { font-size: .94rem; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 6px; font: 800 clamp(2.2rem, 4vw, 3.2rem)/1 var(--display); letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.price small { font: 500 1rem var(--body); letter-spacing: 0; color: var(--muted); }
.plan-count { font-weight: 700; }
.plan .vlist { font-size: .97rem; flex: 1; align-content: start; }
.plan .btn { width: 100%; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.tbl-wrap { overflow-x: auto; position: relative; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-weight: 700; border-bottom-color: var(--line-2); }
.compare th:first-child { min-width: 190px; font-weight: 500; }
.compare td, .compare thead th:not(:first-child) { min-width: 104px; }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 840px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 16px; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 1.05rem; }
.faq p { margin-top: 8px; color: var(--muted); max-width: 70ch; }

.cta-end { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 24px; }
.cta-end h2 { max-width: 20ch; }

/* Inner page headers and splits */
.page-head { padding-block: clamp(40px, 6vw, 72px) 8px; display: grid; gap: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split .stack { min-width: 0; }
@media (max-width: 820px) { .split { grid-template-columns: minmax(0, 1fr); } }
.voice-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 720px) { .voice-cols { grid-template-columns: minmax(0, 1fr); } }
.editor-shot { padding: 16px; border: 1px solid var(--line-2); display: grid; gap: 10px; min-width: 0; }
.shot-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.shot-row:last-child { border-bottom: 0; padding-bottom: 0; }
.shot-row svg { width: 72px; height: 72px; }

/* Auth and contact */
.auth { max-width: 460px; margin-inline: auto; padding-block: clamp(40px, 7vw, 80px); display: grid; gap: 20px; }
.auth h1 { font-size: clamp(1.45rem, 3.4vw, 1.96rem); }
.form { display: grid; gap: 14px; }
.picked { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 10px; }

/* User page */
.app { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.side { padding: 18px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; position: sticky; top: 0; height: 100vh; }
.side-nav { display: grid; gap: 3px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 600; }
.side-nav a svg { width: 18px; height: 18px; flex: none; }
.side-nav a:hover { color: var(--text); background: var(--hover); }
.side-nav a[aria-current] { color: #000; background: var(--orange); }
.side-credit { margin-top: auto; display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line-2); border-radius: 10px; font-size: .92rem; }
.meter { height: 6px; background: var(--ink-3); border-radius: 6px; overflow: hidden; }
.meter b { display: block; height: 100%; background: var(--accent); transition: width .3s; }
.main { min-width: 0; padding: 0 clamp(16px, 3vw, 36px) 56px; padding-left: max(clamp(16px, 3vw, 36px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(16px, 3vw, 36px), env(safe-area-inset-right, 0px)); }
.demo-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; color: var(--muted); }
.view { padding-top: 28px; display: grid; gap: 24px; max-width: 1040px; }
.view h1 { font-size: clamp(1.45rem, 2.6vw, 2.05rem); }
.panel { padding: 22px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--ink-2); display: grid; gap: 16px; min-width: 0; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 620px) { .cols-2 { grid-template-columns: minmax(0, 1fr); } }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tabs button { padding: 10px 14px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font: 600 1rem var(--body); cursor: pointer; display: inline-flex; gap: 7px; align-items: center; }
.tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.lock-ic { width: 14px; height: 14px; }
.locked { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: 10px; }
.locked > div { min-width: 0; flex: 1 1 240px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--orange); }
.run { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 28px; align-items: center; }
.run .bar { height: 8px; background: var(--ink-3); border-radius: 8px; overflow: hidden; }
.run .bar b { display: block; height: 100%; background: var(--accent); transition: width .4s; }
@media (max-width: 720px) { .run { grid-template-columns: minmax(0, 1fr); } }
.imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 12px; }
.img-card { display: grid; gap: 6px; cursor: grab; min-width: 0; }
.img-card.drag { opacity: .4; }
.img-frame { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line-2); background: #fff; }
.img-frame svg, .img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame .n { position: absolute; left: 0; top: 0; padding: 1px 8px; background: var(--ink); color: var(--text); font-weight: 700; font-size: .85rem; }
.img-acts { display: flex; gap: 4px; }
.icon-btn { flex: 1; min-height: 34px; padding: 2px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; font: 600 .95rem var(--body); }
.icon-btn:hover:not(:disabled) { background: var(--hover); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.dropzone { display: grid; place-items: center; text-align: center; padding: 18px; border: 1px dashed var(--line-2); border-radius: 10px; cursor: pointer; }
.dropzone:hover, .dropzone.over { background: rgba(255, 106, 0, .14); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.result { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 800px) { .result { grid-template-columns: minmax(0, 1fr); } }
.meta { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 5px 16px; margin: 0; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vid-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }
.vid { background: none; border: 0; padding: 0; color: inherit; text-align: left; font: inherit; cursor: pointer; display: grid; gap: 9px; min-width: 0; }
.vid-thumb { aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line-2); position: relative; }
.vid-thumb svg, .vid-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vid:hover .vid-thumb { border-color: var(--orange); box-shadow: 0 0 24px rgba(255, 106, 0, .4); }
.scene-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; padding-block: 14px; border-top: 1px solid var(--line); }
.scene-row .img-frame { width: 96px; }
.scene-tools { display: grid; gap: 4px; align-content: start; width: 40px; }
@media (max-width: 520px) { .scene-row { grid-template-columns: 60px minmax(0, 1fr); } .scene-row .img-frame { width: 60px; } .scene-tools { grid-column: 1 / -1; display: flex; width: auto; } }
.plan-rows { display: grid; gap: 10px; }
.plan-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 10px; }
.plan-row.cur { border-color: var(--accent); }
.plan-row > div { flex: 1 1 240px; min-width: 0; }
.toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(460px, calc(100vw - 32px)); padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--ink-3); z-index: 50; box-shadow: 0 8px 40px rgba(0, 0, 0, .55); }
@media (max-width: 800px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); gap: 12px; padding-inline: var(--gutter-l) var(--gutter-r); }
  .side-nav { display: flex; overflow-x: auto; }
  .side-nav a { white-space: nowrap; padding: 8px 10px; }
  .side-credit { margin-top: 0; }
  .main { padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
}
/* Colour scopes: orange, black and white sections */
.on-gray { --ink: #07080c; --ink-2: #12141c; --ink-3: #1c1f2a;
  --text: #f6f7fb; --muted: #b6bbcb; --line: rgba(255, 255, 255, .12); --line-2: rgba(255, 255, 255, .3); --hover: rgba(255, 255, 255, .09);
  --accent: #ff7a14; --on-accent: #0b0b0f; --now: #ff8a1f; --field-bg: #0d0f15; --field-fg: #fff; --bad: #ff9c9c; --kicker: #ff9a4d;
}
.on-light { --ink: #0d0f16; --ink-2: #151822; --ink-3: #20232f;
  --text: #f6f7fb; --muted: #b6bbcb; --line: rgba(255, 255, 255, .12); --line-2: rgba(255, 255, 255, .3); --hover: rgba(255, 255, 255, .09);
  --accent: #ff7a14; --on-accent: #0b0b0f; --now: #ff8a1f; --field-bg: #0d0f15; --field-fg: #fff; --bad: #ff9c9c; --kicker: #ff9a4d;
}
.on-dark { --ink: #0b0d13; --ink-2: #12141c; --ink-3: #1c1f2a;
  --text: #f6f7fb; --muted: #b6bbcb; --line: rgba(255, 255, 255, .12); --line-2: rgba(255, 255, 255, .3); --hover: rgba(255, 255, 255, .09);
  --accent: #ff7a14; --on-accent: #0b0b0f; --now: #ff8a1f; --field-bg: #0d0f15; --field-fg: #fff; --bad: #ff9c9c; --kicker: #ff9a4d;
}
.on-gray, .on-light, .on-dark { background: var(--ink); color: var(--text); }
.hero.on-gray { background: radial-gradient(900px 560px at 88% 0, rgba(255, 106, 0, .2), transparent 72%), var(--ink); }
.band:not(.on-gray):not(.on-light) { background: radial-gradient(720px 440px at 92% 8%, rgba(255, 106, 0, .1), transparent 72%); }
.main { background: radial-gradient(760px 420px at 100% 0, rgba(255, 106, 0, .09), transparent 72%); }
.head-band { padding-bottom: clamp(28px, 4vw, 48px); }
.fill { flex: 1; }
.page { display: flex; flex-direction: column; }
.page > main { flex: 1; }

/* Kickers, captions and micro-text */
.kicker { font: 500 .78rem/1.35 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--kicker); }
.meta dt, .pdp-url, .side-credit .muted, .plan p .small, .lang-row .small, .stack > .small, .img-frame .n, #seg-label, .vid .muted, .plan-tag {
  font-family: var(--mono); font-size: .82rem; letter-spacing: -.01em;
}
.meta dt { padding-top: 3px; }
.logo-chip { padding: 10px 12px; border-radius: 10px; }

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

.voice-cols .stack { align-content: start; }

/* ---------- AI look: near-black space, a glowing gradient from the logo, glass panels ---------- */
.on-gray, .on-light, .on-dark { background: transparent; }
.page { background: var(--ink); }
.page::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1100px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(620px 460px at 18% 120px, rgba(255, 106, 0, .34), transparent 70%),
    radial-gradient(680px 520px at 84% 60px, rgba(139, 92, 255, .36), transparent 70%),
    radial-gradient(520px 380px at 52% 480px, rgba(255, 46, 136, .2), transparent 72%);
  animation: aurora 14s ease-in-out infinite alternate;
}
@keyframes aurora { to { transform: translate3d(0, 34px, 0) scale(1.06); filter: hue-rotate(-14deg); } }
.page::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 1100px; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1.3px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(#000 10%, transparent 88%); mask-image: linear-gradient(#000 10%, transparent 88%);
}
.nav { background: rgba(7, 8, 12, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.foot { background: rgba(255, 255, 255, .02); }
.grad-text, .hero h1, .page-head h1 {
  background: linear-gradient(100deg, #fff 18%, #ffd2ad 52%, #ff9a5c 78%, #ff6fae 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.btn-spark, .btn-spark:hover { background: linear-gradient(100deg, #ffa21f, #ff6a00 55%, #ff4d4d); color: #0b0b0f; border-color: transparent; box-shadow: 0 0 0 1px rgba(255, 160, 80, .35), 0 8px 34px rgba(255, 106, 0, .42); }
.btn-spark:hover { box-shadow: 0 0 0 1px rgba(255, 190, 120, .7), 0 10px 46px rgba(255, 106, 0, .68); }
.btn { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* Glass */
.panel, .plan, .faq details, .ai-card, .seq li, .versions .version, .flag, .note, .gallery-tile {
  background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .11);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.ai-card { padding: clamp(20px, 2.6vw, 30px); border: 1px solid rgba(255, 255, 255, .11); border-radius: 18px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.glow-edge { position: relative; border-color: transparent !important; background: linear-gradient(#10121a, #10121a) padding-box, linear-gradient(130deg, #ffa21f, #ff2e88 52%, #8b5cff) border-box !important; border: 1px solid transparent; box-shadow: 0 0 60px rgba(255, 106, 0, .16), 0 0 90px rgba(139, 92, 255, .14); }

/* Hero */
.hero { position: relative; padding-block: clamp(40px, 6vw, 84px) clamp(48px, 7vw, 92px); overflow: hidden; }
.hero.on-gray { background: transparent; }
.net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .75; -webkit-mask-image: linear-gradient(#000 40%, transparent 90%); mask-image: linear-gradient(#000 40%, transparent 90%); }
.hero > .wrap { position: relative; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 20px; margin: 0 auto 44px; max-width: 980px; align-items: center; }
.hero-top h1 { font-size: clamp(2.04rem, 5.44vw, 4.42rem); line-height: 1.03; letter-spacing: -.03em; }
.hero-side { justify-items: center; gap: 22px; width: 100%; }
.hero .lede { color: #d5d8e3; max-width: 62ch; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); }
.pill .kicker { color: #fff; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: #ff8a1f; box-shadow: 0 0 12px #ff8a1f; animation: pulse2 1.4s ease-in-out infinite alternate; }
@keyframes pulse2 { to { opacity: .35; } }
.try { display: flex; gap: 8px; width: min(680px, 100%); padding: 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 0 50px rgba(255, 106, 0, .22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.try input { flex: 1; min-width: 0; background: transparent; border: 0; border-radius: 999px; color: #fff; padding-inline: 16px; font-family: var(--mono); font-size: .9rem; }
.try input:focus-visible { outline: none; }
.try:focus-within { border-color: #ff9a4d; }
.hero-actions { justify-content: center; align-items: center; }
.hero-link { color: #fff; font-weight: 600; }
@media (max-width: 560px) { .try { flex-direction: column; border-radius: 18px; } .try .btn { width: 100%; } .try input { text-align: center; } }

/* The console */
.console { padding: 14px; border-radius: 22px; }
.console-bar { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 2px 8px 12px; font: 500 .76rem var(--mono); color: #aeb3c4; }
.console-bar b { color: #fff; font-weight: 500; }
.console .rig { gap: 22px; align-items: stretch; }
.pdp { border-radius: 12px; border-color: rgba(255, 255, 255, .2); }
.pdp-thumb img, [data-art] img { width: 100%; height: 100%; object-fit: cover; display: block; }
.steps { padding: 4px 2px; }
.steps span { color: #aeb3c4; }
.steps li.done::before { background: linear-gradient(130deg, #ffa21f, #ff2e88); border-color: transparent; }
.steps li::after { background: rgba(255, 255, 255, .16); }
[data-verdict] { position: relative; }
.scan-done[data-verdict="keep"][data-tag]::after, .scan-done[data-verdict="drop"][data-tag]::after {
  content: attr(data-tag); position: absolute; left: 0; top: 0; z-index: 3; padding: 1px 5px; font: 500 .58rem/1.4 var(--mono); white-space: nowrap;
}
.scan-done[data-verdict="keep"][data-tag]::after { background: #ff6a00; color: #000; }
.scan-done[data-verdict="drop"][data-tag]::after { background: #333; color: #fff; }
.scan-done[data-verdict="drop"] { opacity: .5; }
.rig-out .vf { box-shadow: 0 0 70px rgba(255, 106, 0, .3), 0 0 110px rgba(139, 92, 255, .22); }
.rig-out .player { border-radius: 2px; }
.rig-out .small { color: #c3c7d4; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.gallery-tile { margin: 0; aspect-ratio: 1; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; background: #fff; transition: transform .2s, box-shadow .2s; }
.gallery-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(255, 106, 0, .3); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.keep-grid { gap: 20px; }
.keep-grid .stack { padding: clamp(20px, 2.6vw, 30px); border: 1px solid rgba(255, 255, 255, .11); border-radius: 18px; background: rgba(255, 255, 255, .045); align-content: start; }
.flag { border: 1px solid rgba(255, 106, 0, .4); border-radius: 14px; padding: 16px 20px; background: rgba(255, 106, 0, .09); }
.seq li { padding: 22px; border: 1px solid rgba(255, 255, 255, .11); border-radius: 16px; }
.seq li::before { font-size: 2.4rem; background: linear-gradient(120deg, #ffa21f, #ff2e88); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; width: fit-content; padding-right: 3px; }
.versions { border: 0; gap: 20px; overflow: visible; }
.versions .version { border: 1px solid rgba(255, 255, 255, .11); border-radius: 18px; }
.version.pro { border-left: 1px solid transparent; }
.plan { border-radius: 18px; }
.plan.top { box-shadow: 0 0 60px rgba(255, 106, 0, .22), 0 0 90px rgba(139, 92, 255, .18); }
.price { background: linear-gradient(100deg, #fff, #ffc79c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price small { -webkit-text-fill-color: var(--muted); }
.faq { gap: 10px; max-width: 900px; }
.faq details { border: 1px solid rgba(255, 255, 255, .11); border-radius: 14px; padding: 16px 20px; }
.cta-end { padding: clamp(28px, 5vw, 56px); border-radius: 24px; }
.cta-end h2 { background: linear-gradient(100deg, #fff, #ffc79c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band { position: relative; }
.band:not(.on-gray):not(.on-light) { background: transparent; }
.tbl-wrap { border: 1px solid rgba(255, 255, 255, .11); border-radius: 14px; background: rgba(255, 255, 255, .03); }
.shot-row [data-art] { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; }
.editor-shot { border-radius: 14px; }
.auth { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .11); border-radius: 22px; padding: clamp(24px, 4vw, 40px); margin-block: clamp(32px, 6vw, 72px); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.picked { background: rgba(255, 106, 0, .09); border-color: rgba(255, 106, 0, .4); }

/* User page and admin share the same space */
.app, .ad { background: radial-gradient(760px 520px at 100% -8%, rgba(139, 92, 255, .24), transparent 70%), radial-gradient(640px 480px at 22% -10%, rgba(255, 106, 0, .22), transparent 70%), var(--ink); }
.side.on-gray, .ad-side.on-gray { background: rgba(255, 255, 255, .035); border-right: 1px solid rgba(255, 255, 255, .09); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.main { background: transparent; }
.side-nav a[aria-current], .ad-nav a[aria-current] { color: #0b0b0f !important; background: linear-gradient(100deg, #ffa21f, #ff6a00); box-shadow: 0 6px 22px rgba(255, 106, 0, .4); }
.logo-chip.on-dark { background: rgba(0, 0, 0, .35); }
.side-credit.on-dark { background: rgba(0, 0, 0, .3); }
.meter b, .run .bar b { background: linear-gradient(90deg, #ffa21f, #ff2e88); }
@media (prefers-reduced-motion: reduce) { .page::before { animation: none; } }
.ai-card.cta-end { display: flex; }
.plan.top { border-color: transparent !important; background: linear-gradient(#141620, #141620) padding-box, linear-gradient(130deg, #ffa21f, #ff2e88 52%, #8b5cff) border-box !important; }
.page { overflow-x: clip; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(560px 380px at 92% 12%, rgba(139, 92, 255, .15), transparent 72%), radial-gradient(520px 360px at 4% 88%, rgba(255, 106, 0, .13), transparent 72%); }
.band:nth-of-type(even)::before { transform: scaleX(-1); }

/* One typeface throughout, so small labels get a little more weight and air */
.kicker { font-weight: 700; letter-spacing: .1em; }
h1, h2, h3 { letter-spacing: -.028em; }
.try input { font-size: .96rem; }
.band::before { inset: -160px 0; background: radial-gradient(560px 380px at 92% 40%, rgba(139, 92, 255, .15), transparent 72%), radial-gradient(520px 360px at 4% 62%, rgba(255, 106, 0, .13), transparent 72%); }
.pdp-brand.scan-done::after { right: 0; bottom: 0; display: flex; align-items: center; }

/* Category row under the video builder */
.gallery { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.gallery-tile { position: relative; background: #12141c; }
.tile-art, .tile-art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.gallery-tile figcaption { position: absolute; inset: auto 0 0; padding: 26px 12px 10px; font-weight: 700; font-size: .95rem; color: #fff; background: linear-gradient(transparent, rgba(5, 6, 10, .88)); }
.gallery-tile:hover .tile-art img { transform: scale(1.05); }
.tile-art img { transition: transform .25s; }
@media (max-width: 960px) {
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; }
  .gallery-tile { flex: 0 0 min(42vw, 180px); scroll-snap-align: start; }
}
[hidden] { display: none !important; }
.code-input { font-size: 1.6rem; letter-spacing: .3em; text-align: center; font-weight: 700; }

/* Example row uses real product images on white */
.gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.gallery-tile { aspect-ratio: auto; display: flex; flex-direction: column; background: #fff; }
.tile-art { aspect-ratio: 1; height: auto; background: #fff; overflow: hidden; }
.tile-art img { height: 100%; }
.gallery-tile figcaption { position: static; padding: 10px 12px; background: #12141c; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; }
@media (max-width: 960px) { .gallery-tile { flex: 0 0 min(42vw, 180px); } }
.scan-done[data-verdict="drop"][data-tag]::after { left: auto; right: 0; }
.gallery { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 960px) { .gallery { display: flex; } }

/* ---------- home page: the video builder window ---------- */
.builder { padding: 12px; }
.b-app { display: grid; grid-template-columns: 172px minmax(0, 1fr); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; overflow: hidden; background: #0b0d14; }
.b-side { display: flex; flex-direction: column; gap: 4px; padding: 14px 10px; border-right: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); }
.b-nav { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 9px; font-size: .84rem; font-weight: 600; color: #aeb3c4; }
.b-nav svg { width: 16px; height: 16px; flex: none; }
.b-nav.on { color: #14161c; background: linear-gradient(100deg, #ffa21f, #ff6a14); }
.b-plan { margin-top: auto; display: grid; gap: 7px; padding: 10px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; font-size: .78rem; color: #aeb3c4; }
.b-plan strong { color: #fff; font-size: .82rem; }
.b-plan i { display: block; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.b-plan i b { display: block; width: 70%; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #ffa21f, #ff4fa3); }
.b-main { min-width: 0; padding: 14px; display: grid; gap: 14px; align-content: start; }
.b-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; counter-reset: b; }
.b-step { position: relative; padding-top: 10px; font-size: .78rem; font-weight: 600; line-height: 1.25; color: #7f8496; }
.b-step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); }
.b-step.active { color: #fff; }
.b-step.active::before { background: linear-gradient(90deg, #ffa21f, rgba(255, 162, 31, .2)); animation: b-pulse 1s infinite alternate; }
.b-step.done { color: #d9dce6; }
.b-step.done::before { background: linear-gradient(90deg, #ffa21f, #ff6a14); }
@keyframes b-pulse { to { opacity: .55; } }
.b-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, .86fr) minmax(0, 1.2fr); gap: 14px; align-items: stretch; }
.b-col { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.b-field { display: grid; gap: 4px; min-width: 0; }
.b-field > span { font-size: .74rem; font-weight: 600; color: #aeb3c4; }
.b-val { padding: 8px 10px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px; background: rgba(255, 255, 255, .04); color: #fff; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.b-go { width: 100%; justify-content: center; min-height: 40px; padding-block: 8px; font-size: .88rem; }
.b-go:disabled { opacity: .75; cursor: progress; }
.b-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 8px; font-size: .84rem; }
.b-head strong { color: #fff; }
.b-head span { font-size: .72rem; color: #aeb3c4; }
.b-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.b-tile { position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: #fff; opacity: .14; transition: opacity .25s, box-shadow .25s; }
.b-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.b-tile.seen { opacity: 1; box-shadow: 0 0 0 1.5px rgba(255, 162, 31, .75); }
.b-tile.out.seen { opacity: .42; filter: grayscale(1); box-shadow: none; }
.b-tile.now { box-shadow: 0 0 0 2.5px #fff, 0 0 14px rgba(255, 162, 31, .8); }
.b-tile .n, .b-line .n { display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #ff7a14; color: #14161c; font-size: .66rem; font-weight: 800; }
.b-tile .n { position: absolute; left: 3px; top: 3px; width: 15px; height: 15px; font-size: .58rem; }
.b-tile .x { position: absolute; inset: auto 0 0; padding: 1px 0; background: rgba(0, 0, 0, .8); color: #fff; font-size: .54rem; font-weight: 600; text-align: center; }
.b-note { margin: 0; font-size: .72rem; line-height: 1.4; color: #aeb3c4; }
.b-script { min-height: 0; position: relative; }
.b-lines { list-style: none; margin: 0; padding: 0 4px 0 0; display: grid; gap: 3px; align-content: start; flex: 1 1 0; min-height: 0; overflow-y: auto; position: relative; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }
.b-line { display: flex; gap: 8px; width: 100%; padding: 7px 8px; border: 1px solid transparent; border-radius: 8px; background: none; color: #c3c7d4; font: 500 .78rem/1.38 var(--body); text-align: left; cursor: pointer; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s, background .2s; }
.b-line.seen { opacity: 1; transform: none; }
.b-line:hover { background: rgba(255, 255, 255, .05); }
.b-line.now { border-color: rgba(255, 162, 31, .7); background: rgba(255, 122, 20, .13); color: #fff; }
.b-flag { display: grid; gap: 2px; padding: 8px 10px; border: 1px solid rgba(255, 181, 71, .5); border-radius: 8px; background: rgba(255, 181, 71, .08); font-size: .74rem; line-height: 1.35; color: #d9dce6; opacity: 0; transition: opacity .3s; }
.b-flag.seen { opacity: 1; }
.b-flag strong { color: #ffc56b; }
.b-frame { aspect-ratio: 1; background: #000; }
.b-frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.b-over { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px; background: #0e1119; color: #fff; font-size: 1rem; }
.b-over[hidden] { display: none; }
.b-over i { display: block; width: min(240px, 70vw); height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.b-over b { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #ffa21f, #ff4fa3); }
.b-sound { position: absolute; right: 10px; bottom: 10px; display: none; padding: 7px 12px; border: 0; border-radius: 999px; background: #14161c; color: #fff; font: 700 .78rem var(--body); cursor: pointer; box-shadow: 0 0 0 1.5px #ffa21f, 0 4px 16px rgba(0, 0, 0, .4); }
.ready .b-sound { display: block; }
.b-sound.on { box-shadow: 0 0 0 1px rgba(255, 255, 255, .4); font-weight: 600; }
.b-ctrl { display: flex; align-items: center; gap: 10px; font-size: .74rem; color: #aeb3c4; font-variant-numeric: tabular-nums; }
.b-ctrl span { flex: none; }
.b-ctrl input { flex: 1; min-width: 0; height: 18px; padding: 0; border: 0; background: none; accent-color: #ff7a14; min-height: 0; }
.b-done { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: .76rem; color: #aeb3c4; opacity: .35; transition: opacity .3s; }
.ready .b-done { opacity: 1; }
.no-video .b-sound, .no-video .b-ctrl { display: none; }
@media (max-width: 1120px) { .b-app { grid-template-columns: minmax(0, 1fr); } .b-side { display: none; } }
@media (max-width: 860px) {
  .b-grid { grid-template-columns: minmax(0, 1fr); }
  .b-out { order: -1; }
  .b-script .b-lines { flex: none; max-height: 260px; }
  .b-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .b-main { padding: 10px; }
  .b-step { font-size: .68rem; }
}

/* ---------- builder: paste first, then step by step with times ---------- */
.b-step b { display: block; font-weight: 600; }
.b-step small { display: block; margin-top: 1px; font-size: .68rem; font-weight: 500; color: #8d92a4; }
.b-step.active small { color: #ffc56b; }
.b-step.done small { color: #8ee0b8; }
.b-field > label { font-size: .74rem; font-weight: 600; color: #aeb3c4; }
.b-link { position: relative; display: flex; align-items: center; gap: 6px; padding: 3px 3px 3px 10px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px; background: rgba(255, 255, 255, .04); transition: border-color .2s, box-shadow .2s; }
.b-link input { flex: 1; min-width: 0; min-height: 0; height: 30px; padding: 0; border: 0; background: none; color: #fff; font-size: .8rem; text-overflow: ellipsis; cursor: default; }
.b-link input:focus-visible { outline: none; }
.b-link input::placeholder { color: #9ba0b2; opacity: 1; }
.b-link .btn { flex: none; min-height: 28px; padding: 3px 12px; font-size: .74rem; }
.b-link .btn:disabled { opacity: .7; }
.builder:not(.pasted) .b-link { border-color: rgba(255, 162, 31, .75); box-shadow: 0 0 0 3px rgba(255, 162, 31, .14); }
.pasted .b-link input { animation: b-pasted .7s ease-out; }
@keyframes b-pasted { from { background: rgba(255, 162, 31, .45); } to { background: transparent; } }
.b-go.press { transform: scale(.97); filter: brightness(1.15); }
.b-tile { opacity: .08; }
.b-tile .n, .b-tile .x { opacity: 0; transition: opacity .2s; }
.b-tile.found { opacity: 1; }
.b-tile.seen .n, .b-tile.seen .x { opacity: 1; }
.b-note { opacity: 0; transition: opacity .3s; }
.b-note.seen { opacity: 1; }
.b-lines-wrap { position: relative; flex: 1 1 0; min-height: 0; display: flex; }
.b-lines-wrap .b-lines { flex: 1; }
.b-empty { position: absolute; inset: 0 0 auto; margin: 0; padding: 8px; font-size: .78rem; color: #8d92a4; }
.b-over { display: flex; align-items: center; justify-content: center; padding: 16px; overflow: auto; place-content: unset; }
.b-wait { margin: 0; text-align: center; font-size: .92rem; line-height: 1.5; color: #aeb3c4; }
.b-run { width: 100%; display: grid; gap: 10px; align-self: center; }
.b-run[hidden], .b-wait[hidden] { display: none; }
.b-run-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; font-size: .9rem; }
.b-run-top span { font-size: .76rem; font-weight: 600; color: #ffc56b; font-variant-numeric: tabular-nums; }
.b-over i.b-bar { width: 100%; }
.b-todo { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 2px; }
.b-todo li { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 7px 0 7px 22px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: .78rem; color: #7f8496; }
.b-todo li:first-child { border-top: 0; }
.b-todo li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .28); }
.b-todo li.done::before { border-color: #8ee0b8; background: #8ee0b8; }
.b-todo li.now::before { border-color: #ffa21f; background: #ffa21f; box-shadow: 0 0 10px #ffa21f; animation: b-pulse .8s infinite alternate; }
.b-todo strong { display: block; font-weight: 600; }
.b-todo li.now strong, .b-todo li.done strong { color: #fff; }
.b-todo span { display: block; margin-top: 1px; font-size: .72rem; line-height: 1.3; color: #b6bac8; }
.b-todo span:empty { display: none; }
.b-todo em { flex: none; font-style: normal; font-size: .7rem; font-variant-numeric: tabular-nums; }
.b-todo li.now em { color: #ffc56b; }
.b-todo li.done em { color: #8ee0b8; }
.builder:not(.ready) .b-ctrl { opacity: .35; pointer-events: none; }
.builder:not(.ready) .b-done { pointer-events: none; }
@media (max-width: 860px) { .b-lines-wrap { flex: none; display: block; min-height: 40px; } .b-over { padding: 10px; } .b-todo li { padding-block: 4px; } .b-run { gap: 6px; } }
/* real build screen */
.run-top { justify-content: space-between; gap: 4px 14px; }
.run-steps li { padding-right: 96px; }
.run-steps em { position: absolute; right: 0; top: 2px; font-style: normal; font-size: .84rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.run-steps li.now em { color: #ffc56b; }
.run-steps li.done em { color: #8ee0b8; }
.run-steps li:not(.now):not(.done) span { opacity: .7; }
.b-tile, .b-tile.found { opacity: 1; background: rgba(255, 255, 255, .05); }
.b-tile img { opacity: 0; transition: opacity .25s; }
.b-tile.found img { opacity: 1; }
.b-tile.out.seen img { opacity: .42; }
.b-tile.out.seen { opacity: 1; }
.run-steps li.done::before { background: #8ee0b8; border-color: #8ee0b8; }

/* ==========================================================================
   Light theme: soft orange-to-grey cards, dark text.
   Orange carries actions. Pink, violet and blue are only for lines and accents.
   ========================================================================== */
:root, .on-gray, .on-light, .on-dark {
  --ink: #f4f3f2; --ink-2: #ffffff; --ink-3: #e9ebef;
  --text: #1d2129; --muted: #565c69; --kicker: #b84500;
  --line: rgba(29, 33, 41, .12); --line-2: rgba(29, 33, 41, .26); --hover: rgba(29, 33, 41, .05);
  --accent: #c24a00; --on-accent: #14161c; --now: #e65f00; --orange: #ff7a14;
  --field-bg: #ffffff; --field-fg: #1d2129; --bad: #b3261e;
  --ai-line: linear-gradient(90deg, #ff2e88, #8b5cff 55%, #1fb6e8);
  --warm-card: linear-gradient(145deg, #ffeedd 0%, #f9f4ef 42%, #eceef2 100%);
  --warm-flat: linear-gradient(120deg, #fff3e8, #f1f2f4);
  color-scheme: light;
}
html, body { background: linear-gradient(165deg, #ffe9d6 0, #f7f2ee 420px, #eef0f3 1100px, #e8eaee 100%) fixed #f1f1f2; }
.on-gray, .on-light, .on-dark, .hero.on-gray, .band:not(.on-gray):not(.on-light), .main { background: transparent; }
.page::before { opacity: .55; filter: saturate(.75); animation: none; }
.page::after { background-image: radial-gradient(rgba(29, 33, 41, .1) 1px, transparent 1.3px); }
.band::before { background: radial-gradient(560px 380px at 92% 40%, rgba(139, 92, 255, .05), transparent 72%), radial-gradient(520px 360px at 4% 62%, rgba(255, 122, 20, .08), transparent 72%); }
:focus-visible { outline-color: #8b5cff; }

/* Bars around the page */
.nav { background: rgba(255, 255, 255, .78); border-bottom: 1px solid transparent; border-image: var(--ai-line) 1; }
.foot { background: rgba(255, 255, 255, .55); border-top: 1px solid transparent; border-image: var(--ai-line) 1; }
.logo-chip.on-dark, .side-credit.on-dark { background: transparent; }

/* Headlines stay dark and end in orange */
.grad-text, .hero h1, .page-head h1 { background: linear-gradient(100deg, #1d2129 45%, #d9540a 78%, #e0267e 100%); -webkit-background-clip: text; background-clip: text; }
.price { background: linear-gradient(100deg, #1d2129, #d9540a); -webkit-background-clip: text; background-clip: text; }
.cta-end h2 { background: none; color: var(--text); -webkit-text-fill-color: var(--text); }
.head h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 12px; border-radius: 3px; background: var(--ai-line); }
.hero .lede { color: #454b58; }
.hero-link { color: var(--text); }
.pill { background: rgba(255, 255, 255, .75); border-color: rgba(29, 33, 41, .14); }
.pill .kicker { color: #b84500; }
.pill i { background: #8b5cff; box-shadow: 0 0 8px rgba(139, 92, 255, .8); }

/* Buttons */
.btn-spark, .btn-spark:hover { color: #14161c; box-shadow: 0 2px 10px rgba(255, 106, 0, .3); }
.btn-spark:hover { box-shadow: 0 4px 18px rgba(255, 106, 0, .45); }
.btn { -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Cards: the soft orange-to-grey gradation */
.panel, .plan, .faq details, .ai-card, .seq li, .versions .version, .note, .keep-grid .stack, .auth {
  background: var(--warm-card); border-color: rgba(29, 33, 41, .08); box-shadow: 0 1px 2px rgba(29, 33, 41, .05), 0 8px 26px rgba(120, 90, 60, .08);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.flag, .picked { background: #fff4e8; border-color: rgba(230, 95, 0, .35); -webkit-backdrop-filter: none; backdrop-filter: none; }
.glow-edge, .plan.top { background: var(--warm-card) padding-box, linear-gradient(130deg, #ff2e88, #8b5cff 52%, #1fb6e8) border-box !important; box-shadow: 0 10px 34px rgba(139, 92, 255, .12), 0 8px 26px rgba(255, 122, 20, .1); }
.try { background: #fff; border-color: rgba(29, 33, 41, .16); box-shadow: 0 8px 30px rgba(255, 122, 20, .16); -webkit-backdrop-filter: none; backdrop-filter: none; }
.try input { color: var(--text); }
.try input::placeholder { color: #6b7180; opacity: 1; }
.try:focus-within { border-color: #8b5cff; }
.seq li::before { background: linear-gradient(120deg, #ff8a1f, #e0267e); -webkit-background-clip: text; background-clip: text; }
.tbl-wrap { background: #fff; border-color: var(--line); }
input::placeholder, textarea::placeholder { color: #6b7180; }

/* Example row */
.gallery-tile { background: #fff; border-color: rgba(29, 33, 41, .1); box-shadow: 0 1px 2px rgba(29, 33, 41, .05); -webkit-backdrop-filter: none; backdrop-filter: none; }
.gallery-tile:hover { box-shadow: 0 12px 28px rgba(120, 90, 60, .18); }
.gallery-tile figcaption { background: var(--warm-flat); border-top: 1px solid rgba(29, 33, 41, .08); color: var(--text); }

/* Customer page */
.app { background: transparent; }
.side.on-gray { background: linear-gradient(180deg, #fff3e8, #f2f3f5 55%, #eceef1); border-right: 1px solid rgba(29, 33, 41, .1); -webkit-backdrop-filter: none; backdrop-filter: none; }
.side-nav a { color: #39404d; }
.side-nav a[aria-current] { color: #14161c !important; box-shadow: 0 3px 12px rgba(255, 106, 0, .3); }
.side-credit.on-dark { background: rgba(255, 255, 255, .7); border-color: rgba(29, 33, 41, .12); }
.meter, .run .bar { background: rgba(29, 33, 41, .1); }
.meter b, .run .bar b { background: var(--ai-line); }
.steps span { color: var(--muted); }
.steps li::before { background: #fff; border-color: rgba(29, 33, 41, .3); }
.steps li::after { background: rgba(29, 33, 41, .16); }
.steps li.now::before { background: #ff7a14; border-color: #ff7a14; box-shadow: 0 0 10px rgba(255, 122, 20, .7); }
.steps li.done::before, .run-steps li.done::before { background: #0c7a53; border-color: #0c7a53; }
.run-steps li.now em { color: #b84500; }
.run-steps li.done em { color: #0c7a53; }
.vid:hover .vid-thumb { box-shadow: 0 8px 22px rgba(120, 90, 60, .22); }
.toast { background: #fff; color: var(--text); border-color: var(--line-2); box-shadow: 0 8px 30px rgba(29, 33, 41, .18); }

/* Video builder window */
.console-bar { color: #565c69; }
.console-bar b { color: var(--text); font-weight: 700; }
.b-app { background: #fbfaf9; border-color: rgba(29, 33, 41, .1); }
.b-side { background: linear-gradient(180deg, #fff3e8, #f2f3f5); border-right-color: rgba(29, 33, 41, .08); }
.b-nav { color: #454b58; }
.b-nav.on { background: linear-gradient(100deg, #ffa21f, #ff6a14); color: #14161c; }
.b-plan { background: rgba(255, 255, 255, .75); border-color: rgba(29, 33, 41, .12); color: #565c69; }
.b-plan strong, .b-head strong { color: var(--text); }
.b-plan i { background: rgba(29, 33, 41, .1); }
.b-plan i b { background: var(--ai-line); }
.b-step { color: #6b7180; }
.b-step::before { background: rgba(29, 33, 41, .12); }
.b-step small { color: #6b7180; }
.b-step.active, .b-step.done { color: var(--text); }
.b-step.active::before, .b-step.done::before { background: var(--ai-line); }
.b-step.active small { color: #b84500; }
.b-step.done small { color: #0c7a53; }
.b-field > span, .b-field > label, .b-head span, .b-note { color: #565c69; }
.b-val, .b-link { background: #fff; border-color: rgba(29, 33, 41, .2); color: var(--text); }
.b-link input { color: var(--text); }
.b-link input::placeholder { color: #6b7180; }
.builder:not(.pasted) .b-link { border-color: #8b5cff; box-shadow: 0 0 0 3px rgba(139, 92, 255, .16); }
@keyframes b-pasted { from { background: rgba(255, 122, 20, .35); } to { background: transparent; } }
.b-tile, .b-tile.found { background: #eceef1; }
.b-tile.seen { box-shadow: 0 0 0 1.5px rgba(230, 95, 0, .7); }
.b-tile.now { box-shadow: 0 0 0 2.5px #8b5cff; }
.b-line { color: #454b58; }
.b-line:hover { background: rgba(29, 33, 41, .05); }
.b-line.now { border-color: #8b5cff; background: rgba(139, 92, 255, .08); color: var(--text); }
.b-empty { color: #6b7180; }
.b-lines { scrollbar-color: rgba(29, 33, 41, .25) transparent; }
.b-flag { background: #fff4e8; border-color: rgba(230, 95, 0, .4); color: #454b58; }
.b-flag strong { color: #b84500; }
.b-frame { background: #f1f2f4; }
.b-over { background: var(--warm-card); color: var(--text); }
.b-wait { color: #565c69; }
.b-run-top span { color: #b84500; }
.b-over i { background: rgba(29, 33, 41, .1); }
.b-over b { background: var(--ai-line); }
.b-todo li { border-top-color: rgba(29, 33, 41, .1); color: #6b7180; }
.b-todo li::before { border-color: rgba(29, 33, 41, .3); }
.b-todo li.done::before { background: #0c7a53; border-color: #0c7a53; }
.b-todo li.now::before { background: #ff7a14; border-color: #ff7a14; box-shadow: 0 0 8px rgba(255, 122, 20, .7); }
.b-todo li.now strong, .b-todo li.done strong { color: var(--text); }
.b-todo span { color: #565c69; }
.b-todo li.now em { color: #b84500; }
.b-todo li.done em { color: #0c7a53; }
.b-ctrl { color: #565c69; }
.b-ctrl .pl-btn { background: #14161c; color: #fff; }
.b-done { color: #565c69; }
.b-sound { background: #fff; color: var(--text); box-shadow: 0 0 0 1.5px #8b5cff, 0 4px 14px rgba(29, 33, 41, .25); }
.b-sound.on { box-shadow: 0 0 0 1px rgba(29, 33, 41, .3), 0 4px 14px rgba(29, 33, 41, .2); }
.page::before { background: radial-gradient(620px 460px at 18% 120px, rgba(255, 122, 20, .28), transparent 70%), radial-gradient(760px 480px at 88% 60px, rgba(190, 195, 205, .4), transparent 72%); opacity: .7; }
.seg button[aria-pressed="true"] { background: linear-gradient(100deg, #ffc48a, #ffa45c); color: #14161c; }

/* Sign-in: social buttons, show/hide password, password checklist */
.oauth { display: grid; gap: 10px; }
.oauth-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: #fff; color: #1f1f1f; border-color: #dadce0; font-weight: 600; }
.oauth-btn:hover { background: #f1f3f4; color: #1f1f1f; }
.oauth-btn svg { flex: none; }
.oauth-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin-top: 6px; }
.oauth-or::before, .oauth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pw-wrap { position: relative; display: flex; }
.pw-wrap input { flex: 1; padding-right: 72px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: var(--muted); font: inherit; font-size: .85rem; padding: 6px 10px; cursor: pointer; border-radius: 999px; }
.pw-toggle:hover, .pw-toggle:focus-visible { color: var(--text); background: var(--hover); }
.pw-hints { display: grid; gap: 6px; margin-top: 8px; }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.pw-meter b { height: 4px; border-radius: 2px; background: var(--line); }
.pw-1 b:nth-child(-n+1) { background: var(--bad); }
.pw-2 b:nth-child(-n+2) { background: #ffb547; }
.pw-3 b:nth-child(-n+3) { background: #9ed36a; }
.pw-4 b:nth-child(-n+4) { background: #4fd18b; }
.pw-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: .85rem; color: var(--muted); }
.pw-rules li.ok { color: #4fd18b; }


/* Coupons on Plan and billing */
.coupon-row { flex-wrap: nowrap; gap: 10px; }
.coupon-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.coupon-price s { margin-right: 4px; }
.coupon-on { border-color: #4fd18b; }
