/* Стили SEO-статей (/pravila-taynogo-santy/ и др.). Базовые токены и шапка —
   в design-tokens.css и styles.css; здесь только то, что нужно статьям.
   Классы .landing-* повторяют инлайн-стили лендинга, чтобы футер/FAQ/CTA
   выглядели одинаково на всех страницах. */

.article-shell {
  max-width: 760px;
  margin: 0 auto;
}

.article-eyebrow {
  display: block;
  margin: clamp(28px, 5vw, 48px) 0 10px;
  color: var(--accent-warm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-shell h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4.4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.08;
}

.article-lead {
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.6;
}

.article-shell h2 {
  margin: clamp(36px, 5vw, 52px) 0 0;
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  font-weight: 900;
  line-height: 1.15;
}

.article-shell h3 {
  margin: 24px 0 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.article-shell p {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.65;
}

.article-shell ul,
.article-shell ol {
  margin: 14px 0 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.6;
}

.article-shell li strong {
  color: var(--frost);
}

.article-inline-link,
.article-shell p a,
.article-shell li a {
  color: var(--accent-warm);
  font-weight: 700;
  text-decoration: none;
}
.article-shell p a:hover,
.article-shell li a:hover {
  text-decoration: underline;
}

/* Врезка-подсказка «как это делает сервис» */
.article-tip {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 22px 0 0;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.article-tip-ico {
  flex: none;
  font-size: 1.3rem;
  line-height: 1.4;
}
.article-tip p {
  margin: 0;
}

/* Перелинковка: карточки соседних статей */
.article-related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}
.article-related a {
  display: block;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  color: var(--frost);
  font-weight: 800;
  text-decoration: none;
  line-height: 1.35;
}
.article-related a:hover {
  color: var(--accent-warm);
}
.article-related a span {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

/* FAQ — как на лендинге */
.landing-faq {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.landing-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.landing-faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 800;
  list-style-position: inside;
}
.landing-faq-item summary:hover {
  color: var(--accent-warm);
}
.landing-faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}
.landing-faq-item p {
  margin: 0;
  padding: 0 20px 16px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Финальный CTA — как на лендинге */
.landing-final {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(34px, 5vw, 56px) clamp(22px, 4vw, 40px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 90, 168, 0.2), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow-card);
}
.landing-final h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  font-weight: 900;
  line-height: 1.05;
}
.landing-final p {
  margin: 14px 0 0;
  max-width: 44ch;
  color: var(--text-soft);
  font-weight: 500;
  line-height: 1.5;
}
.landing-final .button {
  min-height: 54px;
  margin-top: 26px;
  padding: 0 30px;
  font-size: 1.05rem;
}
.landing-note {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Футер — как на лендинге */
.landing-footer {
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.landing-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.landing-footer h4 {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.landing-footer p {
  margin: 0;
  max-width: 34ch;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.55;
}
.landing-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.landing-footer a {
  color: var(--frost);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}
.landing-footer a:hover {
  text-decoration: underline;
}
.landing-footer-bottom {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

@media (max-width: 860px) {
  .landing-footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .article-related {
    grid-template-columns: minmax(0, 1fr);
  }
}
