@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/golos-text-cyrillic-400.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/golos-text-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/golos-text-cyrillic-600.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/golos-text-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/golos-text-cyrillic-700.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/golos-text-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/manrope-cyrillic-400.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/manrope-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/manrope-cyrillic-600.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/manrope-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/manrope-cyrillic-700.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/manrope-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --m-ink: #0b1220;
  --m-ink-soft: #0f172a;
  --m-teal: #0f766e;
  --m-teal-hover: #0d9488;
  --m-bg: #ffffff;
  --m-bg-alt: #f1f5f9;
  --m-text: #0b1220;
  --m-muted: #64748b;
  --m-body: #475569;
  --m-border: #e2e8f0;
  --m-dark-text: #e2e8f0;
  --m-dark-muted: #94a3b8;
  --m-radius: 0.75rem;
  --m-max: 1120px;
  --m-banner-h: 2.25rem;
  --m-nav-h: 3.75rem;
  --m-shadow: 0 12px 40px rgba(11, 18, 32, 0.1);
}

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

html { scroll-behavior: smooth; }

body.landing-body {
  font-family: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--m-text);
  background: var(--m-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--m-banner-h);
}

h1, h2, .m-logo, .m-display {
  font-family: 'Golos Text', Manrope, system-ui, sans-serif;
  letter-spacing: -0.02em;
}

a { color: var(--m-text); text-decoration: none; }
a:hover { color: var(--m-teal); }

.m-container { max-width: var(--m-max); margin: 0 auto; padding: 0 1.5rem; }

.m-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--m-banner-h);
  display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
  background: var(--m-ink); color: var(--m-dark-text);
  font-size: 0.75rem; font-weight: 600;
}
.m-banner a { color: #5eead4; text-decoration: underline; }
.m-banner a:hover { color: #fff; }

.m-nav {
  position: sticky; top: var(--m-banner-h); z-index: 100;
  height: var(--m-nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--m-border);
}
.m-nav-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.m-logo { font-weight: 700; font-size: 1.125rem; color: var(--m-ink); }
.m-logo:hover { color: var(--m-ink); }
.m-nav-links { display: flex; gap: 0.25rem; align-items: center; }
.m-nav-links a {
  font-size: 0.875rem;
  color: var(--m-muted);
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  box-sizing: border-box;
  text-decoration: none;
}
.m-nav-links a:hover { color: var(--m-ink); }
.m-nav-links a.is-active,
.m-nav-mobile a.is-active {
  color: var(--m-ink);
  font-weight: 600;
  text-decoration: none;
}
.m-nav-burger { display: none; background: none; border: 1px solid var(--m-border); border-radius: 0.5rem; padding: 0.4rem 0.6rem; cursor: pointer; }
.m-nav-mobile { display: none; }

#channels, #partner, #ai, #pricing, #faq {
  scroll-margin-top: calc(var(--m-banner-h) + var(--m-nav-h) + 0.5rem);
}

.m-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem 1.25rem; border-radius: var(--m-radius);
  font-family: inherit;
  font-weight: 600; font-size: 0.9375rem; border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.m-btn-primary { background: var(--m-teal); color: #fff; }
.m-btn-primary:hover { background: var(--m-teal-hover); color: #fff; }
.m-btn-outline { background: transparent; border-color: var(--m-border); color: var(--m-ink); }
.m-btn-outline:hover { border-color: var(--m-teal); color: var(--m-teal); }
.m-btn-sm { padding: 0.5rem 0.9rem; font-size: 0.875rem; }
.m-btn-on-dark.m-btn-outline { border-color: #334155; color: var(--m-dark-text); }
.m-btn-on-dark.m-btn-outline:hover { border-color: #5eead4; color: #5eead4; }

.m-section { padding: 4.5rem 0; }
.m-section-alt { background: var(--m-bg-alt); }
.m-section-dark {
  background: var(--m-ink);
  color: var(--m-dark-text);
  padding: 4.5rem 0;
}
.m-section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.m-section-sub {
  color: var(--m-muted);
  max-width: 36rem;
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}
.m-section-dark .m-section-sub { color: var(--m-dark-muted); }

/* Hero */
.m-hero { padding: 3rem 0 4rem; }
.m-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 18ch;
  margin-bottom: 1rem;
}
.m-hero-sub {
  font-size: 1.125rem;
  color: var(--m-body);
  max-width: 36rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.m-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }

.m-hero-cols {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-top: 1px solid var(--m-border);
  border-bottom: 1px solid var(--m-border);
  margin-bottom: 1.5rem;
  -webkit-overflow-scrolling: touch;
}
.m-hero-col {
  flex: 1 0 8.5rem;
  padding: 1rem 0.85rem;
  border-right: 1px solid var(--m-border);
  cursor: pointer;
  background: transparent;
  text-align: left;
  border-left: none;
  border-top: none;
  border-bottom: 2px solid transparent;
  font: inherit;
  color: inherit;
  min-width: 8.5rem;
}
.m-hero-col:last-child { border-right: none; }
.m-hero-col.is-active { border-bottom-color: var(--m-teal); }
.m-hero-col-title { font-weight: 700; font-size: 0.8125rem; margin-bottom: 0.35rem; color: var(--m-ink); }
.m-hero-col-blurb { font-size: 0.75rem; color: var(--m-muted); line-height: 1.35; }

.m-product-chrome {
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--m-shadow);
}
.m-product-chrome-bar {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--m-border);
  background: #f8fafc;
  font-size: 0.75rem; color: var(--m-muted);
}
.m-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #cbd5e1; }
.m-hero-panel-stage { display: block; }
.m-hero-panel-img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--m-bg-alt);
}
.m-hero-panel-img[hidden] { display: none; }

/* Channels */
.m-channels {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 0;
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--m-shadow);
}
.m-channel-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--m-border); background: #f8fafc; }
.m-channel-panels { min-width: 0; }
.m-channel-tab {
  text-align: left; padding: 1rem 1.1rem; border: none; border-bottom: 1px solid var(--m-border);
  background: transparent; font: inherit; font-weight: 600; font-size: 0.875rem; cursor: pointer; color: var(--m-body);
}
.m-channel-tab.is-active { background: #fff; color: var(--m-ink); box-shadow: inset 3px 0 0 var(--m-teal); }
.m-channel-panel { padding: 1.5rem; display: none; }
.m-channel-panel.is-active { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.25rem; align-items: start; }
.m-channel-panel img { width: 100%; border-radius: 0.5rem; border: 1px solid var(--m-border); aspect-ratio: 4/3; object-fit: cover; }
.m-channel-footnote { margin-top: 1rem; font-size: 0.875rem; color: var(--m-muted); }
.m-channel-footnote a { color: var(--m-teal); font-weight: 600; }

.m-channels--stack .m-channel-panel.is-active {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  grid-template-columns: none;
}
.m-channels--stack .m-channel-panel-body {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  max-width: none;
  width: 100%;
}
.m-channels--stack .m-channel-panel-body p {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--m-body);
  line-height: 1.45;
  font-size: 0.9375rem;
}
.m-channels--stack .m-channel-panel-body .m-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
.m-channels--stack .m-channel-panel-media {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--m-border);
  aspect-ratio: 16 / 10;
  max-height: 320px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

@media (max-width: 900px) {
  .m-channels--stack .m-channel-panel-body {
    flex-wrap: wrap;
  }
  .m-channels--stack .m-channel-panel-media {
    aspect-ratio: 16 / 9;
    max-height: 240px;
  }
}

/* CRM */
.m-crm-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center;
}
.m-crm-facts { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.m-crm-facts li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--m-border);
  font-weight: 600; font-size: 0.9375rem;
}
.m-crm-facts li:last-child { border-bottom: none; }

.m-crm-grid--a { align-items: start; }
.m-crm-visual { min-width: 0; }
.m-crm-channel-legend {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--m-muted);
}
.m-crm-channel-legend span {
  font-weight: 700;
  color: var(--m-ink);
}
.m-crm-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  min-width: 0;
}
.m-crm-facts--rich {
  width: 100%;
  gap: 0;
}
.m-crm-facts--rich li {
  padding: 0.85rem 0;
  font-weight: inherit;
  font-size: inherit;
}
.m-crm-fact-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--m-ink);
  line-height: 1.35;
  margin-bottom: 0.25rem;
}
.m-crm-fact-blurb {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--m-muted);
  line-height: 1.4;
}
.m-crm-cta { margin-top: 0.25rem; }

/* AI */
.m-ai-window { margin-top: 0.5rem; }
.m-ai-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 220px; }
.m-ai-pane { padding: 1.25rem; border-right: 1px solid var(--m-border); }
.m-ai-pane:last-child { border-right: none; }
.m-ai-label { font-size: 0.75rem; font-weight: 600; color: var(--m-muted); margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.m-ai-prompt {
  background: var(--m-bg-alt); border-radius: 0.5rem; padding: 1rem;
  font-size: 0.9375rem; color: var(--m-body); line-height: 1.45;
}
.m-ai-fields { display: flex; flex-direction: column; gap: 0.65rem; }
.m-ai-field { font-size: 0.875rem; }
.m-ai-field strong { display: block; color: var(--m-ink); margin-bottom: 0.15rem; }
.m-ai-field span { color: var(--m-muted); }
.m-ai-meta { margin-top: 1rem; font-size: 0.875rem; color: var(--m-muted); }
.m-ai-actions { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.m-ai-disclaimer { font-size: 0.8125rem; color: var(--m-muted); }

/* Modules */
.m-modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.m-module-cell {
  border: 1px solid #1e293b;
  border-radius: var(--m-radius);
  padding: 1.15rem;
  background: rgba(255,255,255,0.03);
}
.m-module-cell h3 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.4rem; color: #fff; }
.m-module-cell p { font-size: 0.8125rem; color: var(--m-dark-muted); line-height: 1.4; }

/* Partner */
.m-partner-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2.5rem;
}
.m-partner-cell {
  padding: 1.15rem;
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  background: #fff;
}
.m-partner-cell h3 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.4rem; }
.m-partner-cell p { font-size: 0.875rem; color: var(--m-muted); }
.m-how h3 { font-size: 1rem; margin-bottom: 1rem; }
.m-how-steps { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; list-style: none; }
.m-how-steps li { font-size: 0.9375rem; color: var(--m-body); }
.m-how-steps strong { color: var(--m-teal); margin-right: 0.35rem; }

/* Trust */
.m-trust-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.m-trust-item h3 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.35rem; }
.m-trust-item p { font-size: 0.875rem; color: var(--m-muted); }

/* Trust A (v5): hairline-разделители + underline оферты (не cards) */
.m-trust--a .m-trust-item:not(:first-child) {
  border-left: 1px solid #e4e4e7;
  padding-left: 1.5rem;
}
.m-trust--a .m-trust-item a {
  color: var(--m-body);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  .m-trust--a .m-trust-row {
    column-gap: 1.5rem;
    row-gap: 0;
  }
  /* :not(:first-child) — та же specificity, что desktop hairline, иначе left «висит» на item 3 */
  .m-trust--a .m-trust-item:not(:first-child) {
    border-left: none;
    padding-left: 0;
  }
  .m-trust--a .m-trust-item:nth-child(even) {
    border-left: 1px solid #e4e4e7;
    padding-left: 1.5rem;
  }
  .m-trust--a .m-trust-item:nth-child(n+3) {
    border-top: 1px solid #e4e4e7;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }
}

/* Pricing */
.m-pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: start;
}
.m-price-card {
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  padding: 1.5rem;
  background: #fff;
}
.m-price-card h3 { font-size: 1rem; margin-bottom: 0.75rem; }
.m-price-amount { font-family: 'Golos Text', Manrope, sans-serif; font-size: 1.75rem; font-weight: 700; }
.m-price-period { font-size: 0.875rem; color: var(--m-muted); margin: 0.25rem 0 0.5rem; }
.m-price-per { font-size: 0.8125rem; color: var(--m-body); margin-bottom: 1rem; }
.m-price-note { font-size: 0.75rem; color: var(--m-muted); margin-top: 0.75rem; }
.m-pricing-foot { margin-top: 1.5rem; font-size: 0.875rem; color: var(--m-muted); line-height: 1.6; }

/* Pricing A (v5): равная высота + foot hairlines + underline оферты */
.m-pricing--a .m-pricing-grid { align-items: stretch; }
.m-pricing--a .m-price-card { display: flex; flex-direction: column; }
.m-pricing--a .m-price-note { margin-top: auto; }
.m-pricing--a .m-price-note--spacer { visibility: hidden; }
.m-pricing--a .m-pricing-foot-lead { margin: 0 0 0.5rem; }
.m-pricing--a .m-pricing-foot-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 0.75rem;
}
.m-pricing--a .m-pricing-foot-row > span:not(:first-child) {
  border-left: 1px solid #e4e4e7;
  padding-left: 1.5rem;
}
.m-pricing--a .m-pricing-foot a {
  color: var(--m-body);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  .m-pricing--a .m-pricing-foot-row { grid-template-columns: 1fr; }
  .m-pricing--a .m-pricing-foot-row > span:not(:first-child) {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #e4e4e7;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
  }
}

/* FAQ */
.m-faq { max-width: 720px; }
.m-faq details {
  border-bottom: 1px solid var(--m-border);
  padding: 1rem 0;
}
.m-faq summary {
  cursor: pointer; font-weight: 600; list-style: none;
}
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq details p { margin-top: 0.75rem; color: var(--m-body); font-size: 0.9375rem; }

/* FAQ A (v5): hit 44px + full width + Q1 multi-p spacing */
.m-faq--a .m-faq { max-width: none; width: 100%; }
.m-faq--a .m-faq summary { min-height: 44px; box-sizing: border-box; }
.m-faq--a .m-faq details p + p { margin-top: 0.5rem; }

/* CTA */
.m-cta { text-align: center; }
.m-cta h2 { margin-bottom: 0.5rem; }
.m-cta .m-section-sub { margin-left: auto; margin-right: auto; }
.m-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; }

/* CTA A (v5): presence + outline как Hero */
body.landing-dense .m-section-dark.m-cta--a { padding: 7rem 0; }
.m-cta--a .m-section-title { font-size: clamp(1.75rem, 3vw, 2.25rem); }

/* Footer */
.m-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--m-border);
  font-size: 0.8125rem;
  color: var(--m-muted);
}
.m-footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; margin-bottom: 1.5rem;
}
.m-footer-links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: flex-end; align-items: start; }
.m-footer-links a { color: var(--m-body); font-weight: 500; }
.m-footer-copy { border-top: 1px solid var(--m-border); padding-top: 1rem; }

/* Footer A (v5): rhythm + muted links + seam + brand + hover */
.m-footer--a { background: var(--m-bg-alt, #fafafa); padding-top: 3rem; }
.m-footer--a .m-footer-legal { display: flex; flex-direction: column; gap: 0.35rem; }
.m-footer--a .m-footer-links a { color: var(--m-muted); font-weight: 500; }
.m-footer--a .m-footer-links a:hover { color: var(--m-ink); text-decoration: underline; text-underline-offset: 2px; }
.m-footer--a .m-footer-copy { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.m-footer--a .m-footer-brand.m-logo { font-size: 0.9375rem; line-height: 1.2; }
.m-footer--a .m-footer-copy-text { color: var(--m-muted); }

body.page-register {
  background: #fafafa;
}

.m-register-top {
  position: fixed;
  top: var(--m-banner-h);
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid #e4e4e7;
  background: #fff;
}
.m-register-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.5rem;
  gap: 1rem;
}
.m-register-back {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--m-muted);
}
.m-register-back:hover { color: var(--m-ink); }

.m-register-wrap {
  /* top bar out of flow (fixed): reserve 3.5rem + section padding */
  padding: calc(3.5rem + 2.5rem) 0 3.5rem;
}
.m-register {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: start;
}
.m-register-form {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  padding: 2rem 1.75rem 1.75rem;
}
.m-register-form h1 {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--m-ink);
  margin-bottom: 0.5rem;
}
.m-register-sub {
  color: var(--m-body);
  font-size: 1rem;
  margin-bottom: 1rem;
  max-width: 36rem;
}
.m-register-trust-inline {
  display: none;
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  color: var(--m-muted);
  font-weight: 500;
}

.m-register-sep {
  margin: 1.5rem 0 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e4e4e7;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--m-muted);
  letter-spacing: 0.01em;
}
.m-register-field {
  margin-bottom: 1rem;
}
.m-register-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--m-ink);
  margin-bottom: 0.35rem;
}
.m-register-field input {
  width: 100%;
  box-sizing: border-box;
  height: 40px;
  padding: 0 0.75rem;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--m-ink);
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.m-register-field input:focus {
  border-color: #18181b;
  box-shadow: 0 0 0 1px #18181b;
}
.m-register-field input.is-error {
  border-color: #b42318;
}
.m-register-field input.is-valid {
  border-color: #18181b;
}
.m-register-field input[readonly] {
  background: #fafafa;
  color: var(--m-body);
}
.m-register-field .hint {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--m-muted);
}
.m-register-field .field-error {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: #b42318;
}
.m-register-field .field-error.visible { display: block; }

.m-register-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.m-register-field .subdomain-row {
  display: flex;
  align-items: stretch;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  overflow: hidden;
}
.m-register-field .subdomain-row:focus-within {
  border-color: #18181b;
  box-shadow: 0 0 0 1px #18181b;
}
.m-register-field .subdomain-row input {
  border: none;
  border-radius: 0;
  box-shadow: none;
  height: 40px;
}
.m-register-field .subdomain-row input:focus {
  border: none;
  box-shadow: none;
}
.m-register-field .subdomain-suffix {
  display: inline-flex;
  align-items: center;
  padding: 0 0.75rem;
  background: #fafafa;
  color: var(--m-muted);
  font-size: 0.875rem;
  border-left: 1px solid #e4e4e7;
  white-space: nowrap;
}
.m-register-field .subdomain-status {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--m-muted);
}
.m-register-field .subdomain-status.ok { color: #18181b; }
.m-register-field .subdomain-status.taken { color: #b42318; }
.m-register-field .subdomain-status.checking { color: var(--m-muted); }

.m-register-field .pw-strength {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.m-register-field .pw-bar {
  flex: 1;
  height: 4px;
  background: #e4e4e7;
  border-radius: 2px;
  overflow: hidden;
}
.m-register-field .pw-fill {
  display: block;
  height: 100%;
  width: 0;
  background: #a1a1aa;
  transition: width 0.15s, background 0.15s;
}
.m-register-field .pw-label {
  font-size: 0.75rem;
  color: var(--m-muted);
  white-space: nowrap;
}

.m-register-form .otver {
  min-height: 1.25rem;
  margin: 0.75rem 0;
  font-size: 0.875rem;
}
.m-register-form .otver.red { color: #b42318; }
.m-register-form .otver.green { color: var(--m-ink); }

.m-register-submit-dock {
  margin-top: 0.25rem;
}
.m-register-submit {
  width: 100%;
  margin-top: 0;
}
.m-register-disclaimer {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  color: var(--m-muted);
  line-height: 1.45;
}
.m-register-disclaimer a {
  color: var(--m-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.m-register-disclaimer a:hover { color: #18181b; }

.m-register-aside {
  position: sticky;
  top: calc(var(--m-banner-h) + 3.5rem + 0.5rem);
  align-self: start;
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  padding: 1.5rem 1.35rem;
}
.m-register-facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 1.25rem;
  padding: 0;
}
.m-register-facts li {
  padding: 0.85rem 0;
  border-bottom: 1px solid #e4e4e7;
}
.m-register-facts li:first-child {
  padding-top: 0;
}
.m-register-facts li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.m-register-fact-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--m-ink);
  line-height: 1.35;
  margin-bottom: 0.25rem;
}
.m-register-fact-blurb {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--m-muted);
  line-height: 1.4;
}
.m-register-next {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.m-register-next li {
  font-size: 0.875rem;
  color: var(--m-body);
  line-height: 1.4;
}
.m-register-trust {
  font-size: 0.8125rem;
  color: var(--m-muted);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.m-register-login {
  font-size: 0.8125rem;
  color: var(--m-muted);
  margin: 0;
}
.m-register-login a {
  color: var(--m-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.m-register-login a:hover { color: #18181b; }

.m-register-footer {
  border-top: 1px solid #e4e4e7;
  padding: 1.25rem 0 2rem;
  background: #fafafa;
}
.m-register-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}
.m-register-footer-brand {
  font-size: 0.9375rem;
}
.m-register-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-left: auto;
}
.m-register-footer-links a {
  font-size: 0.8125rem;
  color: var(--m-muted);
  font-weight: 500;
}
.m-register-footer-links a:hover {
  color: #18181b;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.m-register-footer-copy {
  flex: 1 0 100%;
  font-size: 0.8125rem;
  color: var(--m-muted);
  margin: 0;
}

.m-register-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  align-items: center;
  justify-content: center;
  background: rgba(11, 18, 32, 0.45);
  padding: 1.5rem;
}
.m-register-overlay.visible {
  display: flex;
}
.m-register-overlay-card {
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  padding: 2rem 1.75rem;
  text-align: center;
  max-width: 22rem;
  width: 100%;
}
.m-register-overlay-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--m-ink);
}
.m-register-overlay-card p {
  font-size: 0.9375rem;
  color: var(--m-body);
}

@media (max-width: 900px) {
  .m-register {
    grid-template-columns: 1fr;
  }
  .m-register-form { order: 1; }
  .m-register-aside {
    order: 2;
    position: static;
  }
  .m-register-aside .m-register-trust { display: none; }
  .m-register-trust-inline { display: block; }
  .m-register-row { grid-template-columns: 1fr; }
  .m-register-submit-dock {
    position: sticky;
    bottom: 0;
    z-index: 40;
    background: #fff;
    border-top: 1px solid #e4e4e7;
    margin-left: -1.75rem;
    margin-right: -1.75rem;
    margin-bottom: -1.75rem;
    padding: 0.75rem 1.75rem calc(0.75rem + env(safe-area-inset-bottom));
  }
  .m-register-footer-links {
    margin-left: 0;
  }
}

/* Accents D28 */
body.landing-hero .m-hero-panel-wrap { transform: scale(1.02); }
body.landing-hero .m-product-chrome { box-shadow: 0 20px 50px rgba(11, 18, 32, 0.14); }
body.landing-channels #channels { padding-top: 5.5rem; padding-bottom: 5.5rem; }
body.landing-channels .m-channels { max-width: none; border-radius: 0; border-left: none; border-right: none; }
body.landing-channels .m-channels .m-container-break { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; }
body.landing-crm-ai #crm,
body.landing-crm-ai #ai { padding-top: 5rem; padding-bottom: 5rem; }
body.landing-crm-ai #channels { padding-top: 2.5rem; padding-bottom: 2.5rem; }
body.landing-crm-ai #channels .m-section-sub { margin-bottom: 1rem; }

body.landing-dense {
  --m-max: 1200px;
  --m-teal: #18181b;
  --m-teal-hover: #27272a;
  --m-border: #e4e4e7;
  --m-bg-alt: #fafafa;
  --m-shadow: none;
  --m-radius: 8px;
}

body.landing-dense a:hover { color: #18181b; }

body.landing-dense .m-nav-links a.is-active,
body.landing-dense .m-nav-mobile a.is-active {
  color: #18181b;
}

body.landing-dense .m-btn-primary {
  background: #18181b;
  color: #fff;
  box-shadow:
    inset 0 0.75px 0 rgba(255, 255, 255, 0.14),
    0 1px 2px rgba(0, 0, 0, 0.28),
    0 0 0 1px #18181b;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
body.landing-dense .m-btn-primary:hover {
  background: #3f3f46;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
body.landing-dense .m-btn-outline {
  background: transparent;
  border-color: #e4e4e7;
  color: #18181b;
}
body.landing-dense .m-btn-outline:hover {
  border-color: #18181b;
  color: #18181b;
}
body.landing-dense .m-btn-on-dark.m-btn-outline {
  border-color: #e4e4e7;
  color: #18181b;
}
body.landing-dense .m-btn-on-dark.m-btn-outline:hover {
  border-color: #18181b;
  color: #18181b;
}

body.landing-dense .m-hero-col.is-active {
  border-bottom-color: #18181b;
}
body.landing-dense .m-channel-tab.is-active {
  box-shadow: inset 3px 0 0 #18181b;
}
body.landing-dense .m-channel-footnote a,
body.landing-dense .m-how-steps strong {
  color: #18181b;
}

body.landing-dense .m-section-dark#modules {
  background: #fafafa;
  color: #18181b;
}
body.landing-dense .m-section-dark#cta {
  background: #ffffff;
  color: #18181b;
}
body.landing-dense .m-section-dark .m-section-sub {
  color: #71717a;
}
body.landing-dense .m-section-dark .m-section-title {
  color: #18181b;
}
body.landing-dense .m-module-cell {
  background: #fff;
  border-color: #e4e4e7;
}
body.landing-dense .m-module-cell h3 {
  color: #18181b;
}
body.landing-dense .m-module-cell p {
  color: #71717a;
}

body.landing-dense .m-section,
body.landing-dense .m-section-dark {
  padding: 5.5rem 0;
}
body.landing-dense .m-hero {
  padding: 4rem 0 5rem;
}
body.landing-dense .m-hero h1 {
  line-height: 1.1;
}
body.landing-dense .m-section-alt {
  background: #fafafa;
}
body.landing-dense .m-product-chrome,
body.landing-dense .m-channels,
body.landing-dense .m-partner-cell,
body.landing-dense .m-price-card,
body.landing-dense .m-module-cell {
  border-radius: 8px;
  box-shadow: none;
  border-color: #e4e4e7;
}
body.landing-dense .m-product-chrome {
  border: 1px solid #e4e4e7;
}
body.landing-dense .m-channels {
  border: 1px solid #e4e4e7;
}
body.landing-dense .m-hero-col {
  padding: 0.75rem 0.65rem;
}

@media (max-width: 900px) {
  .m-nav-links { display: none; }
  .m-nav-burger { display: inline-flex; }
  .m-nav-mobile.is-open {
    display: flex; flex-direction: column; gap: 0.75rem;
    padding: 1rem 1.5rem 1.25rem; background: #fff; border-bottom: 1px solid var(--m-border);
  }
  .m-channels { grid-template-columns: 1fr; }
  .m-channel-tabs { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--m-border); }
  .m-channel-tab { white-space: nowrap; border-bottom: none; border-right: 1px solid var(--m-border); }
  .m-channel-panel.is-active { grid-template-columns: 1fr; }
  .m-channels--stack .m-channel-panel.is-active {
    display: flex;
    flex-direction: column;
  }
  .m-crm-grid { grid-template-columns: 1fr; }
  .m-ai-split { grid-template-columns: 1fr; }
  .m-ai-pane { border-right: none; border-bottom: 1px solid var(--m-border); }
  .m-modules-grid { grid-template-columns: repeat(2, 1fr); }
  .m-partner-grid { grid-template-columns: 1fr 1fr; }
  .m-trust-row { grid-template-columns: 1fr 1fr; }
  .m-pricing-grid { grid-template-columns: 1fr; }
  .m-footer-grid { grid-template-columns: 1fr; }
  .m-footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .m-partner-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .m-btn, .m-hero-col, .m-channel-tab { transition: none; }
}

body.landing-premium .m-nav-inner {
  justify-content: flex-start;
  gap: 1.5rem;
}
body.landing-premium .m-nav-inner > .m-btn-primary {
  margin-left: auto;
}

body.landing-premium .m-btn {
  height: 36px;
  padding: 0 1rem;
  line-height: 1;
  border-radius: 6px;
  box-sizing: border-box;
}
body.landing-premium .m-btn-sm {
  height: 36px;
  padding: 0 1rem;
  line-height: 1;
  border-radius: 6px;
}

@media (max-width: 900px) {
  body.landing-premium .m-nav-inner > .m-btn-primary {
    margin-left: auto;
  }
  body.landing-premium .m-nav-burger {
    margin-left: 0;
  }
}

/* H1 size = v5; weight 600. Sub width ≤ H1 (fit-content + width:0/min-width:100%). */
body.landing-display .m-hero { padding: 10rem 0 5.5rem; }
body.landing-display .m-hero-lead {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 0;
}
body.landing-display .m-hero h1 {
  max-width: none;
  font-weight: 600; 
  letter-spacing: -0.02em;
}
body.landing-display .m-hero-sub {
  width: 0;
  min-width: 100%;
  max-width: none;
  margin-bottom: 2rem;
  box-sizing: border-box;
}
/* один .m-reveal на 100% ширины H1 — перенос по словам, не forced <br> */
body.landing-display .m-hero-sub .m-reveal {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
}
body.landing-display .m-hero-sub br { display: none; }
body.landing-display .m-hero-actions { margin-bottom: 3.25rem; }
body.landing-display .m-hero-cols { margin-bottom: 2rem; }
body.landing-display .m-hero-col { padding: 1rem 0.75rem; min-width: 9rem; }
body.landing-display .m-hero-col .m-hero-col-title,
body.landing-display .m-hero-col .m-hero-col-blurb { opacity: 0.55; transition: opacity 0.15s; }
body.landing-display .m-hero-col.is-active .m-hero-col-title,
body.landing-display .m-hero-col.is-active .m-hero-col-blurb { opacity: 1; }
body.landing-display .m-hero-col.is-active .m-hero-col-title { color: var(--m-ink); }
body.landing-display .m-hero-col:hover { background: #fafafa; }

body.landing-display .m-hero-panel-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--m-bg-alt);
}
body.landing-display .m-hero-panel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  margin: 0;
  opacity: 0;
  transform: scale(0.99) translateY(10px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}
body.landing-display .m-hero-panel-img.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

body.landing-display .m-btn-outline:hover {
  background: #f4f4f5;
  border-color: #e4e4e7;
  color: #18181b;
}

/* Channels: sequential fade (не crossfade) */
body.landing-display .m-channel-panel {
  transition: opacity 0.18s ease;
}
body.landing-display .m-channel-panel.is-fading { opacity: 0; }

body.landing-display .m-faq details { padding: 1.15rem 0; }
body.landing-display .m-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
body.landing-display .m-faq summary::after {
  content: "+";
  font-weight: 600;
  color: var(--m-muted);
  flex-shrink: 0;
}
body.landing-display .m-faq details[open] summary::after { content: "\2013"; } /* en-dash – */

body.landing-display .m-price-card { transition: border-color 0.15s; }
body.landing-display .m-price-card:hover { border-color: #a1a1aa; }

/* Modules A (v5): лёгкий hover ячеек — как price-card */
.m-modules--a .m-module-cell { transition: border-color 0.15s; }
.m-modules--a .m-module-cell:hover { border-color: #a1a1aa; }

/* Partner A (v5): hover ячеек = Modules A */
.m-partner--a .m-partner-cell { transition: border-color 0.15s; }
.m-partner--a .m-partner-cell:hover { border-color: #a1a1aa; }

/* Partner A: how 01 → 02 → 03 (desktop ряд; ≤900px столбик) */
.m-partner--a .m-how-steps--flow {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.75rem 1rem;
}
.m-partner--a .m-how-steps--flow > li {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  padding-right: 1.25rem;
}
.m-partner--a .m-how-steps--flow > li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 0.05em;
  color: #71717a;
}

@media (max-width: 900px) {
  .m-partner--a .m-how-steps--flow {
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .m-partner--a .m-how-steps--flow > li {
    padding-right: 0;
    padding-bottom: 1.25rem;
  }
  .m-partner--a .m-how-steps--flow > li:not(:last-child)::after {
    content: "↓";
    right: auto;
    left: 0;
    top: auto;
    bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.landing-display .m-hero-panel-img,
  body.landing-display .m-channel-panel,
  body.landing-display .m-hero-col .m-hero-col-title,
  body.landing-display .m-hero-col .m-hero-col-blurb,
  body.landing-display .m-btn-outline,
  body.landing-display .m-price-card,
  .m-modules--a .m-module-cell,
  .m-partner--a .m-partner-cell { transition: none; }
}

.m-reveal {
  display: inline-block;
}
.m-hero-col-progress {
  display: none;
}

@keyframes m-reveal {
  from {
    opacity: 0.01;
    filter: blur(5px);
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

body.landing-motion .m-reveal {
  opacity: 0.01;
  will-change: opacity, transform, filter;
  animation: m-reveal 1s ease forwards;
}
body.landing-motion .m-reveal:nth-child(1) { animation-delay: 0.05s; }
body.landing-motion .m-reveal:nth-child(2) { animation-delay: 0.1s; }
body.landing-motion .m-reveal:nth-child(3) { animation-delay: 0.15s; }
body.landing-motion .m-hero-sub .m-reveal { animation-delay: 0.2s; }

body.landing-motion .m-hero-col {
  position: relative;
  border-bottom-color: transparent;
}
body.landing-motion .m-hero-col.is-active {
  border-bottom-color: transparent;
}
body.landing-motion .m-hero-col-progress {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #18181b;
  transform-origin: left center;
  transform: scaleX(var(--m-progress, 0));
  pointer-events: none;
}
body.landing-motion .m-hero-col:not(.is-active) {
  --m-progress: 0;
}

@media (prefers-reduced-motion: reduce) {
  body.landing-motion .m-reveal {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
    will-change: auto;
  }
}
