:root {
  --bg: #f5faf7;
  --surface: #ffffff;
  --surface-soft: #f0f5f8;
  --ink: #101828;
  --ink-soft: #344054;
  --muted: #667085;
  --line: #d9e2ec;
  --line-strong: #c6d2df;
  --blue: #216ee7;
  --blue-dark: #174fb2;
  --whatsapp: #0d7f52;
  --whatsapp-dark: #096b44;
  --teal: #0d9488;
  --green: #20b978;
  --amber: #f4b23f;
  --berry: #b34b7e;
  --shadow-sm: 0 8px 24px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 24px 80px rgba(16, 24, 40, 0.14);
  --max: 1160px;
  --radius: 8px;
  --nav-h: 72px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 14%, rgba(22, 168, 105, 0.18), transparent 27rem),
    radial-gradient(circle at 92% 8%, rgba(244, 178, 63, 0.2), transparent 28rem),
    linear-gradient(180deg, #fbfff9 0%, var(--bg) 42%, #fffaf2 100%);
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(16, 24, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 40, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow-sm);
  transform: translateY(calc(-100% - 24px));
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
  background: rgba(248, 253, 249, 0.9);
  backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(33, 110, 231, 0.16);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-toggle {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.04);
}

.language-toggle button {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.language-toggle button[aria-pressed="true"] {
  color: #fff;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--whatsapp);
  box-shadow: 0 14px 36px rgba(22, 168, 105, 0.24);
}

.button-primary:hover {
  background: var(--whatsapp-dark);
}

.button-telegram {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 36px rgba(33, 110, 231, 0.2);
}

.button-telegram:hover {
  background: var(--blue-dark);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.button-secondary:hover {
  border-color: var(--line-strong);
  background: #fff;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(16, 24, 40, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.mobile-panel[data-open="true"] {
  display: block;
}

.mobile-panel nav {
  display: grid;
  gap: 4px;
  padding: 14px 0 18px;
}

.mobile-panel a {
  padding: 11px 0;
  color: var(--ink-soft);
  font-weight: 800;
}

.mobile-panel a.button-primary {
  color: #fff;
}

.mobile-panel .button {
  width: fit-content;
  margin-top: 8px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 780px;
  padding: 60px 0 34px;
  background:
    radial-gradient(circle at 16% 20%, rgba(22, 168, 105, 0.18), transparent 24rem),
    radial-gradient(circle at 84% 12%, rgba(244, 178, 63, 0.24), transparent 24rem),
    linear-gradient(105deg, rgba(255, 255, 255, 0.86) 0 44%, rgba(216, 246, 232, 0.8) 44% 100%),
    linear-gradient(180deg, #fbfff9 0%, #e9f8ef 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--line);
}

.hero-layout {
  position: relative;
  min-height: 650px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 570px);
  padding-top: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(22, 168, 105, 0.24);
  border-radius: 999px;
  background: rgba(22, 168, 105, 0.1);
  color: #075f3f;
  font-size: 13px;
  font-weight: 800;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

.hero h1 {
  max-width: 570px;
  margin: 24px 0 20px;
  font-size: clamp(3.35rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
  white-space: pre-line;
  text-wrap: balance;
}

.hero-copy {
  max-width: 540px;
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.signal-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #3d4758;
  font-size: 13px;
  font-weight: 800;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 650px);
}

.metric {
  min-height: 100px;
  padding: 16px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.07);
}

.metric strong {
  display: block;
  margin-bottom: 4px;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.product-scene {
  position: absolute;
  inset: 0 0 0 42%;
  z-index: 1;
  pointer-events: none;
}

.scene-halo {
  position: absolute;
  inset: 8% 0 10% 8%;
  background:
    linear-gradient(135deg, rgba(22, 168, 105, 0.24), rgba(244, 178, 63, 0.16)),
    radial-gradient(circle at 64% 24%, rgba(22, 168, 105, 0.2), transparent 28rem);
  border: 1px solid rgba(16, 24, 40, 0.06);
  border-radius: 999px 0 0 999px;
  transform: translateX(9%);
}

.phone-mock {
  position: absolute;
  top: 34px;
  left: 20%;
  z-index: 3;
  width: min(321px, 34vw);
  aspect-ratio: 450 / 900;
  padding: 10px;
  border: 5px solid #172033;
  border-radius: 46px;
  background: #0a1019;
  box-shadow:
    0 34px 90px rgba(16, 24, 40, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transform: rotate(2.25deg);
}

.phone-mock::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 50%;
  width: 112px;
  height: 28px;
  border-radius: 999px;
  background: #0b1220;
  transform: translateX(-50%);
  z-index: 4;
}

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 36px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 12%, rgba(32, 185, 120, 0.14), transparent 14rem),
    radial-gradient(circle at 88% 22%, rgba(33, 110, 231, 0.12), transparent 13rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 8%, transparent 8% 18%, rgba(255, 255, 255, 0.025) 18% 20%, transparent 20%),
    #0b141a;
  background-size: auto, auto, 74px 74px, auto;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 15px 22px 4px;
  color: #e8eef5;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 12px 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.chat-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(7, 16, 34, 0.22);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

.profile-status {
  margin: 0;
  color: #7ee6a8;
  font-size: 11px;
}

.chat-dots {
  display: flex;
  gap: 4px;
}

.chat-dots span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.chat-viewport {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 12px 12px 8px;
  scroll-behavior: smooth;
}

.chat-stack {
  display: grid;
  align-content: end;
  gap: 10px;
  min-height: 100%;
}

.bubble {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  width: fit-content;
  max-width: 92%;
  padding: 9px 10px;
  border-radius: 14px;
  background: #202c33;
  color: #e8eef5;
  font-size: 11.5px;
  line-height: 1.35;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  animation: message-rise 220ms ease both;
}

.bubble.user {
  justify-self: end;
  color: #fff;
  background: #075e54;
}

.bubble.bot {
  justify-self: start;
}

.bubble.document {
  border-color: rgba(244, 178, 63, 0.28);
  background: rgba(244, 178, 63, 0.12);
}

.bubble strong {
  color: #fff;
}

.bubble-copy {
  min-width: 0;
}

.bubble-time {
  flex: 0 0 auto;
  color: rgba(232, 238, 245, 0.66);
  font-size: 10px;
  line-height: 1;
}

.bubble.file {
  align-items: center;
  min-width: min(260px, 92%);
  padding: 9px;
}

.file-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #e3425a;
  font-size: 10px;
  font-weight: 900;
}

.bubble.file strong,
.demo-chat-bubble.file strong {
  display: block;
  max-width: 160px;
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bubble.file small,
.demo-chat-bubble.file small {
  display: block;
  color: rgba(232, 238, 245, 0.72);
  font-size: 10px;
  font-weight: 700;
}

.bubble.typing {
  gap: 4px;
  align-items: center;
  min-height: 32px;
  padding-inline: 12px;
}

.bubble.typing i {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #aeb9c5;
  animation: typing-pulse 900ms ease-in-out infinite;
}

.bubble.typing i:nth-child(3) {
  animation-delay: 120ms;
}

.bubble.typing i:nth-child(4) {
  animation-delay: 240ms;
}

.phone-composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 12px 12px;
  min-height: 44px;
  padding: 0 10px 0 15px;
  border-radius: 999px;
  color: #8fa2b6;
  background: #202c33;
  font-size: 12px;
  font-weight: 750;
}

.composer-dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 2px, transparent 2px),
    var(--whatsapp);
}

@keyframes message-rise {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes typing-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.document-card,
.sheet-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(16, 24, 40, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
}

.document-card {
  top: 142px;
  right: -13%;
  width: 276px;
  padding: 18px;
}

.document-card small,
.sheet-title small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.document-card strong {
  display: block;
  margin: 7px 0 8px;
  font-size: 25px;
  line-height: 1.18;
  letter-spacing: 0;
}

.document-card p {
  margin: 0;
  color: var(--ink-soft);
}

.doc-lines {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.doc-lines span {
  height: 8px;
  border-radius: 999px;
  background: #e6edf5;
}

.doc-lines span:nth-child(2) {
  width: 74%;
  background: rgba(13, 148, 136, 0.22);
}

.doc-lines span:nth-child(3) {
  width: 52%;
  background: rgba(179, 75, 126, 0.18);
}

.sheet-card {
  right: -36%;
  bottom: 54px;
  width: min(470px, 66%);
  overflow: hidden;
  transform: rotate(-1.5deg);
}

.sheet-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.sheet-title {
  display: grid;
  gap: 2px;
  font-weight: 800;
  letter-spacing: 0;
}

.sheet-tabs {
  display: flex;
  gap: 6px;
}

.sheet-tabs span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.sheet-tabs .active {
  color: #06352f;
  background: rgba(13, 148, 136, 0.16);
}

.sheet-table-wrap {
  overflow-x: auto;
}

.sheet-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 11.5px;
}

.sheet-table th,
.sheet-table td {
  padding: 9px 8px;
  border-bottom: 1px solid #edf1f6;
  text-align: left;
  white-space: nowrap;
}

.sheet-table th {
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sheet-table td:last-child {
  font-weight: 800;
}

.section {
  padding: 86px 0;
}

.section.tint {
  background:
    radial-gradient(circle at 8% 18%, rgba(22, 168, 105, 0.12), transparent 24rem),
    radial-gradient(circle at 90% 24%, rgba(244, 178, 63, 0.13), transparent 25rem),
    linear-gradient(180deg, #fffaf2, #edf9f2);
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4.2vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

h3,
p {
  margin-top: 0;
}

.section-lead {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.feature {
  min-height: 285px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(22, 168, 105, 0.07), rgba(255, 255, 255, 0) 38%),
    var(--surface);
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.06);
}

.icon-box {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: var(--whatsapp);
}

.feature:nth-child(2) .icon-box {
  background: var(--amber);
  color: #332100;
}

.feature:nth-child(3) .icon-box {
  background: var(--teal);
}

.feature:nth-child(4) .icon-box {
  background: var(--berry);
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.feature p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.mini-proof {
  padding: 12px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: #3d4758;
  font-size: 13px;
  font-weight: 700;
}

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

.channel {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.06);
}

.channel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.channel-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.channel-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.channel.group .channel-mark {
  background: var(--ink);
}

.channel.whatsapp {
  border-color: rgba(22, 168, 105, 0.28);
  background:
    linear-gradient(180deg, rgba(22, 168, 105, 0.11), rgba(255, 255, 255, 0) 42%),
    #fff;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 999px;
  color: #075e56;
  background: rgba(13, 148, 136, 0.08);
  font-size: 12px;
  font-weight: 800;
}

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

.channel-cta {
  margin-top: 18px;
}

.channel-cta .button {
  min-height: 42px;
  padding-inline: 14px;
  font-size: 14px;
}

.channel-matrix {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.06);
}

.matrix-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.matrix-head h3 {
  max-width: 480px;
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0;
}

.matrix-head p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.matrix-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.channel-matrix table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.channel-matrix th,
.channel-matrix td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.channel-matrix thead th {
  color: var(--ink);
  background: #f6faf8;
  font-size: 13px;
}

.channel-matrix tbody th {
  width: 27%;
  color: var(--ink);
}

.channel-matrix td {
  color: #435064;
  font-weight: 700;
}

.channel-matrix tr:last-child th,
.channel-matrix tr:last-child td {
  border-bottom: 0;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.check-list svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--green);
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
}

.demo-tabs {
  display: grid;
  gap: 10px;
}

.demo-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 72px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-soft);
  text-align: left;
}

.demo-tab[aria-selected="true"] {
  border-color: rgba(22, 168, 105, 0.38);
  background: rgba(22, 168, 105, 0.08);
  color: var(--ink);
}

.demo-tab strong {
  display: block;
  margin-bottom: 2px;
}

.demo-tab span span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.demo-preview {
  min-height: 430px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 80% 14%, rgba(244, 178, 63, 0.13), transparent 18rem),
    linear-gradient(135deg, rgba(22, 168, 105, 0.1), transparent 42%),
    #fff;
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.06);
}

.demo-panel {
  display: none;
}

.demo-panel[data-active="true"] {
  display: block;
}

.demo-panel h3 {
  margin-bottom: 8px;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: 0;
}

.demo-composer {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.demo-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.demo-input {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 750;
}

.demo-input::placeholder {
  color: #7b8797;
}

.demo-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.demo-samples button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.08);
  color: #075e56;
  font-size: 12px;
  font-weight: 850;
}

.demo-result {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(22, 168, 105, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(22, 168, 105, 0.1), rgba(244, 178, 63, 0.08)),
    #fff;
}

.demo-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.demo-result-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.demo-result-head strong {
  color: var(--ink);
  font-size: 20px;
}

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

.demo-fields div {
  min-height: 70px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.demo-fields dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

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

.demo-result p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.demo-result .button {
  width: fit-content;
  min-height: 40px;
  padding-inline: 14px;
  font-size: 14px;
}

.demo-conversation {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 20%, rgba(32, 185, 120, 0.13), transparent 13rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 8%, transparent 8% 18%, rgba(255, 255, 255, 0.025) 18% 20%, transparent 20%),
    #0b141a;
  background-size: auto, 68px 68px, auto;
}

.demo-chat-bubble {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  width: fit-content;
  max-width: 88%;
  padding: 11px 12px;
  border-radius: 14px;
  color: #e8eef5;
  background: #202c33;
  font-size: 13px;
  line-height: 1.35;
}

.demo-chat-bubble.user,
.demo-chat-bubble.file {
  justify-self: end;
  color: #fff;
  background: #075e54;
}

.demo-chat-bubble.bot {
  justify-self: start;
}

.demo-chat-bubble.file {
  align-items: center;
  min-width: min(320px, 88%);
}

.demo-chat-bubble .file-icon {
  flex: 0 0 auto;
}

.demo-chat-bubble .bubble-time {
  color: rgba(232, 238, 245, 0.64);
}

.mini-chat {
  display: grid;
  gap: 10px;
  max-width: 560px;
  margin-top: 22px;
}

.mini-bubble {
  width: fit-content;
  max-width: 90%;
  padding: 12px 14px;
  border-radius: 14px;
  color: #344054;
  background: #eef2f7;
  font-size: 14px;
}

.mini-bubble.user {
  justify-self: end;
  color: #fff;
  background: var(--whatsapp);
}

.mini-bubble strong {
  color: var(--ink);
}

.trust-band {
  padding: 72px 0;
  color: #fff;
  background: var(--ink);
}

.trust-band .section-kicker {
  color: #8ad8ce;
}

.trust-band h2 {
  color: #fff;
}

.trust-band .section-lead {
  color: #c7d0dd;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
}

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

.trust-item {
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.trust-item strong {
  display: block;
  margin-bottom: 5px;
}

.trust-item span {
  color: #c7d0dd;
  font-size: 14px;
}

.pricing-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 420px);
  gap: 36px;
  align-items: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 84% 20%, rgba(22, 168, 105, 0.14), transparent 18rem),
    radial-gradient(circle at 12% 80%, rgba(244, 178, 63, 0.12), transparent 18rem),
    #fff;
  box-shadow: var(--shadow-sm);
}

.pricing-summary {
  min-width: 0;
}

.pricing-summary h2 {
  font-size: clamp(2.45rem, 3.4vw, 3.5rem);
  line-height: 1.05;
}

.pricing-purchase {
  width: 100%;
  max-width: 420px;
  justify-self: end;
  padding: 24px;
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.07);
}

.price-options {
  display: grid;
  gap: 16px;
}

.price-option {
  min-width: 0;
}

.price-option + .price-option {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.price-option > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin: 0 0 12px;
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.price strong {
  font: inherit;
}

.price small {
  color: var(--muted);
  font-size: 16px;
  letter-spacing: 0;
}

.annual-price {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 800;
}

.annual-price span {
  color: var(--muted);
  font-size: 14px;
}

.savings {
  margin: 3px 0 0;
  color: var(--whatsapp-dark);
  font-size: 13px;
  font-weight: 800;
}

.tax-note,
.pricing-note,
.channel-choice p {
  color: var(--muted);
  font-size: 13px;
}

.tax-note {
  margin: 12px 0 0;
}

.channel-choice {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.channel-choice .button {
  width: 100%;
}

.channel-choice p {
  margin: -4px 4px 2px;
}

.pricing-note {
  max-width: 760px;
  margin: 14px 0 0;
}

.pricing-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
}

.pricing-legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pricing-features {
  margin-top: 20px;
}

.beta-section {
  background:
    linear-gradient(180deg, rgba(255, 240, 220, 0.52), rgba(245, 250, 247, 0.48)),
    var(--bg);
}

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

.beta-limit {
  min-height: 156px;
  padding: 20px;
  border: 1px solid rgba(244, 178, 63, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.05);
}

.beta-limit strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.beta-limit p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  flex: 0 0 auto;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(22, 168, 105, 0.2), transparent 28rem),
    radial-gradient(circle at 76% 68%, rgba(244, 178, 63, 0.16), transparent 22rem),
    linear-gradient(180deg, #f2fbf5, #fff7ea);
}

.final-cta h2,
.final-cta p {
  max-width: 720px;
  margin-inline: auto;
}

.final-cta p {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 1.08rem;
}

.mini-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 28px;
  padding: 0;
  list-style: none;
}

.mini-flow li {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  font-size: 13px;
}

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

.footer p {
  margin: 10px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 700;
}

.mobile-sticky-cta {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 12px;
  z-index: 45;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.mobile-sticky-cta[data-visible="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-sticky-cta span {
  padding-left: 4px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.legal-main {
  max-width: 760px;
  padding: 64px 0 100px;
}

.legal-main .section-kicker {
  margin-bottom: 12px;
}

.legal-main h1 {
  margin: 0 0 8px;
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.legal-updated {
  margin: 0 0 38px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.legal-note {
  margin: 0 0 34px;
  padding: 18px;
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: var(--radius);
  background: rgba(13, 148, 136, 0.07);
  color: #075e56;
  font-weight: 700;
}

.legal-main h2 {
  margin: 34px 0 10px;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: 0;
}

.legal-main p,
.legal-main li {
  color: #3d4758;
  font-size: 15px;
}

.legal-main a {
  color: var(--blue);
  font-weight: 700;
}

.legal-main a.button-primary {
  color: #fff;
}

.legal-main a.button-secondary {
  color: var(--ink);
}

.legal-main ul {
  display: grid;
  gap: 8px;
  padding-left: 21px;
}

code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
}

@media (max-width: 1100px) {
  .nav-links,
  .nav-actions .button {
    display: none;
  }

  .nav-actions .legal-back-button {
    display: inline-flex;
  }

  .mobile-menu-button {
    display: grid;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    min-height: auto;
  }

  .hero-content {
    width: min(100%, 720px);
    padding-top: 18px;
  }

  .product-scene {
    position: relative;
    inset: auto;
    min-height: 760px;
    margin-top: 28px;
  }

  .scene-halo {
    inset: 4% 0 5%;
    border-radius: 999px;
    transform: none;
  }

  .phone-mock {
    left: 50%;
    width: min(350px, 82vw);
    transform: translateX(-50%) rotate(2deg);
  }

  .document-card {
    right: calc(50% - 330px);
  }

  .sheet-card {
    right: 50%;
    bottom: 0;
    width: min(720px, 96%);
    transform: translateX(50%) rotate(-1.5deg);
  }

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

  .matrix-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-layout,
  .trust-layout,
  .pricing-card {
    grid-template-columns: 1fr;
  }

  .pricing-purchase {
    max-width: 560px;
    justify-self: start;
  }

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

@media (max-width: 700px) {
  :root {
    --nav-h: 68px;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  body[data-sticky-cta-visible="true"] {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .nav-inner {
    min-height: var(--nav-h);
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .hero {
    padding: 34px 0 42px;
    background:
      radial-gradient(circle at 18% 12%, rgba(22, 168, 105, 0.18), transparent 18rem),
      radial-gradient(circle at 92% 16%, rgba(244, 178, 63, 0.18), transparent 18rem),
      linear-gradient(180deg, #fbfff9 0%, #e8f8ef 100%);
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(2.9rem, 14vw, 4.3rem);
    line-height: 1;
    letter-spacing: 0;
  }

  .hero-copy {
    font-size: 1rem;
  }

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

  .hero-actions .button,
  .mobile-panel .button {
    width: 100%;
  }

  .signal-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .metric-row {
    display: none;
  }

  .product-scene {
    min-height: 662px;
    overflow: hidden;
    margin-top: 24px;
  }

  .phone-mock {
    top: 0;
    width: min(306px, calc(100vw - 44px));
    padding: 8px;
  }

  .phone-mock::before {
    top: 16px;
    width: 88px;
    height: 22px;
  }

  .phone-screen {
    min-height: 0;
    padding: 0;
  }

  .phone-status {
    min-height: 42px;
    padding: 13px 18px 2px;
    font-size: 11px;
  }

  .chat-header {
    margin-inline: 10px;
    padding: 8px 10px;
  }

  .chat-viewport {
    padding: 10px 10px 7px;
  }

  .phone-composer {
    margin: 0 10px 10px;
    min-height: 40px;
  }

  .bubble {
    font-size: 11px;
  }

  .document-card,
  .sheet-card {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  h2 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .feature-grid,
  .channel-grid,
  .trust-grid,
  .beta-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .channel,
  .demo-preview,
  .pricing-card,
  .channel-matrix {
    padding: 20px;
  }

  .pricing-summary h2 {
    font-size: clamp(2.35rem, 11vw, 3.15rem);
  }

  .pricing-purchase {
    max-width: none;
    padding: 18px;
  }

  .channel-matrix {
    margin-top: 14px;
  }

  .matrix-head h3 {
    font-size: 21px;
  }

  .matrix-scroll {
    margin-inline: -4px;
  }

  .demo-input-row,
  .demo-fields {
    grid-template-columns: 1fr;
  }

  .demo-input-row .button,
  .demo-result .button {
    width: 100%;
  }

  .demo-conversation {
    padding: 12px;
  }

  .demo-chat-bubble {
    max-width: 94%;
    font-size: 12px;
  }

  .demo-panel h3 {
    font-size: 28px;
  }

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

  .mobile-sticky-cta {
    display: flex;
  }

  .mobile-sticky-cta .button {
    min-height: 44px;
    width: auto;
    padding-inline: 14px;
  }

  .legal-main {
    padding: 42px 0 76px;
  }

  body[data-legal-page] .nav-inner {
    gap: 10px;
  }

  body[data-legal-page] .nav-actions {
    gap: 6px;
  }

  .legal-back-button {
    min-height: 34px;
    padding-inline: 12px;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .nav-inner {
    gap: 10px;
  }

  .brand {
    gap: 8px;
    font-size: 14px;
  }

  .language-toggle button {
    min-width: 32px;
    min-height: 30px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 14.5vw, 3.4rem);
  }

  .product-scene {
    min-height: 610px;
  }

  .phone-mock {
    width: min(282px, calc(100vw - 32px));
  }

  .channel-matrix table {
    min-width: 650px;
    font-size: 13px;
  }

  .channel-matrix th,
  .channel-matrix td {
    padding: 12px;
  }

  .demo-samples button {
    max-width: 100%;
    white-space: normal;
    text-align: left;
  }

  .demo-result-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-sticky-cta {
    gap: 8px;
    padding: 8px;
  }

  .mobile-sticky-cta span {
    font-size: 12px;
  }

  .mobile-sticky-cta .button {
    min-height: 40px;
    padding-inline: 11px;
    font-size: 13px;
  }

  body[data-legal-page] .site-nav .brand span {
    display: none;
  }

  .legal-main h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
    animation-iteration-count: 1 !important;
  }
}
/* Higher-contrast focus ring on primary/inverse surfaces */
.button-primary:focus-visible,
.button-telegram:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--blue);
}
/* Ensure sticky mobile CTA text meets contrast */
.mobile-sticky-cta { color: var(--ink); }
