/* ================================
   CSS Custom Properties (Design System)
   ================================ */
:root {
  /* Core Brand Colors */
  --color-background: #FAF8F5;
  --color-background-dark: #18191B;
  --color-background-deep: #18191B;       /* v11 alias — used by MeetLucie / FinalCta dark bands */

  /* Brand Accent (Red) */
  --color-brand: #772310;
  --color-brand-hover: #5F1C0D;
  --color-brand-light: rgba(119, 35, 16, 0.08);

  /* Everyday Interactive (Neutral Dark) */
  --color-interactive: #374151;
  --color-interactive-hover: #2F3535;

  /* Secondary Accent (Teal) */
  --color-teal: #0D9488;
  --color-teal-light: rgba(13, 148, 136, 0.08);

  /* Deprecated — kept for transition */
  --color-primary: #0D9488;
  --color-primary-hover: #0F766E;
  --color-primary-light: rgba(13, 148, 136, 0.1);
  --color-ai: #6366F1;
  --color-ai-light: rgba(99, 102, 241, 0.1);
  --color-success: #22C55E;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-draft: #6366F1;

  /* Dark Section Colors */
  --color-dark-surface: rgba(255, 255, 255, 0.06);
  --color-dark-surface-muted: rgba(255, 255, 255, 0.04);
  --color-dark-border: rgba(255, 255, 255, 0.1);
  --color-dark-text-primary: #FFFFFF;
  --color-dark-text-secondary: rgba(255, 255, 255, 0.7);
  --color-dark-text-muted: rgba(255, 255, 255, 0.5);
  --color-dark-text-tertiary: rgba(255, 255, 255, 0.35);

  /* Neutral Scale (Light Mode) */
  --color-surface: #FFFFFF;
  --color-border: #E5E7EB;
  --color-text-muted: #6B7280;
  --color-text-primary: #2F3535;
  --color-text-secondary: #4B5563;
  --color-surface-warm: #F5F0EB;
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-700: #374151;

  /* Typography */
  --font-display: 'Lora', Georgia, 'Times New Roman', serif;
  --font-wordmark: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  --spacing-4xl: 96px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 350ms var(--ease-out-expo);
  --transition-hover: 300ms var(--ease-out-expo);

  /* Enhanced Shadows */
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* ================================
   Reset & Base Styles
   ================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-primary);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ================================
   Typography
   ================================ */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

h3, h4 {
  font-family: var(--font-sans);
  line-height: 1.2;
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 20px;
  font-weight: 500;
}

h4 {
  font-weight: 600;
}

p {
  color: var(--color-text-muted);
}

.accent {
  color: var(--color-brand);
}

/* ================================
   Layout
   ================================ */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

section {
  padding: var(--spacing-4xl) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-3xl);
}

.section-title {
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
}

/* ================================
   Buttons
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: var(--color-text-primary);
  color: var(--color-surface);
  border-color: var(--color-text-primary);
}

.btn-primary:hover {
  background-color: var(--color-gray-700);
  border-color: var(--color-gray-700);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-border);
}

.btn-outline:hover {
  background-color: var(--color-surface);
  border-color: var(--color-text-muted);
}

.btn-link {
  background: none;
  border: none;
  color: var(--color-text-muted);
  padding: 12px 0;
}

.btn-link:hover {
  color: var(--color-text-primary);
}

.btn-link .arrow {
  transition: transform var(--transition-fast);
}

.btn-link:hover .arrow {
  transform: translateX(4px);
}

/* ================================
   Header & Navigation
   ================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  height: 32px;
  width: auto;
}
.logo-text {
  font-family: var(--font-wordmark);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-brand);
  font-variation-settings: 'opsz' 72;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-shrink: 0;
}

.nav-links a {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--color-text-primary);
}

.nav-cta {
  padding: 8px 16px;
  height: 36px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--color-text-primary);
  border-radius: 1px;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 180ms ease;
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ================================
   Nav backdrop
   ================================ */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(24, 25, 27, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms cubic-bezier(0.16, 1, 0.3, 1),
              visibility 280ms;
  z-index: 999;
}

.nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ================================
   Hero Section
   ================================ */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: calc(72px + var(--spacing-3xl));
  padding-bottom: 0;
  overflow: visible;
  position: relative;
  background: radial-gradient(ellipse at 30% 20%, rgba(119, 35, 16, 0.05) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(99, 102, 241, 0.04) 0%, transparent 60%),
              var(--color-background);
}

.hero > .container {
  width: 100%;
}

/* Soft fade-out at bottom of hero into next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--color-background));
  pointer-events: none;
  z-index: 3;
}

.hero-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.hero-title {
  margin-bottom: var(--spacing-lg);
  color: var(--color-text-primary);
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: var(--spacing-xl);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  align-items: center;
  justify-content: center;
}

/* Screenshot stage — elevated on light background */
.hero-screenshot-stage {
  position: relative;
  width: 100%;
  margin-top: var(--spacing-2xl);
  padding-bottom: var(--spacing-4xl);
}

/* Subtle tonal backdrop behind screenshot for depth */
.hero-screenshot-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 80%;
  background: radial-gradient(
    ellipse at center,
    rgba(119, 35, 16, 0.04) 0%,
    rgba(119, 35, 16, 0.015) 50%,
    transparent 80%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-screenshot-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 16px 40px rgba(0, 0, 0, 0.06),
    0 32px 80px rgba(0, 0, 0, 0.04);
}

.hero-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero entrance animations */
@keyframes heroSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScreenshotReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-animate {
  opacity: 0;
  animation: heroSlideUp 0.7s var(--ease-out-expo) forwards;
}

.hero-animate-delay-1 {
  animation-delay: 120ms;
}

.hero-animate-delay-2 {
  animation-delay: 240ms;
}

.hero-animate-delay-3 {
  animation-delay: 400ms;
  animation-name: heroScreenshotReveal;
  animation-duration: 0.9s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  .hero-animate {
    opacity: 1;
    animation: none;
  }
}

/* ================================
   Value Props Section
   ================================ */
.value-props {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(119, 35, 16, 0.03), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(99, 102, 241, 0.03), transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(13, 148, 136, 0.02), transparent 60%),
    var(--color-background);
}


.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.value-card {
  background-color: var(--color-surface);
  border: none;
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-hover), transform var(--transition-hover);
  will-change: transform, box-shadow;
}

.value-card:hover {
  box-shadow: 0 8px 24px rgba(119, 35, 16, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
}

@media (hover: hover) {
  .value-card:hover {
    transform: translateY(-4px);
  }
}

.value-card-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.value-card-icon {
  flex-shrink: 0;
  color: var(--color-interactive);
}

.value-card h3 {
  margin-bottom: 0;
  color: var(--color-text-primary);
}

.value-card p {
  font-size: 14px;
}

/* ================================
   Features Section
   ================================ */
.features {
  background-color: var(--color-background);
}

.feature-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-ai);
  background-color: var(--color-ai-light);
  border-radius: 20px;
  margin-bottom: var(--spacing-md);
}

.badge--red {
  color: var(--color-brand);
  background-color: var(--color-brand-light);
}

.badge--teal {
  color: var(--color-teal);
  background-color: var(--color-teal-light);
}

.feature-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.feature-item {
  display: flex;
  align-items: baseline;
  gap: var(--spacing-xl);
  padding: var(--spacing-xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.feature-item:first-child {
  border-top: 1px solid var(--color-border);
}

.feature-number {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  color: var(--color-brand);
  line-height: 1;
  flex-shrink: 0;
  min-width: 64px;
  letter-spacing: -0.02em;
  transition: color var(--transition-hover);
}

.feature-body {
  flex: 1;
}

.feature-body h3 {
  margin-bottom: var(--spacing-xs);
  color: var(--color-text-primary);
  font-size: 20px;
  font-weight: 600;
  transition: color var(--transition-hover);
}

.feature-body p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 560px;
}

@media (hover: hover) {
  .feature-item:hover .feature-number {
    color: var(--color-brand-hover);
  }

  .feature-item:hover .feature-body h3 {
    color: var(--color-brand);
  }
}

/* ================================
   Section Dividers (Arc Transitions)
   ================================ */
.section-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* Light → Dark: arc sits on the features (warm cream) background */
.section-divider--to-dark {
  background-color: var(--color-background);
  margin-top: -1px; /* prevent subpixel gap */
}

/* Ambient warm glow at the top of the dark zone */
.section-divider--to-dark::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 160px;
  background: radial-gradient(ellipse at center, rgba(119, 35, 16, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Dark → Light: arc sits on the CTA (white) background */
.section-divider--to-light {
  background-color: var(--color-surface);
  margin-bottom: -1px; /* prevent subpixel gap */
}

/* Ambient warm glow at the bottom of the dark zone */
.section-divider--to-light::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 160px;
  background: radial-gradient(ellipse at center, rgba(119, 35, 16, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ================================
   Integrations Section
   ================================ */
.integrations {
  background-color: var(--color-background-dark);
  padding: var(--spacing-4xl) 0;
}

.integrations .section-title {
  color: var(--color-dark-text-primary);
}

.integrations .section-subtitle {
  color: var(--color-dark-text-muted);
}

.integrations-marquee {
  position: relative;
  overflow: hidden;
}

.integrations-marquee::before,
.integrations-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.integrations-marquee::before {
  left: 0;
  background: transparent;
}

.integrations-marquee::after {
  right: 0;
  background: transparent;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.integrations-track {
  display: flex;
  align-items: center;
  gap: var(--spacing-2xl);
  width: max-content;
  animation: marquee 40s linear infinite;
}

.integrations-marquee:hover .integrations-track {
  animation-play-state: paused;
}

.integration-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: var(--spacing-sm);
  flex-shrink: 0;
  filter: none;
  opacity: 0.7;
  transition: all var(--transition-hover);
}

.integration-logo:hover {
  filter: none;
  opacity: 1;
}

@media (hover: hover) {
  .integration-logo:hover {
    transform: scale(1.08);
  }
}

.integration-logo img {
  max-width: 120px;
  max-height: 60px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ================================
   Product Section
   ================================ */
.product-screenshot {
  max-width: 1000px;
  margin: 0 auto;
}


/* ================================
   Why Now Section
   ================================ */
.why-now {
  background-color: var(--color-background-dark);
  position: relative;
}

.why-now .section-title {
  color: var(--color-dark-text-primary);
}

.why-now .section-subtitle {
  color: var(--color-dark-text-muted);
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
}

.comparison-col {
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
}

.comparison-col h3 {
  font-size: 24px;
  margin-bottom: var(--spacing-xl);
}

.comparison-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.comparison-col li strong {
  display: block;
  margin-bottom: var(--spacing-xs);
}

.comparison-col li p {
  font-size: 14px;
}

.old-way {
  background: var(--color-dark-surface-muted);
  border: 1px solid var(--color-dark-border);
  backdrop-filter: blur(10px);
}

.old-way h3 {
  color: var(--color-dark-text-muted);
}

.old-way li strong {
  color: var(--color-dark-text-secondary);
}

.old-way li p {
  color: var(--color-dark-text-tertiary);
}

.new-way {
  background: var(--color-dark-surface);
  border: 2px solid var(--color-brand);
  box-shadow: 0 0 40px rgba(119, 35, 16, 0.12), 0 0 80px rgba(119, 35, 16, 0.06);
}

.new-way h3 {
  color: var(--color-brand);
}

.new-way li strong {
  color: var(--color-dark-text-primary);
}

.new-way li p {
  color: var(--color-dark-text-muted);
}

/* ================================
   Team Section
   ================================ */
.team-card {
  display: flex;
  gap: var(--spacing-xl);
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--spacing-xl);
}

.team-photo-placeholder {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-weight: 500;
}

.team-info h3 {
  font-size: 20px;
  margin-bottom: var(--spacing-xs);
  color: var(--color-text-primary);
}

.team-role {
  display: inline-block;
  font-size: 14px;
  color: var(--color-interactive);
  margin-bottom: var(--spacing-md);
}

.team-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.team-highlights li {
  font-size: 14px;
  color: var(--color-text-muted);
  padding-left: var(--spacing-md);
  position: relative;
}

.team-highlights li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-interactive);
}

/* ================================
   Final CTA Section
   ================================ */
@keyframes ctaGlow {
  0%, 100% {
    background-position: 30% 50%;
  }
  50% {
    background-position: 70% 50%;
  }
}

.final-cta {
  text-align: center;
  padding: var(--spacing-4xl) 0;
  background-color: var(--color-surface);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(119, 35, 16, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(99, 102, 241, 0.04) 0%, transparent 60%);
  background-size: 200% 200%;
  animation: ctaGlow 8s ease-in-out infinite;
  pointer-events: none;
}

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: var(--spacing-xl);
  color: var(--color-text-primary);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.cta-trust {
  margin-top: var(--spacing-lg);
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ================================
   Footer
   ================================ */
.footer {
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
  background-color: var(--color-background-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: var(--spacing-sm);
}
.footer-logo-mark {
  height: 28px;
  width: auto;
}
.footer-logo-text {
  font-family: var(--font-wordmark);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-dark-text-primary);
  font-variation-settings: 'opsz' 72;
  letter-spacing: -0.02em;
}

.footer-description {
  font-size: 14px;
  color: var(--color-dark-text-muted);
  margin-bottom: var(--spacing-md);
  max-width: 280px;
}

.footer-email {
  font-size: 14px;
  color: var(--color-dark-text-secondary);
  transition: color var(--transition-fast);
}

.footer-email:hover {
  color: var(--color-dark-text-primary);
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark-text-primary);
  margin-bottom: var(--spacing-md);
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-col-links a {
  font-size: 14px;
  color: var(--color-dark-text-muted);
  transition: color var(--transition-fast);
}

.footer-col-links a:hover {
  color: var(--color-dark-text-primary);
}

.footer-copyright {
  font-size: 13px;
  color: var(--color-dark-text-tertiary);
  text-align: center;
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--color-dark-border);
}

/* ================================
   Animations
   ================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
  transition-delay: calc(var(--stagger, 0) * 1ms);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
  transition-delay: calc(var(--stagger, 0) * 1ms);
}

.animate-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
  transition-delay: calc(var(--stagger, 0) * 1ms);
}

.animate-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ================================
   Focus & Accessibility
   ================================ */
:focus-visible {
  outline: 2px solid var(--color-interactive);
  outline-offset: 2px;
  border-radius: 2px;
}

.btn:focus-visible {
  outline-offset: 3px;
}


/* ================================
   Responsive Design
   ================================ */
@media (max-width: 1024px) {
  .value-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-cards .value-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    justify-self: center;
  }

}

@media (max-width: 768px) {
  section {
    padding: var(--spacing-3xl) 0;
  }

  .nav-links,
  .nav-right {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header.menu-open {
    position: fixed;
    inset: 0 0 0 auto;
    width: 100vw;
    height: 100dvh;
    background-color: var(--color-background);
    background-image: radial-gradient(ellipse at 100% 0%, rgba(119, 35, 16, 0.04) 0%, transparent 55%);
    box-shadow: -8px 0 32px rgba(24, 25, 27, 0.08);
    backdrop-filter: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 1001;
    animation: drawer-slide-in 320ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .header.menu-open.scrolled {
    background-color: var(--color-background);
    backdrop-filter: none;
    box-shadow: -8px 0 32px rgba(24, 25, 27, 0.08);
  }

  .header.menu-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    min-height: 100dvh;
    padding: 0 var(--spacing-xl);
    max-width: none;
  }

  .header.menu-open .logo {
    order: 0;
    height: 72px;
    display: flex;
    align-items: center;
    align-self: flex-start;
  }

  .header.menu-open .mobile-menu-btn {
    position: absolute;
    top: 20px;
    right: var(--spacing-xl);
    width: 40px;
    height: 40px;
    justify-content: center;
  }

  .header.menu-open .nav-links {
    order: 1;
    display: flex;
    flex-direction: column;
    position: static;
    transform: none;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-2xl) 0 var(--spacing-3xl);
    border: none;
    flex-basis: auto;
    flex-shrink: 0;
  }

  .header.menu-open .nav-links li {
    width: 100%;
  }

  .header.menu-open .nav-links a {
    display: inline-block;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 34px;
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.15;
    color: var(--color-text-primary);
    padding: var(--spacing-xs) 0;
    transition: color 200ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .header.menu-open .nav-links a:hover,
  .header.menu-open .nav-links a:focus-visible {
    color: var(--color-brand);
    transform: translateX(4px);
  }

  .header.menu-open .nav-right {
    order: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    flex-basis: auto;
    margin-top: auto;
    padding: var(--spacing-xl) 0 var(--spacing-2xl);
    border-top: 1px solid var(--color-border);
  }

  .header.menu-open .language-switcher {
    position: relative;
    margin-right: 0;
    z-index: auto;
  }

  .header.menu-open .language-toggle {
    padding: 10px 12px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--color-text-primary);
    font-size: 14px;
  }

  .header.menu-open .language-toggle:hover,
  .header.menu-open .language-switcher.open .language-toggle {
    background-color: var(--color-brand-light);
    border-color: transparent;
    color: var(--color-brand);
  }

  .header.menu-open .language-dropdown {
    top: auto;
    bottom: calc(100% + 6px);
    right: auto;
    left: 0;
    min-width: 160px;
    box-shadow: var(--shadow-lg);
  }

  .header.menu-open .nav-cta {
    flex: 1 1 auto;
    max-width: 60%;
    justify-content: center;
    padding: 14px var(--spacing-lg);
    font-size: 15px;
    font-weight: 500;
    background-color: var(--color-brand);
    color: var(--color-surface);
    border-color: var(--color-brand);
  }

  .header.menu-open .nav-cta:hover,
  .header.menu-open .nav-cta:focus-visible {
    background-color: var(--color-brand-hover);
    border-color: var(--color-brand-hover);
  }

  .hero {
    padding-top: calc(72px + var(--spacing-xl));
    padding-bottom: 0;
  }

  .hero::after {
    height: 80px;
  }

  .hero-content {
    padding: 0 var(--spacing-md);
  }

  .hero-screenshot-stage {
    margin-top: var(--spacing-lg);
    padding-bottom: var(--spacing-2xl);
  }

  .hero-screenshot-glow {
    display: none;
  }

  .hero-screenshot-wrapper {
    border-radius: var(--radius-md);
    box-shadow:
      0 2px 8px rgba(0, 0, 0, 0.06),
      0 8px 24px rgba(0, 0, 0, 0.05);
  }

  .value-cards {
    grid-template-columns: 1fr;
  }

  .value-cards .value-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }

  .old-way {
    backdrop-filter: none;
  }

  .comparison {
    grid-template-columns: 1fr;
  }

  .team-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .team-highlights li {
    padding-left: 0;
    text-align: center;
  }

  .team-highlights li::before {
    display: none;
  }

  .feature-item {
    gap: var(--spacing-md);
  }

  .feature-number {
    min-width: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  /* integrations marquee is fluid */

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-screenshot-wrapper {
    border-radius: var(--radius-sm);
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .feature-item {
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: flex-start;
  }

  .feature-number {
    min-width: auto;
  }
}

/* ================================
   Language Switcher
   ================================ */
.language-switcher {
  position: relative;
  margin-right: var(--spacing-md);
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.language-toggle:hover {
  background-color: var(--color-surface);
  border-color: var(--color-text-muted);
  color: var(--color-text-primary);
}

.language-switcher.open .language-toggle {
  background-color: var(--color-surface);
  border-color: var(--color-interactive);
  color: var(--color-text-primary);
}

.globe-icon {
  flex-shrink: 0;
}

.current-lang {
  font-family: var(--font-mono);
  font-weight: 600;
  min-width: 22px;
  text-align: center;
}

.chevron-icon {
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.language-switcher.open .chevron-icon {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 140px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
  z-index: 100;
  overflow: hidden;
}

.language-switcher.open .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-dropdown a {
  display: block;
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background-color var(--transition-fast),
              color var(--transition-fast);
}

.language-dropdown a:hover,
.language-dropdown a:focus-visible {
  background-color: var(--color-background);
  color: var(--color-text-primary);
  outline: none;
}

.language-dropdown a.is-active {
  color: var(--color-brand);
  font-weight: 600;
  background-color: var(--color-brand-light);
}

.language-dropdown a.is-active:hover {
  background-color: var(--color-brand-light);
}

/* ================================
   Drawer keyframe
   ================================ */
@keyframes drawer-slide-in {
  from { transform: translateX(16px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* Tablet side-sheet: clamp drawer width above 480px */
@media (min-width: 480px) and (max-width: 768px) {
  .header.menu-open {
    width: min(420px, 100vw);
    inset: 0 0 0 auto;
  }
}

/* ================================
   Reduced Motion
   ================================ */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .animate-slide-left,
  .animate-slide-right {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .final-cta::before {
    animation: none;
  }

  .value-card,
  .feature-item,
  .integration-logo {
    transition: none;
  }

  .integrations-track {
    animation: none;
  }

  .header.menu-open,
  .nav-backdrop,
  .header.menu-open .nav-links a {
    animation: none !important;
    transition: none !important;
  }
}

/* ====== BLOG STYLES ====== */

.blog-post,
.blog-list,
.blog-search {
  padding: var(--spacing-3xl) 0 var(--spacing-4xl);
  background-color: var(--color-background);
}

.breadcrumb {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-lg);
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: var(--spacing-sm);
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-brand);
}

.breadcrumb [aria-current="page"] {
  color: var(--color-text-primary);
  font-weight: 500;
}

/* --- Post header --- */

.post-header {
  max-width: 760px;
  margin: 0 auto var(--spacing-2xl);
}

.post-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: var(--spacing-md) 0 var(--spacing-lg);
  color: var(--color-text-primary);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-sm);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-xl);
}

.post-meta-sep {
  opacity: 0.5;
}

.post-author {
  font-weight: 500;
  color: var(--color-text-primary);
}

.post-cover {
  margin: var(--spacing-xl) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.post-cover img,
.post-cover picture {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Post body --- */

.post-body {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-primary);
}

.post-body h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: var(--spacing-2xl) 0 var(--spacing-md);
  color: var(--color-text-primary);
}

.post-body h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.25rem;
  margin: var(--spacing-xl) 0 var(--spacing-sm);
  color: var(--color-text-primary);
}

.post-body p {
  margin: 0 0 var(--spacing-md);
}

.post-body a {
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-body a:hover {
  color: var(--color-brand-hover);
}

.post-body ul,
.post-body ol {
  margin: 0 0 var(--spacing-md) var(--spacing-lg);
}

.post-body code {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.9em;
  background: rgba(0, 0, 0, 0.04);
  padding: 0.1em 0.35em;
  border-radius: var(--radius-sm);
}

.post-body pre {
  background: #18191B;
  color: #FAF8F5;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-size: 0.875rem;
}

.post-body pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

/* --- Table of contents --- */

.post-toc {
  max-width: 720px;
  margin: 0 auto var(--spacing-xl);
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--color-brand-light);
  border-left: 3px solid var(--color-brand);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
}

.post-toc h2 {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin: 0 0 var(--spacing-sm);
}

.post-toc-list ol,
.post-toc-list ul {
  list-style: none;
  padding-left: var(--spacing-md);
  margin: 0;
}

.post-toc-list > ol,
.post-toc-list > ul {
  padding-left: 0;
}

.post-toc-list a {
  color: var(--color-text-primary);
  text-decoration: none;
  display: block;
  padding: var(--spacing-xs) 0;
  font-size: 0.9375rem;
}

.post-toc-list a:hover {
  color: var(--color-brand);
}

/* --- Related posts --- */

.related-posts {
  max-width: 720px;
  margin: var(--spacing-3xl) auto 0;
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.related-posts h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 var(--spacing-lg);
}

.related-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--spacing-md);
}

.related-posts-list a {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  text-decoration: none;
  color: var(--color-text-primary);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  transition: background 0.2s ease;
}

.related-posts-list a:hover {
  background: var(--color-brand-light);
}

.related-posts-title {
  font-weight: 600;
}

.related-posts-list time {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* --- Blog list / index --- */

.blog-list-header {
  max-width: 800px;
  margin: 0 auto var(--spacing-2xl);
  text-align: center;
}

.blog-list-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: var(--spacing-md) 0;
  color: var(--color-text-primary);
}

.blog-list-intro {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-3xl);
}

.post-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.post-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.post-card-cover img,
.post-card-cover picture {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card-body {
  padding: var(--spacing-lg);
}

.post-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 var(--spacing-sm);
  color: var(--color-text-primary);
}

.post-card-meta {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-sm);
}

.post-card-excerpt {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

/* --- Pagination --- */

.pagination {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin: var(--spacing-2xl) auto 0;
  max-width: 720px;
}

.pagination a {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--color-brand);
  text-decoration: none;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-brand);
  transition: background 0.2s ease;
}

.pagination a:hover {
  background: var(--color-brand-light);
}

.pagination-prev {
  margin-right: auto;
}

.pagination-next {
  margin-left: auto;
}

/* --- Pagefind UI overrides --- */

.blog-search #search {
  margin-top: var(--spacing-xl);
  --pagefind-ui-primary: var(--color-brand);
  --pagefind-ui-text: var(--color-text-primary);
  --pagefind-ui-background: var(--color-background);
  --pagefind-ui-border: rgba(0, 0, 0, 0.1);
  --pagefind-ui-tag: var(--color-brand-light);
  --pagefind-ui-border-radius: var(--radius-md);
  --pagefind-ui-font: var(--font-sans);
}

/* ==========================================================================
   SCROLL HERO (v2)
   The marketing site's signature pattern: left-column copy + 3-card scroll
   reel; right-column sticky app frame that cross-fades between 3 product
   scenes (Schedule / AI Replan / KPIs) as the user scrolls past.

   See: lucie-website/DESIGN_SPEC.md → Marketing Site → Hero Pattern.
   Driver: assets/script.js → initScrollHero().
   Mobile (<1000px): right pane hidden; static fallback shown beneath copy.
   ========================================================================== */

.scroll-hero {
  position: relative;
  padding: 40px 0 0;
  background: var(--color-background);
}

.shr-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: stretch; /* let right column stretch so sticky has travel */
}

.shr-left  { padding: 40px 0 120px; }
.shr-intro { max-width: 560px; margin-bottom: 120px; }

.shr-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin: 0 0 24px;
}

.shr-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 26px;
  color: var(--color-text-primary);
  text-wrap: balance;
}

.shr-sub {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 0 0 32px;
  max-width: 520px;
}

.shr-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.shr-trust {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  margin: 0;
}

/* Scroll reel — left-column cards, one per scene. min-height drives total
   reel height so the sticky frame has enough scroll travel to crossfade. */
.shr-reel {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0 20px;
  margin: 0;
  list-style: none;
}
.shr-reel-card {
  position: relative;
  max-width: 440px;
  opacity: 0.35;
  transform: translateY(8px);
  transition: opacity 300ms ease, transform 300ms ease;
  padding: 32px 0;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.shr-reel-card.on {
  opacity: 1;
  transform: none;
}
.shr-reel-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-brand);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.shr-reel-h {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--color-text-primary);
}
.shr-reel-b {
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 0;
}

/* Right column — sticky frame + progress rail. */
.shr-right {
  position: relative;
  align-self: stretch;
  width: 100%;
  min-width: 0;
}
.shr-sticky {
  position: sticky;
  top: 110px;
  height: calc(100vh - 160px);
  max-height: 720px;
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 20px;
}
.shr-frame {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 420px;
  height: 100%;
}
.shr-rail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 6px 2px;
  flex: 0 0 auto;
}
.shr-rail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border);
  transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  display: block;
}
.shr-rail-dot.on {
  background: var(--color-brand);
  box-shadow: 0 0 0 4px rgba(119, 35, 16, 0.1);
  transform: scale(1.2);
}

/* Scenes — absolutely-positioned cross-faders inside .shr-frame. */
.shr-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 160ms linear;
  pointer-events: none;
}
.shr-scene--on {
  opacity: 1;
  pointer-events: auto;
}

/* AppFrame — chrome + body, used by every scene. */
.appframe {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 22px 50px rgba(47, 53, 53, 0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
}
.appframe-chrome {
  padding: 10px 14px;
  background: #FBFAF7;
  border-bottom: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.appframe-dots {
  display: inline-flex;
  gap: 6px;
}
.appframe-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.appframe-dots span:nth-child(1) { background: #E5AFA4; }
.appframe-dots span:nth-child(2) { background: #E8D3A4; }
.appframe-dots span:nth-child(3) { background: #B6D6B6; }
.appframe-title {
  font-size: 11.5px;
  color: var(--color-text-muted);
  text-align: center;
}
.appframe-chip {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--color-brand);
  background: var(--color-brand-light);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.appframe-body {
  flex: 1;
  min-height: 0;
  display: flex;
}

/* LaneGrid — Gantt mock used in scenes 1 & 2. */
.lanegrid-lanes {
  width: 120px;
  padding: 14px 12px;
  border-right: 1px solid var(--color-border);
  background: var(--color-background);
  font-size: 10.5px;
  color: var(--color-text-primary);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lanegrid-lanes span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.lanegrid-lanes i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand);
  opacity: 0.7;
  display: inline-block;
}
.lanegrid-canvas {
  position: relative;
  background: #ffffff;
  flex: 1;
  min-width: 0;
}
.lanegrid-times {
  height: 22px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  font-size: 9px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  align-items: flex-end;
  padding: 0 0 4px;
}
.lanegrid-times span {
  flex: 1;
  padding-left: 5px;
}
.lanegrid-row {
  position: absolute;
  left: 0;
  right: 0;
  height: 18px;
}
.lanegrid-row b {
  position: absolute;
  height: 18px;
  border-radius: 3px;
  background: rgba(180, 140, 60, 0.22);
  border: 1px solid rgba(180, 140, 60, 0.5);
  transition: left 700ms var(--ease-out-expo), width 700ms var(--ease-out-expo), background 500ms ease;
  display: block;
}
.lanegrid-row b.green {
  background: var(--color-success);
  border: none;
}
.lanegrid-now {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: var(--color-error);
  transition: left 400ms ease;
}

/* Lucie tooltip overlay (Scene 2 — AI Replan). */
.lucie-tooltip {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 260px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(47, 53, 53, 0.1);
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--color-text-primary);
}
.lucie-tooltip-kicker {
  font-size: 9.5px;
  font-family: var(--font-mono);
  color: var(--color-brand);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.lucie-tooltip-body {
  color: var(--color-text-muted);
  margin: 0;
}

/* KPI grid (Scene 3). */
.kpi-grid {
  padding: 22px 26px;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 0;
}
.kpi-card {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}
.kpi-num {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 500;
  color: var(--color-brand);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}
.kpi-num.kpi-good { color: var(--color-success); }
.kpi-label {
  font-size: 12px;
  color: var(--color-text-primary);
  margin: 8px 0 0;
}
.kpi-sub {
  font-size: 10.5px;
  color: var(--color-text-muted);
  margin: 2px 0 0;
}

/* Mobile fallback — visible only at <1000px (right pane is hidden). */
.shr-mobile-fallback {
  display: none;
  margin: 24px 0 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.shr-mobile-fallback img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1000px) {
  .shr-grid { grid-template-columns: 1fr; gap: 32px; }
  .shr-right { display: none; }
  .shr-left  { padding: 16px 0 60px; }
  .shr-intro { margin-bottom: 24px; }
  .shr-mobile-fallback { display: block; }
  /* Reel cards on mobile: drop the 70vh forced height — just stacked cards. */
  .shr-reel-card {
    min-height: 0;
    padding: 24px 0 24px 16px;
    opacity: 1;          /* no scrollytelling on mobile */
    transform: none;
    border-left-color: var(--color-brand);
  }
}

/* Reduced motion — disable cross-fade and reel highlighting; show first
   scene only and treat reel cards as a static stacked list. */
@media (prefers-reduced-motion: reduce) {
  .shr-scene,
  .shr-reel-card,
  .shr-rail-dot,
  .lanegrid-row b,
  .lanegrid-now {
    transition: none !important;
  }
  .shr-scene { opacity: 0; }
  .shr-scene--on { opacity: 1; }
  .shr-reel-card {
    opacity: 1;
    transform: none;
    border-left-color: var(--color-brand);
  }
}

/* ============================================================
 * v11 — REDESIGN BLOCK
 * 5-beat agent hero · MeetLucie dark band · Scoreboard table ·
 * Integrations marquee · dark FinalCta · 4-column footer.
 * Tokens reused from above: --color-brand, --color-background-deep,
 * --font-display, --font-mono, --color-surface-warm, etc.
 * ============================================================ */

/* ------------------------------------------------------------
 * v11 — STATS (oversized numerals)
 * ------------------------------------------------------------ */
.stats-v10 {
  padding: 104px 0 96px;
  background: var(--color-background);
}
.stats-v10 .stats-head { max-width: 760px; margin-bottom: 56px; }
.stats-v10 .stats-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 16px;
}
.stats-v10 .stats-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--color-text-primary);
  text-wrap: balance;
}
.stats-grid-v10 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px;
  grid-auto-rows: min-content;
  align-items: start;
}
@supports (grid-template-rows: subgrid) {
  .stats-grid-v10 {
    grid-template-rows: auto clamp(80px, 9.4vw, 138px) auto auto;
  }
  .stat-v10 {
    grid-row: span 4;
    grid-template-rows: subgrid;
  }
}
.stat-v10 {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: grid;
  grid-template-rows: auto clamp(80px, 9.4vw, 138px) auto auto;
  gap: 16px;
}
.stat-idx-v10 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
}
.stat-n-v10 {
  align-self: end;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(64px, 7vw, 100px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--color-brand);
  font-variant-numeric: tabular-nums;
  text-align: left;
  width: 100%;
  min-width: 0;
}
.stats-v10 .stat-l {
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text-primary);
  margin: 0;
}
.stats-v10 .stat-src {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}
.stats-v10 .stat-src a {
  color: var(--color-brand);
  text-decoration: none;
  border-bottom: 1px dotted rgba(119, 35, 16, 0.4);
  transition: border-bottom-color var(--transition-fast);
}
.stats-v10 .stat-src a:hover { border-bottom-color: var(--color-brand); }
.stats-v10 .stat-year { color: var(--color-text-muted); }

@media (max-width: 1000px) {
  .stats-v10 { padding: 72px 0 64px; }
  .stats-grid-v10 {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 40px;
  }
  .stat-v10 { grid-template-rows: auto auto auto auto; }
  .stat-n-v10 { font-size: clamp(56px, 14vw, 80px); }
}

/* ------------------------------------------------------------
 * v11 — MEET LUCIE (dark band, sticky screenshot, mini-UI rows)
 * ------------------------------------------------------------ */
.meet-lucie {
  background: var(--color-background-deep);
  color: var(--color-dark-text-primary);
  padding: 128px 0 144px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ml-container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: start;
}
.ml-visual { position: relative; min-height: 100%; }
.ml-visual-sticky {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ml-shot-frame {
  background: #2A2F2F;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25);
}
.ml-shot-chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #232727;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ml-shot-dots { display: inline-flex; gap: 6px; }
.ml-shot-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.ml-shot-dots span:nth-child(1) { background: #E5AFA4; }
.ml-shot-dots span:nth-child(2) { background: #E8D3A4; }
.ml-shot-dots span:nth-child(3) { background: #B6D6B6; }
.ml-shot-title {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(245, 240, 235, 0.6);
  text-align: center;
}
.ml-shot-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #E5AFA4;
  background: rgba(229, 175, 164, 0.12);
  padding: 3px 9px;
  border-radius: 99px;
}
.ml-shot {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0.96);
}
.ml-visual-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(245, 240, 235, 0.55);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ml-caption-dot {
  width: 6px;
  height: 6px;
  background: #7DD49C;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(125, 212, 156, 0.18);
  animation: ml-pulse 2.4s ease-in-out infinite;
}
@keyframes ml-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.ml-content { display: flex; flex-direction: column; gap: 56px; }
.ml-head { max-width: 540px; }
.ml-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E5AFA4;
  margin-bottom: 18px;
}
.ml-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: var(--color-dark-text-primary);
  text-wrap: balance;
}
.ml-wm {
  font-family: var(--font-wordmark);
  font-variation-settings: 'opsz' 72;
  color: #E5AFA4;
  font-style: normal;
  font-weight: 400;
}
.ml-sub {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(245, 240, 235, 0.7);
  margin: 0;
  max-width: 520px;
}

/* Value-prop one-liners */
.ml-vp {
  list-style: none;
  margin: 0;
  padding: 22px 0;
  display: grid;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ml-vp-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: baseline;
  gap: 14px;
}
.ml-vp-mark {
  font-family: var(--font-mono);
  color: #E5AFA4;
  font-size: 14px;
}
.ml-vp-h {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  color: rgba(245, 240, 235, 0.92);
  letter-spacing: -0.005em;
  line-height: 1.35;
}

/* Feature rows */
.ml-feats { display: grid; gap: 36px; }
.ml-feat {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 200px;
  gap: 20px 24px;
  align-items: start;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ml-feat-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #E5AFA4;
  padding-top: 4px;
  font-variant-numeric: tabular-nums;
}
.ml-feat-body { min-width: 0; }
.ml-feat-body h3 {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-dark-text-primary);
  margin: 0 0 8px;
  line-height: 1.3;
}
.ml-feat-body p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(245, 240, 235, 0.65);
  margin: 0;
  max-width: 460px;
}
.ml-feat-mini {
  width: 200px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
}
.mini-ui { display: block; width: 100%; height: 100%; }

@media (max-width: 1100px) {
  .ml-container { grid-template-columns: 1fr; gap: 56px; }
  .ml-visual-sticky { position: relative; top: 0; }
  .ml-visual-sticky .ml-shot-frame { max-width: 640px; }
  .ml-feat { grid-template-columns: 32px 1fr; }
  .ml-feat-mini {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 360px;
    margin-top: 6px;
  }
}
@media (max-width: 600px) {
  .meet-lucie { padding: 88px 0 96px; }
  .ml-feats { gap: 28px; }
  .ml-feat { gap: 14px 16px; }
}

/* ------------------------------------------------------------
 * v11 — INTEGRATIONS — restored to published-site marquee.
 * Dark band, white-silhouette logos in continuous horizontal scroll.
 * Base marquee CSS lives at .integrations* block above; this block only
 * overrides v11 spacing so it sits cleanly between MeetLucie and Scoreboard.
 * ------------------------------------------------------------ */
.integrations { padding: 96px 0; }
.integrations .section-header { max-width: 760px; margin: 0 auto 48px; text-align: center; }

@media (max-width: 1000px) {
  .integrations { padding: 72px 0; }
}

/* ------------------------------------------------------------
 * v11 — SCOREBOARD (Why Now table; replaces .why-now)
 * ------------------------------------------------------------ */
.why-now-table {
  padding: 112px 0 128px;
  background: var(--color-surface-warm);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.wnt-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.wnt-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 20px;
}
.wnt-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--color-text-primary);
  text-wrap: balance;
}
.wnt-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
  max-width: 640px;
}
.wnt-table-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 12px 32px rgba(47, 53, 53, 0.05);
}
.wnt-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.wnt-table thead tr { background: var(--color-surface-warm); }
.wnt-th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: left;
  padding: 16px 28px;
  border-bottom: 1px solid var(--color-border);
}
.wnt-th + .wnt-th { border-left: 1px solid var(--color-border); }
.wnt-th-dim    { width: 50%; }
.wnt-th-before { width: 22%; color: var(--color-text-muted); }
.wnt-th-after  { width: 28%; color: var(--color-brand); }

.wnt-tr + .wnt-tr .wnt-td { border-top: 1px solid var(--color-border); }
.wnt-td {
  padding: 26px 28px;
  vertical-align: middle;
}
.wnt-td + .wnt-td { border-left: 1px solid var(--color-border); }
.wnt-td-before { background: rgba(0, 0, 0, 0.015); text-align: left; }
.wnt-td-after  { background: var(--color-brand-light); text-align: left; }

.wnt-dim-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-brand);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.wnt-dim-l {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}
.wnt-dim-d {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-secondary);
  max-width: 460px;
  margin: 0;
}
.wnt-val {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}
.wnt-td-before .wnt-val {
  color: var(--color-text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(0, 0, 0, 0.22);
  text-decoration-thickness: 1px;
}
.wnt-td-after .wnt-val {
  color: var(--color-brand);
  font-weight: 500;
}

@media (max-width: 900px) {
  .wnt-table, .wnt-table thead, .wnt-table tbody,
  .wnt-table tr, .wnt-table th, .wnt-table td { display: block; width: auto; }
  .wnt-table thead { display: none; }
  .wnt-tr { border-bottom: 1px solid var(--color-border); }
  .wnt-tr:last-child { border-bottom: 0; }
  .wnt-td { border-left: 0 !important; padding: 18px 22px; }
  .wnt-tr + .wnt-tr .wnt-td { border-top: 0; }
  .wnt-td-dim {
    padding-top: 22px;
    padding-bottom: 8px;
    border-top: 1px solid var(--color-border);
  }
  .wnt-tr:first-child .wnt-td-dim { border-top: 0; }
  .wnt-td-before, .wnt-td-after {
    display: flex !important;
    align-items: baseline;
    gap: 14px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .wnt-td-before::before, .wnt-td-after::before {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    width: 80px;
    flex: 0 0 80px;
  }
  .wnt-td-before::before { content: attr(data-label); }
  .wnt-td-after::before  { content: attr(data-label); color: var(--color-brand); }
  .wnt-td-after { padding-bottom: 22px; }
}

/* ------------------------------------------------------------
 * v11 — FINAL CTA dark variant
 * ------------------------------------------------------------ */
.final-cta-v11 {
  padding: 144px 0 152px;
  text-align: center;
  background: var(--color-background-deep);
  color: var(--color-dark-text-primary);
  /* Override any prior .final-cta::before decoration */
}
.final-cta-v11::before { display: none !important; content: none !important; }
.final-cta-v11 .cta-title,
.final-cta-v11 h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--color-dark-text-primary);
  margin: 0 auto 36px;
  max-width: 820px;
  text-wrap: balance;
}
.final-cta-v11 .cta-title em,
.final-cta-v11 h2 em {
  font-style: italic;
  color: #E5AFA4;
}
.final-cta-v11 .btn-primary {
  background: #fff;
  color: var(--color-background-deep);
  border-color: #fff;
}
.final-cta-v11 .btn-primary:hover {
  background: var(--color-surface-warm);
  color: var(--color-background-deep);
  border-color: var(--color-surface-warm);
}

/* ------------------------------------------------------------
 * v11 — FOOTER (4-column grid + compliance bottom strip)
 * ------------------------------------------------------------ */
.footer-grid-v11 {
  grid-template-columns: 2fr 1fr 1fr 1fr !important;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--color-dark-border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--color-dark-text-tertiary);
}
.footer-bottom .footer-copyright {
  margin: 0;
  padding: 0;
  border: 0;
  text-align: left;
  font-size: 11px;
  color: var(--color-dark-text-tertiary);
}
.footer-compliance {
  margin: 0;
  font-size: 11px;
  color: var(--color-dark-text-tertiary);
  letter-spacing: 0.04em;
}
@media (max-width: 1000px) {
  .footer-grid-v11 { grid-template-columns: 1fr 1fr !important; }
  .footer-bottom { justify-content: flex-start; }
}

/* ------------------------------------------------------------
 * v11 — HERO (scroll-hero-v9 overrides)
 * Source of truth: Lucie-design/examples/lucie-website/styles.css L1261-1337
 * Faithful 1:1 port — no custom edits. Headline size, grid ratio, gap,
 * intro max-width, em styling all inherit from base .scroll-hero block.
 * ------------------------------------------------------------ */
.scroll-hero-v9 .shr-grid {
  align-items: start;
}
.scroll-hero-v9 .shr-left {
  padding: 0 0 80px;
}
.scroll-hero-v9 .shr-intro {
  min-height: calc(100vh - 110px);
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 24px;
}
.scroll-hero-v9 .shr-reel {
  gap: 0;
  padding-bottom: 0;
}
.scroll-hero-v9 .shr-reel-card {
  min-height: 65vh;
  padding: 0;
  justify-content: center;
}
.scroll-hero-v9 .shr-sticky {
  top: 0;
  height: 100vh;
  max-height: none;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-hero-v9 .shr-frame {
  height: min(560px, 62vh);
  min-height: 420px;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  flex: 0 1 auto;
}

@media (max-width: 1000px) {
  .scroll-hero-v9 .shr-intro {
    min-height: 0;
    display: block;
    padding-bottom: 0;
  }
  .scroll-hero-v9 .shr-reel-card {
    min-height: 0;
    padding: 0;
  }
  .scroll-hero-v9 .shr-sticky {
    height: auto;
    padding: 0;
  }
}

/* ------------------------------------------------------------
 * v11 — HERO SCENE MINI-UIs (v8 visual ports, inline)
 * Shared frame chrome.
 * ------------------------------------------------------------ */
.v8frame {
  width: 100%;
  height: 100%;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 22px 50px rgba(47, 53, 53, 0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  position: relative;
}
.v8frame-chrome {
  padding: 10px 14px;
  background: #FBFAF7;
  border-bottom: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.v8frame-dots { display: inline-flex; gap: 6px; }
.v8frame-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.v8frame-dots span:nth-child(1) { background: #E5AFA4; }
.v8frame-dots span:nth-child(2) { background: #E8D3A4; }
.v8frame-dots span:nth-child(3) { background: #B6D6B6; }
.v8frame-title {
  font-size: 11.5px;
  color: var(--color-text-muted);
  text-align: center;
}
.v8frame-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-brand);
  background: var(--color-brand-light);
}
.v8frame-chip--live  { color: #15803D; background: rgba(34, 197, 94, 0.14); }
.v8frame-chip--work  { color: #92400E; background: rgba(212, 148, 10, 0.18); }
.v8frame-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  display: inline-block;
}
.v8frame-body {
  flex: 1;
  min-height: 0;
  display: flex;
  position: relative;
}

/* Scene 1 — Ask (chat) */
.v8scene-ask {
  flex-direction: column;
  background: var(--color-background);
}
.v8ask-conv {
  flex: 1;
  padding: 28px 32px 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}
.v8ask-greeting {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 80%;
}
.v8ask-avatar {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-wordmark);
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.v8ask-bubble {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--color-text-primary);
  line-height: 1.5;
}
.v8ask-meta {
  font-size: 10.5px;
  color: var(--color-text-muted);
  margin-top: 6px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.v8ask-user {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}
.v8ask-userbubble {
  background: var(--color-brand);
  color: #fff;
  border-radius: 12px 12px 4px 12px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 78%;
  min-height: 42px;
}
.v8ask-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  margin-left: 2px;
  background: #fff;
  vertical-align: -2px;
  animation: v8-cursor 900ms steps(1) infinite;
}
@keyframes v8-cursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.v8ask-composer {
  flex: 0 0 auto;
  margin: 0 22px 22px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.v8ask-suggestions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.v8ask-chip {
  font-size: 10.5px;
  font-family: var(--font-mono);
  color: var(--color-text-muted);
  background: var(--color-background);
  border: 1px solid var(--color-border);
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  transition: all 200ms ease;
}
.v8ask-chip--on {
  color: var(--color-brand);
  background: var(--color-brand-light);
  border-color: rgba(119, 35, 16, 0.25);
}
.v8ask-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
}
.v8ask-input-text {
  flex: 1;
  font-size: 12.5px;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  min-height: 18px;
}
.v8ask-send {
  background: var(--color-brand);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
}

/* Scene 2 — Reason (thinking) */
.v8scene-think {
  flex-direction: column;
  padding: 24px 28px;
  gap: 14px;
  background: #fff;
  overflow: hidden;
}
.v8think-echo {
  align-self: flex-end;
  background: var(--color-brand-light);
  color: var(--color-brand);
  padding: 8px 12px;
  border-radius: 10px 10px 2px 10px;
  font-size: 11.5px;
  line-height: 1.45;
  max-width: 80%;
  font-family: var(--font-sans);
}
.v8think-trace {
  background: var(--color-surface-warm);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
}
.v8think-trace-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.v8think-step {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: flex-start;
  transition: opacity 280ms ease;
}
.v8think-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 1.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  background: transparent;
  border: 1.5px solid var(--color-border);
}
.v8think-dot--done    { background: var(--color-brand); border-color: var(--color-brand); }
.v8think-dot--plan    { background: #22C55E; border-color: #22C55E; }
.v8think-dot--active  { background: var(--color-brand); border-color: var(--color-brand); }
.v8think-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: v8-pulse 1.1s ease-in-out infinite;
}
@keyframes v8-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}
.v8think-step-i {
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: var(--color-text-primary);
  font-weight: 500;
}
.v8think-step--plan .v8think-step-i { font-weight: 600; }
.v8think-step-d {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--color-text-muted);
  margin-top: 2px;
  letter-spacing: 0.01em;
}
.v8think-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}
.v8think-status { color: #22C55E; }

/* Scenes 3 & 4 — Gantt mock */
.v8scene-diagnose, .v8scene-fix {
  flex-direction: row;
}
.v8gantt {
  flex: 1;
  display: grid;
  grid-template-columns: 112px 1fr;
  min-height: 0;
}
.v8gantt-lanes {
  padding: 14px 12px;
  border-right: 1px solid var(--color-border);
  background: var(--color-background);
  font-size: 10.5px;
  color: var(--color-text-primary);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.v8gantt-lanes span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.v8gantt-lanes i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand);
  opacity: 0.7;
  display: inline-block;
}
.v8gantt-lane--alert {
  color: var(--color-brand);
  font-weight: 600;
}
.v8gantt-lane--alert i {
  background: var(--color-error);
  opacity: 1;
  animation: v8-pulse 1.1s ease-in-out infinite;
}
.v8gantt-canvas {
  position: relative;
  background: #fff;
}
.v8gantt-times {
  height: 22px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  font-size: 9px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  align-items: flex-end;
  padding: 0 0 4px;
}
.v8gantt-times span {
  flex: 1;
  padding-left: 5px;
}
.v8gantt-row {
  position: absolute;
  left: 0;
  right: 0;
  height: 16px;
}
.v8gantt-row b {
  position: absolute;
  height: 16px;
  border-radius: 3px;
  display: block;
  background: rgba(212, 148, 10, 0.18);
  border: 1px solid rgba(212, 148, 10, 0.55);
  transition: left 800ms cubic-bezier(0.16, 1, 0.3, 1), width 800ms cubic-bezier(0.16, 1, 0.3, 1), background 400ms ease, border 400ms ease;
}
.v8gantt-row b.green {
  background: #22C55E;
  border: none;
}
.v8gantt-row b.broken {
  background: repeating-linear-gradient(45deg, rgba(239, 68, 68, 0.18) 0 4px, rgba(239, 68, 68, 0.32) 4px 8px);
  border: 1px solid var(--color-error);
}
.v8gantt-row b.ghost {
  background: transparent;
  border: 1.2px dashed var(--color-brand);
}
.v8gantt-now {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: var(--color-error);
  transition: left 400ms ease;
}

/* Scene 3 — Diagnose callout */
.v8callout {
  position: absolute;
  top: 38px;
  right: 18px;
  width: 228px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(47, 53, 53, 0.12);
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--color-text-primary);
}
.v8callout-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.v8callout-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-wordmark);
  font-size: 10px;
  font-style: italic;
}
.v8callout-kicker {
  font-size: 9.5px;
  font-family: var(--font-mono);
  color: var(--color-brand);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.v8callout-title {
  font-weight: 600;
  margin-bottom: 4px;
}
.v8callout-body {
  color: var(--color-text-muted);
  margin: 0 0 10px;
}
.v8callout-cta {
  width: 100%;
  background: var(--color-brand);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
}

/* Scene 4 — Fix confirmation */
.v8confirm {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 240px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(47, 53, 53, 0.10);
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--color-text-primary);
}
.v8confirm-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.v8confirm-check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22C55E;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}
.v8confirm-kicker {
  font-size: 9.5px;
  font-family: var(--font-mono);
  color: #15803D;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.v8confirm-title {
  font-weight: 600;
  margin-bottom: 2px;
}
.v8confirm-sub {
  color: var(--color-text-muted);
}

/* Scene 5 — Result KPI grid */
.v8scene-result {
  flex: 1;
  padding: 22px 26px;
  background: #fff;
}
.v8result-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  width: 100%;
  min-height: 0;
}
.v8result-card {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.v8result-num {
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 500;
  color: var(--color-brand);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.v8result-num--good { color: #22C55E; }
.v8result-l {
  font-size: 12px;
  color: var(--color-text-primary);
  margin-top: 8px;
}
.v8result-sub {
  font-size: 10.5px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* Reduced-motion: pause hero micro-anims. */
@media (prefers-reduced-motion: reduce) {
  .ml-caption-dot,
  .v8ask-cursor,
  .v8think-pulse,
  .v8gantt-lane--alert i {
    animation: none !important;
  }
  .v8gantt-row b,
  .v8gantt-now {
    transition: none !important;
  }
}
