/* ============================================================
   Launch Lex — /process.html
   ------------------------------------------------------------
   "Scroll Train" — vertical scroll is converted into horizontal
   movement through seven phase slides while a left-side timeline
   zooms onto the active phase. After the rightmost slide, normal
   vertical scrolling resumes for the closing summary + CTA.

   Tokens come from /css/site-overrides.css; this file only
   references --ll-* vars (no hardcoded design tokens).

   JetBrains Mono via --ll-font-mono-blueprint is used ONLY for
   blueprint annotations (durations, tools labels, sprint tags,
   T-24H markers, watermark numbers, summary times). Body copy
   stays IBM Plex Sans, headlines stay IBM Plex Serif.

   Class prefix: lp- (Launch Lex Process). Avoids any collision
   with the cs- (case studies) namespace.
   ============================================================ */

:root {
  /* Sticky-chrome heights — read by both CSS and process.js so
     the rail pin sits flush under the nav. The nav height is
     approximate (Webflow navbar ~80-96px depending on viewport);
     we round up to 96 to be safe. */
  --lp-nav-height: 96px;

  /* Per-phase scroll budget. Total rail height = pinHeight +
     (phaseCount - 1) * --lp-phase-scroll. Larger value = slower
     more deliberate horizontal travel; smaller = snappier.
     100vh per transition is the sweet spot for "every wheel
     turn moves you one phase". */
  --lp-phase-scroll: 100vh;
  --lp-phases: 7;
}

/* ----------------------------------------------------------------
   1. PAGE SHELL
   ---------------------------------------------------------------- */
.lp-body {
  background: var(--ll-bg-base);
  color: var(--ll-text-body);
  font-family: var(--ll-font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.lp-page {
  position: relative;
}
.lp-page [id] {
  scroll-margin-top: calc(var(--lp-nav-height) + 24px);
}

.lp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--ll-page-padding, 32px);
  width: 100%;
}

/* ----------------------------------------------------------------
   2. HERO
   Editorial open. Three-line kinetic line-clip headline. Scroll
   cue beneath the subheadline reinforces what comes next.
   ---------------------------------------------------------------- */
.lp-hero {
  position: relative;
  padding: var(--ll-section-lg, 160px) 0;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}
.lp-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 87px,
    rgba(25, 24, 24, 0.025) 87px,
    rgba(25, 24, 24, 0.025) 88px
  );
}
.lp-hero-content {
  position: relative;
  z-index: 2;
}
.lp-hero-label-wrap {
  display: flex;
  justify-content: center;
}
.lp-hero-label-pill {
  opacity: 0;
  transform: translateY(8px);
  animation: lpHeroLabelFadeIn 600ms cubic-bezier(0.16, 1, 0.3, 1) 100ms forwards;
}
@keyframes lpHeroLabelFadeIn { to { opacity: 1; transform: translateY(0); } }

.lp-hero-accent {
  width: 52px;
  height: 3px;
  background: var(--ll-accent-solid);
  border-radius: 2px;
  margin: 28px auto;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  animation: lpHeroAccentGrow 600ms cubic-bezier(0.16, 1, 0.3, 1) 250ms forwards;
}
@keyframes lpHeroAccentGrow { to { opacity: 1; transform: scaleX(1); } }

.lp-hero-headline {
  font-family: var(--ll-font-heading);
  font-weight: var(--ll-weight-regular);
  font-size: clamp(44px, 7.5vw, 80px);
  line-height: 1.05;
  letter-spacing: -2.5px;
  color: var(--ll-text-strong);
  margin: 0;
  overflow-wrap: break-word;
}
.lp-hero-headline em {
  font-style: italic;
  color: inherit;
}
.lp-hero-line-clip {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}
.lp-hero-line-inner {
  display: block;
  transform: translateY(105%);
  opacity: 0;
  animation: lpHeroLineUp 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}
.lp-hero-line-clip:nth-child(1) .lp-hero-line-inner { animation-delay: 350ms; }
.lp-hero-line-clip:nth-child(2) .lp-hero-line-inner { animation-delay: 500ms; }
.lp-hero-line-clip:nth-child(3) .lp-hero-line-inner { animation-delay: 650ms; }
@keyframes lpHeroLineUp { to { transform: translateY(0); opacity: 1; } }

.lp-hero-sub {
  max-width: 580px;
  margin: 28px auto 0;
  font-family: var(--ll-font-body);
  font-size: 18px;
  line-height: 1.75;
  color: var(--ll-text-medium);
  opacity: 0;
  animation: lpFadeUp 700ms cubic-bezier(0.16, 1, 0.3, 1) 950ms forwards;
}
@keyframes lpFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lp-scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 80px;
  opacity: 0;
  animation: lpFadeUp 700ms cubic-bezier(0.16, 1, 0.3, 1) 1300ms forwards;
}
.lp-scroll-cue-line {
  display: block;
  width: 1px;
  height: 40px;
  background: var(--ll-text-strong);
  transform-origin: top center;
  animation: lpScrollCueDraw 2s ease-in-out infinite;
}
@keyframes lpScrollCueDraw {
  0%   { transform: scaleY(0);   opacity: 0; }
  20%  { transform: scaleY(0);   opacity: 0.6; }
  60%  { transform: scaleY(1);   opacity: 0.6; }
  100% { transform: scaleY(1);   opacity: 0; }
}
.lp-scroll-cue-label {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ll-text-subtle);
}
.lp-scroll-cue-arrow {
  display: block;
  font-family: var(--ll-font-mono-blueprint);
  font-size: 14px;
  line-height: 1;
  color: var(--ll-text-subtle);
  animation: lpScrollCueArrow 2s ease-in-out infinite;
}
@keyframes lpScrollCueArrow {
  0%, 100% { transform: translateY(0);   opacity: 0.25; }
  50%      { transform: translateY(4px); opacity: 1;    }
}

/* ----------------------------------------------------------------
   3. HORIZONTAL SCROLL RAIL
   Outer .lp-rail is tall (pinHeight + 6 transitions × phase-scroll).
   .lp-rail-pin is sticky to the viewport. .lp-rail-track sits inside
   the viewport and is translated horizontally by JS.
   ---------------------------------------------------------------- */
.lp-rail {
  position: relative;
  /* GSAP ScrollTrigger pins .lp-rail-pin and creates its own
     spacer for the vertical scroll budget (one viewport height
     per phase transition — see process.js). The rail itself
     just wraps the pinnable element; we leave height auto so
     ScrollTrigger's pinSpacing controls the layout flow. */
  background: var(--ll-bg-base);
}
.lp-rail-pin {
  /* ScrollTrigger applies position:fixed during pin and restores
     this default outside the pinned range. We size to the post-
     nav viewport so the pinned panel matches the pin top offset
     (start: top top+=navHeight in process.js). */
  position: relative;
  height: calc(100vh - var(--lp-nav-height));
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
  background: var(--ll-bg-base);
}

/* ---- Left timeline (zoom on current) */
.lp-rail-timeline {
  position: relative;
  border-right: 1px solid var(--ll-border-subtle);
  background: var(--ll-bg-lift);
  padding: 48px 28px;
  overflow: hidden;
}
.lp-rail-timeline-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}
.lp-rail-timeline-label {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ll-text-subtle);
}
.lp-rail-timeline-list {
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.lp-rail-step {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 12px;
  padding: 6px 0 6px 16px;
  margin-left: -16px;
  background: transparent;
  border: none;
  border-left: 1px solid transparent;
  font: inherit;
  color: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  opacity: 0.32;
  transform: scale(0.85) translateX(0);
  transform-origin: left center;
  transition:
    opacity 500ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1),
    color 300ms ease;
  cursor: pointer;
  user-select: none;
}
.lp-rail-step:focus-visible {
  outline: 2px solid var(--ll-accent-solid);
  outline-offset: 2px;
}
.lp-rail-step.is-complete {
  opacity: 0.55;
  transform: scale(0.85);
}
.lp-rail-step.is-current {
  opacity: 1;
  transform: scale(1.18);
  border-left-color: var(--ll-accent-solid);
}
.lp-rail-step.is-adjacent {
  opacity: 0.55;
  transform: scale(0.92);
}
.lp-rail-step-num {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 600;
  font-size: 13px;
  color: var(--ll-text-medium);
  letter-spacing: 0.04em;
}
.lp-rail-step-name {
  font-family: var(--ll-font-heading);
  font-weight: var(--ll-weight-regular);
  font-size: 22px;
  line-height: 1.1;
  color: var(--ll-text-strong);
  letter-spacing: -0.4px;
}
.lp-rail-step.is-current .lp-rail-step-num {
  color: var(--ll-accent-solid);
}
.lp-rail-progress {
  height: 2px;
  background: var(--ll-border-subtle);
  border-radius: 1px;
  overflow: hidden;
  margin-top: 8px;
}
.lp-rail-progress-fill {
  height: 100%;
  width: calc(var(--lp-rail-progress, 0) * 100%);
  background: var(--ll-text-strong);
  transition: width 120ms linear;
}
.lp-rail-hint {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ll-text-subtle);
  text-transform: uppercase;
}
body.lp-rail-finished .lp-rail-hint::before {
  content: "← BACK · ";
}

/* ---- Right viewport + horizontal track */
.lp-rail-viewport {
  position: relative;
  overflow: hidden;
}
.lp-rail-track {
  display: flex;
  height: 100%;
  width: calc(var(--lp-phases) * 100%);
  /* Transform driven by GSAP via inline style (see process.js).
     We just declare will-change so the browser hands the layer
     off to the GPU. */
  will-change: transform;
}
.lp-rail-slide {
  flex: 0 0 calc(100% / var(--lp-phases));
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 48px 56px;
  position: relative;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* A vertical seam between adjacent slides reads as the
     transition between phases when peeking at the edge. */
  border-left: 1px solid transparent;
}
.lp-rail-slide + .lp-rail-slide {
  border-left-color: var(--ll-border-subtle);
}

/* Custom scrollbar inside slides — minimal so it doesn't fight
   the blueprint aesthetic. */
.lp-rail-slide::-webkit-scrollbar { width: 6px; }
.lp-rail-slide::-webkit-scrollbar-thumb {
  background: var(--ll-border-medium);
  border-radius: 3px;
}
.lp-rail-slide::-webkit-scrollbar-track { background: transparent; }

/* ----------------------------------------------------------------
   4. SHARED PHASE STYLES (now also slide content)
   ---------------------------------------------------------------- */
.lp-phase {
  position: relative;
}
.lp-rail-slide.lp-phase {
  /* Inside the rail the phase no longer needs the giant
     section padding — the slide itself supplies the chrome. */
  padding-top: 8px;
  padding-bottom: 8px;
}

.lp-phase-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 56px;
  align-items: center;
}

.lp-phase-content {
  max-width: 580px;
}
.lp-phase-content--centered {
  margin: 0 auto;
  text-align: center;
}
.lp-phase-content--centered .lp-phase-meta,
.lp-phase-content--centered .lp-phase-tools .lp-tools-row {
  justify-content: center;
}
.lp-phase-content--centered .lp-phase-deliverables ul {
  text-align: left;
  display: inline-block;
}

.lp-phase-eyebrow {
  display: inline-block;
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ll-text-subtle);
  margin-bottom: 14px;
}

.lp-phase-name {
  font-family: var(--ll-font-heading);
  font-weight: var(--ll-weight-regular);
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ll-text-strong);
  margin: 0 0 14px;
}

.lp-phase-tagline {
  font-family: var(--ll-font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ll-text-body);
  max-width: 580px;
  margin: 0 0 24px;
}

.lp-phase-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--ll-border-subtle);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ll-border-subtle);
}

.lp-blueprint-label {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ll-text-subtle);
}

.lp-phase-body {
  font-family: var(--ll-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ll-text-body);
  margin: 0 0 24px;
}

.lp-phase-deliverables {
  margin-bottom: 24px;
}
.lp-phase-deliverables .lp-blueprint-label {
  display: block;
  margin-bottom: 12px;
}
.lp-deliverables-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lp-deliverables-list li {
  font-family: var(--ll-font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ll-text-strong);
  padding: 8px 0 8px 24px;
  border-bottom: 1px solid var(--ll-border-subtle);
  position: relative;
}
.lp-deliverables-list li:last-child { border-bottom: none; }
.lp-deliverables-list[data-marker="dash"] li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 8px;
  font-family: var(--ll-font-mono-blueprint);
  color: var(--ll-text-medium);
}
.lp-deliverables-list[data-marker="square"] li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  width: 7px;
  height: 7px;
  background: var(--ll-text-strong);
}
.lp-deliverables-list[data-marker="numeric"] {
  counter-reset: lp-deliv;
}
.lp-deliverables-list[data-marker="numeric"] li {
  counter-increment: lp-deliv;
}
.lp-deliverables-list[data-marker="numeric"] li::before {
  content: counter(lp-deliv, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 600;
  font-size: 11px;
  color: var(--ll-text-medium);
  letter-spacing: 0.04em;
}
.lp-deliverables-list[data-marker="bracket"] li::before {
  content: "›";
  position: absolute;
  left: 4px;
  top: 6px;
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 600;
  font-size: 16px;
  color: var(--ll-text-strong);
}
.lp-deliverables-list[data-marker="dot"] li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ll-accent-solid);
}

.lp-phase-tools .lp-blueprint-label {
  display: block;
  margin-bottom: 10px;
}
.lp-tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lp-tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--tool-tint, var(--ll-bg-lift));
  color: var(--tool-color, var(--ll-text-strong));
  border: 1px solid var(--tool-border, var(--ll-border-subtle));
  font-family: var(--ll-font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -0.005em;
  border-radius: 9999px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.lp-tool-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -6px var(--tool-color, rgba(25,24,24,0.2));
}

/* ----------------------------------------------------------------
   5. PER-PHASE LAYOUTS — same per-phase asymmetry as before, but
   now constrained to fit inside a single rail slide.
   ---------------------------------------------------------------- */

/* ---- 01 Discovery — left-bias with watermark */
.lp-phase[data-layout="left-bias"] .lp-phase-visual {
  position: relative;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-watermark {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 700;
  font-size: clamp(140px, 18vw, 260px);
  line-height: 0.8;
  color: var(--ll-text-faint);
  user-select: none;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
}
.lp-watermark--left {
  position: absolute;
  top: -16px;
  left: -8px;
  z-index: 0;
  pointer-events: none;
}
.lp-dimension-line--vertical {
  position: absolute;
  left: -40px;
  top: 50%;
  width: 80px;
  height: 1px;
  background: var(--ll-border-medium);
  z-index: 0;
}
.lp-dimension-line--vertical::before,
.lp-dimension-line--vertical::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 8px;
  background: var(--ll-border-medium);
  top: -4px;
}
.lp-dimension-line--vertical::before { left: 0; }
.lp-dimension-line--vertical::after  { right: 0; }

/* ---- 02 Architecture — centered with SVG diagram */
.lp-phase[data-layout="centered-diagram"] {
  text-align: center;
}
.lp-arch-diagram {
  max-width: 460px;
  margin: 0 auto 32px;
}
.lp-arch-diagram svg {
  width: 100%;
  height: auto;
  display: block;
}
.lp-arch-diagram svg path {
  fill: none;
  stroke: var(--ll-border-medium);
  stroke-width: 1;
}
.lp-arch-diagram svg rect {
  fill: var(--ll-bg-lift);
  stroke: var(--ll-border-strong);
  stroke-width: 1;
}
.lp-arch-diagram svg circle {
  fill: var(--ll-bg-lift);
  stroke: var(--ll-border-strong);
  stroke-width: 1;
}
.lp-arch-diagram svg .lp-arch-dot {
  fill: var(--ll-text-strong);
  stroke: none;
}
.lp-phase[data-layout="centered-diagram"] .lp-phase-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.lp-phase[data-layout="centered-diagram"] .lp-phase-meta,
.lp-phase[data-layout="centered-diagram"] .lp-tools-row {
  justify-content: center;
}
.lp-phase[data-layout="centered-diagram"] .lp-phase-deliverables ul {
  text-align: left;
  display: inline-block;
  min-width: 320px;
}

/* ---- 03 Design — right-bias with mockup stack on left */
.lp-phase[data-layout="right-bias"] .lp-phase-grid {
  grid-template-columns: 45fr 55fr;
}
.lp-phase-visual--mockup {
  position: relative;
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-mockup-stack {
  position: relative;
  width: 240px;
  height: 280px;
  z-index: 2;
}
.lp-mockup-card {
  position: absolute;
  background: var(--ll-bg-lift);
  border: 1px solid var(--ll-border-subtle);
  border-radius: 4px;
}
.lp-mockup-card--1 {
  inset: 0;
  z-index: 3;
  background: var(--ll-bg-base);
  border-color: var(--ll-border-medium);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.lp-mockup-card--2 {
  top: -16px;
  left: 24px;
  right: -24px;
  bottom: 32px;
  z-index: 2;
  background: var(--ll-bg-lift);
}
.lp-mockup-card--3 {
  top: -32px;
  left: 48px;
  right: -48px;
  bottom: 64px;
  z-index: 1;
  background: var(--ll-bg-depth);
}
.lp-mockup-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lp-mockup-rows span {
  display: block;
  height: 6px;
  background: var(--ll-border-medium);
  border-radius: 1px;
}
.lp-mockup-rows span:nth-child(1) { width: 60%; }
.lp-mockup-rows span:nth-child(2) { width: 90%; }
.lp-mockup-rows span:nth-child(3) { width: 75%; }
.lp-mockup-rows span:nth-child(4) { width: 40%; }
.lp-corner-bracket {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
}
.lp-corner-bracket--tl {
  top: 0;
  left: 0;
  border-top: 1px solid var(--ll-text-strong);
  border-left: 1px solid var(--ll-text-strong);
}
.lp-corner-bracket--br {
  bottom: 0;
  right: 0;
  border-bottom: 1px solid var(--ll-text-strong);
  border-right: 1px solid var(--ll-text-strong);
}

/* ---- 04 Build — full width with sprint row */
.lp-sprint-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ll-border-subtle);
}
.lp-sprint {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lp-sprint-label {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--ll-text-subtle);
}
.lp-sprint-bar {
  height: 10px;
  background: var(--ll-bg-lift);
  border: 1px solid var(--ll-border-subtle);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.lp-sprint-bar-fill {
  position: absolute;
  inset: 0;
  width: var(--sprint-fill, 0%);
  background: var(--ll-text-strong);
  transition: width 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-phase-build-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 56px;
  align-items: start;
}
.lp-phase[data-layout="full-width-sprints"] .lp-phase-content {
  max-width: none;
}

/* ---- 05 QA — centered checklist */
.lp-phase[data-layout="centered-checklist"] .lp-phase-grid {
  grid-template-columns: 1fr 1fr;
}
.lp-phase-visual--qa {
  align-self: start;
}
.lp-qa-checklist {
  background: var(--ll-bg-lift);
  border-radius: 12px;
  padding: 24px;
  position: relative;
}
.lp-qa-heading {
  display: block;
  margin-bottom: 18px;
}
.lp-qa-checklist ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lp-qa-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--ll-font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--ll-text-strong);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 500ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--lp-qa-delay, 0ms);
}
.lp-qa-checklist.is-revealed .lp-qa-item {
  opacity: 1;
  transform: translateY(0);
}
.lp-qa-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--ll-border-medium);
  background: var(--ll-bg-base);
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  transition: background-color 350ms ease, border-color 350ms ease;
}
.lp-qa-check::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 4px;
  border-left: 1.5px solid var(--ll-bg-base);
  border-bottom: 1.5px solid var(--ll-bg-base);
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
  transition: opacity 200ms ease;
}
.lp-qa-checklist.is-revealed .lp-qa-check {
  background: var(--ll-text-strong);
  border-color: var(--ll-text-strong);
}
.lp-qa-checklist.is-revealed .lp-qa-check::after { opacity: 1; }

/* ---- 06 Launch — vertical timeline + content */
.lp-phase[data-layout="two-col-timeline"] .lp-phase-grid {
  grid-template-columns: 38fr 62fr;
}
.lp-launch-col {
  position: relative;
  padding-top: 40px;
}
.lp-launch-col .lp-watermark--launch {
  top: -24px;
  left: -16px;
  font-size: clamp(120px, 16vw, 200px);
}
.lp-launch-timeline {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-left: 24px;
}
.lp-launch-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--ll-border-medium);
}
.lp-launch-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lp-launch-step::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ll-bg-base);
  border: 1.5px solid var(--ll-text-strong);
}
.lp-launch-step:first-child::before {
  background: var(--ll-text-strong);
}
.lp-launch-time {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 600;
  font-size: 16px;
  color: var(--ll-text-strong);
  letter-spacing: 0.02em;
}
.lp-launch-label {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ll-text-medium);
  text-transform: uppercase;
}

/* ---- 07 Support — quiet centered */
.lp-phase[data-layout="quiet-centered"] .lp-phase-content--centered {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

/* ----------------------------------------------------------------
   6. CLOSING SUMMARY
   ---------------------------------------------------------------- */
.lp-closing {
  background: var(--ll-bg-lift);
  padding: var(--ll-section-lg, 160px) 0;
  text-align: center;
  border-top: 1px solid var(--ll-border-subtle);
  border-bottom: 1px solid var(--ll-border-subtle);
}
.lp-closing-label {
  display: inline-block;
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ll-text-subtle);
  margin-bottom: 24px;
}
.lp-closing-headline {
  font-family: var(--ll-font-heading);
  font-weight: var(--ll-weight-regular);
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ll-text-strong);
  margin: 0 auto 32px;
  max-width: 880px;
}
.lp-closing-headline em {
  font-style: italic;
  color: inherit;
}
.lp-closing-body {
  max-width: 680px;
  margin: 0 auto 80px;
  font-family: var(--ll-font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ll-text-medium);
}
.lp-summary-bar {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  border: 1px solid var(--ll-border-medium);
  border-radius: 6px;
  overflow: hidden;
  background: var(--ll-bg-base);
}
.lp-summary-segment {
  flex: var(--w, 1) 1 0;
  padding: 20px 12px;
  text-align: center;
  border-right: 1px solid var(--ll-border-subtle);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  position: relative;
}
.lp-summary-segment:last-child { border-right: none; }
.lp-summary-segment--accent {
  background: var(--ll-text-strong);
  color: var(--ll-bg-base);
}
.lp-summary-segment--accent .lp-summary-num,
.lp-summary-segment--accent .lp-summary-name,
.lp-summary-segment--accent .lp-summary-time {
  color: var(--ll-bg-base);
}
.lp-summary-num {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ll-text-subtle);
}
.lp-summary-name {
  font-family: var(--ll-font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--ll-text-strong);
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp-summary-time {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ll-text-medium);
}

/* ----------------------------------------------------------------
   7. RESPONSIVE
   On medium screens, slim the timeline column. Below 900px the
   rail mechanic is fully disabled — phases stack vertically and
   the timeline aside hides; standard scrolling resumes.
   ---------------------------------------------------------------- */
@media (max-width: 1200px) {
  .lp-rail-pin {
    grid-template-columns: 240px 1fr;
  }
  .lp-rail-step-name { font-size: 19px; }
  .lp-rail-slide { padding: 40px 40px; }
}

@media (max-width: 1024px) {
  .lp-rail-pin {
    grid-template-columns: 220px 1fr;
  }
  .lp-rail-timeline { padding: 32px 20px; }
  .lp-rail-step-name { font-size: 17px; }
  .lp-rail-slide { padding: 32px 32px; }

  .lp-phase-grid,
  .lp-phase-build-grid,
  .lp-phase[data-layout="right-bias"] .lp-phase-grid,
  .lp-phase[data-layout="centered-checklist"] .lp-phase-grid,
  .lp-phase[data-layout="two-col-timeline"] .lp-phase-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .lp-phase-visual--mockup,
  .lp-phase[data-layout="left-bias"] .lp-phase-visual {
    min-height: 0;
  }
  .lp-mockup-stack {
    width: 200px;
    height: 220px;
  }
  .lp-launch-timeline {
    padding-left: 0;
    padding-top: 8px;
  }
  .lp-launch-timeline::before {
    left: -24px;
  }
}

@media (max-width: 900px) {
  /* Disable the rail mechanic entirely on small viewports —
     the JS in process.js detects this breakpoint and skips
     translateX updates. Phases become a normal vertical stack. */
  .lp-rail {
    height: auto !important;
  }
  .lp-rail-pin {
    position: static;
    height: auto;
    grid-template-columns: 1fr;
    overflow: visible;
  }
  .lp-rail-timeline {
    display: none;
  }
  .lp-rail-viewport {
    overflow: visible;
  }
  .lp-rail-track {
    flex-direction: column;
    width: 100%;
    transform: none !important;
    height: auto;
  }
  .lp-rail-slide {
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    padding: var(--ll-section-md, 120px) 0;
    overflow: visible;
    border-left: none !important;
    border-bottom: 1px solid var(--ll-border-subtle);
  }
  .lp-rail-slide:last-child {
    border-bottom: none;
  }
  .lp-hero {
    padding: var(--ll-section-md, 120px) 0;
  }
  .lp-sprint-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 32px;
  }
  .lp-summary-bar {
    flex-wrap: wrap;
  }
  .lp-summary-segment {
    flex: 1 1 calc(50% - 1px);
    border-bottom: 1px solid var(--ll-border-subtle);
  }
  .lp-summary-segment:nth-child(2n) {
    border-right: none;
  }
  .lp-watermark--left {
    font-size: clamp(120px, 30vw, 180px);
    top: -24px;
  }
  .lp-launch-col {
    padding-top: 56px;
  }
}

@media (max-width: 640px) {
  .lp-container {
    padding: 0 20px;
  }
  .lp-hero {
    padding: 80px 0;
  }
  .lp-hero-headline {
    font-size: clamp(32px, 11vw, 48px);
    letter-spacing: -1.5px;
  }
  .lp-hero-sub {
    font-size: 16px;
  }
  .lp-phase-name {
    font-size: clamp(32px, 8vw, 44px);
    letter-spacing: -1.5px;
  }
  .lp-phase-tagline {
    font-size: 17px;
  }
  .lp-phase-body {
    font-size: 16px;
    line-height: 1.7;
  }
  .lp-watermark {
    font-size: clamp(120px, 32vw, 160px);
  }
  .lp-sprint-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-launch-timeline {
    gap: 32px;
  }
  .lp-launch-time {
    font-size: 16px;
  }
  .lp-summary-segment {
    flex-basis: 100%;
    border-right: none;
  }
  .lp-closing {
    padding: var(--ll-section-md, 120px) 0;
  }
  .lp-rail-slide {
    padding: var(--ll-section-sm, 96px) 0;
  }
}

/* ----------------------------------------------------------------
   8. REDUCED MOTION
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .lp-hero-label-pill,
  .lp-hero-accent,
  .lp-hero-line-inner,
  .lp-hero-sub,
  .lp-scroll-cue,
  .lp-scroll-cue-line,
  .lp-scroll-cue-arrow {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .lp-rail-step,
  .lp-rail-progress-fill,
  .lp-qa-item,
  .lp-qa-check,
  .lp-sprint-bar-fill {
    transition: none !important;
  }
  .lp-rail-track {
    /* Even with reduced motion, the rail still translates per
       scroll position, but JS uses no easing — direct mapping. */
    will-change: auto;
  }
  .lp-qa-item { opacity: 1 !important; transform: none !important; }

  .lp-checklist-item,
  .lp-checklist-box,
  .lp-qa-card-row,
  .lp-launch-step,
  .lp-launch-timeline::before,
  .lp-ongoing-marker,
  .lp-ongoing-line::after {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================================
   9. VISUAL PASS v2 — global hierarchy + per-phase signature
      visuals. Layered on top of the original phase styles so
      the rail / left timeline / scroll-train mechanics stay
      untouched. All values reference --ll-* tokens.
   ============================================================ */

/* ---------- Global hierarchy fixes ---------- */

/* "WHAT YOU GET" reads as a section break, not a caption */
.lp-phase-deliverables .lp-blueprint-label {
  font-family: var(--ll-font-body);
  font-weight: var(--ll-weight-semi);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ll-text-strong);
  margin-top: 24px;
  margin-bottom: 12px;
}

/* Deliverable list items breathe: 18px gap between items */
.lp-deliverables-list li {
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 15px;
  line-height: 1.55;
}

/* Body copy max-width across all layouts so no row exceeds
   ~640-680px regardless of column width. */
.lp-phase-content,
.lp-phase[data-layout="centered-diagram"] .lp-phase-content,
.lp-phase[data-layout="quiet-centered"] .lp-phase-content--centered {
  max-width: 660px;
}
.lp-phase-tagline,
.lp-phase-body {
  max-width: 660px;
}

/* Tagline: clearly between phase name and body */
.lp-phase-tagline {
  font-size: 20px;
  line-height: 1.45;
  color: var(--ll-text-medium);
  margin: 0 0 28px;
}

/* Annotation line gets more breathing room above and below */
.lp-phase-meta {
  margin-top: 24px;
  margin-bottom: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Watermark consistency: textural background element across
   every phase. Tertiary-text-color at 15% opacity, sized
   between 280-320px depending on viewport, behind everything. */
.lp-watermark {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 600;
  font-size: clamp(220px, 26vw, 320px);
  line-height: 0.78;
  color: rgba(25, 24, 24, 0.15);
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.04em;
  position: absolute;
  z-index: 0;
}
.lp-watermark--left {
  top: -32px;
  left: -24px;
}
/* Phase 01 watermark anchors to the right edge of the visual
   column so it sits behind the Discovery checklist. */
.lp-phase[data-layout="left-bias"] .lp-watermark {
  top: 50%;
  right: -32px;
  transform: translateY(-50%);
  left: auto;
}
.lp-launch-col .lp-watermark--launch {
  top: -8px;
  left: -32px;
  font-size: clamp(200px, 22vw, 280px);
}

/* Tools pill — logo + text. Icon left, label right, 6px gap.
   Image is rendered through Simple Icons CDN already tinted
   to a tertiary text color (see HTML for `7a7977` slug param). */
.lp-tool-pill {
  gap: 6px;
  padding: 6px 12px;
  background: var(--ll-bg-base);
  border: 1px solid var(--ll-border-subtle);
  font-size: 12.5px;
  letter-spacing: 0;
}
.lp-tool-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  flex-shrink: 0;
  opacity: 0.8;
}

/* ---------- Phase 01 — Discovery checklist visual ---------- */
.lp-phase[data-layout="left-bias"] .lp-phase-visual {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  min-height: 320px;
  padding: 0 8px;
}
.lp-checklist {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--ll-bg-base);
  padding: 20px 22px;
  border: 1px solid var(--ll-border-subtle);
  border-radius: 4px;
  max-width: 280px;
  margin: 0 auto;
}
.lp-checklist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ll-font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--ll-text-strong);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 380ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--lp-cl-delay, 0ms);
}
.lp-checklist-box {
  width: 16px;
  height: 16px;
  border: 1px solid var(--ll-border-medium);
  background: transparent;
  flex-shrink: 0;
  transition: background-color 200ms ease 80ms,
              border-color 200ms ease 80ms;
  transition-delay: calc(var(--lp-cl-delay, 0ms) + 60ms);
  position: relative;
}
.lp-checklist-box::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--ll-bg-base);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 200ms ease, transform 200ms ease;
  transition-delay: calc(var(--lp-cl-delay, 0ms) + 200ms);
}
.lp-checklist.is-revealed .lp-checklist-item {
  opacity: 1;
  transform: translateY(0);
}
.lp-checklist.is-revealed .lp-checklist-box {
  background: var(--ll-text-strong);
  border-color: var(--ll-text-strong);
}

/* ---------- Phase 02 — Labeled architecture diagram ---------- */
.lp-arch-diagram {
  max-width: 720px;
  width: 100%;
  margin: 0 auto 32px;
  padding: 8px 0;
}
.lp-arch-diagram svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 240px;
}
.lp-arch-diagram svg .lp-arch-line,
.lp-arch-diagram svg .lp-arch-arrow {
  fill: none;
  stroke: var(--ll-border-medium);
  stroke-width: 1;
}
.lp-arch-diagram svg .lp-arch-arrow {
  fill: var(--ll-border-medium);
  stroke: none;
}
.lp-arch-diagram svg .lp-arch-node rect {
  fill: var(--ll-bg-base);
  stroke: var(--ll-border-medium);
  stroke-width: 1;
}
.lp-arch-diagram svg .lp-arch-node--soft rect {
  fill: var(--ll-bg-lift);
}
.lp-arch-diagram svg .lp-arch-label {
  font-family: var(--ll-font-body);
  font-weight: 500;
  font-size: 11px;
  fill: var(--ll-text-strong);
}
.lp-arch-diagram svg .lp-arch-sub {
  font-family: var(--ll-font-body);
  font-weight: 400;
  font-size: 9.5px;
  fill: var(--ll-text-subtle);
  letter-spacing: 0.02em;
}

/* ---------- Phase 03 — Device frame visual ---------- */
.lp-device-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 12px;
}
.lp-device {
  background: var(--ll-bg-dark-base);
  border-radius: 10px;
  padding: 6px;
  position: relative;
  box-shadow: 0 8px 24px rgba(25, 24, 24, 0.06);
  flex-shrink: 0;
}
.lp-device-screen {
  background: var(--ll-bg-base);
  border-radius: 4px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lp-device-screen span {
  display: block;
  height: 4px;
  background: var(--ll-border-medium);
  border-radius: 1px;
}
.lp-device-screen .lp-device-block {
  background: var(--ll-border-subtle);
  border-radius: 2px;
}

/* mobile */
.lp-device--mobile {
  width: 64px;
  height: 124px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
}
.lp-device--mobile .lp-device-screen {
  flex: 1;
  padding: 6px;
  border-radius: 8px;
}
.lp-device-statusbar {
  display: block;
  height: 3px;
  width: 24px;
  margin: 2px auto 4px;
  background: rgba(247, 247, 242, 0.32);
  border-radius: 2px;
}
.lp-device-home {
  display: block;
  height: 3px;
  width: 28px;
  margin: 4px auto 2px;
  background: rgba(247, 247, 242, 0.32);
  border-radius: 2px;
}

/* tablet */
.lp-device--tablet {
  width: 96px;
  height: 116px;
  border-radius: 8px;
}
.lp-device--tablet .lp-device-screen {
  height: 100%;
  border-radius: 4px;
}
.lp-device-screen--split {
  flex-direction: row;
  gap: 6px;
}
.lp-device-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lp-device-col--narrow {
  flex: 0 0 30%;
  border-right: 1px solid var(--ll-border-subtle);
  padding-right: 6px;
}

/* desktop */
.lp-device--desktop {
  width: 148px;
  border-radius: 6px;
}
.lp-device-chrome {
  background: var(--ll-bg-dark-lift);
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 4px 4px 0 0;
}
.lp-device-chrome span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(247, 247, 242, 0.32);
}
.lp-device-url {
  flex: 1;
  height: 4px !important;
  width: auto !important;
  border-radius: 2px !important;
  margin-left: 6px;
  background: rgba(247, 247, 242, 0.18) !important;
}
.lp-device--desktop .lp-device-screen {
  border-radius: 0 0 4px 4px;
  padding: 8px;
}

.lp-device-caption {
  text-align: center;
  font-family: var(--ll-font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--ll-text-subtle);
  margin: 0 0 24px;
}

/* ---------- Phase 04 — Sprint progress v2 ---------- */
.lp-sprint-row {
  display: flex;
  align-items: stretch;
  gap: 4px;
  margin-bottom: 8px;
  padding-bottom: 0;
  border-bottom: none;
}
.lp-sprint {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
  min-width: 0;
}
.lp-sprint-demo {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--ll-text-subtle);
  text-align: center;
  min-height: 12px;
  position: relative;
}
.lp-sprint-demo::after {
  content: "";
  display: block;
  width: 1px;
  height: 4px;
  background: var(--ll-text-subtle);
  margin: 2px auto 0;
}
.lp-sprint-demo--placeholder { visibility: hidden; }
.lp-sprint-bar {
  height: 8px;
  background: var(--ll-border-subtle);
  border: none;
  border-radius: 4px;
  overflow: hidden;
}
.lp-sprint-bar-fill {
  width: 0%;
  background: var(--ll-text-strong);
  transition: width 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-sprint[data-fill="partial"] .lp-sprint-bar-fill {
  background: linear-gradient(
    90deg,
    var(--ll-text-strong) 0%,
    var(--ll-text-strong) 60%,
    var(--ll-border-subtle) 100%
  );
}
.lp-sprint-label {
  text-align: center;
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ll-text-subtle);
}
.lp-sprint-caption {
  font-family: var(--ll-font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--ll-text-subtle);
  margin: 0 0 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ll-border-subtle);
}

/* ---------- Phase 05 — QA report card ---------- */
.lp-qa-card {
  max-width: 380px;
  background: var(--ll-bg-base);
  border: 1px solid var(--ll-border-subtle);
  border-radius: 4px;
  padding: 18px 22px;
  position: relative;
  z-index: 2;
}
.lp-qa-card-header {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ll-border-subtle);
  margin-bottom: 8px;
}
.lp-qa-card-title {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ll-text-subtle);
}
.lp-qa-card-rows {
  display: flex;
  flex-direction: column;
}
.lp-qa-card-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  min-height: 36px;
  padding: 6px 0;
  border-bottom: 1px solid var(--ll-border-subtle);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 420ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--lp-qa-row-delay, 0ms);
}
.lp-qa-card-row:last-child { border-bottom: none; }
.lp-qa-card.is-revealed .lp-qa-card-row {
  opacity: 1;
  transform: translateY(0);
}
.lp-qa-card-label {
  font-family: var(--ll-font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--ll-text-strong);
  letter-spacing: -0.005em;
}
.lp-qa-card-score {
  font-family: var(--ll-font-body);
  font-weight: 400;
  font-size: 12px;
  color: var(--ll-text-subtle);
  white-space: nowrap;
}
.lp-qa-card-pass {
  font-family: var(--ll-font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #22c55e;
  padding: 2px 8px;
  border: 1px solid rgba(34, 197, 94, 0.32);
  border-radius: 3px;
  opacity: 0;
  transition: opacity 320ms ease;
  transition-delay: calc(var(--lp-qa-row-delay, 0ms) + 140ms);
}
.lp-qa-card.is-revealed .lp-qa-card-pass {
  opacity: 1;
}

/* ---------- Phase 06 — Launch timeline (descriptions + draw) ---------- */
.lp-launch-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-left: 28px;
  z-index: 2;
}
.lp-launch-timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--ll-border-medium);
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-launch-timeline.is-revealed::before {
  transform: scaleY(1);
}
.lp-launch-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 380ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--lp-launch-delay, 0ms);
}
.lp-launch-timeline.is-revealed .lp-launch-step {
  opacity: 1;
  transform: translateY(0);
}
.lp-launch-step::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ll-text-strong);
  border: none;
}
.lp-launch-time {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ll-text-strong);
  text-transform: uppercase;
}
.lp-launch-label {
  font-family: var(--ll-font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--ll-text-strong);
  text-transform: none;
  letter-spacing: -0.005em;
}
.lp-launch-desc {
  font-family: var(--ll-font-body);
  font-weight: 400;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ll-text-subtle);
  max-width: 280px;
}

/* ---------- Phase 07 — Ongoing horizontal line ---------- */
.lp-ongoing {
  margin: 28px 0 12px;
  position: relative;
  z-index: 2;
}
.lp-ongoing-track {
  position: relative;
  height: 56px;
  margin-bottom: 12px;
}
.lp-ongoing-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 18px;
  height: 1px;
  background: linear-gradient(
    to right,
    var(--ll-border-medium) 0%,
    var(--ll-border-medium) 75%,
    rgba(25, 24, 24, 0.04) 95%,
    transparent 100%
  );
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-ongoing.is-revealed .lp-ongoing-line {
  transform: scaleX(1);
}
.lp-ongoing-arrow {
  position: absolute;
  left: 78%;
  top: 12px;
  font-family: var(--ll-font-mono-blueprint);
  font-size: 14px;
  color: var(--ll-border-strong);
  opacity: 0;
  transition: opacity 320ms ease 700ms;
}
.lp-ongoing.is-revealed .lp-ongoing-arrow { opacity: 0.5; }

.lp-ongoing-marker {
  position: absolute;
  left: var(--p, 0%);
  top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translate(-50%, 0);
  transition:
    opacity 320ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-ongoing.is-revealed .lp-ongoing-marker {
  opacity: 1;
}
.lp-ongoing.is-revealed .lp-ongoing-marker:nth-child(3) { transition-delay: 600ms; }
.lp-ongoing.is-revealed .lp-ongoing-marker:nth-child(4) { transition-delay: 700ms; }
.lp-ongoing.is-revealed .lp-ongoing-marker:nth-child(5) { transition-delay: 800ms; }
.lp-ongoing.is-revealed .lp-ongoing-marker:nth-child(6) { transition-delay: 900ms; }
.lp-ongoing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ll-text-strong);
  border: 2px solid var(--ll-bg-base);
  box-shadow: 0 0 0 1px var(--ll-border-medium);
}
.lp-ongoing-marker--launch .lp-ongoing-dot {
  background: var(--ll-text-strong);
  box-shadow: 0 0 0 1px var(--ll-text-strong);
}
.lp-ongoing-label {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--ll-text-subtle);
  white-space: nowrap;
}
.lp-ongoing-marker--launch .lp-ongoing-label {
  color: var(--ll-text-strong);
}
.lp-ongoing-caption {
  font-family: var(--ll-font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--ll-text-subtle);
  margin: 24px 0 0;
}

/* ---------- A WORD ON TIMELINES disclaimer block ---------- */
.lp-disclaimer {
  background: var(--ll-bg-base);
  padding: 80px 0 24px;
}
.lp-disclaimer-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--ll-bg-lift);
  border: 1px solid var(--ll-border-subtle);
  border-radius: 4px;
  padding: 24px 32px;
  position: relative;
}
.lp-disclaimer-card .lp-corner-bracket {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
}
.lp-disclaimer-card .lp-corner-bracket--tl {
  top: 6px;
  left: 6px;
  border-top: 1px solid var(--ll-border-medium);
  border-left: 1px solid var(--ll-border-medium);
}
.lp-disclaimer-card .lp-corner-bracket--br {
  bottom: 6px;
  right: 6px;
  border-bottom: 1px solid var(--ll-border-medium);
  border-right: 1px solid var(--ll-border-medium);
}
.lp-disclaimer-label {
  display: block;
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ll-text-subtle);
  margin-bottom: 12px;
}
.lp-disclaimer-body {
  font-family: var(--ll-font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ll-text-medium);
  margin: 0 0 16px;
}
.lp-disclaimer-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--ll-font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--ll-text-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(25, 24, 24, 0.30);
  transition:
    color 200ms ease,
    text-decoration-color 200ms ease;
}
.lp-disclaimer-cta span {
  margin-left: 8px;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-disclaimer-cta:hover {
  color: var(--ll-accent-solid);
  text-decoration-color: var(--ll-accent-solid);
}
.lp-disclaimer-cta:hover span {
  transform: translateX(4px);
}

/* ---------- Responsive overrides for new visuals ---------- */
@media (max-width: 1024px) {
  .lp-checklist { max-width: 100%; }
  .lp-arch-diagram svg { max-height: 200px; }
  .lp-device-row { flex-wrap: wrap; }
  .lp-launch-desc { max-width: none; }
  .lp-ongoing-arrow { left: 76%; }
}
@media (max-width: 900px) {
  .lp-watermark {
    position: static;
    transform: none !important;
    font-size: clamp(140px, 28vw, 220px);
    text-align: center;
    margin: 16px 0;
  }
  .lp-phase[data-layout="left-bias"] .lp-watermark {
    position: static;
    right: auto;
    top: auto;
  }
  .lp-checklist { margin: 0; }
  .lp-qa-card { max-width: 100%; }
  .lp-launch-timeline { padding-left: 28px; }
  .lp-launch-timeline::before { left: 4px; }
}
@media (max-width: 640px) {
  .lp-disclaimer { padding: 64px 20px 16px; }
  .lp-disclaimer-card { padding: 22px 24px; }
  .lp-device-row { gap: 12px; }
  .lp-device--mobile  { width: 56px; height: 110px; }
  .lp-device--tablet  { width: 84px; height: 100px; }
  .lp-device--desktop { width: 124px; }
  .lp-sprint-label { font-size: 9px; }
  .lp-arch-diagram svg .lp-arch-label { font-size: 10px; }
  .lp-arch-diagram svg .lp-arch-sub { font-size: 8.5px; }
  .lp-launch-time { font-size: 11px; }
  .lp-launch-label { font-size: 13px; }
}

/* ================================================================
   PHASE PILOT — Discovery (01)
   ----------------------------------------------------------------
   Per-phase accent color system + TLDR pills + Project Brief
   artifact card. To roll out across phases 02-07: copy the pill +
   brief card markup into each .lp-phase, add .lp-phase--accented
   to the article, and override --phase-accent on each phase id.

   Proposed phase palette (all warm, all sit on paper-white bg
   without breaking the editorial feel):
     #discovery     → ochre   #b25e1f  (curiosity, opening spark)
     #architecture  → blue    #2563eb  (technical, structured)
     #design        → violet  #7a5cc4  (creative)
     #build         → teal    #0e7c66  (construction, growth)
     #qa            → green   #2ad87f  (success, pass)
     #launch        → red     #c94040  (go button)
     #support       → indigo  #485e8a  (reliability, ongoing)
   ================================================================ */

/* ---- Per-phase accent token --------------------------------- */
.lp-phase--accented {
  /* default: warm ochre. Override per phase id below. */
  --phase-accent:        #b25e1f;
  --phase-accent-deep:   #8a4715;
  --phase-accent-tint:   rgba(178, 94, 31, 0.10);
  --phase-accent-tint-2: rgba(178, 94, 31, 0.20);
  --phase-accent-tint-3: rgba(178, 94, 31, 0.32);
}
#discovery {
  --phase-accent:        #b25e1f;
  --phase-accent-deep:   #8a4715;
  --phase-accent-tint:   rgba(178, 94, 31, 0.10);
  --phase-accent-tint-2: rgba(178, 94, 31, 0.20);
  --phase-accent-tint-3: rgba(178, 94, 31, 0.32);
}
#architecture {
  --phase-accent:        #2563eb;
  --phase-accent-deep:   #1a3a6e;
  --phase-accent-tint:   rgba(37, 99, 235, 0.10);
  --phase-accent-tint-2: rgba(37, 99, 235, 0.20);
  --phase-accent-tint-3: rgba(37, 99, 235, 0.32);
}
#design {
  --phase-accent:        #7a5cc4;
  --phase-accent-deep:   #5a3f9e;
  --phase-accent-tint:   rgba(122, 92, 196, 0.10);
  --phase-accent-tint-2: rgba(122, 92, 196, 0.20);
  --phase-accent-tint-3: rgba(122, 92, 196, 0.32);
}
#build {
  --phase-accent:        #0e7c66;
  --phase-accent-deep:   #0a5c4c;
  --phase-accent-tint:   rgba(14, 124, 102, 0.10);
  --phase-accent-tint-2: rgba(14, 124, 102, 0.20);
  --phase-accent-tint-3: rgba(14, 124, 102, 0.32);
}
#qa {
  --phase-accent:        #16a34a;
  --phase-accent-deep:   #0f7a37;
  --phase-accent-tint:   rgba(22, 163, 74, 0.10);
  --phase-accent-tint-2: rgba(22, 163, 74, 0.20);
  --phase-accent-tint-3: rgba(22, 163, 74, 0.32);
}
#launch {
  --phase-accent:        #c94040;
  --phase-accent-deep:   #9a2e2e;
  --phase-accent-tint:   rgba(201, 64, 64, 0.10);
  --phase-accent-tint-2: rgba(201, 64, 64, 0.20);
  --phase-accent-tint-3: rgba(201, 64, 64, 0.32);
}
#support {
  --phase-accent:        #485e8a;
  --phase-accent-deep:   #344668;
  --phase-accent-tint:   rgba(72, 94, 138, 0.10);
  --phase-accent-tint-2: rgba(72, 94, 138, 0.20);
  --phase-accent-tint-3: rgba(72, 94, 138, 0.32);
}

/* ---- Kill watermark numbers behind slides ------------------- */
.lp-watermark { display: none !important; }

/* ---- Eyebrow with accent swatch ----------------------------- */
.lp-phase-eyebrow--accented {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lp-phase-eyebrow-swatch {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--phase-accent);
  box-shadow: 0 0 0 3px var(--phase-accent-tint);
  flex-shrink: 0;
}

/* ---- TLDR pills (services-style, accented) ------------------ */
.lp-tldr-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}
.lp-tldr-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 9px;
  background: var(--phase-accent-tint);
  color: var(--ll-text-strong);
  font-family: var(--ll-font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.005em;
  border-radius: 9999px;
  border: 1px solid var(--phase-accent-tint-2);
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.lp-tldr-pill:hover {
  background: var(--phase-accent-tint-2);
  border-color: var(--phase-accent-tint-3);
  transform: translateY(-1px);
}
.lp-tldr-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--phase-accent);
  color: var(--ll-bg-base);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(247, 247, 242, 0.6);
}
.lp-tldr-pill-icon svg {
  width: 13px;
  height: 13px;
  display: block;
}

/* ---- Project Brief artifact card (accented) ----------------- */
.lp-brief-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 360px;
  background: var(--ll-bg-base);
  border: 1px solid var(--ll-border-medium);
  border-radius: 8px;
  box-shadow:
    0 1px 0 0 rgba(25, 24, 24, 0.04),
    0 12px 32px -14px rgba(25, 24, 24, 0.22);
  overflow: hidden;
}
/* colored category strip running across the top edge */
.lp-brief-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--phase-accent) 0%,
    var(--phase-accent-deep) 100%);
  z-index: 1;
}
.lp-brief-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 10px;
  background: var(--phase-accent-tint);
  border-bottom: 1px solid var(--phase-accent-tint-2);
}
.lp-brief-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--phase-accent);
  box-shadow: 0 0 0 3px rgba(247, 247, 242, 0.7);
  flex-shrink: 0;
}
.lp-brief-card-title {
  flex: 1;
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--phase-accent-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp-brief-card-meta {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ll-text-subtle);
  flex-shrink: 0;
}
.lp-brief-card-body {
  padding: 18px 18px 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lp-brief-section {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.lp-brief-section-key {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--phase-accent-deep);
  margin-bottom: 2px;
}
.lp-brief-section-key::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--phase-accent);
}
.lp-brief-line {
  display: block;
  height: 6px;
  background: var(--ll-border-medium);
  border-radius: 2px;
  opacity: 0.65;
}
/* the FIRST line under each section gets a faint accent tint —
   subtle enough to read as "highlighted heading text" rather than
   a colored bar */
.lp-brief-section .lp-brief-line:first-of-type {
  background: var(--phase-accent-tint-3);
  opacity: 0.85;
}
.lp-brief-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 1px dashed var(--ll-border-subtle);
  margin-top: 8px;
}
.lp-brief-card-foot-label {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ll-text-subtle);
}
.lp-brief-card-foot-stamp {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--phase-accent);
  padding: 3px 8px;
  border: 1.5px solid var(--phase-accent);
  border-radius: 3px;
  background: var(--phase-accent-tint);
  transform: rotate(-3deg);
}

/* ---- Architecture Decision Log card ------------------------- */
.lp-arch-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 320px;
  background: var(--ll-bg-base);
  border: 1px solid var(--ll-border-subtle);
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--ll-font-mono-blueprint);
  box-shadow: 0 2px 12px -4px rgba(0,0,0,0.08);
}
#architecture .lp-arch-card {
  max-width: 100%;
  box-shadow: 0 0 0 1px var(--ll-border-subtle), 0 8px 32px rgba(0,0,0,0.08);
}
.lp-arch-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--phase-accent), var(--phase-accent-deep));
}
.lp-arch-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 10px;
  border-bottom: none;
}
.lp-arch-card-subhead {
  font-family: var(--ll-font-mono-blueprint);
  font-size: 10px;
  color: var(--ll-text-muted);
  padding: 0 16px 8px;
  border-bottom: 1px solid var(--ll-border-subtle);
}
.lp-arch-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--phase-accent);
  flex-shrink: 0;
}
.lp-arch-card-title {
  flex: 1;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--phase-accent);
}
.lp-arch-card-meta {
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ll-text-muted);
}
.lp-arch-card-body {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lp-arch-card-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--ll-border-subtle);
}
.lp-arch-card-row:last-child {
  border-bottom: none;
}
.lp-arch-card-status {
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  min-width: 62px;
  text-align: center;
}
.lp-arch-card-row--accepted .lp-arch-card-status {
  color: #16a34a;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.lp-arch-card-row--review .lp-arch-card-status {
  color: #d97706;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.lp-arch-card-row--pending .lp-arch-card-status {
  color: var(--ll-text-muted);
  background: var(--ll-bg-lift);
  border: 1px solid var(--ll-border-subtle);
}
.lp-arch-card-decision {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: -0.005em;
  color: var(--ll-text-strong);
  font-family: var(--ll-font-body);
}
.lp-arch-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid var(--ll-border-subtle);
}
.lp-arch-card-foot-label {
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ll-text-muted);
}
.lp-arch-card-foot-stamp {
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #4f46e5;
  padding: 3px 8px;
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 4px;
  background: rgba(99, 102, 241, 0.1);
  transform: rotate(-2deg);
}

/* ---- Discovery phase layout overrides ----------------------- */
#discovery .lp-phase-grid {
  gap: 48px;
  align-items: start;
}
#discovery .lp-brief-card {
  max-width: 100%;
  box-shadow: 0 0 0 1px var(--ll-border-subtle), 0 8px 32px rgba(0,0,0,0.08);
}
.lp-phase-visual--disc {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 8px;
}
.lp-disc-annotation {
  display: block;
  margin-bottom: 12px;
}
#discovery .lp-doc-section {
  margin-bottom: 24px;
}

/* Discovery doc-header (no icon variant) */
.lp-doc-header--disc {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 14px;
}

/* Discovery grid cell refinements */
#discovery .lp-doc-grid {
  gap: 12px;
}
.lp-doc-box--disc {
  position: relative;
  padding: 16px 20px;
}
.lp-doc-box--disc .lp-doc-box-label {
  color: var(--ll-text-strong);
}
.lp-doc-box--disc:hover {
  background: var(--phase-accent-tint);
  border-color: rgba(178, 94, 31, 0.30);
}
.lp-doc-box-scope-icon {
  display: inline-block;
  width: 10px;
  height: 10px;
  vertical-align: -1px;
  color: var(--ll-text-muted);
}

/* Brief card subhead (mirrors arch-card-subhead) */
.lp-brief-card-subhead {
  font-family: var(--ll-font-mono-blueprint);
  font-size: 10px;
  color: var(--ll-text-muted);
  padding: 0 14px 8px;
  border-bottom: 1px solid var(--ll-border-subtle);
}
#discovery .lp-brief-card-head {
  border-bottom: none;
}

/* REVIEW stamp — amber to distinguish from DRAFT indigo */
.lp-brief-card-foot-stamp {
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.1);
}

/* Brief-line drawing animation */
.lp-brief-line--animate {
  width: 0% !important;
  transition: width 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-brief-card.is-revealed .lp-brief-line--animate {
  width: var(--lp-brief-target-w, 72%) !important;
}
@media (prefers-reduced-motion: reduce) {
  .lp-brief-line--animate {
    transition: none;
  }
}

/* ---- Architecture phase layout overrides --------------------- */
#architecture .lp-phase-grid {
  gap: 48px;
  align-items: start;
}
.lp-phase-visual--arch {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 8px;
}
.lp-arch-annotation {
  display: block;
  margin-bottom: 12px;
}
#architecture .lp-doc-section {
  margin-bottom: 24px;
}

/* ---- System Architecture diagram card ----------------------- */
.lp-sysdiag {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--ll-bg-base);
  border: 1px solid var(--ll-border-subtle);
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--ll-font-mono-blueprint);
  box-shadow: 0 0 0 1px var(--ll-border-subtle), 0 8px 32px rgba(0,0,0,0.08);
}
.lp-sysdiag::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--phase-accent), var(--phase-accent-deep));
}
.lp-sysdiag-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px 10px;
}
.lp-sysdiag-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--phase-accent); flex-shrink: 0;
}
.lp-sysdiag-title {
  flex: 1; font-weight: 600; font-size: 10px;
  letter-spacing: 0.08em; color: var(--phase-accent);
}
.lp-sysdiag-meta {
  font-weight: 500; font-size: 10px;
  letter-spacing: 0.04em; color: var(--ll-text-muted);
}
.lp-sysdiag-subhead {
  font-size: 10px; color: var(--ll-text-muted);
  padding: 0 16px 10px;
  border-bottom: 1px solid var(--ll-border-subtle);
}
.lp-sysdiag-canvas {
  position: relative;
  padding: 16px;
  min-height: 200px;
  background: var(--ll-bg-lift);
  border-bottom: 1px solid var(--ll-border-subtle);
}
.lp-sysdiag-svg {
  width: 100%;
  height: auto;
  display: block;
}
.lp-sysdiag-line {
  stroke: var(--ll-border-medium);
  stroke-width: 1.2;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 700ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(400ms + var(--ln-i, 0) * 100ms);
}
.lp-sysdiag.is-revealed .lp-sysdiag-line {
  stroke-dashoffset: 0;
}
.lp-sysdiag-node {
  position: absolute;
  display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  opacity: 0; transform: scale(0.8);
  transition: opacity 350ms ease, transform 350ms ease;
  transition-delay: calc(200ms + var(--nd-i, 0) * 120ms);
}
.lp-sysdiag.is-revealed .lp-sysdiag-node {
  opacity: 1; transform: scale(1);
}
.lp-sysdiag-node[style*="translateX"] {
  /* preserve the translateX from inline styles */
}
.lp-sysdiag.is-revealed .lp-sysdiag-node[style*="translateX(-50%)"] {
  transform: translateX(-50%) scale(1);
}
.lp-sysdiag-node-icon {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--ll-bg-base);
  border: 1.5px solid var(--phase-accent-tint-2);
  color: var(--phase-accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.lp-sysdiag-node-icon svg {
  width: 14px; height: 14px;
}
.lp-sysdiag-node-label {
  font-size: 8px; font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ll-text-muted);
}
.lp-sysdiag-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
}
.lp-sysdiag-foot-label {
  font-weight: 500; font-size: 10px;
  letter-spacing: 0.04em; color: var(--ll-text-muted);
}
.lp-sysdiag-foot-stamp {
  font-weight: 700; font-size: 9px; letter-spacing: 0.18em;
  color: #4f46e5; padding: 3px 8px;
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 4px; background: rgba(99, 102, 241, 0.1);
  transform: rotate(-2deg);
}
@media (prefers-reduced-motion: reduce) {
  .lp-sysdiag-line { transition: none; stroke-dashoffset: 0; }
  .lp-sysdiag-node { transition: none; opacity: 1; transform: none; }
  .lp-sysdiag.is-revealed .lp-sysdiag-node[style*="translateX(-50%)"] {
    transform: translateX(-50%);
  }
}

/* ---- Architecture doc-header (no icon variant) -------------- */
.lp-doc-header--arch {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 14px;
}

/* ---- Architecture grid cell refinements --------------------- */
#architecture .lp-doc-grid {
  gap: 12px;
}
.lp-doc-box--arch {
  position: relative;
  padding: 16px 20px;
}
.lp-doc-box--arch .lp-doc-box-label {
  color: var(--ll-text-strong);
}
.lp-doc-box--arch:hover {
  background: var(--phase-accent-tint);
  border-color: rgba(37, 99, 235, 0.30);
}
.lp-doc-box-detail {
  font-family: var(--ll-font-mono-blueprint);
  font-size: 10px;
  color: var(--ll-text-muted);
  margin-top: 8px;
  display: block;
}
.lp-doc-box-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lp-doc-box-icons img {
  width: 12px;
  height: 12px;
  display: inline-block;
  opacity: 0.7;
}
.lp-doc-code-pill {
  font-family: var(--ll-font-mono-blueprint);
  font-size: 10px;
  background: var(--ll-bg-lift);
  border-radius: 3px;
  padding: 1px 4px;
}
.lp-doc-box-diagram {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--ll-text-muted);
  opacity: 0.5;
}

/* ---- Typing cursor animation -------------------------------- */
.typing-cursor {
  display: inline-block;
  width: 1px;
  height: 1em;
  background: currentColor;
  margin-left: 1px;
  animation: lpTypeBlink 530ms step-end infinite;
}
@keyframes lpTypeBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .typing-cursor { display: none; }
}

/* ---- Shared phase overrides (03–07) ------------------------- */
.lp-doc-header--phase {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 14px;
}
.lp-doc-box--phase {
  position: relative;
  padding: 16px 20px;
}
.lp-doc-box--phase .lp-doc-box-label {
  color: var(--ll-text-strong);
}
.lp-doc-box--phase:hover {
  background: var(--phase-accent-tint);
  border-color: var(--phase-accent-tint-3);
}
#design .lp-doc-grid,
#build .lp-doc-grid,
#qa .lp-doc-grid,
#launch .lp-doc-grid,
#support .lp-doc-grid {
  gap: 12px;
}
#design .lp-doc-section,
#build .lp-doc-section,
#qa .lp-doc-section,
#launch .lp-doc-section,
#support .lp-doc-section {
  margin-bottom: 24px;
}

/* ---- Design phase layout ------------------------------------ */
#design .lp-phase-grid {
  gap: 48px;
  align-items: start;
}
.lp-phase-visual--design {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 80px 8px 0;
}
.lp-design-annotation {
  display: block;
  margin-bottom: 12px;
}

/* ---- Figma Workspace card (Design phase artifact) ----------- */
.lp-figma-card {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--ll-bg-base);
  border: 1px solid var(--ll-border-subtle);
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--ll-font-mono-blueprint);
  box-shadow: 0 0 0 1px var(--ll-border-subtle), 0 8px 32px rgba(0,0,0,0.08);
}
.lp-figma-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--phase-accent), var(--phase-accent-deep));
}
.lp-figma-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 10px;
}
.lp-figma-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--phase-accent);
  flex-shrink: 0;
}
.lp-figma-title {
  flex: 1;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--phase-accent);
}
.lp-figma-meta {
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ll-text-muted);
}
.lp-figma-subhead {
  font-size: 10px;
  color: var(--ll-text-muted);
  padding: 0 16px 10px;
  border-bottom: 1px solid var(--ll-border-subtle);
}

/* Canvas: 3 mini artboard frames */
.lp-figma-canvas {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  background: var(--ll-bg-lift);
  border-bottom: 1px solid var(--ll-border-subtle);
}
.lp-figma-frame {
  flex: 1;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 350ms ease, transform 350ms ease;
  transition-delay: calc(300ms + var(--frame-i, 0) * 200ms);
}
.lp-figma-card.is-revealed .lp-figma-frame {
  opacity: 1;
  transform: translateY(0);
}
.lp-figma-frame-label {
  display: block;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ll-text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.lp-figma-screen {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 5px;
  background: var(--ll-bg-base);
  border: 1px solid var(--ll-border-subtle);
  border-radius: 4px;
  min-height: 64px;
}

/* Artboard elements: wireframe → filled on reveal */
.lp-figma-el {
  display: block;
  border-radius: 2px;
  border: 1px solid var(--ll-border-subtle);
  background: transparent;
  transition: background 400ms ease, border-color 400ms ease;
  transition-delay: calc(600ms + var(--frame-i, 0) * 150ms + var(--el-i, 0) * 120ms);
}
.lp-figma-card.is-revealed .lp-figma-el {
  background: var(--phase-accent-tint);
  border-color: var(--phase-accent-tint-2);
}
.lp-figma-el--nav {
  height: 5px;
}
.lp-figma-card.is-revealed .lp-figma-el--nav {
  background: var(--phase-accent-tint-2);
  border-color: var(--phase-accent-tint-3);
}
.lp-figma-el--hero {
  height: 16px;
}
.lp-figma-card.is-revealed .lp-figma-el--hero {
  background: var(--phase-accent-tint-2);
}
.lp-figma-el--text {
  height: 4px;
  width: 85%;
}
.lp-figma-el--short {
  width: 60%;
}
.lp-figma-el--cta {
  height: 6px;
  width: 40%;
  border-radius: 9999px;
}
.lp-figma-card.is-revealed .lp-figma-el--cta {
  background: var(--phase-accent);
  border-color: var(--phase-accent);
}
.lp-figma-el--spacer {
  height: 6px;
  border: none;
  background: transparent !important;
}
.lp-figma-el--input {
  height: 6px;
  border-radius: 3px;
}
.lp-figma-el--sidebar {
  height: 36px;
  width: 30%;
  float: left;
  margin-right: 3px;
}
.lp-figma-el--card {
  height: 9px;
  margin-left: calc(30% + 3px);
  border-radius: 3px;
}

/* Design token strip */
.lp-figma-tokens {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--ll-border-subtle);
}
.lp-figma-token-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  border-right: 1px solid var(--ll-border-subtle);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 350ms ease, transform 350ms ease;
  transition-delay: calc(1100ms + var(--tok-i, 0) * 180ms);
}
.lp-figma-token-group:last-child {
  border-right: none;
}
.lp-figma-card.is-revealed .lp-figma-token-group {
  opacity: 1;
  transform: translateY(0);
}
.lp-figma-token-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ll-text-muted);
}
.lp-figma-token-swatches {
  display: flex;
  gap: 3px;
}
.lp-figma-swatch {
  width: 14px; height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.06);
}
.lp-figma-token-type {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.lp-figma-type-sample {
  font-family: var(--ll-font-body);
  color: var(--ll-text-strong);
  line-height: 1;
}
.lp-figma-type-sample--lg { font-size: 16px; font-weight: 700; }
.lp-figma-type-sample--md { font-size: 12px; font-weight: 500; }
.lp-figma-type-sample--sm { font-size: 9px; font-weight: 400; color: var(--ll-text-muted); }
.lp-figma-token-radii {
  display: flex;
  align-items: center;
  gap: 5px;
}
.lp-figma-radius {
  width: 14px; height: 14px;
  border: 1.5px solid var(--phase-accent);
  background: var(--phase-accent-tint);
}

/* Footer */
.lp-figma-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}
.lp-figma-foot-label {
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ll-text-muted);
}
.lp-figma-foot-stamp {
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #d97706;
  padding: 3px 8px;
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.1);
  transform: rotate(-2deg);
}

/* Reduced motion: skip all staggered animations */
@media (prefers-reduced-motion: reduce) {
  .lp-figma-frame,
  .lp-figma-el,
  .lp-figma-token-group {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .lp-figma-card.is-revealed .lp-figma-el {
    transition: none;
  }
}

/* ---- QA phase annotation ------------------------------------ */
.lp-qa-annotation {
  display: block;
  margin-bottom: 12px;
}
#qa .lp-phase-grid {
  gap: 48px;
  align-items: start;
}

/* ---- Build phase: Sprint Tracker card ----------------------- */
#build .lp-phase-grid {
  gap: 48px;
  align-items: start;
}
.lp-phase-visual--build {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 8px;
}
.lp-build-annotation { display: block; margin-bottom: 12px; }
.lp-build-card {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--ll-bg-base);
  border: 1px solid var(--ll-border-subtle);
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--ll-font-mono-blueprint);
  box-shadow: 0 0 0 1px var(--ll-border-subtle), 0 8px 32px rgba(0,0,0,0.08);
}
.lp-build-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--phase-accent), var(--phase-accent-deep));
}
.lp-build-card-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px 10px;
}
.lp-build-card-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--phase-accent); flex-shrink: 0;
}
.lp-build-card-title {
  flex: 1; font-weight: 600; font-size: 10px;
  letter-spacing: 0.08em; color: var(--phase-accent);
}
.lp-build-card-meta {
  font-weight: 500; font-size: 10px;
  letter-spacing: 0.04em; color: var(--ll-text-muted);
}
.lp-build-card-subhead {
  font-family: var(--ll-font-mono-blueprint);
  font-size: 10px; color: var(--ll-text-muted);
  padding: 0 16px 8px;
  border-bottom: 1px solid var(--ll-border-subtle);
}
/* Kanban sprint board */
.lp-kanban {
  display: flex; gap: 8px;
  padding: 12px;
  background: var(--ll-bg-lift);
}
.lp-kanban-col {
  flex: 1;
  display: flex; flex-direction: column; gap: 5px;
}
.lp-kanban-col-head {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 6px;
  border-radius: 3px;
  margin-bottom: 2px;
  display: flex; align-items: center; gap: 4px;
}
.lp-kanban-col-head--done {
  color: #16a34a;
  background: rgba(34, 197, 94, 0.08);
}
.lp-kanban-col-head--active {
  color: var(--phase-accent);
  background: var(--phase-accent-tint);
}
.lp-kanban-col-head--backlog {
  color: var(--ll-text-muted);
  background: var(--ll-bg-base);
}
.lp-kanban-count {
  font-size: 8px; font-weight: 700;
  opacity: 0.6;
}
.lp-kanban-task {
  font-family: var(--ll-font-body);
  font-size: 11px; font-weight: 500;
  color: var(--ll-text-strong);
  padding: 6px 8px;
  background: var(--ll-bg-base);
  border: 1px solid var(--ll-border-subtle);
  border-radius: 4px;
  opacity: 0; transform: translateY(4px);
  transition: opacity 300ms ease, transform 300ms ease;
  transition-delay: calc(300ms + var(--task-i, 0) * 60ms);
}
.lp-build-card.is-revealed .lp-kanban-task {
  opacity: 1; transform: translateY(0);
}
.lp-kanban-task--done {
  color: var(--ll-text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--ll-border-subtle);
  border-color: transparent;
  background: transparent;
}
.lp-kanban-task--active {
  border-color: var(--phase-accent-tint-2);
  border-left: 2px solid var(--phase-accent);
}
@media (prefers-reduced-motion: reduce) {
  .lp-kanban-task { transition: none; opacity: 1; transform: none; }
}
.lp-build-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid var(--ll-border-subtle);
}
.lp-build-card-foot-label {
  font-weight: 500; font-size: 10px;
  letter-spacing: 0.04em; color: var(--ll-text-muted);
}
.lp-build-card-foot-stamp {
  font-weight: 700; font-size: 9px; letter-spacing: 0.18em;
  color: #d97706; padding: 3px 8px;
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  border-radius: 4px; background: rgba(245, 158, 11, 0.1);
  transform: rotate(-2deg);
}

/* ---- QA phase: upgraded card chrome ------------------------- */
.lp-phase-visual--qa-v2 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 8px;
}
.lp-qa-card-v2 {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--ll-bg-base);
  border: 1px solid var(--ll-border-subtle);
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--ll-font-mono-blueprint);
  box-shadow: 0 0 0 1px var(--ll-border-subtle), 0 8px 32px rgba(0,0,0,0.08);
}
.lp-qa-card-v2::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--phase-accent), var(--phase-accent-deep));
}
.lp-qa-card-v2-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px 10px;
}
.lp-qa-card-v2-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--phase-accent); flex-shrink: 0;
}
.lp-qa-card-v2-title {
  flex: 1; font-weight: 600; font-size: 10px;
  letter-spacing: 0.08em; color: var(--phase-accent);
}
.lp-qa-card-v2-meta {
  font-weight: 500; font-size: 10px;
  letter-spacing: 0.04em; color: var(--ll-text-muted);
}
.lp-qa-card-v2-subhead {
  font-family: var(--ll-font-mono-blueprint);
  font-size: 10px; color: var(--ll-text-muted);
  padding: 0 16px 8px;
  border-bottom: 1px solid var(--ll-border-subtle);
}
/* Lighthouse-style score gauges */
.lp-qa-gauges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
}
.lp-qa-gauge {
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  position: relative;
  opacity: 0; transform: scale(0.85);
  transition: opacity 400ms ease, transform 400ms ease;
  transition-delay: calc(400ms + var(--gauge-i, 0) * 120ms);
}
.lp-qa-card-v2.is-revealed .lp-qa-gauge {
  opacity: 1; transform: scale(1);
}
.lp-qa-ring {
  width: 44px; height: 44px;
  transform: rotate(-90deg);
}
.lp-qa-ring-bg {
  fill: none;
  stroke: var(--ll-border-subtle);
  stroke-width: 3;
}
.lp-qa-ring-fill {
  fill: none;
  stroke: #16a34a;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 800ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(600ms + var(--gauge-i, 0) * 120ms);
}
.lp-qa-card-v2.is-revealed .lp-qa-ring-fill {
  stroke-dashoffset: 0;
}
.lp-qa-gauge-val {
  position: absolute;
  top: 12px; left: 0; right: 0;
  text-align: center;
  font-family: var(--ll-font-body);
  font-weight: 700; font-size: 12px;
  color: var(--ll-text-strong);
  line-height: 1;
}
.lp-qa-gauge-label {
  font-family: var(--ll-font-mono-blueprint);
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ll-text-muted);
}
@media (prefers-reduced-motion: reduce) {
  .lp-qa-gauge { transition: none; opacity: 1; transform: none; }
  .lp-qa-ring-fill { transition: none; stroke-dashoffset: 0; }
}
.lp-qa-card-v2-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid var(--ll-border-subtle);
}
.lp-qa-card-v2-foot-label {
  font-weight: 500; font-size: 10px;
  letter-spacing: 0.04em; color: var(--ll-text-muted);
}
.lp-qa-card-v2-foot-stamp {
  font-weight: 700; font-size: 9px; letter-spacing: 0.18em;
  color: #16a34a; padding: 3px 8px;
  border: 1.5px solid rgba(34, 197, 94, 0.3);
  border-radius: 4px; background: rgba(34, 197, 94, 0.1);
  transform: rotate(-2deg);
}

/* ---- Launch phase: card wrapper ----------------------------- */
.lp-launch-col--card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.lp-launch-annotation { display: block; margin-bottom: 12px; }
.lp-launch-card {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--ll-bg-base);
  border: 1px solid var(--ll-border-subtle);
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--ll-font-mono-blueprint);
  box-shadow: 0 0 0 1px var(--ll-border-subtle), 0 8px 32px rgba(0,0,0,0.08);
}
.lp-launch-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--phase-accent), var(--phase-accent-deep));
}
.lp-launch-card-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px 10px;
}
.lp-launch-card-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--phase-accent); flex-shrink: 0;
}
.lp-launch-card-title {
  flex: 1; font-weight: 600; font-size: 10px;
  letter-spacing: 0.08em; color: var(--phase-accent);
}
.lp-launch-card-meta {
  font-weight: 500; font-size: 10px;
  letter-spacing: 0.04em; color: var(--ll-text-muted);
}
.lp-launch-card-subhead {
  font-family: var(--ll-font-mono-blueprint);
  font-size: 10px; color: var(--ll-text-muted);
  padding: 0 16px 8px;
  border-bottom: 1px solid var(--ll-border-subtle);
}
/* Countdown hero display */
.lp-countdown-hero {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  padding: 20px 16px;
  background: var(--ll-bg-lift);
  border-bottom: 1px solid var(--ll-border-subtle);
}
.lp-countdown-display {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 700; font-size: 28px;
  letter-spacing: 0.08em;
  color: var(--phase-accent);
  line-height: 1;
}
.lp-countdown-label {
  font-family: var(--ll-font-mono-blueprint);
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ll-text-muted);
  text-transform: uppercase;
}
/* Preflight check rows */
.lp-preflight {
  padding: 12px 16px;
  display: flex; flex-direction: column; gap: 0;
}
.lp-preflight-row {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--ll-border-subtle);
}
.lp-preflight-row:last-child { border-bottom: none; }
.lp-preflight-name {
  font-family: var(--ll-font-body);
  font-weight: 500; font-size: 12px;
  color: var(--ll-text-strong);
  min-width: 72px;
}
.lp-preflight-bar {
  flex: 1; height: 5px;
  background: var(--ll-bg-lift);
  border-radius: 3px; overflow: hidden;
}
.lp-preflight-fill {
  height: 100%; width: 0%;
  background: var(--phase-accent);
  border-radius: 3px;
  transition: width 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-launch-card.is-revealed .lp-preflight-fill {
  width: 100%;
}
.lp-preflight-check {
  font-size: 12px; color: #16a34a;
  opacity: 0;
  transition: opacity 300ms ease;
  transition-delay: calc(800ms + var(--pf-i, 0) * 150ms);
}
.lp-launch-card.is-revealed .lp-preflight-check {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .lp-preflight-fill { transition: none; width: 100%; }
  .lp-preflight-check { transition: none; opacity: 1; }
}
.lp-launch-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid var(--ll-border-subtle);
}
.lp-launch-card-foot-label {
  font-weight: 500; font-size: 10px;
  letter-spacing: 0.04em; color: var(--ll-text-muted);
}
.lp-launch-card-foot-stamp {
  font-weight: 700; font-size: 9px; letter-spacing: 0.18em;
  color: #c94040; padding: 3px 8px;
  border: 1.5px solid rgba(201, 64, 64, 0.3);
  border-radius: 4px; background: rgba(201, 64, 64, 0.1);
  transform: rotate(-2deg);
}

/* ---- Support phase: Dashboard card -------------------------- */
#support .lp-phase-grid {
  gap: 48px;
  align-items: start;
}
.lp-phase-visual--support {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 8px;
}
.lp-support-annotation { display: block; margin-bottom: 12px; }
.lp-support-card {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--ll-bg-base);
  border: 1px solid var(--ll-border-subtle);
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--ll-font-mono-blueprint);
  box-shadow: 0 0 0 1px var(--ll-border-subtle), 0 8px 32px rgba(0,0,0,0.08);
}
.lp-support-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--phase-accent), var(--phase-accent-deep));
}
.lp-support-card-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px 10px;
}
.lp-support-card-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--phase-accent); flex-shrink: 0;
}
.lp-support-card-title {
  flex: 1; font-weight: 600; font-size: 10px;
  letter-spacing: 0.08em; color: var(--phase-accent);
}
.lp-support-card-meta {
  font-weight: 500; font-size: 10px;
  letter-spacing: 0.04em; color: var(--ll-text-muted);
}
.lp-support-card-subhead {
  font-family: var(--ll-font-mono-blueprint);
  font-size: 10px; color: var(--ll-text-muted);
  padding: 0 16px 8px;
  border-bottom: 1px solid var(--ll-border-subtle);
}
/* Uptime bar chart */
.lp-uptime-chart {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  padding: 16px;
  background: var(--ll-bg-lift);
  border-bottom: 1px solid var(--ll-border-subtle);
}
.lp-uptime-chart-label {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ll-text-muted);
  align-self: flex-start;
}
.lp-uptime-bars {
  display: flex; align-items: flex-end;
  gap: 2px; width: 100%; height: 32px;
}
.lp-uptime-bar {
  flex: 1;
  background: #16a34a;
  border-radius: 1px 1px 0 0;
  height: 0;
  transition: height 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-support-card.is-revealed .lp-uptime-bar {
  height: var(--bar-h, 100%);
}
.lp-uptime-pct {
  font-family: var(--ll-font-heading);
  font-weight: 700; font-size: 26px;
  letter-spacing: -0.5px;
  color: var(--ll-text-strong);
  line-height: 1;
}
/* Compact metric rows */
.lp-uptime-metrics {
  padding: 10px 16px;
  display: flex; flex-direction: column; gap: 0;
}
.lp-uptime-metric {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--ll-border-subtle);
}
.lp-uptime-metric:last-child { border-bottom: none; }
.lp-uptime-metric-dot {
  width: 6px; height: 6px;
  border-radius: 50%; flex-shrink: 0;
}
.lp-uptime-metric-dot--green { background: #16a34a; }
.lp-uptime-metric-dot--amber { background: #d97706; }
.lp-uptime-metric-dot--blue { background: #4f46e5; }
.lp-uptime-metric-key {
  flex: 1;
  font-family: var(--ll-font-body);
  font-weight: 500; font-size: 12px;
  color: var(--ll-text-strong);
}
.lp-uptime-metric-val {
  font-family: var(--ll-font-mono-blueprint);
  font-size: 11px; font-weight: 500;
  color: var(--ll-text-muted);
}
@media (prefers-reduced-motion: reduce) {
  .lp-uptime-bar { transition: none; }
}
.lp-support-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid var(--ll-border-subtle);
}
.lp-support-card-foot-label {
  font-weight: 500; font-size: 10px;
  letter-spacing: 0.04em; color: var(--ll-text-muted);
}
.lp-support-card-foot-stamp {
  font-weight: 700; font-size: 9px; letter-spacing: 0.18em;
  color: var(--phase-accent); padding: 3px 8px;
  border: 1.5px solid var(--phase-accent);
  border-radius: 4px; background: var(--phase-accent-tint);
  transform: rotate(-2deg);
}

/* ---- Phase facts card --------------------------------------- */
.lp-phase--accented .lp-phase-meta { display: none; }
.lp-facts-card {
  display: flex;
  align-items: center;
  margin: 0 0 28px;
  padding: 16px 18px;
  background: var(--ll-bg-base);
  border: 1px solid var(--ll-border-subtle);
  border-radius: 10px;
  box-shadow:
    0 1px 0 0 rgba(25, 24, 24, 0.03),
    0 6px 18px -14px rgba(25, 24, 24, 0.18);
  position: relative;
  overflow: hidden;
}
.lp-facts-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--phase-accent);
  border-radius: 2px 0 0 2px;
}
.lp-facts-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.lp-facts-cell:nth-child(3) {
  gap: 14px;
}
.lp-facts-divider {
  width: 1px;
  background: var(--ll-border-subtle);
  margin: 4px 22px;
}
.lp-facts-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  max-width: 38px;
  min-height: 38px;
  max-height: 38px;
  border-radius: 50%;
  background: var(--phase-accent-tint);
  color: var(--phase-accent-deep);
  flex-shrink: 0;
  overflow: hidden;
}
.lp-facts-icon > svg {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  display: block;
  flex-shrink: 0;
}
.lp-facts-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.lp-facts-label {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ll-text-subtle);
}
.lp-facts-value {
  font-family: var(--ll-font-heading);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--ll-text-strong);
}
.lp-facts-meta {
  font-family: var(--ll-font-body);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ll-text-medium);
}

/* avatar cluster */
.lp-facts-people {
  display: inline-flex;
  align-items: center;
  margin-top: 2px;
}
.lp-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  min-width: 30px;
  padding: 0 8px;
  border-radius: 9999px;
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  border: 2px solid var(--ll-bg-base);
  margin-left: -8px;
  flex-shrink: 0;
}
.lp-avatar:first-child { margin-left: 0; }
.lp-avatar--accent {
  background: var(--phase-accent);
  color: var(--ll-bg-base);
}
.lp-avatar--deep {
  background: var(--phase-accent-deep);
  color: var(--ll-bg-base);
}
.lp-avatar--you {
  background: var(--ll-bg-base);
  color: var(--phase-accent-deep);
  border: 2px dashed var(--phase-accent);
  font-family: var(--ll-font-body);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  padding: 0 10px;
}

/* ---- Deliverables grid -------------------------------------- */
.lp-phase--accented .lp-phase-deliverables { display: none; }
.lp-deliverables-section { margin: 0 0 28px; }
.lp-deliverables-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ll-border-subtle);
}
.lp-deliverables-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ll-text-strong);
}
.lp-deliverables-key::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--phase-accent);
}
.lp-deliverables-count {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--phase-accent);
  padding: 2px 8px;
  background: var(--phase-accent-tint);
  border-radius: 4px;
}
.lp-deliverables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.lp-deliverable {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--ll-bg-base);
  border: 1px solid var(--ll-border-subtle);
  border-radius: 8px;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.lp-deliverable:hover {
  border-color: var(--phase-accent-tint-3);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -10px rgba(25, 24, 24, 0.18);
}
.lp-deliverable-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  max-width: 32px;
  min-height: 32px;
  max-height: 32px;
  border-radius: 8px;
  background: var(--phase-accent-tint);
  color: var(--phase-accent-deep);
  flex-shrink: 0;
  overflow: hidden;
}
.lp-deliverable-icon > svg {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  display: block;
  flex-shrink: 0;
}
.lp-deliverable-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.lp-deliverable-title {
  font-family: var(--ll-font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ll-text-strong);
  line-height: 1.2;
}
.lp-deliverable-desc {
  font-family: var(--ll-font-body);
  font-weight: 400;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ll-text-medium);
}

/* ---- Development Document section --------------------------- */
.lp-doc-section {
  margin: 0 0 28px;
}
.lp-doc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ll-border-subtle);
}
.lp-doc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 6px;
  background: var(--phase-accent);
  color: var(--ll-bg-base);
  flex-shrink: 0;
}
.lp-doc-icon > svg {
  width: 14px;
  height: 14px;
  display: block;
}
.lp-doc-title {
  font-family: var(--ll-font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ll-text-strong);
}
.lp-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.lp-doc-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  background: var(--phase-accent-tint);
  border: 1px solid var(--phase-accent-tint-2);
  border-radius: 8px;
  transition: border-color 200ms ease, transform 200ms ease;
}
.lp-doc-box:hover {
  border-color: var(--phase-accent-tint-3);
  transform: translateY(-1px);
}
.lp-doc-box-label {
  font-family: var(--ll-font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--phase-accent-deep);
  letter-spacing: -0.01em;
}
.lp-doc-box-desc {
  font-family: var(--ll-font-body);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ll-text-medium);
}

/* ---- Pilot responsive --------------------------------------- */
@media (max-width: 1100px) {
  .lp-deliverables-grid { grid-template-columns: 1fr; }
  .lp-doc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .lp-brief-card { max-width: 100%; }
  .lp-arch-card { max-width: 100%; }
  .lp-tldr-pill { font-size: 12px; }
  .lp-facts-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .lp-facts-divider {
    width: auto;
    height: 1px;
    margin: 0;
  }
  .lp-facts-cell:nth-child(3) {
    justify-self: stretch;
  }
  .lp-deliverables-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .lp-deliverables-grid { grid-template-columns: 1fr; }
  .lp-doc-grid { grid-template-columns: 1fr; }
  .lp-facts-value { font-size: 20px; }
}

/* ================================================================
   10. ARTIFACT DIFFERENTIATION
   ----------------------------------------------------------------
   Each phase artifact gets its own visual identity so they read
   as distinct diagrams/displays rather than 7 copies of one card.
   ================================================================ */

/* ---- 02 Architecture: System Architecture Diagram ------------ */
.lp-arch-diagram {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--ll-bg-base);
  border: 1px solid var(--ll-border-medium);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.04),
    0 12px 36px -12px rgba(0, 0, 0, 0.16);
}
.lp-arch-diagram-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ll-border-subtle);
}
.lp-arch-diagram-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--phase-accent, #7a5cc4);
  box-shadow: 0 0 0 3px var(--phase-accent-tint, rgba(122, 92, 196, 0.15));
}
.lp-arch-diagram-title {
  flex: 1;
  font-family: var(--ll-font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--ll-text-strong);
  letter-spacing: 0.04em;
}
.lp-arch-diagram-meta {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 600;
  font-size: 11px;
  color: var(--ll-text-subtle);
  background: var(--ll-bg-lift);
  border: 1px solid var(--ll-border-subtle);
  padding: 2px 8px;
  border-radius: 9999px;
}
.lp-arch-diagram-canvas {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px 20px;
  gap: 0;
}

/* Layers */
.lp-arch-layer {
  width: 100%;
  max-width: 280px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms ease, transform 400ms ease;
  transition-delay: calc(200ms + var(--layer-i, 0) * 140ms);
}
.lp-arch-diagram.is-revealed .lp-arch-layer,
.lp-arch-diagram.is-revealed .lp-arch-layer-row {
  opacity: 1;
  transform: translateY(0);
}
.lp-arch-layer-label {
  display: block;
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--ll-text-subtle);
  margin-bottom: 6px;
  text-align: center;
}
.lp-arch-nodes {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.lp-arch-nodes--vertical {
  flex-direction: column;
  gap: 6px;
}

/* Nodes */
.lp-arch-node {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: var(--ll-font-body);
  font-weight: 500;
  font-size: 11.5px;
  color: var(--ll-text-strong);
  border: 1px solid var(--ll-border-subtle);
  background: var(--ll-bg-lift);
  transition: border-color 200ms ease, box-shadow 200ms ease;
  white-space: nowrap;
}
.lp-arch-node svg {
  flex-shrink: 0;
  color: var(--ll-text-medium);
}
.lp-arch-node--client {
  border-color: rgba(96, 165, 250, 0.3);
  background: rgba(96, 165, 250, 0.06);
}
.lp-arch-node--frontend {
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.06);
}
.lp-arch-node--api {
  border-color: rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.06);
}
.lp-arch-node--data {
  border-color: rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.06);
}
.lp-arch-node--integration {
  border-color: rgba(244, 114, 182, 0.3);
  background: rgba(244, 114, 182, 0.06);
  font-size: 10.5px;
  padding: 6px 10px;
}

/* Connectors */
.lp-arch-connector {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ll-text-subtle);
  opacity: 0;
  transition: opacity 400ms ease;
  transition-delay: calc(400ms + var(--conn-i, 0) * 140ms);
  padding: 2px 0;
}
.lp-arch-diagram.is-revealed .lp-arch-connector {
  opacity: 1;
}
.lp-arch-connector-label {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 600;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--ll-text-subtle);
  opacity: 0.7;
}

/* Connector split (for branching to integrations) */
.lp-arch-connector-split {
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  max-width: 280px;
  justify-content: center;
  position: relative;
  opacity: 0;
  transition: opacity 400ms ease;
  transition-delay: calc(400ms + var(--conn-i, 0) * 140ms);
  padding: 2px 0;
}
.lp-arch-diagram.is-revealed .lp-arch-connector-split {
  opacity: 1;
}
.lp-arch-connector-main {
  color: var(--ll-text-subtle);
}
.lp-arch-branch {
  position: absolute;
  right: 0;
  top: 0;
  color: var(--ll-text-subtle);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.lp-arch-branch-label {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 600;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--ll-text-subtle);
  opacity: 0.7;
  margin-top: 2px;
}

/* Bottom row: data + integrations side-by-side */
.lp-arch-layer-row {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms ease, transform 400ms ease;
  transition-delay: calc(200ms + var(--layer-i, 0) * 140ms);
}
.lp-arch-layer-row .lp-arch-layer {
  flex: 1;
  opacity: 1;
  transform: none;
  transition: none;
}
.lp-arch-layer--data,
.lp-arch-layer--integrations {
  max-width: none;
}

/* Footer */
.lp-arch-diagram-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--ll-bg-lift);
  border-top: 1px solid var(--ll-border-subtle);
}
.lp-arch-diagram-foot-label {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ll-text-subtle);
}
.lp-arch-diagram-foot-stamp {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--phase-accent, #7a5cc4);
  background: var(--phase-accent-tint, rgba(122, 92, 196, 0.1));
  border: 1px solid var(--phase-accent-tint-2, rgba(122, 92, 196, 0.2));
  padding: 3px 10px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .lp-arch-layer,
  .lp-arch-layer-row,
  .lp-arch-connector,
  .lp-arch-connector-split {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ---- 03 Design: Figma Workspace ----------------------------- */
.lp-figma-card {
  border-radius: 10px;
  border-color: var(--ll-border-medium);
  box-shadow:
    0 0 0 1px var(--ll-border-subtle),
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 16px 48px -16px rgba(0, 0, 0, 0.18);
}
.lp-figma-card::before {
  display: none;
}
.lp-figma-head {
  background: #2c2c2c;
  padding: 10px 14px 10px;
  border-bottom: none;
}
.lp-figma-dot {
  width: 10px;
  height: 10px;
  background: #ff5f57;
  box-shadow: 16px 0 0 #ffbd2e, 32px 0 0 #28c840;
}
.lp-figma-title {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  margin-left: 28px;
}
.lp-figma-meta {
  color: rgba(255, 255, 255, 0.35);
}
.lp-figma-subhead {
  background: #383838;
  color: rgba(255, 255, 255, 0.4);
  padding: 6px 14px;
  font-size: 9px;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.lp-figma-canvas {
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 12px 12px;
  background-color: #f5f5f0;
  padding: 16px;
  gap: 12px;
  border-bottom-color: var(--ll-border-subtle);
}
.lp-figma-frame-label {
  color: var(--phase-accent);
  font-size: 9px;
  letter-spacing: 0.08em;
}
.lp-figma-screen {
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  min-height: 72px;
  padding: 6px;
}
.lp-figma-tokens {
  background: var(--ll-bg-lift);
}
.lp-figma-foot {
  background: var(--ll-bg-base);
}

/* ---- 04 Build: Open Kanban Board ---------------------------- */
.lp-build-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.lp-build-card::before {
  display: none;
}
.lp-build-card-head {
  padding: 0 0 8px;
  border-bottom: 1px solid var(--ll-border-subtle);
  margin-bottom: 4px;
}
.lp-build-card-dot {
  width: 6px;
  height: 6px;
}
.lp-build-card-title {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ll-text-subtle);
}
.lp-build-card-meta {
  color: var(--phase-accent);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.lp-build-card-subhead {
  padding: 6px 0 10px;
  border-bottom: none;
}
.lp-kanban {
  background: transparent;
  padding: 0;
  gap: 10px;
}
.lp-kanban-col {
  background: var(--ll-bg-lift);
  border: 1px solid var(--ll-border-subtle);
  border-radius: 8px;
  padding: 8px;
  gap: 6px;
}
.lp-kanban-col-head {
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 8px;
  letter-spacing: 0.12em;
}
.lp-kanban-task {
  font-size: 10px;
  padding: 5px 7px;
  border-radius: 5px;
}
.lp-kanban-task--done {
  background: var(--ll-bg-lift);
  border-color: transparent;
}
.lp-build-card-foot {
  border-top: none;
  padding: 10px 0 0;
  justify-content: flex-end;
  gap: 12px;
}
.lp-build-card-foot-label {
  color: var(--ll-text-subtle);
  font-size: 9px;
}
.lp-build-card-foot-stamp {
  font-size: 8px;
  padding: 2px 6px;
}

/* ---- 05 QA: Test Runner Terminal ---------------------------- */
.lp-testrun {
  position: relative;
  z-index: 2;
  width: 100%;
  background: #1a1b26;
  border: 1px solid rgba(22, 163, 74, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(22, 163, 74, 0.06),
    0 16px 48px -16px rgba(0, 0, 0, 0.55);
}
.lp-testrun-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #13141d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.lp-testrun-chrome-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.lp-testrun-chrome-title {
  font-family: var(--ll-font-mono-blueprint);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.02em;
  color: rgba(148, 163, 184, 0.45);
  margin-left: 6px;
}
.lp-testrun-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lp-testrun-cmd {
  font-family: var(--ll-font-mono-blueprint);
  font-size: 11px;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.7);
  padding: 2px 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 300ms ease, transform 300ms ease;
  transition-delay: calc(200ms + var(--tr-i, 0) * 80ms);
}
.lp-testrun-prompt {
  color: #22c55e;
  margin-right: 6px;
}
.lp-testrun-blank {
  height: 8px;
  opacity: 0;
  transition: opacity 200ms ease;
  transition-delay: calc(200ms + var(--tr-i, 0) * 80ms);
}
.lp-testrun.is-revealed .lp-testrun-blank {
  opacity: 1;
}
.lp-testrun-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  font-family: var(--ll-font-mono-blueprint);
  font-size: 11px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 300ms ease, transform 300ms ease;
  transition-delay: calc(200ms + var(--tr-i, 0) * 80ms);
}
.lp-testrun.is-revealed .lp-testrun-cmd,
.lp-testrun.is-revealed .lp-testrun-row {
  opacity: 1;
  transform: translateX(0);
}
.lp-testrun-pass {
  display: inline-block;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #15803d;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 3px;
  padding: 2px 6px;
  min-width: 36px;
  text-align: center;
}
.lp-testrun-suite {
  flex: 1;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.8);
  letter-spacing: -0.005em;
}
.lp-testrun-score {
  font-weight: 400;
  font-size: 10px;
  color: rgba(148, 163, 184, 0.5);
  min-width: 52px;
  text-align: right;
}
.lp-testrun-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  font-family: var(--ll-font-mono-blueprint);
  font-size: 11px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 300ms ease, transform 300ms ease;
  transition-delay: calc(200ms + var(--tr-i, 0) * 80ms);
}
.lp-testrun.is-revealed .lp-testrun-summary {
  opacity: 1;
  transform: translateX(0);
}
.lp-testrun-summary-label {
  font-weight: 600;
  color: rgba(226, 232, 240, 0.65);
  min-width: 52px;
}
.lp-testrun-summary-val {
  font-weight: 400;
  color: rgba(148, 163, 184, 0.5);
}
.lp-testrun-green {
  color: #22c55e;
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .lp-testrun-cmd,
  .lp-testrun-row,
  .lp-testrun-summary,
  .lp-testrun-blank {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ---- 06 Launch: Deploy Pipeline ----------------------------- */
.lp-pipeline {
  position: relative;
  z-index: 2;
  width: 100%;
  background: #0a0e14;
  border: 1px solid rgba(201, 64, 64, 0.12);
  border-radius: 8px;
  overflow: hidden;
  font-family: var(--ll-font-mono-blueprint);
  box-shadow:
    0 0 0 1px rgba(201, 64, 64, 0.06),
    0 16px 48px -16px rgba(0, 0, 0, 0.55);
}
.lp-pipeline-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 10px;
  background: rgba(201, 64, 64, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.lp-pipeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
  flex-shrink: 0;
  animation: lpPipelinePulse 2s ease-in-out infinite;
}
@keyframes lpPipelinePulse {
  0%, 100% { box-shadow: 0 0 6px rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 12px rgba(34, 197, 94, 0.8); }
}
.lp-pipeline-title {
  flex: 1;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(226, 232, 240, 0.7);
}
.lp-pipeline-meta {
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(148, 163, 184, 0.4);
}
.lp-pipeline-subhead {
  font-size: 10px;
  color: rgba(148, 163, 184, 0.35);
  padding: 0 16px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.lp-pipeline-stages {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 20px 16px;
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.lp-pipeline-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 350ms ease, transform 350ms ease;
  transition-delay: calc(300ms + var(--stg-i, 0) * 200ms);
}
.lp-pipeline.is-revealed .lp-pipeline-stage {
  opacity: 1;
  transform: translateY(0);
}
.lp-pipeline-stage-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-pipeline-stage--pass {
  background: rgba(34, 197, 94, 0.12);
  border: 1.5px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}
.lp-pipeline-stage--active {
  background: rgba(245, 158, 11, 0.1);
  border: 1.5px solid rgba(245, 158, 11, 0.3);
}
.lp-pipeline-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(245, 158, 11, 0.2);
  border-top-color: #f59e0b;
  border-radius: 50%;
  animation: lpSpin 800ms linear infinite;
}
@keyframes lpSpin { to { transform: rotate(360deg); } }
.lp-pipeline-stage-name {
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(226, 232, 240, 0.8);
}
.lp-pipeline-stage-time {
  font-weight: 400;
  font-size: 9px;
  color: rgba(148, 163, 184, 0.4);
}

.lp-pipeline-arrow {
  display: flex;
  align-items: center;
  padding-top: 8px;
  height: 32px;
  opacity: 0;
  transition: opacity 300ms ease;
  transition-delay: calc(400ms + var(--ar-i, 0) * 200ms);
}
.lp-pipeline.is-revealed .lp-pipeline-arrow {
  opacity: 1;
}
.lp-pipeline-arrow::after {
  content: "";
  display: block;
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.2), rgba(148, 163, 184, 0.05));
}

.lp-pipeline-log {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lp-pipeline-log-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.025);
  font-family: var(--ll-font-mono-blueprint);
  font-size: 10px;
  font-weight: 400;
  color: rgba(226, 232, 240, 0.6);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 300ms ease, transform 300ms ease;
  transition-delay: calc(900ms + var(--log-i, 0) * 120ms);
}
.lp-pipeline-log-line:last-child {
  border-bottom: none;
}
.lp-pipeline.is-revealed .lp-pipeline-log-line {
  opacity: 1;
  transform: translateX(0);
}
.lp-pipeline-log-ts {
  color: rgba(148, 163, 184, 0.3);
  font-size: 9px;
  min-width: 52px;
  flex-shrink: 0;
}
.lp-pipeline-log-ok {
  color: #22c55e;
  font-size: 10px;
}
.lp-pipeline-log-run {
  color: #f59e0b;
  font-size: 10px;
}

.lp-pipeline-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.lp-pipeline-foot-label {
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.04em;
  color: rgba(148, 163, 184, 0.35);
}
.lp-pipeline-foot-stamp {
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #f59e0b;
  padding: 3px 8px;
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.08);
  transform: rotate(-2deg);
}

@media (prefers-reduced-motion: reduce) {
  .lp-pipeline-dot { animation: none; }
  .lp-pipeline-spinner { animation: none; border-color: #f59e0b; }
  .lp-pipeline-stage,
  .lp-pipeline-arrow,
  .lp-pipeline-log-line {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ---- 07 Support: Monitoring Dashboard ----------------------- */
.lp-support-card {
  background: #0f1218;
  border-color: rgba(72, 94, 138, 0.15);
  border-radius: 10px;
  box-shadow:
    0 0 0 1px rgba(72, 94, 138, 0.08),
    0 16px 48px -16px rgba(0, 0, 0, 0.5);
}
.lp-support-card::before {
  background: linear-gradient(90deg, #485e8a, #6b7fb0, #485e8a);
  height: 2px;
}
.lp-support-card-head {
  border-bottom: 1px solid rgba(72, 94, 138, 0.1);
}
.lp-support-card-dot {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}
.lp-support-card-title {
  color: rgba(148, 163, 184, 0.7);
}
.lp-support-card-meta {
  color: #22c55e;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.lp-support-card-subhead {
  color: rgba(148, 163, 184, 0.4);
  border-bottom-color: rgba(72, 94, 138, 0.1);
}
.lp-uptime-chart {
  background: #0a0d14;
  border-bottom-color: rgba(72, 94, 138, 0.1);
  padding: 20px 16px;
}
.lp-uptime-chart-label {
  color: rgba(148, 163, 184, 0.4);
}
.lp-uptime-bars {
  height: 40px;
  gap: 3px;
}
.lp-uptime-bar {
  background: #16a34a;
  border-radius: 2px 2px 0 0;
  box-shadow: 0 0 4px rgba(34, 197, 94, 0.15);
}
.lp-uptime-pct {
  font-size: 36px;
  color: #f1f5f9;
  letter-spacing: -1px;
}
.lp-uptime-metrics {
  padding: 10px 16px;
}
.lp-uptime-metric {
  border-bottom-color: rgba(255, 255, 255, 0.04);
}
.lp-uptime-metric-key {
  color: rgba(226, 232, 240, 0.75);
}
.lp-uptime-metric-val {
  color: rgba(148, 163, 184, 0.6);
}
.lp-uptime-metric-dot--green {
  box-shadow: 0 0 4px rgba(34, 197, 94, 0.4);
}
.lp-uptime-metric-dot--amber {
  box-shadow: 0 0 4px rgba(217, 119, 6, 0.4);
}
.lp-uptime-metric-dot--blue {
  box-shadow: 0 0 4px rgba(79, 70, 229, 0.4);
}
.lp-support-card-foot {
  border-top-color: rgba(72, 94, 138, 0.1);
}
.lp-support-card-foot-label {
  color: rgba(148, 163, 184, 0.4);
}
.lp-support-card-foot-stamp {
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.08);
}

/* ================================================================
   11. MOBILE — ARTIFACT REVEAL + GENERAL POLISH
   ----------------------------------------------------------------
   On mobile (≤900px), artifacts are collapsed by default. As each
   phase scrolls into view, JS adds .lp-visual-active to the
   article, which expands and fades in the artifact.

   General mobile polish: tighter spacing, single-column grids,
   readable text, proper sizing for dark cards, touch-friendly
   targets.
   ================================================================ */

@media (max-width: 900px) {

  /* ---- Artifact collapse/reveal ---- */
  .lp-phase-visual,
  .lp-phase-visual--disc,
  .lp-phase-visual--arch,
  .lp-phase-visual--design,
  .lp-phase-visual--build,
  .lp-phase-visual--qa-v2,
  .lp-phase-visual--support,
  .lp-launch-col--card {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      max-height 700ms cubic-bezier(0.16, 1, 0.3, 1),
      opacity 500ms ease 100ms;
  }
  .lp-phase.lp-visual-active .lp-phase-visual,
  .lp-phase.lp-visual-active .lp-phase-visual--disc,
  .lp-phase.lp-visual-active .lp-phase-visual--arch,
  .lp-phase.lp-visual-active .lp-phase-visual--design,
  .lp-phase.lp-visual-active .lp-phase-visual--build,
  .lp-phase.lp-visual-active .lp-phase-visual--qa-v2,
  .lp-phase.lp-visual-active .lp-phase-visual--support,
  .lp-phase.lp-visual-active .lp-launch-col--card {
    max-height: 700px;
    opacity: 1;
    overflow: visible;
  }

  /* ---- Phase section spacing ---- */
  .lp-rail-slide {
    padding: 56px 0 !important;
    border-bottom: 1px solid var(--ll-border-subtle);
  }
  .lp-rail-slide:last-child {
    border-bottom: none;
  }

  /* ---- Phase grid → single column, content first ---- */
  .lp-phase-grid,
  .lp-phase-build-grid,
  .lp-phase[data-layout="right-bias"] .lp-phase-grid,
  .lp-phase[data-layout="centered-checklist"] .lp-phase-grid,
  .lp-phase[data-layout="two-col-timeline"] .lp-phase-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .lp-phase-content { order: 1; }
  .lp-phase-visual { order: 2; }
  .lp-launch-col--card { order: 2; }

  /* ---- Phase content ---- */
  .lp-phase-content {
    max-width: 100%;
  }
  .lp-phase-name {
    font-size: clamp(28px, 8vw, 40px);
    letter-spacing: -1.2px;
    margin-bottom: 10px;
  }
  .lp-phase-tagline {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  /* ---- Doc grid → 2 columns on tablet-ish, 1 on small ---- */
  .lp-doc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .lp-doc-box {
    padding: 12px;
  }
  .lp-doc-box-label {
    font-size: 12px;
  }
  .lp-doc-box-desc {
    font-size: 11px;
    line-height: 1.35;
  }

  /* ---- Tools row ---- */
  .lp-tools-row {
    gap: 6px;
  }
  .lp-tool-pill {
    font-size: 11px;
    padding: 5px 10px;
  }
  .lp-tool-icon {
    width: 12px;
    height: 12px;
  }

  /* ---- Blueprint labels ---- */
  .lp-blueprint-label {
    font-size: 10px;
  }

  /* ---- Artifact card overrides for mobile ---- */
  .lp-phase-visual--disc,
  .lp-phase-visual--arch,
  .lp-phase-visual--build,
  .lp-phase-visual--qa-v2,
  .lp-phase-visual--support {
    padding: 0 !important;
  }
  .lp-phase-visual--design {
    padding: 0 !important;
  }

  /* Annotation labels above artifacts */
  .lp-disc-annotation,
  .lp-arch-annotation,
  .lp-design-annotation,
  .lp-build-annotation,
  .lp-qa-annotation,
  .lp-launch-annotation,
  .lp-support-annotation {
    font-size: 9px;
    margin-bottom: 8px;
    padding-top: 8px;
  }

  /* ---- Brief card (Discovery) ---- */
  .lp-brief-card {
    max-width: 100%;
    border-radius: 6px;
  }

  /* ---- Architecture diagram (mobile) ---- */
  .lp-arch-diagram {
    border-radius: 8px;
  }
  .lp-arch-diagram-head {
    padding: 12px 14px;
  }
  .lp-arch-diagram-canvas {
    padding: 16px 12px 14px;
  }
  .lp-arch-layer {
    max-width: 240px;
  }
  .lp-arch-node {
    font-size: 10px;
    padding: 6px 8px;
    gap: 4px;
  }
  .lp-arch-node svg {
    width: 12px;
    height: 12px;
  }
  .lp-arch-node--integration {
    font-size: 9.5px;
    padding: 5px 8px;
  }
  .lp-arch-layer-row {
    max-width: 260px;
    gap: 8px;
  }
  .lp-arch-diagram-foot {
    padding: 10px 14px;
  }

  /* ---- Figma card (Design) ---- */
  .lp-figma-card {
    border-radius: 8px;
  }
  .lp-figma-canvas {
    padding: 10px;
    gap: 8px;
  }
  .lp-figma-screen {
    min-height: 56px;
    padding: 4px;
  }
  .lp-figma-tokens {
    flex-wrap: wrap;
  }
  .lp-figma-token-group {
    flex: 1 1 30%;
    padding: 8px 6px;
  }

  /* ---- Kanban (Build) ---- */
  .lp-kanban {
    gap: 6px;
  }
  .lp-kanban-col {
    padding: 6px;
    border-radius: 6px;
  }
  .lp-kanban-col-head {
    font-size: 7px;
    padding: 4px 6px;
  }
  .lp-kanban-task {
    font-size: 9px;
    padding: 4px 6px;
    border-radius: 4px;
  }

  /* ---- Test runner (QA) ---- */
  .lp-testrun {
    border-radius: 8px;
  }
  .lp-testrun-body {
    padding: 10px 12px 12px;
  }
  .lp-testrun-cmd,
  .lp-testrun-row,
  .lp-testrun-summary {
    font-size: 10px;
  }
  .lp-testrun-pass {
    font-size: 8px;
    padding: 1px 4px;
    min-width: 30px;
  }
  .lp-testrun-score {
    font-size: 9px;
    min-width: 44px;
  }

  /* ---- Deploy pipeline (Launch) ---- */
  .lp-launch-col--card {
    padding-top: 0;
  }
  .lp-pipeline {
    border-radius: 6px;
  }
  .lp-pipeline-stages {
    padding: 14px 12px;
    gap: 0;
  }
  .lp-pipeline-stage-icon {
    width: 26px;
    height: 26px;
  }
  .lp-pipeline-stage-icon svg {
    width: 10px;
    height: 10px;
  }
  .lp-pipeline-stage-name {
    font-size: 9px;
  }
  .lp-pipeline-stage-time {
    font-size: 8px;
  }
  .lp-pipeline-log-line {
    font-size: 9px;
    gap: 6px;
  }
  .lp-pipeline-log-ts {
    min-width: 44px;
    font-size: 8px;
  }

  /* ---- Support card ---- */
  .lp-support-card {
    border-radius: 6px;
  }
  .lp-uptime-bars {
    height: 28px;
    gap: 2px;
  }
  .lp-uptime-pct {
    font-size: 28px;
  }
  .lp-uptime-metric-key {
    font-size: 11px;
  }

  /* ---- Launch phase grid fix (card+content both full width) ---- */
  .lp-phase[data-layout="two-col-timeline"] .lp-phase-grid {
    grid-template-columns: 1fr;
  }
  .lp-launch-col {
    padding-top: 0;
  }

  /* ---- Hero ---- */
  .lp-hero {
    padding: 80px 0 64px;
  }
  .lp-hero-headline {
    font-size: clamp(32px, 10vw, 44px);
    letter-spacing: -1.5px;
  }
  .lp-hero-sub {
    font-size: 15px;
    line-height: 1.65;
    margin-top: 20px;
  }
  .lp-scroll-cue {
    margin-top: 48px;
  }

  /* ---- Closing summary ---- */
  .lp-closing {
    padding: 64px 0;
  }
  .lp-closing-headline {
    font-size: clamp(28px, 7vw, 40px);
    letter-spacing: -1px;
    margin-bottom: 20px;
  }
  .lp-closing-body {
    font-size: 15px;
    margin-bottom: 40px;
  }
  .lp-summary-bar {
    flex-direction: column;
    border-radius: 8px;
  }
  .lp-summary-segment {
    flex: none;
    border-right: none;
    border-bottom: 1px solid var(--ll-border-subtle);
    padding: 14px 16px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    text-align: left;
  }
  .lp-summary-segment:last-child {
    border-bottom: none;
  }
  .lp-summary-segment--accent {
    border-radius: 0;
  }
  .lp-summary-num {
    min-width: 20px;
  }
  .lp-summary-name {
    flex: 1;
  }

  /* ---- Disclaimer ---- */
  .lp-disclaimer {
    padding: 48px 0 16px;
  }
  .lp-disclaimer-card {
    padding: 20px;
  }
  .lp-disclaimer-body {
    font-size: 14px;
  }
}

@media (max-width: 480px) {

  /* ---- Even smaller screens ---- */
  .lp-container {
    padding: 0 16px;
  }
  .lp-rail-slide {
    padding: 40px 0 !important;
  }
  .lp-doc-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .lp-phase-name {
    font-size: clamp(26px, 8vw, 32px);
  }
  .lp-hero-headline {
    font-size: clamp(28px, 10vw, 36px);
  }

  /* Test runner: tighten on very small screens */
  .lp-testrun-row {
    gap: 6px;
  }
  .lp-testrun-suite {
    font-size: 10px;
  }

  /* Kanban scrolls horizontally on tiny screens */
  .lp-kanban {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
  .lp-kanban::-webkit-scrollbar {
    display: none;
  }
  .lp-kanban-col {
    min-width: 120px;
    flex-shrink: 0;
  }

  /* Summary bar compact */
  .lp-summary-segment {
    padding: 10px 14px;
  }

  /* Figma canvas scrolls horizontally */
  .lp-figma-canvas {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }
  .lp-figma-canvas::-webkit-scrollbar {
    display: none;
  }
  .lp-figma-frame {
    min-width: 100px;
    flex-shrink: 0;
  }
}

/* ---- Reduced motion: skip mobile collapse animation ---- */
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .lp-phase-visual,
  .lp-phase-visual--disc,
  .lp-phase-visual--arch,
  .lp-phase-visual--design,
  .lp-phase-visual--build,
  .lp-phase-visual--qa-v2,
  .lp-phase-visual--support,
  .lp-launch-col--card {
    transition: none;
  }
  .lp-phase.lp-visual-active .lp-phase-visual,
  .lp-phase.lp-visual-active .lp-launch-col--card {
    transition: none;
  }
}

