/* ─────────────────────────────────────────────────────────────────
   ShowRunner — bespoke showcase stylesheet
   Modeled structurally on movematic.css, re-themed to ShowRunner's
   blue "clapperboard" palette. Standalone; no shared.css dependency.
   ───────────────────────────────────────────────────────────────── */

:root {
  --bg:           #eef3fe;     /* cool blue-glass wash */
  --surface:      #ffffff;
  --ink:          #0e131e;     /* deep navy-slate */
  --ink-2:        #4a5670;
  --line:         rgba(14, 19, 30, 0.10);

  --blue:         #2563eb;
  --blue-light:   #3b82f6;
  --blue-deep:    #1d4ed8;
  --steel:        #28344a;
  --steel-deep:   #1c2435;

  --grad-brand:   linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #1d4ed8 100%);
  --grad-text:    linear-gradient(120deg, #14203a 26%, #2563eb 70%, #3b82f6 100%);

  --shadow-sm:    0 2px 8px rgba(14, 19, 30, 0.06);
  --shadow-md:    0 12px 32px rgba(14, 19, 30, 0.10);
  --shadow-lg:    0 24px 60px rgba(20, 40, 80, 0.16);

  --radius:       18px;
  --radius-sm:    10px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #0a0f1a;
    --surface:   #131a29;
    --ink:       #eaf1ff;
    --ink-2:     #9aa8c6;
    --line:      rgba(255, 255, 255, 0.10);

    --blue:       #6ea8ff;
    --blue-light: #8cbcff;
    --blue-deep:  #3b82f6;
    --steel:      #28344a;
    --steel-deep: #1c2435;

    --grad-brand: linear-gradient(135deg, #2f6fe0 0%, #5a93f0 50%, #1d4ed8 100%);
    --grad-text:  linear-gradient(120deg, #eaf1ff 26%, #8cbcff 70%, #6ea8ff 100%);
    --shadow-sm:  0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md:  0 12px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg:  0 24px 60px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               system-ui, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* ── BACKGROUND — cool blue glass fade + grain, preserved from the
   prior ShowRunner page so the brand wash feel carries over. ── */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1200px;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 900px 700px at 12% -10%, rgba(59, 130, 246, 0.30), transparent 70%),
    radial-gradient(ellipse 800px 600px at 92%  18%, rgba(40, 52, 74, 0.30),   transparent 70%),
    radial-gradient(ellipse 700px 500px at 55%  52%, rgba(80, 120, 210, 0.16), transparent 70%);
  mask-image: linear-gradient(180deg,
    #000 0%, #000 35%, rgba(0, 0, 0, 0.8) 55%, rgba(0, 0, 0, 0.3) 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg,
    #000 0%, #000 35%, rgba(0, 0, 0, 0.8) 55%, rgba(0, 0, 0, 0.3) 78%, transparent 100%);
}
@media (prefers-color-scheme: dark) {
  body::before {
    background:
      radial-gradient(ellipse 900px 700px at 12% -10%, rgba(50, 100, 210, 0.30), transparent 70%),
      radial-gradient(ellipse 800px 600px at 92%  18%, rgba(18, 24, 38, 0.55),   transparent 70%),
      radial-gradient(ellipse 700px 500px at 55%  52%, rgba(60, 90, 180, 0.16),  transparent 70%);
  }
}

/* Grain overlay */
body::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1200px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.28;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  mask-image: linear-gradient(180deg, #000 0%, #000 40%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─────────────────── TOP NAV ─────────────────── */

.topnav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 500;
}
.back-home svg { width: 14px; height: 14px; }
.nav-sep { opacity: 0.4; }
.nav-title { color: var(--ink); font-weight: 600; }
.nav-docs {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  font-weight: 500;
}
.nav-docs svg { width: 12px; height: 12px; }

main { display: block; }

/* ─────────────────── HERO ─────────────────── */

.hero {
  max-width: 1180px;
  margin: 40px auto 100px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 460px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  overflow: visible;
}

.hero-text { max-width: 460px; }
.hero-icon img {
  display: block;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(48px, 6.5vw, 84px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  font-size: 21px;
  color: var(--ink-2);
  line-height: 1.4;
  margin-bottom: 32px;
}

.cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
  border: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary {
  color: #ffffff;
  background: var(--grad-brand);
  box-shadow: 0 10px 28px -6px rgba(37, 99, 235, 0.50);
}
.btn-primary:hover {
  box-shadow: 0 14px 36px -6px rgba(37, 99, 235, 0.65);
}
.btn-large { padding: 16px 36px; font-size: 17px; }

.micro {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 18px;
  opacity: 0.85;
}

/* HERO SCREENSHOT — light/dark <picture> pair (real ShowRunner editor).
   The screenshot carries its own window chrome + baked shadow, so the
   container adds no extra radius/shadow. Explicit large width bleeds it
   off the right edge; body overflow-x:hidden clips the overflow. */
.hero-demo {
  width: 900px;
  max-width: none;
  padding: 0;
}
/* The bespoke hero carries its own framing — no card radius/shadow on top of it. */
.hero-demo picture,
.hero-demo img {
  display: block;
  width: 100%;
  height: auto;
}

/* ─────────────────── KICKER (small section labels) ─────────────────── */

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.kicker.centered { text-align: center; }

/* ─────────────────── MADE FOR ─────────────────── */

.made-for {
  max-width: 1180px;
  margin: 0 auto 110px;
  padding: 0 32px;
}

.use-cases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.use-case {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.use-case:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.use-vis {
  height: 180px;
  background: linear-gradient(135deg, #eaf1ff 0%, #e3edfb 100%);
  position: relative;
  overflow: hidden;
}
@media (prefers-color-scheme: dark) {
  .use-vis {
    background: linear-gradient(135deg, #182338 0%, #141d30 100%);
  }
}

/* ═══════════════════════════════════════════════════════════════
   USE-CASE 1: Software tutorials & how-tos — app window with a
   cursor gliding to a button + click pulse (adapted from MoveMatic).
   ═══════════════════════════════════════════════════════════════ */
.demo-window {
  position: absolute;
  inset: 18px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(14, 19, 30, 0.10), 0 0 0 1px var(--line);
  overflow: hidden;
}
@media (prefers-color-scheme: dark) {
  .demo-window { background: #1a2235; }
}
.demo-window-bar {
  height: 16px;
  background: linear-gradient(180deg, #eef2fa 0%, #e2e8f4 100%);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 8px;
}
@media (prefers-color-scheme: dark) {
  .demo-window-bar { background: linear-gradient(180deg, #222c44 0%, #1a2235 100%); }
}
.win-dot { width: 6px; height: 6px; border-radius: 50%; }
.win-dot--red    { background: #ff5f57; }
.win-dot--yellow { background: #febc2e; }
.win-dot--green  { background: #28c840; }

.demo-content {
  display: flex;
  height: calc(100% - 16px);
}
.demo-sidebar {
  width: 32%;
  padding: 8px 6px;
  background: #f4f8ff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (prefers-color-scheme: dark) {
  .demo-sidebar { background: #151e30; }
}
.demo-sidebar-row {
  height: 6px;
  border-radius: 3px;
  background: var(--ink-2);
  opacity: 0.3;
}
.demo-sidebar-row.active {
  background: var(--blue);
  opacity: 1;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
}

.demo-main {
  flex: 1;
  padding: 10px 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.demo-main-title {
  height: 7px;
  width: 70%;
  background: var(--ink);
  opacity: 0.7;
  border-radius: 3px;
}
.demo-main-row {
  height: 4px;
  width: 100%;
  background: var(--ink-2);
  opacity: 0.3;
  border-radius: 2px;
}
.demo-main-row.short { width: 65%; }
.demo-main-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 9px;
  padding: 4px 10px;
  background: var(--grad-brand);
  color: #fff;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
  animation: demoBtnPulse 4s infinite ease-out;
}
@keyframes demoBtnPulse {
  0%, 55%   { transform: translate(-50%, -50%) scale(1);    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3); }
  65%       { transform: translate(-50%, -50%) scale(0.92); box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2); }
  75%       { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.55); }
  85%, 100% { transform: translate(-50%, -50%) scale(1);    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3); }
}

.demo-callout {
  position: absolute;
  top: 22px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 0;
  opacity: 0;
  animation: demoCallout 4s infinite ease-out;
}
.demo-callout-dot {
  width: 6px; height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}
.demo-callout-line {
  width: 16px;
  height: 1.5px;
  background: var(--blue-light);
}
.demo-callout-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid var(--blue-light);
  border-radius: 4px;
  padding: 1px 5px;
  white-space: nowrap;
}
@media (prefers-color-scheme: dark) {
  .demo-callout-label { background: #1a2235; }
}
@keyframes demoCallout {
  0%, 18%  { opacity: 0; transform: translateX(8px); }
  28%, 80% { opacity: 1; transform: translateX(0); }
  92%, 100%{ opacity: 0; transform: translateX(4px); }
}

.demo-window-cursor {
  position: absolute;
  width: 12px; height: 14px;
  top: 100%; left: 90%;
  z-index: 4;
  animation: demoCursor 4s infinite ease-in-out;
}
.demo-window-cursor svg { width: 100%; height: 100%; }
@keyframes demoCursor {
  0%       { top: 95%; left: 92%; opacity: 0; }
  15%      { top: 82%; left: 80%; opacity: 1; }
  60%, 85% { top: 55%; left: 65%; opacity: 1; }
  100%     { top: 95%; left: 92%; opacity: 0; }
}

.demo-window-pulse {
  position: absolute;
  width: 16px; height: 16px;
  top: 56%; left: 66%;
  margin-top: -8px; margin-left: -8px;
  border: 2px solid var(--blue-light);
  border-radius: 50%;
  opacity: 0;
  animation: demoPulseRing 4s infinite ease-out;
}
@keyframes demoPulseRing {
  0%, 60%  { opacity: 0; transform: scale(0.6); }
  68%      { opacity: 0.9; transform: scale(1); }
  84%      { opacity: 0; transform: scale(3); }
  100%     { opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   USE-CASE 2: Product feature demos — a "feature callout" card with
   a glowing pin that lands on a highlighted UI region.
   ═══════════════════════════════════════════════════════════════ */
.feat-stage {
  position: absolute;
  inset: 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(14, 19, 30, 0.10), 0 0 0 1px var(--line);
  overflow: hidden;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (prefers-color-scheme: dark) { .feat-stage { background: #1a2235; } }
.feat-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--ink-2);
  opacity: 0.25;
}
.feat-bar.short { width: 55%; }
.feat-region {
  margin-top: 4px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eaf1ff 0%, #dceafe 100%);
  border: 1.5px solid transparent;
  position: relative;
  animation: featGlow 4s infinite ease-out;
}
@media (prefers-color-scheme: dark) {
  .feat-region { background: linear-gradient(135deg, #1f2c45 0%, #243454 100%); }
}
@keyframes featGlow {
  0%, 30%  { border-color: transparent; box-shadow: none; transform: translateY(0); }
  50%      { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18); transform: translateY(-2px); }
  80%      { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18); transform: translateY(-2px); }
  100%     { border-color: transparent; box-shadow: none; transform: translateY(0); }
}
.feat-pin {
  position: absolute;
  top: -10px; left: 50%;
  width: 18px; height: 18px;
  margin-left: -9px;
  border-radius: 50% 50% 50% 0;
  background: var(--grad-brand);
  transform: rotate(-45deg) scale(0);
  transform-origin: 50% 100%;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
  animation: featPin 4s infinite ease-out;
}
.feat-pin::after {
  content: "";
  position: absolute;
  top: 5px; left: 5px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
}
@keyframes featPin {
  0%, 28%  { transform: rotate(-45deg) scale(0); opacity: 0; }
  44%      { transform: rotate(-45deg) scale(1.15); opacity: 1; }
  54%, 80% { transform: rotate(-45deg) scale(1); opacity: 1; }
  92%, 100%{ transform: rotate(-45deg) scale(0); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   USE-CASE 3: App listing / social clips — a 9:16 phone-ish frame
   with a play badge + sweeping zoom frame (a "clip" being cropped).
   ═══════════════════════════════════════════════════════════════ */
.clip-frame {
  position: absolute;
  top: 50%; left: 50%;
  width: 100px; height: 150px;
  margin: -75px 0 0 -50px;
  background: linear-gradient(160deg, #2563eb 0%, #3b82f6 55%, #1d4ed8 100%);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.30);
}
.clip-play {
  position: absolute;
  top: 50%; left: 50%;
  width: 36px; height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  animation: clipPlay 3.4s infinite ease-out;
}
.clip-play svg { width: 13px; height: 13px; transform: translateX(1px); color: var(--blue); }
@keyframes clipPlay {
  0%, 100% { transform: scale(1); }
  12%      { transform: scale(1.14); }
  26%      { transform: scale(1); }
}
.clip-zoom {
  position: absolute;
  inset: 22% 24%;
  border: 2px dashed rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  opacity: 0;
  animation: clipZoom 3.4s infinite ease-in-out;
}
@keyframes clipZoom {
  0%, 40%  { opacity: 0; transform: scale(1.4); }
  60%      { opacity: 1; transform: scale(1); }
  82%      { opacity: 1; transform: scale(1); }
  92%, 100%{ opacity: 0; transform: scale(0.85); }
}

/* ═══════════════════════════════════════════════════════════════
   USE-CASE 4: Onboarding & support docs — numbered step chips
   connected by a dashed path, lighting up in sequence.
   ═══════════════════════════════════════════════════════════════ */
.onboard-flow {
  position: absolute;
  inset: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.onboard-step {
  position: relative;
  z-index: 2;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line);
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  animation: onboardStep 4.5s infinite ease-out;
}
.onboard-step:nth-of-type(1) { animation-delay: 0s; }
.onboard-step:nth-of-type(2) { animation-delay: 0.7s; }
.onboard-step:nth-of-type(3) { animation-delay: 1.4s; }
.onboard-step:nth-of-type(4) { animation-delay: 2.1s; }
@keyframes onboardStep {
  0%, 8%   { border-color: var(--line); color: var(--ink-2); background: var(--surface); }
  16%      { border-color: var(--blue); color: #fff; background: var(--blue); transform: scale(1.12); }
  40%      { border-color: var(--blue); color: #fff; background: var(--blue); transform: scale(1); }
  60%, 100%{ border-color: var(--line); color: var(--ink-2); background: var(--surface); transform: scale(1); }
}
.onboard-path {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}
.onboard-path line {
  stroke: var(--blue);
  stroke-width: 2;
  stroke-dasharray: 4 4;
  opacity: 0.45;
}

.use-case h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 18px 22px 6px;
}
.use-case p {
  padding: 0 22px 22px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
}

/* ─────────────────── FEATURE ROWS (zigzag) ─────────────────── */

.feature-rows {
  max-width: 1180px;
  margin: 0 auto 80px;
  padding: 0 32px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}
.feature-row:last-child { margin-bottom: 0; }

.feature-row.reverse > :first-child { grid-column: 1; }
.feature-row.reverse > :last-child  { grid-column: 2; }

.feature-text h2 {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 22px;
}
.feature-text h2 em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.feature-text p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 14px;
}
.feature-text p:last-child { margin-bottom: 0; }
.feature-text kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  background: #e6edfb;
  padding: 2px 8px;
  border-radius: 5px;
  border: 1px solid var(--line);
  color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  .feature-text kbd { background: rgba(255, 255, 255, 0.08); }
}

.feature-demo {
  position: relative;
  min-height: 280px;
}

/* ─── ROW 1 DEMO: step palette + WYSIWYG targeting ─── */
.flow-build {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: stretch;
}
.flow-palette {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 10px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.flow-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 8px;
  border-radius: 7px;
  background: #f0f5ff;
  border: 1px solid var(--line);
}
@media (prefers-color-scheme: dark) { .flow-chip { background: rgba(255,255,255,0.04); } }
.flow-chip i {
  width: 16px; height: 16px;
  border-radius: 5px;
  background: var(--grad-brand);
  flex-shrink: 0;
}
.flow-chip.pulse i { animation: chipPulse 3.6s infinite ease-out; }
@keyframes chipPulse {
  0%, 70%  { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.0); }
  80%      { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25); }
  100%     { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.0); }
}

/* WYSIWYG live screen on the right */
.flow-screen {
  position: relative;
  background: linear-gradient(135deg, #eaf1ff 0%, #e3edfb 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  min-height: 200px;
  box-shadow: var(--shadow-sm);
}
@media (prefers-color-scheme: dark) {
  .flow-screen { background: linear-gradient(135deg, #182338 0%, #141d30 100%); }
}
.flow-target {
  position: absolute;
  z-index: 2;                       /* circles stack above the dashed path */
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: color-mix(in srgb, var(--blue) 16%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--blue);
}
.flow-target.t1 { top: 26%; left: 20%; }
.flow-target.t2 { top: 58%; left: 48%; }
.flow-target.t3 { top: 30%; left: 74%; }
.flow-dash {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;                       /* marching ants sit below the circles */
  transform: translate(14px, 14px); /* the path meets the targets' top-left corners; nudge by the
                                       circle radius so it hits their centres instead */
}
.flow-dash path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-dasharray: 5 5;
  opacity: 0.55;
  stroke-dashoffset: 300;
  animation: flowDash 4s infinite linear;
}
@keyframes flowDash {
  to { stroke-dashoffset: 0; }
}
.flow-chipstart, .flow-chipend {
  position: absolute;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
}
.flow-chipstart { top: 16%; left: 12%; }
.flow-chipend   { top: 64%; left: 74%; background: var(--steel); }
.flow-livecursor {
  position: absolute;
  z-index: 3;
  width: 13px; height: 15px;
  animation: flowLiveCursor 4s infinite ease-in-out;
}
.flow-livecursor svg { width: 100%; height: 100%; }
@keyframes flowLiveCursor {
  0%       { top: 26%; left: 21%; }
  33%      { top: 58%; left: 49%; }
  66%, 100%{ top: 30%; left: 75%; }
}

/* ─── ROW 2 DEMO: Run Live / Run & Record ─── */
.run-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.run-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 14px;
}
.run-badge {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.3);
}
.run-badge.rec { background: linear-gradient(135deg, #e11d48 0%, #be123c 100%); box-shadow: 0 6px 14px rgba(225, 29, 72, 0.3); }
.run-badge svg { width: 18px; height: 18px; }
.run-rec-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  animation: recBlink 1.4s infinite ease-in-out;
}
@keyframes recBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.25; }
}
.run-meta { display: flex; flex-direction: column; gap: 2px; }
.run-title { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.run-sub { font-size: 13px; color: var(--ink-2); }
.run-live-track {
  position: relative;
  height: 6px;
  margin-top: 2px;
  width: 130px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.run-live-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--grad-brand);
  border-radius: 3px;
  animation: runFill 4s infinite ease-in-out;
}
@keyframes runFill {
  0%   { width: 0; }
  70%  { width: 100%; }
  100% { width: 100%; }
}

/* ─── ROW 3 DEMO: Recording Editor — zoom-span timeline + playhead ─── */
.editor-demo {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.editor-preview {
  position: relative;
  height: 120px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eaf1ff 0%, #dceafe 100%);
  overflow: hidden;
  margin-bottom: 14px;
}
@media (prefers-color-scheme: dark) {
  .editor-preview { background: linear-gradient(135deg, #1f2c45 0%, #243454 100%); }
}
.editor-zoombox {
  position: absolute;
  inset: 30% 34%;
  border: 2px solid var(--blue);
  border-radius: 8px;
  box-shadow: 0 0 0 100px rgba(14, 19, 30, 0.12) inset;
  animation: editorZoom 5s infinite ease-in-out;
}
@keyframes editorZoom {
  0%, 20%  { inset: 30% 34%; opacity: 0.5; }
  45%, 70% { inset: 12% 14%; opacity: 1; }
  95%, 100%{ inset: 30% 34%; opacity: 0.5; }
}
.editor-track {
  position: relative;
  height: 30px;
  background: #eef2fb;
  border-radius: 8px;
  border: 1px solid var(--line);
  overflow: hidden;
}
@media (prefers-color-scheme: dark) { .editor-track { background: rgba(255,255,255,0.04); } }
.editor-span {
  position: absolute;
  top: 5px; bottom: 5px;
  border-radius: 5px;
  background: var(--grad-brand);
  opacity: 0.9;
}
.editor-span.s1 { left: 8%;  width: 26%; }
.editor-span.s2 { left: 46%; width: 34%; background: linear-gradient(135deg, #28344a, #3b5278); }
.editor-playhead {
  position: absolute;
  top: -5px; bottom: -5px;
  width: 2px;
  background: var(--blue-light);
  box-shadow: 0 0 10px var(--blue-light);
  left: 5%;
  animation: editorPlayhead 5s infinite linear;
}
@keyframes editorPlayhead {
  0%   { left: 5%; }
  100% { left: 95%; }
}
.editor-autozoom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--blue) 12%, transparent);
}
.editor-autozoom span { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: recBlink 1.6s infinite ease-in-out; }

/* ─── ROW 4 DEMO: multi-scene deck + transitions ─── */
.scenes-deck {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}
.scene-mini {
  position: relative;
  height: 90px;
  background: linear-gradient(135deg, #eaf1ff 0%, #dceafe 100%);
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: sceneActive 6s infinite ease-in-out;
}
.scene-mini:nth-of-type(1) { animation-delay: 0s; }
.scene-mini:nth-of-type(3) { animation-delay: 2s; }
.scene-mini:nth-of-type(5) { animation-delay: 4s; }
@keyframes sceneActive {
  0%, 25% { transform: scale(1);    box-shadow: 0 2px 4px rgba(14, 19, 30, 0.04); }
  4%, 14% { transform: scale(1.06); box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25); }
  100%    { transform: scale(1);    box-shadow: 0 2px 4px rgba(14, 19, 30, 0.04); }
}
@media (prefers-color-scheme: dark) {
  .scene-mini { background: linear-gradient(135deg, #1f2c45 0%, #243454 100%); }
}
.scene-mini-line {
  height: 6px;
  background: var(--ink);
  opacity: 0.7;
  border-radius: 3px;
}
.scene-mini-line.short { width: 70%; opacity: 0.35; }
.scene-mini-btn {
  margin-top: 6px;
  width: 40%;
  height: 12px;
  background: var(--grad-brand);
  border-radius: 6px;
}
.scene-mini--alt { align-items: center; justify-content: center; }
.scene-mini-img {
  width: 60%;
  height: 60%;
  background: var(--grad-brand);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.30);
}
.scene-mini--cta { align-items: center; justify-content: center; }
.scene-mini-cta {
  width: 70%;
  height: 24px;
  background: var(--grad-brand);
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}
.scene-transition {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--ink-2);
}
.scene-trans-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.scene-transition svg { width: 26px; height: 12px; color: var(--blue); }

/* ─────────────────── DIFFERENTIATORS GRID ─────────────────── */

.diff-grid {
  max-width: 1180px;
  margin: 0 auto 110px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.diff-grid > .kicker { grid-column: 1 / -1; }

.diff-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.diff-vis {
  height: 160px;
  background: linear-gradient(135deg, #eaf1ff 0%, #e3edfb 100%);
  position: relative;
  overflow: hidden;
}
@media (prefers-color-scheme: dark) {
  .diff-vis { background: linear-gradient(135deg, #182338 0%, #141d30 100%); }
}
.diff-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 20px 22px 6px;
}
.diff-card p {
  padding: 0 22px 22px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
}
.diff-card kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  background: #e6edfb;
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  .diff-card kbd { background: rgba(255, 255, 255, 0.08); }
}

/* DIFF 1 — Hot spots: a UI region lifts/glows under the cursor */
.hotspot-vis {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hotspot-region {
  width: 92px; height: 56px;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  animation: hotspotLift 3.4s infinite ease-out;
}
@keyframes hotspotLift {
  0%, 30%  { transform: translateY(0) scale(1); box-shadow: var(--shadow-sm); }
  55%      { transform: translateY(-4px) scale(1.05); box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35), 0 0 0 2px var(--blue); }
  80%      { transform: translateY(-4px) scale(1.05); box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35), 0 0 0 2px var(--blue); }
  100%     { transform: translateY(0) scale(1); box-shadow: var(--shadow-sm); }
}
.hotspot-cursor {
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 16px;
  z-index: 2;
  animation: hotspotCursor 3.4s infinite ease-in-out;
}
.hotspot-cursor svg { width: 100%; height: 100%; }

/* The cursor glides over the region and arrives just as it lifts + glows, then drifts off. */
@keyframes hotspotCursor {
  0%   { transform: translate(34px, 26px); }
  26%  { transform: translate(-2px, -2px); }
  80%  { transform: translate(-2px, -2px); }
  100% { transform: translate(34px, 26px); }
}

/* DIFF 2 — Cursor polish: pointer + comet trail + click ring */
.polish-vis { position: absolute; inset: 0; }
.polish-cursor {
  position: absolute;
  width: 16px; height: 19px;
  z-index: 3;
  animation: polishCursor 3.6s infinite ease-in-out;
}
.polish-cursor svg { width: 100%; height: 100%; }
@keyframes polishCursor {
  0%   { top: 70%; left: 18%; }
  55%, 70% { top: 38%; left: 60%; }
  100% { top: 70%; left: 18%; }
}
.polish-trail {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-light);
  filter: blur(1px);
  z-index: 2;
}
.polish-trail.a { animation: polishTrail 3.6s infinite ease-in-out; animation-delay: 0.08s; }
.polish-trail.b { animation: polishTrail 3.6s infinite ease-in-out; animation-delay: 0.16s; opacity: 0.6; }
.polish-trail.c { animation: polishTrail 3.6s infinite ease-in-out; animation-delay: 0.24s; opacity: 0.35; }
@keyframes polishTrail {
  0%   { top: 72%; left: 20%; }
  55%, 70% { top: 40%; left: 62%; }
  100% { top: 72%; left: 20%; }
}
.polish-ring {
  position: absolute;
  top: 38%; left: 60%;
  width: 18px; height: 18px;
  margin: -2px 0 0 -2px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  opacity: 0;
  animation: polishRing 3.6s infinite ease-out;
}
@keyframes polishRing {
  0%, 55%  { opacity: 0; transform: scale(0.4); }
  62%      { opacity: 0.9; transform: scale(1); }
  78%      { opacity: 0; transform: scale(2.4); }
  100%     { opacity: 0; }
}

/* DIFF 3 — Camera + mic bubble: a corner webcam bubble */
.cam-vis {
  position: absolute;
  inset: 18px;
  background: var(--surface);
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(14, 19, 30, 0.10), 0 0 0 1px var(--line);
  overflow: hidden;
}
@media (prefers-color-scheme: dark) { .cam-vis { background: #1a2235; } }
.cam-screen {
  position: absolute;
  inset: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cam-screen i {
  height: 5px;
  border-radius: 3px;
  background: var(--ink-2);
  opacity: 0.22;
}
.cam-screen i:nth-child(2) { width: 70%; }
.cam-bubble {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: 2px solid var(--surface);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.4);
  overflow: hidden;
  animation: camBubble 4s infinite ease-in-out;
}
.cam-bubble::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 50%;
  width: 22px; height: 22px;
  margin-left: -11px;
  border-radius: 50% 50% 45% 45%;
  background: rgba(255, 255, 255, 0.85);
}
.cam-bubble::before {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  width: 12px; height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 2;
}
@keyframes camBubble {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
.cam-mic {
  position: absolute;
  bottom: 16px; left: 12px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}
.cam-mic span {
  width: 3px;
  border-radius: 2px;
  background: var(--blue);
  animation: camMic 1s infinite ease-in-out;
}
.cam-mic span:nth-child(1) { height: 40%; animation-delay: 0s; }
.cam-mic span:nth-child(2) { height: 90%; animation-delay: 0.15s; }
.cam-mic span:nth-child(3) { height: 60%; animation-delay: 0.3s; }
.cam-mic span:nth-child(4) { height: 100%; animation-delay: 0.45s; }
.cam-mic span:nth-child(5) { height: 50%; animation-delay: 0.6s; }
@keyframes camMic {
  0%, 100% { transform: scaleY(0.5); }
  50%      { transform: scaleY(1); }
}

/* DIFF 4 — Auto-zoom: camera lensing into a region */
.az-vis {
  position: absolute;
  inset: 20px;
  background: var(--surface);
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(14, 19, 30, 0.10);
  overflow: hidden;
}
@media (prefers-color-scheme: dark) {
  .az-vis { box-shadow: 0 8px 16px rgba(0,0,0,0.4), inset 0 0 0 1px var(--line); background: #1a2235; }
}
.az-detail {
  position: absolute;
  top: 50%; left: 50%;
  width: 30px; height: 30px;
  margin: -15px 0 0 -15px;
  background: var(--grad-brand);
  border-radius: 6px;
  animation: azDetail 4s infinite ease-in-out;
}
.az-frame {
  position: absolute;
  inset: 25% 30%;
  border: 2px dashed var(--blue-light);
  border-radius: 6px;
  animation: azFrame 4s infinite ease-in-out;
}
@keyframes azDetail {
  0%, 25%  { transform: scale(1); }
  50%, 75% { transform: scale(2.3); }
  100%     { transform: scale(1); }
}
@keyframes azFrame {
  0%, 25%  { opacity: 0.6; }
  50%, 75% { opacity: 0; transform: scale(2); }
  100%     { opacity: 0.6; transform: scale(1); }
}

/* DIFF 5 — Pick on screen: timed crosshair capture */
.pick-vis {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pick-cross {
  position: relative;
  width: 70px; height: 70px;
}
.pick-cross::before, .pick-cross::after {
  content: "";
  position: absolute;
  background: var(--blue);
  opacity: 0.7;
}
.pick-cross::before { left: 50%; top: 0; bottom: 0; width: 1.5px; margin-left: -0.75px; }
.pick-cross::after  { top: 50%; left: 0; right: 0; height: 1.5px; margin-top: -0.75px; }
.pick-ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--blue);
  border-radius: 50%;
  animation: pickRing 2.6s infinite ease-out;
}
@keyframes pickRing {
  0%   { transform: scale(1.3); opacity: 0; }
  30%  { transform: scale(1); opacity: 1; }
  70%  { transform: scale(1); opacity: 1; }
  90%, 100% { transform: scale(0.6); opacity: 0; }
}
.pick-count {
  position: absolute;
  top: 50%; left: 50%;
  width: 26px; height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
  animation: pickCount 2.6s infinite ease-out;
}
@keyframes pickCount {
  0%, 100% { transform: scale(0.6); opacity: 0; }
  25%, 65% { transform: scale(1); opacity: 1; }
}

/* DIFF 6 — Native-resolution export + scene background */
.export-vis {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.export-scene {
  width: 110px; height: 74px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #1d4ed8 100%);
  padding: 12px;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
  position: relative;
}
.export-shot {
  width: 100%; height: 100%;
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}
.export-shot::after {
  content: "";
  position: absolute;
  top: 6px; left: 6px; right: 6px;
  height: 5px;
  border-radius: 3px;
  background: var(--grad-brand);
}
.export-badge {
  position: absolute;
  bottom: -8px; right: -8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 9px;
  font-weight: 800;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.02em;
}

/* ─────────────────── CTA + SUPPORT (combined) ─────────────────── */

.cta-end {
  max-width: 1116px;
  margin: 0 auto 80px;
  padding: 56px 48px 44px;
  text-align: center;
  background: var(--surface);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}
.cta-end h2 {
  font-size: clamp(34px, 4.8vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.cta-end .cta-sub {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 540px;
  margin: 0 auto 12px;
}
.cta-end .cta-req {
  font-size: 13px;
  color: var(--ink-2);
  opacity: 0.7;
  margin: 0 auto 28px;
  letter-spacing: 0.01em;
}
.cta-end .cta {
  justify-content: center;
  margin-bottom: 36px;
}
.cta-support {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-2);
}
.cta-support a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}
.cta-support a:hover { text-decoration: underline; }
.cta-support span { opacity: 0.4; }

/* ─────────────────── FOOTER ─────────────────── */

.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-2);
}
.site-footer .social {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.site-footer .social a {
  color: var(--ink-2);
  display: inline-flex;
  transition: color 0.18s ease;
}
.site-footer .social a:hover { color: var(--blue); }
.site-footer .social svg { width: 18px; height: 18px; }

/* ─────────────────── RESPONSIVE ─────────────────── */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .hero-text,
  .hero-demo { min-width: 0; max-width: 100%; }
  .hero-demo { width: 100%; }
  .hero h1,
  .hero .lede { overflow-wrap: break-word; }
  .feature-row { grid-template-columns: 1fr; gap: 36px; margin-bottom: 80px; }
  .feature-row.reverse > :first-child { order: 2; grid-column: 1; }
  .feature-row.reverse > :last-child  { order: 1; grid-column: 1; }
  .use-cases { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero { padding: 0 20px; margin: 24px auto 60px; }
  .hero-icon img { width: 72px; height: 72px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 44px); margin-bottom: 16px; }
  .hero .lede { font-size: 17px; margin-bottom: 24px; }
  .micro { font-size: 12px; }
  .use-cases { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .scenes-deck { grid-template-columns: 1fr; gap: 8px; }
  .scene-transition { flex-direction: row; }
  .flow-build { grid-template-columns: 1fr; }
}

/* ─────────────────── ACCESSIBILITY ─────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─────────────────── WATCH-DEMO LINK + VIDEO LIGHTBOX ─────────────────── */
/* Quiet inline play link beneath the hero CTA — blue play chip + underline on hover,
   transparent background so it reads as a link, not a third button. */
.watch-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  padding: 6px 4px;
  background: transparent;
  border: none;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: -0.005em;
  cursor: pointer;
  border-radius: 8px;
}
.watch-link:hover { text-decoration: underline; }
.watch-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.watch-link-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  flex-shrink: 0;
}
.watch-link-play svg { width: 10px; height: 10px; transform: translateX(1px); }

@keyframes lightboxIn { from { opacity: 0; } to { opacity: 1; } }
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: lightboxIn 180ms ease-out;
}
.video-lightbox[hidden] { display: none; }
.video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 22, 0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.video-lightbox-card {
  position: relative;
  width: 100%;
  max-width: 1100px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  background: #000;
}
.video-lightbox-video { display: block; width: 100%; height: auto; max-height: 80vh; }
.video-lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}
.video-lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }
.video-lightbox-close svg { width: 14px; height: 14px; }
