*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: #F7F5F7;
}

body {
  font-family: 'Instrument Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

/* ── BACKDROP GRADIENT (WebGL Canvas) ── */
.backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.backdrop canvas {
  position: absolute;
  top: -80px;
  left: -80px;
  width: calc(100% + 160px);
  height: calc(100% + 160px);
  display: block;
  opacity: 0.6;
  filter: blur(65px);
  transform: translateZ(0);
  will-change: contents;
}

/* ── ZONE 2: NEUTRAL COVER ── */
.zone-neutral {
  position: relative;
  z-index: 1;
  background: #f4f4f6;
  padding: 20px 0 120px;
}
.zone-neutral > .section-title {
  margin-top: 100px;
  margin-bottom: 0;
}

/* ── ZONE 3: GRADIENT SHOWS THROUGH ── */
.zone-gradient-lower {
  position: relative;
}

/* ── NAV BAR ── */
.navbar {
  position: relative;
  z-index: 10;
  padding: 38px 62px 0;
}

.navbar-pill {
  width: 1377px;
  max-width: 100%;
  height: 68px;
  margin: 0 auto;
  border-radius: 100000px;
  background: rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  padding: 0 0 0 58px;
  position: relative;
}

.navbar-logo-link {
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 31px;
  width: auto;
}

.navbar-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 106px;
  font-size: 18px;
  font-weight: 400;
}

.navbar-link.active {
  color: #000;
  text-decoration: underline;
}

.navbar-link.muted {
  color: #a7a7a7;
}

.navbar-cta {
  margin-left: auto;
  height: 65px;
  padding: 0 53px;
  background: #e9eaf5;
  border-radius: 10000px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #1c1c1c;
  font-weight: 400;
  transition: background 0.25s ease, color 0.25s ease;
}
/* HOVER TEST — #E9FEDD */
.navbar-cta:hover { background: #E9FEDD; }

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  color: #000;
  text-align: center;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: 86px;
  text-transform: capitalize;
  margin-bottom: 63px;
}

.hero-subtitle {
  color: #000;
  text-align: center;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 25px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 56px;
}

.hero-cta {
  width: 247px;
  height: 66px;
  border-radius: 10000px;
  background: #808CC4;
  color: #fff;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease;
}
/* HOVER TEST — #E9FEDD */
.hero-cta:hover { background: #E9FEDD; color: #1c1c1c; }

/* ── DEMO SECTION ── */
.demo-section {
  position: relative;
  z-index: 10;
  max-width: 100%;
  margin: 60px auto 0;
  padding: 0 62px;
  display: flex;
  justify-content: center;
}

.demo-card {
  position: relative;
  width: 1245px;
  max-width: 100%;
  height: 600px;
  border-radius: 30px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.58);
  background-image: radial-gradient(circle, rgba(140, 140, 170, 0.42) 0.6px, transparent 0.6px);
  background-size: 7.5px 7.5px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Canvas — hidden until chat docks */
.demo-canvas-area {
  position: absolute;
  top: 28px;
  left: 54px;
  right: 54px;
  bottom: 126px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease 0.25s, transform 0.5s ease 0.25s;
}
.demo-canvas-area.active {
  opacity: 1;
  transform: translateY(0);
}

/* Thinking overlay */
.demo-thinking-overlay {
  position: absolute;
  top: 28px;
  left: 54px;
  right: 54px;
  bottom: 126px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 20;
}
.demo-thinking-overlay.visible { opacity: 1; }

.demo-shimmer {
  width: 180px;
  height: 3px;
  border-radius: 2px;
  background: rgba(128, 140, 196, 0.10);
  overflow: hidden;
  position: relative;
}
.demo-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #808CC4, transparent);
  border-radius: 2px;
  animation: shimmer-sweep 1.5s ease-in-out infinite;
}
@keyframes shimmer-sweep {
  0%   { left: -50%; }
  100% { left: 100%; }
}

.demo-thinking-label {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  color: #808CC4;
  opacity: 0.85;
  letter-spacing: 0.01em;
}

/* AI response flash */
.demo-ai-reply {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(5px);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  color: #52525b;
  text-align: center;
  line-height: 1.55;
  max-width: 480px;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  z-index: 21;
}
.demo-ai-reply.visible {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

/* Chat bar — starts centered, docks to bottom */
.demo-chat-bar {
  position: absolute;
  left: 54px;
  right: 54px;
  height: 62px;
  border-radius: 16px;
  bottom: 50%;
  transform: translateY(50%);
  z-index: 30;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  padding: 0 16px 0 24px;
  gap: 10px;
  transition:
    bottom 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.5s ease;
}
.demo-chat-bar.docked {
  bottom: 48px;
  transform: translateY(0);
  box-shadow:
    0 1px 8px rgba(0, 0, 0, 0.03),
    0 0 0 1px rgba(255, 255, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.demo-chat-text {
  flex: 1;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  color: #18181b;
  line-height: 1.4;
  min-height: 22px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.demo-chat-text.placeholder { color: #b0b0b8; }

.demo-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0;
  transition: opacity 0.35s ease;
  flex-shrink: 0;
}
.demo-tag.demo-tag-visible { opacity: 1; }

.demo-tag-plus {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #52525b;
  line-height: 1;
}

.demo-tag-pill {
  height: 32px;
  border-radius: 10000px;
  background: #edeef6;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #52525b;
}

.demo-submit {
  width: 48px;
  height: 32px;
  display: block;
  flex-shrink: 0;
  cursor: pointer;
  background: #E9EAF5;
  border-radius: 10000px;
  padding: 6px;
  box-sizing: border-box;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  opacity: 0.35;
}
.demo-submit.demo-submit-active {
  opacity: 1;
  background: #808CC4;
  filter: brightness(0) invert(1);
  transform: scale(1.08);
}

.typed-cursor { color: #808CC4 !important; font-weight: 300; opacity: 0.7; }

/* Progress dots — active dot becomes a filling bar */
.demo-workflow-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 30;
}
.demo-workflow-dot {
  height: 7px;
  width: 7px;
  border-radius: 100px;
  background: rgba(128, 140, 196, 0.22);
  cursor: pointer;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
  border: none;
  padding: 0;
}
.demo-workflow-dot:hover { background: rgba(128, 140, 196, 0.45); }
.demo-workflow-dot.active {
  width: 48px;
  background: linear-gradient(90deg, #808CC4 var(--fill, 0%), rgba(128, 140, 196, 0.14) var(--fill, 0%));
}

/* ── CANVAS BLOCKS ── */
.canvas-block {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02), 0 8px 32px rgba(0, 0, 0, 0.05);
  padding: 24px;
  opacity: 0;
  transform: scale(0.97) translateY(12px);
  transition: opacity 400ms ease-out, transform 400ms ease-out;
  font-family: 'Instrument Sans', sans-serif;
  overflow: hidden;
  box-sizing: border-box;
}
.canvas-block.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.canvas-block.exiting {
  opacity: 0;
  transform: scale(0.98) translateY(-6px);
  transition: opacity 350ms ease-in, transform 350ms ease-in;
}

.block-pill {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a1a1aa;
  margin-bottom: 18px;
  display: block;
}

/* Multi-metric (stacked KPIs) */
.mm-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.mm-item:first-child { padding-top: 0; }
.mm-item:last-child { border-bottom: none; padding-bottom: 0; }
.mm-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.mm-num {
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.mm-unit {
  font-size: 15px;
  color: #71717a;
}
.mm-desc {
  font-size: 12px;
  color: #a1a1aa;
  margin-top: 5px;
  line-height: 1.3;
}
.mm-trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: #8B9FD4;
  margin-top: 5px;
  font-weight: 500;
}

/* Biomarkers */
.bio-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.bio-row:last-child { border-bottom: none; }
.bio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.bio-dot.positive { background: #18181b; }
.bio-dot.negative { background: #d4d4d8; }
.bio-name {
  font-size: 13px;
  font-weight: 600;
  color: #18181b;
  width: 50px;
  flex-shrink: 0;
}
.bio-status {
  font-size: 11px;
  color: #71717a;
  width: 56px;
  flex-shrink: 0;
}
.bio-bar-track {
  flex: 1;
  height: 6px;
  background: #f4f4f5;
  border-radius: 3px;
  overflow: hidden;
}
.bio-bar {
  height: 100%;
  background: linear-gradient(90deg, #8B7FD8, #B5ADEE);
  border-radius: 3px;
  width: 0;
  transition: width 600ms ease-in-out;
}
.bio-pct {
  font-size: 12px;
  font-weight: 600;
  color: #8B7FD8;
  width: 30px;
  text-align: right;
  flex-shrink: 0;
}

/* Staging */
.staging-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.staging-label-small {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a1a1aa;
  margin-bottom: 6px;
}
.staging-roman {
  font-size: 64px;
  font-weight: 300;
  color: #18181b;
  line-height: 1;
}
.staging-side {
  font-size: 13px;
  color: #808CC4;
  font-weight: 500;
  margin-top: 8px;
}
.tnm-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.tnm-badge {
  background: #f4f4f5;
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 11px;
  color: #52525b;
  font-weight: 500;
  white-space: nowrap;
}

/* Timeline (vertical) */
.tl-wrap {
  position: relative;
  padding-left: 24px;
}
.tl-spine {
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, #8B7FD8, #d4d4d8);
  border-radius: 2px;
}
.tl-item {
  position: relative;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 250ms ease-out, transform 250ms ease-out;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-item.visible { opacity: 1; transform: translateY(0); }
.tl-node {
  position: absolute;
  left: -20px;
  top: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tl-color, #8B7FD8);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px var(--tl-color, #8B7FD8);
}
.tl-name {
  font-size: 13px;
  font-weight: 600;
  color: #18181b;
  line-height: 1.3;
}
.tl-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.tl-badge {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tl-date { font-size: 11px; color: #a1a1aa; }

/* Narrative */
.narrative-inner {
  padding: 2px 0;
  display: flex;
  flex-direction: column;
  height: calc(100% - 42px);
}
.narrative-text-content {
  font-size: 14px;
  color: #3f3f46;
  line-height: 1.8;
  flex: 1;
}
.narrative-alert {
  font-size: 12px;
  color: #B8926A;
  margin-top: 12px;
  font-weight: 500;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* ── SECTION TITLES ── */
.section-title {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1245px;
  max-width: calc(100% - 124px);
  margin: 100px auto 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}
.section-title.eyebrow-only {
  display: flex;
  align-items: center;
}

.eyebrow-pill {
  order: 2;
  flex-shrink: 0;
  padding-right: 16px;
  border-right: 2px solid #808CC4;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #808CC4;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.section-title-body {
  order: 1;
  flex: 1;
  min-width: 0;
}

.section-headline {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.3;
  color: #1a1a2e;
}

.section-subheadline {
  margin-top: 12px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: #666;
}

/* ── TESTIMONIALS (Figma 1-25040) ── */
.testimonials {
  position: relative;
  z-index: 10;
  width: 100%;
  overflow: hidden;
  margin-top: 100px;
  margin-bottom: 120px;
  opacity: 0.8;
}

.testimonials-track {
  display: flex;
  align-items: center;
  gap: 69px;
  white-space: nowrap;
  animation: scroll-left 30s linear infinite;
  width: max-content;
}

@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.testimonial-avatar {
  width: 59px;
  height: 59px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.avatar-grad-1 {
  background: linear-gradient(135deg, #092092, #808CC4);
}

.avatar-grad-2 {
  background: linear-gradient(135deg, #808CC4, #9B7EC8, #7EC89B);
}

.avatar-grad-3 {
  background: linear-gradient(135deg, #7EC89B, #6B8CC4, #092092);
}

.testimonial-text {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  color: #000;
  white-space: normal;
  max-width: 346px;
}

/* ── FEATURE CARD (Figma 1-99657) ── */
.feature-section {
  position: relative;
  width: 1243px;
  max-width: calc(100% - 124px);
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform, opacity;
  transform: scale(0.93);
  opacity: 0.6;
}
.feature-tabs + .feature-section {
  margin-top: 0;
}

.features-wrap {
  position: relative;
  z-index: 10;
  margin-top: -14px;
}

/* Sticky tab bar */
.feature-tabs {
  position: sticky;
  top: 20px;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 10px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.feature-tabs.visible {
  opacity: 1;
  pointer-events: auto;
}

.feature-tabs-pill {
  display: flex;
  align-items: center;
  gap: 0;
  height: 44px;
  border-radius: 100000px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 3px 4px;
}

.feature-tab {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  background: transparent;
  border: none;
  border-radius: 1000px;
  padding: 10px 32px;
  cursor: pointer;
  line-height: normal;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.feature-tab.active {
  background: #808CC4;
  color: #fff;
}

/* Main card */
.feature-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  padding: 35px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.feature-card-body {
  display: flex;
  gap: 35px;
}

/* Left column */
.feature-left {
  flex: 0 0 584px;
  display: flex;
  flex-direction: column;
}

.feature-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 46px;
  color: #000;
  margin: 40px 0 0 6px;
}

.feature-desc {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #000;
  width: 100%;
  margin: 20px 0 0 6px;
}

.feature-integrations-label {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
  margin: auto 0 0 0;
}

.feature-pills-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.feature-pills-row:first-of-type {
  margin-top: 18px;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px 0 12px;
  border-radius: 100000px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #4a4a4a;
  white-space: nowrap;
}

.feature-pill-dot {
  display: none;
}

.feature-pill::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #8B9FD4, #7B8CC8);
}

.feature-pill:nth-child(2)::before {
  background: linear-gradient(135deg, #A8E6CF, #88D4B0);
}
.feature-pill:nth-child(3)::before {
  background: linear-gradient(135deg, #D4A88B, #C4927A);
}
.feature-pill:nth-child(4)::before {
  background: linear-gradient(135deg, #C8E88B, #B4D47A);
}
.feature-pill:nth-child(5)::before {
  background: linear-gradient(135deg, #9B8BD4, #8A7AC8);
}
.feature-pill:nth-child(6)::before {
  background: linear-gradient(135deg, #E8C88B, #D4B47A);
}
.feature-pill:nth-child(7)::before {
  background: linear-gradient(135deg, #B0BAE8, #A0AAD8);
}

.feature-more {
  font-family: 'Inter', 'Instrument Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #4a4a4a;
  margin-top: 12px;
}

.feature-more-inline {
  font-family: 'Inter', 'Instrument Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #4a4a4a;
  display: inline-flex;
  align-items: center;
  height: 36px;
}

/* Right column: dotted board */
.feature-right {
  flex: 1;
  min-width: 0;
}

.feature-dotted-board {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 537px;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.66);
  background-image: radial-gradient(circle, #D9D9D9 0.6px, transparent 0.6px);
  background-size: 7.5px 7.5px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

/* ─── Connector Workflow (Card 1) ─── */

.conn-wrap {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px 20px 20px; box-sizing: border-box; z-index: 2; pointer-events: none;
  gap: 8px;
}

/* Trigger button */
.conn-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 10px;
  padding: 9px 16px; box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  font-family: 'Instrument Sans', sans-serif; font-size: 12px; font-weight: 500; color: #444;
  opacity: 0; transform: translateY(6px) scale(0.97);
  transition: opacity .35s ease-out, transform .35s ease-out;
}
.conn-trigger.visible { opacity: 1; transform: translateY(0) scale(1); }

/* Connection status card */
.conn-pipeline {
  width: 100%; max-width: 380px;
  background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  padding: 14px 16px; position: relative; overflow: hidden;
  opacity: 0; transform: translateY(6px) scale(0.97);
  transition: opacity .35s ease-out, transform .35s ease-out;
}
.conn-pipeline.visible { opacity: 1; transform: translateY(0) scale(1); }

.conn-pipeline-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: rgba(128,140,196,0.10);
}
.conn-pipeline-fill {
  width: 0%; height: 100%;
  background: linear-gradient(90deg, #A7B7FF, #808CC4);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Step rows */
.conn-step {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 0;
}
.conn-step + .conn-step { border-top: 1px solid rgba(0,0,0,0.04); }

.conn-step-check {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid rgba(0,0,0,0.12); background: transparent;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, border-color .25s ease;
}
.conn-step-check svg { opacity: 0; transition: opacity .2s ease; }

.conn-step.done .conn-step-check {
  background: #8B9FD4; border-color: #8B9FD4;
}
.conn-step.done .conn-step-check svg { opacity: 1; }

.conn-step-label {
  font-family: 'Instrument Sans', sans-serif; font-size: 12px; font-weight: 600;
  color: #999; transition: color .3s ease;
  min-width: 70px;
}
.conn-step.done .conn-step-label { color: #333; }

.conn-step-desc {
  margin-left: auto; font-family: 'Instrument Sans', sans-serif;
  font-size: 10px; color: #bbb; white-space: nowrap;
  opacity: 0; transform: translateX(-4px);
  transition: opacity .3s ease, transform .3s ease, color .3s ease;
}
.conn-step.done .conn-step-desc { opacity: 1; transform: translateX(0); color: #999; }

/* Result card */
.conn-result {
  width: 100%; max-width: 380px;
  background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
  opacity: 0; transform: translateY(8px) scale(0.96);
  transition: opacity .4s ease-out, transform .4s ease-out;
}
.conn-result.visible { opacity: 1; transform: translateY(0) scale(1); }

.conn-result-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-bottom: 1px solid rgba(0,0,0,0.04);
}
.conn-result-title {
  font-family: 'Instrument Sans', sans-serif; font-size: 12px; font-weight: 600; color: #1a1a2e;
}

.conn-result-body { padding: 8px 14px; }
.conn-result-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0; font-family: 'Instrument Sans', sans-serif; font-size: 11px;
}
.conn-result-row + .conn-result-row { border-top: 1px solid rgba(0,0,0,0.03); }
.conn-result-key { color: #999; font-weight: 500; }
.conn-result-val { color: #444; font-weight: 500; text-align: right; }

.conn-result-foot {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-top: 1px solid rgba(0,0,0,0.04);
}
.conn-result-badge {
  font-family: 'Instrument Sans', sans-serif; font-size: 10px; font-weight: 600;
  color: #5a9a6e; background: rgba(90,154,110,0.10); border-radius: 6px;
  padding: 2px 8px; letter-spacing: 0.03em;
}
.conn-result-time {
  font-family: 'Instrument Sans', sans-serif; font-size: 10px; color: #bbb;
}

/* Three sub-cards */
.feature-subcards {
  display: flex;
  gap: 22px;
  margin-top: 35px;
}

.feature-subcard {
  flex: 1;
  min-height: 145px;
  border-radius: 20px;
  background: #fff;
  padding: 28px 35px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-subcard-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: normal;
  color: #4a4a4a;
}

.feature-subcard-desc {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #000;
  margin-top: 10px;
}

/* ── CASE STUDY CARD (Figma 2-149072) ── */
/* ─── Publication Spotlight (Red de Investigación) ─── */

.pub-section {
  position: relative; z-index: 10;
  width: 1245px; max-width: calc(100% - 124px);
  margin: 40px auto 0;
}



.pub-card {
  width: 100%;
  border-radius: 24px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: grid;
  grid-template-columns: 420px 1fr;
  overflow: hidden;
}

.pub-visual {
  min-height: 0;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.pub-section.visible .pub-visual {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.pub-histopath-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
  display: block;
}

/* Right: publication content */
.pub-content {
  flex: 1; min-width: 0; padding: 48px 52px;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 1s ease 0.15s, transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
  will-change: transform, opacity;
}
.pub-section.visible .pub-content {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.pub-source {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  color: #808CC4; text-transform: uppercase;
  margin-bottom: 14px;
}

.pub-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 30px; font-weight: 400; line-height: 1.25;
  color: #000; margin: 0 0 10px;
}

.pub-subtitle {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px; font-weight: 400; color: #666;
  margin: 0 0 28px; line-height: 1.5;
}

/* Stats row */
.pub-stats {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 28px;
}
.pub-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 24px;
}
.pub-stat:first-child { padding-left: 0; }
.pub-stat-num {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 26px; font-weight: 600; color: #1a1a2e; line-height: 1;
}
.pub-stat-label {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 11px; font-weight: 500; color: #999; margin-top: 3px;
  text-transform: lowercase;
}
.pub-stat-sep {
  width: 1px; height: 28px; background: rgba(0,0,0,0.08);
}

/* Logo strip */
.pub-logos {
  margin-bottom: 28px; overflow: hidden; width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease 0.35s;
}
.pub-section.visible .pub-logos {
  opacity: 1;
}
.pub-logo-label {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 10px; font-weight: 500; color: #bbb; letter-spacing: 0.05em;
  text-transform: uppercase; display: block; margin-bottom: 10px;
}
.pub-logo-strip {
  display: flex; align-items: center; gap: 40px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-logos 25s linear infinite;
}
.pub-logo-item {
  display: inline-flex; align-items: center; flex-shrink: 0;
}
.pub-logo-img {
  height: 26px; width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  vertical-align: middle;
}
@keyframes scroll-logos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* CTAs */
.pub-ctas {
  display: flex; align-items: center; gap: 20px;
}
.pub-cta-primary {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 28px; border-radius: 10000px;
  background: #808CC4; color: #fff;
  font-family: 'Instrument Sans', sans-serif; font-size: 14px; font-weight: 500;
  text-decoration: none;
  transition: background .2s ease, transform .15s ease;
}
.pub-cta-primary:hover { background: #6e7ab8; transform: translateY(-1px); }

.pub-cta-secondary {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px; font-weight: 500; color: #808CC4;
  text-decoration: none;
  transition: color .2s ease;
}
.pub-cta-secondary:hover { color: #5E6AAD; }

/* ── CAPABILITY CARDS (Figma 1-12615) ── */
.capability-cards {
  position: relative;
  z-index: 10;
  width: 1243px;
  max-width: calc(100% - 124px);
  margin: 50px auto 0;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 29px 19px;
}

.capability-card {
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  height: 427px;
  padding: 33px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.capability-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.capability-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.capability-card.visible:hover {
  transform: translateY(-4px);
}

.capability-icon {
  width: 54px;
  height: 53px;
  background: #e9eaf5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.capability-icon img {
  width: 34px;
  height: 34px;
}

.capability-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 27px;
  color: #000;
  width: 227px;
  margin-top: 33px;
}

.capability-title strong {
  font-weight: 600;
}

.capability-desc {
  position: absolute;
  bottom: 33px;
  left: 33px;
  right: 33px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
  color: #000;
  width: 225px;
}

/* ── CTA BANNER (Figma 1-37315) ── */
.cta-banner {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 502px;
  margin-top: 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.cta-banner.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
}

.cta-banner-card {
  position: relative;
  width: 1254px;
  max-width: calc(100% - 124px);
  height: 276px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
}

.cta-banner-headline {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 44px;
  color: #050505;
  width: 548px;
}

.cta-banner-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 265px;
  height: 68px;
  border-radius: 100000px;
  background: #e8e9f4;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #1c1c1c;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}
/* HOVER TEST — #E9FEDD */
.cta-banner-btn:hover { background: #E9FEDD; }

/* ── FOOTER (Figma 1-37360) ── */
.site-footer {
  position: relative;
  z-index: 10;
  width: 1454px;
  max-width: calc(100% - 46px);
  height: 382px;
  margin: 40px auto 0;
  border-radius: 30px;
  box-shadow: inset -1px -1px 4px rgba(255, 255, 255, 0.25),
              inset 1px 1px 4px rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 60px 80px 0 100px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.footer-logo {
  flex-shrink: 0;
  width: 155px;
}

.footer-logo img {
  width: 155px;
  height: auto;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-badge {
  height: 24px;
  width: auto;
  opacity: 0.45;
}

.footer-center {
  display: flex;
  gap: 80px;
  justify-content: center;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex-shrink: 0;
  white-space: nowrap;
}

.footer-link {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: normal;
  white-space: nowrap;
}

.footer-right {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-social-link img {
  width: 36px;
  height: 36px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  margin: auto 140px 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 80px 40px 100px;
}

.footer-copyright {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
}

/* ─── Answer Experience (Card 2) ─── */

.ans-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 20px 18px;
  box-sizing: border-box;
  z-index: 2;
  pointer-events: none;
}

/* Query bubble */
.ans-query {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 100px;
  padding: 8px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
  margin-bottom: 6px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.ans-query.visible {
  opacity: 1;
  transform: translateY(0);
}
.ans-query svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.ans-query span {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: #3f3f46;
  white-space: nowrap;
}

/* Thinking dots */
.ans-thinking {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 16px;
  margin-bottom: 6px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.ans-thinking.visible { opacity: 1; }
.ans-thinking.fade { opacity: 0; }
.ans-thinking span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #808CC4;
  opacity: 0.2;
}
.ans-thinking.visible span {
  animation: ansDot 1.2s ease-in-out infinite;
}
.ans-thinking span:nth-child(2) { animation-delay: 0.15s; }
.ans-thinking span:nth-child(3) { animation-delay: 0.3s; }
@keyframes ansDot {
  0%, 60%, 100% { opacity: 0.2; transform: scale(0.8); }
  30%           { opacity: 1; transform: scale(1.15); }
}

/* Answer card */
.ans-card {
  width: 100%;
  max-width: 430px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}
.ans-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ans-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(128, 140, 196, 0.03);
}
.ans-badge {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: #808CC4;
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 0.06em;
  line-height: 1.3;
}
.ans-head-label {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: #3f3f46;
  flex: 1;
}
.ans-head-time {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: #a1a1aa;
  letter-spacing: -0.01em;
}

.ans-card-body {
  padding: 14px 16px 12px;
}
.ans-text {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  color: #3f3f46;
  line-height: 1.7;
  margin: 0;
}
.ans-text strong {
  font-weight: 600;
  color: #18181b;
}
.ans-cite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(128, 140, 196, 0.1);
  color: #808CC4;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 9px;
  font-weight: 700;
  vertical-align: middle;
  margin: 0 1px;
  line-height: 1;
}

.ans-card-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(107, 157, 168, 0.03);
}
.ans-card-foot svg {
  flex-shrink: 0;
}
.ans-card-foot span {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  color: #8B9FD4;
}

/* Citation sources (single stacked card) */
.ans-sources-card {
  width: 100%;
  max-width: 430px;
  margin-top: 8px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.ans-sources-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.ans-source-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
}
.ans-source-row + .ans-source-row {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.ans-source-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(128, 140, 196, 0.08);
  color: #808CC4;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}
.ans-source-org {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #18181b;
  line-height: 1;
  flex-shrink: 0;
}
.ans-source-ref {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 9.5px;
  font-weight: 400;
  color: #71717a;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* ─── Evidence Pipeline (Card 3) ─── */

.evi-wrap {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px 20px 20px; box-sizing: border-box; z-index: 2; pointer-events: none;
  gap: 8px;
}

/* Trigger button */
.evi-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 10px;
  padding: 9px 16px; box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  font-family: 'Instrument Sans', sans-serif; font-size: 12px; font-weight: 500; color: #444;
  opacity: 0; transform: translateY(6px) scale(0.97);
  transition: opacity .35s ease-out, transform .35s ease-out;
}
.evi-trigger.visible { opacity: 1; transform: translateY(0) scale(1); }

/* Pipeline status card */
.evi-pipeline {
  width: 100%; max-width: 380px;
  background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  padding: 14px 16px; position: relative; overflow: hidden;
  opacity: 0; transform: translateY(6px) scale(0.97);
  transition: opacity .35s ease-out, transform .35s ease-out;
}
.evi-pipeline.visible { opacity: 1; transform: translateY(0) scale(1); }

/* Thin progress bar at top of pipeline card */
.evi-pipeline-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: rgba(128,140,196,0.10);
}
.evi-pipeline-fill {
  width: 0%; height: 100%;
  background: linear-gradient(90deg, #808CC4, #9B8AC4);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pipeline step rows */
.evi-step {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
}
.evi-step + .evi-step { border-top: 1px solid rgba(0,0,0,0.04); }

.evi-step-check {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid rgba(0,0,0,0.12); background: transparent;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, border-color .25s ease;
}
.evi-step-check svg { opacity: 0; transition: opacity .2s ease; }

.evi-step.done .evi-step-check {
  background: #808CC4; border-color: #808CC4;
}
.evi-step.done .evi-step-check svg { opacity: 1; }

.evi-step-label {
  font-family: 'Instrument Sans', sans-serif; font-size: 12px; font-weight: 500;
  color: #999; transition: color .3s ease;
}
.evi-step.done .evi-step-label { color: #333; }

.evi-step-meta {
  margin-left: auto; font-family: 'Instrument Sans', sans-serif;
  font-size: 10px; color: #bbb; white-space: nowrap;
  opacity: 0; transform: translateX(-4px);
  transition: opacity .3s ease, transform .3s ease, color .3s ease;
}
.evi-step.done .evi-step-meta { opacity: 1; transform: translateX(0); color: #808CC4; }

/* Deliverable report card */
.evi-report {
  width: 100%; max-width: 380px;
  background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
  opacity: 0; transform: translateY(8px) scale(0.96);
  transition: opacity .4s ease-out, transform .4s ease-out;
}
.evi-report.visible { opacity: 1; transform: translateY(0) scale(1); }

.evi-report-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-bottom: 1px solid rgba(0,0,0,0.04);
}
.evi-report-title {
  font-family: 'Instrument Sans', sans-serif; font-size: 12px; font-weight: 600; color: #1a1a2e;
}

.evi-report-body { padding: 8px 14px; }
.evi-report-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0; font-family: 'Instrument Sans', sans-serif; font-size: 11px;
}
.evi-report-row + .evi-report-row { border-top: 1px solid rgba(0,0,0,0.03); }
.evi-report-key { color: #999; font-weight: 500; }
.evi-report-val { color: #444; font-weight: 500; text-align: right; }

.evi-report-foot {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-top: 1px solid rgba(0,0,0,0.04);
}
.evi-report-badge {
  font-family: 'Instrument Sans', sans-serif; font-size: 10px; font-weight: 600;
  color: #5a9a6e; background: rgba(90,154,110,0.10); border-radius: 6px;
  padding: 2px 8px; letter-spacing: 0.03em;
}
.evi-report-time {
  font-family: 'Instrument Sans', sans-serif; font-size: 10px; color: #bbb;
}

/* ═══════════════════════════════════════════
   LIFE SCIENCE PAGE OVERRIDES
   ═══════════════════════════════════════════ */

.feature-card-body.ls-flipped {
  flex-direction: row-reverse !important;
}

.ls-grid-3col {
  grid-template-columns: repeat(3, 1fr);
}

/* Hero image cascade */
.page-lifescience .hero-title {
  font-size: 52px;
  margin-bottom: 20px;
}
.page-lifescience .hero-subtitle {
  font-size: 20px;
}
.ls-cap-title {
  margin-top: 140px;
  margin-bottom: 24px;
}

.hero-cascade {
  position: relative;
  z-index: 10;
  width: 800px;
  max-width: calc(100% - 124px);
  height: 520px;
  margin: 80px auto 80px;
}

.hero-cascade-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-cascade-card {
  position: absolute;
  width: 420px;
  height: 350px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  right: calc(var(--cascade-i) * 130px);
  top: calc(var(--cascade-i) * 45px);
  z-index: var(--cascade-i);
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transform-origin: center center;
  animation: cascade-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--cascade-i) * 0.15s + 0.3s);
}

.hero-cascade-card.ready {
  will-change: transform, opacity;
}

.hero-cascade-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Cascade Board (shared glassmorphic stage) ── */
.cascade-board {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background-color: rgba(255, 255, 255, 0.7);
  background-image: radial-gradient(circle, #D9D9D9 0.5px, transparent 0.5px);
  background-size: 7px 7px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  font-family: 'Instrument Sans', sans-serif;
}

.cascade-board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cascade-board-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  padding: 4px 10px;
  border-radius: 100px;
}
.badge-journey { background: #C0C2C8; }
.badge-dataset { background: #B8BABF; }
.badge-cohort { background: #C0C2C8; }
.cascade-board-id {
  font-size: 10px;
  color: #999;
  font-weight: 500;
}

/* ── Patient Journey (Card 1) ── */
.cascade-journey {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 10px;
}
.cascade-journey::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 6px;
  bottom: 6px;
  width: 1.5px;
  background: #ddd;
}
.cascade-journey-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  position: relative;
}
.cascade-journey-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  flex-shrink: 0;
  z-index: 1;
}
.cascade-journey-step.done .cascade-journey-dot {
  background: #808CC4;
}
.cascade-journey-step.active .cascade-journey-dot {
  background: #E9FEDD;
  box-shadow: 0 0 0 3px rgba(128, 140, 196, 0.2);
}
.cascade-journey-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.cascade-journey-label {
  font-size: 11px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.2;
}
.cascade-journey-meta {
  font-size: 9.5px;
  color: #888;
  font-weight: 400;
}
.cascade-journey-time {
  font-size: 9px;
  color: #aaa;
  flex-shrink: 0;
  font-weight: 500;
}

/* ── Cohort View (Card 3) ── */
.cascade-cohort {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.cascade-cohort-stat {
  flex: 1;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  padding: 10px 10px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.cascade-cohort-num {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.2;
}
.cascade-cohort-label {
  display: block;
  font-size: 8.5px;
  color: #888;
  font-weight: 500;
  margin-top: 2px;
}
.cascade-cohort-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.cascade-cohort-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cascade-cohort-bar-label {
  font-size: 10px;
  font-weight: 500;
  color: #666;
  width: 52px;
  flex-shrink: 0;
}
.cascade-cohort-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  overflow: hidden;
}
.cascade-cohort-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #808CC4, #A7B7FF);
}
.cascade-cohort-bar-val {
  font-size: 10px;
  font-weight: 600;
  color: #1a1a2e;
  width: 28px;
  text-align: right;
  flex-shrink: 0;
}
.cascade-cohort-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}
.cascade-cohort-badge {
  font-size: 9px;
  font-weight: 600;
  color: #fff;
  background: #8B9FD4;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.cascade-cohort-note {
  font-size: 9px;
  color: #aaa;
  font-weight: 500;
}

/* ── Dataset Card (Card 2) ── */
.cascade-board-dataset {
  padding: 20px 24px 18px;
  gap: 0;
}
.cascade-ds-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cascade-ds-name {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
}
.cascade-ds-graph {
  flex: 1;
  position: relative;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  padding: 16px 16px 10px;
  min-height: 0;
}
.cascade-ds-graph svg {
  width: 100%;
  height: 100%;
  display: block;
}
.cascade-ds-legend {
  position: absolute;
  top: 10px;
  right: 12px;
  display: flex;
  gap: 10px;
  font-size: 8px;
  color: #aaa;
  font-weight: 500;
}
.cascade-ds-legend span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.leg-solid {
  display: inline-block;
  width: 12px;
  height: 2.5px;
  border-radius: 1px;
  background: #808CC4;
}
.leg-dash {
  display: inline-block;
  width: 12px;
  height: 0;
  border-top: 2px dashed #b8a0d4;
}
.cascade-ds-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}
.cascade-ds-stat {
  font-size: 11px;
  color: #888;
  font-weight: 400;
}
.cascade-ds-stat strong {
  color: #1a1a2e;
  font-weight: 700;
}
.cascade-ds-divider {
  width: 1px;
  height: 12px;
  background: #ddd;
}

/* ── Discovery Card (Card 4) ── */
.cascade-discovery {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
}
.cascade-discovery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: rotate(180deg);
}
.cascade-discovery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(10,10,20,0.55) 100%);
}
.cascade-discovery-top {
  display: flex;
}
.badge-discovery {
  background: #B8BABF;
}
.cascade-discovery-result {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.cascade-discovery-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Instrument Sans', sans-serif;
}
.cascade-discovery-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}
.cascade-discovery-val {
  font-size: 10px;
  color: #fff;
  font-weight: 600;
}

@keyframes cascade-in {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE: TABLET (768px – 1024px)
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .navbar { padding: 24px 24px 0; }
  .navbar-pill { padding: 0 0 0 28px; }
  .navbar-links { gap: 48px; font-size: 16px; }
  .navbar-cta { padding: 0 32px; height: 58px; font-size: 16px; }

  .hero { padding-top: 120px; }
  .hero-title { font-size: 48px; line-height: 64px; }
  .hero-subtitle { font-size: 22px; }

  .demo-section { padding: 0 24px; }
  .demo-card { height: 500px; }

  .section-title { max-width: calc(100% - 48px); }

  .feature-section { max-width: calc(100% - 48px); }
  .feature-left { flex: 0 0 420px; }
  .feature-desc { width: 100%; }
  .feature-dotted-board { height: 420px; }

  .pub-section { max-width: calc(100% - 48px); }
  .pub-card { grid-template-columns: 320px 1fr; }

  .capability-cards { max-width: calc(100% - 48px); }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-card { height: auto; min-height: 300px; }
  .capability-title { width: 100%; }
  .capability-desc {
    width: 100%;
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 24px;
  }

  .cta-banner-card { max-width: calc(100% - 48px); padding: 0 36px; }
  .cta-banner-headline { font-size: 32px; line-height: 40px; width: auto; flex: 1; }

  .site-footer { max-width: calc(100% - 24px); height: auto; }
  .footer-top { padding: 40px 40px 0; }
  .footer-bottom { padding: 24px 40px 32px; }
  .footer-divider { margin: 30px 40px 0; }
  .footer-center { gap: 48px; }

  .hero-cascade { width: 100%; max-width: calc(100% - 48px); }
  .hero-cascade-card { width: 340px; height: 280px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE: MOBILE (<768px)
   ═══════════════════════════════════════════ */
@media (max-width: 767px) {

  /* ── Base resets ── */
  .cta-banner-headline br { display: none; }

  /* ── Navbar ── */
  .navbar { padding: 16px 16px 0; }
  .navbar-pill { height: 56px; padding: 0 0 0 20px; }
  .navbar-logo { height: 24px; }
  .navbar-links { display: none; }
  .navbar-cta { height: 52px; padding: 0 24px; font-size: 15px; }

  /* ── Hero ── */
  .hero { padding-top: 72px; padding-left: 20px; padding-right: 20px; }
  .hero-title { font-size: 32px; line-height: 42px; margin-bottom: 24px; }
  .hero-subtitle { font-size: 18px; margin-bottom: 32px; }
  .hero-cta { width: 100%; max-width: 100%; }

  .page-lifescience .hero-title { font-size: 28px; line-height: 38px; margin-bottom: 16px; }
  .page-lifescience .hero-subtitle { font-size: 17px; }

  /* ── Demo card ── */
  .demo-section { padding: 0 16px; margin-top: 40px; }
  .demo-card { height: 360px; border-radius: 20px; }
  .demo-canvas-area { top: 16px; left: 16px; right: 16px; bottom: 80px; }
  .demo-thinking-overlay { top: 16px; left: 16px; right: 16px; bottom: 80px; }
  .demo-chat-bar {
    left: 16px; right: 16px;
    height: auto;
    min-height: 52px;
    border-radius: 14px;
    padding: 12px 12px 12px 16px;
  }
  .demo-chat-bar.docked { bottom: 20px; }
  .demo-chat-text {
    font-size: 13px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .demo-tag-pill { font-size: 11px; height: 28px; }
  .demo-submit { width: 40px; height: 28px; }
  .demo-workflow-dots { bottom: 6px; gap: 8px; }
  .demo-workflow-dot { height: 6px; width: 6px; }
  .demo-workflow-dot.active { width: 36px; }
  .demo-ai-reply { font-size: 13px; max-width: 90%; }

  .canvas-block {
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 14px;
    padding: 16px;
  }
  .mm-num { font-size: 28px; }
  .mm-unit { font-size: 13px; }
  .mm-item { padding: 10px 0; }
  .staging-roman { font-size: 48px; }
  .bio-row { gap: 6px; padding: 8px 0; }
  .bio-name { width: 42px; font-size: 12px; }
  .bio-status { width: 48px; font-size: 10px; }
  .bio-pct { font-size: 11px; width: 26px; }
  .narrative-text-content { font-size: 13px; line-height: 1.65; }
  .narrative-alert { font-size: 11px; }
  .tl-name { font-size: 12px; }
  .tl-badge { font-size: 8px; }
  .tl-date { font-size: 10px; }
  .tl-item { margin-bottom: 14px; }

  /* ── Testimonials ── */
  .testimonials { margin-top: 60px; margin-bottom: 60px; }
  .testimonials-track { gap: 32px; }
  .testimonial-avatar { width: 44px; height: 44px; font-size: 16px; }
  .testimonial-text { font-size: 15px; max-width: 280px; }

  /* ── Zone neutral spacing ── */
  .zone-neutral { padding: 20px 0 60px; }
  .zone-neutral > .section-title { margin-top: 60px; }

  /* ── Section titles ── */
  .section-title {
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
    padding: 0 20px;
    margin-top: 64px;
    gap: 16px;
    box-sizing: border-box;
  }
  .eyebrow-pill {
    order: -1;
    border-right: none;
    border-bottom: 2px solid #808CC4;
    padding-right: 0;
    padding-bottom: 8px;
    font-size: 11px;
  }
  .section-headline { font-size: 24px; }
  .section-subheadline { font-size: 16px; margin-top: 8px; }

  /* ── Feature tabs ── */
  .feature-tabs { top: 10px; }
  .feature-tabs-pill { padding: 2px 3px; height: 40px; }
  .feature-tab { font-size: 13px; padding: 8px 16px; }

  /* ── Feature carousel ── */
  .feature-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 16px 16px 0;
    scrollbar-width: none;
  }
  .feature-carousel::-webkit-scrollbar { display: none; }

  .feature-carousel > .feature-section {
    flex: 0 0 calc(100vw - 32px);
    scroll-snap-align: center;
    padding: 0;
    margin-top: 0;
    max-width: none;
    transform: none !important;
    opacity: 1 !important;
  }

  /* Pagination dots */
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 0 16px;
  }
  .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(128, 140, 196, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .carousel-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #808CC4;
  }

  .feature-card { padding: 24px; border-radius: 20px; }
  .feature-card-body {
    flex-direction: column;
    gap: 0;
  }
  .feature-card-body.ls-flipped { flex-direction: column !important; }

  /* Board first: title → board → toggle → details */
  .feature-card-body .feature-left { order: 1; }
  .feature-card-body .feature-right { order: 2; }
  .feature-card-body .feature-board-toggle { order: 3; }

  .feature-left { flex: none; width: 100%; }
  .feature-title { font-size: 26px; line-height: 34px; margin: 16px 0 0 0; }
  .feature-desc { width: 100%; font-size: 15px; margin: 12px 0 0 0; }

  /* Board: visible and prominent */
  .feature-right {
    display: block;
    width: 100%;
    margin-top: 16px;
  }
  .feature-dotted-board { height: 280px; border-radius: 20px; }

  /* Secondary info: always hidden on mobile */
  .feature-integrations-label,
  .feature-pills-row,
  .feature-more,
  .feature-more-inline { display: none; }
  .feature-subcards { display: none; }

  /* Toggle reveals subcards below the board */
  .feature-card.detail-open .feature-subcards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
  }

  .feature-subcard {
    min-height: auto;
    padding: 22px 24px;
    border-radius: 16px;
  }
  .feature-subcard-title { font-size: 20px; }
  .feature-subcard-desc { font-size: 14px; }

  /* ── Publication card ── */
  .pub-section {
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .pub-card {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }
  .pub-visual { max-height: 200px; overflow: hidden; }
  .pub-histopath-img { height: 200px; }
  .pub-content { padding: 28px 24px; }
  .pub-source { font-size: 10px; margin-bottom: 10px; }
  .pub-title { font-size: 24px; margin-bottom: 8px; }
  .pub-subtitle { font-size: 14px; margin-bottom: 20px; }
  .pub-stats { margin-bottom: 20px; }
  .pub-stat { padding: 0 14px; }
  .pub-stat:first-child { padding-left: 0; }
  .pub-stat-num { font-size: 22px; }
  .pub-stat-label { font-size: 10px; }
  .pub-stat-sep { height: 22px; }
  .pub-logos { margin-bottom: 20px; }
  .pub-ctas { flex-direction: column; gap: 12px; }
  .pub-cta-primary { width: 100%; height: 48px; font-size: 15px; }
  .pub-cta-secondary { text-align: center; }

  /* ── Capability cards ── */
  .capability-cards {
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .capability-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .capability-grid.ls-grid-3col { grid-template-columns: 1fr; }
  .capability-card {
    height: auto;
    min-height: auto;
    padding: 22px 24px;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .capability-card.cap-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .capability-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  .capability-icon img { width: 28px; height: 28px; }
  .capability-title {
    width: auto;
    flex: 1;
    min-width: 0;
    font-size: 18px;
    line-height: 24px;
    margin-top: 0;
  }
  .capability-desc {
    display: none;
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    margin-top: 4px;
    font-size: 15px;
    line-height: 22px;
  }
  .capability-card.cap-open .capability-desc {
    display: block;
  }

  .capability-card:nth-child(n+5) { display: flex; }

  /* ── CTA banner ── */
  .cta-banner { height: auto; min-height: 340px; margin-top: 60px; padding: 40px 0; }
  .cta-banner-card {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    max-width: 100%;
    margin: 0 16px;
    height: auto;
    padding: 40px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .cta-banner-headline { font-size: 26px; line-height: 34px; width: 100%; }
  .cta-banner-btn { width: 100%; height: 56px; font-size: 16px; }

  /* ── Footer ── */
  .site-footer {
    max-width: calc(100% - 16px);
    height: auto;
    border-radius: 20px;
    margin-top: 32px;
    margin-bottom: 8px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 32px 24px 0;
  }
  .footer-center { gap: 40px; }
  .footer-col { gap: 20px; }
  .footer-link { font-size: 15px; }
  .footer-divider { margin: 24px 24px 0; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px 28px;
  }
  .footer-copyright { font-size: 14px; }

  .ls-cap-title { margin-top: 60px !important; }

  /* ── Life science: hero cascade → horizontal carousel ── */
  .hero-cascade {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 32px auto 24px;
    padding: 0 16px;
    box-sizing: border-box;
    overflow: hidden;
  }
  .hero-cascade-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .hero-cascade-track::-webkit-scrollbar { display: none; }
  .hero-cascade-card {
    position: relative;
    flex: 0 0 80vw;
    width: 80vw;
    height: 300px;
    scroll-snap-align: center;
    right: auto !important;
    top: auto !important;
    z-index: auto !important;
    opacity: 1;
    transform: none;
    animation: none !important;
  }
  .cascade-board {
    padding: 16px 16px;
    border-radius: 14px;
    overflow: hidden;
  }
  .cascade-board-header { margin-bottom: 10px; }
  .cascade-board-badge { font-size: 9px; padding: 3px 8px; }
  .cascade-board-id { font-size: 9px; }
  .cascade-journey-step { padding: 4px 0; gap: 8px; }
  .cascade-journey-dot { width: 8px; height: 8px; }
  .cascade-journey-label { font-size: 10px; }
  .cascade-journey-meta { font-size: 8.5px; }
  .cascade-journey-time { font-size: 8px; }
  .cascade-cohort { gap: 8px; margin-bottom: 10px; }
  .cascade-cohort-num { font-size: 16px; }
  .cascade-cohort-stat { padding: 8px; }
  .cascade-cohort-bar-label { font-size: 9px; width: 44px; }
  .cascade-board-dataset { padding: 16px 16px 12px; }
  .cascade-ds-graph { padding: 12px 12px 8px; }
  .cascade-ds-stat { font-size: 10px; }
  .cascade-discovery-overlay { padding: 12px; }
  .cascade-discovery-label { font-size: 9px; }
  .cascade-discovery-val { font-size: 11px; }
}

/* ── Progressive disclosure buttons (all viewports) ── */
.carousel-dots { display: none; }

.feature-board-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 20px;
  padding: 14px 0;
  border: 1.5px solid rgba(128, 140, 196, 0.25);
  border-radius: 14px;
  background: rgba(128, 140, 196, 0.06);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #808CC4;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  order: 2;
}
.feature-board-toggle:active { background: rgba(128, 140, 196, 0.14); }
.feature-board-toggle .toggle-arrow {
  transition: transform 0.3s ease;
  display: inline-block;
}
.feature-board-toggle.expanded .toggle-arrow { transform: rotate(180deg); }

.cap-show-more {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  padding: 16px 0;
  border: 1.5px solid rgba(128, 140, 196, 0.2);
  border-radius: 14px;
  background: rgba(128, 140, 196, 0.04);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #808CC4;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cap-show-more:active { background: rgba(128, 140, 196, 0.12); }

@media (max-width: 767px) {
  .feature-board-toggle {
    display: flex;
    order: 3;
    margin-top: 16px;
  }
  .cap-show-more { display: none; }
}
