.overview-hero {
  --hero-copy: #45546b;
  --hero-accent: #155d92;
  --hero-rule: #ccd9e8;
  background: radial-gradient(ellipse at 85% 50%, #deecfb, transparent 58%), #f8fafc;
  color: #101c35;
}
.overview-hero h1 { color: #101c35; }
.overview-hero .hero-wave { opacity: .22; }
.overview-hero a.pill { background: #fff; color: #35445d; }
.overview-hero a.pill:hover { border-color: #155d92; color: #155d92; }
.overview-hero .pill b { background: #e3effb; color: #17466d; }
.overview-hero .btn-p { background: #132444; color: #fff; }
.overview-hero .btn-p:hover { background: #235680; color: #fff; }
.overview-hero .btn-s { background: #fff; color: #162843; }
.overview-hero .btn-s:hover { background: #eef6fe; color: #155d92; }
.overview-jump { border-block: 1px solid #e1e8f0; background: #fff; }
.overview-jump .wrap { display: flex; flex-wrap: wrap; gap: .25rem clamp(.5rem, 2vw, 2rem); padding-block: .5rem; }
.overview-jump a { padding: .625rem .5rem; color: #45546b; font-size: .875rem; font-weight: 650; }
.overview-jump a:hover { color: #155d92; text-decoration: underline; text-underline-offset: .25rem; }

.overview-hero ~ .sec, .overview-hero ~ .faq-section {
  scroll-margin-top: 6rem;
}
.overview-hero ~ #how-it-works {
  padding-block: clamp(2.5rem, 4.5vw, 3.75rem);
  background: #fff;
}
#how-it-works .section-heading { margin-block-end: clamp(1.25rem, 2vw, 1.75rem); }
#how-it-works .section-heading, .overview-hero ~ #problems .section-heading {
  margin-inline: 0;
  text-align: left;
}
.meeting-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  width: fit-content;
  max-width: 100%;
  margin-block: 0 1.5rem;
  padding: .375rem;
  border: 1px solid #e0e9f3;
  border-radius: .875rem;
  background: #f3f7fc;
}
.meeting-tabs button {
  padding: .625rem .875rem;
  border-radius: .625rem;
  color: #3b4d67;
  font-size: .875rem;
  font-weight: 650;
}
.meeting-tabs button:hover { background: #e7eff9; }
.meeting-tabs button[aria-selected="true"] { background: #142748; color: #fff; }
#how-it-works .step { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); border-radius: 1.375rem; }
#how-it-works .step-visual { background: radial-gradient(at 70% 35%, #e1edfd, #f1f5fb 80%); }

.overview-hero ~ #problems {
  background: linear-gradient(180deg, #f6f9fe, #eef4fb);
}
.overview-hero ~ #problems .ftiles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.875rem, 2vw, 1.5rem);
}
.overview-hero ~ #problems .ftile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: stretch;
  gap: clamp(.75rem, 1.5vw, 1.25rem);
  padding: clamp(1rem, 2vw, 1.5rem);
  border-color: #dce7f4;
  border-radius: 1.375rem;
  background: #fff;
}
.overview-hero ~ #problems .ftile:hover { border-color: #a5bbd6; }
.ftile-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.ftile-label { color: #155d92; font-size: .8125rem; font-weight: 650; }
.overview-hero ~ #problems .ftile h3 {
  margin-block: .65rem .5rem;
  line-height: 1.18;
  text-wrap: balance;
}
.overview-hero ~ #problems .ftile-description { color: var(--text-2); line-height: 1.55; }
.overview-hero ~ #problems .ftile .go { margin-top: auto; padding-top: 1rem; }
.overview-hero ~ #problems .ftile-art-frame {
  align-self: center;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce7f4;
  border-radius: .95rem;
  background: #edf4ff;
}
.overview-hero ~ #problems .ftile-art {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1.12);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .overview-hero ~ #problems .ftile-art-frame { transition: transform .24s ease; }
  .overview-hero ~ #problems .ftile:hover .ftile-art-frame { transform: translateY(-.2rem); }
}
@media (prefers-reduced-motion: reduce) {
  .overview-hero ~ #problems .ftile, .overview-hero ~ #problems .go::after { transition: none; transform: none; }
}
.overview-hero ~ #use-cases { background: #fff; }
.overview-hero ~ #use-cases .team-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}
.overview-hero ~ #use-cases .team-layout h2 { max-width: none; }
.overview-hero ~ #use-cases .team-intro { max-width: 62ch; margin-block-start: .875rem; }
.overview-hero ~ #use-cases .team-directory { border-radius: 1.375rem; }
.overview-hero ~ #use-cases .team-entry {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  padding-block: clamp(1.4rem, 3vw, 2.25rem);
}
@media (min-width: 960px) {
  .overview-hero ~ #use-cases .team-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.overview-hero ~ #integration-catalog .integration-more {
  margin-block-start: 1.25rem;
  border-radius: 999px;
  background: #c1efff;
  color: #11223f;
}
.overview-hero ~ #integration-catalog .integration-more:hover { background: #e5f8ff; }

@media (max-width: 760px) {
  .overview-hero ~ #problems .ftile { grid-template-columns: minmax(0, 1fr); }
}

/* Meeting demos stay fully readable until someone chooses to replay them. */
#how-it-works .meeting-tabs {
  width: fit-content;
  border-radius: 999px;
  border-color: #dee7f3;
  background: #f4f8fc;
}
#how-it-works .meeting-tabs button { padding: .65rem 1rem; border-radius: 999px; }
#how-it-works .meeting-tabs button[aria-selected="true"] { box-shadow: 0 3px 9px #13244429; }
.meeting-tab-short { display: none; }
#how-it-works .step {
  border-color: #d9e4f0;
  box-shadow: 0 10px 28px #1324440a;
}
#how-it-works .step-visual {
  background: radial-gradient(ellipse at 85% 10%, #dceafa, #f3f7fd 80%);
  padding: clamp(1rem, 3vw, 2.25rem);
}
#how-it-works .step-visual .demo {
  border-color: #d8e3f0;
  border-radius: 1rem;
  box-shadow: 0 12px 32px #10284817;
}
#how-it-works .demo-top {
  min-height: 3.25rem;
  border-color: #263f65;
  background: #142748;
  color: #f1f6ff;
}
#how-it-works .demo-top .demo-title { white-space: normal; overflow-wrap: anywhere; }
#how-it-works .brief-meta { font-weight: 630; color: #374f73; }
#how-it-works .brief-row { padding-block: .75rem; }
#how-it-works .acts span:first-child { background: #dcedff; color: #153f71; }
#how-it-works .demo-replay {
  border: 1px solid #6a83a6;
  border-radius: .5rem;
  background: #203a60;
  color: #f1f6ff;
}
#how-it-works .demo-replay:hover { background: #30517d; }

#how-it-works .demo.call .demo-top {
  min-height: 2.75rem;
  gap: .5rem;
  padding: .375rem .625rem .375rem .875rem;
}
#how-it-works .demo.call .demo-live { margin-right: .25rem; }
#how-it-works .demo.call .demo-body { gap: .75rem; padding: .875rem; }
#how-it-works .demo.call .tiles { flex-wrap: wrap; gap: .375rem; }
#how-it-works .demo.call .tile {
  flex: 0 1 auto;
  gap: .375rem;
  padding: .25rem .5rem;
  border-radius: 999px;
}
#how-it-works .demo.call .tile-av { width: 1.375rem; height: 1.375rem; }
#how-it-works .demo.call .feed { gap: .625rem; }
#how-it-works .demo.call .turn-text { line-height: 1.45; }
#how-it-works .demo.call .turn.mina .turn-text {
  padding: .375rem .625rem;
  border-radius: .375rem;
  background: var(--call-2);
}

@media (prefers-reduced-motion: no-preference) {
  #how-it-works .demo-replay { visibility: visible; }
  #how-it-works .step.is-changing .step-visual,
  #how-it-works .meeting-sticky-preview .step-visual:not([hidden]) .demo {
    animation: meeting-demo-in .32s cubic-bezier(.2, .75, .25, 1) both;
  }
  @keyframes meeting-demo-in {
    from { opacity: .6; transform: translateY(.4rem); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Keep the active demo beside the stage descriptions on larger screens. */
#how-it-works.meeting-sticky > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.075fr) minmax(0, .925fr);
  align-items: start;
  column-gap: clamp(2rem, 5vw, 5rem);
}
.meeting-sticky-panel {
  position: sticky;
  top: 6.5rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-height: calc(100dvh - 7.5rem);
}
#how-it-works .meeting-sticky-panel .section-heading { flex: none; }
.meeting-sticky-preview {
  min-height: 0;
  overflow: auto;
  border: 1px solid #d9e4f0;
  border-radius: 1.375rem;
  background: radial-gradient(ellipse at 85% 10%, #dceafa, #f3f7fd 80%);
}
#how-it-works .meeting-sticky-preview .step-visual {
  padding: clamp(.875rem, 1.6vw, 1.375rem);
  border: 0;
}
#how-it-works.meeting-sticky .steps {
  row-gap: clamp(1rem, 2vw, 1.75rem);
  padding-block-start: clamp(3rem, 6vw, 5rem);
}
#how-it-works.meeting-sticky .step {
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(17rem, 45vh, 26rem);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
#how-it-works.meeting-sticky .step + .step { border-top: 1px solid var(--line); }
#how-it-works.meeting-sticky .step:last-child {
  min-height: clamp(26rem, calc(100dvh - 17rem), 29rem);
  overflow: visible;
}
#how-it-works.meeting-sticky .step-copy {
  align-self: start;
  padding: clamp(1.125rem, 2.25vw, 1.875rem) 0;
}
#how-it-works.meeting-sticky .step:last-child .step-copy {
  position: sticky;
  top: 6.5rem;
}
#how-it-works.meeting-sticky [aria-current="step"] h3 { color: #155d92; }

@media (max-width: 899px) {
  .overview-hero ~ .sec { --section-space: clamp(2.5rem, 6vw, 3.5rem); }

  .marketing-content > .story-hero.overview-hero .story-grid {
    max-width: 45rem;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: clamp(1.375rem, 4vw, 2.25rem);
    text-align: center;
  }
  .marketing-content > .story-hero.overview-hero .story-copy {
    width: 100%;
    justify-items: center;
  }
  .marketing-content > .story-hero.overview-hero h1 {
    max-width: 20ch;
    font-size: clamp(2rem, 7.5vw, 3.5rem);
  }
  .overview-hero .story-title-line { white-space: normal; }
  .overview-hero .story-announcement { text-align: left; }
  .marketing-content .overview-hero :is(.story-actions, .badges) {
    justify-content: center;
  }
  .overview-hero .story-media { width: min(100%, 38rem); }

  #how-it-works:not(.meeting-sticky) > .wrap { max-width: 45rem; }
  #how-it-works:not(.meeting-sticky) .step { grid-template-columns: minmax(0, 1fr); }
  #how-it-works:not(.meeting-sticky) .step-copy { padding: clamp(1.125rem, 3vw, 1.75rem); }
  #how-it-works:not(.meeting-sticky) .step-visual { padding: clamp(.5rem, 2vw, 1.125rem); }
  #how-it-works .step-copy p { max-width: 56ch; }

  .overview-hero ~ #use-cases .team-layout { gap: 1.5rem; }
  .overview-hero ~ #use-cases .team-entry { padding-block: clamp(1rem, 2.5vw, 1.5rem); }

  .overview-hero ~ #integration-catalog .integration-showcase {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
  .overview-hero ~ #integration-catalog .section-heading { justify-self: center; text-align: center; }
  .overview-hero ~ #integration-catalog .section-heading .lede { margin-inline: auto; }
  .overview-hero ~ #integration-catalog .integration-orbit-frame { max-width: 26rem; }
}

@media (max-width: 859px) {
  .marketing-content > .story-hero.overview-hero { padding-block: clamp(1.75rem, 6vw, 3rem); }
}

@media (max-width: 560px) {
  .overview-hero .story-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 17rem);
    gap: .25rem;
  }
  .overview-hero .story-actions a { justify-content: center; }
  #how-it-works .meeting-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin-block-end: .875rem;
    padding: .25rem;
    border-radius: .875rem;
  }
  #how-it-works .meeting-tabs button {
    min-height: 44px;
    padding: .5rem .25rem;
    border-radius: .625rem;
  }
  .meeting-tab-full { display: none; }
  .meeting-tab-short { display: inline; }
  .overview-hero ~ #problems .ftiles { grid-template-columns: minmax(0, 1fr); }
  .overview-hero ~ #problems .ftile-art-frame { width: min(100%, 13rem); justify-self: center; }
}
