.chat-v2-hero {
  padding: 85px 0 40px;
  text-align: center;
  background: #f1f3eb;
}
.chat-v2-hero h1 {
  font-size: clamp(45px, 6vw, 84px);
  line-height: 1.06;
  letter-spacing: -0.05em;
  max-width: 1100px;
  margin: 25px auto;
  color: #173b32;
}
.chat-v2-hero em {
  font-style: normal;
  color: #b44c29;
}
.chat-v2-hero p {
  max-width: 750px;
  font-size: 19px;
  line-height: 1.85;
  margin: 25px auto;
}
.chat-v2-pills {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.chat-v2-pills span {
  padding: 11px 17px;
  border: 1px solid #becbbc;
  border-radius: 25px;
  font-size: 13px;
}
.chat-v2-demo {
  padding-top: 45px;
  padding-bottom: 65px;
  max-width: 1060px;
}
.chat-v2-demo-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 26px;
}
.chat-v2-demo-intro h2 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 12px 0 0;
}
.chat-v2-demo-intro p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  color: #4f6356;
}
.chat-v2-demo-caption {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #52685a;
  padding: 20px 5px;
}
.chat-v2-purpose,
.chat-v2-how,
.chat-v2-faq {
  background: #f2f4ec;
}
.chat-v2-purpose-grid,
.chat-v2-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 35px;
}
.chat-v2-purpose-grid article {
  background: white;
  border: 1px solid #cbd5c7;
  padding: 30px;
  border-radius: 16px;
}
.chat-v2-purpose-grid article > span {
  font-size: 33px;
  color: #b44c29;
}
.chat-v2-purpose-grid h3,
.chat-v2-steps h3 {
  font-size: 27px;
  line-height: 1.25;
  margin: 22px 0 15px;
}
.chat-v2-purpose-grid p,
.chat-v2-steps p {
  font-size: 16px;
  line-height: 1.85;
}
.chat-v2-purpose-grid small {
  font-size: 12px;
  color: #506b58;
  display: block;
  margin-top: 24px;
}
.chat-v2-steps article {
  padding: 25px 0;
  border-top: 2px solid #b2c3ad;
}
.chat-v2-steps b {
  font: 40px Georgia;
  color: #8a4930;
}
.chat-v2-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  margin-top: 60px;
  align-items: center;
}
.chat-v2-control h3 {
  font-size: 34px;
  line-height: 1.15;
}
.chat-v2-control p {
  font-size: 17px;
  line-height: 1.85;
}
.chat-v2-enquiry {
  background: #173c32;
  color: white;
  padding: 35px;
  border-radius: 18px;
  transform: rotate(-1deg);
  box-shadow: 0 18px 45px #14372a1c;
}
.chat-v2-enquiry > span {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #d9e7d3;
}
.chat-v2-enquiry h4 {
  font-size: 27px;
  margin: 25px 0;
}
.chat-v2-enquiry dl > div {
  border-bottom: 1px solid #8aab9655;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}
.chat-v2-enquiry dt {
  color: #d5e1cd;
}
.chat-v2-enquiry dd {
  margin: 0;
  text-align: right;
}
.chat-v2-enquiry strong {
  display: block;
  font-size: 12px;
  margin-top: 25px;
  color: #e9d19f;
}
.chat-v2-enquiry small {
  display: block;
  font-size: 11px;
  color: #d5e1cd;
  margin-top: 12px;
}
.chat-v2-plan,
.chat-v2-start {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 75px;
  align-items: start;
}
.chat-v2-plan p,
.chat-v2-start p {
  font-size: 17px;
  line-height: 1.9;
}
.chat-v2-plan aside {
  padding: 35px;
  background: #173c32;
  color: white;
  border-radius: 20px;
}
.chat-v2-plan aside > span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.15em;
}
.chat-v2-plan aside > strong {
  display: block;
  font-size: 65px;
  margin: 25px 0 15px;
}
.chat-v2-plan aside > strong small {
  font-size: 17px;
}
.chat-v2-plan aside > p {
  font-size: 15px;
  line-height: 1.8;
}
.chat-v2-plan ul {
  padding-left: 20px;
  font-size: 15px;
  line-height: 2;
}
.chat-v2-plan .fine {
  color: #d8e4d2;
}
.chat-v2-plan aside > a:last-child {
  display: block;
  font-size: 13px;
  margin-top: 22px;
}
.chat-v2-faq details {
  padding: 22px 0;
}
.chat-v2-faq summary {
  font-size: 19px;
  line-height: 1.5;
}
.chat-v2-faq details p {
  font-size: 16px;
  line-height: 1.9;
  max-width: 850px;
}
.chat-v2-start .leadbox h3 {
  font-size: 29px;
  margin: 0 0 25px;
}
.chat-v2-start .leadform {
  display: grid;
  gap: 17px;
}
.chat-v2-start .leadform label {
  margin: 0;
}
.chat-v2-start .leadform input {
  margin-top: 8px;
}
.chat-demo [hidden] {
  display: none !important;
}
.chat-demo .demo-thread {
  height: 340px;
  padding: 28px;
  background: #fafbf7;
}
.chat-demo .chat-demo-heading {
  padding: 22px 28px;
}
.chat-demo .chat-answer,
.chat-demo .chat-question {
  font-size: 15px !important;
  line-height: 1.8;
  padding: 17px 20px;
  margin-top: 0;
  margin-bottom: 16px;
}
.chat-demo .chat-demo-heading strong {
  font-size: 19px;
}
.chat-demo .chat-demo-heading small {
  font-size: 12px;
  line-height: 1.6;
}
.chat-demo .demo-reset {
  margin-left: auto;
  border: 1px solid #c2cfc0;
  border-radius: 7px;
  background: white;
  color: #294836;
  padding: 10px;
  font-size: 12px;
  cursor: pointer;
}
.chat-demo .demo-prompts {
  padding: 10px 26px 20px;
  gap: 9px;
}
.chat-demo .demo-prompts button {
  font-size: 12px;
  line-height: 1.5;
  padding: 10px 14px;
  background: #fff;
  color: #234732;
  cursor: pointer;
}
.chat-demo .demo-ask {
  padding: 0 26px 18px;
}
.chat-demo .demo-ask input {
  font-size: 16px;
  padding: 17px;
  line-height: 1.5;
  background: white;
  color: #173c32;
}
.chat-demo .demo-ask button {
  min-width: 52px;
  cursor: pointer;
  background: #b44c29;
}
.chat-demo .demo-next {
  padding: 0 26px 20px;
}
.chat-demo .demo-open-enquiry {
  background: #e7eedb;
  color: #234732;
  border: 1px solid #c2cfc0;
  padding: 13px 18px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
}
.chat-demo .demo-enquiry {
  background: #f0f4e9;
  color: #234732;
  margin: 0 26px 22px;
  padding: 25px;
}
.demo-enquiry-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.chat-demo .demo-enquiry h3 {
  font-size: 22px;
  margin: 0;
}
.chat-demo .demo-enquiry > p {
  font-size: 13px;
  line-height: 1.8;
}
.chat-demo .demo-enquiry label {
  display: block;
  font-size: 14px;
  margin: 18px 0;
}
.chat-demo .demo-enquiry input {
  padding: 13px;
  margin-top: 8px;
  background: white;
  color: #173c32;
  width: 100%;
}
.chat-demo .demo-enquiry .demo-cancel {
  font-size: 12px;
  padding: 9px;
  background: white;
  color: #234732;
  border: 1px solid #c2cfc0;
}
.chat-demo .demo-enquiry > button {
  cursor: pointer;
}
.chat-demo .chat-demo-note {
  padding: 0 26px 24px;
  line-height: 1.8;
  color: #52685a;
}
.chat-demo .demo-sector {
  font-size: 14px;
  line-height: 1.5;
}
.chat-demo .demo-owner-receipt p {
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.chat-demo button:focus-visible,
.chat-demo input:focus-visible {
  outline: 3px solid #b44c29;
  outline-offset: 3px;
}
.chat-v2-demo .chat-demo {
  border-radius: 20px;
  box-shadow: 0 25px 65px #173b3214;
}
.chat-v2-demo .demo-thread {
  height: 350px;
}
.chat-v2-demo .chat-answer {
  max-width: 82%;
}
.chat-v2-demo .chat-question {
  max-width: 78%;
}
@media (max-width: 800px) {
  .chat-v2-hero {
    padding: 45px 0 20px;
  }
  .chat-v2-hero h1 {
    font-size: 44px;
  }
  .chat-v2-hero p {
    font-size: 17px;
    line-height: 1.8;
  }
  .chat-v2-demo-intro,
  .chat-v2-purpose-grid,
  .chat-v2-steps,
  .chat-v2-control,
  .chat-v2-plan,
  .chat-v2-start {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .chat-v2-demo-intro h2 {
    font-size: 29px;
  }
  .chat-v2-demo {
    padding-top: 30px;
    padding-bottom: 35px;
  }
  .chat-v2-demo-caption {
    display: grid;
    gap: 8px;
  }
  .chat-v2-plan aside {
    padding: 25px;
  }
  .chat-v2-enquiry {
    transform: none;
    padding: 25px;
  }
  .chat-demo .demo-thread,
  .chat-v2-demo .demo-thread {
    padding: 18px;
    height: 320px;
  }
  .chat-demo .chat-demo-heading {
    padding: 18px;
    gap: 10px;
  }
  .chat-demo .chat-demo-heading strong {
    font-size: 17px;
  }
  .chat-demo .chat-demo-mark {
    font-size: 25px;
  }
  .chat-demo .demo-prompts {
    padding: 10px 18px 18px;
  }
  .chat-demo .demo-ask {
    padding: 0 18px 18px;
  }
  .chat-demo .demo-next {
    padding: 0 18px 18px;
  }
  .chat-demo .demo-enquiry {
    margin: 0 18px 18px;
    padding: 18px;
  }
  .chat-demo .chat-demo-note {
    padding: 0 18px 20px;
  }
  .chat-v2-demo .chat-answer,
  .chat-v2-demo .chat-question {
    max-width: 95%;
  }
  .chat-demo .chat-answer,
  .chat-demo .chat-question {
    font-size: 14px !important;
    padding: 14px 16px;
  }
  .chat-v2-start .leadbox {
    padding: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .chat-demo * {
    scroll-behavior: auto !important;
  }
}
/* One shared streaming conversation, including embedded business examples. */
.ai-conversation {
  background: #fff;
  border: 1px solid #c9d6cc;
  border-radius: 24px;
  box-shadow: 0 25px 80px #193e3020;
  overflow: hidden;
  text-align: left;
  color: #203c32;
  font-family: Arial, sans-serif;
  max-width: 100%;
  min-width: 0;
}
.ai-conversation .chat-demo-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: #fff;
  border-bottom: 1px solid #e4eae3;
}
.ai-conversation .chat-demo-heading > div {
  flex: 1;
}
.ai-conversation .chat-demo-heading strong {
  display: block;
  font-size: 17px;
}
.ai-conversation .chat-demo-heading small {
  display: block;
  font-size: 12px;
  margin-top: 5px;
  color: #607265;
}
.ai-conversation .demo-reset {
  background: #f2f5ef;
  border: 1px solid #d5ded3;
  color: #234c39;
  border-radius: 10px;
  padding: 9px 12px;
  cursor: pointer;
  font-size: 13px;
}
.ai-conversation .ai-connection {
  font-size: 11px;
  padding: 10px 24px;
  color: #6b5a37;
  background: #faf7ef;
}
.ai-connection[data-state="ready"] {
  color: #2c6546;
  background: #f1f7ef;
}
.ai-conversation .demo-thread {
  height: 270px;
  max-height: 55vh;
  overflow: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  scroll-behavior: auto;
}
.ai-conversation .chat-answer,
.ai-conversation .chat-question {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  max-width: 92%;
  font-size: 16px;
  line-height: 1.8;
  color: #243d32;
  white-space: normal;
}
.ai-conversation .chat-question {
  align-self: flex-end;
  background: #eff3ed;
  border-radius: 16px 16px 3px 16px;
  padding: 12px 17px;
}
.ai-conversation .ai-role {
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: bold;
  color: #5d7164;
  margin: 0 0 7px;
}
.ai-conversation .ai-message-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ai-conversation .demo-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 24px 15px;
}
.ai-conversation .demo-prompts button {
  background: #fff;
  border: 1px solid #cbd8cb;
  border-radius: 12px;
  padding: 9px 12px;
  color: #2b4936;
  font-size: 12px;
  cursor: pointer;
  line-height: 1.5;
  text-align: left;
}
.ai-conversation .demo-ask {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  border: 1px solid #bbcbbd;
  border-radius: 17px;
  padding: 10px;
  margin: 0 20px;
  background: #fff;
}
.ai-conversation .demo-ask textarea {
  font:
    16px/1.6 Arial,
    sans-serif;
  resize: none;
  flex: 1;
  min-width: 0;
  max-height: 150px;
  background: transparent;
  border: 0;
  outline: none;
  color: #203c32;
  padding: 8px;
  box-sizing: border-box;
}
.ai-conversation .demo-ask:focus-within {
  outline: 2px solid #66866a;
  outline-offset: 2px;
}
.ai-conversation .demo-ask button {
  background: #1c503c;
  color: white;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 24px;
  cursor: pointer;
  flex-shrink: 0;
}
.ai-conversation button:disabled {
  opacity: 0.45;
  cursor: wait;
}
.ai-conversation .ai-status {
  font-size: 12px;
  line-height: 1.5;
  padding: 0 24px;
  min-height: 22px;
  color: #49694e;
}
.ai-conversation .ai-status[data-error="true"] {
  color: #a43b22;
  padding-bottom: 10px;
}
.ai-conversation .ai-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  flex-wrap: wrap;
  font-size: 12px;
}
.ai-conversation .ai-controls button {
  font: inherit;
  color: #264733;
  background: #f4f5ef;
  border: 1px solid #c6d3c7;
  border-radius: 7px;
  padding: 7px 10px;
  cursor: pointer;
}
.ai-conversation .ai-controls a {
  margin-left: auto;
  color: #345d43;
  text-decoration: underline;
}
.ai-conversation .chat-demo-note {
  display: block;
  margin: 0;
  padding: 0 24px 18px;
  font-size: 10px;
  line-height: 1.6;
  color: #677568;
}
.ai-thinking .ai-message-text:after {
  content: "● ● ●";
  font-size: 14px;
  letter-spacing: 4px;
  color: #7d9985;
  animation: ai-pulse 1s ease-in-out infinite alternate;
}
@keyframes ai-pulse {
  to {
    opacity: 0.35;
  }
}
.chat-v3-hero {
  padding: 58px 0 65px;
  background: radial-gradient(ellipse at 80% 25%, #dce8d5 0, transparent 55%), #f1f3eb;
}
.chat-v3-hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.chat-v3-hero .chat-v3-intro h1 {
  font-size: clamp(42px, 4.8vw, 69px);
  line-height: 1.07;
  letter-spacing: -0.05em;
  margin: 23px 0;
  color: #173b32;
}
.chat-v3-hero h1 em {
  font-style: normal;
  color: #b44c29;
}
.chat-v3-intro > p {
  font-size: 18px;
  line-height: 1.9;
  color: #4d6252;
  max-width: 540px;
}
.chat-v3-intro .chat-v2-pills {
  justify-content: flex-start;
  margin: 25px 0;
}
.chat-v3-invite {
  font-size: 13px;
  font-weight: bold;
  line-height: 1.8;
  color: #345c44;
  display: block;
  margin: 22px 0 0;
}
.chat-v3-demo {
  min-width: 0;
}
.chat-v3-demo > p {
  font-size: 12px;
  line-height: 1.7;
  color: #526957;
  margin: 17px 6px 0;
}
.chat-v3-demo .demo-thread {
  height: 265px;
}
.chat-v3-demo .demo-prompts button {
  font-size: 11px;
  padding: 8px 10px;
}
.ai-conversation [hidden] {
  display: none !important;
}
body .ec-chat .ai-conversation {
  border-radius: 24px;
}
.ec-chat .demo-thread {
  height: 290px;
}
.ec-chat .chat-demo-note {
  color: #677568;
}
.ec-chat .chat-demo-heading strong {
  color: #203c32;
}
@media (max-width: 1000px) {
  .chat-v3-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
  }
  .chat-v3-intro h1 {
    max-width: 670px;
  }
  .chat-v3-hero {
    padding-top: 35px;
  }
  .chat-v3-intro > p {
    max-width: 670px;
  }
  .chat-v3-invite {
    margin-bottom: 8px;
  }
}
@media (max-width: 600px) {
  .chat-v3-hero {
    padding: 28px 0 40px;
  }
  .chat-v3-hero-grid {
    gap: 22px;
  }
  .chat-v3-hero .chat-v3-intro h1 {
    font-size: 43px;
  }
  .chat-v3-intro > p {
    font-size: 16px;
    line-height: 1.8;
  }
  .chat-v3-intro .chat-v2-pills {
    gap: 6px;
    margin: 18px 0;
  }
  .chat-v2-pills span {
    font-size: 11px;
    padding: 8px 11px;
  }
  .ai-conversation .demo-thread {
    padding: 18px;
    height: 255px;
    gap: 20px;
  }
  .ai-conversation .chat-demo-heading {
    padding: 16px;
  }
  .ai-conversation .chat-answer,
  .ai-conversation .chat-question {
    font-size: 15px;
    max-width: 96%;
  }
  .ai-conversation .demo-prompts {
    padding: 0 16px 13px;
  }
  .ai-conversation .demo-ask {
    margin: 0 12px;
  }
  .ai-conversation .chat-demo-note {
    padding: 0 16px 16px;
  }
  .ai-conversation .ai-controls {
    padding: 12px 16px;
    font-size: 11px;
  }
  .ai-conversation .ai-controls a {
    margin-left: 0;
  }
  .ai-conversation .demo-reset span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ai-thinking .ai-message-text:after {
    animation: none;
  }
}
.ai-conversation .chat-answer,
.ai-conversation .chat-question {
  font-size: 16px !important;
}
.ai-conversation .demo-ask button {
  min-width: 42px;
}
@media (max-width: 600px) {
  .ai-conversation .chat-answer,
  .ai-conversation .chat-question {
    font-size: 15px !important;
  }
}

.ns-chat-showcase {
  padding: 76px 0 68px;
  background: #163336;
  color: #f5f6ee;
}
.ns-chat-showcase > .wrap {
  max-width: 1140px;
}
.ns-chat-intro {
  max-width: 820px;
  text-align: center;
  margin: 0 auto 36px;
}
.ns-chat-intro .eyebrow {
  color: #d6ccb4;
}
.ns-chat-showcase .ns-chat-intro h2 {
  font-size: clamp(34px, 4.1vw, 57px);
  line-height: 1.13;
  letter-spacing: -0.04em;
  margin: 18px 0 22px;
  color: #fff;
}
.ns-chat-intro h2 em {
  font-style: normal;
  color: #f2b88d;
}
.ns-chat-intro > p {
  font-size: 18px;
  line-height: 1.85;
  max-width: 740px;
  margin: 0 auto;
  color: #e0e9e0;
}
.ns-chat-context {
  display: block;
  margin: 18px auto 0;
  font-size: 13px;
  line-height: 1.7;
  color: #bbcec4;
}
.ns-chat-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 40px;
}
.ns-chat-benefits article {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff06;
  border: 1px solid #aec9b92e;
  border-radius: 17px;
  padding: 27px 23px;
  min-width: 0;
}
.ns-chat-icon {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background: #f2b88d1a;
  color: #f2b88d;
  margin-bottom: 17px;
}
.ns-chat-icon svg {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.ns-chat-benefits h3 {
  font-size: 20px;
  line-height: 1.35;
  margin: 0 0 13px;
  color: white;
  letter-spacing: -0.02em;
}
.ns-chat-benefits p {
  font-size: 14px;
  line-height: 1.85;
  color: #d4e1d7;
  margin: 0 0 18px;
  max-width: 290px;
}
.ns-chat-benefit-value {
  font-size: 11px;
  line-height: 1.7;
  color: #e9c8a9;
  margin-top: auto;
}
.ns-chat-trial {
  padding: 30px;
  background: #f2f4ed;
  border: 1px solid #dce4d9;
  border-radius: 22px;
  color: #203e32;
  max-width: 1000px;
  margin: 0 auto;
}
.ns-chat-trial-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.ns-chat-trial-heading .eyebrow {
  font-size: 10px;
  color: #5c715d;
}
.ns-chat-trial-heading h3 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin: 10px 0 12px;
  color: #1f4133;
}
.ns-chat-trial-heading p {
  font-size: 14px;
  line-height: 1.8;
  color: #526b59;
  margin: 0;
  max-width: 600px;
}
.ns-chat-sample-label {
  font-size: 10px;
  line-height: 1.6;
  color: #516952;
  border: 1px solid #c7d4c2;
  padding: 7px 11px;
  border-radius: 20px;
  white-space: nowrap;
  margin-top: 2px;
}
.ns-chat-showcase .ns-chat-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 24px 0 19px;
}
.ns-chat-showcase .ns-chat-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 10px 7px;
  background: transparent;
  border: 1px solid #c2cebd;
  border-radius: 10px;
  color: #405e47;
  font:
    12px/1.5 Arial,
    sans-serif;
  cursor: pointer;
  text-align: center;
  margin: 0;
}
.ns-chat-showcase .ns-chat-tabs button[aria-pressed="true"] {
  background: #1f4838;
  border-color: #1f4838;
  color: white;
  font-weight: 700;
  box-shadow: 0 3px 9px #1f48381a;
}
.ns-chat-showcase .ns-chat-tabs button:hover {
  border-color: #3d6e4e;
}
.ns-chat-trial .home-inline-demo {
  box-shadow: 0 8px 25px #214b3610;
  border-radius: 16px;
}
.ns-chat-trial .home-inline-demo .demo-thread {
  height: 240px;
}
.ns-chat-trial-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 26px;
  margin-top: 19px;
}
.ns-chat-trial-footer > p {
  font-size: 11px;
  line-height: 1.85;
  margin: 0;
  max-width: 510px;
  color: #627260;
}
.ns-chat-showcase .ns-chat-trial-footer .chat-sector-link {
  font-size: 12px;
  line-height: 1.6;
  color: #355c40 !important;
  margin: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ns-chat-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1000px;
  margin: 32px auto 0;
  padding: 27px 30px;
  border: 1px solid #91b3a13d;
  border-radius: 16px;
  background: #ffffff04;
}
.ns-chat-cta h3 {
  font-size: 22px;
  line-height: 1.4;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.ns-chat-cta p {
  font-size: 14px;
  line-height: 1.8;
  color: #d1dfd4;
  margin: 0;
  max-width: 570px;
}
.ns-chat-cta > .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-shrink: 0;
  white-space: nowrap;
  min-height: 52px;
  margin: 0;
  background: #f2b88d;
  color: #173a32;
  padding: 15px 24px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}
.ns-chat-cta > .button:hover {
  background: #ffd1aa;
}
.ns-chat-showcase button:focus-visible,
.ns-chat-showcase a:focus-visible {
  outline: 3px solid #e8a36e;
  outline-offset: 4px;
}
@media (max-width: 850px) {
  .ns-chat-showcase {
    padding: 50px 0;
  }
  .ns-chat-benefits {
    gap: 12px;
  }
  .ns-chat-benefits article {
    padding: 22px 15px;
  }
  .ns-chat-benefits h3 {
    font-size: 18px;
  }
  .ns-chat-trial-heading {
    display: block;
  }
  .ns-chat-sample-label {
    display: inline-block;
    margin-top: 15px;
  }
  .ns-chat-trial {
    padding: 23px;
  }
  .ns-chat-trial-footer {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ns-chat-cta {
    padding: 24px;
  }
  .ns-chat-cta p {
    max-width: 420px;
  }
}
@media (max-width: 600px) {
  .ns-chat-showcase {
    padding: 38px 0;
  }
  .ns-chat-showcase .ns-chat-intro h2 {
    font-size: 35px;
    line-height: 1.16;
    margin: 16px 0 20px;
  }
  .ns-chat-intro > p {
    font-size: 16px;
    line-height: 1.85;
  }
  .ns-chat-context {
    font-size: 12px;
  }
  .ns-chat-intro {
    margin-bottom: 27px;
  }
  .ns-chat-benefits {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
  }
  .ns-chat-benefits article {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
    align-items: start;
    text-align: left;
    padding: 22px;
  }
  .ns-chat-icon {
    grid-row: 1/4;
    width: 44px;
    height: 44px;
    margin: 0;
  }
  .ns-chat-icon svg {
    width: 22px;
    height: 22px;
  }
  .ns-chat-benefits h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .ns-chat-benefits p {
    max-width: none;
    margin-bottom: 11px;
    font-size: 14px;
  }
  .ns-chat-benefit-value {
    font-size: 11px;
  }
  .ns-chat-trial {
    padding: 18px 12px;
    border-radius: 17px;
  }
  .ns-chat-trial-heading {
    padding: 0 5px;
  }
  .ns-chat-trial-heading h3 {
    font-size: 25px;
  }
  .ns-chat-trial-heading p {
    font-size: 13px;
  }
  .ns-chat-showcase .ns-chat-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 20px;
  }
  .ns-chat-tabs button:last-child {
    grid-column: 1/-1;
  }
  .ns-chat-trial-footer {
    padding: 0 5px;
    margin-top: 15px;
  }
  .ns-chat-trial .home-inline-demo .demo-thread {
    height: 240px;
  }
  .ns-chat-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 25px 21px;
    gap: 20px;
    margin-top: 23px;
  }
  .ns-chat-cta h3 {
    font-size: 22px;
  }
  .ns-chat-cta p {
    font-size: 14px;
  }
  .ns-chat-cta > .button {
    width: 100%;
    box-sizing: border-box;
  }
  .ns-chat-sample-label {
    font-size: 9px;
  }
}

/* Full width conversation as part of the hero, with consistent action geometry. */
.chat-v3-hero {
  padding: 48px 0 55px;
}
.chat-v3-hero-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  max-width: 1060px;
}
.chat-v3-intro {
  text-align: center;
  max-width: 820px;
  margin: auto;
}
.chat-v3-hero .chat-v3-intro h1 {
  font-size: clamp(38px, 4.7vw, 65px);
  margin: 20px auto;
  max-width: 820px;
}
.chat-v3-intro > p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.85;
}
.chat-v3-intro .chat-v2-pills {
  justify-content: center;
  margin: 22px 0;
}
.chat-v3-invite {
  margin: 16px 0 0;
  font-size: 13px;
}
.chat-v3-demo {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
}
.chat-v3-demo .demo-thread {
  height: 280px;
}
.chat-v3-demo > p {
  text-align: center;
  max-width: 750px;
  margin: 17px auto 0;
  line-height: 1.8;
}
.chat-v2-start {
  gap: 55px;
  align-items: start;
}
.chat-v2-start h2 {
  font-size: clamp(35px, 3.8vw, 52px);
  line-height: 1.13;
  letter-spacing: -0.035em;
  margin: 19px 0 24px;
}
.chat-v2-start > div > p {
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 18px;
  max-width: 590px;
}
.chat-v2-start .actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}
.chat-v2-start .actions > .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 13px 18px;
  line-height: 1.5;
  margin: 0;
  font-size: 13px;
}
.chat-v2-start .leadbox h3 {
  font-size: 27px;
  line-height: 1.3;
  margin: 0 0 25px;
}
.chat-v2-start .leadbox label {
  margin: 0 0 20px;
  line-height: 1.6;
}
.chat-v2-start .leadbox label input {
  margin-top: 8px;
}
.chat-gallery-example .example-chat-badge {
  display: inline-block;
  margin: 5px 0 5px 8px;
  padding: 5px 8px;
  background: #e9f0e2;
  color: #31543d;
  border-radius: 20px;
  font:
    10px/1.3 Arial,
    sans-serif;
}
.chat-gallery-example .example-footer > div > span {
  line-height: 1.7;
}
.actions {
  align-items: center;
}
.actions > a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  line-height: 1.6;
  padding: 10px 0;
  box-sizing: border-box;
}
.buttonrow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.buttonrow > .button {
  margin: 0;
}
@media (max-width: 700px) {
  .chat-v3-hero {
    padding-top: 30px;
  }
  .chat-v3-intro > p {
    font-size: 16px;
  }
  .chat-v3-hero-grid {
    gap: 23px;
  }
  .chat-v3-hero .chat-v3-intro h1 {
    font-size: 40px;
  }
  .chat-v3-demo .demo-thread {
    height: 260px;
  }
  .chat-v2-start {
    gap: 30px;
  }
  .chat-v2-start .actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .chat-v2-start .actions > .button {
    width: 100%;
    box-sizing: border-box;
  }
  .example-footer {
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
  }
  .example-footer .button {
    flex-shrink: 0;
  }
}

/* Northsites Chat demo: accessibility and prepared answer fallback */
.ai-conversation .ai-role {
  font-size: 11px;
  text-transform: uppercase;
}
.ai-conversation .ai-prepared {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #5d6a61;
  font-style: italic;
}
.ai-conversation .demo-thread:focus-visible {
  outline: 3px solid #ed703c;
  outline-offset: -3px;
}
