/* Product pages — shared template */

.product-page {
  background: var(--surface);
}

.product-hero {
  padding: clamp(3.5rem, 10vh, 6rem) 0 clamp(2.75rem, 6vh, 4rem);
  text-align: center;
}

.product-hero-inner {
  max-width: 44rem;
  margin-inline: auto;
}

.product-hero-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem 0.75rem;
  margin: 0 0 1.75rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--muted);
}

.product-hero-meta-name {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 400;
}

.product-hero-meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text);
  flex-shrink: 0;
}

.product-hero-meta-sep {
  width: 1px;
  height: 0.875rem;
  background: var(--line);
  flex-shrink: 0;
}

.product-hero h1 {
  margin: 0 0 0.375rem;
  font-size: clamp(2rem, 4.25vw, 2.875rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text);
  text-wrap: nowrap;
}

.product-hero-subtitle {
  margin: 0 auto;
  max-width: 36rem;
  font-size: clamp(1.0625rem, 2.1vw, 1.3125rem);
  line-height: 1.5;
  font-weight: 400;
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
  text-wrap: balance;
}

.product-page:not(.industry-page) .product-hero-inner {
  max-width: 56rem;
}

.product-page:not(.industry-page) .product-hero-subtitle {
  max-width: none;
  text-wrap: nowrap;
}

.product-hero-lead {
  margin: 0 auto 2.25rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.6;
}

.product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.product-hero .btn-dark {
  border-radius: 999px;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.product-hero .btn-dark svg {
  margin-left: 0.125rem;
}

@media (max-width: 640px) {
  .product-hero-meta-sep {
    display: none;
  }

  .product-hero h1 {
    text-wrap: balance;
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .product-hero-subtitle {
    font-size: 1rem;
    line-height: 1.45;
  }

  .product-page:not(.industry-page) .product-hero-subtitle {
    text-wrap: balance;
  }

  .product-hero-meta {
    flex-direction: column;
    gap: 0.375rem;
  }

  .product-hero-actions {
    width: 100%;
    max-width: 18rem;
    margin-inline: auto;
  }

  .product-hero .btn-dark {
    width: 100%;
  }
}

.product-hero-media {
  --hero-media-progress: 0;
  --hero-canvas-ratio: 1.35;
  --hero-window-max: 73.5rem;
  padding: 0 clamp(0.75rem, 2vw, 1.25rem) clamp(2.5rem, 5vw, 3.5rem);
}

.product-hero-media-canvas {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 93.5%;
  max-width: 93.5%;
  min-height: clamp(33.6rem, 62.4vw, 50.4rem);
  margin-inline: auto;
  padding:
    clamp(3rem, 5.5vw, 4.5rem)
    clamp(1.75rem, 4.5vw, 3.5rem)
    0;
  border-radius: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  background: #f8fafc;
}

.product-page .product-hero-media-canvas::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(900px, 120%);
  height: min(650px, 85%);
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse,
    rgba(100, 150, 255, 0.55) 0%,
    rgba(120, 165, 255, 0.32) 25%,
    rgba(150, 185, 255, 0.12) 50%,
    transparent 72%
  );
  filter: blur(45px);
  pointer-events: none;
}

.product-page .product-hero-media-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 0% 75%,
      rgba(100, 170, 255, 0.22),
      transparent 30%
    ),
    radial-gradient(
      circle at 100% 75%,
      rgba(255, 220, 100, 0.22),
      transparent 28%
    ),
    radial-gradient(
      circle at 5% 100%,
      rgba(255, 170, 140, 0.18),
      transparent 25%
    ),
    radial-gradient(
      circle at 95% 100%,
      rgba(150, 220, 170, 0.16),
      transparent 25%
    );
}

.product-hero-media-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  transform: scale(calc(0.52 + 0.48 * var(--hero-media-progress, 0)));
  transform-origin: center bottom;
  will-change: transform;
}

.product-hero-media-window {
  position: relative;
  width: min(100%, 73.5rem);
  aspect-ratio: 16 / 10;
  background: #fff;
  border-radius: 14px 14px 0 0;
  box-shadow:
    0 -8px 40px rgba(15, 23, 42, 0.06),
    0 24px 64px rgba(15, 23, 42, 0.11);
  overflow: hidden;
}

.product-hero-media-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.product-hero-media-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.product-hero-media-window .product-visual {
  height: 100%;
}

.product-hero-media-window .industry-demo-panel {
  height: 100%;
  max-width: none;
  margin: 0;
  border: none;
  border-radius: 0;
}

@media (prefers-reduced-motion: reduce) {
  .product-hero-media {
    --hero-media-progress: 1;
  }

  .product-hero-media-inner {
    transform: none;
    will-change: auto;
  }
}

@media (min-width: 1280px) {
  .product-page .product-hero-media-window {
    width: min(100%, 82rem);
  }
}

@media (min-width: 1720px) {
  .product-page .product-hero-media {
    --hero-window-max: min(88rem, calc(93.5vw / var(--hero-canvas-ratio)));
  }

  .product-page .product-hero-media-canvas {
    width: calc(var(--hero-window-max) * var(--hero-canvas-ratio));
    max-width: 93.5%;
    padding-inline: 0;
    min-height: calc(
      var(--hero-window-max) / (16 / 10) +
      clamp(3rem, 5.5vw, 4.5rem)
    );
  }

  .product-page .product-hero-media-inner {
    width: calc(100% / var(--hero-canvas-ratio));
    margin-inline: auto;
  }

  .product-page .product-hero-media-window {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 960px) {
  .product-page {
    --hero-mobile-bottom: 3.5rem;
    --hero-mobile-section-top: 2rem;
  }

  .product-hero {
    padding: 2.5rem 0 1.5rem;
  }

  .product-hero-media {
    --product-hero-mock-scale: 0.32;
    padding: 0 max(0.75rem, env(safe-area-inset-right)) var(--hero-mobile-bottom)
      max(0.75rem, env(safe-area-inset-left));
  }

  .product-hero-media + section {
    padding-top: var(--hero-mobile-section-top);
  }

  .product-hero-media-inner {
    transform: none;
    will-change: auto;
  }

  .product-hero-media-canvas {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    align-items: flex-end;
    padding: 1.5rem 0.625rem 0;
    border-radius: 1.25rem;
  }

  .product-page .product-hero-media-canvas::before {
    top: -5rem;
    height: min(22rem, 88%);
  }

  .product-hero-media-window {
    width: 100%;
    aspect-ratio: 16 / 12;
    border-radius: 10px 10px 0 0;
  }

  .product-page .product-hero-media-window .product-visual {
    overflow: hidden;
    width: 100%;
    height: 100%;
  }

  .product-page .product-hero-media-window .product-chat-mock,
  .product-page .product-hero-media-window .product-files-mock,
  .product-page .product-hero-media-window .product-dashboard-mock {
    transform: scale(var(--product-hero-mock-scale));
    transform-origin: top left;
    width: calc(100% / var(--product-hero-mock-scale));
    height: calc(100% / var(--product-hero-mock-scale));
  }
}

@media (min-width: 480px) and (max-width: 960px) {
  .product-hero-media {
    --product-hero-mock-scale: 0.36;
  }
}

/* Scrollytelling features — dull inactive copy, sticky preview on the right */

.product-scroll {
  position: relative;
  padding: 0 0 clamp(4rem, 8vw, 6rem);
  --product-stage-h: clamp(22rem, 52vh, 32rem);
  --product-feature-step: clamp(30rem, 50vh, 36rem);
  --product-stage-pin-top: max(
    var(--nav-shell-h, 84px),
    calc(50dvh - var(--product-stage-h) / 2)
  );
}

.product-scroll-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: stretch;
  position: relative;
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.product-scroll-copy {
  display: flex;
  flex-direction: column;
}

.product-scroll-feature {
  display: flex;
  flex-direction: column;
  min-height: clamp(26rem, 70vh, 38rem);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  opacity: 0.22;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 961px) {
  .product-scroll-copy {
    padding-bottom: 0;
    gap: clamp(3rem, 6vh, 4.5rem);
  }

  .product-scroll-feature {
    padding: 0;
  }

  .product-scroll-feature:first-child {
    min-height: var(--product-stage-h);
    justify-content: flex-end;
  }

  .product-scroll-feature:not(:first-child):not(:last-child) {
    min-height: var(--product-feature-step);
    justify-content: center;
  }

  .product-scroll-feature:last-child {
    min-height: var(--product-stage-h);
    justify-content: flex-start;
  }
}

.product-scroll-feature.is-active {
  opacity: 1;
}

.product-scroll-feature-head {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.product-scroll-feature-head svg {
  flex-shrink: 0;
  color: var(--text);
}

.product-scroll-feature h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.032em;
  line-height: 1.12;
  color: var(--text);
}

.product-scroll-intro {
  margin: 0 0 1.25rem;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.product-scroll-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  max-width: 28rem;
}

.product-scroll-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
}

.product-scroll-list svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--text);
  opacity: 0.55;
}

.product-scroll-feature.is-active .product-scroll-list svg {
  opacity: 0.85;
}

.product-scroll-visual {
  position: relative;
  align-self: stretch;
}

.product-scroll-visual-inner {
  position: sticky;
  top: var(--product-stage-pin-top);
  width: 100%;
}

.product-scroll-visual-stage {
  position: relative;
  width: 100%;
  min-height: var(--product-stage-h);
  height: var(--product-stage-h);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .product-scroll-feature {
    transition: none;
  }

  .product-scroll-feature {
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .product-scroll-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .product-scroll.is-mobile-scroll .product-scroll-visual {
    display: none;
  }

  .product-scroll.is-mobile-scroll,
  .industry-scroll.is-mobile-scroll {
    --product-scroll-preview-scale: 0.54;
    overflow-x: clip;
    padding-bottom: clamp(3rem, 7vh, 4rem);
  }

  .product-scroll.is-mobile-scroll .product-scroll-layout,
  .industry-scroll.is-mobile-scroll .product-scroll-layout {
    padding-top: 0.5rem;
  }

  .product-scroll.is-mobile-scroll .product-scroll-layout,
  .product-scroll.is-mobile-scroll .product-scroll-copy,
  .industry-scroll.is-mobile-scroll .product-scroll-layout,
  .industry-scroll.is-mobile-scroll .product-scroll-copy {
    gap: 4.5rem;
    min-width: 0;
    max-width: 100%;
  }

  .product-scroll.is-mobile-scroll .product-scroll-feature,
  .industry-scroll.is-mobile-scroll .product-scroll-feature {
    min-width: 0;
    max-width: 100%;
    min-height: auto;
    padding: 0;
    opacity: 1;
    justify-content: flex-start;
  }

  .product-scroll.is-mobile-scroll .product-scroll-intro,
  .product-scroll.is-mobile-scroll .product-scroll-list,
  .industry-scroll.is-mobile-scroll .product-scroll-intro,
  .industry-scroll.is-mobile-scroll .product-scroll-list {
    max-width: none;
  }

  .product-scroll.is-mobile-scroll .product-scroll-feature-visual,
  .industry-scroll.is-mobile-scroll .product-scroll-feature-visual {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-bottom: 1.75rem;
    overflow: hidden;
  }

  .product-scroll.is-mobile-scroll .product-scroll-feature-visual .product-scroll-visual-stage,
  .product-scroll.is-mobile-scroll .product-scroll-feature-visual .chat-feature-preview-stage,
  .product-scroll.is-mobile-scroll .product-scroll-feature-visual .files-feature-preview-stage,
  .product-scroll.is-mobile-scroll .product-scroll-feature-visual .dashboard-feature-preview-stage,
  .industry-scroll.is-mobile-scroll .product-scroll-feature-visual .product-scroll-visual-stage,
  .industry-scroll.is-mobile-scroll .product-scroll-feature-visual .chat-feature-preview-stage,
  .industry-scroll.is-mobile-scroll .product-scroll-feature-visual .files-feature-preview-stage,
  .industry-scroll.is-mobile-scroll .product-scroll-feature-visual .dashboard-feature-preview-stage {
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: clamp(14rem, 52vw, 20rem);
    height: clamp(14rem, 52vw, 20rem);
    overflow: hidden;
  }

  .product-scroll.is-mobile-scroll .product-scroll-feature-visual .chat-feature-preview,
  .product-scroll.is-mobile-scroll .product-scroll-feature-visual .files-feature-preview,
  .product-scroll.is-mobile-scroll .product-scroll-feature-visual .dashboard-feature-preview,
  .industry-scroll.is-mobile-scroll .product-scroll-feature-visual .chat-feature-preview,
  .industry-scroll.is-mobile-scroll .product-scroll-feature-visual .files-feature-preview,
  .industry-scroll.is-mobile-scroll .product-scroll-feature-visual .dashboard-feature-preview {
    position: relative;
    inset: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform: scale(var(--product-scroll-preview-scale));
    transform-origin: top left;
    width: calc(100% / var(--product-scroll-preview-scale));
    height: calc(100% / var(--product-scroll-preview-scale));
    transition: none;
  }
}

/* Chat — sub-feature grid (below scroll features) */

.product-sub-features {
  padding: clamp(3rem, 8vh, 5rem) 0;
  border-top: 1px solid var(--line);
}

.product-sub-features-head {
  margin-bottom: clamp(2rem, 5vh, 3rem);
}

@media (min-width: 768px) {
  .product-sub-features-head p {
    white-space: nowrap;
  }
}

.product-sub-features-head h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.032em;
  line-height: 1.12;
  color: var(--text);
}

.product-sub-features-head p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.product-sub-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 2.5rem;
}

.product-sub-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  min-width: 0;
}

.product-sub-feature-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.1rem;
  color: var(--text);
  opacity: 0.55;
}

.product-sub-feature-icon svg {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
}

.product-sub-feature-copy {
  min-width: 0;
}

.product-sub-feature-copy h3 {
  margin: 0 0 0.125rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: normal;
  color: var(--text);
}

.product-sub-feature-copy p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 960px) {
  .product-sub-features {
    padding: 2.5rem 0 3rem;
  }

  .product-sub-features-head {
    margin-bottom: 1.5rem;
  }

  .product-sub-features-head h2 {
    font-size: clamp(1.375rem, 5.5vw, 1.625rem);
    margin-bottom: 0.625rem;
    text-wrap: balance;
  }

  .product-sub-features-head p {
    font-size: 0.9375rem;
    line-height: 1.55;
    text-wrap: balance;
  }

  .product-sub-features-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .product-sub-feature {
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem 1.125rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg);
  }

  .product-sub-feature-icon {
    width: 2rem;
    height: 2rem;
    margin-top: 0;
    border-radius: 8px;
    background: var(--surface);
    opacity: 1;
  }

  .product-sub-feature-icon svg {
    width: 1rem;
    height: 1rem;
  }

  .product-sub-feature-copy h3 {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 0.25rem;
  }

  .product-sub-feature-copy p {
    font-size: 0.8125rem;
    line-height: 1.5;
  }
}

@media (min-width: 961px) and (max-width: 1100px) {
  .product-sub-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* UI mockups */
.product-visual {
  width: 100%;
}

.product-visual .industry-demo-panel {
  margin: 0;
}

.product-visual--compact .industry-demo-layout {
  min-height: 0;
}

.product-visual--compact .product-scene-split {
  grid-template-columns: 1fr;
}

.product-scene-full {
  min-height: 16rem;
}

.product-scene-chat-static {
  min-height: 12rem;
}

.product-scene-foot {
  padding: 0.625rem 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.45);
}

.product-scene-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 18rem;
}

.product-scene-split--email {
  gap: 0;
  padding: 0.875rem;
  background: var(--bg);
}

.product-scene-doc {
  display: flex;
  flex-direction: column;
  padding: 0.875rem;
  background: var(--surface);
  border-left: 1px solid var(--line);
}

.product-scene-doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text);
}

.product-scene-doc-zoom {
  font-weight: 500;
  color: var(--muted);
}

.product-scene-doc-body {
  flex: 1;
  padding: 0.625rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.product-scene-doc-line {
  height: 0.375rem;
  margin-bottom: 0.375rem;
  border-radius: 2px;
  background: #e5e7eb;
}

.product-scene-doc-line--short {
  width: 58%;
}

.product-scene-doc-line--medium {
  width: 76%;
}

.product-scene-doc-highlight {
  margin: 0.4375rem 0;
  padding: 0.4375rem 0.5rem;
  border-left: 3px solid #1a56db;
  border-radius: 0 4px 4px 0;
  background: #eff6ff;
  color: #1e3a5f;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.45;
}

.product-scene-doc-btn {
  align-self: flex-start;
  margin-top: 0.625rem;
  padding: 0.3125rem 0.5625rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  font: inherit;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text);
  cursor: default;
}

.product-scene-doc--inline .product-scene-doc-body {
  min-height: 8rem;
}

.product-scene-panel-pad {
  padding: 1rem;
  background: var(--bg);
}

.product-scene-results-wrap {
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.product-scene-results-wrap .industry-demo-chat-head {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
}

.product-scene-results-wrap .industry-demo-chat-head strong {
  color: var(--text);
}

.product-scene-results {
  flex: 1;
  min-height: 13.5rem;
  padding: 0.875rem;
  transition: opacity 0.15s ease;
}

.product-scene-results.is-fading {
  opacity: 0;
}

.product-scene-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding: 0.5625rem 0.6875rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.8125rem;
  color: var(--text);
}

.product-scene-search-icon {
  color: var(--muted);
}

.product-scene-search-badge {
  margin-left: auto;
  padding: 0.125rem 0.4375rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1a56db;
  font-size: 0.625rem;
  font-weight: 600;
}

.product-scene-file-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.product-scene-file-row {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.55fr;
  gap: 0.375rem;
  align-items: center;
  padding: 0.5rem 0.6875rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
}

.product-scene-file-row:first-child {
  border-top: none;
}

.product-scene-file-row--head {
  background: var(--bg);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-scene-file-row.is-active {
  background: #eff6ff;
  color: #1e3a5f;
}

.product-scene-match {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #1a56db;
}

.product-scene-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
}

.product-scene-preview-head span {
  color: #1a56db;
  font-weight: 500;
}

.product-scene-hub {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.625rem;
}

.product-scene-hub-card {
  padding: 0.875rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.product-scene-hub-card.is-active {
  border-color: #93c5fd;
  background: #eff6ff;
}

.product-scene-hub-card strong {
  display: block;
  font-size: 0.8125rem;
}

.product-scene-hub-card span {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.6875rem;
  color: var(--muted);
}

.product-scene-landing {
  padding: 2rem 1.5rem;
  text-align: center;
  background: #111827;
}

.product-scene-landing-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #f3f4f6;
}

.product-scene-composer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 22rem;
  margin: 0 auto;
  padding: 0.625rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
}

.product-scene-composer--light {
  max-width: none;
  margin: 0;
  border-color: var(--line);
  background: var(--surface);
}

.product-scene-composer-text {
  flex: 1;
  text-align: left;
  font-size: 0.8125rem;
  color: #f3f4f6;
}

.product-scene-composer--light .product-scene-composer-text {
  color: var(--muted);
}

.product-scene-composer-actions {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
}

.product-scene-mic {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
}

.product-scene-mic.is-active {
  color: #7eb3ff;
}

.product-scene-send {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #1a56db;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.product-scene-email-toggle {
  padding: 0.1875rem 0.4375rem;
  border-radius: 999px;
  background: var(--bg);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted);
}

.product-scene-email-toggle.is-on {
  background: #eff6ff;
  color: #1a56db;
}

.product-scene-landing-note {
  margin: 0.75rem 0 0;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.45);
}

.product-scene-composer--light + .product-scene-landing-note {
  color: var(--muted);
}

.product-scene-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.8125rem;
}

.product-scene-dashboard-head span {
  padding: 0.125rem 0.4375rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1a56db;
  font-size: 0.625rem;
  font-weight: 600;
}

.product-scene-insight {
  margin-bottom: 0.875rem;
  padding: 0.875rem;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eff6ff, #fff);
}

.product-scene-insight--solo {
  margin-bottom: 0;
}

.product-scene-insight-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1a56db;
}

.product-scene-insight p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.product-scene-insight-action {
  margin-top: 0.625rem;
  padding-top: 0.5625rem;
  border-top: 1px solid #dbeafe;
  font-size: 0.75rem;
  color: var(--muted);
}

.product-scene-insight-action span {
  display: block;
  margin-bottom: 0.125rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-scene-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}

.product-scene-kpis div {
  padding: 0.5625rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.product-scene-kpis strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.product-scene-kpis span {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.625rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.product-scene-pulse {
  display: grid;
  gap: 0.5rem;
}

.product-scene-pulse > div {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
}

.product-scene-bar {
  height: 0.4375rem;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.product-scene-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1a56db, #3b82f6);
}

.product-scene-pulse em {
  font-style: normal;
  font-weight: 600;
  color: #1a56db;
  font-variant-numeric: tabular-nums;
}

.product-scene-list,
.product-scene-actions {
  display: grid;
  gap: 0.4375rem;
}

.product-scene-list-row,
.product-scene-actions > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5625rem 0.6875rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.8125rem;
}

.product-scene-list-row.is-active,
.product-scene-actions > div:first-child {
  border-color: #93c5fd;
  background: #eff6ff;
}

.product-scene-list-row em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--muted);
}

.product-scene-actions > div {
  flex-direction: column;
  align-items: flex-start;
}

.product-scene-actions span {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-scene-email-card {
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.product-scene-email-card.is-active {
  border-color: #93c5fd;
  background: #eff6ff;
}

.product-scene-email-card + .product-scene-email-card {
  margin-top: 0.625rem;
}

.product-scene-email-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
  font-size: 0.6875rem;
}

.product-scene-email-card p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
}

.product-scene-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3125rem;
  margin-bottom: 0.75rem;
}

.product-scene-modes span {
  padding: 0.25rem 0.5625rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted);
}

.product-scene-modes span.is-active {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1a56db;
}

.product-scene-mode-answer {
  margin: 0;
}

.product-scene-xref {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  padding: 1.25rem 0.75rem;
}

.product-scene-xref > div {
  flex: 1;
  padding: 0.875rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}

.product-scene-xref > div.is-active {
  border-color: #93c5fd;
  background: #eff6ff;
}

.product-scene-xref > div span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-scene-xref > div strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.product-scene-xref-arrow {
  flex-shrink: 0;
  font-size: 1.125rem;
  color: var(--muted);
}

.product-preview-stage {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--bg);
}

.product-preview-panel {
  display: none;
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.product-preview-panel.is-active {
  display: block;
}

.product-preview-panel .product-visual--compact {
  height: 100%;
}

.product-preview-panel .product-visual--compact .industry-demo-panel {
  height: 100%;
  border: none;
  border-radius: 0;
  max-width: none;
}

@media (max-width: 960px) {
  .product-scene-split,
  .product-scene-hub,
  .product-scene-kpis {
    grid-template-columns: 1fr;
  }

  .product-scene-xref {
    flex-direction: column;
  }

  .product-scene-xref-arrow {
    transform: rotate(90deg);
  }
}

/* Chat app shell mock (hero window) — scaled from portal sidebar/composer */
.product-hero-media-window .product-visual {
  height: 100%;
}

.product-hero-media-window .product-chat-mock,
.product-hero-media-window .product-files-mock,
.product-hero-media-window .product-dashboard-mock {
  height: 100%;
}

.product-chat-mock {
  --chat-mock-sidebar-w: clamp(3.25rem, 7%, 4.25rem);
  --chat-mock-item-radius: 1rem;
  display: flex;
  min-height: 100%;
  font-family: Inter, system-ui, sans-serif;
  font-feature-settings: "cv11", "ss01";
  font-size: clamp(11px, 0.55vw + 9px, 15px);
  line-height: 1.35;
  color: #111827;
  background: #f3f4f6;
}

.product-chat-mock__sidebar {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: var(--chat-mock-sidebar-w);
  padding: 0.5rem 0.375rem 0.625rem;
  background: #f7f7f8;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.product-hero-media-window .product-chat-mock__brand-name,
.product-hero-media-window .product-chat-mock__nav-item span,
.product-hero-media-window .product-chat-mock__recents-wrap,
.product-hero-media-window .product-chat-mock__profile-name {
  display: none;
}

.product-hero-media-window .product-chat-mock__sidebar-head {
  justify-content: center;
  padding-inline: 0.25rem;
}

.product-hero-media-window .product-chat-mock__brand {
  justify-content: center;
}

.product-hero-media-window .product-chat-mock__icon-btn {
  display: none;
}

.product-hero-media-window .product-chat-mock__nav-item {
  justify-content: center;
  gap: 0;
  padding-inline: 0.375rem;
}

.product-hero-media-window .product-chat-mock__profile {
  justify-content: center;
  padding-inline: 0.375rem;
}

.product-chat-mock__nav-item--active {
  background: rgba(0, 0, 0, 0.04);
}

.product-chat-mock__sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.375rem;
  padding: 0.375rem 0.375rem 0.5rem;
}

.product-chat-mock__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  overflow: hidden;
}

.product-chat-mock__brand-logo {
  display: block;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.375rem;
  object-fit: contain;
  background: #fff;
}

.product-chat-mock__brand-name {
  overflow: hidden;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #111827;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.product-chat-mock__icon-btn {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.875rem;
  color: #6b7280;
}

.product-chat-mock__nav {
  display: grid;
  gap: 0.125rem;
  padding: 0 0.125rem 0.25rem;
}

.product-chat-mock__nav-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--chat-mock-item-radius);
  color: #111827;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.35;
  white-space: nowrap;
}

.product-chat-mock__nav-item span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-chat-mock__nav-item svg {
  flex-shrink: 0;
  color: #6b7280;
}

.product-chat-mock__recents-wrap {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  margin-top: 0.5rem;
  padding: 0 0.125rem;
}

.product-chat-mock__recents-label {
  margin: 0 0 0.25rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.35;
  color: #6b7280;
}

.product-chat-mock__recents {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.product-chat-mock__recent {
  padding: 0.4375rem 0.75rem;
  border-radius: var(--chat-mock-item-radius);
  overflow: hidden;
  color: #111827;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.product-chat-mock__profile {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: auto;
  padding: 0.5rem 0.625rem;
  border-radius: var(--chat-mock-item-radius);
}

.product-chat-mock__avatar {
  display: block;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  overflow: hidden;
  background: #e5e7eb;
}

.product-chat-mock__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.product-chat-mock__profile-name {
  min-width: 0;
  overflow: hidden;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
  color: #111827;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.product-chat-mock__main {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #f3f4f6;
}

.product-chat-mock__workspace {
  display: flex;
  flex: 1;
  align-items: stretch;
  min-height: 0;
}

.product-chat-mock__thread {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.product-chat-mock__messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  padding: 0.75rem 1rem 0.5rem;
  overflow: hidden;
}

.product-chat-mock__today {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.product-chat-mock__today-line {
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
}

.product-chat-mock__today-label {
  flex-shrink: 0;
  font-size: clamp(0.5625rem, 0.35vw + 0.45rem, 0.75rem);
  color: #6b7280;
}

.product-chat-mock__msg--user {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.875rem;
}

.product-chat-mock__user-bubble {
  max-width: 75%;
  padding: 0.5rem 0.875rem;
  border-radius: 1.25rem;
  background: #e5e7eb;
  color: #111827;
  font-size: clamp(0.6875rem, 0.45vw + 0.55rem, 0.9375rem);
  line-height: 1.35;
}

.product-chat-mock__msg--ai {
  max-width: 100%;
  color: #111827;
}

.product-chat-mock__progress {
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
  margin-bottom: 0.625rem;
}

.product-chat-mock__progress-dot {
  flex-shrink: 0;
  width: 0.375rem;
  height: 0.375rem;
  margin-top: 0.3125rem;
  border-radius: 999px;
  background: #6b7280;
  opacity: 0.6;
}

.product-chat-mock__progress-label {
  flex: 1;
  min-width: 0;
  font-size: clamp(0.625rem, 0.4vw + 0.5rem, 0.8125rem);
  line-height: 1.35;
  color: #6b7280;
}

.product-chat-mock__progress svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: #6b7280;
}

.product-chat-mock__prose {
  font-size: clamp(0.6875rem, 0.45vw + 0.55rem, 0.9375rem);
  line-height: 1.6;
  color: #111827;
}

.product-chat-mock__prose p {
  margin: 0 0 0.625rem;
}

.product-chat-mock__prose ol {
  margin: 0 0 0.625rem;
  padding-left: 1.125rem;
  list-style: decimal;
}

.product-chat-mock__prose li {
  margin-bottom: 0.3125rem;
  line-height: 1.45;
}

.product-chat-mock__cite-pill {
  display: inline-flex;
  align-items: center;
  margin-right: 0.125rem;
  padding: 0.0625rem 0.3125rem;
  border-radius: 999px;
  background: rgba(126, 179, 255, 0.18);
  color: #1a56db;
  font-size: clamp(0.5rem, 0.3vw + 0.42rem, 0.625rem);
  font-weight: 500;
  line-height: 1;
  vertical-align: baseline;
}

.product-chat-mock__references {
  margin-top: 0.75rem;
  padding-top: 0.625rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.product-chat-mock__references-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}

.product-chat-mock__references-title {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: clamp(0.625rem, 0.4vw + 0.5rem, 0.875rem);
  font-weight: 500;
  color: #111827;
}

.product-chat-mock__references-title svg {
  color: #6b7280;
}

.product-chat-mock__references-head > svg {
  flex-shrink: 0;
  color: #6b7280;
}

.product-chat-mock__references-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-chat-mock__references-list li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}

.product-chat-mock__references-num {
  flex-shrink: 0;
  width: 0.875rem;
  padding-top: 1px;
  font-size: clamp(0.5625rem, 0.35vw + 0.45rem, 0.75rem);
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #6b7280;
}

.product-chat-mock__references-link {
  min-width: 0;
  font-size: clamp(0.5625rem, 0.35vw + 0.45rem, 0.75rem);
  line-height: 1.35;
  color: #4b5563;
}

.product-chat-mock__references-link.is-focused {
  color: #374151;
}

.product-chat-mock__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.0625rem;
  margin-top: 0.625rem;
}

.product-chat-mock__action-btn {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.375rem;
  color: #6b7280;
}

.product-chat-mock__composer {
  width: 100%;
}

.product-chat-mock__composer--thread {
  flex-shrink: 0;
  padding: 0.5rem 1.125rem 0.875rem;
}

.product-chat-mock__composer-glow {
  padding: 2px;
  border-radius: 1.75rem;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, #7eb3ff 42%, #fff),
    color-mix(in srgb, #1a56db 35%, #fff),
    color-mix(in srgb, #7eb3ff 38%, #fff)
  );
  box-shadow: 0 4px 24px rgba(17, 24, 39, 0.06);
}

.product-chat-mock__composer-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: calc(1.75rem - 2px);
  background: #fff;
}

.product-chat-mock__composer-placeholder {
  flex: 1;
  min-width: 0;
  padding: 0.125rem 0;
  font-size: 1rem;
  line-height: 1.35;
  color: #6b7280;
}

.product-chat-mock__composer-mic {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  color: #6b7280;
}

.product-chat-mock__source {
  display: flex;
  flex: 0 0 40%;
  flex-direction: column;
  max-width: 40%;
  min-width: 0;
  min-height: 0;
  align-self: stretch;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

.product-chat-mock__source-head {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.product-chat-mock__source-title {
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.35;
  color: #111827;
}

.product-chat-mock__source-zoom {
  font-size: 0.625rem;
  font-weight: 500;
  color: #6b7280;
}

.product-chat-mock__source-body {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.product-chat-mock__pdf-canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  background: #fff;
}

/* File Directory hero mock — matches portal FileDirectory UI */
.product-files-mock {
  font-size: 14px;
}

.product-files-mock__main {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #f3f4f6;
}

.product-files-mock__head {
  flex-shrink: 0;
}

.product-files-mock__crumbs {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1rem 0.5rem;
}

.product-files-mock__back {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.5rem;
  border-radius: 0.75rem;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.25;
}

.product-files-mock__breadcrumb {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
}

.product-files-mock__breadcrumb svg {
  flex-shrink: 0;
  color: #6b7280;
}

.product-files-mock__crumb-link {
  padding: 0.125rem 0.25rem;
  border: 0;
  background: transparent;
  color: #4b5563;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
}

.product-files-mock__crumb-current {
  overflow: hidden;
  color: #111827;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-files-mock__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
}

.product-files-mock__toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.625rem;
  border-radius: 0.75rem;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.25;
}

.product-files-mock__table-wrap {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding-bottom: 11.5rem;
}

.product-files-mock__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.25;
}

.product-files-mock__col-check {
  width: 3rem;
}

.product-files-mock__col-icon {
  width: 2.5rem;
}

.product-files-mock__col-type {
  width: 7.5rem;
}

.product-files-mock__col-date {
  width: 9rem;
}

.product-files-mock__col-pages {
  width: 4.5rem;
}

.product-files-mock__col-status {
  width: 5.5rem;
}

.product-files-mock__col-actions {
  width: 5.5rem;
}

.product-files-mock__table thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f3f4f6;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: #6b7280;
}

.product-files-mock__table th {
  padding: 0.5rem 0.75rem 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}

.product-files-mock__row {
  height: 2.5625rem;
  transition: background-color 0.15s ease;
}

.product-files-mock__row.is-hover,
.product-files-mock__row:hover {
  background: rgba(0, 0, 0, 0.03);
}

.product-files-mock__cell {
  padding: 0.5rem 0.75rem;
  vertical-align: middle;
}

.product-files-mock__cell--name span {
  display: block;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-files-mock__cell--muted {
  overflow: hidden;
  color: #4b5563;
  font-size: 0.875rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-files-mock__folder-glyph {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  color: #6b7280;
}

.product-files-mock__cell--icon svg:not(.product-files-mock__folder-glyph) {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  color: #6b7280;
}

.product-files-mock__search-area {
  position: absolute;
  right: 1.5rem;
  bottom: 0.5rem;
  left: 1.5rem;
  z-index: 2;
  max-width: 56rem;
  margin-inline: auto;
  pointer-events: none;
}

.product-files-mock__ai-panel {
  overflow: hidden;
  margin-bottom: 0.625rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

.product-files-mock__ai-label {
  margin: 0;
  padding: 0.75rem 1rem 0.375rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #6b7280;
}

.product-files-mock__ai-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0.375rem;
}

.product-files-mock__ai-item + .product-files-mock__ai-item {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.product-files-mock__ai-item-inner {
  display: flex;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
}

.product-files-mock__ai-item-inner > svg {
  flex-shrink: 0;
  width: 0.875rem;
  height: 0.875rem;
  margin-top: 0.125rem;
  color: #1a56db;
}

.product-files-mock__ai-copy {
  min-width: 0;
  flex: 1;
}

.product-files-mock__ai-title-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.product-files-mock__ai-filename {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-files-mock__ai-score {
  flex-shrink: 0;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.product-files-mock__ai-score.is-strong {
  background: rgba(26, 86, 219, 0.1);
  color: #1a56db;
}

.product-files-mock__ai-score.is-good {
  background: rgba(26, 86, 219, 0.08);
  color: #1a56db;
}

.product-files-mock__ai-score.is-possible {
  background: rgba(0, 0, 0, 0.04);
  color: #4b5563;
}

.product-files-mock__ai-meta {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.375rem;
  margin-top: 0.25rem;
  overflow: hidden;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: #6b7280;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.product-files-mock__ai-folder {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.product-files-mock__ai-folder svg {
  color: #1a56db;
}

.product-files-mock__ai-excerpt {
  display: -webkit-box;
  margin: 0.4375rem 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #4b5563;
}

.product-files-mock__search-glow {
  padding: 2px;
  border-radius: 1.25rem;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, #7eb3ff 42%, #fff),
    color-mix(in srgb, #1a56db 35%, #fff),
    color-mix(in srgb, #7eb3ff 38%, #fff)
  );
  box-shadow: 0 4px 24px rgba(17, 24, 39, 0.06);
}

.product-files-mock__search-inner {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.125rem;
  padding: 0.4375rem 0.75rem;
  border-radius: calc(1.25rem - 2px);
  background: #fff;
}

.product-files-mock__search-inner > svg {
  flex-shrink: 0;
  color: #6b7280;
}

.product-files-mock__search-query {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.35;
  color: #111827;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-files-mock__search-badge {
  margin: 0.25rem 0 0;
  text-align: center;
  font-size: 0.625rem;
  font-weight: 500;
  color: #6b7280;
}

.product-files-mock__table-wrap--hub {
  padding: 1rem 1rem 6rem;
}

.product-files-mock__hub-title {
  margin: 0 0 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
}

.product-files-mock__manufacturer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.625rem;
}

.product-files-mock__manufacturer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.875rem 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.875rem;
  background: #fff;
  text-align: center;
}

.product-files-mock__manufacturer-card.is-active {
  border-color: #93c5fd;
  background: #eff6ff;
}

.product-files-mock__manufacturer-card img,
.product-files-mock__manufacturer-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  object-fit: contain;
}

.product-files-mock__manufacturer-logo {
  display: grid;
  place-items: center;
  background: #eef2ff;
  color: #4338ca;
  font-size: 0.6875rem;
  font-weight: 600;
}

.product-files-mock__manufacturer-card strong {
  font-size: 0.75rem;
}

.product-files-mock__manufacturer-card span:not(.files-feature-preview__tap):not(.product-files-mock__manufacturer-logo) {
  font-size: 0.6875rem;
  color: #6b7280;
}

/* Executive Dashboard hero mock */
.product-dashboard-mock {
  font-size: clamp(10px, 0.48vw + 8px, 13px);
}

.product-dashboard-mock__main {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #f3f4f6;
}

.product-dashboard-mock__head {
  flex-shrink: 0;
  padding: 0.875rem 1.25rem 0.625rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: #f3f4f6;
}

.product-dashboard-mock__head h1 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #111827;
}

.product-dashboard-mock__scroll {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 0.875rem 1.25rem 2.5rem;
}

.product-dashboard-mock__summary {
  margin-bottom: 0.75rem;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(26, 86, 219, 0.18);
  border-radius: 1rem;
  background: linear-gradient(135deg, #fff 0%, rgba(239, 246, 255, 0.55) 100%);
}

.product-dashboard-mock__summary-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.625rem;
  color: #1a56db;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-dashboard-mock__summary-badge svg {
  flex-shrink: 0;
}

.product-dashboard-mock__summary-badge em {
  margin-left: auto;
  padding: 0.125rem 0.4375rem;
  border-radius: 999px;
  background: rgba(26, 86, 219, 0.08);
  font-style: normal;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #1a56db;
}

.product-dashboard-mock__headline {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #111827;
}

.product-dashboard-mock__insight {
  margin-top: 0.625rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.65);
}

.product-dashboard-mock__insight-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1a56db;
}

.product-dashboard-mock__insight p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #374151;
}

.product-dashboard-mock__actions {
  margin-top: 0.625rem;
}

.product-dashboard-mock__actions-label {
  display: block;
  margin-bottom: 0.3125rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}

.product-dashboard-mock__actions ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-dashboard-mock__actions li {
  position: relative;
  padding-left: 0.75rem;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: #374151;
}

.product-dashboard-mock__actions li + li {
  margin-top: 0.25rem;
}

.product-dashboard-mock__actions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: #1a56db;
}

.product-dashboard-mock__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
  margin-bottom: 0.625rem;
}

.product-dashboard-mock__panel {
  padding: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.875rem;
  background: #fff;
}

.product-dashboard-mock__panel h2 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin: 0 0 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #111827;
}

.product-dashboard-mock__panel h2 svg {
  flex-shrink: 0;
  color: #1a56db;
}

.product-dashboard-mock__trends,
.product-dashboard-mock__pulses,
.product-dashboard-mock__depts,
.product-dashboard-mock__gaps {
  display: grid;
  gap: 0.4375rem;
}

.product-dashboard-mock__trend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 0.625rem;
  background: #f9fafb;
}

.product-dashboard-mock__trend-label {
  min-width: 0;
  font-size: 0.6875rem;
  line-height: 1.35;
  color: #374151;
}

.product-dashboard-mock__trend-delta {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.125rem;
  font-size: 0.6875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.product-dashboard-mock__trend-delta.is-up {
  color: #059669;
}

.product-dashboard-mock__trend-delta.is-down {
  color: #6b7280;
}

.product-dashboard-mock__pulse-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.3125rem;
  font-size: 0.6875rem;
  color: #374151;
}

.product-dashboard-mock__pulse-head em {
  font-style: normal;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #6b7280;
}

.product-dashboard-mock__pulse-bar {
  height: 0.3125rem;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.product-dashboard-mock__pulse-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1a56db, #3b82f6);
}

.product-dashboard-mock__dept,
.product-dashboard-mock__gap {
  padding: 0.5625rem 0.625rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 0.625rem;
  background: #f9fafb;
}

.product-dashboard-mock__dept-head,
.product-dashboard-mock__gap-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-dashboard-mock__dept-head strong,
.product-dashboard-mock__gap-head strong {
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.35;
  color: #111827;
}

.product-dashboard-mock__dept-head span,
.product-dashboard-mock__gap-head span {
  flex-shrink: 0;
  font-size: 0.625rem;
  color: #6b7280;
}

.product-dashboard-mock__dept-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.375rem;
}

.product-dashboard-mock__tag {
  padding: 0.125rem 0.4375rem;
  border-radius: 999px;
  background: #fff;
  font-size: 0.5625rem;
  color: #4b5563;
}

.product-dashboard-mock__dept-concern {
  margin: 0.375rem 0 0;
  font-size: 0.625rem;
  line-height: 1.4;
  color: #6b7280;
}

.product-dashboard-mock__dept-concern span {
  display: block;
  margin-bottom: 0.125rem;
  font-weight: 600;
  color: #9ca3af;
}

.product-dashboard-mock__gap-meta {
  margin: 0.25rem 0 0;
  font-size: 0.625rem;
  color: #6b7280;
}

.product-dashboard-mock__gap-fix {
  margin: 0.25rem 0 0;
  font-size: 0.625rem;
  line-height: 1.35;
  color: #1a56db;
}

.product-dashboard-mock__fade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 3.5rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(243, 244, 246, 0) 0%, #f3f4f6 85%);
}

/* Chat page — scroll feature previews (zoomed real UI snippets) */

.chat-feature-preview-stage {
  background: #f3f4f6;
}

/* Live-in-weeks — homepage how-it-works flow embedded in scroll stage */

.chat-feature-preview--how {
  background: #f3f4f6;
}

.chat-feature-preview__frame--how {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: clamp(0.5rem, 1.25vw, 0.75rem);
  overflow: hidden;
}

.chat-feature-preview-stage .home-how-flow--embed {
  --home-how-flow-gap: 0.4rem;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
}

.chat-feature-preview-stage .home-how-flow--embed .home-how-send-stack {
  display: flex;
  flex: 0 0 6.75rem;
  flex-direction: column;
  align-items: center;
  width: 6.75rem;
}

.chat-feature-preview-stage .home-how-flow--embed .home-how-send-stack .home-how-step-visual {
  width: 100%;
}

.chat-feature-preview-stage .home-how-flow--embed .home-how-send-stack .home-how-step-label {
  width: 100%;
  margin-top: 0.4375rem;
  text-align: center;
}

.chat-feature-preview-stage .home-how-flow--embed .home-how-step-visual {
  padding: 0.75rem 0.5rem;
  border-radius: 12px;
}

.chat-feature-preview-stage .home-how-flow--embed .home-how-docs {
  gap: 0.5rem;
}

.chat-feature-preview-stage .home-how-flow--embed .home-how-doc-icon {
  width: 2rem;
}

.chat-feature-preview-stage .home-how-flow--embed .home-how-connectors {
  min-width: 2rem;
}

.chat-feature-preview-stage .home-how-flow--embed .home-how-hub {
  width: 4.75rem;
  height: 4.75rem;
}

.chat-feature-preview-stage .home-how-flow--embed .home-how-hub-core {
  width: 3.25rem;
  height: 3.25rem;
  --home-how-hub-icon-h: 1.5rem;
}

.chat-feature-preview-stage .home-how-flow--embed .home-how-step-label {
  margin-top: 0.4375rem;
  font-size: 0.625rem;
  line-height: 1.25;
}

.chat-feature-preview-stage .home-how-flow--embed .home-how-hub-label {
  letter-spacing: 0.06em;
}

.chat-feature-preview-stage .home-how-flow--embed .home-how-outcomes-wrap {
  gap: 0.3125rem;
}

.chat-feature-preview-stage .home-how-flow--embed .home-how-outcome-arrow {
  min-width: 1.75rem;
}

.chat-feature-preview-stage .home-how-flow--embed .home-how-outcomes {
  width: min(100%, 9.75rem);
  min-height: 6.75rem;
  gap: 0.375rem;
}

.chat-feature-preview-stage .home-how-flow--embed .home-how-outcome-block {
  padding: 0.375rem 0.5rem;
  font-size: 0.625rem;
  line-height: 1.25;
  white-space: normal;
}

@media (max-width: 960px) {
  .chat-feature-preview-stage .home-how-flow--embed {
    --home-how-flow-gap: 0.25rem;
  }

  .chat-feature-preview-stage .home-how-flow--embed .home-how-send-stack {
    flex-basis: 5.75rem;
    width: 5.75rem;
  }

  .chat-feature-preview-stage .home-how-flow--embed .home-how-hub {
    width: 4rem;
    height: 4rem;
  }

  .chat-feature-preview-stage .home-how-flow--embed .home-how-outcomes {
    width: min(100%, 8.25rem);
    min-height: 6rem;
  }
}

.chat-feature-preview-stage--empty {
  background: var(--surface);
}

.chat-feature-preview {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s;
  pointer-events: none;
}

.chat-feature-preview.is-active {
  opacity: 1;
  visibility: visible;
}

.chat-feature-preview__frame {
  height: 100%;
}

.chat-feature-preview__frame--chat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
  height: 100%;
  padding: 6% 7% 7%;
}

.chat-feature-preview__thread-area {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.625rem;
  min-height: 0;
}

.chat-feature-preview__sent-bubble {
  align-self: flex-end;
  max-width: 88%;
  padding: 0.5625rem 0.875rem;
  border-radius: 1.125rem;
  background: #e5e7eb;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #111827;
  opacity: 0;
  transform: translateY(8px);
}

.chat-feature-preview__sent-bubble--prev {
  opacity: 0.55;
  transform: none;
}

.chat-feature-preview__sent-bubble--hold {
  opacity: 0;
  transform: translateY(8px);
}

.chat-feature-preview__progress {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  line-height: 1.35;
  color: #6b7280;
  opacity: 0;
}

.chat-feature-preview__progress-dot {
  flex-shrink: 0;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: #6b7280;
  opacity: 0.6;
}

.chat-feature-preview__reply {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #111827;
  opacity: 0;
  transform: translateY(6px);
}

.chat-feature-preview__reply p {
  margin: 0;
}

.chat-feature-preview__reply--hold {
  opacity: 0;
  transform: translateY(6px);
}

.chat-feature-preview__reply-cite {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.625rem;
  color: #6b7280;
}

.chat-feature-preview__progress--hold {
  opacity: 0;
}

.chat-feature-preview__compose-static {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.35;
  color: #6b7280;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.chat-feature-preview__compose-static--muted {
  font-size: 0.8125rem;
}

.chat-feature-preview__frame--phased {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.chat-feature-preview__phase {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 6% 7% 7%;
}

.chat-feature-preview__phase--doc {
  justify-content: stretch;
  padding: 0;
  opacity: 0;
  visibility: hidden;
}

.chat-feature-preview__phase--email-view {
  justify-content: center;
  opacity: 0;
  visibility: hidden;
}

.chat-feature-preview__doc-view,
.chat-feature-preview__email-view {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.chat-feature-preview__doc-view {
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

.chat-feature-preview__email-view {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.625rem;
  background: #fff;
}

.chat-feature-preview__doc-view-head {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid #e5e7eb;
}

.chat-feature-preview__doc-view-head strong {
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.35;
  color: #111827;
}

.chat-feature-preview__doc-view-head span {
  font-size: 0.625rem;
  font-weight: 500;
  color: #6b7280;
}

.chat-feature-preview__doc-view-body {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0.375rem;
  overflow: hidden;
  background: #fff;
}

.chat-feature-preview__doc-view-body:has(.chat-feature-preview__pdf-viewport) {
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
}

.chat-feature-preview__doc-view-body .product-scene-doc--inline {
  display: flex;
  flex: 1;
  width: 100%;
  min-height: 0;
  padding: 0.5rem;
  border-left: none;
  background: transparent;
}

.chat-feature-preview__pdf-viewport {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.chat-feature-preview__pdf-scroll {
  display: flex;
  justify-content: center;
  padding: 0.375rem 0.375rem 42%;
}

.chat-feature-preview__pdf-canvas {
  display: block;
  max-width: 100%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.08);
}

.chat-feature-preview__email-badge {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.3125rem;
  padding: 0.25rem 0.5625rem;
  border-radius: 999px;
  background: rgba(26, 86, 219, 0.08);
  font-size: 0.6875rem;
  font-weight: 600;
  color: #1a56db;
  opacity: 0;
}

.chat-feature-preview__email-badge svg {
  flex-shrink: 0;
}

.chat-feature-preview__email-view {
  padding: 1rem 1.125rem;
  overflow: hidden;
}

.chat-feature-preview__email-subject {
  margin: 0 0 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: #111827;
}

.chat-feature-preview__email-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
}

.chat-feature-preview__email-avatar {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(26, 86, 219, 0.12);
  font-size: 0.6875rem;
  font-weight: 600;
  color: #1a56db;
}

.chat-feature-preview__email-from {
  min-width: 0;
}

.chat-feature-preview__email-from strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #111827;
}

.chat-feature-preview__email-from span {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.625rem;
  color: #6b7280;
}

.chat-feature-preview__email-body p {
  margin: 0 0 0.625rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #374151;
}

.chat-feature-preview__composer {
  width: 100%;
  max-width: 100%;
  flex-shrink: 0;
}

.chat-feature-preview__composer-glow {
  padding: 2px;
  border-radius: 1.75rem;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, #7eb3ff 42%, #fff),
    color-mix(in srgb, #1a56db 35%, #fff),
    color-mix(in srgb, #7eb3ff 38%, #fff)
  );
  box-shadow: 0 8px 32px rgba(17, 24, 39, 0.08);
}

.chat-feature-preview__composer-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.6875rem 0.875rem;
  border-radius: calc(1.75rem - 2px);
  background: #fff;
}

.chat-feature-preview__compose-field {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 0;
  min-height: 1.35rem;
}

.chat-feature-preview__typed {
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.875rem;
  line-height: 1.35;
  color: #111827;
  max-width: 0;
  opacity: 1;
}

.chat-feature-preview__placeholder {
  position: absolute;
  inset: 0;
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.35;
  color: #6b7280;
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: 0;
}

.chat-feature-preview__caret {
  flex-shrink: 0;
  width: 2px;
  height: 1.05rem;
  margin-left: 1px;
  border-radius: 1px;
  background: #1a56db;
  opacity: 0;
}

.chat-feature-preview--composer.chat-feature-preview--run .chat-feature-preview__typed {
  animation:
    chat-preview-type 2.35s steps(var(--preview-chars, 40)) forwards,
    chat-preview-hide 0.15s ease 2.35s forwards;
}

.chat-feature-preview--composer.chat-feature-preview--run .chat-feature-preview__caret {
  animation:
    chat-preview-type 2.35s steps(var(--preview-chars, 40)) forwards,
    chat-preview-blink 0.75s step-end 0s 3 forwards,
    chat-preview-hide 0.1s ease 2.35s forwards;
  opacity: 1;
}

.chat-feature-preview--composer.chat-feature-preview--run .chat-feature-preview__placeholder {
  animation: chat-preview-show 0.25s ease 2.45s forwards;
}

.chat-feature-preview--composer.chat-feature-preview--run .chat-feature-preview__sent-bubble {
  animation: chat-preview-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) 2.5s forwards;
}

.chat-feature-preview--composer.chat-feature-preview--run .chat-feature-preview__progress {
  animation:
    chat-preview-show 0.3s ease 3.05s forwards,
    chat-preview-hide 0.2s ease 3.75s forwards;
}

.chat-feature-preview--composer.chat-feature-preview--run .chat-feature-preview__reply {
  animation: chat-preview-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) 3.85s forwards;
}

.chat-feature-preview__mic {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  color: #6b7280;
}

.chat-feature-preview__composer-action {
  position: relative;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
}

.chat-feature-preview__composer-action .chat-feature-preview__mic,
.chat-feature-preview__composer-action .chat-feature-preview__send {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.chat-feature-preview__send {
  border-radius: 50%;
  background: #1a56db;
  color: #fff;
  opacity: 0;
  transform: scale(0.88);
  box-shadow: 0 2px 8px rgba(26, 86, 219, 0.28);
}

.chat-feature-preview__cite {
  display: inline-flex;
  align-items: center;
  margin-right: 0.125rem;
  padding: 0.0625rem 0.375rem;
  border-radius: 999px;
  background: rgba(26, 86, 219, 0.12);
  color: #1a56db;
  font-size: 0.625rem;
  font-weight: 600;
  vertical-align: baseline;
}

.chat-feature-preview__refs {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(4px);
}

.chat-feature-preview__refs .chat-feature-preview__ref {
  opacity: 1;
  transform: none;
}

.chat-feature-preview__refs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #111827;
}

.chat-feature-preview__refs-head svg {
  color: #6b7280;
}

.chat-feature-preview__ref {
  padding: 0.3125rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.6875rem;
  line-height: 1.35;
  color: #6b7280;
}

.chat-feature-preview__ref--click {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  font: inherit;
  text-align: left;
  color: #374151;
  cursor: default;
}

.chat-feature-preview__tap {
  position: absolute;
  top: 50%;
  right: 0.375rem;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: -0.5625rem;
  border-radius: 50%;
  background: rgba(26, 86, 219, 0.22);
  opacity: 0;
  transform: scale(0.35);
  pointer-events: none;
}

.chat-feature-preview--source.chat-feature-preview--run .chat-feature-preview__progress--hold,
.chat-feature-preview--modes.chat-feature-preview--run .chat-feature-preview__progress--hold {
  animation:
    chat-preview-rise 0.45s ease 0.4s forwards,
    chat-preview-hide 0.25s ease 1.15s forwards;
}

.chat-feature-preview--source.chat-feature-preview--run .chat-feature-preview__reply--hold {
  animation: chat-preview-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) 1.25s forwards;
}

.chat-feature-preview--source.chat-feature-preview--run .chat-feature-preview__refs {
  animation: chat-preview-rise 0.45s ease 1.85s forwards;
}

.chat-feature-preview--source.chat-feature-preview--run .chat-feature-preview__ref--click {
  animation: chat-preview-ref-press 0.35s ease 2.9s forwards;
}

.chat-feature-preview--source.chat-feature-preview--run .chat-feature-preview__tap {
  animation: chat-preview-tap 0.55s ease 2.75s forwards;
}

.chat-feature-preview--source.chat-feature-preview--run .chat-feature-preview__phase--chat {
  animation: chat-preview-phase-out 0.5s ease 3.85s forwards;
}

.chat-feature-preview--source.chat-feature-preview--run .chat-feature-preview__phase--doc {
  animation: chat-preview-phase-in 0.55s ease 4s forwards;
}

.chat-feature-preview__composer-stack {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 1.35rem;
}

.chat-feature-preview__compose-phase {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  min-width: 0;
}

.chat-feature-preview__compose-phase--gap,
.chat-feature-preview__compose-phase--b {
  opacity: 0;
  visibility: hidden;
}

.chat-feature-preview__compose-phase--gap .chat-feature-preview__compose-static {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.35;
  color: #6b7280;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@keyframes chat-preview-dim {
  to {
    opacity: 0.5;
    transform: none;
  }
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__compose-phase--a .chat-feature-preview__placeholder {
  animation: chat-preview-hide 0.1s ease 0.05s forwards;
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__typed--home-a {
  animation:
    chat-preview-type 3.8s steps(var(--preview-chars, 40)) forwards,
    chat-preview-hide 0.15s ease 3.8s forwards;
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__caret--home-a {
  animation:
    chat-preview-type 3.8s steps(var(--preview-chars, 40)) forwards,
    chat-preview-blink 0.75s step-end 0s 3 forwards,
    chat-preview-hide 0.1s ease 3.8s forwards;
  opacity: 1;
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__compose-phase--a {
  animation: chat-preview-phase-out 0.25s ease 3.95s forwards;
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__compose-phase--gap {
  animation:
    chat-preview-phase-in 0.2s ease 4s forwards,
    chat-preview-phase-out 0.2s ease 6.65s forwards;
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__typed--home-b {
  animation:
    chat-preview-type 3.6s steps(var(--preview-chars-b, 40)) 6.75s forwards,
    chat-preview-hide 0.15s ease 10.4s forwards;
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__caret--home-b {
  animation:
    chat-preview-type 3.6s steps(var(--preview-chars-b, 40)) 6.75s forwards,
    chat-preview-blink 0.75s step-end 6.75s 3 forwards,
    chat-preview-hide 0.1s ease 10.4s forwards;
  opacity: 1;
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__compose-phase--b {
  animation: chat-preview-phase-in 0.2s ease 6.75s forwards;
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__home-bubble-a {
  animation:
    chat-preview-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) 4.05s forwards,
    chat-preview-dim 0.35s ease 6.85s forwards;
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__home-progress-a {
  animation:
    chat-preview-show 0.3s ease 4.75s forwards,
    chat-preview-hide 0.2s ease 5.65s forwards;
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__home-reply-a {
  animation:
    chat-preview-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) 5.75s forwards,
    chat-preview-dim 0.35s ease 6.85s forwards;
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__home-bubble-b {
  animation: chat-preview-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) 10.55s forwards;
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__home-progress-b {
  animation:
    chat-preview-show 0.3s ease 11.25s forwards,
    chat-preview-hide 0.2s ease 12.15s forwards;
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__home-reply-b {
  animation: chat-preview-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) 12.25s forwards;
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__home-refs {
  animation: chat-preview-rise 0.45s ease 13.05s forwards;
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__home-refs .chat-feature-preview__ref--click {
  animation: chat-preview-ref-press 0.35s ease 14.2s forwards;
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__home-refs .chat-feature-preview__tap {
  animation: chat-preview-tap 0.55s ease 14.05s forwards;
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__phase--chat {
  animation: chat-preview-phase-out 0.5s ease 15.45s forwards;
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__phase--doc {
  animation: chat-preview-phase-in 0.55s ease 15.6s forwards;
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__mic {
  animation:
    chat-preview-hide 0.15s ease 0.05s forwards,
    chat-preview-show 0.15s ease 3.9s forwards,
    chat-preview-hide 0.15s ease 6.75s forwards,
    chat-preview-show 0.15s ease 10.45s forwards;
}

@keyframes chat-preview-send-in {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__send {
  animation:
    chat-preview-send-in 0.2s ease 0.12s forwards,
    chat-preview-hide 0.15s ease 3.88s forwards,
    chat-preview-send-in 0.2s ease 6.78s forwards,
    chat-preview-hide 0.15s ease 10.42s forwards;
}

.chat-feature-preview--home.chat-feature-preview--run .chat-feature-preview__pdf-scroll--home {
  animation: chat-preview-pdf-scroll 5.8s ease-in-out 16.25s forwards;
}

@keyframes chat-preview-pdf-scroll {
  0%,
  8% {
    transform: translateY(0);
  }

  42% {
    transform: translateY(-26%);
  }

  58% {
    transform: translateY(-26%);
  }

  92%,
  100% {
    transform: translateY(0);
  }
}

.chat-feature-preview__answer-stack {
  position: relative;
  min-height: 3.25rem;
}

.chat-feature-preview__reply--modes-a {
  position: relative;
}

.chat-feature-preview__reply--modes-b {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(4px);
}

.chat-feature-preview__mode-wrap {
  position: relative;
  flex-shrink: 0;
}

.chat-feature-preview__mode-select {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  padding: 0.3125rem 0.5625rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: #fff;
  font-size: 0.6875rem;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
  cursor: default;
}

.chat-feature-preview__mode-select svg {
  flex-shrink: 0;
  color: #6b7280;
}

.chat-feature-preview__mode-label-stack {
  position: relative;
  display: inline-block;
  min-width: 6.25rem;
  height: 1.05rem;
}

.chat-feature-preview__mode-label {
  font-size: inherit;
  line-height: 1.05rem;
  white-space: nowrap;
}

.chat-feature-preview__mode-label--b {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.chat-feature-preview__mode-menu {
  position: absolute;
  bottom: calc(100% + 0.375rem);
  left: 0;
  z-index: 2;
  width: 10.5rem;
  padding: 0.25rem 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.875rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.1);
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
}

.chat-feature-preview__mode-option {
  padding: 0.4375rem 0.75rem;
  font-size: 0.6875rem;
  line-height: 1.35;
  color: #374151;
}

.chat-feature-preview__mode-option.is-active {
  background: rgba(26, 86, 219, 0.06);
  color: #1a56db;
}

.chat-feature-preview__mode-placeholder {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #6b7280;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.chat-feature-preview--modes.chat-feature-preview--run .chat-feature-preview__mode-menu {
  animation:
    chat-preview-mode-menu-open 0.35s ease 1.4s forwards,
    chat-preview-mode-menu-close 0.3s ease 4.8s forwards;
}

.chat-feature-preview--modes.chat-feature-preview--run .chat-feature-preview__mode-option.is-active {
  animation: chat-preview-mode-opt-a 6.5s ease 1.4s forwards;
}

.chat-feature-preview--modes.chat-feature-preview--run .chat-feature-preview__mode-option--pick {
  animation: chat-preview-mode-opt-b 6.5s ease 1.4s forwards;
}

.chat-feature-preview--modes.chat-feature-preview--run .chat-feature-preview__mode-label--a {
  animation: chat-preview-mode-label-a 6.5s ease 1.4s forwards;
}

.chat-feature-preview--modes.chat-feature-preview--run .chat-feature-preview__mode-label--b {
  animation: chat-preview-mode-label-b 6.5s ease 1.4s forwards;
}

.chat-feature-preview--modes.chat-feature-preview--run .chat-feature-preview__reply--modes-a {
  animation: chat-preview-mode-answer-a 6.5s ease 1.25s forwards;
}

.chat-feature-preview--modes.chat-feature-preview--run .chat-feature-preview__reply--modes-b {
  animation: chat-preview-mode-answer-b 6.5s ease 1.25s forwards;
}

.chat-feature-preview--email.chat-feature-preview--run .chat-feature-preview__email-badge {
  animation: chat-preview-rise 0.4s ease 0.3s forwards;
}

.chat-feature-preview--email.chat-feature-preview--run .chat-feature-preview__sent-bubble--hold {
  animation: chat-preview-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}

.chat-feature-preview--email.chat-feature-preview--run .chat-feature-preview__progress--hold {
  animation:
    chat-preview-rise 0.45s ease 1.6s forwards,
    chat-preview-hide 0.25s ease 2.35s forwards;
}

.chat-feature-preview--email.chat-feature-preview--run .chat-feature-preview__reply--hold {
  animation: chat-preview-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) 2.45s forwards;
}

.chat-feature-preview--email.chat-feature-preview--run .chat-feature-preview__refs {
  animation: chat-preview-rise 0.45s ease 3.05s forwards;
}

.chat-feature-preview--email.chat-feature-preview--run .chat-feature-preview__ref--email {
  animation: chat-preview-ref-press 0.35s ease 4.1s forwards;
}

.chat-feature-preview--email.chat-feature-preview--run .chat-feature-preview__tap {
  animation: chat-preview-tap 0.55s ease 3.95s forwards;
}

.chat-feature-preview--email.chat-feature-preview--run .chat-feature-preview__phase--chat {
  animation: chat-preview-phase-out 0.5s ease 4.85s forwards;
}

.chat-feature-preview--email.chat-feature-preview--run .chat-feature-preview__phase--email-view {
  animation: chat-preview-phase-in 0.55s ease 5s forwards;
}

@keyframes chat-preview-type {
  to {
    max-width: 100%;
  }
}

@keyframes chat-preview-hide {
  to {
    opacity: 0;
  }
}

@keyframes chat-preview-show {
  to {
    opacity: 1;
  }
}

@keyframes chat-preview-blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes chat-preview-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chat-preview-fade-in {
  to {
    opacity: 1;
  }
}

@keyframes chat-preview-slide-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes chat-preview-tap {
  0% {
    opacity: 0;
    transform: scale(0.35);
  }

  35% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

@keyframes chat-preview-ref-press {
  to {
    background: rgba(26, 86, 219, 0.14);
  }
}

@keyframes chat-preview-phase-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes chat-preview-phase-in {
  from {
    opacity: 0;
    visibility: hidden;
  }

  to {
    opacity: 1;
    visibility: visible;
  }
}

@keyframes chat-preview-mode-menu-open {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chat-preview-mode-menu-close {
  to {
    opacity: 0;
    transform: translateY(4px);
  }
}

@keyframes chat-preview-mode-opt-a {
  0%,
  50% {
    background: rgba(26, 86, 219, 0.06);
    color: #1a56db;
  }

  56%,
  100% {
    background: transparent;
    color: #374151;
  }
}

@keyframes chat-preview-mode-opt-b {
  0%,
  50% {
    background: transparent;
    color: #374151;
  }

  56%,
  100% {
    background: rgba(26, 86, 219, 0.06);
    color: #1a56db;
  }
}

@keyframes chat-preview-mode-label-a {
  0%,
  50% {
    opacity: 1;
  }

  56%,
  100% {
    opacity: 0;
  }
}

@keyframes chat-preview-mode-label-b {
  0%,
  50% {
    opacity: 0;
  }

  56%,
  100% {
    opacity: 1;
  }
}

@keyframes chat-preview-mode-answer-a {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }

  8%,
  50% {
    opacity: 1;
    transform: translateY(0);
  }

  56%,
  100% {
    opacity: 0;
    transform: translateY(4px);
  }
}

@keyframes chat-preview-mode-answer-b {
  0%,
  50% {
    opacity: 0;
    transform: translateY(4px);
  }

  56%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-feature-preview {
    transition: none;
  }

  .chat-feature-preview__typed,
  .chat-feature-preview__caret,
  .chat-feature-preview__placeholder,
  .chat-feature-preview__sent-bubble,
  .chat-feature-preview__sent-bubble--hold,
  .chat-feature-preview__progress,
  .chat-feature-preview__progress--hold,
  .chat-feature-preview__reply,
  .chat-feature-preview__reply--hold,
  .chat-feature-preview__reply--modes-a,
  .chat-feature-preview__reply--modes-b,
  .chat-feature-preview__refs,
  .chat-feature-preview__ref,
  .chat-feature-preview__tap,
  .chat-feature-preview__phase--chat,
  .chat-feature-preview__phase--doc,
  .chat-feature-preview__phase--email-view,
  .chat-feature-preview__email-badge,
  .chat-feature-preview__mode-menu,
  .chat-feature-preview__mode-label {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    max-width: 100% !important;
    visibility: visible !important;
  }

  .chat-feature-preview__placeholder {
    opacity: 0 !important;
  }

  .chat-feature-preview__sent-bubble--prev {
    opacity: 0.55 !important;
  }

  .chat-feature-preview--source.is-active .chat-feature-preview__phase--chat,
  .chat-feature-preview--email.is-active .chat-feature-preview__phase--chat {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .chat-feature-preview--source.is-active .chat-feature-preview__phase--doc,
  .chat-feature-preview--email.is-active .chat-feature-preview__phase--email-view {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .chat-feature-preview--source.is-active .chat-feature-preview__ref--click,
  .chat-feature-preview--email.is-active .chat-feature-preview__ref--email {
    background: rgba(26, 86, 219, 0.14);
  }

  .chat-feature-preview--modes.is-active .chat-feature-preview__mode-label--a {
    opacity: 0;
  }

  .chat-feature-preview--modes.is-active .chat-feature-preview__mode-label--b {
    opacity: 1;
  }

  .chat-feature-preview--modes.is-active .chat-feature-preview__reply--modes-a {
    opacity: 0;
  }

  .chat-feature-preview--modes.is-active .chat-feature-preview__reply--modes-b {
    opacity: 1;
  }

  .chat-feature-preview--modes.is-active .chat-feature-preview__mode-menu {
    opacity: 0;
  }
}

@media (max-width: 960px) {
  .chat-feature-preview__composer {
    transform: none;
  }

  .chat-feature-preview__frame--chat {
    padding-bottom: 9%;
  }
}

/* File Directory — scroll feature previews (real product-files-mock shell) */

.files-feature-preview-stage {
  background: #f3f4f6;
}

.files-feature-preview-stage--empty {
  background: var(--surface);
}

.files-feature-preview {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s;
  pointer-events: none;
}

.files-feature-preview.is-active {
  opacity: 1;
  visibility: visible;
}

.files-feature-preview__clip {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f3f4f6;
}

.files-feature-preview__clip--phased {
  position: relative;
}

.files-feature-preview__clip > .product-chat-mock,
.files-feature-preview__phase > .product-chat-mock {
  height: 100%;
  min-height: 100%;
}

.files-feature-preview__clip .product-chat-mock__brand-name,
.files-feature-preview__clip .product-chat-mock__nav-item span,
.files-feature-preview__clip .product-chat-mock__recents-wrap,
.files-feature-preview__clip .product-chat-mock__profile-name {
  display: none;
}

.files-feature-preview__clip .product-chat-mock__sidebar-head {
  justify-content: center;
  padding-inline: 0.25rem;
}

.files-feature-preview__clip .product-chat-mock__brand {
  justify-content: center;
}

.files-feature-preview__clip .product-chat-mock__icon-btn {
  display: none;
}

.files-feature-preview__clip .product-chat-mock__nav-item {
  justify-content: center;
  gap: 0;
  padding-inline: 0.375rem;
}

.files-feature-preview__clip .product-chat-mock__profile {
  justify-content: center;
  padding-inline: 0.375rem;
}

.files-feature-preview__phase {
  position: absolute;
  inset: 0;
}

.files-feature-preview__phase--doc,
.files-feature-preview__phase--filtered {
  opacity: 0;
  visibility: hidden;
  z-index: 2;
}

.files-feature-preview__table-swap {
  position: relative;
  flex: 1;
  min-height: 0;
}

.files-feature-preview__table-swap > .product-files-mock__table-wrap {
  position: absolute;
  inset: 0;
  padding-bottom: 0;
}

.files-feature-preview__table-swap > .product-files-mock__table-wrap.files-feature-preview__table--swap-b {
  opacity: 0;
}

.files-feature-preview__table-swap--home > .product-files-mock__table-wrap.files-feature-preview__table--home-b,
.files-feature-preview__table-swap--home > .product-files-mock__table-wrap.files-feature-preview__table--home-c {
  opacity: 0;
}

.files-feature-preview__crumb-swap {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 1.75rem;
}

.files-feature-preview__crumb-state {
  position: absolute;
  inset: 0;
}

.files-feature-preview__crumb-state--b,
.files-feature-preview__crumb-state--c {
  opacity: 0;
}

.files-feature-preview--home .product-chat-mock.product-files-mock {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.files-feature-preview--home .product-files-mock__main {
  flex: 1;
  width: 100%;
  min-height: 0;
}

.files-feature-preview--home .product-files-mock__head {
  flex-shrink: 0;
}

.files-feature-preview--home .files-feature-preview__crumb-swap {
  min-height: 3.5rem;
}

.files-feature-preview--home .product-files-mock__crumbs {
  padding: 0.875rem 1rem 0.625rem;
}

.files-feature-preview--home .files-feature-preview__tap {
  display: none;
}

.files-feature-preview--home .files-feature-preview__mouse {
  position: absolute;
  z-index: 6;
  top: 4rem;
  left: 12%;
  width: 2.75rem;
  height: 2.75rem;
  opacity: 0;
  pointer-events: none;
  transform: scale(1);
  transform-origin: 16.67% 16.67%;
  will-change: top, left, transform, opacity;
}

.files-feature-preview__row--target {
  position: relative;
}

.files-feature-preview__tap {
  position: absolute;
  top: 50%;
  right: 0.375rem;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: -0.5625rem;
  border-radius: 50%;
  background: rgba(26, 86, 219, 0.22);
  opacity: 0;
  transform: scale(0.35);
  pointer-events: none;
}

.files-feature-preview__crumb--hold {
  opacity: 0;
}

.files-feature-preview__progress {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.625rem;
  font-size: 0.6875rem;
  color: #6b7280;
  opacity: 0;
}

.files-feature-preview__progress-dot {
  flex-shrink: 0;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: #6b7280;
  opacity: 0.6;
}

.product-files-mock__search-inner {
  position: relative;
}

.files-feature-preview__typed {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #111827;
  vertical-align: top;
}

.files-feature-preview__caret {
  display: inline-block;
  width: 1px;
  height: 0.875rem;
  margin-left: 1px;
  border-radius: 1px;
  background: #1a56db;
  opacity: 0;
}

.files-feature-preview__search-placeholder {
  position: absolute;
  left: 1.75rem;
  pointer-events: none;
}

.product-files-mock__ai-panel.files-feature-preview__ai-panel--hold {
  opacity: 0;
  transform: translateY(10px);
}

.files-feature-preview__phase--doc .chat-feature-preview__doc-view {
  width: 100%;
  height: 100%;
  border-left: none;
}

.files-feature-preview__clip .product-files-mock__table--preview .product-files-mock__col-icon {
  width: 7%;
}

.files-feature-preview__clip .product-files-mock__table--preview .product-files-mock__col-name {
  width: 46%;
}

.files-feature-preview__clip .product-files-mock__table--preview .product-files-mock__col-type {
  width: 27%;
}

.files-feature-preview__clip .product-files-mock__table--preview .product-files-mock__col-pages {
  width: 20%;
}

.files-feature-preview__clip .product-files-mock__table-wrap--hub {
  padding-bottom: 1rem;
}

.product-files-mock__manufacturer-card.files-feature-preview__hub-target .files-feature-preview__tap {
  top: auto;
  right: 0.375rem;
  bottom: 0.375rem;
  margin-top: 0;
}

/* Browse */

.files-feature-preview--browse.files-feature-preview--run .files-feature-preview__row--target {
  animation: chat-preview-ref-press 0.35s ease 1.15s forwards;
}

.files-feature-preview--browse.files-feature-preview--run .files-feature-preview__tap {
  animation: chat-preview-tap 0.55s ease 1.65s forwards;
}

.files-feature-preview--browse.files-feature-preview--run .files-feature-preview__crumb--hold {
  animation: chat-preview-fade-in 0.35s ease 2.45s forwards;
}

.files-feature-preview--browse.files-feature-preview--run .files-feature-preview__table--swap-a {
  animation: chat-preview-hide 0.35s ease 3.15s forwards;
}

.files-feature-preview--browse.files-feature-preview--run .files-feature-preview__table--swap-b {
  animation: chat-preview-fade-in 0.45s ease 3.3s forwards;
}

/* Home — two folders, open file */

@keyframes files-home-mouse {
  0%,
  3% {
    opacity: 0;
    top: 4rem;
    left: 12%;
    transform: scale(1);
  }

  6% {
    opacity: 1;
    top: 4rem;
    left: 12%;
    transform: scale(1);
  }

  18% {
    top: 6.75rem;
    left: 24%;
    transform: scale(1);
  }

  26% {
    top: 6.75rem;
    left: 24%;
    transform: scale(0.88);
  }

  30% {
    top: 6.75rem;
    left: 24%;
    transform: scale(1);
  }

  58% {
    top: 6.75rem;
    left: 24%;
    transform: scale(1);
  }

  64% {
    top: 6.8rem;
    left: 21%;
    transform: scale(1);
  }

  66% {
    top: 6.8rem;
    left: 21%;
    transform: scale(0.88);
  }

  70% {
    top: 6.8rem;
    left: 21%;
    transform: scale(1);
  }

  88% {
    top: 6.8rem;
    left: 17%;
    transform: scale(1);
  }

  94% {
    top: 6.8rem;
    left: 17%;
    transform: scale(0.88);
  }

  98%,
  100% {
    opacity: 1;
    top: 6.8rem;
    left: 17%;
    transform: scale(1);
  }
}

.files-feature-preview--home.files-feature-preview--run .files-feature-preview__mouse {
  animation: files-home-mouse 5.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.files-feature-preview--home.files-feature-preview--run .files-feature-preview__home-target-a {
  animation: chat-preview-ref-press 0.35s ease 1.5s forwards;
}

.files-feature-preview--home.files-feature-preview--run .files-feature-preview__crumb-state--a {
  animation: chat-preview-hide 0.3s ease 1.85s forwards;
}

.files-feature-preview--home.files-feature-preview--run .files-feature-preview__table--home-a {
  animation: chat-preview-hide 0.3s ease 1.85s forwards;
}

.files-feature-preview--home.files-feature-preview--run .files-feature-preview__home-target-b {
  animation: chat-preview-ref-press 0.35s ease 3.8s forwards;
}

.files-feature-preview--home.files-feature-preview--run .files-feature-preview__crumb-state--b {
  animation:
    chat-preview-fade-in 0.35s ease 1.95s forwards,
    chat-preview-hide 0.3s ease 4.15s forwards;
}

.files-feature-preview--home.files-feature-preview--run .files-feature-preview__crumb-state--c {
  animation: chat-preview-fade-in 0.35s ease 4.25s forwards;
}

.files-feature-preview--home.files-feature-preview--run .files-feature-preview__table--home-b {
  animation:
    chat-preview-fade-in 0.35s ease 1.95s forwards,
    chat-preview-hide 0.3s ease 4.15s forwards;
}

.files-feature-preview--home.files-feature-preview--run .files-feature-preview__table--home-c {
  animation: chat-preview-fade-in 0.35s ease 4.25s forwards;
}

.files-feature-preview--home.files-feature-preview--run .files-feature-preview__home-target-c {
  animation: chat-preview-ref-press 0.35s ease 5.45s forwards;
}

.files-feature-preview--home.files-feature-preview--run .files-feature-preview__phase--list {
  animation: chat-preview-phase-out 0.4s ease 5.75s forwards;
}

.files-feature-preview--home.files-feature-preview--run .files-feature-preview__phase--doc {
  animation: chat-preview-phase-in 0.45s ease 5.85s forwards;
}

.files-feature-preview--home.files-feature-preview--run .chat-feature-preview__pdf-scroll--files-home {
  animation: chat-preview-pdf-scroll 5s ease-in-out 6.3s forwards;
}

/* Open / PDF */

.files-feature-preview--open.files-feature-preview--run .files-feature-preview__row--target {
  animation: chat-preview-ref-press 0.35s ease 0.85s forwards;
}

.files-feature-preview--open.files-feature-preview--run .files-feature-preview__tap {
  animation: chat-preview-tap 0.55s ease 0.95s forwards;
}

.files-feature-preview--open.files-feature-preview--run .files-feature-preview__phase--list {
  animation: chat-preview-phase-out 0.45s ease 1.55s forwards;
}

.files-feature-preview--open.files-feature-preview--run .files-feature-preview__phase--doc {
  animation: chat-preview-phase-in 0.5s ease 1.65s forwards;
}

/* Search */

.files-feature-preview--search.files-feature-preview--run .files-feature-preview__typed {
  animation: chat-preview-type 2.2s steps(var(--preview-chars, 36)) forwards;
}

.files-feature-preview--search.files-feature-preview--run .files-feature-preview__caret {
  animation:
    chat-preview-type 2.2s steps(var(--preview-chars, 36)) forwards,
    chat-preview-blink 0.75s step-end 0s 3 forwards,
    chat-preview-hide 0.1s ease 2.2s forwards;
  opacity: 1;
}

.files-feature-preview--search.files-feature-preview--run .files-feature-preview__search-placeholder {
  animation: chat-preview-hide 0.1s ease 0.05s forwards;
}

.files-feature-preview--search.files-feature-preview--run .files-feature-preview__progress {
  animation:
    chat-preview-show 0.3s ease 2.35s forwards,
    chat-preview-hide 0.2s ease 3.05s forwards;
}

.files-feature-preview--search.files-feature-preview--run .product-files-mock__ai-panel.files-feature-preview__ai-panel--hold {
  animation: chat-preview-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) 3.15s forwards;
}

/* Manufacturer */

.files-feature-preview--manufacturer.files-feature-preview--run .product-files-mock__manufacturer-card {
  opacity: 0;
  transform: translateY(6px);
  animation: chat-preview-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.files-feature-preview--manufacturer.files-feature-preview--run .product-files-mock__manufacturer-card:nth-child(2) {
  animation-delay: 0.4s;
}

.files-feature-preview--manufacturer.files-feature-preview--run .product-files-mock__manufacturer-card:nth-child(3) {
  animation-delay: 0.55s;
}

.files-feature-preview--manufacturer.files-feature-preview--run .files-feature-preview__hub-target {
  animation:
    chat-preview-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards,
    chat-preview-ref-press 0.35s ease 1.65s forwards;
}

.files-feature-preview--manufacturer.files-feature-preview--run .files-feature-preview__hub-target .files-feature-preview__tap {
  animation: chat-preview-tap 0.55s ease 1.75s forwards;
}

.files-feature-preview--manufacturer.files-feature-preview--run .files-feature-preview__phase--hub {
  animation: chat-preview-phase-out 0.45s ease 2.35s forwards;
}

.files-feature-preview--manufacturer.files-feature-preview--run .files-feature-preview__phase--filtered {
  animation: chat-preview-phase-in 0.5s ease 2.45s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .files-feature-preview__typed,
  .files-feature-preview__caret,
  .files-feature-preview__search-placeholder,
  .files-feature-preview__progress,
  .product-files-mock__ai-panel,
  .files-feature-preview__row--target,
  .files-feature-preview__tap,
  .files-feature-preview__phase--list,
  .files-feature-preview__phase--doc,
  .files-feature-preview__crumb--hold,
  .files-feature-preview__table--swap-a,
  .files-feature-preview__table--swap-b,
  .product-files-mock__manufacturer-card,
  .files-feature-preview__phase--hub,
  .files-feature-preview__phase--filtered {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  .files-feature-preview--open.is-active .files-feature-preview__phase--list,
  .files-feature-preview--manufacturer.is-active .files-feature-preview__phase--hub {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .files-feature-preview--open.is-active .files-feature-preview__phase--doc,
  .files-feature-preview--manufacturer.is-active .files-feature-preview__phase--filtered {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .files-feature-preview--browse.is-active .files-feature-preview__table--swap-a {
    opacity: 0 !important;
  }

  .files-feature-preview--browse.is-active .files-feature-preview__table--swap-b {
    opacity: 1 !important;
  }

  .files-feature-preview--home.is-active .files-feature-preview__phase--list {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .files-feature-preview--home.is-active .files-feature-preview__phase--doc {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .files-feature-preview--home.is-active .files-feature-preview__table--home-a,
  .files-feature-preview--home.is-active .files-feature-preview__crumb-state--a {
    opacity: 0 !important;
  }

  .files-feature-preview--home.is-active .files-feature-preview__table--home-c,
  .files-feature-preview--home.is-active .files-feature-preview__crumb-state--c {
    opacity: 1 !important;
  }

  .files-feature-preview--home .files-feature-preview__mouse {
    animation: none !important;
    opacity: 1 !important;
  }

  .files-feature-preview--home .chat-feature-preview__pdf-scroll--files-home {
    animation: none !important;
    transform: none !important;
  }

  .files-feature-preview--open.is-active .files-feature-preview__row--target,
  .files-feature-preview--manufacturer.is-active .files-feature-preview__hub-target {
    background: rgba(26, 86, 219, 0.14);
  }

  .chat-feature-preview--home.is-active .chat-feature-preview__phase--chat {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .chat-feature-preview--home.is-active .chat-feature-preview__phase--doc {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .chat-feature-preview--home .chat-feature-preview__typed--home-a,
  .chat-feature-preview--home .chat-feature-preview__typed--home-b,
  .chat-feature-preview--home .chat-feature-preview__caret--home-a,
  .chat-feature-preview--home .chat-feature-preview__caret--home-b,
  .chat-feature-preview--home .chat-feature-preview__placeholder,
  .chat-feature-preview--home .chat-feature-preview__compose-phase--a,
  .chat-feature-preview--home .chat-feature-preview__compose-phase--gap,
  .chat-feature-preview--home .chat-feature-preview__compose-phase--b,
  .chat-feature-preview--home .chat-feature-preview__home-bubble-a,
  .chat-feature-preview--home .chat-feature-preview__home-bubble-b,
  .chat-feature-preview--home .chat-feature-preview__home-progress-a,
  .chat-feature-preview--home .chat-feature-preview__home-progress-b,
  .chat-feature-preview--home .chat-feature-preview__home-reply-a,
  .chat-feature-preview--home .chat-feature-preview__home-reply-b,
  .chat-feature-preview--home .chat-feature-preview__home-refs,
  .chat-feature-preview--home .chat-feature-preview__tap {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    max-width: none !important;
  }

  .chat-feature-preview--home .chat-feature-preview__home-bubble-a,
  .chat-feature-preview--home .chat-feature-preview__home-reply-a {
    opacity: 0.5 !important;
  }

  .chat-feature-preview--home .chat-feature-preview__placeholder,
  .chat-feature-preview--home .chat-feature-preview__compose-phase--a,
  .chat-feature-preview--home .chat-feature-preview__compose-phase--gap,
  .chat-feature-preview--home .chat-feature-preview__typed--home-a,
  .chat-feature-preview--home .chat-feature-preview__typed--home-b,
  .chat-feature-preview--home .chat-feature-preview__caret--home-a,
  .chat-feature-preview--home .chat-feature-preview__caret--home-b {
    display: none;
  }

  .chat-feature-preview--home .chat-feature-preview__compose-phase--b {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .chat-feature-preview--home .chat-feature-preview__pdf-scroll--home {
    animation: none !important;
    transform: none !important;
  }

  .chat-feature-preview--home .chat-feature-preview__send {
    display: none;
  }

  .chat-feature-preview--home .chat-feature-preview__mic {
    opacity: 1 !important;
  }
}

/* Executive Dashboard — scroll feature previews (focused panels, no app chrome) */

.dashboard-feature-preview-stage {
  background: #f3f4f6;
}

.dashboard-feature-preview-stage--empty {
  background: var(--surface);
}

.dashboard-feature-preview {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s;
  pointer-events: none;
}

.dashboard-feature-preview.is-active {
  opacity: 1;
  visibility: visible;
}

.dashboard-feature-preview__frame {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 5% 6%;
  font-size: clamp(11px, 0.55vw + 9px, 14px);
}

.dashboard-feature-preview__frame > .product-dashboard-mock__summary,
.dashboard-feature-preview__frame > .product-dashboard-mock__panel,
.dashboard-feature-preview__frame > .dashboard-feature-preview__stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  margin: 0;
}

.dashboard-feature-preview__stack {
  gap: 0.75rem;
}

.dashboard-feature-preview__frame .product-dashboard-mock__summary {
  margin-bottom: 0;
  padding: clamp(0.875rem, 3.5%, 1.375rem);
}

.dashboard-feature-preview__frame .product-dashboard-mock__panel {
  padding: clamp(0.875rem, 3.5%, 1.375rem);
}

.dashboard-feature-preview__frame .product-dashboard-mock__headline {
  font-size: clamp(0.875rem, 0.4vw + 0.78rem, 1.0625rem);
}

.dashboard-feature-preview__frame .product-dashboard-mock__gaps,
.dashboard-feature-preview__frame .product-dashboard-mock__pulses,
.dashboard-feature-preview__frame .product-dashboard-mock__trends {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.625rem;
}

.dashboard-feature-preview__frame .product-dashboard-mock__pulse + .product-dashboard-mock__pulse {
  margin-top: 0.25rem;
}

.dashboard-feature-preview__frame .product-dashboard-mock__pulse-bar {
  height: 0.4375rem;
}

.dashboard-feature-preview__frame .product-dashboard-mock__gap,
.dashboard-feature-preview__frame .product-dashboard-mock__trend {
  padding: 0.6875rem 0.75rem;
}

.dashboard-feature-preview__block--hold {
  opacity: 0;
  transform: translateY(8px);
}

.dashboard-feature-preview__actions-compact {
  flex-shrink: 0;
  margin-top: 0;
  padding: 0.6875rem 0.875rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.82);
}

.dashboard-feature-preview__frame .product-dashboard-mock__pulse-bar i.dashboard-feature-preview__bar-fill {
  transform: scaleX(0);
  transform-origin: left center;
}

/* Summary */

.dashboard-feature-preview--summary.dashboard-feature-preview--run .product-dashboard-mock__insight.dashboard-feature-preview__block--hold {
  animation: chat-preview-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

.dashboard-feature-preview--summary.dashboard-feature-preview--run .product-dashboard-mock__actions.dashboard-feature-preview__block--hold {
  animation: chat-preview-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) 1.05s forwards;
}

/* Repeat questions */

.dashboard-feature-preview--gaps.dashboard-feature-preview--run .product-dashboard-mock__gap:nth-child(1) {
  animation: chat-preview-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.dashboard-feature-preview--gaps.dashboard-feature-preview--run .product-dashboard-mock__gap:nth-child(2) {
  animation: chat-preview-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.65s forwards;
}

.dashboard-feature-preview--gaps.dashboard-feature-preview--run .product-dashboard-mock__gap:nth-child(3) {
  animation: chat-preview-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) 1s forwards;
}

.dashboard-feature-preview--gaps.dashboard-feature-preview--run .dashboard-feature-preview__gap--target {
  animation:
    chat-preview-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards,
    chat-preview-ref-press 0.35s ease 1.35s forwards;
}

/* Team usage */

.dashboard-feature-preview--usage.dashboard-feature-preview--run .dashboard-feature-preview__bar-fill {
  animation: dashboard-preview-bar-grow 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.dashboard-feature-preview--usage.dashboard-feature-preview--run .product-dashboard-mock__pulse:nth-child(1) .dashboard-feature-preview__bar-fill {
  animation-delay: 0.35s;
}

.dashboard-feature-preview--usage.dashboard-feature-preview--run .product-dashboard-mock__pulse:nth-child(2) .dashboard-feature-preview__bar-fill {
  animation-delay: 0.55s;
}

.dashboard-feature-preview--usage.dashboard-feature-preview--run .product-dashboard-mock__pulse:nth-child(3) .dashboard-feature-preview__bar-fill {
  animation-delay: 0.75s;
}

.dashboard-feature-preview--usage.dashboard-feature-preview--run .product-dashboard-mock__pulse:nth-child(4) .dashboard-feature-preview__bar-fill {
  animation-delay: 0.95s;
}

/* Update priorities */

.dashboard-feature-preview--priorities.dashboard-feature-preview--run .product-dashboard-mock__trend:nth-child(1) {
  animation: chat-preview-rise 0.4s ease 0.25s forwards;
}

.dashboard-feature-preview--priorities.dashboard-feature-preview--run .product-dashboard-mock__trend:nth-child(2) {
  animation: chat-preview-rise 0.4s ease 0.45s forwards;
}

.dashboard-feature-preview--priorities.dashboard-feature-preview--run .product-dashboard-mock__trend:nth-child(3) {
  animation: chat-preview-rise 0.4s ease 0.65s forwards;
}

.dashboard-feature-preview--priorities.dashboard-feature-preview--run .dashboard-feature-preview__trend--target {
  animation:
    chat-preview-rise 0.4s ease 0.25s forwards,
    chat-preview-ref-press 0.35s ease 1.05s forwards;
}

.dashboard-feature-preview--priorities.dashboard-feature-preview--run .dashboard-feature-preview__actions-compact.dashboard-feature-preview__block--hold {
  animation: chat-preview-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) 1.25s forwards;
}

@keyframes dashboard-preview-bar-grow {
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-feature-preview__block--hold,
  .dashboard-feature-preview__bar-fill,
  .product-dashboard-mock__gap,
  .product-dashboard-mock__trend {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .dashboard-feature-preview__frame .product-dashboard-mock__pulse-bar i.dashboard-feature-preview__bar-fill {
    transform: scaleX(1);
  }

  .dashboard-feature-preview--gaps.is-active .dashboard-feature-preview__gap--target,
  .dashboard-feature-preview--priorities.is-active .dashboard-feature-preview__trend--target {
    background: rgba(26, 86, 219, 0.14);
  }
}

/* Homepage Executive Dashboard preview */

.dashboard-feature-preview__clip--phased {
  position: relative;
  height: 100%;
}

.dashboard-feature-preview__phase {
  position: absolute;
  inset: 0;
}

.dashboard-feature-preview--home .dashboard-feature-preview__phase--usage,
.dashboard-feature-preview--home .dashboard-feature-preview__phase--gaps {
  opacity: 0;
  visibility: hidden;
  z-index: 2;
}

.dashboard-feature-preview--home .dashboard-feature-preview__frame {
  padding: 8% 9%;
  font-size: clamp(10px, 0.48vw + 8px, 13px);
}

.dashboard-feature-preview--home .product-dashboard-mock__headline {
  font-size: clamp(0.8125rem, 0.35vw + 0.72rem, 0.9375rem);
  line-height: 1.45;
}

.dashboard-feature-preview--home .product-dashboard-mock__panel h2 {
  font-size: clamp(0.75rem, 0.3vw + 0.68rem, 0.875rem);
}

.dashboard-feature-preview--home.dashboard-feature-preview--run .dashboard-feature-preview__phase--insight .product-dashboard-mock__insight.dashboard-feature-preview__block--hold {
  animation: chat-preview-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

.dashboard-feature-preview--home.dashboard-feature-preview--run .dashboard-feature-preview__phase--insight {
  animation: chat-preview-phase-out 0.45s ease 4.2s forwards;
}

.dashboard-feature-preview--home.dashboard-feature-preview--run .dashboard-feature-preview__phase--usage {
  animation:
    chat-preview-phase-in 0.45s ease 4.3s forwards,
    chat-preview-phase-out 0.45s ease 8.2s forwards;
}

.dashboard-feature-preview--home.dashboard-feature-preview--run .dashboard-feature-preview__phase--usage .product-dashboard-mock__pulse:nth-child(1) .dashboard-feature-preview__bar-fill {
  animation: dashboard-preview-bar-grow 0.65s cubic-bezier(0.22, 1, 0.36, 1) 4.75s forwards;
}

.dashboard-feature-preview--home.dashboard-feature-preview--run .dashboard-feature-preview__phase--usage .product-dashboard-mock__pulse:nth-child(2) .dashboard-feature-preview__bar-fill {
  animation: dashboard-preview-bar-grow 0.65s cubic-bezier(0.22, 1, 0.36, 1) 4.95s forwards;
}

.dashboard-feature-preview--home.dashboard-feature-preview--run .dashboard-feature-preview__phase--usage .product-dashboard-mock__pulse:nth-child(3) .dashboard-feature-preview__bar-fill {
  animation: dashboard-preview-bar-grow 0.65s cubic-bezier(0.22, 1, 0.36, 1) 5.15s forwards;
}

.dashboard-feature-preview--home.dashboard-feature-preview--run .dashboard-feature-preview__phase--gaps {
  animation: chat-preview-phase-in 0.45s ease 8.3s forwards;
}

.dashboard-feature-preview--home.dashboard-feature-preview--run .dashboard-feature-preview__phase--gaps .product-dashboard-mock__gap:nth-child(1) {
  animation: chat-preview-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) 8.65s forwards;
}

.dashboard-feature-preview--home.dashboard-feature-preview--run .dashboard-feature-preview__phase--gaps .product-dashboard-mock__gap:nth-child(2) {
  animation: chat-preview-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) 9s forwards;
}

.dashboard-feature-preview--home.dashboard-feature-preview--run .dashboard-feature-preview__phase--gaps .dashboard-feature-preview__gap--target {
  animation:
    chat-preview-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) 8.65s forwards,
    chat-preview-ref-press 0.35s ease 9.35s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-feature-preview--home .dashboard-feature-preview__phase--usage,
  .dashboard-feature-preview--home .dashboard-feature-preview__phase--gaps {
    display: none;
  }

  .dashboard-feature-preview--home .dashboard-feature-preview__phase--insight {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .dashboard-feature-preview--home .dashboard-feature-preview__block--hold,
  .dashboard-feature-preview--home .dashboard-feature-preview__bar-fill {
    opacity: 1 !important;
    transform: none !important;
  }

  .dashboard-feature-preview--home .dashboard-feature-preview__frame .product-dashboard-mock__pulse-bar i.dashboard-feature-preview__bar-fill {
    transform: scaleX(1);
  }
}
