:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fb;
  color: #172033;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
main { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 64px 0 140px; }
.eyebrow { margin: 0 0 12px; color: #4254a6; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1 { margin: 0 0 18px; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.05; }
.intro { max-width: 62ch; color: #4b5568; font-size: 1.05rem; line-height: 1.65; }
.ownership { margin-top: 28px; padding: 18px 20px; border: 1px solid #d9def0; border-radius: 16px; background: #fff; line-height: 1.55; }
.launcher {
  position: fixed; right: 24px; bottom: 24px; display: grid; place-items: center;
  width: 64px; height: 64px; border: 0; border-radius: 50%; color: #fff;
  background: #3046b5; box-shadow: 0 16px 38px rgba(36, 51, 126, .3); cursor: pointer;
}
.launcher:focus-visible, input:focus-visible, .send:focus-visible, .close:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }
.launcher svg { width: 30px; height: 30px; fill: currentColor; }
.assistant-dialog {
  position: fixed; right: 24px; bottom: 104px; width: min(390px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 136px)); overflow: auto; border: 1px solid #d8dced;
  border-radius: 20px; background: #fff; box-shadow: 0 22px 60px rgba(24, 34, 78, .24);
}
.assistant-dialog[hidden] { display: none; }
.dialog-header { display: flex; justify-content: space-between; gap: 20px; padding: 20px; border-bottom: 1px solid #e8eaf2; }
.dialog-header h2 { margin: 0; font-size: 1.1rem; }
.dialog-header p { margin: 5px 0 0; color: #667085; font-size: .88rem; }
.close { border: 0; background: transparent; color: #46506a; font-size: 1.4rem; cursor: pointer; }
.disclosure { margin: 18px; padding: 16px; border-radius: 14px; background: #eef1ff; color: #26336f; line-height: 1.5; }
.messages { min-height: 110px; padding: 0 18px 18px; }
.greeting { width: fit-content; max-width: 86%; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: #f1f3f8; line-height: 1.45; }
.composer { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 16px 18px 18px; border-top: 1px solid #e8eaf2; }
.composer label { grid-column: 1 / -1; font-size: .82rem; font-weight: 700; }
.composer input { min-width: 0; padding: 12px 13px; border: 1px solid #bbc2d5; border-radius: 11px; font: inherit; }
.send { border: 0; border-radius: 11px; padding: 0 16px; background: #3046b5; color: #fff; font-weight: 750; cursor: pointer; }
.status { grid-column: 1 / -1; min-height: 1.3em; margin: 0; color: #596174; font-size: .8rem; }
@media (max-width: 520px) {
  main { padding-top: 38px; }
  .launcher { right: 16px; bottom: 16px; }
  .assistant-dialog { right: 16px; bottom: 92px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
