#mvp-mechanism {
  --handoff-bg: #0b281a;
  --handoff-surface: #133727;
  --handoff-text: #f3f6f2;
  --handoff-muted: #b9cfc1;
  --handoff-border: #385d49;
  --handoff-accent: #a8d8b7;
  --handoff-paper: #f3f6f2;
  --handoff-ink: #10291b;
  --handoff-green: #347a53;
  color: var(--handoff-text);
  background: var(--handoff-bg);
  padding-block: 86px;
  scroll-margin-top: 85px;
}

#mvp-mechanism h2,
#mvp-mechanism h3,
#mvp-mechanism p,
#mvp-mechanism dl,
#mvp-mechanism dd { margin: 0; }
#mvp-mechanism button { font: inherit; color: inherit; }
#mvp-mechanism [hidden] { display: none !important; }
#mvp-mechanism :focus-visible { outline: 2px solid #67a77f; outline-offset: 4px; }

#mvp-mechanism .shell {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}
#mvp-mechanism .icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
#mvp-mechanism .icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
#mvp-mechanism .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .105em;
  line-height: 1.4;
  text-transform: uppercase;
}
#mvp-mechanism .mono { font-size: 11px; font-weight: 600; letter-spacing: .065em; text-transform: uppercase; }
#mvp-mechanism .section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  column-gap: clamp(28px, 5.3vw, 70px);
  align-items: end;
  margin-bottom: 36px;
}
#mvp-mechanism .eyebrow { padding: 0; border: 0; background: none; }
#mvp-mechanism .section-label {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--handoff-accent);
  font-size: .7rem;
  letter-spacing: .18em;
}
#mvp-mechanism .section-label span { font-weight: 800; }
#mvp-mechanism .section-intro h2 {
  grid-column: 1;
  font-size: clamp(2.5rem, 4vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .98;
}
#mvp-mechanism .section-intro h2 em { font-style: normal; color: var(--handoff-accent); }
#mvp-mechanism .section-intro > p:last-child {
  grid-column: 2;
  grid-row: 1 / 3;
  max-width: 460px;
  margin-bottom: 4px;
  color: var(--handoff-muted);
  font-size: .92rem;
  line-height: 1.8;
}
#mvp-mechanism .handoff-demo {
  display: grid;
  grid-template-columns: minmax(234px, .7fr) minmax(0, 1.9fr);
  align-items: start;
  gap: clamp(14px, 2.3vw, 30px);
}
#mvp-mechanism .scenario-side {
  padding: 21px;
  border: 1px solid var(--handoff-border);
  border-radius: 18px;
  background: var(--handoff-surface);
}
#mvp-mechanism .demo-label { margin-bottom: 14px; color: var(--handoff-muted); }
#mvp-mechanism .scenario-tabs { display: grid; gap: 7px; }
#mvp-mechanism .scenario-tabs button {
  display: grid;
  width: 100%;
  min-height: 72px;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  transition: background-color .18s ease, border-color .18s ease;
}
#mvp-mechanism .scenario-tabs button:hover { background: #204634; }
#mvp-mechanism .scenario-tabs button[aria-selected="true"] { border-color: #68937a; background: #204634; }
#mvp-mechanism .scenario-tabs button strong,
#mvp-mechanism .scenario-tabs button small { display: block; }
#mvp-mechanism .scenario-tabs button strong { font-size: 14px; font-weight: 800; }
#mvp-mechanism .scenario-tabs button small { margin-top: 2px; color: var(--handoff-muted); font-size: 11px; line-height: 1.4; }
#mvp-mechanism .scenario-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: #204634;
  color: var(--handoff-accent);
}
#mvp-mechanism .scenario-icon .icon { width: 18px; height: 18px; }
#mvp-mechanism .scenario-tabs [aria-selected="true"] .scenario-icon { background: #345c46; color: var(--handoff-accent); }
#mvp-mechanism .scenario-arrow { width: 15px; height: 15px; opacity: 0; color: var(--handoff-accent); }
#mvp-mechanism .scenario-tabs [aria-selected="true"] .scenario-arrow { opacity: 1; }
#mvp-mechanism .conversation-stage {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d3e1d7;
  border-radius: 18px;
  background: #fbfcfa;
  color: var(--handoff-ink);
  box-shadow: 0 16px 36px #061c1250;
}
#mvp-mechanism .stage-header {
  display: flex;
  min-height: 65px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-inline: clamp(12px, 1.8vw, 24px);
  border-bottom: 1px solid #e0e9e2;
  background: #fff;
}
#mvp-mechanism .stage-header > span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 750;
}
#mvp-mechanism .stage-header .icon {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 10px;
  background: #e7f0ea;
  color: #286547;
}
#mvp-mechanism .stage-sample {
  padding: 4px 8px;
  border: 1px solid #dce7de;
  border-radius: 999px;
  background: #f3f7f3;
  color: #486153;
  white-space: nowrap;
}
#mvp-mechanism .scenario-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(162px, .52fr);
  align-items: start;
  gap: clamp(12px, 1.6vw, 22px);
  padding: clamp(10px, 1.6vw, 22px);
}
#mvp-mechanism .scenario-panel:focus-visible { outline-offset: -4px; }
#mvp-mechanism .message-thread {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
  padding: clamp(10px, 1.4vw, 18px);
  border: 1px solid #e1eae3;
  border-radius: 13px;
  background: #f0f5f1;
}
#mvp-mechanism .bubble {
  max-width: min(90%, 39ch);
  padding: 9px 12px 10px;
  border: 1px solid #dce6de;
  border-radius: 13px 13px 13px 4px;
  background: #fff;
  color: #1c3828;
  box-shadow: 0 2px 4px #173d2510;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
#mvp-mechanism .bubble > span {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 3px;
  color: #38614a;
  font-size: 11px;
  font-weight: 750;
}
#mvp-mechanism .bubble .icon { width: 13px; height: 13px; }
#mvp-mechanism .customer-bubble {
  align-self: flex-end;
  border-color: #c7ddce;
  border-radius: 13px 13px 4px 13px;
  background: #dceee2;
}
#mvp-mechanism .ai-bubble,
#mvp-mechanism .agent-bubble { align-self: flex-start; }
#mvp-mechanism .agent-bubble > span { color: #205c3c; }
#mvp-mechanism .thread-event {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2px 0;
  color: #315b40;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
#mvp-mechanism .thread-event::before,
#mvp-mechanism .thread-event::after {
  flex: 1 1 12px;
  height: 1px;
  background: #cbded0;
  content: "";
}
#mvp-mechanism .thread-event .icon { width: 13px; height: 13px; }
#mvp-mechanism .case-note {
  min-width: 0;
  padding: 15px;
  border: 1px solid #e0e9e2;
  border-radius: 13px;
  background: #fff;
}
#mvp-mechanism .case-icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 13px;
  place-items: center;
  border-radius: 7px;
  background: #d8ebde;
  color: #265f40;
}
#mvp-mechanism .case-icon .icon { width: 17px; height: 17px; }
#mvp-mechanism .case-note > p { color: #265f40; }
#mvp-mechanism .case-note h3 { margin-top: 5px; font-size: 17px; font-weight: 800; line-height: 1.25; letter-spacing: -.035em; }
#mvp-mechanism .case-note dl { margin-top: 13px; }
#mvp-mechanism .case-note dt { margin-top: 8px; color: #52695a; font-size: 10px; }
#mvp-mechanism .case-note dd { margin-top: 1px; font-size: 12px; font-weight: 800; }
#mvp-mechanism .case-link {
  min-height: 44px;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
}
#mvp-mechanism .case-link .icon { width: 14px; height: 14px; }
#mvp-mechanism .text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #265f40;
  font-weight: 800;
}
#mvp-mechanism .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 920px) {
  #mvp-mechanism .section-intro { display: block; }
  #mvp-mechanism .section-intro > p:last-child { margin-top: 16px; }
  #mvp-mechanism .scenario-side { padding: 14px; }
  #mvp-mechanism .scenario-tabs button { grid-template-columns: 33px 1fr auto; gap: 7px; padding: 7px; }
  #mvp-mechanism .scenario-icon { width: 33px; height: 33px; }
}

@media (max-width: 760px) {
  #mvp-mechanism { padding-block: 68px; }
  #mvp-mechanism .shell { width: calc(100% - 30px); }
  #mvp-mechanism .section-intro { margin-bottom: 23px; }
  #mvp-mechanism .section-label { margin-bottom: 13px; }
  #mvp-mechanism .section-intro > p:last-child { margin-top: 12px; }
  #mvp-mechanism .handoff-demo { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 475px) {
  #mvp-mechanism .scenario-panel { grid-template-columns: minmax(0, 1fr); }
  #mvp-mechanism .case-note { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 9px; padding: 12px; }
  #mvp-mechanism .case-icon { grid-row: 1 / 3; margin: 0; }
  #mvp-mechanism .case-note h3 { margin: 0; }
  #mvp-mechanism .case-note dl { display: grid; grid-column: 2; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 2px 8px; margin-top: 5px; }
  #mvp-mechanism .case-note dt,
  #mvp-mechanism .case-note dd { margin: 0; }
  #mvp-mechanism .case-link { grid-column: 2; margin-top: 0; }
  #mvp-mechanism .stage-header { padding-inline: 12px; }
  #mvp-mechanism .stage-header > span:first-child { font-size: 12px; }
  #mvp-mechanism .stage-header .icon { width: 27px; height: 27px; padding: 6px; }
  #mvp-mechanism .stage-sample { font-size: 9px; }
}
