/* ─────────────────────────────────────────────────────────────────────────
   MyMaktab landing — editorial / premium. One accent (violet #6D28D9),
   warm paper, graphite ink, Manrope display + Inter body.
   Hard rules: no glass/blur, no heavy gradients, solid fills, thin line icons.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --paper:   #FAF8F4;
  --card:    #FFFDF8;
  --ink:     #1A1B20;
  --ink2:    #3D414B;
  --muted:   #66615A;
  --primary: #6D28D9;
  --primary-ink: #5B21B6;
  --tint:    #F2ECFC;
  --border:  #E7E2D7;
  --secondary: #F3F0E9;
  --dark:    #1A1B20;
  --violet-soft: #C4A7F4;
  --radius:  0.875rem;
  --maxw:    76rem; /* ~1216px */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ── Typography helpers ─────────────────────────────────────────────── */
.display,
.h-display,
.footer-title,
.brand span {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.display {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 0.98;
  margin: 0.2em 0 0;
}

.h-display {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.04;
  margin: 0 0 0.2em;
  max-width: 36ch;
}

.kicker {
  font-family: "Inter", monospace, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--primary);
  margin: 0 0 1rem;
}
.kicker-light { color: var(--violet-soft); }

.lede {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
  color: var(--muted);
  margin: 1rem 0 0;
  max-width: 42ch;
}
.lede-light { color: rgba(255,255,255,0.72); }

.muted { color: var(--muted); }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.96); }
.btn-lg { padding: 0.95rem 1.75rem; font-size: 1rem; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-ink); box-shadow: 0 12px 26px rgba(109,40,217,0.28); }

.btn-outline { background: var(--card); color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { box-shadow: 0 12px 26px rgba(0,0,0,0.14); }

.btn .ic { width: 1rem; height: 1rem; }
.btn-primary:hover .ic { transform: translateX(2px); }

/* ── Icons ──────────────────────────────────────────────────────────── */
.ic { width: 1.15rem; height: 1.15rem; stroke: currentColor; fill: none; flex: 0 0 auto; }
.ic-lg { width: 1.5rem; height: 1.5rem; }

/* ── Nav ────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,244,0.94);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.75rem 1.25rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1.25rem; }
.brand img { border-radius: 0.7rem; }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

/* language switch */
.lang-switch {
  position: relative; display: flex;
  border: 1px solid var(--border); background: var(--card);
  border-radius: 999px; padding: 4px;
}
.lang-switch a {
  position: relative; z-index: 1;
  width: 2.25rem; padding: 0.35rem 0; border: 0; background: transparent;
  font: inherit; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  color: var(--muted); cursor: pointer; border-radius: 999px;
  transition: color .2s ease;
}
.lang-switch a { display: block; text-align: center; text-decoration: none; }
.lang-switch a.is-active { color: #fff; }
.lang-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px;
  width: 2.25rem; border-radius: 999px; background: var(--primary);
  transition: transform .32s cubic-bezier(0.34,1.56,0.64,1);
}

/* ── Section frame ──────────────────────────────────────────────────── */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vh, 5rem) 1.25rem;
}
.bordered { border-top: 1px solid var(--border); }
.wrap { width: 100%; }

@media (min-width: 1024px) {
  .section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
  }
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { padding-top: clamp(2rem, 5vh, 3.5rem); }
.hero-grid, .split, .footer-grid, .security-grid {
  display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--border); background: var(--card);
  color: var(--primary); font-weight: 600; font-size: 0.9rem;
  padding: 0.5rem 1rem; border-radius: 0.7rem;
  margin-bottom: 1.5rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.facts {
  list-style: none; margin: 1.75rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
}
.facts li { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 600; color: var(--ink2); }
.facts .ic { width: 1rem; height: 1rem; color: var(--primary); }

/* visuals / tints */
.hero-visual, .split-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.tint { position: absolute; background: var(--tint); z-index: 0; }
.tint-hero  { inset: 3.5rem 2.5rem; border: 1px solid var(--border); }
.tint-panel { inset: -0.75rem; border-radius: 24px; }
.tint-square{ top: 2rem; width: 14rem; height: 14rem; }

.shot { position: relative; z-index: 1; }
.shot-phone { width: auto; max-height: min(70vh, 560px); filter: drop-shadow(0 22px 30px rgba(26,27,32,0.16)); }
.shot-mac {
  width: 100%; max-height: 74vh; object-fit: contain;
  border: 1px solid var(--border); border-radius: 16px;
  filter: drop-shadow(0 26px 36px rgba(26,27,32,0.16));
  background: var(--card);
}
.shot-photo {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border: 1px solid var(--border); border-radius: 16px;
  filter: drop-shadow(0 26px 36px rgba(26,27,32,0.16));
}

/* ── Split sections ─────────────────────────────────────────────────── */
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split-desktop { grid-template-columns: 0.82fr 1.18fr; }
  .order-first { order: -1; }
}

.points { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 0; }
.points li {
  display: flex; align-items: center; gap: 0.75rem;
  border-top: 1px solid var(--border); padding: 0.65rem 0;
  font-size: 0.95rem; font-weight: 600; color: var(--ink);
}
.points .ic { width: 1rem; height: 1rem; color: var(--primary); }

/* ── Problem: три боли колонками с разделителями ───────────────────── */
.cols3 { display: grid; gap: 1.75rem; margin: 2.5rem 0; }
@media (min-width: 768px) {
  .cols3 { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .cols3 > div { padding: 0 1.75rem; border-left: 1px solid var(--border); }
  .cols3 > div:first-child { padding-left: 0; border-left: 0; }
}
.colicon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 0.8rem;
  background: var(--tint); color: var(--primary);
}
.colicon .ic { width: 1.35rem; height: 1.35rem; }
.cols3 h3 { font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: -0.02em; font-size: 1.2rem; margin: 1rem 0 0.4rem; }
.cols3 p { color: var(--muted); line-height: 1.6; margin: 0; font-size: 0.95rem; }

/* ── Ledger: цена бездействия ──────────────────────────────────────── */
.ledger { margin-top: 2.5rem; }
.ledger .ln {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 2rem;
  border-top: 1px solid var(--border); padding: 1.4rem 0;
}
.ledger .ln:last-child { border-bottom: 1px solid var(--border); }
.stat {
  font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1; color: var(--ink);
  flex: 0 0 auto; min-width: min(15rem, 46vw);
}
.stat.warn { color: var(--primary); }
.ledger .ln p { margin: 0; color: var(--muted); line-height: 1.5; max-width: 34rem; flex: 1 1 16rem; }
.footnote { color: var(--muted); font-size: 0.85rem; margin: 1.5rem 0 0; }

/* ── Map: пять продуктов в одном ───────────────────────────────────── */
.map { margin-top: 2.25rem; }
.map .ln {
  display: flex; align-items: flex-start; gap: 1.25rem;
  border-top: 1px solid var(--border); padding: 1.1rem 0.25rem;
  transition: background-color .2s ease;
}
.map .ln:last-child { border-bottom: 1px solid var(--border); }
.map .ln:hover { background: var(--card); }
.map .num5 {
  font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.25; color: var(--primary);
  flex: 0 0 3rem;
}
.map .bd { flex: 1; }
.map h3 {
  font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(1.05rem, 2vw, 1.35rem); margin: 0;
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
}
.map .who {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary-ink); background: var(--tint);
  padding: 0.25em 0.8em; border-radius: 0.4rem;
}
.map .ln p { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.maptail { margin: 1.5rem 0 0; font-weight: 600; color: var(--ink2); }

/* индикатор «продукт N из 5» */
.dots { display: inline-flex; gap: 4px; align-items: center; vertical-align: middle; margin-left: 0.6rem; }
.dots i { width: 0.9rem; height: 3px; border-radius: 2px; background: var(--border); display: block; }
.dots i.on { background: var(--primary); }

/* ── Callout ───────────────────────────────────────────────────────── */
.callout {
  margin-top: 1.75rem; padding: 1rem 1.4rem;
  background: var(--card); border: 1px solid var(--border);
  border-left: 3px solid var(--primary); border-radius: 0.75rem;
}
.callout p { margin: 0; font-weight: 600; color: var(--ink); line-height: 1.5; }
.callout-center { max-width: 46rem; margin-left: auto; margin-right: auto; text-align: center; border-left-color: var(--border); border-top: 3px solid var(--primary); }

/* ── Testimonial quote ─────────────────────────────────────────────── */
.quote { margin: 1.75rem 0 0; padding: 1.25rem 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: 1rem; }
.quote blockquote { margin: 0; font-style: italic; color: var(--ink2); line-height: 1.6; font-size: 0.95rem; }
.quote figcaption { margin-top: 0.75rem; color: var(--muted); font-size: 0.85rem; font-weight: 600; }

/* ── Pricing ───────────────────────────────────────────────────────── */
.lede-wide { max-width: 62ch; }
.price-grid { display: grid; gap: 1.75rem; margin-top: 2.25rem; align-items: start; }
@media (min-width: 900px) { .price-grid { grid-template-columns: 1.15fr 0.85fr; } }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 0.9rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.price-table thead th { font-size: 0.85rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid var(--border); }
.price-table .price { text-align: right; font-family: "Manrope", sans-serif; font-weight: 800; font-variant-numeric: tabular-nums; }
.price-table tr.best td { background: var(--tint); }
.price-table tr.best .price { color: var(--primary-ink); }
.price-cards { display: grid; gap: 0.75rem; }
.pcard { border: 1px solid var(--border); background: var(--card); border-radius: 1rem; padding: 1.1rem 1.3rem; }
.pcard.accent { border-color: rgba(109,40,217,0.35); }
.pcard.accent h3 { color: var(--primary-ink); }
.pcard h3 { font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: -0.02em; font-size: 1.05rem; margin: 0 0 0.3rem; }
.pcard p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

/* ── Launch timeline ───────────────────────────────────────────────── */
.tl { display: grid; gap: 1.5rem; margin-top: 2.5rem; position: relative; }
@media (min-width: 900px) {
  .tl { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
  .tl::before { content: ""; position: absolute; top: 1.25rem; left: 6%; right: 6%; height: 2px; background: var(--border); }
}
.tl .step { position: relative; padding-top: 3.4rem; }
.tl .num {
  position: absolute; top: 0; left: 0;
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  display: grid; place-items: center;
  font-family: "Manrope", sans-serif; font-weight: 800;
  color: #fff; background: var(--primary);
  box-shadow: 0 4px 12px rgba(109,40,217,0.3);
}
.tl .step h3 { font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: -0.02em; font-size: 1.05rem; margin: 0 0 0.3rem; }
.tl .step p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

/* ── Security (dark) ────────────────────────────────────────────────── */
.security { background: var(--dark); color: #fff; max-width: none; }
.security-grid { max-width: var(--maxw); margin: 0 auto; }
@media (min-width: 900px) { .security-grid { grid-template-columns: 0.75fr 1.25fr; align-items: start; } }
.security-cards { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .security-cards { grid-template-columns: 1fr 1fr; } }
.sec-card { border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.04); padding: 1.5rem; }
.sec-card .ic-lg { color: var(--violet-soft); margin-bottom: 1.25rem; }
.sec-t { font-size: 1.1rem; font-weight: 700; margin: 0; }
.sec-d { font-size: 0.9rem; line-height: 1.55; color: rgba(255,255,255,0.65); margin: 0.5rem 0 0; }

/* ── Trust ──────────────────────────────────────────────────────────── */
.trust .wrap { max-width: var(--maxw); margin: 0 auto; }
.trust-head { max-width: 48rem; margin: 0 auto; text-align: center; }
.trust-head .lede { margin-left: auto; margin-right: auto; max-width: 52ch; }
.trust-grid { display: grid; gap: 1.25rem; margin-top: 3rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--border); background: var(--card);
  border-radius: 24px; padding: 1.75rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.trust-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(26,27,32,0.10); }
.trust-blob {
  position: absolute; right: -2rem; top: -2rem; width: 7rem; height: 7rem;
  border-radius: 999px; background: var(--tint); transition: transform .25s ease;
}
.trust-card:hover .trust-blob { transform: scale(1.25); }
.trust-badge {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; border-radius: 1rem;
  background: var(--primary); color: #fff; margin-bottom: 1.5rem;
}
.trust-badge .ic { width: 1.75rem; height: 1.75rem; }
.trust-card h3 { position: relative; font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: -0.02em; font-size: 1.5rem; margin: 0; }
.trust-card p { position: relative; color: var(--muted); line-height: 1.65; margin: 0.75rem 0 0; }

/* ── Footer / form ──────────────────────────────────────────────────── */
.cta-footer { background: var(--primary); color: #fff; max-width: none; padding-left: 1.25rem; padding-right: 1.25rem; }
.footer-grid { max-width: var(--maxw); margin: 0 auto; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.footer-title { font-size: clamp(2.2rem, 5vw, 3.75rem); line-height: 1.02; margin: 0; }
.footer-sub { color: rgba(255,255,255,0.82); margin: 1rem 0 0; max-width: 34ch; }
.footer-contacts { font-weight: 700; margin: 2rem 0 1rem; }

.lead-form {
  display: grid; gap: 0.75rem;
  background: #fff; color: var(--ink);
  border-radius: var(--radius); padding: 1.25rem;
}
.lead-form input, .lead-form textarea {
  width: 100%; font: inherit; color: var(--ink);
  border: 1px solid var(--border); background: var(--paper);
  border-radius: 0.75rem; padding: 0.85rem 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lead-form textarea { resize: vertical; min-height: 6rem; }
.lead-form input:focus, .lead-form textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(109,40,217,0.18);
}
.lead-form input.invalid, .lead-form textarea.invalid { border-color: #d4183d; box-shadow: 0 0 0 3px rgba(212,24,61,0.14); }
.lead-form .btn { width: 100%; margin-top: 0.25rem; }
.form-status { margin: 0; min-height: 1.2em; font-size: 0.9rem; font-weight: 600; }
.form-status.ok  { color: var(--primary-ink); }
.form-status.err { color: #d4183d; }

.copyright { max-width: var(--maxw); margin: 3rem auto 0; color: rgba(255,255,255,0.7); font-size: 0.85rem; }

/* ── Reveal-on-scroll ───────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .trust-card, .lang-thumb { transition: none; }
}

/* ── Scroll snapping (desktop only, gentle) ─────────────────────────── */
@media (min-width: 1024px) and (pointer: fine) {
  html { scroll-snap-type: y proximity; }
}

/* ── Small screens ──────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .nav-cta { display: none; }
  .display { font-size: 2.4rem; }
  .tint-square { width: 10rem; height: 10rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Добавлено вместе с многостраничностью: вход в приложение, согласие на
   обработку данных, футер-навигация и внутренние страницы (цены, FAQ,
   сравнения, кейс, юридические тексты).
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Вход в приложение ──────────────────────────────────────────────── */
.btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.nav-login { padding: 0.55rem 1.1rem; font-size: 0.9rem; }

/* ── Футер: кнопки, навигация, согласие ─────────────────────────────── */
.footer-btns { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.footer-nav {
  max-width: var(--maxw);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
}
.footer-nav a {
  color: rgba(255,255,255,0.72); font-size: 0.9rem; text-decoration: none;
  transition: color .2s ease;
}
.footer-nav a:hover { color: #fff; text-decoration: underline; }

/* Согласие живёт ВНУТРИ формы — а форма это белая карточка на фиолетовом
   футере. Цвета здесь тёмные: белый текст был бы белым по белому. */
.consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.82rem; line-height: 1.45; color: var(--muted);
  cursor: pointer;
}
.consent input { margin-top: 0.15rem; width: 1.05rem; height: 1.05rem; accent-color: var(--primary); flex: 0 0 auto; }
.consent a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: var(--primary-ink); }
.consent.invalid { color: #d4183d; }
.consent.invalid a { color: #d4183d; }
.consent.invalid input { outline: 2px solid #d4183d; outline-offset: 2px; }

/* ── Внутренние страницы ────────────────────────────────────────────── */
.page { max-width: 52rem; margin: 0 auto; padding: 3.5rem 1.25rem 4rem; }
.page-wide { max-width: var(--maxw); }

.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }

.page h1 {
  font-family: Manrope, Inter, sans-serif; font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.page-lede { font-size: 1.15rem; line-height: 1.6; color: var(--ink2); margin: 0 0 2.5rem; }

.prose h2 {
  font-family: Manrope, Inter, sans-serif; font-weight: 800;
  font-size: 1.5rem; line-height: 1.25; margin: 2.75rem 0 0.9rem;
}
.prose h3 { font-weight: 700; font-size: 1.1rem; margin: 1.75rem 0 0.5rem; }
.prose p, .prose li { font-size: 1.02rem; line-height: 1.7; color: var(--ink2); }
.prose p { margin: 0 0 1rem; }
.prose ul, .prose ol { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.prose li { margin-bottom: 0.5rem; }
.prose strong { color: var(--ink); }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.prose .note {
  background: var(--tint); border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem; margin: 1.5rem 0;
}
.prose .note p:last-child { margin-bottom: 0; }

/* ── FAQ (details/summary — работает и без JS, и в поиске) ───────────── */
.faq-list { margin: 0 0 2rem; }
.faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 1.15rem 0;
}
.faq-list summary {
  cursor: pointer; list-style: none;
  font-family: Manrope, Inter, sans-serif; font-weight: 700; font-size: 1.05rem;
  color: var(--ink); display: flex; justify-content: space-between; gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; color: var(--primary); font-size: 1.35rem; line-height: 1;
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list .faq-a { margin: 0.75rem 0 0; color: var(--ink2); line-height: 1.65; }

/* ── Таблица сравнения ──────────────────────────────────────────────── */
.cmp-scroll { overflow-x: auto; margin: 1.5rem 0 2rem; }
.cmp { width: 100%; border-collapse: collapse; min-width: 34rem; font-size: 0.95rem; }
.cmp th, .cmp td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.cmp thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; }
.cmp td.mm { background: var(--tint); font-weight: 600; color: var(--ink); }
.cmp tbody th { font-weight: 600; color: var(--ink); }
.cmp .yes { color: var(--primary); font-weight: 700; }
.cmp .no { color: var(--muted); }

/* ── Плитки и финальный призыв на внутренних страницах ──────────────── */
.tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: 1.5rem 0 2rem; }
.tile { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.tile h3 { margin: 0 0 0.4rem; font-size: 1.02rem; font-weight: 700; }
.tile p { margin: 0; font-size: 0.95rem; color: var(--ink2); line-height: 1.55; }

.cta-band {
  margin-top: 3rem; padding: 2rem; border-radius: var(--radius);
  background: var(--dark); color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem;
}
.cta-band p { margin: 0; font-size: 1.05rem; font-weight: 600; max-width: 34rem; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.cta-band .btn-outline:hover { border-color: #fff; color: #fff; }

@media (max-width: 560px) {
  .page { padding: 2.5rem 1.15rem 3rem; }
  .cta-band { padding: 1.5rem; }
}

/* ── Меню в шапке ────────────────────────────────────────────────────
   Нужно не только людям: Google собирает ссылки под сниппетом (sitelinks)
   из навигации сайта, а до этого внутренние ссылки были только в подвале.
   На узких экранах прячем — там роль навигации играет подвал. */
.nav-links {
  display: none;
  list-style: none; margin: 0; padding: 0;
  gap: 1.5rem; align-items: center;
}
.nav-links a {
  font-size: 0.92rem; font-weight: 600; color: var(--ink2); text-decoration: none;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--primary); }
@media (min-width: 1100px) { .nav-links { display: flex; } }
