:root {
  --ink: #0c1f36;
  --ink-soft: #18324d;
  --muted: #637083;
  --line: #dce6ee;
  --soft: #f6f9fb;
  --panel: #ffffff;
  --brand: #11866f;
  --brand-strong: #0b6a59;
  --accent: #0f4c81;
  --success-soft: #e7f7f2;
  --shadow: 0 22px 60px rgba(12, 31, 54, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
summary {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(17, 134, 111, 0.4);
  outline-offset: 3px;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 20;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: #fff;
  background: var(--ink);
  border-radius: 7px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 230, 238, 0.85);
  backdrop-filter: blur(16px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-link img {
  width: 184px;
}

.primary-nav,
.header-actions,
.hero-actions,
.center-actions,
.pricing-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.primary-nav {
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
}

.primary-nav a,
.text-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.primary-nav a:hover,
.text-link:hover {
  color: var(--brand);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 12px 26px rgba(17, 134, 111, 0.22);
}

.button:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}

.button-secondary {
  color: var(--brand);
  background: #fff;
  border-color: #b9ddd2;
  box-shadow: none;
}

.button-secondary:hover {
  color: #fff;
}

.button-small {
  min-height: 40px;
  padding: 0 15px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.hero,
.section,
.final-cta,
.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(54px, 8vw, 96px) 0 54px;
}

.hero > *,
.hero-demo > *,
.split-section > *,
.tab-panels,
.conversation-panel {
  min-width: 0;
}

.hero-copy,
.section-heading,
.final-cta > div:first-child {
  display: grid;
  gap: 16px;
}

.eyebrow {
  margin: 0;
  color: var(--brand);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: Sora, Inter, sans-serif;
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

h3 {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.68;
}

.hero-text {
  max-width: 690px;
  font-size: 18px;
}

.trust-line {
  color: var(--ink-soft);
  font-weight: 800;
}

.benefit-list,
.check-grid,
.control-list,
.integration-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.benefit-list li,
.check-grid li,
.control-list li,
.integration-card li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1.45;
}

.benefit-list li::before,
.check-grid li::before,
.control-list li::before,
.integration-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--success-soft);
}

.hero-demo {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(230px, 0.72fr);
  gap: 16px;
  align-items: end;
}

.phone-panel,
.context-panel,
.knowledge-card,
.feature-grid article,
.outcome-grid article,
.support-grid article,
.integration-card,
.pricing-section,
details,
.conversation-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.phone-panel {
  overflow: hidden;
  min-height: 590px;
  display: grid;
  grid-template-rows: auto 1fr;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  color: #fff;
  background: var(--brand-strong);
}

.phone-top small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 3px;
}

.avatar-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-strong);
  background: #fff;
  font-weight: 900;
}

.chat-stream,
.conversation-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 18px 18px, rgba(17, 134, 111, 0.12) 0 2px, transparent 2px 24px);
}

.chat-stream {
  max-height: 528px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}

.animated-conversation {
  overflow: hidden;
}

.animated-conversation.conversation-panel,
.integration-card.animated-conversation {
  padding: 0;
  align-content: stretch;
  gap: 0;
  background: var(--panel);
}

.animated-conversation .conversation-top {
  justify-content: space-between;
}

.animated-conversation .conversation-top > div {
  min-width: 0;
  flex: 1;
}

.animated-conversation .conversation-top strong,
.animated-conversation .conversation-top small {
  overflow-wrap: anywhere;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #9ee6ce;
  box-shadow: 0 0 0 4px rgba(158, 230, 206, 0.16);
}

.conversation-body {
  min-height: 0;
}

.conversation-panel .conversation-body,
.integration-card .conversation-body {
  min-height: 290px;
  max-height: 430px;
}

.conversation-footer {
  display: flex;
  min-height: 55px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.conversation-outcome {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid #c7e7dc;
  border-radius: 999px;
  padding: 0 12px;
  color: var(--brand-strong);
  background: var(--success-soft);
  font-size: 13px;
  font-weight: 900;
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.conversation-outcome::before,
.action-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.conversation-outcome.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.bubble {
  width: min(88%, 420px);
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  line-height: 1.52;
  box-shadow: 0 8px 18px rgba(12, 31, 54, 0.07);
}

.bubble span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.bubble span strong {
  color: inherit;
  font-size: inherit;
}

.bubble time {
  color: #8190a4;
  font-size: 11px;
  font-weight: 750;
}

.bubble.ai {
  justify-self: end;
  background: #eaf8f2;
  border-color: #c4e7d9;
}

.bubble.agent {
  justify-self: end;
  background: #eef5ff;
  border-color: #c9dcf5;
}

.bubble.customer {
  background: #fff;
}

.animated-conversation,
.animated-chat {
  position: relative;
}

.animated-conversation.is-ready .bubble,
.animated-chat.is-ready .bubble {
  opacity: 0;
  transform: translate3d(0, 12px, 0) scale(0.985);
  transition:
    opacity 320ms ease,
    transform 320ms ease;
}

.animated-conversation.is-ready .bubble.customer,
.animated-chat.is-ready .bubble.customer {
  transform-origin: left bottom;
}

.animated-conversation.is-ready .bubble.ai,
.animated-conversation.is-ready .bubble.agent,
.animated-chat.is-ready .bubble.ai,
.animated-chat.is-ready .bubble.agent {
  transform-origin: right bottom;
}

.animated-conversation.is-ready .bubble.is-visible,
.animated-chat.is-ready .bubble.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.animated-conversation.is-loop-reset .conversation-body,
.animated-conversation.is-loop-reset .conversation-footer {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.action-chip {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  margin-top: 10px;
  border: 1px solid #c7e7dc;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--brand-strong);
  background: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.typing-indicator {
  width: fit-content;
  max-width: 88%;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(12, 31, 54, 0.07);
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  animation: typing-enter 220ms ease forwards;
}

.typing-indicator.ai,
.typing-indicator.agent {
  justify-self: end;
  background: #eaf8f2;
  border-color: #c4e7d9;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.52;
  animation: typing-dot 960ms ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 140ms;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 280ms;
}

.chat-replay-control {
  flex: 0 0 auto;
  justify-self: end;
  min-height: 34px;
  margin-top: 2px;
  padding: 0 12px;
  border: 1px solid #b9ddd2;
  border-radius: 8px;
  color: var(--brand);
  background: #fff;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition:
    opacity 240ms ease,
    transform 240ms ease,
    color 180ms ease,
    background 180ms ease;
}

.chat-replay-control.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.chat-replay-control:hover,
.chat-replay-control:focus-visible {
  color: #fff;
  background: var(--brand);
}

[data-animated-capture].is-ready {
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(0.99);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

[data-animated-capture].is-ready.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

[data-animated-capture].is-ready [data-capture-field] {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    background 260ms ease,
    border-color 260ms ease;
}

[data-animated-capture].is-ready [data-capture-field].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

[data-animated-capture].is-ready [data-capture-highlight].is-visible dd {
  color: var(--brand-strong);
}

[data-animated-capture].is-ready [data-capture-highlight].is-visible::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--success-soft);
  transform: translateY(-50%);
}

@keyframes typing-enter {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes typing-dot {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.44;
  }

  40% {
    transform: translateY(-3px);
    opacity: 0.9;
  }
}

.context-panel {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.panel-label {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.context-panel h2 {
  margin-top: 4px;
  font-size: 24px;
}

dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

dl div {
  position: relative;
  display: grid;
  grid-template-columns: minmax(90px, 0.9fr) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

dd {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 850;
}

.section {
  padding: clamp(42px, 7vw, 82px) 0;
}

.compact-section {
  padding-top: 24px;
}

.section-heading {
  max-width: 770px;
  margin-bottom: 28px;
}

.outcome-grid,
.feature-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.outcome-grid article,
.feature-grid article,
.support-grid article {
  display: grid;
  gap: 10px;
  padding: 20px;
  box-shadow: none;
}

.feature-grid,
.support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
}

.split-section > div:first-child {
  display: grid;
  gap: 16px;
}

.knowledge-card,
.integration-card {
  padding: clamp(20px, 3vw, 30px);
}

.knowledge-card h3,
.integration-card h3 {
  margin-bottom: 16px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.subtle-note,
.center-note {
  color: var(--ink-soft);
  font-weight: 800;
}

.subtle-note {
  margin-top: 18px;
}

.demo-section {
  width: 100%;
  max-width: none;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.demo-section > * {
  width: min(1180px, calc(100% - 36px));
  margin-left: auto;
  margin-right: auto;
}

.conversation-demo-layout {
  grid-template-columns: 250px minmax(0, 1fr);
}

.tab-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.tab-list {
  display: grid;
  gap: 8px;
}

.tab-button {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-soft);
  background: #fff;
  text-align: left;
  padding: 0 16px;
  font-weight: 850;
  cursor: pointer;
}

.tab-button.active,
.tab-button:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.conversation-panel {
  min-height: 330px;
  box-shadow: none;
}

.collaboration-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  gap: 18px;
  align-items: start;
}

.collaboration-grid .workflow {
  min-width: 0;
}

.inbox-preview .conversation-body {
  max-height: 420px;
}

.conversation-inbox .phone-top,
.conversation-flow .phone-top {
  background: var(--ink);
}

.conversation-flow .conversation-body {
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    linear-gradient(90deg, transparent 0 49%, rgba(17, 134, 111, 0.18) 49% 51%, transparent 51% 100%);
}

.step-grid,
.launch-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: steps;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-grid li,
.launch-steps li {
  position: relative;
  padding: 22px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.step-grid li::before,
.launch-steps li::before {
  counter-increment: steps;
  content: counter(steps);
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-weight: 900;
}

.step-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
}

.step-grid span,
.launch-steps li {
  color: var(--muted);
  line-height: 1.55;
}

.center-note,
.center-actions {
  margin-top: 24px;
  justify-content: center;
  text-align: center;
}

.collaboration-section {
  border-radius: 8px;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(7, minmax(126px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.workflow span {
  min-height: 112px;
  display: grid;
  align-content: center;
  padding: 16px;
  border-radius: 8px;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
  line-height: 1.35;
}

.platform-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.platform-chip-row span {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--brand-strong);
  background: var(--success-soft);
  border: 1px solid #c7e7dc;
  font-weight: 800;
  font-size: 13px;
}

.control-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 18px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

th,
td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
}

th {
  color: var(--ink);
  background: #f0f6f8;
  font-size: 13px;
  text-transform: uppercase;
}

td {
  color: var(--ink-soft);
}

tr:last-child td {
  border-bottom: 0;
}

.integration-section {
  align-items: stretch;
}

.integration-card ul {
  display: grid;
  gap: 12px;
}

.launch-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 4vw, 36px);
}

.pricing-section > div:first-child {
  display: grid;
  gap: 12px;
}

.pricing-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

details {
  box-shadow: none;
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink-soft);
  font-weight: 850;
}

details p {
  padding: 0 20px 18px;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 42px;
  padding: clamp(28px, 5vw, 48px);
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
}

.final-cta h2,
.final-cta p:not(.eyebrow) {
  color: #fff;
}

.final-cta p:not(.eyebrow) {
  opacity: 0.78;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  gap: 28px;
  padding: 32px 0 44px;
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: grid;
  gap: 12px;
}

.site-footer img {
  width: 180px;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 750;
}

.site-footer a:hover {
  color: var(--brand);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

  .animated-chat.is-ready .bubble,
  .animated-conversation.is-ready .bubble,
  .conversation-outcome,
  [data-animated-capture].is-ready,
  [data-animated-capture].is-ready [data-capture-field],
  .chat-replay-control {
    opacity: 1;
    transform: none;
  }

  .typing-indicator {
    display: none;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .primary-nav,
  .header-actions {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    justify-content: stretch;
  }

  body.nav-open .primary-nav,
  body.nav-open .header-actions {
    display: grid;
  }

  .primary-nav {
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .primary-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .header-actions {
    grid-template-columns: 1fr 1fr;
  }

  .hero,
  .split-section,
  .pricing-section,
  .final-cta,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-demo {
    grid-template-columns: 1fr;
  }

  .phone-panel {
    min-height: auto;
  }

  .outcome-grid,
  .step-grid,
  .launch-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tab-layout {
    grid-template-columns: 1fr;
  }

  .conversation-demo-layout,
  .collaboration-grid {
    grid-template-columns: 1fr;
  }

  .tab-list {
    display: flex;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .tab-button {
    flex: 0 0 auto;
    min-width: 190px;
    text-align: center;
  }

  .pricing-actions,
  .final-cta .hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand-link img {
    width: 150px;
  }

  .hero,
  .section,
  .final-cta,
  .site-footer,
  .demo-section > * {
    width: min(1180px, calc(100% - 28px));
  }

  .hero {
    padding-top: 38px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-actions,
  .header-actions,
  .pricing-actions,
  .final-cta .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .button-small {
    width: 100%;
  }

  .benefit-list,
  .outcome-grid,
  .feature-grid,
  .support-grid,
  .check-grid,
  .step-grid,
  .launch-steps,
  .control-list,
  .faq-grid,
  .site-footer nav {
    grid-template-columns: 1fr;
  }

  .hero-demo {
    gap: 14px;
  }

  .phone-top {
    padding: 14px;
  }

  .chat-stream,
  .conversation-panel {
    padding: 14px;
  }

  .animated-conversation.conversation-panel,
  .integration-card.animated-conversation {
    padding: 0;
  }

  .chat-stream {
    max-height: 430px;
  }

  .conversation-panel .conversation-body,
  .integration-card .conversation-body {
    min-height: 260px;
    max-height: 390px;
  }

  .bubble {
    width: 94%;
    padding: 11px 12px;
  }

  .bubble span {
    align-items: flex-start;
    flex-direction: column;
    gap: 1px;
  }

  .conversation-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .conversation-outcome,
  .chat-replay-control {
    width: 100%;
    justify-content: center;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .workflow {
    grid-template-columns: repeat(7, 180px);
  }

  .final-cta {
    padding: 24px 18px;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 27px;
  }

  .tab-button {
    min-width: 165px;
    padding: 0 12px;
  }
}
