/* Product illustrations for language support and human handoff. */
.language-section { position: relative; isolation: isolate; overflow: clip; background: radial-gradient(ellipse at 50% 47%, #1a2844 0%, #0a0d14 53%, #08090b 78%); }
.language-section > .wrap { position: relative; }
.language-heading { position: relative; z-index: 1; text-align: center; }
.language-heading h2, .inbox-heading h2 { font-size: clamp(40px, 5.3vw, 76px); line-height: 1.28; }
.language-heading .lead { color: #aab3c3; }
.language-ribbon { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin: 48px -7% -35px; color: #738fbd; opacity: .14; white-space: nowrap; font-size: clamp(45px, 7.8vw, 112px); font-weight: 600; letter-spacing: -.055em; user-select: none; transform: translateX(calc((var(--language-progress, .5) - .5) * -60px)); }
.language-ribbon span:nth-child(2) { font-size: .63em; }
.language-ribbon span:nth-child(3) { font-size: .76em; }
.language-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; position: relative; z-index: 1; margin: 60px 0 42px; }
.language-controls button { padding: 13px 19px; min-height: 46px; border: 1px solid #ffffff1a; border-radius: 30px; background: #1c2331; color: #b7c4da; font-size: 14px; }
.language-controls button:hover { background: #2b3649; }
.language-controls button[aria-pressed="true"], .language-controls button[aria-pressed="true"]:hover { background: #e0eaff; color: #193350; border-color: #e0eaff; }
.language-stage { display: grid; grid-template-columns: 1fr 74px 1fr; align-items: stretch; position: relative; perspective: 1800px; }
.language-stage > article { min-width: 0; display: flex; flex-direction: column; }
.language-surface-label { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 0 5px 17px; color: #e5eaf4; font-size: 16px; font-weight: 550; }
.language-surface-label > span { font-size: 13px; font-weight: 400; color: #9eafcb; }
.language-visitor-window, .language-operator-window { min-height: 520px; flex: 1; display: flex; flex-direction: column; border: 1px solid #ffffff36; border-radius: 27px; overflow: hidden; box-shadow: 0 25px 65px #0005; }
.language-visitor-window { background: #f8fafc; color: #273449; transform: rotateY(calc(-4deg + var(--language-progress, .5) * 4deg)); transform-origin: right center; }
.language-operator-window { background: linear-gradient(135deg, #253147, #171e2d); transform: rotateY(calc(4deg - var(--language-progress, .5) * 4deg)); transform-origin: left center; }
.language-window-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 14px; min-height: 80px; padding: 22px 27px; border-bottom: 1px solid #bcc8da4d; }
.language-window-header > b { font-size: 22px; font-weight: 600; letter-spacing: -.04em; }
.language-window-header > b small { font-size: 12px; color: #b2bfd2; letter-spacing: 0; font-weight: 400; margin-left: 8px; }
.language-window-header > span { font-size: 12px; color: #78859b; }
.language-operator-window .language-window-header > span { color: #a5b0c4; }
.language-chat-content { flex: 1; display: grid; gap: 18px; padding: 25px 26px; min-height: 340px; align-content: start; }
.language-chat-content p { font-size: 16px; line-height: 1.7; }
.language-greeting { color: #607087; max-width: 91%; }
.language-user { padding: 14px 18px; border-radius: 18px 18px 4px 18px; background: #dce9ff; color: #1c4372; margin-left: 12%; justify-self: end; }
.language-ai { padding-right: 12%; }
.language-input-hint { display: flex; justify-content: space-between; gap: 12px; padding: 15px 18px; margin: 0 25px 24px; border: 1px solid #d7dee9; border-radius: 15px; color: #7c899c; font-size: 14px; }
.language-input-hint > span:last-child { color: #376299; }
.language-translation { display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 7px; color: #b6cdf1; font-size: 24px; font-weight: 550; }
.language-translation svg { width: 36px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.language-translation > span:first-child { color: #e1d1ff; }
.language-operator-content { padding: 28px 27px; display: flex; flex-direction: column; flex: 1; }
.language-small-label { display: block; color: #a0b2cd; font-size: 12px; line-height: 1.6; }
.language-scenario-note { max-width: 740px; margin: 31px auto 0; text-align: center; color: #c0cce0; font-size: 15px; min-height: 58px; }
.feature-demo-note { margin-top: 40px; color: #8793a6; font-size: 12px; line-height: 1.8; }

/* A bright, readable inbox breaks up the surrounding dark sections. */
.handoff-inbox { background: #f5f5f7; color: #1d2025; overflow: clip; }
.inbox-heading { text-align: center; }
.inbox-heading .eyebrow { color: #6c7e81; }
.inbox-heading h2 > span { color: #267e7e; }
.inbox-heading .lead { color: #757d88; }
.inbox-app { width: min(1080px, 100%); margin: 58px auto 0; border: 1px solid #d6dce5; border-radius: 25px; background: #fff; overflow: hidden; box-shadow: 0 35px 75px #38465613, 0 1px 4px #3846560a; transform: perspective(1900px) rotateX(calc((1 - var(--inbox-progress, 1)) * 3deg)); transform-origin: center top; }
.inbox-app-bar { min-height: 73px; padding: 21px 28px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid #e1e5ec; background: #fcfdff; }
.inbox-app-bar > b { font-size: 22px; letter-spacing: -.035em; font-weight: 600; color: #283744; }
.inbox-app-bar > b > span { margin-left: 22px; font-size: 13px; color: #738190; font-weight: 400; letter-spacing: 0; }
.inbox-app-bar > span { font-size: 12px; color: #8793a0; }
.inbox-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.inbox-conversation { min-width: 0; padding: 36px; }
.inbox-conversation-heading > span { font-size: 12px; color: #8b97a6; }
.inbox-conversation-heading h3 { font-size: 20px; color: #304051; margin-top: 6px; }
.inbox-dialogue { display: flex; flex-direction: column; margin-top: 26px; }
.inbox-dialogue > span { color: #8291a4; font-size: 11px; margin: 15px 0 7px; }
.inbox-dialogue > span:nth-of-type(odd) { text-align: right; }
.inbox-dialogue > span:first-child { margin-top: 0; }
.inbox-dialogue > p { font-size: 15px; line-height: 1.85; }
.inbox-customer-question { margin-left: 12%; padding: 14px 17px; color: #34576b; background: #e9f2f7; border-radius: 16px 16px 4px 16px; }
.inbox-ai-message { color: #57677a; padding-right: 10px; }
.inbox-summary { margin-top: 28px; border-radius: 17px; padding: 21px; background: #f0f6f4; border: 1px solid #dfeae6; }
.inbox-summary h4 { margin: 0 0 17px; color: #386c60; font-size: 15px; font-weight: 600; }
.inbox-summary dl { margin: 0; }
.inbox-summary dl > div + div { margin-top: 16px; }
.inbox-summary dt { color: #80918b; font-size: 11px; margin-bottom: 4px; }
.inbox-summary dd { margin: 0; font-size: 14px; color: #405d55; line-height: 1.8; }
.inbox-reply-hint { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; padding: 15px; border: 1px solid #e1e6ed; border-radius: 12px; color: #8996a6; font-size: 12px; line-height: 1.7; }
.inbox-intent { padding: 31px 24px; border-left: 1px solid #e6e9ef; background: #fafbfd; }
.intent-kicker { color: #97a1ae; font-size: 10px; letter-spacing: .13em; }
.inbox-intent h3 { margin: 11px 0; font-size: 20px; color: #3a485a; }
.inbox-intent > p { font-size: 12px; color: #8b96a4; line-height: 1.8; }
.intent-meter { margin-top: 32px; }
.intent-meter > div { display: flex; justify-content: space-between; align-items: baseline; }
.intent-meter > div > span { font-size: 13px; color: #607083; }
.intent-meter strong { font-size: 35px; font-weight: 550; color: #3f8984; letter-spacing: -.06em; }
.intent-meter strong small { margin-left: 5px; font-size: 11px; color: #a0a9b5; letter-spacing: 0; font-weight: 400; }
.intent-meter meter { display: block; width: 100%; height: 7px; margin-top: 9px; border: 0; appearance: none; border-radius: 8px; background: #e4e9ee; }
.intent-meter meter::-webkit-meter-bar { height: 7px; border: 0; background: #e4e9ee; border-radius: 8px; }
.intent-meter meter::-webkit-meter-optimum-value { background: linear-gradient(90deg, #98c9ce, #49968b); border-radius: 8px; }
.intent-meter meter::-moz-meter-bar { background: #49968b; border-radius: 8px; }
.intent-meter p { margin-top: 10px; font-size: 11px; color: #8493a2; }
.intent-behavior { border-top: 1px solid #e3e8ee; margin-top: 29px; padding-top: 22px; }
.intent-behavior h4 { margin: 0 0 14px; font-size: 12px; color: #64768a; font-weight: 500; }
.intent-behavior span { display: inline-block; margin: 0 3px 7px 0; padding: 6px 9px; border: 1px solid #e1e7ee; background: #fff; border-radius: 7px; font-size: 10px; color: #8493a3; }
.inbox-intent .intent-note { margin-top: 21px; font-size: 10px; line-height: 1.9; }
.inbox-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; margin-top: 72px; }
.inbox-benefits article > span { font-size: 34px; font-weight: 600; letter-spacing: -.045em; color: #277b77; }
.inbox-benefits h3 { font-size: 21px; margin: 17px 0 14px; }
.inbox-benefits p { font-size: 16px; color: #808793; line-height: 1.85; }
.handoff-inbox .feature-demo-note { color: #949ca8; }

@media (max-width: 1100px) {
  .language-stage { grid-template-columns: 1fr 50px 1fr; }
  .language-window-header, .language-operator-content { padding: 23px 20px; }
  .language-chat-content { padding: 24px 20px; }
  .language-visitor-window, .language-operator-window { min-height: 540px; }
  .inbox-workspace { grid-template-columns: minmax(0, 1fr) 245px; }
  .inbox-conversation { padding: 27px; }
  .inbox-intent { padding: 30px 23px; }
  .inbox-benefits { gap: 25px; }
}
@media (max-width: 760px) {
  .language-section.section, .handoff-inbox.section { padding: 88px 0; }
  .language-section > .wrap, .handoff-inbox > .wrap { width: 90%; }
  .language-heading h2, .inbox-heading h2 { font-size: clamp(31px, 7.8vw, 48px); }
  .language-heading h2 > .gradient-blue { word-break: keep-all; overflow-wrap: normal; }
  .language-heading .eyebrow, .inbox-heading .eyebrow { font-size: 10px; letter-spacing: .1em; margin-bottom: 24px; }
  .language-heading .lead, .inbox-heading .lead { font-size: 16px; line-height: 1.9; margin-top: 24px; }
  .language-heading .lead br, .inbox-heading .lead br { display: none; }
  .language-ribbon { margin: 31px -8% -40px; font-size: 53px; gap: 24px; }
  .language-ribbon span:nth-child(4) { display: none; }
  .language-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 64px 0 33px; }
  .language-controls button { font-size: 12px; min-height: 46px; padding: 11px 8px; }
  .language-stage { grid-template-columns: 1fr; gap: 22px; }
  .language-surface-label { font-size: 15px; margin-bottom: 14px; }
  .language-surface-label > span { font-size: 12px; }
  .language-visitor-window, .language-operator-window { min-height: 0; border-radius: 23px; transform: none; }
  .language-window-header { min-height: 69px; padding: 19px 20px; }
  .language-window-header > b { font-size: 21px; }
  .language-window-header > span { font-size: 11px; }
  .language-window-header > b small { font-size: 10px; }
  .language-chat-content { min-height: 0; padding: 24px 20px; gap: 18px; }
  .language-chat-content p { font-size: 16px; }
  .language-user { margin-left: 8%; }
  .language-input-hint { margin: 0 20px 22px; font-size: 13px; }
  .language-translation { flex-direction: row; justify-content: center; gap: 16px; font-size: 24px; }
  .language-translation svg { transform: rotate(90deg); width: 27px; height: 32px; }
  .language-operator-content { padding: 25px 20px; }
  .language-scenario-note { font-size: 14px; margin-top: 25px; text-align: left; min-height: 0; }
  .feature-demo-note { font-size: 11px; margin-top: 25px; }
  .inbox-app { margin-top: 35px; border-radius: 21px; transform: none; }
  .inbox-app-bar { min-height: 65px; padding: 20px 18px; }
  .inbox-app-bar > b { font-size: 20px; }
  .inbox-app-bar > b > span { font-size: 11px; margin-left: 9px; }
  .inbox-app-bar > span { font-size: 9px; }
  .inbox-workspace { grid-template-columns: 1fr; }
  .inbox-conversation { padding: 24px 18px; }
  .inbox-conversation-heading h3 { font-size: 20px; }
  .inbox-dialogue > p { font-size: 15px; }
  .inbox-customer-question { margin-left: 7%; padding: 13px 15px; }
  .inbox-summary { padding: 20px 17px; }
  .inbox-summary dd { font-size: 14px; }
  .inbox-intent { border-left: 0; border-top: 1px solid #e1e7ed; padding: 25px 22px; }
  .intent-meter { margin-top: 22px; }
  .intent-meter strong { font-size: 38px; }
  .intent-meter > div > span { font-size: 14px; }
  .intent-meter p, .intent-behavior h4 { font-size: 12px; }
  .intent-behavior span { font-size: 11px; }
  .inbox-intent .intent-note { font-size: 11px; }
  .inbox-benefits { grid-template-columns: 1fr; margin-top: 46px; gap: 30px; }
  .inbox-benefits article { border-top: 1px solid #d9dfe4; padding-top: 28px; }
  .inbox-benefits article > span { font-size: 34px; }
  .inbox-benefits h3 { font-size: 22px; margin: 12px 0; }
}
.reduce-motion .language-ribbon, .reduce-motion .language-visitor-window, .reduce-motion .language-operator-window, .reduce-motion .inbox-app { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .language-ribbon, .language-visitor-window, .language-operator-window, .inbox-app { transform: none !important; }
}

/* A translated conversation history, with no staff reply controls. */
.language-review-thread { display: grid; gap: 24px; margin-top: 24px; }
.language-review-message > span { display: block; font-size: 12px; color: #a0b2cd; margin-bottom: 10px; }
.language-review-message > p { font-size: 16px; line-height: 1.85; color: #e1e9f8; }
.language-review-message.is-user { margin-left: 12%; }
.language-review-message.is-user > span { text-align: right; }
.language-review-message.is-user > p { padding: 14px 18px; border-radius: 18px 18px 4px 18px; background: #334963; color: #e4efff; }
.language-review-note { margin: auto 0 0; padding-top: 28px; color: #93b8ad; font-size: 12px; line-height: 1.8; }
.language-review-note > span { margin-right: 7px; }
@media(max-width:760px) {
 .language-review-thread { gap: 22px; margin-top: 22px; }
 .language-review-message.is-user { margin-left: 8%; }
 .language-review-note { font-size: 12px; padding-top: 25px; }
}

/* Three short promises, presented as one continuous feature strip. */
.language-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 50px; border: 1px solid #b7ccea23; border-radius: 26px; background: linear-gradient(120deg, #1c2637b3, #121a27b3); overflow: hidden; }
.language-features article { padding: 30px 34px 34px; }
.language-features article + article { border-left: 1px solid #a6bddc24; }
.language-feature-mark { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 27px; color: #acc5e8; }
.language-feature-mark svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.language-feature-mark > span { color: #6f849f; font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .09em; }
.language-features h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 550; line-height: 1.5; letter-spacing: -.035em; color: #99a9bf; }
.language-features h3 > span { color: #eef4ff; }
@media(max-width:1100px) and (min-width:761px) {
 .language-features article { padding: 26px 23px 29px; }
 .language-features h3 { font-size: 23px; }
}
@media(max-width:760px) {
 .language-features { grid-template-columns: 1fr; margin-top: 34px; border-radius: 23px; }
 .language-features article { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 24px; align-items: center; padding: 24px; }
 .language-features article + article { border-left: 0; border-top: 1px solid #a6bddc24; }
 .language-feature-mark { flex-direction: column; gap: 11px; margin: 0; }
 .language-feature-mark svg { width: 29px; height: 29px; }
 .language-feature-mark > span { font-size: 10px; }
 .language-features h3 { font-size: clamp(21px, 5.6vw, 27px); line-height: 1.5; }
}
