* { box-sizing: border-box; }
body { margin: 0; padding: 20px; color: #103136; background: #eef5f1; font: 20px/1.45 system-ui, -apple-system, sans-serif; }
.demo-card { width: min(760px, calc(100vw - 660px)); padding: 36px 24px; background: #fff; border: 1px solid #d6e4dc; border-radius: 22px; }
header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent, #006576); }
nav { display: flex; gap: 4px; }
button { font: inherit; cursor: pointer; }
nav button { border: 1px solid #cbdad4; border-radius: 6px; background: #fff; color: #103136; padding: 5px 10px; font-size: 13px; }
nav button[aria-pressed="true"] { background: #103136; color: #fff; }
h1 { margin: 14px 0; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -.025em; }
p { margin: 12px 0; }
h2 { margin: 32px 0 12px; font-size: 21px; }
.benefits { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 24px; }
.benefits strong, .benefits span { display: block; }
.benefits strong { margin-bottom: 4px; }
.benefits span { color: #45605b; font-size: 20px; }
#open-chat { display: inline-flex; gap: 32px; align-items: center; margin-top: 2px; padding: 10px 18px; border: 0; border-radius: 9px; background: var(--accent, #006576); color: #fff; font-weight: 650; }
#open-chat { gap: 12px; }
button:disabled { opacity: .5; cursor: wait; }
button:focus-visible, a:focus-visible { outline: 3px solid #c79c00; outline-offset: 4px; }
#status { color: #56716a; font-size: 14px; }
.powered-by { display: flex; align-items: center; gap: 12px; border-top: 1px solid #d6e4dc; padding-top: 14px; margin-top: 16px; color: #737b8b; font-size: 14px; }
.powered-by img { display: block; width: 145px; height: auto; filter: brightness(0); opacity: .45; }
@media (max-width: 1000px) { .demo-card { width: min(100%, 760px); } }
@media (max-width: 600px) { body { padding: 12px 12px 64px; } .demo-card { padding: 28px 20px; border-radius: 16px; } h1 { font-size: 26px; } header { margin-bottom: 12px; } }

/* Fill the viewport vertically; retain the column width reserved for the widget. */
.demo-card { min-height: calc(100dvh - 40px); display: flex; flex-direction: column; align-items: stretch; }
#open-chat { align-self: flex-start; }
.powered-by { margin-top: auto; }
#status { margin-bottom: 16px; }
@media (max-width: 600px) {
  body { padding: 12px; }
  .demo-card { min-height: calc(100dvh - 24px); }
}

/* Center the content block within the card, keeping text left aligned. */
.demo-content { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 640px; margin-inline: auto; }
.demo-card { padding-inline: clamp(24px, 3vw, 44px); }
.demo-card > header, .demo-card > footer { width: 100%; max-width: 640px; margin-inline: auto; }
.demo-card > footer { margin-top: 12px; }
@media (max-width: 600px) { .demo-card { padding: 20px; } }
