html:has(.amo-landing) {
  scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px));
}

body.amo-landing[data-page=amocrm] {
  --ink: #111827;
  --muted: #495568;
  --signal: #074bea;
  font-family: Manrope, Arial, sans-serif;
  background: #fff;
}

.amo-header {
  position: sticky;
  z-index: 9;
  top: 0;
  padding-top: env(safe-area-inset-top, 0px);
  background: #fff;
  border-bottom: 1px solid #edf0f5;
}

.amo-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  min-height: 64px;
}

.amo-header-inner .brand {
  display: flex;
  align-items: center;
  width: 158px;
}

.amo-header-inner .brand img { height: auto; }

.amo-header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 750;
}

.amo-header-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}

.amo-header-nav a[aria-current], .amo-header-nav a:hover { color: var(--signal); }

.amo-intro {
  padding-top: clamp(35px, 4.6vw, 67px);
  text-align: center;
}

.amo-intro h1 {
  margin-bottom: 12px;
  font-size: clamp(40px, 6.5vw, 90px);
  font-weight: 850;
  letter-spacing: -.064em;
  line-height: 1.04;
  text-wrap: balance;
}

.amo-intro-copy {
  margin: 0 auto 22px;
  font-size: clamp(16px, 2.1vw, 27px);
  line-height: 1.4;
  color: var(--muted);
  text-wrap: balance;
}

.amo-intro-cta.button {
  min-height: 52px;
  padding-inline: 26px;
  border-radius: 11px;
  background: var(--signal);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}

.amo-intro-cta.button:hover { background: #063cc0; }

.amo-intro-art {
  display: block;
  width: min(100%, 850px);
  height: auto;
  margin: 10px auto 0;
}

.amo-channel-section {
  padding-block: 0 40px;
  text-align: center;
}

.amo-channel-section h2 {
  margin-bottom: 15px;
  font-weight: 850;
  letter-spacing: -.045em;
}

.amo-channel-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 780px;
  margin: 0 auto;
  padding: 11px 0;
  border: 1px solid #b6c9ff;
  border-radius: 13px;
  list-style: none;
}

.amo-channel-list li {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding-inline: 10px;
  font-weight: 800;
}

.amo-channel-list li + li { border-left: 1px solid #d4dfff; }
.amo-channel-list svg { width: 23px; height: 23px; color: var(--signal); flex: none; }

.amo-landing .section-nav {
  position: static;
  flex-wrap: wrap;
  justify-content: center;
  background: #fff;
  gap: 0 24px;
  padding-block: 4px;
  overflow: visible;
}

.amo-landing .section-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.amo-landing .role-section, .amo-landing .integrations {
  background: #fff;
  border-block: 1px solid var(--line);
}

.amo-landing .final-cta {
  background: #fff;
  border: 1px solid var(--line);
}

.amo-demo-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 20px;
  margin-top: 12px;
}

.amo-demo-links button, .amo-demo-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.amo-demo-links a { color: var(--muted); text-decoration: underline; }

@media (max-width: 640px) {
  html:has(.amo-landing) { scroll-padding-top: calc(65px + env(safe-area-inset-top, 0px)); }
  .amo-header-inner { gap: 9px; min-height: 58px; }
  .amo-header-inner .brand { width: clamp(95px, 29vw, 132px); }
  .amo-header-nav { gap: 12px; font-size: 12px; }
  .amo-intro { padding-top: 28px; }
  .amo-intro h1 { font-size: clamp(36px, 9.8vw, 56px); }
  .amo-intro-copy { max-width: 27ch; margin-bottom: 16px; }
  .amo-intro-cta.button { width: min(100%, 360px); }
  .amo-intro-art { width: min(100%, 490px); }
  .amo-channel-section { padding-block: 4px 24px; }
  .amo-channel-list { display: block; max-width: 420px; padding: 0 12px; }
  .amo-channel-list li { justify-content: start; min-height: 43px; }
  .amo-channel-list li + li { border-left: 0; border-top: 1px solid #d4dfff; }
  .amo-landing .section-nav { gap: 0 14px; }
}

.amo-intro-copy { max-width: 34em; }

.amo-intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
}

.amo-plan-button {
  min-height: 48px;
  padding: 8px 16px;
  border: 1px solid #b6c9ff;
  border-radius: 11px;
  background: #fff;
  color: var(--signal);
  font-weight: 800;
}

.amo-plan-button:hover { background: #f4f7ff; }
.amo-plan-note { margin: 7px 0 0; color: var(--muted); font-size: 12px; }

.amo-landing .route-card { display: flex; flex-direction: column; align-items: flex-start; }
.amo-landing .route-card .amo-route-outcome {
  width: 100%;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.amo-route-outcome strong { display: block; color: var(--ink); }
.amo-landing .route-card .text-button { min-height: 44px; }

.amo-result-contact { margin: 16px 0 20px; }
.amo-result-contact p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

@media (max-width: 640px) {
  .amo-intro-copy { max-width: 36ch; }
  .amo-intro-actions { flex-direction: column; }
  .amo-intro-actions .amo-plan-button { width: min(100%, 360px); }
}

@media print {
  .amo-result-contact { display: none; }
}
