/* ================================================================ qy-landing-studios-1 (2026-11-10): the public landing pages of
   Image Canvas (/ai/image-canvas) and Video Studio (/ai/video-studio). Everything is scoped to #qls. The looks are the site's own:
   studio black, lime #d1fe17, the pink-violet pair for "paid", Space Grotesk for display (the tokens of /pricing's pricing-1.css).
   No script here and no web fonts of its own: the site's chrome already loads Space Grotesk / Poppins. The site header is fixed, so
   the page owns its top clearance. Pictures: the editors' REAL screenshots in /qy-landing/, the templates' own previews where the
   editors serve them (/image-canvas/tpl/, /video-studio/templates/) - all same-origin (CSP img-src / media-src 'self'). */

#qls {
  --ls-bg: #0a0b0d;
  --ls-card: #141619;
  --ls-card-2: #0f1013;
  --ls-line: rgba(255, 255, 255, 0.08);
  --ls-line-2: rgba(255, 255, 255, 0.15);
  --ls-text: #f5f6f7;
  --ls-dim: rgba(244, 245, 247, 0.72);
  --ls-faint: rgba(244, 245, 247, 0.5);
  --ls-lime: #d1fe17;
  --ls-lime-soft: rgba(209, 254, 23, 0.1);
  --ls-ink: #0b0d06;
  --ls-pink: #ff3d8b;
  --ls-violet: #b14dff;
  --ls-grad: linear-gradient(95deg, #ff3d8b 0%, #b14dff 100%);
  --ls-display: var(--qp-display, 'Space Grotesk', 'Poppins', sans-serif);
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ls-bg);
  color: var(--ls-text);
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
}

/* the theme's and Bootstrap's element rules, undone inside the page */
#qls *, #qls *::before, #qls *::after { box-sizing: border-box; }
#qls h1, #qls h2, #qls h3, #qls h4, #qls p, #qls ul, #qls ol, #qls li, #qls figure, #qls dl, #qls dd { margin: 0; padding: 0; }
#qls ul, #qls ol { list-style: none; }
#qls a { color: inherit; text-decoration: none; }
#qls a:hover { color: inherit; }
#qls img, #qls video { display: block; max-width: 100%; }
#qls svg { flex: 0 0 auto; }
#qls :focus { outline: none; }
#qls :focus-visible { outline: 2px solid var(--ls-lime); outline-offset: 3px; border-radius: 6px; }
#qls .qls-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

#qls .qls-wrap { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
#qls section[id] { scroll-margin-top: 90px; }

/* ---------------------------------------------------------------- type */
#qls .qls-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--ls-lime); font-size: 11.5px; font-weight: 700; line-height: 1; letter-spacing: 0.2em; text-transform: uppercase;
}
#qls .qls-kicker::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--ls-lime); }
#qls .qls-h1 {
  margin-top: 20px; color: #fff; font-family: var(--ls-display); font-weight: 700;
  font-size: clamp(40px, 6.1vw, 84px); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance;
}
#qls .qls-h1 em, #qls .qls-h2 em { font-style: normal; color: var(--ls-lime); }
#qls .qls-h2 {
  margin-top: 14px; color: #fff; font-family: var(--ls-display); font-weight: 700;
  font-size: clamp(30px, 3.6vw, 50px); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance;
}
#qls .qls-h3 {
  margin-top: 12px; color: #fff; font-family: var(--ls-display); font-weight: 700;
  font-size: clamp(24px, 2.4vw, 34px); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance;
}
#qls .qls-lede { margin-top: 20px; max-width: 640px; color: var(--ls-dim); font-size: clamp(15.5px, 1.25vw, 18px); line-height: 1.62; }
#qls .qls-sub { margin-top: 14px; max-width: 620px; color: var(--ls-dim); font-size: 15.5px; line-height: 1.65; }
#qls .qls-center { text-align: center; }
#qls .qls-center .qls-lede, #qls .qls-center .qls-sub { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------- buttons */
#qls .qls-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
#qls .qls-center .qls-ctas { justify-content: center; }
#qls .qls-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border: 1px solid var(--ls-lime); border-radius: 14px; background: var(--ls-lime); color: var(--ls-ink) !important;
  font-size: 15.5px; font-weight: 700; line-height: 1; white-space: nowrap;
  box-shadow: 0 10px 34px -10px rgba(209, 254, 23, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
#qls .qls-btn svg { width: 18px; height: 18px; }
#qls .qls-btn:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 16px 40px -12px rgba(209, 254, 23, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
#qls .qls-btn--ghost { border-color: var(--ls-line-2); background: rgba(255, 255, 255, 0.03); color: var(--ls-text) !important; box-shadow: none; font-weight: 600; }
#qls .qls-btn--ghost:hover { border-color: rgba(255, 255, 255, 0.34); background: rgba(255, 255, 255, 0.06); box-shadow: none; }
#qls .qls-note { margin-top: 14px; color: var(--ls-faint); font-size: 13px; }
#qls .qls-note b { color: var(--ls-dim); font-weight: 600; }

/* ---------------------------------------------------------------- pills: the site's three looks (free = lime, paid = pink-violet, credits = plain) */
#qls .qls-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
#qls .qls-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--ls-line-2); background: rgba(255, 255, 255, 0.03); color: var(--ls-dim);
  font-size: 12.5px; font-weight: 600; line-height: 1.2; white-space: nowrap;
}
#qls .qls-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--ls-lime); flex: 0 0 auto; }
#qls .qls-pill--free { border-color: rgba(209, 254, 23, 0.35); background: var(--ls-lime-soft); color: var(--ls-lime); }
#qls .qls-pill--paid { border-color: transparent; background: var(--ls-grad); color: #fff; }
#qls .qls-pill--paid i { background: #fff; }
#qls .qls-pill--credit { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
#qls .qls-pill--credit i { background: #fff; }

/* ---------------------------------------------------------------- the ground: a faint grid and two soft glows */
#qls .qls-hero { position: relative; padding: 132px 0 40px; isolation: isolate; }
#qls .qls-hero::before {
  content: ""; position: absolute; inset: 0 0 -10% 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 18%, #000 0%, transparent 78%); mask-image: radial-gradient(70% 60% at 50% 18%, #000 0%, transparent 78%);
}
#qls .qls-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(38% 30% at 22% 46%, rgba(209, 254, 23, 0.13), transparent 70%),
              radial-gradient(34% 30% at 82% 52%, rgba(177, 77, 255, 0.16), transparent 72%),
              radial-gradient(30% 20% at 60% 92%, rgba(255, 61, 139, 0.09), transparent 70%);
}
#qls .qls-hero-copy { position: relative; z-index: 2; text-align: center; }
#qls .qls-hero-copy .qls-lede { margin-left: auto; margin-right: auto; }
#qls .qls-hero-copy .qls-ctas { justify-content: center; }
#qls .qls-hero-copy .qls-pills { justify-content: center; }

/* ---------------------------------------------------------------- the editor window (a REAL screenshot, never restyled) */
#qls .qls-stage { position: relative; max-width: 1180px; margin: 54px auto 0; }
#qls .qls-win {
  position: relative; z-index: 1; overflow: hidden; border-radius: 18px;
  background: #0d0e11; border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(209, 254, 23, 0.05), 0 0 80px -30px rgba(209, 254, 23, 0.25);
}
#qls .qls-win-bar {
  display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px;
  border-bottom: 1px solid var(--ls-line); background: linear-gradient(180deg, #17191d, #121316);
}
#qls .qls-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
#qls .qls-win-bar i:first-child { background: rgba(209, 254, 23, 0.85); }
#qls .qls-win-bar span {
  margin: 0 auto; padding: 4px 14px; border-radius: 8px; background: rgba(255, 255, 255, 0.05);
  color: var(--ls-faint); font-size: 12px; font-weight: 500; letter-spacing: 0.01em;
}
#qls .qls-win img { width: 100%; height: auto; }
#qls .qls-stage .qls-win::after {   /* a lime rim light along the top edge */
  content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(209, 254, 23, 0.7), transparent);
}

/* floating pieces around the hero window: real template previews / a real template's preview video */
#qls .qls-float {
  position: absolute; z-index: 2; overflow: hidden; border-radius: 16px; background: #111;
  border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.9);
  animation: qls-bob 7s ease-in-out infinite;
}
#qls .qls-float img, #qls .qls-float video { width: 100%; height: auto; }
#qls .qls-float--a { left: -112px; top: 40%; width: 168px; transform: rotate(-7deg); }
#qls .qls-float--b { right: -58px; top: 30%; width: 176px; transform: rotate(6deg); animation-delay: -2.5s; }
#qls .qls-float--c { right: 40px; bottom: -46px; width: 210px; transform: rotate(-3deg); animation-delay: -4.5s; }
#qls .qls-float--phone { right: -46px; top: 24%; width: 210px; padding: 7px; border-radius: 30px; background: #08090b; transform: rotate(4deg); }
/* Video Studio's hero: on a wide screen the window narrows and the phone stands beside it, overlapping only its edge */
@media (min-width: 1300px) {
  #qls .qls-stage--phone { max-width: min(1060px, calc(100vw - 460px)); }
  #qls .qls-stage--phone .qls-float--phone { right: -204px; top: 14%; width: 200px; }
}
#qls .qls-float--phone video, #qls .qls-float--phone img { border-radius: 23px; }
#qls .qls-float-tag {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 2; padding: 5px 10px; border-radius: 999px;
  background: rgba(10, 11, 13, 0.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; border: 1px solid rgba(255, 255, 255, 0.14);
}
@keyframes qls-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------------------------------------------------------------- section heads */
#qls .qls-sec { position: relative; padding: 96px 0 0; }
#qls .qls-sec-head { max-width: 760px; }
#qls .qls-sec-head.qls-center { margin: 0 auto; }

/* ---------------------------------------------------------------- the template wall (two rows that drift; pure CSS) */
#qls .qls-wall { margin-top: 44px; display: grid; gap: 16px; }
#qls .qls-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
#qls .qls-track { display: flex; gap: 16px; width: max-content; animation: qls-drift 70s linear infinite; }
#qls .qls-marquee--rev .qls-track { animation-direction: reverse; animation-duration: 80s; }
#qls .qls-marquee:hover .qls-track { animation-play-state: paused; }
#qls .qls-tile {
  flex: 0 0 auto; height: 250px; overflow: hidden; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.1);
  background: #15171a; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
}
#qls .qls-tile img { height: 100%; width: auto; }
@keyframes qls-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- feature rows */
#qls .qls-rows { display: grid; gap: 110px; margin-top: 70px; }
#qls .qls-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
#qls .qls-row.is-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
#qls .qls-row.is-flip .qls-row-copy { order: 2; }
#qls .qls-row-copy .qls-sub { max-width: 470px; }
#qls .qls-checks { display: grid; gap: 11px; margin-top: 22px; }
#qls .qls-checks li { display: flex; gap: 11px; align-items: flex-start; color: var(--ls-text); font-size: 15px; line-height: 1.5; }
#qls .qls-checks li svg { width: 20px; height: 20px; margin-top: 1px; padding: 3px; border-radius: 6px; background: var(--ls-lime-soft); color: var(--ls-lime); }
#qls .qls-checks li span { color: var(--ls-dim); }
#qls .qls-checks li b { color: #fff; font-weight: 600; }
#qls .qls-shot { position: relative; }
#qls .qls-shot::before {   /* a soft glow behind each screenshot, lime or violet in turn */
  content: ""; position: absolute; inset: 8% 6%; z-index: 0; border-radius: 40px; filter: blur(60px); opacity: .55;
  background: radial-gradient(closest-side, rgba(209, 254, 23, 0.3), transparent);
}
#qls .qls-row.is-flip .qls-shot::before { background: radial-gradient(closest-side, rgba(177, 77, 255, 0.36), transparent); }
#qls .qls-shot .qls-win { z-index: 1; }

/* ---------------------------------------------------------------- "also inside": a grid of small cards */
#qls .qls-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
#qls .qls-card {
  position: relative; padding: 22px 20px 20px; border-radius: 18px; border: 1px solid var(--ls-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  transition: border-color .2s ease, transform .2s ease;
}
#qls .qls-card:hover { border-color: rgba(209, 254, 23, 0.3); transform: translateY(-2px); }
#qls .qls-card-ic {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--ls-lime-soft); color: var(--ls-lime); border: 1px solid rgba(209, 254, 23, 0.22);
}
#qls .qls-card-ic svg { width: 21px; height: 21px; }
#qls .qls-card h3 { margin-top: 16px; color: #fff; font-size: 16px; font-weight: 700; line-height: 1.3; }
#qls .qls-card p { margin-top: 6px; color: var(--ls-dim); font-size: 13.5px; line-height: 1.55; }
#qls .qls-card .qls-tag { position: absolute; top: 18px; right: 16px; }
#qls .qls-tag {
  display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; line-height: 1.3;
  background: var(--ls-grad); color: #fff;
}
#qls .qls-tag--credit { background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; }

/* ---------------------------------------------------------------- how it works */
#qls .qls-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; counter-reset: qls-step; }
#qls .qls-step {
  position: relative; padding: 30px 26px 28px; border-radius: 20px; border: 1px solid var(--ls-line); overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, rgba(209, 254, 23, 0.07), transparent 55%), var(--ls-card-2);
}
#qls .qls-step-n {
  font-family: var(--ls-display); font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(209, 254, 23, 0.75);
}
#qls .qls-step h3 { margin-top: 18px; color: #fff; font-size: 19px; font-weight: 700; line-height: 1.3; }
#qls .qls-step p { margin-top: 8px; color: var(--ls-dim); font-size: 14.5px; line-height: 1.6; }

/* ---------------------------------------------------------------- use cases: cards with a real template preview */
#qls .qls-uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
#qls .qls-use { overflow: hidden; border-radius: 20px; border: 1px solid var(--ls-line); background: var(--ls-card-2); transition: border-color .2s ease, transform .2s ease; }
#qls .qls-use:hover { border-color: rgba(209, 254, 23, 0.32); transform: translateY(-3px); }
#qls .qls-use-pic { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; background: #16181b; }
#qls .qls-use-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .5s ease; }
#qls .qls-use:hover .qls-use-pic img { transform: scale(1.04); }
#qls .qls-use-body { padding: 16px 18px 18px; }
#qls .qls-use h3 { color: #fff; font-size: 16px; font-weight: 700; line-height: 1.3; }
#qls .qls-use p { margin-top: 5px; color: var(--ls-dim); font-size: 13.5px; line-height: 1.55; }

/* ---------------------------------------------------------------- the video template strip (phones playing the real previews) */
#qls .qls-phones {
  display: flex; gap: 18px; margin-top: 44px; padding: 6px 2px 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
#qls .qls-phones::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) {
  #qls .qls-phones { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: visible; }
  #qls .qls-phones .qls-phone { width: auto; }
}
#qls .qls-phone {
  flex: 0 0 auto; width: 214px; scroll-snap-align: start; padding: 7px; border-radius: 30px; background: #08090b;
  border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 26px 60px -24px rgba(0, 0, 0, 0.95);
}
#qls .qls-phone-screen { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 23px; background: #15171a; }
#qls .qls-phone-screen img, #qls .qls-phone-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#qls .qls-phone { cursor: pointer; }
#qls .qls-phone-screen::after {   /* a play mark on a phone that is not playing (its poster shows) - in the top right corner, off the titles */
  content: ""; position: absolute; right: 10px; top: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(10, 11, 13, 0.62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='%23d1fe17'/%3E%3C/svg%3E") center / 18px no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .2s ease; pointer-events: none;
}
#qls .qls-phone.is-playing .qls-phone-screen::after { opacity: 0; }
#qls .qls-phone figcaption { padding: 10px 8px 4px; color: var(--ls-dim); font-size: 12.5px; font-weight: 600; text-align: center; }
#qls .qls-phone .qls-tag { position: absolute; top: 10px; left: 10px; z-index: 2; }

/* ---------------------------------------------------------------- who pays for what (honest, from the live controllers) */
#qls .qls-access { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
#qls .qls-acc { padding: 26px 24px 24px; border-radius: 20px; border: 1px solid var(--ls-line); background: var(--ls-card-2); }
#qls .qls-acc--free { border-color: rgba(209, 254, 23, 0.3); background: radial-gradient(120% 80% at 0% 0%, rgba(209, 254, 23, 0.08), transparent 60%), var(--ls-card-2); }
#qls .qls-acc--paid { border-color: rgba(177, 77, 255, 0.35); background: radial-gradient(120% 80% at 0% 0%, rgba(177, 77, 255, 0.12), transparent 60%), var(--ls-card-2); }
#qls .qls-acc h3 { margin-top: 14px; color: #fff; font-size: 18px; font-weight: 700; line-height: 1.3; }
#qls .qls-acc ul { display: grid; gap: 9px; margin-top: 14px; }
#qls .qls-acc li { position: relative; padding-left: 18px; color: var(--ls-dim); font-size: 14px; line-height: 1.5; }
#qls .qls-acc li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); }
#qls .qls-acc--free li::before { background: var(--ls-lime); }
#qls .qls-acc--paid li::before { background: var(--ls-violet); }

/* ---------------------------------------------------------------- questions (details, no script) */
#qls .qls-faq { max-width: 860px; margin: 40px auto 0; }
#qls .qls-faq details { border-top: 1px solid var(--ls-line); }
#qls .qls-faq details:last-child { border-bottom: 1px solid var(--ls-line); }
#qls .qls-faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 4px; cursor: pointer; list-style: none;
  color: #fff; font-size: 16.5px; font-weight: 600; line-height: 1.4;
}
#qls .qls-faq summary::-webkit-details-marker { display: none; }
#qls .qls-faq summary svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: var(--ls-lime); transition: transform .2s ease; }
#qls .qls-faq details[open] summary svg { transform: rotate(45deg); }
#qls .qls-faq details[open] summary { color: var(--ls-lime); }
#qls .qls-faq details p { padding: 0 4px 22px; max-width: 72ch; color: var(--ls-dim); font-size: 15px; line-height: 1.7; }

/* ---------------------------------------------------------------- the last call */
#qls .qls-final { padding: 110px 0 100px; }
#qls .qls-final-box {
  position: relative; overflow: hidden; isolation: isolate; padding: 64px 32px; border-radius: 28px; text-align: center;
  border: 1px solid rgba(209, 254, 23, 0.28);
  background: radial-gradient(60% 120% at 50% 0%, rgba(209, 254, 23, 0.16), transparent 62%),
              radial-gradient(50% 90% at 100% 100%, rgba(177, 77, 255, 0.18), transparent 70%), #0e0f12;
}
#qls .qls-final-box::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(60% 80% at 50% 30%, #000, transparent); mask-image: radial-gradient(60% 80% at 50% 30%, #000, transparent);
}
#qls .qls-final .qls-h2 { margin-top: 16px; font-size: clamp(32px, 4.4vw, 60px); }
#qls .qls-final .qls-ctas { justify-content: center; }

/* ---------------------------------------------------------------- tablets */
@media (max-width: 1180px) {
  #qls .qls-float--a { left: -20px; width: 140px; }
  #qls .qls-float--b, #qls .qls-float--phone { right: -16px; width: 150px; }
  #qls .qls-float--phone { width: 170px; }
  #qls .qls-float--c { right: 24px; width: 170px; }
  #qls .qls-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #qls .qls-uses { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  #qls .qls-hero { padding-top: 112px; }
  #qls .qls-row, #qls .qls-row.is-flip { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  #qls .qls-row.is-flip .qls-row-copy { order: 0; }
  #qls .qls-rows { gap: 76px; }
  #qls .qls-steps, #qls .qls-access { grid-template-columns: minmax(0, 1fr); }
  #qls .qls-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #qls .qls-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #qls .qls-float--a, #qls .qls-float--b, #qls .qls-float--c { display: none; }
  #qls .qls-float--phone { right: -8px; top: auto; bottom: -36px; width: 128px; padding: 5px; border-radius: 22px; }
  #qls .qls-float--phone video, #qls .qls-float--phone img { border-radius: 17px; }
}

/* ---------------------------------------------------------------- phones */
@media (max-width: 575px) {
  #qls .qls-wrap { padding: 0 16px; }
  #qls .qls-hero { padding: 100px 0 24px; }
  #qls .qls-h1 { margin-top: 16px; font-size: clamp(36px, 10.4vw, 46px); }
  #qls .qls-lede { margin-top: 16px; font-size: 15.5px; }
  #qls .qls-ctas { margin-top: 24px; }
  #qls .qls-ctas .qls-btn { width: 100%; }
  #qls .qls-stage { margin-top: 36px; }
  #qls .qls-win { border-radius: 12px; }
  #qls .qls-win-bar { height: 26px; padding: 0 10px; gap: 5px; }
  #qls .qls-win-bar i { width: 7px; height: 7px; }
  #qls .qls-win-bar span { padding: 2px 9px; font-size: 10px; }
  #qls .qls-float--phone { width: 104px; bottom: -28px; }
  #qls .qls-sec { padding-top: 72px; }
  #qls .qls-tile { height: 172px; border-radius: 11px; }
  #qls .qls-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  #qls .qls-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 0 14px; padding: 16px; }
  #qls .qls-card h3 { margin-top: 0; padding-right: 64px; }
  #qls .qls-card p { grid-column: 2; margin-top: 2px; }
  #qls .qls-card-ic { grid-row: span 2; }
  #qls .qls-card .qls-tag { top: 16px; right: 14px; }
  #qls .qls-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #qls .qls-use-body { padding: 12px 12px 14px; }
  #qls .qls-use h3 { font-size: 14.5px; }
  #qls .qls-use p { font-size: 12.5px; }
  #qls .qls-phone { width: 168px; padding: 5px; border-radius: 24px; }
  #qls .qls-phone-screen { border-radius: 19px; }
  #qls .qls-faq summary { font-size: 15.5px; padding: 17px 2px; }
  #qls .qls-final { padding: 80px 0 72px; }
  #qls .qls-final-box { padding: 44px 20px; border-radius: 22px; }
}

/* Video Studio's hero on a phone: the phone editor in a handset frame (no browser bar), the template phone left out */
@media (max-width: 575px) {
  #qls .qls-win--handset { max-width: 290px; margin: 0 auto; padding: 8px; border-radius: 38px; background: #060708; border-color: rgba(255, 255, 255, 0.16); }
  #qls .qls-win--handset .qls-win-bar { display: none; }
  #qls .qls-win--handset img { border-radius: 30px; }
  #qls .qls-win--handset::after { display: none; }
  #qls .qls-stage--phone .qls-float--phone { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  #qls .qls-track, #qls .qls-float { animation: none; }
  #qls .qls-btn, #qls .qls-card, #qls .qls-use, #qls .qls-use-pic img { transition: none; }
}
