/* ============================================================================
   Studioflow — marketing landing page
   One continuous scroll flow. Dark, glass, amber→rose brand, chrome accents.
   Everything is namespaced lp- so it never collides with the app styles.
   ========================================================================= */

:root {
  --lp-line: rgba(255, 255, 255, 0.10);
  --lp-line-soft: rgba(255, 255, 255, 0.07);
  --lp-line-strong: rgba(255, 255, 255, 0.16);
  --lp-glass: rgba(18, 19, 26, 0.52);
  --lp-glass-2: rgba(255, 255, 255, 0.04);
  --lp-glass-hi: rgba(255, 255, 255, 0.14);
  --lp-dim: #a7a7b0;
  --lp-faint: #6e6e78;
  --lp-gold: #d8b45a;
  --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------ page shell */
.lp {
  position: relative;
  z-index: 1;
  overflow: clip;               /* contain marquee / fan overflow */
  font-family: var(--font);
}
.lp-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* selection + focus in brand */
.lp ::selection { background: rgba(167, 139, 250, 0.30); }
.lp a:focus-visible,
.lp button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ------------------------------------------------------------ ambience
   .lp-tint  : fixed twin radial glow whose colors morph with scroll (JS
               feeds --lpTintA / --lpTintB). Sits above the storm canvas,
               below all content.
   .lp-grain : fine SVG noise over everything, barely-there. */
.lp-tint {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  --lpTintA: rgba(167, 139, 250, 0.10);
  --lpTintB: rgba(109, 40, 217, 0.05);
  background:
    radial-gradient(60% 46% at 16% 8%, var(--lpTintA), transparent 70%),
    radial-gradient(52% 44% at 86% 88%, var(--lpTintB), transparent 70%);
}
.lp-grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* ------------------------------------------------------------ type scale */
.lp-h1 {
  margin: 22px 0 0;
  font-size: clamp(3rem, 9vw, 8.5rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.lp-h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.lp-grad {
  background: linear-gradient(120deg, #c4b5fd 0%, #8b5cf6 48%, #6d28d9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.lp-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--brand);
}
.lp-body {
  margin: 18px 0 0;
  max-width: 560px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: var(--lp-dim);
}
.lp-sec-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.lp-sec-head .lp-body { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------ buttons */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.35s var(--lp-ease), box-shadow 0.35s var(--lp-ease),
              background-color 0.35s var(--lp-ease), border-color 0.35s var(--lp-ease);
}
.lp-btn:active { transform: scale(0.97); }
.lp-btn-primary {
  color: #f4f2ff;
  background: linear-gradient(120deg, #a78bfa 0%, #8b5cf6 45%, #6d28d9 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 8px 28px rgba(139, 92, 246, 0.38),
    0 2px 8px rgba(0, 0, 0, 0.4);
}
.lp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 14px 42px rgba(139, 92, 246, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.4);
}
.lp-btn-glass {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--lp-line);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: inset 0 1px 0 var(--lp-glass-hi);
}
.lp-btn-glass:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--lp-line-strong);
}
.lp-btn-lg { padding: 17px 36px; font-size: 16.5px; }
.lp-btn-sm { padding: 9px 18px; font-size: 13.5px; }
.lp-btn-block { width: 100%; margin-top: 22px; }

/* ------------------------------------------------------------ reveal system
   JS adds .lp-js to <html>; without JS everything stays visible. */
.lp-js [data-fx] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--lp-ease), transform 0.9s var(--lp-ease);
}
.lp-js [data-fx].in { opacity: 1; transform: none; }

/* ============================================================ NAV */
.lp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  transition: background-color 0.45s var(--lp-ease), border-color 0.45s var(--lp-ease),
              backdrop-filter 0.45s var(--lp-ease);
  border-bottom: 1px solid transparent;
}
.lp-nav.is-scrolled {
  background: rgba(9, 9, 12, 0.62);
  border-bottom-color: var(--lp-line-soft);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}
.lp-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.lp-brand { display: inline-flex; align-items: center; gap: 10px; }
.lp-brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.85);
  flex: none;
}
.lp-brand-name { font-weight: 750; font-size: 17px; letter-spacing: -0.02em; }
.lp-nav-links {
  display: flex;
  gap: 26px;
  margin: 0 auto;
  font-size: 14px;
  font-weight: 550;
  color: var(--lp-dim);
}
.lp-nav-links a { transition: color 0.3s; }
.lp-nav-links a:hover { color: var(--text); }
.lp-nav-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* ============================================================ ACT 1 · HERO */
.lp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  padding: clamp(120px, 16vh, 170px) 0 0;
}
.lp-hero-inner { text-align: center; width: 100%; }
.lp-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--lp-line);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  font-size: 13px;
  font-weight: 550;
  color: var(--lp-dim);
  box-shadow: inset 0 1px 0 var(--lp-glass-hi);
}
.lp-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.9);
  animation: lp-pulse 2.6s ease-in-out infinite;
}
@keyframes lp-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.72); opacity: 0.65; }
}
.lp-sub {
  margin: 26px auto 0;
  max-width: 620px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--lp-dim);
}
.lp-cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.lp-hero-note { margin-top: 18px; font-size: 13px; color: var(--lp-faint); }

/* ---- floating product mock (mini CRM) ---- */
.lp-mockwrap {
  position: relative;
  max-width: 940px;
  margin: clamp(48px, 8vh, 84px) auto 0;
  perspective: 1400px;
}
.lp-mock {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--lp-line);
  background: rgba(13, 14, 19, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow:
    inset 0 1px 0 var(--lp-glass-hi),
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 90px rgba(139, 92, 246, 0.10);
  overflow: hidden;
  text-align: left;
  transform:
    translateY(var(--mock-ty, 0px))
    rotateX(var(--mock-rx, 10deg))
    rotateY(var(--mock-ry, 0deg))
    scale(var(--mock-sc, 0.96));
  transform-style: preserve-3d;
  will-change: transform;
}
.lp-mock::after {           /* glass sheen sweep across the top */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.05) 50%, transparent 58%);
}
.lp-mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--lp-line-soft);
}
.lp-mock-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.lp-mock-bar i:first-child { background: rgba(109, 40, 217, 0.55); }
.lp-mock-url {
  margin: 0 auto;
  font-size: 11.5px;
  color: var(--lp-faint);
  border: 1px solid var(--lp-line-soft);
  border-radius: 8px;
  padding: 3px 26px;
  background: rgba(255, 255, 255, 0.03);
}
.lp-mock-body { display: flex; }
.lp-mock-side {
  width: 58px;
  flex: none;
  border-right: 1px solid var(--lp-line-soft);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lp-ms-logo {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--brand);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.5);
  margin-bottom: 8px;
}
.lp-ms-item {
  width: 24px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.10);
}
.lp-ms-item.is-on { background: rgba(167, 139, 250, 0.75); }
.lp-mock-main { flex: 1; padding: 20px 22px 22px; min-width: 0; }
.lp-mock-greet {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.lp-mg-hi { font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; }
.lp-mock-chip {
  font-size: 11px;
  color: var(--lp-dim);
  border: 1px solid var(--lp-line-soft);
  border-radius: 999px;
  padding: 3px 11px;
  background: rgba(255, 255, 255, 0.03);
}
.lp-mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.lp-mstat {
  border: 1px solid var(--lp-line-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lp-mstat .l { font-size: 10.5px; color: var(--lp-faint); letter-spacing: 0.02em; }
.lp-mstat .v { font-size: 19px; font-weight: 750; letter-spacing: -0.02em; }
.lp-mock-rev {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--lp-line-soft);
  border-radius: 12px;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(167, 139, 250, 0.10), transparent 55%),
    rgba(255, 255, 255, 0.03);
  padding: 14px 16px;
  margin-bottom: 12px;
}
.lp-mr-txt { display: flex; flex-direction: column; gap: 2px; }
.lp-mr-txt .l { font-size: 10.5px; color: var(--lp-faint); }
.lp-mr-txt .v {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-mr-txt .d { font-size: 11px; color: var(--green); font-weight: 600; }
.lp-spark { display: flex; align-items: flex-end; gap: 5px; height: 56px; }
.lp-spark i {
  width: 9px;
  height: var(--h, 40%);
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.9), rgba(109, 40, 217, 0.35));
}
.lp-mock-clients { display: flex; flex-direction: column; gap: 6px; }
.lp-mrow {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--lp-line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  padding: 8px 12px;
  font-size: 12.5px;
}
.lp-mrow .n { font-weight: 650; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-mrow .m { color: var(--lp-dim); font-variant-numeric: tabular-nums; }
.lp-mavatar {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #14090a;
  background: linear-gradient(140deg, var(--a, #a78bfa), rgba(255, 255, 255, 0.55));
}
.lp-mavatar.big { width: 44px; height: 44px; font-size: 15px; border-radius: 14px; }
.lp-mbadge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 9px;
  border: 1px solid;
}
.lp-mbadge.ok { color: var(--green); border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.08); }
.lp-mbadge.due { color: var(--amber-flag); border-color: rgba(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.08); }

/* floating accessory cards around the mock */
.lp-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid var(--lp-line);
  background: rgba(16, 17, 23, 0.7);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: inset 0 1px 0 var(--lp-glass-hi), 0 18px 50px rgba(0, 0, 0, 0.55);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--lp-dim);
  white-space: nowrap;
  will-change: transform;
}
.lp-float b { color: var(--text); font-weight: 750; }
.lp-float-ic {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-style: normal;
}
.lp-float-ic.ok { background: rgba(52, 211, 153, 0.16); color: var(--green); border: 1px solid rgba(52, 211, 153, 0.4); }
.lp-float-ic.pub { background: rgba(109, 40, 217, 0.14); color: var(--rose); border: 1px solid rgba(109, 40, 217, 0.4); }
.lp-float-a { top: 14%; left: -78px; }
.lp-float-b { bottom: 16%; right: -84px; }

/* scroll cue */
.lp-scrollcue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--lp-faint);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.lp-scrollcue-line {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
}
.lp-scrollcue-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -50%;
  width: 100%;
  height: 50%;
  background: var(--brand);
  animation: lp-cue 2.1s var(--lp-ease) infinite;
}
@keyframes lp-cue {
  0% { top: -50%; }
  70%, 100% { top: 110%; }
}

/* ============================================================ ACT 2 · PROOF */
.lp-proof {
  padding: 90px 0 26px;
  border-bottom: 1px solid var(--lp-line-soft);
}
.lp-proof-line {
  margin: 0 0 30px;
  text-align: center;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--lp-faint);
  letter-spacing: 0.01em;
}
.lp-proof-line strong {
  color: var(--text);
  font-weight: 700;
}
.lp-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  padding: 10px 0 26px;
}
.lp-marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: lp-marquee 42s linear infinite;
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-faint);
  white-space: nowrap;
}
.lp-marquee-track i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.55);
  flex: none;
}
@keyframes lp-marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================ ACT 3 · FLOW SCRUB */
.lp-flow { position: relative; height: 380vh; }
.lp-flow-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.lp-flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  width: 100%;
}
.lp-flow-heads { margin-top: 26px; display: flex; flex-direction: column; gap: 6px; }
.lp-fh {
  margin: 0;
  font-size: clamp(1.5rem, 2.9vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  display: flex;
  align-items: baseline;
  gap: 16px;
  color: rgba(255, 255, 255, 0.22);
  transition: color 0.5s var(--lp-ease), transform 0.5s var(--lp-ease);
}
.lp-fh .n {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.18);
  font-variant-numeric: tabular-nums;
  transition: color 0.5s var(--lp-ease);
  flex: none;
}
.lp-fh.is-active { color: var(--text); transform: translateX(10px); }
.lp-fh.is-active .n { color: var(--amber); }
.lp-flow-sub {
  margin: 30px 0 0;
  max-width: 380px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--lp-faint);
}

/* stage + panels */
.lp-flow-stage {
  position: relative;
  height: min(560px, 68vh);
  perspective: 1200px;
}
.lp-fp {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(56px) scale(0.92);
  transition: opacity 0.6s var(--lp-ease), transform 0.6s var(--lp-ease);
  pointer-events: none;
}
.lp-fp.is-active { opacity: 1; transform: none; pointer-events: auto; }
.lp-fp.is-past { opacity: 0; transform: translateY(-56px) scale(0.94); }
.lp-fp-label { display: none; }         /* shown only in stacked mode */

/* shared glass card for the mock panels */
.lp-glass {
  border: 1px solid var(--lp-line);
  border-radius: 20px;
  background: var(--lp-glass);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow:
    inset 0 1px 0 var(--lp-glass-hi),
    0 30px 80px rgba(0, 0, 0, 0.55);
}

/* step 1 · client card */
.lp-mclient { width: min(430px, 100%); padding: 26px; text-align: left; }
.lp-mclient-top { display: flex; align-items: center; gap: 14px; }
.lp-mclient-id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lp-mclient-id b { font-size: 17px; letter-spacing: -0.01em; }
.lp-mclient-id span { font-size: 12.5px; color: var(--lp-faint); }
.lp-mclient-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.lp-mclient-meta > div {
  border: 1px solid var(--lp-line-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lp-mclient-meta span { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lp-faint); }
.lp-mclient-meta b { font-size: 13.5px; white-space: nowrap; }
.lp-mclient-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--green);
  border: 1px dashed rgba(52, 211, 153, 0.35);
  border-radius: 10px;
  padding: 9px 12px;
  background: rgba(52, 211, 153, 0.06);
}

/* step 2 · calendar */
.lp-mcal { width: min(460px, 100%); padding: 22px; text-align: left; }
.lp-mcal-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.lp-mcal-head b { font-size: 17px; }
.lp-mcal-head span { font-size: 12px; color: var(--lp-faint); }
.lp-mcal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lp-faint);
  text-align: center;
  margin-bottom: 6px;
}
.lp-mcal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.lp-mcal-grid .c {
  aspect-ratio: 1 / 1.16;
  border: 1px solid var(--lp-line-soft);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.lp-mcal-grid em { font-style: normal; font-size: 9.5px; color: var(--lp-faint); }
.lp-mcal-grid .ev {
  font-size: 8px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-mcal-grid .ev.a { background: rgba(167, 139, 250, 0.18); color: var(--amber); }
.lp-mcal-grid .ev.b { background: rgba(109, 40, 217, 0.16); color: #ff7a9c; }
.lp-mcal-grid .ev.c { background: rgba(96, 165, 250, 0.16); color: var(--blue); }

/* step 3 · carousel fan */
.lp-fan { position: relative; width: 100%; height: min(340px, 46vh); }
.lp-fan-slide {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 132px;
  height: 165px;
  margin: -82px 0 0 -66px;
  border-radius: 14px;
  border: 1px solid var(--lp-line-strong);
  background: linear-gradient(160deg, #17181e, #0c0d11);
  box-shadow: inset 0 1px 0 var(--lp-glass-hi), 0 22px 55px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transform: rotate(calc(var(--i) * 9deg)) translate(calc(var(--i) * 64px), calc(var(--i) * var(--i) * 5px));
  transition: transform 0.7s var(--lp-ease);
}
.lp-fan-slide b {
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.02em;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-fan-slide span { font-size: 10.5px; color: var(--lp-dim); }
.lp-fan-cap { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--lp-faint); }
.lp-fp[data-i="2"] { flex-direction: column; }
/* collapse the fan until the step is active, then it blossoms */
.lp-fp[data-i="2"]:not(.is-active) .lp-fan-slide { transform: rotate(0deg) translate(0, 0); }

/* step 4 · publish */
.lp-mpub { width: min(420px, 100%); padding: 24px; text-align: left; }
.lp-mpub-post { display: flex; align-items: center; gap: 12px; }
.lp-mpub-txt { display: flex; flex-direction: column; gap: 2px; }
.lp-mpub-txt b { font-size: 15px; }
.lp-mpub-txt span { font-size: 12px; color: var(--lp-faint); }
.lp-mpub-chips { display: flex; gap: 8px; margin-top: 16px; }
.lp-mpub-chips span {
  font-size: 12px;
  font-weight: 650;
  border-radius: 999px;
  padding: 6px 14px;
  border: 1px solid var(--lp-line-soft);
  color: var(--lp-faint);
  background: rgba(255, 255, 255, 0.03);
}
.lp-mpub-chips span.on {
  color: var(--amber);
  border-color: rgba(167, 139, 250, 0.4);
  background: rgba(167, 139, 250, 0.08);
}
.lp-mpub-toast {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 18px;
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.07);
  padding: 12px 14px;
}
.lp-mpub-toast b { font-size: 13.5px; display: block; }
.lp-mpub-toast span { font-size: 11.5px; color: var(--lp-dim); }

/* step 5 · invoice */
.lp-minv { position: relative; width: min(420px, 100%); padding: 24px; text-align: left; overflow: hidden; }
.lp-minv-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.lp-minv-head b { font-size: 16px; letter-spacing: 0.02em; }
.lp-minv-head span { font-size: 12px; color: var(--lp-faint); }
.lp-minv-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--lp-line-soft);
  font-size: 13px;
}
.lp-minv-row span { color: var(--lp-dim); }
.lp-minv-row b { font-variant-numeric: tabular-nums; }
.lp-minv-total {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  font-size: 15px;
}
.lp-minv-total b {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-minv-stamp {
  position: absolute;
  right: 14px;
  top: 12px;
  transform: rotate(9deg);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--green);
  border: 2.5px solid var(--green);
  border-radius: 8px;
  padding: 3px 12px;
  opacity: 0.85;
}

/* progress rail */
.lp-flow-rail {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 6px 0;
}
.lp-rail-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  margin-left: -0.5px;
  background: rgba(255, 255, 255, 0.10);
  overflow: hidden;
}
.lp-rail-fill {
  position: absolute;
  inset: 0;
  background: var(--brand);
  transform-origin: top;
  transform: scaleY(var(--p, 0));
}
.lp-rail-dot {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #101116;
  padding: 0;
  cursor: pointer;
  transition: transform 0.4s var(--lp-ease), background-color 0.4s var(--lp-ease),
              border-color 0.4s var(--lp-ease), box-shadow 0.4s var(--lp-ease);
}
.lp-rail-dot.is-active {
  background: var(--amber);
  border-color: var(--amber);
  transform: scale(1.45);
  box-shadow: 0 0 14px rgba(167, 139, 250, 0.7);
}

/* ============================================================ ACT 4 · CAROUSEL STUDIO */
.lp-studio { padding: clamp(110px, 15vh, 180px) 0; }
.lp-studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.lp-ticks {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.lp-ticks li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  color: var(--lp-dim);
  line-height: 1.5;
}
.lp-ticks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: rgba(167, 139, 250, 0.08);
  color: var(--amber);
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* the auto-playing chat */
.lp-chat {
  border: 1px solid var(--lp-line);
  border-radius: 22px;
  background: var(--lp-glass);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow:
    inset 0 1px 0 var(--lp-glass-hi),
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(109, 40, 217, 0.08);
  overflow: hidden;
}
.lp-chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--lp-line-soft);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.lp-chat-body {
  padding: 22px 20px 6px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 148px;
}
.lp-msg {
  max-width: 88%;
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.5;
}
.lp-msg.user {
  align-self: flex-end;
  background: linear-gradient(120deg, rgba(167, 139, 250, 0.16), rgba(109, 40, 217, 0.16));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-bottom-right-radius: 5px;
  min-height: 20px;
}
.lp-msg.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--lp-line-soft);
  border-bottom-left-radius: 5px;
  color: var(--lp-dim);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s var(--lp-ease), transform 0.55s var(--lp-ease);
}
.lp-msg.bot.show { opacity: 1; transform: none; }
.lp-caret {
  display: inline-block;
  width: 1.5px;
  height: 14px;
  vertical-align: -2px;
  margin-left: 2px;
  background: var(--amber);
  animation: lp-caret 0.9s steps(1) infinite;
}
@keyframes lp-caret { 50% { opacity: 0; } }

/* dealt slide fan inside the chat */
.lp-chat-fan {
  position: relative;
  height: 190px;
  margin: 6px 0 0;
}
.lp-cslide {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 96px;
  height: 120px;
  margin: -60px 0 0 -48px;
  border-radius: 12px;
  background: linear-gradient(165deg, #1a1710, #0b0a07);
  border: 1px solid rgba(216, 180, 90, 0.45);
  box-shadow: inset 0 1px 0 rgba(216, 180, 90, 0.22), 0 18px 44px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0;
  transform: translateY(24px) rotate(0deg) scale(0.8);
  transition: transform 0.65s var(--lp-ease), opacity 0.5s var(--lp-ease);
  transition-delay: calc((var(--i)) * 90ms);
}
.lp-cslide b { font-size: 14.5px; font-weight: 850; letter-spacing: 0.02em; color: var(--lp-gold); }
.lp-cslide span { font-size: 8.5px; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(216, 180, 90, 0.75); }
.lp-chat-fan.deal .lp-cslide {
  opacity: 1;
  transform:
    translate(calc((var(--i) - 2) * 52px), calc((var(--i) - 2) * (var(--i) - 2) * 4px))
    rotate(calc((var(--i) - 2) * 8deg))
    scale(1);
}

/* ============================================================ ACT 5 · ROLES */
.lp-roles { padding: clamp(90px, 13vh, 160px) 0; border-top: 1px solid var(--lp-line-soft); }
.lp-roles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.lp-role {
  padding: 26px 24px 24px;
  text-align: left;
  will-change: transform;
}
.lp-role-ic {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background:
    radial-gradient(120% 120% at 20% 15%, rgba(255, 255, 255, 0.35), transparent 45%),
    var(--a, var(--amber));
  box-shadow: 0 0 24px color-mix(in srgb, var(--a, #a78bfa) 45%, transparent);
  margin-bottom: 18px;
}
.lp-role h3 { margin: 0 0 12px; font-size: 18px; font-weight: 750; letter-spacing: -0.02em; }
.lp-role ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.lp-role li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--lp-dim);
}
.lp-role li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--a, var(--amber));
  opacity: 0.8;
}

/* ============================================================ ACT 6 · PRICING */
.lp-pricing {
  padding: clamp(100px, 14vh, 170px) 0;
  border-top: 1px solid var(--lp-line-soft);
}
.lp-bill {
  display: inline-flex;
  gap: 4px;
  margin-top: 26px;
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}
.lp-bill-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 20px;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 650;
  color: var(--lp-dim);
  background: transparent;
  cursor: pointer;
  transition: color 0.3s, background-color 0.3s;
}
.lp-bill-btn em { font-style: normal; font-size: 11px; color: var(--green); font-weight: 700; }
.lp-bill-btn.is-on { color: #f4f2ff; background: linear-gradient(120deg, #a78bfa 0%, #8b5cf6 45%, #6d28d9 100%); }
.lp-bill-btn.is-on em { color: #dcd2ff; }

.lp-price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.lp-price {
  padding: 28px 26px 26px;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--lp-ease), box-shadow 0.45s var(--lp-ease);
}
.lp-price:hover { transform: translateY(-6px); }
.lp-price h3 { margin: 0; font-size: 15px; font-weight: 750; letter-spacing: 0.01em; color: var(--lp-dim); }
.lp-amt {
  margin: 14px 0 4px;
  font-size: 46px;
  font-weight: 820;
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
}
.lp-amt .cur { font-size: 24px; margin-right: 2px; color: var(--lp-dim); font-weight: 700; }
.lp-amt .per { font-size: 14px; font-weight: 550; letter-spacing: 0; color: var(--lp-faint); margin-left: 7px; }
.lp-amt .y { display: none; }
.lp-pricing.is-annual .lp-amt .m { display: none; }
.lp-pricing.is-annual .lp-amt .y { display: inline; }
.lp-price ul {
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--lp-line-soft);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.lp-price li {
  position: relative;
  padding-left: 24px;
  font-size: 13.5px;
  color: var(--lp-dim);
  line-height: 1.45;
}
.lp-price li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
}
/* featured card: brand gradient border + lift */
.lp-price-hot {
  position: relative;
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(rgba(22, 20, 24, 0.92), rgba(16, 14, 18, 0.92)) padding-box,
    var(--brand) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 30px 90px rgba(0, 0, 0, 0.6),
    0 0 70px rgba(139, 92, 246, 0.22);
  transform: translateY(-10px);
}
.lp-price-hot:hover { transform: translateY(-16px); }
.lp-price-hot h3 { color: var(--text); }
.lp-price-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #180b03;
  background: var(--brand);
  border-radius: 999px;
  padding: 5px 15px;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.45);
}
.lp-price-note {
  margin: 26px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--lp-faint);
}

/* ============================================================ ACT 7 · FINAL CTA + FOOTER */
.lp-final {
  padding: clamp(130px, 20vh, 220px) 0;
  text-align: center;
  position: relative;
}
.lp-final::before {          /* warm ground-glow under the closing line */
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10%;
  width: min(900px, 90vw);
  height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(50% 60% at 50% 100%, rgba(139, 92, 246, 0.16), transparent 70%);
  pointer-events: none;
}
.lp-final-h {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.lp-final .lp-body { max-width: 460px; margin-left: auto; margin-right: auto; }
.lp-cta-row.center { justify-content: center; }

.lp-footer {
  border-top: 1px solid var(--lp-line-soft);
  padding: 34px 0 46px;
  position: relative;
  z-index: 1;
}
.lp-footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.lp-footer-copy { font-size: 12.5px; color: var(--lp-faint); margin-right: auto; }
.lp-footer-links { display: flex; gap: 22px; font-size: 13.5px; font-weight: 600; color: var(--lp-dim); }
.lp-footer-links a:hover { color: var(--text); }

/* ============================================================ STACKED MODE
   Mobile — and reduced-motion — get a calm, static, stacked flow section. */
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .lp-flow { height: auto; padding: 90px 0; }
  .lp-flow-pin { position: static; height: auto; display: block; overflow: visible; }
  .lp-flow-grid { grid-template-columns: 1fr; gap: 30px; }
  .lp-flow-heads, .lp-flow-rail { display: none; }
  .lp-flow-sub { margin-top: 14px; }
  .lp-flow-stage {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 26px;
    perspective: none;
  }
  .lp-fp {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .lp-fp.is-past { opacity: 1; transform: none; }
  .lp-fp-label {
    display: block;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    align-self: flex-start;
  }
  .lp-fan { height: 300px; }
  .lp-fp[data-i="2"]:not(.is-active) .lp-fan-slide {
    transform: rotate(calc(var(--i) * 9deg)) translate(calc(var(--i) * 52px), calc(var(--i) * var(--i) * 5px));
    /* fan stays open in stacked mode */
  }
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .lp-roles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-price-hot { transform: none; }
  .lp-float-a { left: -14px; }
  .lp-float-b { right: -14px; }
}
@media (max-width: 900px) {
  .lp-studio-grid { grid-template-columns: 1fr; }
  .lp-nav-links { display: none; }
}
@media (max-width: 640px) {
  .lp-wrap { padding: 0 20px; }
  .lp-nav-inner { padding: 0 20px; height: 60px; }
  .lp-hero { padding-top: 104px; }
  .lp-h1 { font-size: clamp(2.6rem, 12.5vw, 4rem); }
  .lp-sub { font-size: 1rem; }
  .lp-cta-row { flex-direction: column; align-items: stretch; }
  .lp-cta-row .lp-btn { width: 100%; }
  .lp-mock-side { display: none; }
  .lp-mock-stats { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .lp-mstat { padding: 9px 10px; }
  .lp-mstat .v { font-size: 15px; }
  .lp-mr-txt .v { font-size: 23px; }
  .lp-spark { height: 42px; }
  .lp-spark i { width: 6px; gap: 3px; }
  .lp-float { display: none; }
  .lp-scrollcue { display: none; }
  .lp-roles-grid { grid-template-columns: 1fr; }
  .lp-price-grid { grid-template-columns: 1fr; }
  .lp-price-hot { transform: none; }
  .lp-mcal-grid { gap: 4px; }
  .lp-fan-slide { width: 108px; height: 136px; margin: -68px 0 0 -54px; }
  .lp-fan-slide b { font-size: 15px; }
  .lp-chat-fan .lp-cslide { width: 84px; height: 106px; margin: -53px 0 0 -42px; }
  .lp-chat-fan.deal .lp-cslide {
    transform:
      translate(calc((var(--i) - 2) * 40px), calc((var(--i) - 2) * (var(--i) - 2) * 3px))
      rotate(calc((var(--i) - 2) * 7deg))
      scale(1);
  }
  .lp-footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .lp-footer-copy { margin-right: 0; }
}

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after,
  .lp-nav, .lp-tint {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .lp-js [data-fx] { opacity: 1; transform: none; }
  .lp-mock { transform: none; }
  .lp-marquee-track { animation: none; transform: none; }
  .lp-msg.bot { opacity: 1; transform: none; }
  .lp-chat-fan .lp-cslide {
    opacity: 1;
    transform:
      translate(calc((var(--i) - 2) * 52px), calc((var(--i) - 2) * (var(--i) - 2) * 4px))
      rotate(calc((var(--i) - 2) * 8deg))
      scale(1);
  }
  .lp-scrollcue-line::after { animation: none; }
  .lp-rail-fill { transform: scaleY(1); }
}
