@font-face {
  font-family: "RoadRadio";
  src: url("./assets/fonts/roadradio-bold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --page: #f2f3fa;
  --card: rgb(255 255 255 / 76%);
  --ink: #111738;
  --muted: #687493;
  --tertiary: #4c5678;
  --blue: #1769f2;
  --line: rgb(197 207 232 / 72%);
  --font-heading: "RoadRadio", "Manrope", sans-serif;
  --font-text: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-display: 60px;
  --text-section: 44px;
  --text-subsection: 30px;
  --text-card-title: 20px;
  --text-lead: 18px;
  --text-body: 16px;
  --leading-heading: 1.12;
  --leading-body: 1.55;
  --space-section: 56px;
  --space-section-compact: 32px;
  --space-heading-content: 32px;
  --space-card: 24px;
  --radius-card: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#start,
#channels,
#product {
  scroll-margin-top: 112px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page-background {
  background: var(--page) url("./assets/site-bg-seamless.jpg") top center / 100% auto repeat-y;
}

body,
button,
a,
input,
select,
textarea {
  font-family: var(--font-text);
}

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

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

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

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
}

.shell {
  width: min(1104px, calc(100% - 96px));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-section) 0;
}

.section--cta {
  padding-block: var(--space-section-compact) 0;
}

.section--benefits {
  padding-block: var(--space-section-compact) 0;
}

.section--features {
  padding-bottom: var(--space-section-compact);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  padding-block: 20px;
  pointer-events: none;
}

.site-header__inner {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 13px 21px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 20px rgb(90 108 180 / 8%);
  pointer-events: auto;
}

.brand {
  display: block;
  width: 118px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

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

.site-nav a,
.header-login {
  color: var(--tertiary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.site-nav a {
  transition: color .2s ease;
}

.site-nav a:hover,
.header-login:hover {
  color: var(--blue);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-nav-toggle,
.mobile-nav-panel {
  display: none;
}

.mobile-nav-toggle {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.mobile-nav-toggle span {
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.site-header__inner.is-menu-open .mobile-nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header__inner.is-menu-open .mobile-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header__inner.is-menu-open .mobile-nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav-panel {
  position: absolute;
  z-index: 3;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgb(255 255 255 / 98%);
  box-shadow: 0 20px 40px rgb(41 54 112 / 16%);
}

.mobile-nav-panel[hidden] {
  display: none !important;
}

.mobile-nav-panel__links {
  display: grid;
}

.mobile-nav-panel__links a {
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--tertiary);
  font-size: 14px;
  font-weight: 700;
}

.mobile-nav-panel__links a:hover {
  background: #f1f5ff;
  color: var(--blue);
}

.mobile-nav-panel__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.mobile-nav-panel__actions .button {
  width: 100%;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

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

.button img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.button--compact {
  min-height: 40px;
  padding: 10px 20px;
}

.button--dark {
  background: #121a45;
  color: #fff;
  box-shadow: 0 10px 8px rgb(27 40 100 / 15%), 0 4px 3px rgb(27 40 100 / 15%);
}

.button--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 16px 15px rgb(41 101 239 / 27%);
}

.button--outline {
  border: 1px solid #b8c6ef;
  background: rgb(255 255 255 / 52%);
  color: #35405e;
}

.button--white {
  min-width: 242px;
  background: #fff;
  color: #263da9;
  box-shadow: 0 10px 8px rgb(0 0 0 / 10%), 0 4px 3px rgb(0 0 0 / 10%);
}

.hero {
  position: relative;
  height: 680px;
  margin-top: -104px;
  overflow: hidden;
  background: url("./assets/hero-bg.webp") center / cover no-repeat;
}

.hero__inner {
  position: relative;
  display: grid;
  height: 100%;
  align-items: center;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr);
  gap: clamp(24px, 4vw, 48px);
  padding-top: 112px;
  padding-bottom: 32px;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: auto;
  min-width: 0;
  max-width: 538px;
  flex-direction: column;
  gap: 32px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero h1 {
  max-width: 560px;
  color: #101532;
  font-size: var(--text-display);
  letter-spacing: -.02em;
  line-height: var(--leading-heading);
  text-transform: uppercase;
}

.hero__copy > p {
  max-width: 538px;
  color: var(--muted);
  font-size: var(--text-lead);
  font-weight: 500;
  line-height: var(--leading-body);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__actions .button {
  min-height: 44px;
  gap: 10px;
  padding: 11px 18px;
  font-size: 13px;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 32px;
}

.hero-benefit {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero-benefit > span {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 15px;
  background: #d9d9f2;
}

.hero-benefit > span img {
  width: 24px;
  height: 24px;
}

.hero-benefit > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-benefit b {
  display: block;
  color: #111738;
  font-family: var(--font-heading);
  font-size: var(--text-card-title);
  line-height: var(--leading-heading);
  text-transform: uppercase;
}

.hero-benefit small {
  display: block;
  color: #737380;
  font-size: var(--text-body);
  font-weight: 500;
  line-height: var(--leading-body);
}

.hero__visual {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 521 / 491;
}

.hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.start-cta {
  display: flex;
  min-height: 208px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 42px 41px;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(155deg, #1a286a 0%, #263eb4 52%, #9a54e5 100%);
  box-shadow: 0 24px 60px rgb(63 78 181 / 25%);
}

.start-cta h2 {
  margin-top: 0;
  color: #fff;
  font-size: 36px;
  line-height: var(--leading-heading);
  text-transform: uppercase;
}

.section-title h2,
.process-heading h2,
.features-heading h2 {
  margin-top: 0;
  font-size: var(--text-section);
  letter-spacing: -.02em;
  line-height: var(--leading-heading);
  text-transform: uppercase;
}

.section-title p,
.features-heading > p {
  max-width: 820px;
  margin-top: 16px;
  color: var(--muted);
  font-size: var(--text-lead);
  font-weight: 500;
  line-height: var(--leading-body);
}

.section--channels .section-title p {
  max-width: none;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 20px;
  margin-top: var(--space-heading-content);
}

.channel-card {
  height: 100%;
  padding: var(--space-card);
  border: 1px solid rgb(255 255 255 / 82%);
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: 0 18px 45px rgb(61 77 145 / 6%);
}

.channel-card--active {
  border-color: rgb(23 105 242 / 22%);
  background: linear-gradient(145deg, rgb(230 237 255 / 92%), rgb(255 255 255 / 78%));
}

.channel-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.channel-logo {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
}

.channel-card h3 {
  margin: 0;
  font-size: var(--text-card-title);
  line-height: 1.25;
  text-transform: uppercase;
}

.channel-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: var(--space-heading-content);
}

.process-card {
  min-height: 228px;
  padding: 28px;
  border: 1px solid #fff;
  border-radius: 27px;
  background: var(--card);
  box-shadow: 0 18px 45px rgb(61 77 145 / 8%);
}

.process-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
}

.process-card__icon img {
  width: 24px;
  height: 24px;
}

.process-card__icon--blue {
  background: #e6edff;
}

.process-card__icon--violet {
  background: #f1e6ff;
}

.process-card__icon--green {
  background: #dff8f0;
}

.process-card h3 {
  margin-top: 24px;
  font-size: var(--text-card-title);
  line-height: 1.25;
  text-transform: uppercase;
}

.process-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: var(--leading-body);
}

.feature-stack {
  display: grid;
  gap: 24px;
  margin-top: var(--space-heading-content);
}

.feature-block {
  display: grid;
  min-height: 430px;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 82%);
  border-radius: 32px;
  background: rgb(255 255 255 / 74%);
  box-shadow: 0 24px 60px rgb(61 77 145 / 9%);
}

.feature-block__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.feature-block--reverse .feature-block__copy {
  order: 2;
}

.feature-block__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.feature-block__icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 15px;
  background: #e5edff;
}

.feature-block__icon--violet {
  background: #f0e5ff;
}

.feature-block__icon--green {
  background: #dff8f0;
}

.feature-block__icon--amber {
  background: #fff0d8;
}

.feature-block__icon img {
  width: 24px;
  height: 24px;
}

.feature-block h3 {
  max-width: 440px;
  margin: 0;
  font-size: 34px;
  letter-spacing: -.02em;
  line-height: var(--leading-heading);
  text-transform: uppercase;
}

.feature-block__copy > p {
  max-width: 470px;
  margin-top: 18px;
  color: var(--muted);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: var(--leading-body);
}

.feature-points {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-points li {
  position: relative;
  padding-left: 28px;
  color: #35405e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.feature-points li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue) url("./assets/figma-check.svg") center / 10px no-repeat;
  content: "";
}

.feature-block__visual {
  display: grid;
  min-width: 0;
  margin: 20px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 24px;
}

.feature-block--reverse .feature-block__visual {
  order: 1;
}

.feature-block__visual--builder {
  background: none;
}

.feature-block__visual--crm {
  background:
    radial-gradient(circle at 10% 100%, rgb(47 190 228 / 20%), transparent 42%),
    linear-gradient(145deg, #edf4ff, #f3edff);
}

.feature-block__visual--analytics {
  background:
    radial-gradient(circle at 88% 12%, rgb(40 112 241 / 20%), transparent 36%),
    linear-gradient(145deg, #eef4ff, #fbf8ff);
}

.feature-block__visual--notifications {
  background:
    radial-gradient(circle at 12% 0%, rgb(160 84 233 / 22%), transparent 38%),
    linear-gradient(145deg, #ecf2ff, #f8f4ff);
}

.feature-block__screenshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.builder-preview,
.crm-preview,
.analytics-preview,
.notifications-preview {
  width: min(90%, 560px);
  border: 1px solid rgb(189 201 232 / 84%);
  border-radius: 22px;
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 28px 70px rgb(47 65 132 / 16%);
}

.builder-preview {
  padding: 18px;
}

.builder-preview__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 5px;
  border-radius: 12px;
  background: #eef1f8;
}

.builder-preview__tabs span {
  padding: 9px 8px;
  color: #6f7894;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.builder-preview__tabs .is-active {
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 12px rgb(69 84 140 / 10%);
}

.builder-preview__field {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 13px 15px;
  border: 1px solid #d9e0f0;
  border-radius: 13px;
  background: #fff;
}

.builder-preview__field small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.builder-preview__field strong {
  font-size: 13px;
}

.builder-preview__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 15px;
  border-radius: 13px;
  background: #f3f6fc;
  font-size: 11px;
  font-weight: 700;
}

.builder-preview__question b {
  color: var(--blue);
  white-space: nowrap;
}

.crm-preview {
  padding: 18px;
}

.crm-preview__top,
.analytics-preview__chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.crm-preview__top {
  padding: 0 2px 14px;
}

.crm-preview__top strong {
  font-size: 18px;
}

.crm-preview__top span,
.analytics-preview__chart-head span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eaf1ff;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.crm-preview__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.crm-preview__column {
  min-width: 0;
  padding: 10px;
  border-radius: 13px;
  background: #f4f6fb;
}

.crm-preview__column > b {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  white-space: nowrap;
}

.crm-preview__column em {
  margin-left: auto;
  color: var(--muted);
  font-style: normal;
}

.dot {
  display: block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
}

.dot--blue {
  background: #1769f2;
}

.dot--amber {
  background: #f5a524;
}

.dot--green {
  background: #20a66a;
}

.crm-preview__lead {
  display: grid;
  gap: 5px;
  margin-top: 9px;
  padding: 10px;
  border: 1px solid #e2e7f2;
  border-radius: 10px;
  background: #fff;
}

.crm-preview__lead span {
  overflow: hidden;
  font-size: 9px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crm-preview__lead small {
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-preview {
  padding: 18px;
}

.analytics-preview__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.analytics-preview__metrics > div {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid #e0e6f2;
  border-radius: 13px;
  background: #fff;
}

.analytics-preview__metrics small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.analytics-preview__metrics strong {
  font-size: 18px;
}

.analytics-preview__metrics span {
  color: #15905a;
  font-size: 8px;
  font-weight: 700;
}

.analytics-preview__chart {
  margin-top: 10px;
  padding: 15px;
  border-radius: 14px;
  background: #f7f9fd;
}

.analytics-preview__chart-head strong {
  font-size: 11px;
}

.analytics-preview__bars {
  display: flex;
  height: 130px;
  align-items: end;
  justify-content: space-around;
  gap: 12px;
  margin-top: 12px;
  padding: 0 10px;
  border-bottom: 1px solid #ccd7ea;
  background: repeating-linear-gradient(to bottom, transparent 0 31px, #e2e8f2 32px);
}

.analytics-preview__bars i {
  position: relative;
  width: 42px;
  height: var(--bar);
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(#1769f2, #5a95ef);
}

.analytics-preview__bars b {
  position: absolute;
  top: -18px;
  left: 50%;
  font-size: 9px;
  font-style: normal;
  transform: translateX(-50%);
}

.notifications-preview {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.notification-card {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e0e6f2;
  border-radius: 14px;
  background: #fff;
}

.notification-card > img,
.notification-card__mail {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
}

.notification-card > img {
  object-fit: contain;
}

.notification-card__mail {
  background: #eaf1ff;
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
}

.notification-card > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.notification-card strong {
  font-size: 11px;
}

.notification-card p,
.notification-card small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-card small {
  color: #8b95ad;
}

.toggle {
  position: relative;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: #cbd3e5;
}

.toggle::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgb(30 43 90 / 22%);
  content: "";
}

.toggle.is-on {
  background: var(--blue);
}

.toggle.is-on::after {
  left: 17px;
}

.notification-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #eaf1ff;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.notification-summary strong {
  color: #15905a;
  font-size: 12px;
}

.site-footer {
  margin-top: 0;
  background: #fff;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-block: 36px 24px;
}

.brand--footer {
  width: 107px;
}

/* Девять документов в одну строку не помещаются и, что важнее, не читаются:
   плоский список из девяти ссылок глазами не разбирается. Раскладываем по
   смыслу — теми же тремя группами, что и на странице /legal/. */
.site-footer__docs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 32px;
}

.site-footer__group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.site-footer__group-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

/* Ссылки на правовые документы. Глобально у нас `a { color: inherit }` — без
   отдельного правила они читались бы как обычный текст, а их надо найти
   глазами: на них ссылается текст самой политики и требования VK. */
.site-footer__legal {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--muted);
}

.site-footer__legal:hover {
  color: var(--ink);
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 1050px) {
  :root {
    --text-section: 38px;
    --space-section: 48px;
    --space-heading-content: 28px;
  }

  .shell {
    width: min(100% - 48px, 920px);
  }

  .site-header {
    padding-block: 12px;
  }

  .site-nav {
    display: none;
  }

  .mobile-nav-toggle,
  .mobile-nav-panel {
    display: flex;
  }

  .mobile-nav-panel {
    display: block;
  }

  .hero {
    height: auto;
    min-height: 590px;
    margin-top: -88px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 44%);
    gap: 20px;
    padding-top: 104px;
    padding-bottom: 36px;
  }

  .hero__content {
    width: auto;
    max-width: 500px;
    gap: 30px;
  }

  .hero__visual {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(44px, 5.5vw, 56px);
  }

  .hero__actions {
    align-items: center;
    flex-wrap: wrap;
  }

  .hero-benefits {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .start-cta h2 {
    font-size: 32px;
  }

  .channel-grid,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .channel-card:last-child,
  .process-card:last-child {
    grid-column: 1 / -1;
  }

  .feature-block {
    min-height: 400px;
    grid-template-columns: minmax(0, .85fr) minmax(400px, 1.15fr);
  }

  .feature-block__copy {
    padding: 36px;
  }

  .feature-block h3 {
    font-size: 30px;
  }

  .feature-block__visual {
    margin: 16px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-top: 112px;
  }

  .hero__content {
    max-width: 640px;
  }

  .hero__visual {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .feature-block {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .feature-block--reverse .feature-block__copy,
  .feature-block--reverse .feature-block__visual {
    order: initial;
  }

  .feature-block__visual {
    min-height: 340px;
  }
}

@media (max-width: 720px) {
  :root {
    --text-section: 30px;
    --text-subsection: 26px;
    --text-lead: 16px;
    --space-section: 40px;
    --space-section-compact: 24px;
    --space-heading-content: 24px;
    --space-card: 20px;
    --radius-card: 22px;
  }

  .shell {
    width: calc(100% - 32px);
  }

  .site-header {
    position: sticky;
    padding-block: 12px;
  }

  .site-header__inner {
    min-height: 56px;
    padding: 10px 14px;
  }

  .brand {
    width: 104px;
  }

  .header-login {
    display: none;
  }

  .button--compact {
    min-height: 36px;
    padding: 8px 14px;
    font-size: 12px;
  }

  .hero {
    min-height: 0;
    margin-top: 0;
    background-position: center;
  }

  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .hero__content {
    width: 100%;
    gap: 24px;
  }

  .hero__copy {
    gap: 14px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.5vw, 42px);
  }

  .hero h1 br {
    display: none;
  }

  .hero__copy > p {
    max-width: 92%;
    font-size: 16px;
  }

  .hero__actions {
    gap: 12px;
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button,
  .start-cta .button {
    width: 100%;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 430px);
    height: auto;
    margin-inline: auto;
  }

  .section--features {
    padding-bottom: var(--space-section-compact);
  }

  .start-cta {
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    padding: 28px 24px;
    border-radius: 24px;
  }

  .start-cta h2 {
    font-size: 26px;
  }

  .channel-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .channel-card:last-child,
  .process-card:last-child {
    grid-column: auto;
  }

  .process-heading h2 br {
    display: none;
  }

  .process-card {
    min-height: 0;
    padding: 24px;
  }

  .feature-block {
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .feature-block--reverse .feature-block__copy,
  .feature-block--reverse .feature-block__visual {
    order: initial;
  }

  .feature-block__copy {
    padding: 28px 24px 24px;
  }

  .feature-block h3 {
    font-size: 27px;
  }

  .feature-block__title {
    gap: 14px;
  }

  .feature-block__copy > p {
    margin-top: 14px;
    font-size: 15px;
  }

  .feature-points {
    gap: 9px;
    margin-top: 20px;
  }

  .feature-block__visual {
    min-height: 300px;
    margin: 0 12px 12px;
    border-radius: 20px;
  }

  .builder-preview,
  .crm-preview,
  .analytics-preview,
  .notifications-preview {
    width: calc(100% - 28px);
  }

  .crm-preview__columns {
    grid-template-columns: 1fr 1fr;
  }

  .crm-preview__column:last-child {
    display: none;
  }

  /* Три колонки в два ряда: на планшете третья группа складывалась в столбик
     из-за узости, и подписи документов рвались по два слова на строку. */
  .site-footer__docs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #start,
  #channels,
  #product {
    scroll-margin-top: 84px;
  }
}

@media (max-width: 480px) {
  .site-header__actions {
    display: none;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 34px);
  }

  /* На телефоне даже две колонки рвут длинные названия документов
     («Политика обработки персональных данных») на четыре строки. */
  .site-footer__docs {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  /* Палец толще курсора: сама строка ссылки 17px, и девять таких подряд —
     это лотерея, а не список. Растягиваем область нажатия по вертикали до
     44px, не раздвигая текст: padding + отрицательный внешний отступ. */
  .site-footer__group {
    gap: 0;
  }

  .site-footer__group .site-footer__legal {
    padding-block: 13px;
  }

  .site-footer__group-title {
    margin-bottom: 4px;
  }

  /* Три карточки по 78px не вмещают «Среднее время / 1ч 18м / до обработки» —
     рвётся каждая из трёх строк, и на фоне соседних карточка выглядит
     сломанной. В один столбец подписи помещаются целиком. */
  .analytics-preview__metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .analytics-preview__metrics > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
