/* SEO content pages (/crm-dlya-telegram/, /en/telegram-crm/ …), built from
   landing/pages/*.md by scripts/build-landing.mjs. Loaded after legal.css,
   which already gives the nav, the dark tokens and the long-read type. */
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-link {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; min-height: 32px; padding: 0 12px; display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: var(--r-full); background: var(--glass); color: var(--ink-3); text-decoration: none;
}
.lang-link:hover { color: var(--ink); }

.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 13px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em; white-space: nowrap; text-decoration: none; color: #170700;
  background: linear-gradient(180deg, #ff9355 0%, var(--orange) 55%, #f2551a 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 0 0 1px rgba(255,140,84,0.5), 0 10px 32px -8px var(--orange-glow);
  transition: transform 220ms var(--ease-out);
}
.btn-cta:hover { transform: translateY(-1px); }
.btn-cta.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13.5px; border-radius: 11px; }
.doc .btn-cta { color: #170700; }

.page { max-width: 820px; }
.page .crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; font-size: 13px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page h1 { font-size: clamp(30px, 5.2vw, 50px); line-height: 1.1; text-wrap: balance; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 28px 0 8px; color: var(--ink-3); font-size: 13.5px; }

.page h2 { margin-top: 44px; font-size: clamp(21px, 2.8vw, 27px); text-wrap: balance; }
.page h3 { font-size: 16.5px; margin-top: 24px; }
.page ol { margin: 0 0 12px; padding-left: 22px; }

.table-wrap { overflow-x: auto; margin: 16px 0 18px; border: 1px solid var(--line); border-radius: 14px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); line-height: 1.55; }
.table-wrap th { font-family: var(--font-display); font-weight: 500; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); background: var(--glass); }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap td:first-child { color: var(--ink); font-weight: 500; }

.page-cta {
  margin: 36px 0 12px; padding: 24px; border: 1px solid rgba(255,140,84,0.28); border-radius: 20px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(255,107,44,0.14), transparent 60%), var(--bg-raise);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.page-cta b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); }
.page-cta p { margin: 6px 0 0; max-width: 46ch; font-size: 14.5px; }

.related { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.related h2 { margin-top: 0; font-size: 13px; font-family: var(--font-display); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a {
  padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--r-full); background: var(--glass);
  color: var(--ink); text-decoration: none; font-size: 14px;
}
.related-links a:hover { border-color: var(--line-2); }

@media (max-width: 460px) { .nav-right .btn-cta { display: none; } }
