/* ═══════════════════════════════════════════════════════════════
   Home Page — hero video, typing animation, workflow styles
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero Video ── */
.hero-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
  filter: saturate(0.95) contrast(1.04) brightness(1);
  pointer-events: none;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  filter: saturate(0.95) contrast(1.04) brightness(1);
  transform: scale(1);
  animation: heroVideoScale 30s ease-in-out infinite alternate;
  transition: opacity 600ms ease;
  pointer-events: none;
}
.hero-video.loaded {
  opacity: 1;
}
.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-enclosure,
.hero-video::-webkit-media-controls-panel,
.hero-video::-webkit-media-controls-overlay-play-button {
  display: none !important;
}
.vsc-controller {
  display: none !important;
}

@keyframes heroVideoScale {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.02);
  }
}

/* ── Hero Overlays ── */
.hero-overlay {
  background: linear-gradient(
    180deg,
    hsla(210, 10%, 20%, 0.12) 0%,
    hsla(210, 10%, 20%, 0.06) 40%,
    transparent 60%,
    hsla(0, 0%, 99%, 0.35) 90%,
    hsl(0 0% 99%) 100%
  );
}
.hero-blend {
  background: linear-gradient(180deg, transparent 0%, hsl(0 0% 99%) 100%);
}
.hero-heading {
  font-size: clamp(2.75rem, 6.5vw, 4.5rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-shadow:
    0 2px 16px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(0, 0, 0, 0.12);
}
.hero-body {
  color: hsl(0 0% 100% / 0.92);
  text-shadow:
    0 1px 10px rgba(0, 0, 0, 0.35),
    0 0 28px rgba(0, 0, 0, 0.12);
}

/* ── Hero secondary CTA (frosted glass on video) ── */
.hero-secondary-cta {
  border: 1px solid hsl(0 0% 100% / 0.6);
  background: hsl(0 0% 100% / 0.35);
  color: hsl(0 0% 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 4px hsl(0 0% 0% / 0.06);
  transition:
    transform 200ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}
.hero-secondary-cta:hover,
.hero-secondary-cta:focus-visible {
  background: hsl(0 0% 100% / 0.5);
  border-color: hsl(0 0% 100% / 0.8);
  color: hsl(0 0% 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px hsl(0 0% 0% / 0.1);
}
.hero-secondary-cta:active {
  transform: translateY(0) scale(0.97);
}

/* ── Hero trust line (text-shadow over video) ── */
.hero-proof {
  color: hsl(0 0% 100% / 0.92);
  text-shadow:
    0 1px 10px hsl(0 0% 0% / 0.4),
    0 0 24px hsl(0 0% 0% / 0.15);
}

/* ── Typing Cursor ── */
@keyframes cursorBlink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}
#typing-cursor {
  animation: cursorBlink 1s steps(1, end) infinite;
}

/* ── Workflow Scrollytelling ── */
.wf-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
  padding: 1.25rem 1rem;
  border: 1px solid var(--mkt-card-border);
  border-bottom: none;
  background: var(--card);
  cursor: pointer;
  opacity: 0.5;
  transition:
    opacity 200ms ease,
    background 200ms ease,
    border-color 200ms ease;
}
.wf-card:first-child {
  border-radius: 12px 12px 0 0;
}
.wf-card:last-child {
  border-bottom: 1px solid var(--mkt-card-border);
  border-radius: 0 0 12px 12px;
}
.wf-card:hover {
  opacity: 0.75;
}
.wf-card.wf-active {
  opacity: 1;
  background: hsl(0 0% 0% / 0.015);
  border-color: var(--mkt-card-border-hover);
}
.wf-card.wf-active:hover {
  opacity: 1;
}
.wf-card.wf-active + .wf-card {
  border-top-color: var(--mkt-card-border-hover);
}

@media (max-width: 920px) {
  .wf-desktop {
    display: none !important;
  }
  .wf-mobile {
    display: block !important;
  }
}
@media (min-width: 921px) {
  .wf-mobile {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Benchmark Section — tabbed evaluation, Canonical-dominant
   ═══════════════════════════════════════════════════════════════ */

.bm-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}
.bm-intro-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.bm-eyebrow {
  margin: 0;
  color: var(--muted-foreground);
}
.bm-headline {
  margin: 0;
  color: var(--foreground);
  font-family: var(--mk-font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  max-width: 14ch;
}
.bm-headline-accent {
  color: var(--foreground);
  font-weight: 500;
}
.bm-intro-right {
  padding-top: 0.75rem;
  border-top: 1px solid var(--mkt-card-border);
}
.bm-intro-body {
  margin: 0;
  color: var(--mkt-body-color);
  font-family: var(--mk-font-body);
  font-size: clamp(0.93rem, 1.05vw, 1.02rem);
  line-height: 1.5;
  max-width: 40ch;
}

/* ── Proof summary ── */
.bm-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: stretch;
  border-top: 1px solid var(--foreground);
  border-bottom: 1px solid var(--mkt-card-border);
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}
.bm-proof-cell {
  padding: clamp(1.25rem, 2.3vw, 1.65rem) clamp(1rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
  border-left: 1px solid var(--mkt-card-border);
}
.bm-proof-cell:first-child {
  border-left: none;
  padding-left: 0;
}
.bm-proof-support {
  padding: clamp(1.25rem, 2.3vw, 1.65rem) 0 clamp(1.25rem, 2.3vw, 1.65rem)
    clamp(1rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  border-left: 1px solid var(--mkt-card-border);
}
.bm-proof-statement {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
  color: var(--foreground);
  line-height: 1.1;
  font-family: var(--mk-font-display);
}
.bm-proof-number {
  font-size: clamp(2rem, 3.25vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.bm-proof-phrase {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  font-weight: 500;
  letter-spacing: -0.008em;
  max-width: 18ch;
}
.bm-proof-statement-sm {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: var(--foreground);
  line-height: 1.15;
  font-family: var(--mk-font-display);
}
.bm-proof-number-sm {
  font-size: clamp(1.65rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.bm-proof-phrase-sm {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  font-weight: 500;
  letter-spacing: -0.006em;
  max-width: 22ch;
}
.bm-proof-helper {
  margin: 0;
  color: var(--muted-foreground);
  font-family: var(--mk-font-body);
  font-size: 13px;
  line-height: 1.5;
  max-width: 34ch;
}
.bm-proof-support-row {
  display: grid;
  grid-template-columns: minmax(58px, auto) 1fr;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.55rem 0;
  border-bottom: 1px dotted hsl(0 0% 0% / 0.08);
}
.bm-proof-support-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.bm-proof-support-row:first-child {
  padding-top: 0;
}
.bm-proof-support-value {
  color: var(--foreground);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.bm-proof-support-label {
  color: var(--muted-foreground);
  font-size: 12.5px;
  line-height: 1.4;
}

/* ── Tabs ── */
.bm-tabs-wrap {
  border-bottom: 1px solid var(--mkt-card-border);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.bm-tabs-wrap::-webkit-scrollbar {
  display: none;
}
.bm-tabs {
  display: inline-flex;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  min-width: max-content;
}
.bm-tab {
  appearance: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.75rem 0.1rem;
  color: var(--muted-foreground);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}
.bm-tab:hover {
  color: var(--foreground);
}
.bm-tab:focus-visible {
  outline: 2px solid var(--mkt-sage-text);
  outline-offset: 4px;
  border-radius: 2px;
}
.bm-tab-active {
  color: var(--foreground);
  border-bottom-color: var(--mkt-sage-text);
}

/* ── Panels ── */
.bm-panel {
  min-height: 360px;
}
.bm-panel-body {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.bm-panel-body[hidden] {
  display: none;
}
.bm-panel-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 62ch;
}
.bm-panel-title {
  margin: 0;
  color: var(--foreground);
  font-family: var(--mk-font-display);
  font-weight: 500;
  letter-spacing: -0.018em;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.2;
}
.bm-panel-lede {
  margin: 0;
  color: var(--mkt-body-color);
  font-family: var(--mk-font-body);
  font-size: clamp(0.93rem, 1.1vw, 1.03rem);
  line-height: 1.55;
}

/* ── Compare bars (coverage + speed) ── */
.bm-compare {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--mkt-card-border);
}
.bm-compare-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.9fr) minmax(0, 3fr) minmax(
      72px,
      auto
    ) minmax(120px, auto);
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--mkt-card-border);
}
.bm-compare-name {
  color: var(--muted-foreground);
  font-size: 14px;
}
.bm-compare-row-primary .bm-compare-name {
  color: var(--foreground);
  font-weight: 500;
}
.bm-compare-rail {
  height: 10px;
  border-radius: 999px;
  background: hsl(40 6% 94%);
  overflow: hidden;
}
.bm-compare-rail-fill {
  height: 100%;
  border-radius: 999px;
}
.bm-compare-value {
  color: var(--muted-foreground);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.bm-compare-row-primary .bm-compare-value {
  color: var(--foreground);
  font-size: 22px;
}
.bm-compare-unit {
  color: var(--muted-foreground);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* ── Matrix ── */
.bm-matrix-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bm-matrix {
  border-collapse: collapse;
  width: 100%;
  max-width: 680px;
  table-layout: fixed;
}
.bm-matrix th,
.bm-matrix td {
  padding: clamp(0.9rem, 1.6vw, 1.2rem) clamp(0.6rem, 1.4vw, 1rem);
  text-align: center;
  border-bottom: 1px solid var(--mkt-card-border);
  border-right: 1px solid var(--mkt-card-border);
  font-variant-numeric: tabular-nums;
}
.bm-matrix tr > :first-child {
  border-left: 1px solid var(--mkt-card-border);
}
.bm-matrix thead th:first-child {
  border: none;
}
.bm-matrix thead th {
  border-top: 1px solid var(--mkt-card-border);
}
.bm-matrix-col-head,
.bm-matrix-row-head {
  color: var(--muted-foreground);
  font-family: var(--mk-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: hsl(40 6% 97%);
}
.bm-matrix-head-primary {
  color: var(--foreground);
  background: hsl(155 25% 46% / 0.07);
}
.bm-matrix-cell {
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 500;
}
.bm-matrix-cell-diagonal {
  color: var(--foreground);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  background: hsl(40 6% 97%);
}
.bm-matrix-cell-primary {
  background: hsl(155 25% 46% / 0.12);
  color: hsl(155 38% 28%);
  font-size: 28px;
  letter-spacing: -0.02em;
}
.bm-matrix-row-primary .bm-matrix-cell:not(.bm-matrix-cell-diagonal) {
  background: hsl(155 25% 46% / 0.04);
}
.bm-matrix-caption {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.4;
}
.bm-matrix-swatch {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: hsl(155 25% 46% / 0.12);
  border: 1px solid hsl(155 25% 46% / 0.3);
}

/* ── Found ── */
.bm-found {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--mkt-card-border);
}
.bm-found-col {
  padding: 1.35rem clamp(1rem, 2vw, 1.5rem) 1.5rem;
  border-left: 1px solid var(--mkt-card-border);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.bm-found-col:first-child {
  border-left: none;
  padding-left: 0;
}
.bm-found-col:last-child {
  padding-right: 0;
}
.bm-found-col-primary {
  background: linear-gradient(180deg, hsl(155 25% 46% / 0.04), transparent 60%);
}
.bm-found-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.bm-found-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
}
.bm-found-name {
  color: var(--foreground);
  font-weight: 500;
  letter-spacing: -0.005em;
  font-size: 15px;
}
.bm-found-tag {
  font-family: var(--mk-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: hsl(155 25% 46% / 0.1);
  color: var(--mkt-sage-text);
}
.bm-found-desc {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 12.5px;
  line-height: 1.5;
  max-width: 32ch;
}
.bm-found-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.bm-found-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: baseline;
  gap: 0.65rem;
  padding: 0.4rem 0;
  border-bottom: 1px dotted hsl(0 0% 0% / 0.06);
}
.bm-found-item:last-child {
  border-bottom: none;
}
.bm-found-index {
  color: var(--muted-foreground);
  font-family: var(--mk-font-mono);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.bm-found-company {
  color: var(--foreground);
  font-size: 13.5px;
  letter-spacing: -0.005em;
}
.bm-found-more {
  margin: 0.55rem 0 0;
  color: var(--muted-foreground);
  font-family: var(--mk-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* ── Methodology footer ── */
.bm-footer {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--mkt-card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.bm-footer-meta {
  margin: 0;
  color: var(--muted-foreground);
  font-family: var(--mk-font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}
.bm-footer-query {
  color: var(--foreground);
}
.bm-footer-dot {
  display: inline-block;
  margin: 0 0.45rem;
  color: var(--mkt-card-border);
}
.bm-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--foreground);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--foreground);
  transition:
    color 180ms ease,
    border-color 180ms ease;
}
.bm-footer-link:hover,
.bm-footer-link:focus-visible {
  color: var(--mkt-sage-text);
  border-bottom-color: var(--mkt-sage-text);
}
.bm-footer-arrow {
  width: 0.85rem;
  height: 0.85rem;
}

@media (max-width: 860px) {
  .bm-intro {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .bm-intro-right {
    padding-top: 0.85rem;
  }
  .bm-proof {
    grid-template-columns: 1fr;
  }
  .bm-proof-cell,
  .bm-proof-support {
    border-left: none;
    border-top: 1px solid var(--mkt-card-border);
    padding-left: 0;
    padding-right: 0;
  }
  .bm-proof-cell:first-child {
    border-top: none;
  }
  .bm-found {
    grid-template-columns: 1fr;
    border-top: 1px solid var(--mkt-card-border);
  }
  .bm-found-col {
    border-left: none;
    border-top: 1px solid var(--mkt-card-border);
    padding-left: 0;
    padding-right: 0;
  }
  .bm-found-col:first-child {
    border-top: none;
  }
  .bm-found-col-primary {
    background: none;
    border-left: 2px solid var(--mkt-sage-text);
    padding-left: 1rem;
  }
  .bm-compare-row {
    grid-template-columns: minmax(96px, 0.7fr) minmax(0, 1fr) minmax(64px, auto);
    grid-template-rows: auto auto;
    row-gap: 0.25rem;
    column-gap: 1rem;
  }
  .bm-compare-unit {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .bm-proof-number {
    font-size: clamp(1.75rem, 9vw, 2.25rem);
  }
  .bm-proof-number-sm {
    font-size: clamp(1.5rem, 7vw, 1.9rem);
  }
  .bm-matrix th,
  .bm-matrix td {
    padding: 0.7rem 0.4rem;
  }
  .bm-matrix-col-head,
  .bm-matrix-row-head {
    font-size: 9.5px;
    letter-spacing: 0.06em;
  }
  .bm-matrix-cell-diagonal {
    font-size: 18px;
  }
  .bm-matrix-cell-primary {
    font-size: 22px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Final CTA Section
   ═══════════════════════════════════════════════════════════════ */

.final-cta-section {
  padding: clamp(5rem, 9vw, 7.5rem) 0;
}
.final-cta-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 820px;
  gap: 1rem;
}
.final-cta-headline {
  margin: 0;
  color: var(--foreground);
  font-family: var(--mk-font-display);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.02;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  max-width: 16ch;
}
.final-cta-body {
  margin: 0;
  color: var(--mkt-body-color);
  font-family: var(--mk-font-body);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.5;
  max-width: 52ch;
}
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.final-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: none;
  border-radius: 999px;
  background: var(--foreground);
  color: hsl(0 0% 100%);
  min-height: var(--mk-button-height-compact);
  padding: 0 1.35rem;
  box-shadow: 0 1px 3px hsl(0 0% 0% / 0.12);
}
.final-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid var(--mkt-card-border);
  border-radius: 999px;
  background: transparent;
  color: var(--foreground);
  min-height: var(--mk-button-height-compact);
  padding: 0 1.35rem;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}
.final-cta-secondary:hover,
.final-cta-secondary:focus-visible {
  border-color: var(--foreground);
  background: var(--mkt-bg-warm);
}

/* ── Code Asset Grid ── */
.code-asset-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 640px) {
  .code-asset-grid {
    grid-template-columns: 1fr;
  }
  .code-asset-grid > div:last-child {
    border-left: none !important;
    border-top: 1px solid hsl(0 0% 15%);
  }
  .code-asset-grid > div {
    padding: 1.5rem 1rem !important;
  }
  .query-demo-card {
    padding: 1.5rem 1.25rem !important;
  }
  .criteria-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }
  .criteria-label {
    min-width: unset !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Infrastructure section (post-hero positioning)
   Input → Engine → Output flow + App / API surface cards
   ═══════════════════════════════════════════════════════════════ */
.infra-section {
  background: var(--background);
  padding: clamp(3.5rem, 6vw, 5rem) 1.2rem;
}
.infra-container {
  width: min(1100px, 100%);
  margin: 0 auto;
}
.infra-intro {
  max-width: 720px;
  margin: 0 auto clamp(2.25rem, 3.5vw, 3rem);
  text-align: center;
}
.infra-intro-eyebrow {
  margin: 0;
  color: var(--mkt-sage-text);
}
.infra-intro-heading {
  margin: 0.7rem 0 0;
  color: var(--foreground);
  text-wrap: balance;
}
.infra-intro-body {
  margin: 0.9rem auto 0;
  color: var(--mkt-body-color);
  max-width: 600px;
}

/* ── Flow grid (3 cards with arrows between) ── */
.infra-flow {
  list-style: none;
  margin: 0 0 clamp(2rem, 3vw, 3rem);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
}
.infra-flow-item {
  display: contents;
}
.infra-flow-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.25rem, 2vw, 1.6rem) clamp(1.1rem, 2vw, 1.5rem);
  border: 1px solid var(--mkt-card-border);
  border-radius: 12px;
  background: var(--card);
  height: 100%;
}
.infra-flow-head-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.infra-flow-step {
  font-family: var(--mk-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  font-variant-numeric: tabular-nums;
}
.infra-flow-label {
  margin: 0;
  color: var(--mkt-sage-text);
  font-size: 11px;
}
.infra-flow-icon-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.15rem;
}
.infra-col-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--mkt-bg-warm);
  border: 1px solid var(--mkt-card-border);
  color: var(--mkt-sage-text);
  flex-shrink: 0;
}
.infra-col-icon svg {
  width: 1rem;
  height: 1rem;
}
.infra-flow-title {
  margin: 0;
  font-family: var(--mk-font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.3;
  color: var(--foreground);
}
.infra-flow-sample {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}
.infra-flow-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mkt-card-border-hover);
}
.infra-flow-arrow svg {
  width: 1.05rem;
  height: 1.05rem;
}

/* ── Surface cards (App / API) ── */
.infra-surfaces {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.infra-surface-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.5rem, 2.4vw, 2rem) clamp(1.4rem, 2.4vw, 2rem);
  border: 1px solid var(--mkt-card-border);
  border-radius: 14px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 200ms ease,
    box-shadow 200ms ease;
}
.infra-surface-card:hover,
.infra-surface-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--mkt-card-border-hover);
  box-shadow: 0 10px 28px hsl(24 18% 13% / 0.08);
}
.infra-surface-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.2rem;
}
.infra-surface-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--mkt-bg-warm);
  border: 1px solid var(--mkt-card-border);
  color: var(--mkt-sage-text);
  flex-shrink: 0;
}
.infra-surface-icon svg {
  width: 1rem;
  height: 1rem;
}
.infra-surface-eyebrow {
  margin: 0;
  color: var(--mkt-sage-text);
}
.infra-surface-heading {
  margin: 0;
  font-family: var(--mk-font-display);
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--foreground);
}
.infra-surface-body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--mkt-body-color);
}
.infra-surface-cta {
  margin-top: auto;
  padding-top: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  color: var(--foreground);
}
.infra-inline-arrow {
  display: inline-flex;
  width: 0.82rem;
  height: 0.82rem;
  transition: transform 170ms ease;
}
.infra-inline-arrow svg {
  width: 100%;
  height: 100%;
}
.infra-surface-card:hover .infra-inline-arrow,
.infra-surface-card:focus-visible .infra-inline-arrow {
  transform: translateX(2px);
}

@media (max-width: 860px) {
  .infra-flow {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .infra-flow-arrow {
    transform: rotate(90deg);
    justify-self: center;
    padding: 0.25rem 0;
  }
  .infra-surfaces {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Pricing teaser — 3-plan strip
   ═══════════════════════════════════════════════════════════════ */
.plan-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: clamp(1.75rem, 2.5vw, 2.25rem) auto 0;
  max-width: 880px;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: clamp(1.1rem, 1.8vw, 1.4rem) clamp(1.2rem, 2vw, 1.5rem);
  border: 1px solid var(--mkt-card-border);
  border-radius: 12px;
  background: var(--card);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.plan-card:hover {
  border-color: var(--mkt-card-border-hover);
  box-shadow: 0 6px 18px hsl(24 18% 13% / 0.06);
  transform: translateY(-1px);
}
.plan-card-recommended {
  border-color: var(--mkt-sage-text);
  box-shadow: 0 6px 22px hsl(155 25% 46% / 0.12);
}
.plan-card-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.2rem 0.65rem;
  font-family: var(--mk-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(0 0% 100%);
  background: var(--mkt-sage-text);
  border-radius: 999px;
  white-space: nowrap;
}
.plan-card-name {
  margin: 0;
  font-family: var(--mk-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mkt-sage-text);
}
.plan-card-price {
  margin: 0.2rem 0 0;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.plan-card-price-value {
  font-family: var(--mk-font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--foreground);
  font-variant-numeric: tabular-nums;
}
.plan-card-price-unit {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}
.plan-card-highlight {
  margin: 0.2rem 0 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--mkt-body-color);
}
.pricing-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.75rem, 2.5vw, 2.25rem);
}
@media (max-width: 720px) {
  .plan-strip {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Team section — wide 2-column card with Synaptic mark
   ═══════════════════════════════════════════════════════════════ */
.team-card-wide {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 0;
  border: 1px solid var(--mkt-card-border);
  border-radius: 16px;
  background: var(--card);
  overflow: hidden;
}
.team-mark-col {
  position: relative;
  background: var(--mkt-bg-warm);
  border-right: 1px solid var(--mkt-card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 3vw, 3rem);
  background-image: radial-gradient(circle at 1px 1px, hsl(28 12% 70% / 0.35) 1px, transparent 0);
  background-size: 16px 16px;
}
.team-mark-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--mkt-card-border);
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 2px 8px hsl(0 0% 0% / 0.04);
}
.team-mark-logo {
  width: 28px;
  height: 28px;
  color: var(--foreground);
}
.team-mark-label {
  font-family: var(--mk-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.team-content-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.team-section-eyebrow {
  margin: 0;
  color: var(--mkt-sage-text);
}
.team-section-heading {
  margin: 0.3rem 0 0;
  font-family: var(--mk-font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--foreground);
}
.team-section-body {
  margin: 0.55rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--mkt-body-color);
}
.team-proof-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.team-proof-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--foreground);
}
.team-proof-tick {
  flex-shrink: 0;
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.18rem;
  color: var(--mkt-sage-text);
}
.team-section-cta {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  color: var(--foreground);
}
.team-section-cta:hover .infra-inline-arrow,
.team-section-cta:focus-visible .infra-inline-arrow {
  transform: translateX(2px);
}
@media (max-width: 760px) {
  .team-card-wide {
    grid-template-columns: 1fr;
  }
  .team-mark-col {
    border-right: none;
    border-bottom: 1px solid var(--mkt-card-border);
    padding: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Integrations section — 3 icon-card grid (compact)
   ═══════════════════════════════════════════════════════════════ */
.integrations-section {
  background: var(--background);
  padding: clamp(2.5rem, 4vw, 3.5rem) 1.2rem;
}
.integrations-container {
  width: min(880px, 100%);
  margin: 0 auto;
}
.integrations-head {
  text-align: center;
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
}
.integrations-head-eyebrow {
  margin: 0;
  color: var(--mkt-sage-text);
}
.integrations-heading {
  margin: 0.5rem 0 0;
  color: var(--foreground);
  font-family: var(--mk-font-display);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.integrations-card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.integrations-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: clamp(1.4rem, 2.2vw, 1.75rem) clamp(1.25rem, 2vw, 1.5rem);
  border: 1px solid var(--mkt-card-border);
  border-radius: 12px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.integrations-card:hover {
  border-color: var(--mkt-card-border-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px hsl(24 18% 13% / 0.06);
}
.integrations-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.2rem;
  border-radius: 8px;
  background: var(--mkt-bg-warm);
  border: 1px solid var(--mkt-card-border);
  color: var(--mkt-sage-text);
  flex-shrink: 0;
}
.integrations-card-icon svg {
  width: 1rem;
  height: 1rem;
}
.integrations-card-name {
  margin: 0;
  font-family: var(--mk-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--foreground);
  font-weight: 500;
}
.integrations-card-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--mkt-body-color);
}
.integrations-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.25rem, 2vw, 1.75rem);
}
.integrations-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--foreground);
}
.integrations-cta:hover .infra-inline-arrow,
.integrations-cta:focus-visible .infra-inline-arrow {
  transform: translateX(2px);
}
@media (max-width: 760px) {
  .integrations-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile readability: bump sub-12px micro-text up to 12px on small screens.
   The 11px design works on desktop but is flagged on phones — 12px is the
   WCAG soft floor. Keep this list in sync if more 11px labels are added. */
@media (max-width: 768px) {
  .bm-matrix-row-head,
  .bm-matrix-col-head,
  .bm-found-more,
  .bm-found-index,
  .bm-footer-meta,
  .bm-tab,
  .bm-compare-row,
  .infra-flow-step,
  .infra-flow-label,
  .plan-card-name,
  .team-mark-label {
    font-size: 12px;
  }
}
