:root,
[data-theme="day"] {
  --bg: #f4f2ee;
  --bg-2: #ebe8e2;
  --card: #fffcf8;
  --card-2: #f0ece6;
  --muted-bg: #e4e0d9;
  --text: #2b2f33;
  --muted: #5c636a;
  --faint: #8a9096;
  --accent: #c45d45;
  --accent-2: #b5533d;
  --accent-soft: rgba(196, 93, 69, 0.1);
  --btn: #17191c;
  --btn-text: #f6f2ec;
  --btn-hover: #23262b;
  --btn-line: rgba(201, 168, 112, 0.42);
  --line: rgba(43, 47, 51, 0.08);
  --shadow: 0 10px 28px rgba(43, 47, 51, 0.06);
  --header-bg: rgba(244, 242, 238, 0.92);
  --glass: rgba(255, 252, 248, 0.92);
  --input-bg: #ffffff;
  --ok: #2f6f4e;
  --radius: 22px;
  --max: 1180px;
}

[data-theme="night"] {
  --bg: #14171b;
  --bg-2: #1b2026;
  --card: #1e252b;
  --card-2: #252d34;
  --muted-bg: #2a333a;
  --text: #f3efe8;
  --muted: rgba(243, 239, 232, 0.72);
  --faint: rgba(243, 239, 232, 0.48);
  --accent: #d47862;
  --accent-2: #c45d45;
  --accent-soft: rgba(212, 120, 98, 0.16);
  --btn: #efe8dc;
  --btn-text: #17191c;
  --btn-hover: #f6f1e8;
  --btn-line: rgba(201, 168, 112, 0.55);
  --line: rgba(243, 239, 232, 0.1);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --header-bg: rgba(20, 23, 27, 0.9);
  --glass: rgba(30, 37, 43, 0.9);
  --input-bg: #161b20;
  --ok: #8fd0ad;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

html[data-theme="night"] {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 56px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 14px;
}

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

h1 {
  font-size: clamp(32px, 5vw, 58px);
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 22px;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

.lead {
  font-size: clamp(16px, 2vw, 20px);
  max-width: 720px;
}

#apply .lead {
  margin-bottom: 32px;
}

.utp {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  max-width: 560px;
}

.utp li {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
}

.utp strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--text);
}

.utp span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.logo__mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  background: #17191c;
  border: 0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(23, 25, 28, 0.22);
}

.logo__mark img {
  width: 118%;
  height: 118%;
  object-fit: cover;
  object-position: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  margin-right: 4px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav a.btn {
  color: var(--btn-text);
  font-size: 12px;
  font-weight: 700;
}

.nav a.btn:hover {
  color: var(--btn-text);
}

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

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.theme-toggle:hover {
  border-color: var(--btn-line);
}

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

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
}

.clients {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card);
  padding: 16px 0 20px;
}

.clients__caption {
  margin: 0 0 12px;
  text-align: center;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}

.clients__track {
  display: flex;
  width: max-content;
  animation: clients-marquee 42s linear infinite;
}

.clients:hover .clients__track {
  animation-play-state: paused;
}

.clients__row {
  display: flex;
  align-items: center;
  gap: 52px;
  padding-right: 52px;
}

.clients__row span {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes clients-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .clients__track {
    animation: none;
  }
}

.hero {
  padding: 72px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -80px;
  top: -80px;
  background: radial-gradient(circle, rgba(196, 93, 69, 0.08), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero__title {
  position: relative;
}

.price-sticker {
  position: absolute;
  top: 10px;
  left: 100%;
  right: auto;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px 8px 10px;
  border-radius: 12px;
  background: #fff;
  color: #17191c;
  box-shadow: 0 10px 24px rgba(23, 25, 28, 0.16);
  transform: translateX(12px) rotate(8deg);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.price-sticker__icon {
  font-size: 18px;
  line-height: 1;
}

.price-sticker b {
  color: var(--accent);
  font-weight: 800;
}

.hero__visual {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero__portrait {
  margin: 0;
  position: relative;
}

.hero__portrait img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: 50% 12%;
}

.hero__portrait figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  display: grid;
  gap: 2px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 14px;
  color: var(--text);
}

.hero__portrait figcaption span {
  color: var(--muted);
  font-size: 13px;
}

.hero__live {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.live-feed {
  position: absolute;
  right: 14px;
  top: 46%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(240px, 58%);
}

.live-card {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(43, 47, 51, 0.06);
  color: var(--text);
  animation: live-in 0.45s ease both;
}

.live-card.is-out {
  animation: live-out 0.4s ease forwards;
}

.live-card__icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 13px;
  background: var(--accent-soft);
  color: var(--accent);
}

.live-card--ok .live-card__icon { background: rgba(47, 111, 78, 0.12); color: #2f6f4e; }
.live-card--send .live-card__icon { background: rgba(196, 93, 69, 0.12); color: var(--accent); }
.live-card--deal .live-card__icon { background: rgba(47, 111, 78, 0.14); color: #2f6f4e; }
.live-card--crm .live-card__icon { background: rgba(70, 96, 130, 0.12); color: #465e82; }

.live-card strong {
  display: block;
  font-size: 12px;
  line-height: 1.25;
}

.live-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

@keyframes live-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes live-out {
  to {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-card,
  .live-card.is-out {
    animation: none;
  }
}

.call-card {
  background: var(--bg-2);
  border-radius: 20px;
  padding: 20px;
}

.call-card__top {
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-size: 12px;
  margin-bottom: 16px;
}

.call-wave {
  height: 84px;
  border-radius: 14px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--accent) 0 3px,
      transparent 3px 10px
    );
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  opacity: 0.45;
}

.call-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.chip {
  background: var(--card);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
}

.chip strong {
  display: block;
  font-size: 16px;
  margin-top: 2px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--btn-line);
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-text);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 248, 0.12),
    0 14px 30px rgba(23, 25, 28, 0.18);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--btn-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 248, 0.16),
    0 18px 36px rgba(23, 25, 28, 0.22);
}

.btn:active {
  background: var(--btn);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

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

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

.feature {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 180px;
  border: 1px solid var(--line);
}

.features-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.features-tool {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.features-tool:hover {
  color: var(--text);
  border-color: var(--text);
}

[data-features-accordion] details.feature {
  min-height: 0;
  padding: 0;
}

[data-features-accordion] details.feature summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 16px;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
}

[data-features-accordion] details.feature summary::-webkit-details-marker {
  display: none;
}

[data-features-accordion] details.feature summary .feature__icon {
  margin-bottom: 0;
}

[data-features-accordion] details.feature h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

[data-features-accordion] details.feature p {
  margin: 0;
  padding: 0 18px 18px 72px;
}

.feature-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--faint);
  border-bottom: 2px solid var(--faint);
  transform: rotate(45deg);
  justify-self: end;
  transition: transform 0.2s ease;
}

[data-features-accordion] details.feature[open] .feature-chevron {
  transform: rotate(225deg);
  margin-top: 4px;
}

.feature--lead {
  grid-column: span 2;
}

.feature--dialogues {
  grid-column: span 2;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dialogues-kicker {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--muted);
}

.dialogues-kicker strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.dialogues-feed {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 214px;
  overflow: hidden;
}

.dialogue-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) 56px auto;
  gap: 10px;
  align-items: center;
  flex: 0 0 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 12px;
  background: var(--bg-2);
  animation: live-in 0.35s ease both;
}

.dialogue-row.is-out {
  animation: live-out 0.3s ease forwards;
}

.dialogue-row__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f6f4e;
  box-shadow: 0 0 0 0 rgba(47, 111, 78, 0.45);
  animation: dialogue-pulse 1.6s ease-out infinite;
}

.dialogue-row__text {
  font-size: 14px;
  color: var(--text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dialogue-row__text span {
  color: var(--muted);
}

.dialogue-row__time {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--faint);
  letter-spacing: 0.02em;
}

.dialogue-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 16px;
  pointer-events: none;
}

.dialogue-wave i {
  display: block;
  width: 2px;
  height: 16px;
  border-radius: 99px;
  background: var(--ok);
  transform: scaleY(0.35);
  transform-origin: center;
  animation: dialogue-wave 0.85s ease-in-out infinite;
}

.dialogue-wave i:nth-child(1) { animation-duration: 0.72s; animation-delay: -0.1s; }
.dialogue-wave i:nth-child(2) { animation-duration: 0.94s; animation-delay: -0.35s; }
.dialogue-wave i:nth-child(3) { animation-duration: 0.68s; animation-delay: -0.2s; }
.dialogue-wave i:nth-child(4) { animation-duration: 1.05s; animation-delay: -0.55s; }
.dialogue-wave i:nth-child(5) { animation-duration: 0.78s; animation-delay: -0.05s; }
.dialogue-wave i:nth-child(6) { animation-duration: 0.9s; animation-delay: -0.4s; }
.dialogue-wave i:nth-child(7) { animation-duration: 0.64s; animation-delay: -0.25s; }
.dialogue-wave i:nth-child(8) { animation-duration: 0.88s; animation-delay: -0.6s; }
.dialogue-wave i:nth-child(9) { animation-duration: 0.76s; animation-delay: -0.15s; }
.dialogue-wave i:nth-child(10) { animation-duration: 0.98s; animation-delay: -0.45s; }
.dialogue-wave i:nth-child(11) { animation-duration: 0.7s; animation-delay: -0.3s; }

.dialogue-row:nth-child(even) .dialogue-wave i {
  animation-direction: reverse;
}

@keyframes dialogue-wave {
  0%, 100% { transform: scaleY(0.28); }
  50% { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .dialogue-wave i {
    animation: none;
    transform: scaleY(0.55);
  }
}

@keyframes dialogue-pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 111, 78, 0.45); }
  70% { box-shadow: 0 0 0 6px rgba(47, 111, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 111, 78, 0); }
}

.feature--lead p {
  max-width: 46ch;
  font-size: 17px;
  color: var(--text);
}

.feature__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 20px;
}

.features--compact {
  gap: 10px;
}

.features--compact .feature {
  padding: 14px 16px;
  min-height: 0;
  border-radius: 16px;
}

.features--compact .feature__icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  margin-bottom: 8px;
  font-size: 15px;
}

.features--compact h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.features--compact p {
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}

.features--compact details.feature {
  padding: 0;
}

.features--compact details.feature summary {
  grid-template-columns: 32px minmax(0, 1fr) 16px;
  gap: 10px;
  padding: 12px 14px;
}

.features--compact details.feature h3 {
  font-size: 16px;
  margin-bottom: 0;
}

.features--compact details.feature p {
  padding: 0 14px 14px 56px;
}

.cases {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.case-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  border: 1px solid var(--line);
}

.case-card p {
  flex: 1;
}

.logos {
  display: flex;
  gap: 12px;
  overflow: auto;
  padding-bottom: 6px;
}

.logo-pill {
  flex: 0 0 auto;
  min-width: 160px;
  height: 64px;
  border-radius: 16px;
  background: var(--card-2);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
}

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

.stat {
  background: var(--card);
  border-radius: 28px;
  padding: 32px 28px;
  text-align: center;
  border: 1px solid var(--line);
}

.stat__value {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.stat small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.benefits {
  display: grid;
  gap: 14px;
}

.benefit {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--line);
}

.benefit__num {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 28px;
}

.jtbd {
  display: grid;
  gap: 14px;
}

.jtbd-item {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
}

.jtbd-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 700;
  font-size: 18px;
}

.jtbd-item summary::-webkit-details-marker {
  display: none;
}

.jtbd-item[open] summary {
  color: var(--accent);
}

.jtbd-item .body {
  padding: 0 24px 22px;
}

.integrations {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.panel {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}

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

.check {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
}

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

.start-step {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
}

.start-step__num {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.start-step h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.start-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.stories-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
}

.stories-count {
  margin: 0;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--faint);
}

.stories-frame {
  position: relative;
  padding: 0 40px;
}

.stories-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--faint);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transform: translateY(-50%);
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.stories-btn--prev {
  left: 0;
}

.stories-btn--next {
  right: 0;
}

.stories-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.stories-btn:hover:not(:disabled),
.stories-btn:focus-visible:not(:disabled) {
  background: var(--btn);
  border-color: var(--btn-line);
  color: var(--btn-text);
  box-shadow: 0 12px 28px rgba(23, 25, 28, 0.22);
}

.stories-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.stories-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
}

.stories-dots button.is-active {
  background: var(--accent);
}

.stories {
  display: block;
}

.story {
  display: none;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  background: var(--card);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.story.is-active {
  display: grid;
}

.story__aside {
  background: var(--bg-2);
  padding: 24px;
}

.story__aside h2 {
  font-size: clamp(22px, 2.6vw, 32px);
}

.story__main {
  padding: 24px;
  font-size: 15px;
}

.story__main h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.story__main h3:not(:first-child) {
  margin-top: 14px;
}

.story__main p {
  margin-bottom: 0;
}

.story-evidence {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.story-evidence figure {
  margin: 0;
}

.story-evidence img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--bg-2);
}

.story-evidence--chat {
  grid-template-columns: minmax(0, 380px);
}

.story-evidence--chat img {
  height: auto;
  max-height: 440px;
  object-fit: contain;
  background: #2b2d31;
}

.story-evidence figcaption {
  margin-top: 6px;
  font-size: 12px;
  color: var(--faint);
}

.kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.kpi {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
}

.partner {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px 32px 32px;
  margin-bottom: 28px;
  scroll-margin-top: 88px;
}

.partner h2 {
  margin: 6px 0 0;
  font-size: clamp(22px, 3vw, 32px);
}

.partner-route {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.partner-route li {
  position: relative;
  padding-right: 18px;
}

.partner-route li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 40px;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--line));
}

.partner-route__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.partner-route strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.partner-route p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.partner-fork {
  display: grid;
  gap: 6px;
}

.partner-fork span {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px dashed var(--line);
  font-size: 13px;
  line-height: 1.35;
  color: var(--text);
}

.cta {
  background:
    var(--card);
  border-radius: 32px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border: 1px solid var(--line);
}

.form {
  display: grid;
  gap: 12px;
}

.form input,
.form textarea {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--input-bg);
  color: var(--text);
  padding: 0 16px;
  font-size: 15px;
}

.form textarea {
  min-height: 110px;
  padding: 14px 16px;
  resize: vertical;
}

.form .hint {
  font-size: 12px;
  color: var(--faint);
}

.form .ok {
  display: none;
  color: var(--ok);
  font-weight: 600;
}

.footer {
  padding: 28px 0 48px;
  color: var(--faint);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.mobile-nav {
  display: none;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 980px) {
  .hero__grid,
  .integrations,
  .story,
  .cta {
    grid-template-columns: 1fr;
  }

  .price-sticker {
    position: static;
    transform: rotate(-4deg);
    margin: 10px 0 4px;
    pointer-events: auto;
  }

  .partner-route {
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
  }

  .partner-route li:not(:last-child)::after {
    display: none;
  }

  .stories-btn {
    width: 44px;
    height: 44px;
  }

  .stories-frame {
    padding: 0 28px;
  }

  .stories-btn--prev {
    left: 0;
  }

  .stories-btn--next {
    right: 0;
  }

  .features,
  .cases,
  .stats,
  .checks,
  .start-steps {
    grid-template-columns: 1fr 1fr;
  }

  .feature--lead,
  .feature--dialogues {
    grid-column: span 2;
  }

  .nav {
    display: none;
  }

  .burger {
    display: grid;
    place-items: center;
  }

  .mobile-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 20px 20px;
  }

  .hero__visual {
    min-height: 0;
    order: -1;
  }

  .hero__portrait img {
    height: 420px;
  }

  .live-feed {
    right: 10px;
    top: auto;
    bottom: 72px;
    width: min(220px, 64%);
  }
}

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

  .section {
    padding: 56px 0;
  }

  .features,
  .cases,
  .stats,
  .checks,
  .start-steps {
    grid-template-columns: 1fr;
  }

  .feature--lead,
  .feature--dialogues {
    grid-column: auto;
  }

  [data-features-accordion] details.feature p {
    padding: 0 18px 16px;
  }

  .features--compact details.feature p {
    padding: 0 14px 14px;
  }

  .benefit {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 24px;
  }

  .partner {
    padding: 20px;
  }

  .partner-route {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .partner-route li {
    padding: 0 0 0 48px;
  }

  .partner-route li:not(:last-child)::after {
    display: block;
    top: 34px;
    left: 16px;
    right: auto;
    width: 2px;
    height: calc(100% + 18px);
    background: linear-gradient(180deg, var(--accent), var(--line));
  }

  .partner-route__num {
    position: absolute;
    left: 0;
    top: 0;
  }

  .hero {
    padding-top: 36px;
  }

  .utp {
    grid-template-columns: 1fr;
  }

  .price-sticker {
    position: static;
    transform: rotate(-4deg);
    margin: 12px 0 4px;
    pointer-events: auto;
  }

  .header__inner {
    min-height: 64px;
  }

  .hero__portrait img {
    height: 360px;
  }

  .live-feed {
    width: min(200px, 70%);
    bottom: 68px;
  }

  .live-card {
    padding: 8px 10px;
  }

  .story-evidence {
    grid-template-columns: 1fr;
  }

  .story-evidence img {
    height: 180px;
  }

  .story-evidence--chat img {
    height: auto;
    max-height: 380px;
  }
}

@media (max-width: 480px) {
  .theme-toggle [data-theme-label] {
    display: none;
  }

  .theme-toggle {
    padding: 0 12px;
  }
}
