.development-hero h1 {
  font-size: clamp(2.45rem, 4.5vw, 5rem);
  overflow-wrap: anywhere;
}

.development-hero .offer-hero-inner {
  align-items: start;
  gap: clamp(24px, 5vw, 76px);
}

.bot-demo {
  --demo-bg: #141511;
  --demo-surface: #202119;
  --demo-line: #444438;
  min-width: 0;
  padding: clamp(14px, 2.4vw, 28px);
}

.bot-demo [hidden],
.scenario-card [hidden] {
  display: none;
}

.demo-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-bottom: 14px;
}

.demo-heading h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  letter-spacing: -.025em;
}

.demo-heading p,
.demo-panel-heading p,
.demo-static-note {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.45;
}

.demo-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 10px;
}

.demo-button {
  min-height: 42px;
  padding: 7px 10px;
  border: 1px solid var(--demo-line);
  border-radius: 4px;
  background: var(--demo-surface);
  color: var(--fg);
  font: inherit;
  font-size: .875rem;
  font-weight: 650;
  cursor: pointer;
}

.demo-button:hover:not(:disabled) {
  border-color: var(--yellow);
}

.demo-button[aria-pressed="true"],
.demo-button-accent {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--demo-bg);
}

.demo-button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.demo-button:disabled {
  opacity: .48;
  cursor: default;
}

.demo-panel {
  min-width: 0;
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid var(--demo-line);
  background: var(--demo-bg);
}

.demo-panel-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--demo-line);
}

.demo-panel-heading h3 {
  font-size: 1rem;
  line-height: 1.3;
}

.demo-mark {
  display: grid;
  flex: 0 0 34px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #87712d;
  border-radius: 5px;
  background: #382f16;
  color: var(--yellow);
  font-weight: 750;
}

.demo-chat {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.demo-bubble {
  justify-self: start;
  max-width: 94%;
  padding: 9px 12px;
  border-radius: 3px 9px 9px;
  background: #2a2b22;
  font-size: .9375rem;
  line-height: 1.46;
}

.demo-bubble-reply {
  justify-self: end;
  border-radius: 9px 3px 9px 9px;
  background: #413719;
  color: #fff4c6;
}

.demo-options,
.demo-booking-footer,
.demo-result {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.demo-result {
  justify-content: space-between;
  gap: 8px 12px;
  padding: 10px 12px;
  border-inline-start: 2px solid var(--yellow);
  background: var(--demo-surface);
  font-size: .875rem;
  line-height: 1.42;
}

.demo-result strong {
  display: block;
  margin-bottom: 4px;
  color: var(--yellow);
}

.demo-label,
.demo-static-note {
  margin-top: 12px;
}

.demo-label {
  font-size: .875rem;
  font-weight: 650;
}

.demo-feedback {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.45;
}

.demo-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.demo-product {
  min-width: 0;
  border: 1px solid var(--demo-line);
  background: var(--demo-surface);
}

.demo-product img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.demo-product-body {
  padding: 8px;
}

.demo-product-body p {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 8px;
  margin-bottom: 6px;
  font-size: .875rem;
  line-height: 1.35;
}

.demo-product-body p span {
  color: var(--muted);
}

.demo-product-body .demo-button {
  width: 100%;
  padding-inline: 4px;
}

.scenario-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.scenario-card .text-link {
  margin-top: auto;
  padding-top: 16px;
}

.scenario-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 7px;
  margin: 14px 0 2px;
  padding: 0;
  list-style: none;
}

.scenario-flow li {
  padding: 5px 9px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--yellow);
  font-size: .8125rem;
  line-height: 1.45;
}

.development-apps {
  grid-template-columns: 1fr;
}

.app-preview {
  margin: 0;
  padding: 4px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: .875rem;
  line-height: 1.45;
}

.app-preview div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 12px;
  padding: 8px 0;
}

.app-preview div + div {
  border-top: 1px solid var(--line);
}

.app-preview dt {
  color: var(--muted);
}

.app-preview dd {
  margin: 0;
  color: var(--fg);
  font-weight: 650;
  text-align: right;
}

.app-preview div:last-child dd {
  color: var(--yellow);
}

@media (min-width: 1000px) {
  .development-apps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .development-hero h1 {
    font-size: clamp(2.05rem, 8.75vw, 4.1rem);
  }
}
