/* RunLog Homepage — Dark-Only Ambient Cinema Hero + Dynamic Foreground-Video Feature Chapters */

html, body {
  background: #07080a;
  color: #f5f5f7;
}


/* Top-right Login Button */
.rl-nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.14s ease;
}
.rl-nav-login:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}
.rl-nav-login:active { transform: translateY(0); }

.hero-stage {
  position: relative;
  width: 100%;
  min-height: clamp(580px, calc(100svh - 60px), 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(68px, 9.5vh, 112px) 0 112px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: -60px 0 auto 0;
  height: 520px;
  background:
    radial-gradient(ellipse 46% 52% at 50% 18%, var(--hero-glow-1), transparent 72%),
    radial-gradient(ellipse 34% 38% at 50% 34%, var(--hero-glow-2), transparent 74%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.hero-stage.is-front::before { opacity: 0; }

/* Ambient Full-Bleed Background Video Layer */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.45s cubic-bezier(0.16, 1, 0.3, 1), padding 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-video-shell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid transparent;
  transition:
    width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.42s ease,
    border-color 0.42s ease,
    box-shadow 0.45s ease;
}

.hero-bg-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.56;
  filter: blur(0.6px) saturate(1.04) contrast(1.05);
  transform: scale(1.02);
  transition: opacity 0.45s ease, filter 0.45s ease, transform 0.45s ease;
  background: #07080a;
}

.hero-stage.is-unmuted:not(.is-front) .hero-bg-video {
  opacity: 0.68;
  filter: none;
}

.hero-bg-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 64% 58% at 50% 44%, rgba(7, 8, 10, 0.30) 0%, rgba(7, 8, 10, 0.12) 56%, rgba(7, 8, 10, 0.44) 100%),
    linear-gradient(to bottom, var(--bg) 0%, rgba(7, 8, 10, 0.08) 14%, rgba(7, 8, 10, 0.04) 68%, rgba(7, 8, 10, 0.66) 90%, var(--bg) 100%);
  transition: opacity 0.42s ease;
}

/* Top-Right Subtle Product Signature */
.hero-product-mark {
  position: absolute;
  top: clamp(18px, 2.8vh, 28px);
  right: clamp(18px, 3vw, 40px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(10, 12, 18, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(241, 245, 249, 0.88);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: opacity 0.32s ease, transform 0.36s ease;
}

.hero-product-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #60a5fa;
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.9);
}

.hero-stage.is-front .hero-product-mark {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

/* Foreground Hero Typography */
.hero-content {
  position: relative;
  z-index: 2;
  transition: opacity 0.36s ease, transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title {
  margin: 0 auto;
  max-width: 960px;
  font-size: clamp(2.4rem, 5.4vw, 4.55rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.044em;
  color: #ffffff;
  text-wrap: balance;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.52);
}

.hero-sub {
  margin: 20px auto 0;
  max-width: 680px;
  font-size: clamp(1.22rem, 2.35vw, 1.82rem);
  line-height: 1.38;
  font-weight: 500;
  letter-spacing: -0.024em;
  color: rgba(226, 232, 240, 0.92);
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.72);
  text-wrap: balance;
}

.hero-cta-row {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-link-quiet {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 0.16s ease, background-color 0.16s ease;
}
.hero-link-quiet:hover {
  color: var(--ink);
  background: var(--bg-pill);
}

/* Front / Full Video Stage Promotion */
.hero-stage.is-front .hero-content {
  opacity: 0;
  transform: translateY(-14px) scale(0.97);
  pointer-events: none;
}

.hero-stage.is-front .hero-bg-layer {
  z-index: 3;
  padding: 24px 24px 92px;
  background: rgba(6, 8, 12, 0.94);
  cursor: pointer;
}

.hero-stage.is-front .hero-bg-scrim { opacity: 0; }

.hero-stage.is-front .hero-video-shell {
  width: min(1040px, 100%, calc((78svh - 116px) * 16 / 9));
  height: auto;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 32px 96px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  background: #05070b;
  cursor: default;
}

.hero-stage.is-front .hero-bg-video {
  opacity: 1;
  filter: none;
  transform: none;
  object-fit: contain;
}

/* Bottom-Left Pinned Sound Button & Compact Video Dock */
.hero-dock-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 4;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(16px, 3vw, 32px);
  pointer-events: none;
}

.hero-video-dock {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(11, 13, 19, 0.78);
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.46),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  color: #f5f5f7;
  max-width: 100%;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.07);
  color: inherit;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.14s ease;
}

.hero-dock-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.16);
}
.hero-dock-btn:active { transform: scale(0.97); }

.hero-dock-icon-btn {
  width: 34px;
  padding: 0;
  flex-shrink: 0;
}

.hero-dock-icon-btn .icon-play { display: none; }
.hero-stage.is-paused .hero-dock-icon-btn .icon-pause { display: none; }
.hero-stage.is-paused .hero-dock-icon-btn .icon-play { display: block; margin-left: 1px; }

.hero-sound-icons { display: inline-flex; align-items: center; }
.hero-sound-icons .icon-unmuted { display: none; }
.hero-stage.is-unmuted .hero-sound-icons .icon-muted { display: none; }
.hero-stage.is-unmuted .hero-sound-icons .icon-unmuted { display: block; }

.hero-eq {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
}
.hero-eq i {
  display: block;
  width: 2px;
  border-radius: 2px;
  background: #f59e0b;
  height: 4px;
}
.hero-stage.is-unmuted:not(.is-paused) .hero-eq { display: inline-flex; }
.hero-stage.is-unmuted:not(.is-paused) .hero-eq i:nth-child(1) { animation: hero-eq-bar 0.72s ease-in-out infinite alternate; }
.hero-stage.is-unmuted:not(.is-paused) .hero-eq i:nth-child(2) { animation: hero-eq-bar 0.56s ease-in-out 0.14s infinite alternate; }
.hero-stage.is-unmuted:not(.is-paused) .hero-eq i:nth-child(3) { animation: hero-eq-bar 0.68s ease-in-out 0.28s infinite alternate; }

@keyframes hero-eq-bar {
  0% { height: 3px; }
  100% { height: 11px; }
}

.hero-stage.is-unmuted .hero-dock-sound {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.45);
  color: #fde68a;
}

.hero-dock-progress {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
}

.hero-dock-track {
  position: relative;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.hero-dock-fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa, #f59e0b);
  transition: width 0.18s linear;
}

.hero-dock-time {
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.76;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hero-dock-front {
  background: rgba(245, 245, 247, 0.94);
  color: #07080a;
  font-weight: 600;
}
.hero-dock-front:hover { background: #ffffff; border-color: transparent; }

.hero-dock-front .icon-front-close { display: none; }
.hero-stage.is-front .hero-dock-front .icon-front-open { display: none; }
.hero-stage.is-front .hero-dock-front .icon-front-close { display: block; }
.hero-stage.is-front .hero-dock-front {
  background: rgba(255, 255, 255, 0.14);
  color: #f5f5f7;
  border-color: rgba(255, 255, 255, 0.24);
}
.hero-stage.is-front .hero-dock-front:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-scroll-cue {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  opacity: 0.78;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.hero-scroll-cue:hover { opacity: 1; color: var(--ink); }
.hero-stage.is-front .hero-scroll-cue { opacity: 0; pointer-events: none; }

.hero-scroll-line {
  width: 28px;
  height: 1px;
  background: currentColor;
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #f59e0b, transparent);
  animation: hero-scroll-sweep 2.1s ease-in-out infinite;
}
@keyframes hero-scroll-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ==========================================================================
   Dynamic One-Feature-Per-Scroll Showcase
   FIRST PLANE: Looping Feature Video (z-index: 5)
   BACK PLANE:  2 Sales-Grade UI Mockup Screenshots peeking behind (z-index: 1-2)
   ========================================================================== */
.wf-showcase {
  position: relative;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

/* Always-Visible Sticky Top Workflow Timeline Capsule (Apple Instrument Bar) */
.wf-timeline-wrap {
  position: sticky;
  top: 66px;
  z-index: 45;
  display: flex;
  justify-content: center;
  padding: 6px 16px;
  pointer-events: none;
}

.wf-timeline {
  pointer-events: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(820px, 100%);
  padding: 5px 6px 0;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 19, 28, 0.94) 0%, rgba(9, 11, 17, 0.94) 100%);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  overflow: hidden;
}

.wf-timeline-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 2px;
  padding-bottom: 5px;
}

/* Smooth sliding glass active highlight pill */
.wf-timeline-pill {
  position: absolute;
  top: 0;
  bottom: 5px;
  left: 0;
  width: calc(25% - 1.5px);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.055) 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 16px rgba(0, 0, 0, 0.25);
  transform: translate3d(calc(var(--wf-active-idx, 0) * 100% + var(--wf-active-idx, 0) * 2px), 0, 0);
  transition: transform 0.52s var(--ease-in-out);
  pointer-events: none;
  z-index: 0;
}

.wf-step {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(148, 163, 184, 0.72);
  padding: 9px 10px;
  border-radius: 12px;
  transition: color 0.28s ease;
}

.wf-step:hover {
  color: rgba(248, 250, 252, 0.94);
}

.wf-step-num {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(148, 163, 184, 0.52);
  transition: color 0.28s ease;
}

.wf-step.is-passed .wf-step-num {
  color: rgba(96, 165, 250, 0.78);
}

.wf-step.is-active {
  color: #ffffff;
}

.wf-step.is-active .wf-step-num {
  color: #60a5fa;
}

.wf-step-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.012em;
  white-space: nowrap;
  text-align: center;
}

/* Precision luminous bottom progress rail with traveling head */
.wf-timeline-track {
  position: relative;
  margin: 0 -6px;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.06);
  overflow: visible;
  pointer-events: none;
}

.wf-timeline-progress {
  position: relative;
  display: block;
  width: calc(12.5% + var(--wf-progress, 0) * 75%);
  height: 100%;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.45) 0%, #60a5fa 68%, #e0f2fe 100%);
  box-shadow: 0 0 14px rgba(96, 165, 250, 0.65);
  border-radius: 0 999px 999px 0;
  will-change: width;
}

.wf-timeline-progress::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ffffff;
  transform: translateY(-50%);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.30), 0 0 12px rgba(147, 197, 253, 0.95);
}

/* Integrated Workflow Chapter Canvas */
.wf-chapter {
  position: relative;
  min-height: clamp(500px, 70svh, 690px);
  display: flex;
  align-items: center;
  padding: clamp(76px, 9.5vh, 118px) 0;
  border-bottom: 1px solid var(--border);
  overflow-x: clip;
  isolation: isolate;
  scroll-margin-top: 120px;
}
.wf-chapter:last-of-type { border-bottom: none; }

.wf-chapter::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
  transition: opacity 0.5s ease;
}
.wf-chapter.is-expanded::before { opacity: 1; }
.wf-chapter--project::before {
  background: radial-gradient(ellipse 52% 58% at 50% 48%, rgba(96, 165, 250, 0.085), transparent 72%);
}
.wf-chapter--product::before {
  background: radial-gradient(ellipse 52% 58% at 50% 48%, rgba(245, 158, 11, 0.08), transparent 72%);
}
.wf-chapter--creator::before {
  background: radial-gradient(ellipse 52% 58% at 50% 48%, rgba(52, 211, 153, 0.08), transparent 72%);
}
.wf-chapter--assistant::before {
  background: radial-gradient(ellipse 52% 58% at 50% 48%, rgba(56, 189, 248, 0.085), transparent 72%);
}

/* Stage Shell — Centered Quiet Typography at Rest, Swift 2-Column Integrated Split on Click */
.wf-stage-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.wf-close-btn {
  position: absolute;
  top: -48px;
  right: 24px;
  z-index: 6;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(18, 22, 32, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(248, 250, 252, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.86);
  transition: opacity 0.85s ease 0.28s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.28s, background-color 0.2s ease, border-color 0.2s ease;
}

.wf-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.wf-chapter.is-expanded .wf-close-btn {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.wf-copy {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Resting centered title anchor */
.wf-header-anchor {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  will-change: transform;
}

.wf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: rgba(148, 163, 184, 0.88);
  margin-bottom: 16px;
}
.wf-eyebrow--project { color: #60a5fa; }
.wf-eyebrow--product { color: #fbbf24; }
.wf-eyebrow--creator { color: #34d399; }
.wf-eyebrow--assistant { color: #38bdf8; }
.wf-eyebrow-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  opacity: 0.68;
}

.wf-title {
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-wrap: balance;
}

.wf-title-btn {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  max-width: 100%;
  color: var(--ink);
  transition: opacity 0.2s ease;
}

.wf-title-btn:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 10px;
  border-radius: 14px;
}

.wf-title-text {
  display: block;
  transition: color 0.2s ease;
}

.wf-title-btn:hover .wf-title-text {
  color: #ffffff;
}

/* Apple Duo-inspired (+) Explore Pill */
.wf-explore-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(241, 245, 249, 0.92);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.wf-plus-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: #93c5fd;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.22s ease, color 0.22s ease;
}

.wf-title-btn:hover .wf-explore-pill {
  background: rgba(96, 165, 250, 0.14);
  border-color: rgba(96, 165, 250, 0.42);
  transform: translateY(-1px);
}

.wf-title-btn:hover .wf-plus-icon {
  background: #60a5fa;
  border-color: #60a5fa;
  color: #07090e;
}

/* Integrated Borderless Additional Information (hidden at rest, NO box) */
.wf-extra-info {
  display: none;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  opacity: 0;
  transform: translate3d(0, 56px, 0);
  will-change: transform, opacity;
}

.wf-extra-summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.84);
}

.wf-use-list {
  list-style: none;
  margin: 34px auto 0;
  padding: 24px 0 0;
  max-width: 940px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  text-align: left;
  will-change: transform;
}

.wf-use-list li {
  position: relative;
  padding-left: 16px;
  will-change: transform;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.86);
}

.wf-use-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #60a5fa;
  box-shadow: 0 0 8px rgba(96, 165, 250, 0.72);
}

.wf-chapter.is-expanded .wf-use-list {
  max-width: none;
  margin: 18px 0 0;
  padding: 0;
  border-top: none;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.wf-chapter.is-expanded .wf-use-list li {
  font-size: 13.8px;
  line-height: 1.5;
  color: rgba(203, 213, 225, 0.90);
}

.wf-extra-note {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.76);
}

/* Integrated Borderless Single Video (hidden at rest, NO box) */
.wf-reveal-media {
  display: none;
  position: relative;
  width: 100%;
  opacity: 0;
  transform: translate3d(56px, 0, 0) scale(0.972);
  will-change: transform, opacity;
}

.wf-reveal-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  background: #06080d;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.68), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.wf-media-controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  gap: 6px;
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.wf-reveal-media:hover .wf-media-controls { opacity: 1; }

.wf-media-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 10, 16, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(248, 250, 252, 0.92);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  min-height: 30px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.wf-media-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
}

/* ==========================================================================
   EXPANDED STATE — Title Swiftly Glides Left · Borderless Info & Video In
   ========================================================================== */
.wf-chapter.is-expanded .wf-stage-shell {
  max-width: 1280px;
  grid-template-columns: minmax(330px, 0.39fr) minmax(0, 0.61fr);
  gap: clamp(32px, 4.2vw, 64px);
  align-items: center;
}

.wf-chapter.is-expanded .wf-header-anchor {
  margin: 0;
  max-width: none;
  text-align: left;
}

.wf-chapter.is-expanded .wf-title {
  font-size: clamp(1.7rem, 2.55vw, 2.35rem);
  line-height: 1.09;
  letter-spacing: -0.035em;
}

.wf-chapter.is-expanded .wf-title-btn {
  align-items: flex-start;
  text-align: left;
  gap: 12px;
}

.wf-chapter.is-expanded .wf-explore-pill {
  display: none;
}

.wf-chapter.is-expanded .wf-extra-info {
  display: block;
  animation: wfInfoIn 1.2s cubic-bezier(0.32, 0.72, 0, 1) 0s forwards;
}

.wf-chapter.is-expanded .wf-reveal-media {
  display: block;
  animation: wfMediaIn 1.2s cubic-bezier(0.32, 0.72, 0, 1) 0s forwards;
}

@keyframes wfInfoIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 56px, 0);
  }
  28% {
    opacity: 0.45;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes wfMediaIn {
  0% {
    opacity: 0;
    transform: translate3d(56px, 0, 0) scale(0.972);
  }
  30% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Scroll Chapters Below Workflows — Editorial Restraint */
.editorial-section {
  padding: 112px 0;
  border-top: 1px solid var(--border);
}

.section-heading {
  margin: 0;
  font-size: clamp(1.9rem, 4.1vw, 3.1rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-wrap: balance;
}

.section-lead {
  margin: 14px 0 0;
  max-width: 540px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 52px;
}

.fact-item {
  padding-top: 20px;
  border-top: 1px solid var(--border-strong);
}

.fact-num {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}

.fact-item h3 {
  margin: 12px 0 8px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.fact-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}

.pricing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.tier-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--bg-elev);
  border: 1px solid var(--border);
}
.tier-row--pro { border-color: var(--border-strong); }

.tier-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.tier-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.tier-price {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.tier-price span {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.tier-facts {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.secondary-band {
  padding: 72px 0 0;
  border-top: 1px solid var(--border);
}

.bench-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 28px;
  border-radius: var(--radius-xl);
  background: var(--bg-elev);
  border: 1px solid var(--border);
}

.bench-strip-copy h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.bench-strip-copy p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.quiet-tools-row {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--muted);
}
.quiet-tools-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.quiet-tools-links a {
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.15s ease;
}
.quiet-tools-links a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .hero-eq i { animation: none !important; height: 7px !important; }
  .hero-scroll-line::after { animation: none !important; }
  .hero-bg-layer, .hero-video-shell, .hero-bg-video, .hero-bg-scrim, .hero-content,
  .wf-video-card, .wf-shot {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 960px) {
  .wf-timeline-wrap {
    top: 62px;
    padding: 6px 10px;
  }
  .wf-timeline {
    padding: 4px 5px 0;
    border-radius: 15px;
  }
  .wf-step {
    padding: 8px 6px;
    gap: 5px;
  }
  .wf-step-label {
    font-size: 11px;
  }
  .wf-chapter {
    min-height: clamp(380px, 54svh, 520px);
    padding: 64px 0;
  }
  .wf-chapter.is-expanded .wf-stage-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .wf-close-btn {
    top: -4px;
    right: 18px;
  }
  .wf-chapter.is-expanded .wf-title {
    padding-right: 44px;
  }
  .wf-chapter.is-expanded .wf-copy {
    display: contents;
  }
  .wf-chapter.is-expanded .wf-header-anchor {
    order: 1;
  }
  .wf-chapter.is-expanded .wf-reveal-media {
    order: 2;
  }
  .wf-use-list {
    grid-template-columns: minmax(0, 1fr);
    max-width: 460px;
    gap: 12px;
    margin-top: 26px;
    padding-top: 20px;
  }
  .wf-chapter.is-expanded .wf-extra-info {
    order: 3;
    margin-top: 0;
  }
  .wf-chapter.is-expanded .wf-use-list {
    order: 4;
    margin-top: 0;
    max-width: none;
  }
  .facts-grid { grid-template-columns: 1fr; gap: 28px; }
  .tiers-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wf-timeline {
    padding: 4px 4px 0;
    border-radius: 14px;
  }
  .wf-timeline-steps {
    padding-bottom: 4px;
  }
  .wf-timeline-pill {
    bottom: 4px;
    border-radius: 10px;
  }
  .wf-step {
    flex-direction: column;
    padding: 6px 3px;
    gap: 2px;
  }
  .wf-step-num {
    font-size: 9px;
  }
  .wf-step-label {
    font-size: 9.5px;
    line-height: 1.15;
    white-space: normal;
    max-width: 82px;
  }
  .wf-title {
    font-size: clamp(1.75rem, 7.6vw, 2.25rem);
  }
  .wf-media-btn {
    min-height: 34px;
    padding: 6px 12px;
  }
}

@media (max-width: 768px) {
  .rl-nav-login { height: 36px; padding: 0 14px; font-size: 13px; }
  .hero-stage {
    min-height: clamp(520px, 80svh, 700px);
    padding: 56px 0 96px;
  }
  .hero-content {
    background: radial-gradient(ellipse 96% 78% at 50% 48%, rgba(7, 8, 10, 0.84) 0%, rgba(7, 8, 10, 0.58) 58%, rgba(7, 8, 10, 0.04) 100%);
    padding: 24px 18px 28px;
    border-radius: 28px;
  }
  .hero-bg-video {
    opacity: 0.74;
    filter: saturate(1.08) brightness(1.08) contrast(1.05);
    object-position: center 42%;
  }
  .hero-stage.is-unmuted:not(.is-front) .hero-bg-video {
    opacity: 0.86;
  }
  .hero-bg-scrim {
    background:
      radial-gradient(ellipse 84% 58% at 50% 44%, rgba(7, 8, 10, 0.32) 0%, rgba(7, 8, 10, 0.10) 60%, rgba(7, 8, 10, 0.34) 100%),
      linear-gradient(to bottom, var(--bg) 0%, transparent 14%, transparent 74%, rgba(7, 8, 10, 0.62) 92%, var(--bg) 100%);
  }
  .hero-product-mark {
    top: 12px;
    right: 14px;
    font-size: 11px;
    padding: 5px 10px;
  }
  .hero-title {
    font-size: clamp(1.95rem, 8.2vw, 2.55rem);
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.72);
  }
  .hero-sub {
    font-size: clamp(1.05rem, 4.4vw, 1.28rem);
    margin-top: 14px;
  }
  .hero-sub {
    color: rgba(248, 250, 252, 0.94);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.82);
  }
  .hero-stage.is-front .hero-bg-layer { padding: 16px 12px 86px; }
  .hero-stage.is-front .hero-video-shell { width: 100%; border-radius: 14px; }
  .hero-dock-wrap { bottom: 18px; padding: 0 12px; justify-content: center; }
  .hero-scroll-cue { display: none; }
  .hero-video-dock { gap: 6px; padding: 5px 7px; margin: 0 auto; }
  .hero-dock-btn { height: 36px; padding: 0 13px; font-size: 12px; gap: 6px; }
  .hero-dock-icon-btn { width: 36px; padding: 0; }
  .hero-dock-progress { display: none; }
  .editorial-section { padding: 72px 0; }
  .secondary-band { padding: 48px 0 0; }
  .bench-strip { padding: 20px; }
  .tier-row { padding: 22px; }
}
