/* ============================================================
   Video Gen Studio — marketing landing page (additive, .lp- scoped)
   Light claymorphism. Reuses tokens from app.css (--grad, --surface,
   --clay*, --radius*, fonts). No dark surfaces: every panel is either
   near-white clay, a recessed blue-grey groove, or the saturated
   brand gradient (the only place white text is allowed).
   ============================================================ */

.lp {
  background:
    radial-gradient(900px 480px at 8% -6%, rgba(48, 104, 255, 0.10), transparent 60%),
    radial-gradient(760px 460px at 96% 4%, rgba(124, 92, 255, 0.09), transparent 62%),
    transparent;
  color: var(--text-soft);
  overflow-x: clip;
}

.lp-container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ---------- shared buttons ---------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, filter 0.15s ease;
}
.lp-btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--clay-brand), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}
.lp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(48, 104, 255, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.lp-btn-secondary {
  background: #fff;
  color: var(--text);
  box-shadow: var(--clay);
}
.lp-btn-secondary:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--clay-hover); }
/* .lp-btn-invert / .lp-btn-ghost live on the saturated gradient panel,
   so white fills and white text are correct there. */
.lp-btn-invert {
  background: #fff;
  color: var(--text);
  box-shadow: 0 12px 28px -10px rgba(12, 40, 110, 0.45), inset 0 1px 0 #fff;
}
.lp-btn-invert:hover { transform: translateY(-2px); filter: brightness(1.02); }
.lp-btn-ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 10px 24px -14px rgba(12, 40, 110, 0.4);
}
.lp-btn-ghost:hover { background: rgba(255, 255, 255, 0.26); transform: translateY(-2px); }

/* ---------- hero ---------- */
.lp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 108px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
}
.lp-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .lp-hero-grid { grid-template-columns: 1fr; }
  /* headline first on small screens: the mock is decoration, the sentence is the pitch */
  .lp-hero-visual { order: initial; }
}

.lp-eyebrows {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-lg);
}
.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--clay);
}
.lp-dot { width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 3px 7px -2px currentColor; }

.lp-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--text);
  font-size: clamp(42px, 7vw, 76px);
  margin: 0 0 var(--space-lg);
}
.lp-lede {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 0 var(--space-xl);
}
.lp-cta-row { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.lp-cta-center { justify-content: center; }
.lp-cta-note { margin-top: var(--space-md); font-size: 13px; color: var(--text-dim); }

/* floating orbs — pale daylight blooms, blue → violet → cyan */
.lp-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}
.lp-orb-a { width: 460px; height: 460px; top: -140px; left: -120px;
  background: radial-gradient(circle, rgba(48, 104, 255, 0.34), transparent 66%);
  animation: lpDriftA 15s ease-in-out infinite alternate; }
.lp-orb-b { width: 420px; height: 420px; top: -60px; right: -100px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.28), transparent 66%);
  animation: lpDriftB 18s ease-in-out infinite alternate; }
.lp-orb-c { width: 380px; height: 380px; bottom: -180px; left: 40%;
  background: radial-gradient(circle, rgba(23, 182, 232, 0.24), transparent 66%);
  animation: lpDriftA 21s ease-in-out infinite alternate; }
@keyframes lpDriftA { to { transform: translate(60px, 50px) scale(1.12); } }
@keyframes lpDriftB { to { transform: translate(-50px, 40px) scale(1.1); } }

/* ---------- mocked studio frame ---------- */
.lp-hero-visual { position: relative; }
.lp-studio {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--clay-lg);
}
.lp-studio-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 15px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.lp-win-dot { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 -1px 2px rgba(23, 43, 84, 0.18); }
.lp-studio-title {
  margin-left: 10px;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 11.5px;
  color: var(--text-dim);
}
.lp-studio-body { padding: 14px; display: flex; flex-direction: column; gap: 12px; }

/* the preview stage is a recessed daylight well, not a black screen */
.lp-canvas {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(420px 240px at 24% 8%, rgba(48, 104, 255, 0.16), transparent 62%),
    radial-gradient(420px 240px at 84% 96%, rgba(124, 92, 255, 0.16), transparent 62%),
    var(--stage);
  display: grid;
  place-items: center;
  box-shadow: var(--clay-press);
}
.lp-canvas-orb {
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  top: 18%;
  right: 10%;
  background: conic-gradient(from 0deg, #3068ff, #17b6e8, #7c5cff, #3068ff);
  filter: blur(2px);
  opacity: 0.42;
  animation: lpSpin 12s linear infinite;
}
.lp-canvas-caption {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4.6vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-align: center;
}
.lp-bars {
  position: absolute;
  z-index: 2;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 26%;
}
.lp-bars span {
  width: 7px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #17b6e8, #3068ff);
  animation: lpBar 1.1s ease-in-out infinite;
}
.lp-bars span:nth-child(1) { height: 40%; animation-delay: 0s; }
.lp-bars span:nth-child(2) { height: 70%; animation-delay: 0.12s; }
.lp-bars span:nth-child(3) { height: 90%; animation-delay: 0.24s; }
.lp-bars span:nth-child(4) { height: 55%; animation-delay: 0.36s; }
.lp-bars span:nth-child(5) { height: 80%; animation-delay: 0.48s; }
.lp-bars span:nth-child(6) { height: 45%; animation-delay: 0.6s; }
.lp-bars span:nth-child(7) { height: 65%; animation-delay: 0.72s; }
@keyframes lpBar { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }
@keyframes lpSpin { to { transform: rotate(360deg); } }

/* fake timeline strip — a recessed clay groove the clips sit in */
.lp-timeline {
  position: relative;
  background: rgba(217, 227, 244, 0.8);
  border-radius: var(--radius);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  box-shadow: var(--clay-press);
}
.lp-tl-row { position: relative; height: 18px; display: flex; align-items: center; }
.lp-tl-lbl {
  width: 34px;
  flex: none;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}
.lp-clip {
  position: absolute;
  left: 0; top: 3px;
  height: 12px;
  border-radius: 5px;
  box-shadow: 0 2px 5px -1px rgba(23, 43, 84, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.lp-tl-row .lp-clip { margin-left: 34px; }
.lp-clip.c1 { background: linear-gradient(135deg, #3068ff, #6b95ff); }
.lp-clip.c2 { background: linear-gradient(135deg, #7c5cff, #a290ff); }
.lp-clip.c3 { background: linear-gradient(135deg, #e2565f, #f38a90); }
.lp-clip.c4 { background: linear-gradient(135deg, #0ea5e9, #55cdf3); }
.lp-clip.audio { background: linear-gradient(135deg, #0f9d76, #46c5a3); }
.lp-playhead {
  position: absolute;
  top: 6px; bottom: 6px;
  left: 42%;
  width: 2px;
  background: var(--red);
  box-shadow: 0 2px 8px -1px rgba(226, 86, 95, 0.7);
  animation: lpPlay 4.5s ease-in-out infinite;
}
@keyframes lpPlay { 0% { left: 18%; } 50% { left: 82%; } 100% { left: 18%; } }

/* ---------- stat strip ---------- */
.lp-stats {
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  padding: clamp(24px, 4vw, 40px) 0;
  background: rgba(255, 255, 255, 0.6);
}
.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 760px) { .lp-stats-grid { grid-template-columns: repeat(2, 1fr); } }
.lp-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 2px;
}
.lp-stat-k { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 27px); }
.lp-stat-v { font-size: 13px; color: var(--text-dim); }

/* ---------- sections ---------- */
.lp-section { padding: clamp(56px, 9vw, 100px) 0; }
.lp-head { max-width: 680px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.lp-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: var(--space-md);
}
.lp-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
  font-size: clamp(30px, 4.6vw, 48px);
  margin: 0 0 var(--space-md);
}
.lp-sub { font-size: clamp(15px, 1.6vw, 18px); color: var(--text-soft); margin: 0; }

/* ---------- features ---------- */
.lp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 960px) { .lp-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .lp-features { grid-template-columns: 1fr; } }
.lp-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  overflow: hidden;
  box-shadow: var(--clay);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.lp-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.18s ease;
}
.lp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--clay-hover);
}
.lp-card:hover::before { opacity: 1; }
.lp-card-ico {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 26px;
  background: var(--grad-soft);
  box-shadow: 0 0 0 1px rgba(48, 104, 255, 0.12), 0 8px 18px -12px rgba(48, 104, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-lg);
}
.lp-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.lp-card-text { font-size: 14px; line-height: 1.55; color: var(--text-soft); margin: 0; }

/* ---------- how it works ---------- */
.lp-how {
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(124, 92, 255, 0.10), transparent 60%),
    rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
}
.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  counter-reset: none;
}
@media (max-width: 760px) { .lp-steps { grid-template-columns: 1fr; } }
.lp-step {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--clay);
}
.lp-step-n {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  background: var(--grad);
  box-shadow: var(--clay-brand), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  margin-bottom: var(--space-lg);
}
.lp-step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
  margin: 0 0 8px;
}
.lp-step-text { font-size: 14px; line-height: 1.55; color: var(--text-soft); margin: 0; }

/* ---------- final cta ---------- */
.lp-final { padding: clamp(24px, 5vw, 48px) var(--space-xl); }
.lp-final-inner {
  position: relative;
  overflow: hidden;
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(48px, 8vw, 88px) var(--space-xl);
  text-align: center;
  background: var(--grad);
  box-shadow: 0 34px 70px -30px rgba(48, 104, 255, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}
.lp-final-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 20% -10%, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(460px 300px at 90% 120%, rgba(12, 40, 110, 0.22), transparent 60%);
  pointer-events: none;
}
.lp-final-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  font-size: clamp(30px, 5vw, 52px);
  margin: 0 0 var(--space-md);
}
.lp-final-em { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.6); text-underline-offset: 6px; }
.lp-final-sub {
  position: relative;
  z-index: 2;
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 var(--space-xl);
}
.lp-final .lp-cta-row { position: relative; z-index: 2; }

/* ---------- fade-up on load ---------- */
.lp-fade { animation: lpFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.lp-fade-2 { animation-delay: 0.12s; }
@keyframes lpFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .lp-orb, .lp-canvas-orb, .lp-bars span, .lp-playhead,
  .lp-fade, .lp-fade-2 {
    animation: none !important;
  }
  .lp-fade, .lp-fade-2 { opacity: 1; transform: none; }
  .lp-btn { transition: none; }
}

/* ============================================================
   Landing page — motion layer + expanded sections
   ------------------------------------------------------------
   Reveal contract: .lp-reveal is only hidden while <html> carries
   data-lp-motion (set by studio.js). No script -> nothing hidden.
   Everything below is disabled under prefers-reduced-motion.
   ============================================================ */

html[data-lp-motion] .lp-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
html[data-lp-motion] .lp-reveal.is-in { opacity: 1; transform: none; }
/* staggered siblings: data-delay is set per card so a row cascades in */
html[data-lp-motion] .lp-reveal[data-delay="1"] { transition-delay: 0.09s; }
html[data-lp-motion] .lp-reveal[data-delay="2"] { transition-delay: 0.18s; }
html[data-lp-motion] .lp-reveal[data-delay="3"] { transition-delay: 0.27s; }

/* ---------- hero extras ---------- */
/* faint blueprint grid, masked so it fades out before the copy starts */
.lp-grid-lines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(48, 104, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 104, 255, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(720px 420px at 72% 34%, #000 10%, transparent 72%);
  mask-image: radial-gradient(720px 420px at 72% 34%, #000 10%, transparent 72%);
}

.lp-float { animation: lpFloat 9s ease-in-out infinite alternate; }
@keyframes lpFloat { from { transform: translateY(-6px); } to { transform: translateY(8px); } }

.lp-prompt-demo {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 var(--space-xl);
  padding: 11px 14px; border-radius: var(--radius-sm);
  background: #fff; box-shadow: var(--clay);
  font-size: 13.5px; min-height: 46px;
}
.lp-prompt-label {
  flex-shrink: 0; font-size: 9.5px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: #fff; padding: 4px 9px; border-radius: 999px;
  background: var(--grad);
}
.lp-typer {
  display: inline-flex; align-items: center; min-width: 0;
  color: var(--text); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 12.5px; line-height: 1.3;
}
.lp-typer-text { overflow: hidden; }
.lp-caret {
  display: inline-block; width: 2px; height: 15px; margin-left: 3px; flex-shrink: 0;
  background: var(--brand-1); animation: lpCaret 1s steps(1) infinite;
}
@keyframes lpCaret { 50% { opacity: 0; } }

.lp-studio-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green);
}
.lp-studio-live i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  animation: lpBlink 1.4s ease-in-out infinite;
}
@keyframes lpBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.lp-canvas-badge {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.05em;
  color: var(--text-soft); background: rgba(255, 255, 255, 0.9);
  padding: 3px 8px; border-radius: 999px;
  box-shadow: 0 2px 6px rgba(23, 43, 84, 0.14);
}

.lp-render-bar {
  display: flex; align-items: center; gap: 10px;
  margin-top: 10px; padding: 8px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.85); box-shadow: 0 0 0 1px var(--border);
}
.lp-render-label, .lp-render-pct {
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); flex-shrink: 0;
}
.lp-render-track {
  flex: 1; height: 5px; border-radius: 999px; overflow: hidden;
  background: rgba(29, 51, 99, 0.1);
}
.lp-render-track i {
  display: block; height: 100%; border-radius: inherit; background: var(--grad);
  animation: lpRender 4.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes lpRender { 0% { width: 4%; } 70% { width: 100%; } 100% { width: 100%; } }

/* The hero playhead sweeps in step with the export bar filling, then rewinds — a hold
   at the right edge (the bar's own tail) would look like the animation had stopped. */
.lp-playhead { animation: lpSweep 4.6s ease-in-out infinite; }
@keyframes lpSweep {
  0% { left: 6%; }
  62% { left: 94%; }
  74% { left: 94%; }
  100% { left: 6%; }
}

/* ---------- walkthrough rows ---------- */
.lp-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center; margin-top: 64px;
}
.lp-row-flip .lp-row-copy { order: 2; }
.lp-row-flip .lp-row-visual { order: 1; }
@media (max-width: 900px) {
  .lp-row { grid-template-columns: 1fr; gap: 28px; margin-top: 44px; }
  .lp-row-flip .lp-row-copy, .lp-row-flip .lp-row-visual { order: initial; }
}

.lp-step-chip {
  display: inline-block; margin-bottom: 14px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-1); background: rgba(48, 104, 255, 0.09);
  padding: 5px 11px; border-radius: 999px;
}
.lp-row-title {
  font-family: var(--font-display); font-size: 27px; font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em; color: var(--text); margin: 0 0 12px;
}
.lp-row-text { font-size: 15px; line-height: 1.65; color: var(--text-soft); margin: 0 0 18px; max-width: 46ch; }

.lp-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.lp-ticks li {
  position: relative; padding-left: 28px;
  font-size: 13.5px; line-height: 1.5; color: var(--text-soft);
}
.lp-ticks li::before {
  content: "\2713"; position: absolute; left: 0; top: -1px;
  width: 19px; height: 19px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #0f9d76, #34d399);
  box-shadow: 0 3px 8px -3px rgba(15, 157, 118, 0.8);
}

/* ---------- section mocks ---------- */
.lp-mock {
  background: #fff; border-radius: var(--radius); padding: 16px;
  box-shadow: var(--clay-lg);
}
.lp-mock-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim);
}
.lp-mock-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand-1);
  animation: lpBlink 1.8s ease-in-out infinite;
}
.lp-mock-prompt-box {
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px; border-radius: var(--radius-sm);
  background: var(--surface-2); box-shadow: var(--clay-press);
}
.lp-mock-line { height: 8px; border-radius: 999px; background: rgba(29, 51, 99, 0.13); }
.lp-mock-line.w90 { width: 90%; animation: lpLine 4.4s ease-in-out infinite; }
.lp-mock-line.w70 { width: 70%; animation: lpLine 4.4s ease-in-out 0.2s infinite; }
.lp-mock-line.w80 { width: 80%; animation: lpLine 4.4s ease-in-out 0.4s infinite; }
@keyframes lpLine {
  0%, 100% { background: rgba(29, 51, 99, 0.13); }
  50% { background: rgba(48, 104, 255, 0.32); }
}

.lp-mock-arrow { display: grid; place-items: center; height: 34px; }
.lp-mock-arrow span {
  width: 2px; height: 22px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(48, 104, 255, 0.15), var(--brand-1));
  position: relative;
}
.lp-mock-arrow span::after {
  content: ""; position: absolute; left: -4px; bottom: -2px;
  border: 5px solid transparent; border-top-color: var(--brand-1);
  animation: lpArrow 2.2s ease-in-out infinite;
}
@keyframes lpArrow { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(4px); opacity: 0.45; } }

.lp-mock-frames { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lp-mock-frame {
  aspect-ratio: 16 / 10; border-radius: 10px; padding: 8px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  background: linear-gradient(160deg, #eef3fd, #e3ebf9);
  box-shadow: 0 0 0 1px var(--border), 0 4px 10px -8px rgba(23, 43, 84, 0.6);
  opacity: 0; animation: lpFramePop 4.4s ease-in-out infinite;
}
.lp-mock-frame.f1 { animation-delay: 0.45s; }
.lp-mock-frame.f2 { animation-delay: 0.75s; }
.lp-mock-frame.f3 { animation-delay: 1.05s; }
.lp-mock-frame.f4 { animation-delay: 1.35s; }
@keyframes lpFramePop {
  0%, 8% { opacity: 0; transform: translateY(8px) scale(0.96); }
  18%, 86% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(4px) scale(0.98); }
}
.lp-mock-frame i { display: block; height: 6px; border-radius: 999px; background: var(--brand-1); width: 72%; }
.lp-mock-frame i.s { height: 4px; background: rgba(29, 51, 99, 0.2); width: 46%; }

.lp-mock-ruler { display: flex; justify-content: space-between; margin-bottom: 8px; padding: 0 2px; }
.lp-mock-ruler span { width: 1px; height: 7px; background: rgba(29, 51, 99, 0.22); }
.lp-mock-lanes {
  position: relative; display: flex; flex-direction: column; gap: 7px;
  padding: 10px; border-radius: var(--radius-sm);
  background: rgba(217, 227, 244, 0.75); box-shadow: var(--clay-press);
}
.lp-mock-lane { position: relative; height: 22px; border-radius: 8px; background: rgba(255, 255, 255, 0.55); }
.lp-mock-lane .lp-clip { top: 0; bottom: 0; height: auto; }
/* clips draw themselves in, so the timeline looks like it is being assembled */
.lp-clip-grow { transform-origin: left center; animation: lpGrow 5s cubic-bezier(0.16, 1, 0.3, 1) infinite; }
.lp-clip-grow.d1 { animation-delay: 0.12s; }
.lp-clip-grow.d2 { animation-delay: 0.24s; }
.lp-clip-grow.d3 { animation-delay: 0.36s; }
.lp-clip-grow.d4 { animation-delay: 0.48s; }
.lp-clip-grow.d5 { animation-delay: 0.6s; }
@keyframes lpGrow {
  0%, 4% { transform: scaleX(0); opacity: 0.2; }
  16%, 88% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0.55; }
}
.lp-mock-playhead {
  position: absolute; top: 6px; bottom: 6px; width: 2px; margin-left: -1px;
  background: var(--red); box-shadow: 0 0 6px rgba(226, 86, 95, 0.5);
  animation: lpMockSweep 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes lpMockSweep { 0%, 16% { left: 4%; } 88%, 100% { left: 96%; } }

.lp-export-rows { display: flex; flex-direction: column; gap: 10px; }
.lp-export-row { display: flex; align-items: center; gap: 10px; }
.lp-fmt {
  flex: 0 0 46px; font-size: 10px; font-weight: 800; letter-spacing: 0.06em;
  color: var(--text-soft);
}
.lp-mock-bar { flex: 1; height: 7px; border-radius: 999px; background: rgba(29, 51, 99, 0.1); overflow: hidden; }
.lp-mock-bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); width: 0; }
.lp-mock-bar i.p1 { animation: lpFill 5s ease-in-out infinite; }
.lp-mock-bar i.p2 { animation: lpFill 5s ease-in-out 0.25s infinite; }
.lp-mock-bar i.p3 { animation: lpFill 5s ease-in-out 0.5s infinite; }
.lp-mock-bar i.p4 { animation: lpFill 5s ease-in-out 0.75s infinite; }
@keyframes lpFill { 0%, 6% { width: 0; } 62%, 88% { width: 100%; } 100% { width: 100%; } }
.lp-mock-val { flex: 0 0 46px; text-align: right; font-size: 10.5px; font-weight: 700; color: var(--text-dim); }
.lp-export-done {
  display: flex; align-items: center; gap: 9px; margin-top: 14px;
  padding: 10px 12px; border-radius: 12px;
  font-size: 12.5px; font-weight: 700; color: #06795a;
  background: #ecfdf5; box-shadow: 0 0 0 1px rgba(15, 157, 118, 0.22);
  animation: lpDone 5s ease-in-out infinite;
}
@keyframes lpDone { 0%, 60% { opacity: 0.25; } 72%, 100% { opacity: 1; } }
.lp-export-tick {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 11px; color: #fff;
  background: linear-gradient(135deg, #0f9d76, #34d399);
}

/* ---------- aspect-ratio marquee ---------- */
.lp-ratios { padding: var(--space-section) 0; overflow: hidden; }
.lp-kicker-center { display: block; text-align: center; margin-bottom: 26px; }
.lp-marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.lp-marquee-track {
  display: flex; gap: 18px; width: max-content;
  animation: lpMarquee 42s linear infinite;
}
.lp-marquee:hover .lp-marquee-track { animation-play-state: paused; }
/* the list is rendered twice, so -50% lands exactly on the duplicate */
@keyframes lpMarquee { to { transform: translateX(-50%); } }
.lp-ratio {
  flex: 0 0 auto; width: 150px; padding: 14px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--clay);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lp-ratio:hover { transform: translateY(-4px); box-shadow: var(--clay-hover); }
.lp-ratio-box {
  width: 100%; max-height: 74px; border-radius: 8px;
  background: linear-gradient(160deg, #dfe9fb, #cddcf6);
  box-shadow: inset 0 1px 3px rgba(23, 43, 84, 0.1);
}
.lp-ratio-name { font-size: 12.5px; font-weight: 800; color: var(--text); }
.lp-ratio-dim {
  font-size: 10.5px; color: var(--text-dim);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

/* ---------- use cases ---------- */
.lp-uses { background: rgba(255, 255, 255, 0.55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9); }
.lp-use-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px;
}
@media (max-width: 1000px) { .lp-use-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lp-use-grid { grid-template-columns: 1fr; } }
.lp-use {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px; border-radius: var(--radius-sm);
  background: #fff; box-shadow: var(--clay);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lp-use:hover { transform: translateY(-4px); box-shadow: var(--clay-hover); }
.lp-use-ico { font-size: 22px; line-height: 1; transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.lp-use:hover .lp-use-ico { transform: scale(1.18) rotate(-6deg); }
.lp-use-name { font-size: 14px; font-weight: 800; color: var(--text); }
.lp-use-note { font-size: 12.5px; line-height: 1.45; color: var(--text-dim); }

/* ---------- under the hood ---------- */
.lp-hood-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .lp-hood-grid { grid-template-columns: 1fr; gap: 30px; } }
.lp-hood-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .lp-hood-list { grid-template-columns: 1fr; } }
/* a gradient left edge via two backgrounds: padding-box white over border-box gradient */
.lp-spec {
  display: flex; flex-direction: column; gap: 5px;
  padding: 16px; border-radius: var(--radius-sm);
  box-shadow: var(--clay);
  border-left: 3px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--grad);
  background-origin: border-box; background-clip: padding-box, border-box;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lp-spec:hover { transform: translateY(-3px); box-shadow: var(--clay-hover); }
.lp-spec-k { font-size: 13px; font-weight: 800; color: var(--text); }
.lp-spec-v { font-size: 12.5px; line-height: 1.5; color: var(--text-dim); }

/* ---------- FAQ (native details/summary) ---------- */
.lp-faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; max-width: 860px; }
.lp-faq-item {
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--clay);
  overflow: hidden;
}
.lp-faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; cursor: pointer; list-style: none;
  font-size: 14.5px; font-weight: 700; color: var(--text);
  transition: color 0.15s ease;
}
.lp-faq-q::-webkit-details-marker { display: none; }
.lp-faq-q:hover { color: var(--brand-1); }
/* a plus that rotates into a cross - no icon font, no JS */
.lp-faq-mark {
  position: relative; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(48, 104, 255, 0.1);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}
.lp-faq-mark::before, .lp-faq-mark::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 9px; height: 2px; margin: -1px 0 0 -4.5px; border-radius: 2px;
  background: var(--brand-1);
}
.lp-faq-mark::after { transform: rotate(90deg); }
.lp-faq-item[open] .lp-faq-mark { transform: rotate(135deg); background: rgba(48, 104, 255, 0.18); }
.lp-faq-a {
  padding: 0 18px 18px; font-size: 13.5px; line-height: 1.65; color: var(--text-soft);
  max-width: 74ch;
}
.lp-faq-item[open] .lp-faq-a { animation: lpFaqIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes lpFaqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- motion off ---------- */
@media (prefers-reduced-motion: reduce) {
  html[data-lp-motion] .lp-reveal { opacity: 1; transform: none; transition: none; }
  .lp-float, .lp-caret, .lp-studio-live i, .lp-mock-dot,
  .lp-render-track i, .lp-playhead, .lp-mock-playhead,
  .lp-mock-line.w90, .lp-mock-line.w70, .lp-mock-line.w80,
  .lp-mock-arrow span::after, .lp-mock-frame, .lp-clip-grow,
  .lp-mock-bar i, .lp-export-done, .lp-marquee-track,
  .lp-faq-item[open] .lp-faq-a {
    animation: none;
  }
  /* the looping mocks must still show their finished state, not a blank frame */
  .lp-mock-frame { opacity: 1; }
  .lp-clip-grow { transform: none; opacity: 1; }
  .lp-mock-bar i { width: 100%; }
  .lp-render-track i { width: 100%; }
  .lp-export-done { opacity: 1; }
}
