@font-face{font-family:Montserrat;src:url('./montserrat.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:'Open Sans';src:url('./open-sans.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Open Sans';src:url('./open-sans-semibold.woff2') format('woff2');font-weight:600 800;font-display:swap}

:root {
  color-scheme: light;
  --ink: #111d33;
  --body: #46566e;
  --blue: #194ddd;
  --strong-blue: #123caf;
  --line: #dbe3f1;
  --paper: #f8fafc;
  --heading: Montserrat, 'Open Sans', sans-serif;
  --body-font: 'Open Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--body-font); }
button { font: inherit; }
a { color: var(--strong-blue); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #007da5; outline-offset: 4px; }
img { display: block; object-fit: contain; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.8vw, 3.2rem); line-height: 1.12; letter-spacing: -0.06em; }
h3 { font-size: 1.23rem; line-height: 1.25; letter-spacing: -0.038em; }
.shell { width: calc(100% - clamp(3rem, 5vw, 8rem)); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: 0.5rem; left: 1rem; padding: 0.6rem 1rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.nav, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 4.9rem; }
.wordmark { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); font: 700 1.42rem var(--heading); letter-spacing: -0.055em; text-decoration: none; white-space: nowrap; }
.nav nav, .footer-row nav { display: flex; gap: clamp(1rem, 3vw, 2rem); align-items: center; }
.nav nav a, .footer-row nav a { color: var(--body); font-size: 0.92rem; font-weight: 600; text-decoration: none; }
.nav nav a:hover, .footer-row nav a:hover { color: var(--blue); text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; padding: 0.63rem 1.2rem; min-height: 2.8rem; border-radius: 0.5rem; white-space: nowrap; }
.primary { color: white; background: var(--blue); }
.primary:hover { background: var(--strong-blue); }
.eyebrow { color: var(--strong-blue); font-size: 0.88rem; font-weight: 800; letter-spacing: 0.105em; text-transform: uppercase; }
.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.6rem, 7vw, 6.15rem) clamp(2.4rem, 5vw, 3.8rem);
  background: radial-gradient(ellipse at 90% 22%, #e5dbff 0%, transparent 43%),
              radial-gradient(ellipse at 76% 58%, #d9f2ff 0%, transparent 51%);
}
.hero::before,
.personality-section .launch-note::before,
.faq > .section-heading::before {
  content: '';
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  background: url('./nenihelp.png') center / contain no-repeat;
  pointer-events: none;
}
.hero::before {
  width: clamp(10rem, 20vw, 22rem);
  inset-block-start: clamp(0.6rem, 1.7vw, 2rem);
  inset-inline-end: clamp(0.5rem, 6vw, 7rem);
  opacity: 0.16;
  transform: rotate(-9deg);
}
.hero-copy { display: grid; grid-template-columns: 1.9fr 1fr; align-items: end; gap: clamp(1.5rem, 5vw, 4.75rem); margin-top: 1.15rem; }
.hero h1 { max-width: 56rem; font-size: clamp(2.9rem, 6.7vw, 6.25rem); line-height: 0.99; letter-spacing: -0.065em; }
.hero h1 span { color: var(--blue); }
.hero h1 .phrase { white-space: nowrap; }
.hero-description { padding-bottom: 0.15rem; }
.hero-description p { max-width: 27rem; color: var(--body); font-size: clamp(1rem, 1.55vw, 1.19rem); line-height: 1.65; }
.hero-description .button { margin-top: 1.35rem; }

.product { scroll-margin-top: 1.3rem; }
.demo-shell { overflow: hidden; background: #fff; border: 1px solid #c9d6ee; border-radius: 1.2rem; box-shadow: 0 1.3rem 3rem -2rem #243c8555; }
.demo-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1rem; padding: 0.6rem clamp(0.75rem, 2vw, 1.35rem); border-bottom: 1px solid #c9d6ee; }
.demo-top > .tab-list { grid-area: 1 / 1; }
.tab-list { display: flex; align-items: center; gap: 0.25rem; }
.tab-list button { padding: 0.6rem 0.84rem; font-size: 0.91rem; font-weight: 700; color: #40506c; border: 0; border-radius: 0.46rem; background: transparent; cursor: pointer; white-space: nowrap; }
.tab-list button[aria-selected='true'] { color: #2147b3; background: #eaf0ff; }
.tab-list button:hover { color: var(--strong-blue); }
.demo-label { grid-area: 1 / 3; justify-self: end; font-size: 0.88rem; color: var(--body); white-space: nowrap; }
.demo-stage {
  background:
    radial-gradient(ellipse at 82% 25%, #ccd9ffad, transparent 56%),
    radial-gradient(ellipse at 56% 95%, #ded8ff, transparent 54%),
    linear-gradient(#7895d51f 1px, transparent 1px),
    linear-gradient(90deg, #7895d51f 1px, transparent 1px), #ebf1ff;
  background-size: auto, auto, 1.65rem 1.65rem, 1.65rem 1.65rem;
}
.demo-pane { padding: clamp(1.35rem, 4.8vw, 4rem) clamp(1.35rem, 5vw, 4.6rem); min-height: 25.4rem; }
.chat-layout { display: grid; grid-template-columns: 0.84fr 1.16fr; align-items: center; gap: clamp(1.65rem, 5vw, 4.75rem); }
.demo-intro h2 { margin: 0.4rem 0 0.95rem; font-size: clamp(1.7rem, 3.15vw, 2.8rem); letter-spacing: -0.06em; }
.demo-intro > p:not(.eyebrow) { color: #384c6c; max-width: 28rem; }
.example-choices { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.35rem; }
.example-choices button { background: #f8fbff; color: #213762; border: 1px solid #9eb4e2; border-radius: 0.5rem; padding: 0.52rem 0.75rem; font-size: 0.875rem; font-weight: 700; cursor: pointer; }
.example-choices button:hover, .example-choices button[aria-pressed='true'] { border-color: #426be0; background: #dce7ff; }
.chat-window, .inbox-window, .article-window { min-width: 0; border-radius: 0.95rem; border: 1px solid #b5c5e9; background: #fff; overflow: hidden; box-shadow: 0 1.65rem 2.6rem -1.7rem #27499481; }
.chat-header { display: flex; align-items: center; gap: 0.7rem; padding: 0.82rem 1rem; background: #142c65; color: #fff; line-height: 1.35; }
.chat-header img { background: white; padding: 0.12rem; border-radius: 0.5rem; }
.chat-header small { display: block; color: #d3defb; font-size: 0.85rem; }
.chat-messages { min-height: clamp(17rem, 23vw, 22rem); padding: 1.1rem; display: grid; align-content: start; gap: 1rem; }
.bubble { width: fit-content; max-width: 100%; padding: 0.6rem 0.85rem; border-radius: 0.75rem; font-size: 0.92rem; line-height: 1.55; }
.customer-bubble { justify-self: end; background: var(--blue); color: white; border-bottom-right-radius: 0.25rem; }
.answer-row { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 0.5rem; align-items: start; }
.answer-row img { margin-top: 0.38rem; }
.bot-bubble { color: #1f3355; background: #edf2fb; border-bottom-left-radius: 0.25rem; }
.inline-action { margin-top: 0.42rem; padding: 0.3rem 0.4rem; color: var(--strong-blue); border: 0; background: transparent; font-size: 0.9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; text-align: left; }
.inbox-top { background: #142c65; color: white; display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.8rem 1rem; font-weight: 700; }
.small-label { font-size: 0.86rem; font-weight: 600; }
.demo-inbox-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 0.65rem 1rem; margin-bottom: 1.1rem; }
.demo-inbox-heading h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 0.25rem; }
.demo-inbox-heading p { color: #344c70; max-width: 48rem; }
.demo-inbox-heading .inline-action { margin: 0; }
#inbox-panel { padding: clamp(1rem, 3vw, 2.5rem); }
.inbox-body { display: grid; grid-template-columns: minmax(11rem, 1fr) minmax(0, 3fr); min-height: 21rem; }
.inbox-list { padding: 1rem; background: #f4f7ff; border-right: 1px solid #dbe5fa; overflow-wrap: anywhere; }
.inbox-list h3, .inbox-thread h3 { font-size: 1rem; }
.inbox-selected { margin-top: 0.7rem; padding: 0.65rem 0.75rem; border-radius: 0.45rem; background: #e1eaff; border-left: 3px solid var(--blue); color: #263e65; }
.inbox-selected p { margin-top: 0.2rem; font-size: 0.85rem; }
.inbox-thread-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; align-items: start; padding: 1rem; border-bottom: 1px solid #dbe5fa; }
.inbox-thread-heading p { font-size: 0.85rem; color: #4b5d7b; }
.inbox-thread-heading .inbox-status { padding: 0.3rem 0.65rem; border-radius: 999px; background: #fff1d6; color: #6a430d; font-weight: 650; }
.inbox-thread-heading .inbox-status.replied { background: #e4f5ed; color: #215c42; }
.inbox-transcript { display: grid; gap: 0.85rem; margin: 0; padding: 1rem; list-style: none; }
.inbox-transcript li { display: grid; gap: 0.2rem; }
.inbox-transcript strong { font-size: 0.8rem; color: #4f6282; }
.inbox-transcript p { width: fit-content; max-width: min(100%, 38rem); border-radius: 0.55rem; padding: 0.5rem 0.7rem; background: #edf2fb; color: #1f3355; font-size: 0.93rem; white-space: pre-wrap; }
.inbox-transcript li:first-child p { background: #e6edff; }
#demo-inbox-agent-message p { background: #e4f5ed; }
.inbox-composer { display: grid; gap: 0.45rem; padding: 0.85rem 1rem 1rem; border-top: 1px solid #dbe5fa; }
.inbox-composer label { font-size: 0.88rem; font-weight: 700; color: #263e65; }
.inbox-composer textarea { min-width: 0; width: 100%; padding: 0.6rem 0.7rem; border: 1px solid #aab9d0; border-radius: 0.45rem; color: var(--ink); font: inherit; resize: vertical; }
.inbox-composer textarea:focus-visible { outline: 3px solid #007da5; outline-offset: 2px; }
.inbox-composer button { justify-self: end; border: 0; cursor: pointer; }
.demo-agent-message .bubble { white-space: pre-wrap; background: #e4f5ed; }
.article-window { padding: 1.4rem; min-height: 17rem; }
.article-window h3 { margin-block: 0.7rem; font-size: 1.56rem; }
.article-crumb { color: var(--strong-blue); font-size: 0.88rem; font-weight: 600; }
.article-window ol { padding-left: 1.2rem; }
.article-window li { padding-left: 0.18rem; }

.how { padding-block: clamp(4.55rem, 8vw, 7.4rem); scroll-margin-top: -1.3rem; }
.section-heading h2 { max-width: 48rem; margin-top: 0.45rem; }
.workflow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.4rem, 4vw, 4rem); margin-top: clamp(1.65rem, 4vw, 3rem); }
.workflow article { border-top: 2px solid #b5c6f8; padding-top: 1.15rem; }
.workflow p { color: var(--body); margin-top: 0.66rem; }
.workspace-band { background: radial-gradient(ellipse at 95% 10%, #34336a, transparent 62%), #13284f; color: white; padding-block: clamp(3.5rem, 7vw, 6.25rem); }
.workspace-layout { display: grid; grid-template-columns: 1.17fr 0.83fr; gap: clamp(2rem, 8vw, 8.2rem); align-items: center; }
.workspace-layout .eyebrow { color: #a9c7ff; }
.workspace-layout h2 { margin: 0.5rem 0 1rem; max-width: 38rem; }
.workspace-layout p:not(.eyebrow) { color: #dbe6f8; max-width: 34rem; }
.workspace-settings { margin: 0; padding: 1.2rem; background: #1c375f; border: 1px solid #50658b; border-radius: 0.68rem; }
.workspace-settings > div { padding: 0.55rem 0.3rem 0.8rem; }
.workspace-settings > div + div { border-top: 1px solid #50658b; }
.workspace-settings > div:last-child { padding-bottom: 0.45rem; }
.workspace-settings dt { color: #a9c7ff; font-weight: 700; }
.workspace-settings dd { color: #fff; margin: 0.1rem 0 0; }
.faq { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(3.8rem, 8vw, 6.8rem); }
.faq > .section-heading { position: relative; isolation: isolate; }
.faq > .section-heading::before {
  width: min(70%, 15rem);
  inset-block-start: 1.3rem;
  inset-inline-end: 0;
  opacity: 0.08;
  transform: rotate(11deg);
}
details { border-bottom: 1px solid #c8d5ea; }
details:first-child { border-top: 1px solid #c8d5ea; }
summary { display: flex; align-items: center; gap: 1rem; justify-content: space-between; padding: 1rem 0; color: var(--ink); font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--blue); font-size: 1.25rem; }
details[open] summary::after { content: '−'; }
details p { color: var(--body); padding-bottom: 1rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; padding-block: 1rem; }
.footer-row > .wordmark { justify-self: start; }
.footer-row nav { flex-wrap: wrap; justify-content: flex-end; }
.footer-copyright { margin: 0; color: var(--body); font-size: 0.75rem; text-align: center; }
@media (min-width: 84rem) {
  .footer-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
}
@media (max-width: 62rem) {
  .footer-row { display: flex; flex-wrap: wrap; }
  .footer-copyright { order: 1; width: 100%; }
}

@media (max-width: 950px) {
  .hero-copy { grid-template-columns: 1.35fr 1fr; }
  .hero h1 { font-size: clamp(2.6rem, 7.2vw, 5rem); }
}
@media (max-width: 720px) {
  .inbox-body { grid-template-columns: minmax(0, 1fr); }
  .inbox-list { border-right: 0; border-bottom: 1px solid #dbe5fa; }
  .shell { width: calc(100% - 2rem); }
  .hero-copy, .chat-layout, .workspace-layout, .faq { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.65rem, 8.6vw, 4.1rem); }
  .hero::before { width: clamp(7rem, 30vw, 11rem); inset-inline-end: 0; opacity: 0.11; }
  .faq > .section-heading::before { inset-block-start: -0.85rem; width: min(27%, 8rem); }
  .workflow { grid-template-columns: 1fr; }
  .demo-pane { min-height: 0; }
  .demo-label { display: none; }
  .nav { flex-wrap: wrap; gap: 0.45rem 1rem; padding-block: 0.72rem; }
  .nav nav { order: 3; width: 100%; padding: 0.45rem 0 0.12rem; }
}
@media (max-width: 380px) {
  .tab-list { width: 100%; justify-content: space-between; gap: 0.1rem; }
  .tab-list button { font-size: 0.84rem; padding-inline: 0.38rem; }
  .demo-top, .demo-pane { padding-inline: 0.85rem; }
  .footer-row, .footer-row nav { align-items: flex-start; flex-direction: column; gap: 0.55rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.hero-actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1.12rem; }
.hero-actions .text-link { margin-top: 0.55rem; }
.text-link { font-weight: 700; }
.capabilities { padding-block: clamp(3.7rem, 7vw, 6rem); }
.capability-list { margin: 2.2rem 0 0; border-top: 1px solid var(--line); }
.capability-list > div { display: grid; grid-template-columns: minmax(9rem, 0.55fr) 1.45fr; gap: 1.1rem 2rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.capability-list dt { color: var(--strong-blue); font: 700 1.06rem/1.5 var(--heading); }
.capability-list dd { margin: 0; max-width: 49rem; }
.capability-list dd p { margin-top: 0.36rem; color: var(--body); }
.personality-section { padding-block: 0 clamp(3.7rem, 7vw, 6rem); }
.personality-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.65rem; }
.personality-examples article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.7rem, 1.6vw, 1.2rem);
  padding: clamp(1rem, 2vw, 1.5rem);
  background: #eaf0ff;
  border-radius: 0.9rem 0.9rem 0.9rem 0.2rem;
}
.personality-examples article:nth-child(2) { background: #e8f7f2; }
.personality-examples article:nth-child(3) { background: #eeebfa; }
.personality-examples p { margin-top: 0.5rem; }
.personality-bot {
  position: relative;
  display: grid;
  place-items: center;
  width: 4.25rem;
  aspect-ratio: 1;
  border: 1px solid var(--bot-edge);
  border-radius: 1.25rem;
  background: radial-gradient(circle at 24% 15%, white, var(--bot-tile));
}
.personality-bot::before {
  content: '';
  position: absolute;
  width: 0.48rem;
  aspect-ratio: 1;
  top: 0.44rem;
  background: var(--bot-ink);
  border-radius: 50%;
  box-shadow: 0 0.35rem 0 -0.12rem var(--bot-ink);
}
.personality-bot > span {
  position: relative;
  width: 2.75rem;
  height: 1.87rem;
  border: 2px solid var(--bot-ink);
  border-radius: 0.72rem;
  background: white;
  box-shadow: 0 0.18rem var(--bot-edge);
}
.personality-bot > span::before,
.personality-bot > span::after {
  content: '';
  position: absolute;
  inset-inline-start: 50%;
  transform: translateX(-50%);
}
.bot-friendly { --bot-ink: #254ec4; --bot-edge: #9cb7ed; --bot-tile: #cce0ff; transform: rotate(-7deg); }
.bot-friendly > span {
  background: radial-gradient(circle at 18% 65%, #f8a9bc 0 2px, transparent 3px),
              radial-gradient(circle at 82% 65%, #f8a9bc 0 2px, transparent 3px), white;
}
.bot-friendly > span::before {
  width: 1.53rem;
  height: 0.42rem;
  top: 0.34rem;
  background: radial-gradient(ellipse at 20% 90%, var(--bot-ink) 0 2px, transparent 3px),
              radial-gradient(ellipse at 80% 90%, var(--bot-ink) 0 2px, transparent 3px);
}
.bot-friendly > span::after {
  width: 0.55rem;
  height: 0.3rem;
  bottom: 0.31rem;
  border: 2px solid var(--bot-ink);
  border-top: 0;
  border-radius: 0 0 0.45rem 0.45rem;
}
.bot-direct { --bot-ink: #126b57; --bot-edge: #82bba9; --bot-tile: #b8e6d7; }
.bot-direct::before { border-radius: 0.08rem; transform: rotate(45deg); }
.bot-direct > span { border-radius: 0.34rem; }
.bot-direct > span::before {
  width: 1.92rem;
  height: 0.68rem;
  top: 0.33rem;
  border-radius: 0.17rem;
  background: linear-gradient(#93fad2, #93fad2) 24% center / 0.35rem 2px no-repeat,
              linear-gradient(#93fad2, #93fad2) 76% center / 0.35rem 2px no-repeat, #114d41;
}
.bot-direct > span::after { width: 0.58rem; height: 2px; bottom: 0.25rem; background: var(--bot-ink); }
.bot-formal { --bot-ink: #564696; --bot-edge: #b7aae0; --bot-tile: #e2d6fa; transform: rotate(5deg); }
.bot-formal > span::before {
  width: 0.69rem;
  height: 0.69rem;
  top: 0.29rem;
  inset-inline-start: 0.32rem;
  transform: none;
  border: 2px solid var(--bot-ink);
  border-radius: 50%;
  background: radial-gradient(circle, var(--bot-ink) 0 1px, #f9f5ff 2px);
  box-shadow: 1.05rem 0 0 -2px #f9f5ff, 1.05rem 0 0 var(--bot-ink);
}
.bot-formal > span::after {
  width: 0.94rem;
  height: 0.45rem;
  bottom: -0.62rem;
  background: var(--bot-ink);
  clip-path: polygon(0 0, 50% 34%, 100% 0, 100% 100%, 50% 66%, 0 100%);
}
.personality-section .launch-note {
  position: relative;
  isolation: isolate;
  padding: 1rem clamp(4.25rem, 11vw, 7.5rem) 1rem 1.15rem;
  border-radius: 0.35rem 0.85rem 0.85rem 0.35rem;
  background: linear-gradient(110deg, #edf3ff, #e7f9f5);
}
.personality-section .launch-note::before {
  width: clamp(3rem, 8vw, 6rem);
  inset-block-start: 0.85rem;
  inset-inline-end: clamp(0.5rem, 1.5vw, 1rem);
  opacity: 0.85;
}
.use-case-band { background: #eaf0ff; border-block: 1px solid #cfddfa; padding-block: clamp(3.7rem, 7vw, 6rem); }
.section-lead { color: var(--body); margin-top: 0.9rem; max-width: 43rem; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.1rem); margin-top: 2rem; }
.case-grid article { background: var(--paper); border: 1px solid #bdcdef; border-radius: 0.6rem; padding: clamp(1rem, 2.5vw, 1.55rem); }
.case-grid p { color: var(--body); margin-top: 0.7rem; }
.case-grid .case-example { border-top: 1px solid #d6e1f6; padding-top: 0.75rem; }
.case-example strong { color: var(--strong-blue); }
.launch-note { margin-top: 2.2rem; border-left: 3px solid #426be0; padding: 0.7rem 0 0.7rem 1.15rem; max-width: 50rem; }
.launch-note p { margin: 0.55rem 0; color: var(--body); }
@media (max-width: 720px) {
  .case-grid, .capability-list > div, .personality-examples { grid-template-columns: 1fr; }
  .capability-list > div { gap: 0.5rem; }
  .nav nav { flex-wrap: wrap; row-gap: 0.4rem; }
}

.demo-question-form { padding: 0.75rem 1.05rem; border-top: 1px solid #dbe5f8; }
.demo-question-form label { display: block; font-weight: 700; margin-bottom: 0.32rem; color: #263e65; }
.demo-question-form > div { display: flex; gap: 0.5rem; align-items: stretch; }
.demo-question-form input { min-width: 0; width: 100%; padding: 0.62rem 0.7rem; border: 1px solid #aab9d0; border-radius: 0.45rem; font: inherit; color: var(--ink); }
.demo-question-form input:focus-visible { outline: 3px solid #007da5; outline-offset: 2px; }
.demo-question-form button { border: 0; cursor: pointer; }
.chat-messages, .inbox-thread { overflow-wrap: anywhere; }
.demo-chat-controls { display: flex; justify-content: flex-end; padding: 0.35rem 1.1rem; border-bottom: 1px solid #e1e8f6; background: #f6f8ff; }
.demo-reply-status { color: #4f6282; font-size: 0.875rem; font-weight: 650; margin: 0 0 0.28rem; }
.demo-question-form button:disabled { cursor: wait; opacity: 0.7; }

.demo-scenarios {
  grid-area: 1 / 2; justify-self: center; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.25rem; padding: 0.28rem; border: 1px solid #86b9ad; border-radius: 0.65rem; background: #e8f7f2;
}
#demo-support-type { padding-inline: 0.5rem; color: #244f46; font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.demo-scenarios button {
  padding: 0.35rem 0.62rem; min-height: 2rem; border: 1px solid transparent; border-radius: 0.4rem;
  background: transparent; color: #174b41; font: inherit; font-size: 0.875rem; font-weight: 650; line-height: 1.2; cursor: pointer;
}
.demo-scenarios button[aria-pressed='true'] { background: #00604f; color: #fff; }
.demo-scenarios button:hover:not(:disabled):not([aria-pressed='true']) { background: #d2eee5; }
.demo-scenarios button:disabled { opacity: 0.58; cursor: default; }
.demo-scenarios button:focus-visible { outline: 2px solid #00604f; outline-offset: 2px; }
@media (max-width: 1160px) {
  .demo-top { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0.45rem; }
  .demo-scenarios { grid-area: 1 / 1 / 2 / -1; }
  .demo-top > .tab-list { grid-area: 2 / 1; }
  .demo-label { grid-area: 2 / 2; }
}
@media (max-width: 480px) {
  #demo-support-type { flex-basis: 100%; text-align: center; }
  .demo-scenarios button { padding-inline: 0.4rem; font-size: 0.82rem; }
}
#chat-panel { align-items: start; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); padding: clamp(1rem, 3vw, 2.5rem); gap: clamp(1.25rem, 3vw, 2.5rem); }
#chat-panel .demo-intro h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); margin: 0 0 0.5rem; }
.demo-examples { margin-top: 1rem; }
.demo-examples summary { color: #243d65; font-size: 0.875rem; font-weight: 750; cursor: pointer; }
#demo-catalogue-status { margin-top: 0.6rem; font-size: 0.875rem; color: #344c70; }
#demo-questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1rem; margin-top: 0.7rem; }
#demo-questions button { text-align: left; line-height: 1.35; font-weight: 400; min-height: 2.75rem; padding: 0.55rem 0.7rem; }
.demo-faq-picker { margin-top: 1.15rem; }
.demo-faq-picker label { display: block; font-weight: 700; color: #263e65; margin-bottom: 0.35rem; font-size: 0.875rem; }
.demo-faq-picker select { width: 100%; padding: 0.48rem 0.6rem; border: 1px solid #aab9d0; border-radius: 0.45rem; background: #fff; color: var(--ink); font: inherit; }
#demo-chat { scroll-margin-top: 1rem; }
@media (max-width: 820px) {
  #chat-panel { grid-template-columns: minmax(0, 1fr); }
  .chat-messages { min-height: 14.5rem; }
}
@media (max-width: 480px) {
  #demo-questions { grid-template-columns: minmax(0, 1fr); }
}

.demo-ai-switch { color: #263e65; font-size: 0.875rem; font-weight: 700; display: inline-flex; align-items: center; gap: 0.42rem; white-space: nowrap; cursor: pointer; min-height: 2.25rem; }
.demo-ai-switch input { appearance: none; display: grid; align-items: center; width: 2.15rem; height: 1.25rem; margin: 0; padding: 0.15rem; border: 1px solid #63748e; border-radius: 1rem; background: #72809a; cursor: pointer; }
.demo-ai-switch input::before { content: ''; width: 0.82rem; height: 0.82rem; border-radius: 50%; background: white; }
.demo-ai-switch input:checked { background: var(--blue); border-color: var(--blue); }
.demo-ai-switch input:checked::before { justify-self: end; }
.demo-ai-switch input:focus-visible, .demo-faq-matches button:focus-visible { outline: 3px solid #007da5; outline-offset: 2px; }
#demo-ai-state { font-size: 0.8rem; color: #4b5d7b; min-width: 1.25rem; }
#sample-answer { white-space: pre-line; }
.demo-faq-matches { display: grid; gap: 0.25rem; margin-top: 0.45rem; }
.demo-faq-matches button { justify-self: start; text-align: left; border: 1px solid #aab9d0; border-radius: 0.4rem; background: #f6f8ff; padding: 0.38rem 0.55rem; color: #243d65; font: inherit; font-size: 0.875rem; cursor: pointer; }
.demo-faq-matches button:hover { background: #eaf0ff; }
