:root {
  --ink: #0B1020;
  --surface: #121A2E;
  --surface-2: #18223A;
  --line: #1F2A44;
  --line-strong: #2C3A5C;
  --text: #E6EAF2;
  --muted: #8B95AB;
  --accent: #4F7CFF;
  --accent-btn: #3563E9;
  --accent-btn-hover: #3D6BF5;
  --link: #7FA0FF;
  --ok: #3FB98A;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 24px 60px -24px rgb(0 0 0 / 0.7);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 24px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.25rem);
}

h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 16px;
}

a {
  color: var(--link);
}

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.narrow {
  max-width: 760px;
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.875rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 60ch;
}

.center .lead {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  color: var(--link);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--surface);
  padding: 8px 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: 600 0.95rem/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--accent-btn);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-btn-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.actions.center {
  justify-content: center;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(11 16 32 / 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-nav.is-scrolled {
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  border-radius: 8px;
}

.brand-tld {
  color: var(--link);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-by {
  margin-top: 2px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #B4BDD0;
}

.footer-brand p a {
  color: var(--muted);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:not(.btn):hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 72px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.hero-note {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--muted);
}

.caption {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* Shared window frame for every product visual */
.window {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
  background: #0E1528;
  border-bottom: 1px solid var(--line);
}

.dots {
  display: flex;
  gap: 6px;
}

.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2C3A5C;
}

.window-title {
  flex: 1;
  max-width: 340px;
  margin: 0 auto;
  padding: 3px 12px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Chat logs (shared by Slack, widget, phones) */
.chat-log {
  list-style: none;
  margin: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  overflow: hidden;
  min-height: 0;
}

.chat-log p {
  margin: 0;
}

.msg {
  display: flex;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
}

[data-chat].is-armed .msg {
  display: none;
}

[data-chat].is-armed .msg.is-shown {
  display: flex;
  animation: msg-in 0.35s ease-out;
}

[data-chat].is-fading .chat-log {
  opacity: 0;
  transition: opacity 0.5s;
}

@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.typing {
  display: flex;
  gap: 4px;
  padding: 6px 0;
}

.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: blink 1s infinite;
}

.typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes blink {
  50% {
    opacity: 0.3;
  }
}

.avatar {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--av, var(--surface-2));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

.avatar.bot {
  background: var(--accent-btn);
  padding: 5px;
}

.msg-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.msg-meta b {
  color: var(--text);
  font-size: 0.875rem;
  margin-right: 4px;
}

.tag {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  background: var(--line-strong);
  color: var(--muted);
  margin-right: 4px;
}

.mention {
  color: var(--link);
  background: rgb(79 124 255 / 0.15);
  border-radius: 3px;
  padding: 0 2px;
}

.source {
  margin-top: 6px !important;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Slack window */
.slack-body {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  height: 510px;
}

.slack-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 10px;
  background: #0E1528;
  border-right: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

.slack-side span {
  padding: 3px 8px;
  border-radius: 5px;
}

.slack-side .is-active {
  background: var(--accent-btn);
  color: #fff;
}

.slack-ws {
  font-weight: 700;
  color: var(--text);
  font-size: 0.875rem;
  padding: 0 8px 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

.slack-label {
  margin: 10px 8px 4px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.slack-app {
  display: flex;
  align-items: center;
  gap: 6px;
}

.slack-app img {
  width: 16px;
  height: 16px;
  background: var(--accent-btn);
  border-radius: 4px;
  padding: 2px;
}

.slack-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.slack-main .chat-log {
  flex: 1;
}

.slack-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.slack-head .muted {
  font-size: 0.75rem;
}

.composer {
  margin: 0 16px 16px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.8rem;
}

/* Knowledge sources strip */
.sources {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  text-align: center;
}

.sources p {
  margin-bottom: 14px;
}

.source-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  color: var(--muted);
  font-weight: 600;
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding: 96px 0;
}

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

.section-alt {
  background: #0E1528;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: center;
}

.feature-row + .feature-row {
  margin-top: 96px;
}

.feature-row.reverse {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-copy h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
}

.feature-copy h3 i {
  color: var(--accent);
}

.feature-copy p {
  color: var(--muted);
}

.checks {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}

.checks li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.checks li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  color: var(--ok);
  font-size: 1rem;
  line-height: 1;
  position: relative;
  top: 2px;
}

.checks li i {
  color: var(--muted);
}

/* Website widget mock */
.site-mock {
  position: relative;
  height: 560px;
  background: #F4F6FA;
  color: #1A2236;
  overflow: hidden;
}

.site-mock-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #E1E5EE;
  font-size: 0.8rem;
  color: #5A647A;
}

.site-mock-nav b {
  color: #1A2236;
  margin-right: auto;
  font-size: 0.95rem;
}

.site-mock-hero {
  padding: 28px 20px;
}

.site-mock-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px !important;
}

.bar {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: #DDE2EC;
  margin-bottom: 8px;
}

.w70 {
  width: 70%;
}

.w50 {
  width: 50%;
}

.site-mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
  width: 52%;
}

.site-mock-cards span {
  height: 80px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #E1E5EE;
}

.widget {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 300px;
  height: 476px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 40px -12px rgb(20 30 60 / 0.35);
  overflow: hidden;
}

.widget-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--accent-btn);
  color: #fff;
}

.widget-head img {
  width: 28px;
  height: 28px;
}

.widget-head b {
  display: block;
  font-size: 0.85rem;
}

.widget-head span {
  font-size: 0.7rem;
  opacity: 0.85;
}

.widget .chat-log {
  flex: 1;
  padding: 12px;
  gap: 8px;
}

.widget-input {
  display: flex;
  justify-content: space-between;
  margin: 0 12px 12px;
  padding: 8px 12px;
  border: 1px solid #E1E5EE;
  border-radius: 20px;
  font-size: 0.75rem;
  color: #8A93A6;
}

.widget-input i {
  color: var(--accent-btn);
}

/* Bubble style chats (widget + phones) */
.bubbles .msg {
  max-width: 85%;
}

.bubbles .msg p {
  padding: 8px 12px;
  border-radius: 14px 14px 14px 4px;
  font-size: 0.8rem;
  line-height: 1.45;
}

.bubbles .msg.me {
  align-self: flex-end;
}

.bubbles .msg.me p {
  border-radius: 14px 14px 4px 14px;
}

.widget .msg p {
  background: #EEF1F7;
  color: #1A2236;
}

.widget .msg.me p {
  background: var(--accent-btn);
  color: #fff;
}

.widget .msg a {
  color: var(--accent-btn);
}

.widget .typing {
  padding: 10px 12px;
  background: #EEF1F7;
  border-radius: 14px;
  align-self: flex-start;
}

/* Phones */
.phones {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.phone {
  width: 270px;
  height: 520px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding-top: 22px;
}

.phone:nth-child(2) {
  margin-top: 48px;
}

.phone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 12px;
  border-bottom: 1px solid var(--line);
}

.phone-head > i {
  font-size: 1.5rem;
  color: #3FB98A;
}

.phone-head.tg > i {
  color: #4FA8E0;
}

.phone-head b {
  display: block;
  font-size: 0.85rem;
}

.phone-head span {
  font-size: 0.7rem;
  color: var(--muted);
}

.phone .chat-log {
  flex: 1;
  padding: 12px;
  gap: 8px;
}

.phone .msg p {
  background: var(--surface-2);
}

.phone .msg.me p {
  background: #1D4A3A;
}

.phone .tg ~ .chat-log .msg.me p {
  background: #23406A;
}

.phone .typing {
  padding: 10px 12px;
  background: var(--surface-2);
  border-radius: 14px;
  align-self: flex-start;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.steps li {
  border-top: 1px solid var(--line-strong);
  padding-top: 24px;
}

.steps p {
  color: var(--muted);
  margin: 0;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--link);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 16px;
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 56px;
  margin: 0;
}

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

.benefits dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.benefits dt i {
  color: var(--accent);
}

.benefits dd {
  margin: 0;
  color: var(--muted);
}

.small-h2 {
  font-size: 1.5rem;
  margin-bottom: 40px;
}

/* CTA band */
.cta-band {
  padding: 0 0 96px;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-inner > div {
  max-width: 620px;
}

.cta-inner h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.cta-inner p {
  margin: 0;
}

.cta-band .container {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 1112px;
}

/* Page head (pricing, demo, errors) */
.page-head {
  padding: 72px 0 48px;
}

.error-page {
  padding: 120px 0;
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  gap: 24px;
}

.plan {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.plan.featured {
  border-color: var(--accent);
}

.plan .checks {
  margin-bottom: 32px;
  flex: 1;
  align-content: start;
}

.plan-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 26px;
}

.plan-name {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0;
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgb(79 124 255 / 0.15);
  color: var(--link);
}

.plan-price {
  margin: 16px 0 8px;
  color: var(--muted);
}

.plan-price span {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-right: 4px;
}

/* Booking */
.booking {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}

.booking-copy .checks {
  margin: 28px 0;
}

.booking-cal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  min-height: 560px;
}

.cal-inline {
  width: 100%;
  min-height: 540px;
  overflow: auto;
}

.cal-loading {
  padding: 24px;
  text-align: center;
}

.cal-inline:has(iframe) .cal-loading {
  display: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand .brand {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text);
}

.disclaimer {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
}

.disclaimer summary {
  cursor: pointer;
  width: fit-content;
}

.disclaimer p {
  max-width: 80ch;
  margin: 10px 0 0;
}

/* Responsive */
@media (max-width: 1023px) {
  .hero-grid,
  .feature-row,
  .feature-row.reverse,
  .booking {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .feature-row.reverse .feature-copy {
    order: 0;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 16px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px var(--gutter) 20px;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a:not(.btn) {
    padding: 10px 0;
  }

  .nav-links .btn {
    margin-top: 8px;
  }

  .actions .btn {
    flex: 1 1 auto;
  }

  .slack-body {
    grid-template-columns: minmax(0, 1fr);
    height: 560px;
  }

  .slack-side {
    display: none;
  }

  .site-mock {
    height: 540px;
  }

  .widget {
    height: auto;
    top: 60px;
  }

  .source-list {
    gap: 8px 24px;
    font-size: 0.95rem;
  }

  .site-mock-cards {
    width: 100%;
  }

  .widget {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }

  .phones .phone:nth-child(2) {
    display: none;
  }

  .steps,
  .benefits,
  .benefits.three,
  .plans {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band .container {
    padding: 28px 20px;
    margin: 0 var(--gutter);
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
