:root {
  --bg:#FBF6EE; --surface:#F7EEE1; --surface-deep:#F2E3D2;
  --ink:#2E2320; --text-body:#3A2E28; --text:#5A4A40; --muted:#6E5D52;
  --accent:#A05C4A; --accent-hover:#8A4C3C; --border:#E5DDD2; --dark-text:#EFE5DA;
  --serif:'Lora', Georgia, serif; --sans:'Onest', 'Segoe UI', Verdana, sans-serif;
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:var(--sans); color:var(--text-body); background:var(--bg); font-size:19px; line-height:1.65; }
.wrap { max-width:760px; margin:0 auto; padding:0 clamp(18px,4vw,32px); }
h1,h2,h3 { font-family:var(--serif); font-weight:500; color:var(--ink); text-wrap:balance; }
h1 { font-size:clamp(30px,4.6vw,44px); line-height:1.18; margin-bottom:18px; }
h2 { font-size:clamp(24px,3.2vw,32px); line-height:1.25; margin:44px 0 14px; }
h3 { font-size:clamp(20px,2.4vw,23px); margin:28px 0 10px; font-weight:600; }
p { margin-bottom:16px; }
ul, ol { margin:0 0 18px 22px; }
li { margin-bottom:9px; }
a { color:var(--accent); }
header.top { padding:26px 0 8px; }
.kicker { font-size:15px; color:var(--muted); letter-spacing:.04em; text-transform:uppercase; font-weight:600; }
.lead { font-size:clamp(20px,2.3vw,23px); color:var(--text); font-family:var(--serif); margin:18px 0 8px; }
.meta { font-size:15px; color:var(--muted); border-bottom:1px solid var(--border); padding-bottom:22px; margin-bottom:8px; }
article { padding-bottom:20px; }
.callout { background:var(--surface); border-left:4px solid var(--accent); border-radius:0 14px 14px 0;
  padding:20px 24px; margin:26px 0; font-size:18px; }
.callout b { color:var(--ink); }
.red { background:#FBEDE9; border-left-color:#B4402C; }
.case { background:#fff; border:1px solid var(--border); border-radius:16px; padding:22px 24px; margin:18px 0; }
.case b { display:block; font-family:var(--serif); font-size:21px; color:var(--ink); margin-bottom:8px; font-weight:600; }
.faq details { border-bottom:1px solid var(--border); padding:16px 0; }
.faq summary { font-family:var(--serif); font-size:21px; color:var(--ink); cursor:pointer; font-weight:500; }
.faq p { margin-top:12px; margin-bottom:0; }
.cta { background:var(--ink); color:var(--dark-text); border-radius:22px; padding:clamp(28px,5vw,44px); margin:48px 0 30px; }
.cta h2 { color:#fff; margin-top:0; }
.cta p { color:var(--dark-text); }
.cta-btn { display:inline-block; background:var(--accent); color:#fff; font-weight:700; font-size:20px;
  text-decoration:none; padding:20px 44px; border-radius:14px; margin-top:14px; }
.cta-btn:hover { background:var(--accent-hover); }
.price-note { font-size:16px; color:#C9BBAF; margin-top:14px; }
footer { border-top:1px solid var(--border); padding:26px 0 50px; font-size:16px; color:var(--muted); }
.disclaimer { font-size:16px; color:var(--muted); background:var(--surface-deep); border-radius:14px; padding:18px 22px; margin:30px 0; }

/* сквозная шапка */
.site-nav { background:#fff; border-bottom:1px solid var(--border); }
.site-nav-inner { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:8px 24px; padding:16px 0; }
.site-nav-name { font-family:var(--serif); font-weight:600; font-size:17px; color:var(--ink); text-decoration:none; }
.site-nav-links { display:flex; flex-wrap:wrap; gap:6px 22px; }
.site-nav-links a { font-size:15px; color:var(--text-body); text-decoration:none; font-weight:500; }
.site-nav-links a:hover { color:var(--accent); }
@media (max-width:480px){ .site-nav-inner{ flex-direction:column; align-items:flex-start; gap:10px; } }

/* читайте также */
.read-also { margin:44px 0 6px; }
.read-also h2 { margin-top:0; }
.read-also-item { display:block; background:#fff; border:1px solid var(--border); border-radius:16px;
  padding:18px 22px; margin-bottom:12px; text-decoration:none; color:var(--text-body); transition:border-color .2s; }
.read-also-item:hover { border-color:var(--accent); }
.read-also-item b { display:block; font-family:var(--serif); font-size:19px; color:var(--ink); font-weight:600; margin-bottom:4px; }
.read-also-item span { font-size:15px; color:var(--muted); }

/* сквозной подвал */
footer .footer-links { font-size:16px; margin-bottom:12px; }
footer .footer-links a { color:var(--accent); }
footer .footer-disclaimer { font-size:14px; background:var(--surface-deep); border-radius:12px; padding:14px 18px; margin-bottom:12px; }
footer .footer-legal { font-size:13px; margin-bottom:3px; }
footer .footer-legal a { color:var(--muted); }

@media (max-width:560px){
  body{font-size:18px}
  .cta-btn{display:block;text-align:center;padding:20px 16px;font-size:19px}
}

/* === HUB v2 === */
:root {
  --accent-soft:#C98A6B;
  --note-bg:var(--surface); --note-border:var(--accent-soft);
  --warn-bg:#FBEDE9; --warn-border:#B4402C; --warn-ink:#8A3020;
  --shadow-card:0 10px 26px rgba(46,35,32,.08);
}

/* ---------- шапка ---------- */
.site-head { position:sticky; top:0; z-index:40; background:rgba(251,246,238,.92);
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  border-bottom:1px solid var(--border); }
.site-head-inner { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:8px 24px; padding:16px 0; }
.site-head-name { font-family:var(--serif); font-weight:600; font-size:17px; color:var(--ink);
  text-decoration:none; }
.site-head-name:hover { color:var(--accent); }
.site-head-links { display:flex; flex-wrap:wrap; gap:6px 22px; margin:0; padding:0; list-style:none; }
.site-head-links a { font-size:15px; color:var(--text-body); text-decoration:none; font-weight:500;
  padding:4px 0; border-bottom:2px solid transparent; }
.site-head-links a:hover { color:var(--accent); }
.site-head-links a.is-current { color:var(--accent); border-bottom-color:var(--accent); }
@media (max-width:480px){
  .site-head-inner { flex-direction:column; align-items:flex-start; gap:10px; }
  .site-head-links { gap:6px 16px; }
}

/* ---------- подвал ---------- */
.site-foot { background:#fff; border-top:1px solid var(--border);
  padding:clamp(30px,4.5vw,44px) 0 clamp(26px,4vw,36px); font-size:15px; color:var(--muted); }
.site-foot-grid { display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:28px; margin-bottom:22px; }
.site-foot-name { font-family:var(--serif); font-weight:600; color:var(--ink); font-size:18px;
  margin-bottom:6px; display:block; }
.site-foot-pos { font-size:14px; color:var(--muted); line-height:1.5; max-width:32ch; }
.site-foot h4 { font-family:var(--sans); font-size:13px; font-weight:700; letter-spacing:.05em;
  text-transform:uppercase; color:var(--muted); margin-bottom:10px; }
.site-foot ul { list-style:none; margin:0; padding:0; }
.site-foot li { margin-bottom:8px; }
.site-foot a { color:var(--text-body); text-decoration:none; }
.site-foot a:hover { color:var(--accent); }
.site-foot-legal { border-top:1px solid var(--border); padding-top:16px; font-size:13px;
  line-height:1.6; color:var(--muted); }
.site-foot-legal a { color:var(--muted); text-decoration:underline; text-underline-offset:3px; }
.site-foot-disclaimer { font-size:14px; background:var(--surface-deep); border-radius:12px;
  padding:14px 18px; margin-bottom:16px; color:var(--text-body); }
@media (max-width:720px){
  .site-foot-grid { grid-template-columns:1fr; gap:20px; }
}

/* ---------- крошки ---------- */
.crumbs { font-size:14px; color:var(--muted); padding:16px 0 0; }
.crumbs a { color:var(--muted); text-decoration:none; }
.crumbs a:hover { color:var(--accent); text-decoration:underline; }
.crumbs span[aria-current] { color:var(--text-body); }
.crumbs .sep { margin:0 7px; color:var(--border); }

/* ---------- надзаголовок ---------- */
.eyebrow { display:block; font-family:var(--sans); font-size:13px; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase; color:var(--accent); margin-bottom:10px; }

/* ---------- разделитель ---------- */
.rule { border:0; border-top:1px solid var(--border); margin:36px 0; }

/* ---------- список с усиленными маркерами ---------- */
.bul { list-style:none; margin:0 0 20px; padding:0; }
.bul li { position:relative; padding-left:26px; margin-bottom:12px; line-height:1.6; }
.bul li::before { content:''; position:absolute; left:0; top:.55em; width:9px; height:9px;
  border-radius:50%; background:var(--accent); }

/* ---------- врезка: соседний разбор ---------- */
.note { background:var(--note-bg); border-left:4px solid var(--note-border);
  border-radius:0 14px 14px 0; padding:18px 22px; margin:24px 0; font-size:17px; line-height:1.6; }
.note b { color:var(--ink); }
.note a { font-weight:700; }

/* ---------- врезка-предупреждение ---------- */
.warn { background:var(--warn-bg); border-left:4px solid var(--warn-border);
  border-radius:0 14px 14px 0; padding:20px 24px; margin:26px 0; font-size:18px; line-height:1.6; }
.warn b { color:var(--warn-ink); }

/* ---------- чек-лист вопросов к себе ---------- */
.checklist { list-style:none; margin:0 0 20px; padding:0; }
.checklist li { position:relative; padding:10px 0 10px 34px; border-bottom:1px solid var(--border); }
.checklist li:last-child { border-bottom:0; }
.checklist li::before { content:''; position:absolute; left:0; top:14px; width:16px; height:16px;
  border:2px solid var(--accent-soft); border-radius:4px; }

/* ---------- таблица со скроллом ---------- */
.tablewrap { overflow-x:auto; margin:26px 0; border:1px solid var(--border); border-radius:14px;
  -webkit-overflow-scrolling:touch; }
.tablewrap table { border-collapse:collapse; width:100%; min-width:520px; font-size:16px; }
.tablewrap th, .tablewrap td { text-align:left; padding:12px 16px; border-bottom:1px solid var(--border);
  vertical-align:top; }
.tablewrap th { font-family:var(--serif); font-weight:600; color:var(--ink); background:var(--surface); }
.tablewrap tr:last-child td { border-bottom:0; }

/* ---------- подсветка ключевого слова ---------- */
.kw { color:var(--accent); font-weight:600; }

/* ---------- мелкая пошаговая инструкция ---------- */
.micro { font-size:15px; color:var(--muted); line-height:1.6; background:var(--surface);
  border-radius:12px; padding:14px 18px; margin:18px 0; }
.micro b { color:var(--text-body); }

/* ---------- строка «время чтения · дата» ---------- */
.readmeta { font-size:15px; color:var(--muted); border-bottom:1px solid var(--border);
  padding-bottom:22px; margin-bottom:8px; }
.readmeta span + span::before { content:'·'; margin:0 8px; color:var(--border); }

/* ---------- карточка мини-курса внутри статьи ---------- */
.freecard { background:#fff; border:2px solid var(--accent); border-radius:18px;
  padding:clamp(22px,3vw,30px); margin:34px 0; }
.freecard .eyebrow { color:var(--accent); }
.freecard h3 { font-size:clamp(20px,2.3vw,24px); margin:0 0 8px; }
.freecard p { font-size:17px; line-height:1.55; margin-bottom:14px; }
.freecard .price { font-family:var(--serif); font-size:26px; color:var(--ink); margin-bottom:14px; }
.freecard .price small { font-size:15px; color:var(--muted); font-family:var(--sans); font-weight:400; }

/* ---------- соседние разборы ---------- */
.related { margin:44px 0 6px; }
.related h2 { margin-top:0; }
.related-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:720px){ .related-grid { grid-template-columns:1fr; } }
.related-item { display:block; background:#fff; border:1px solid var(--border); border-radius:16px;
  padding:18px 22px; text-decoration:none; color:var(--text-body); transition:border-color .2s; }
.related-item:hover { border-color:var(--accent); }
.related-item b { display:block; font-family:var(--serif); font-size:18px; color:var(--ink);
  font-weight:600; margin-bottom:4px; }
.related-item span { font-size:15px; color:var(--muted); }

/* ---------- частые вопросы (блок статьи) ---------- */
.faq-block { margin:36px 0; }
.faq-block h2 { margin-top:0; }
.faq-block .q { border-bottom:1px solid var(--border); padding:16px 0; }
.faq-block .q:last-child { border-bottom:0; }
.faq-block summary { font-family:var(--serif); font-size:19px; font-weight:600; color:var(--ink);
  cursor:pointer; list-style:none; }
.faq-block summary::-webkit-details-marker { display:none; }
.faq-block summary::after { content:'+'; float:right; color:var(--accent); font-family:var(--sans); font-weight:400; }
.faq-block details[open] summary::after { content:'−'; }
.faq-block p { margin-top:12px; margin-bottom:0; font-size:17px; }

/* ---------- главная: hero ---------- */
.hero-hub { padding:clamp(52px,8vw,84px) 0 clamp(40px,6vw,64px);
  background:linear-gradient(120deg,#FBF6EE 0%,#F7EEE1 60%,#F2E3D2 100%); }
.hero-hub h1 { font-size:clamp(32px,5vw,58px); line-height:1.14; margin-bottom:18px; max-width:820px; }
.hero-hub .lead { font-size:clamp(18px,2.1vw,22px); max-width:640px; margin-bottom:28px; }

/* ---------- карточки разборов ---------- */
.cards { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin:28px 0; }
@media (max-width:1080px){ .cards { grid-template-columns:repeat(2,1fr); } }
@media (max-width:720px){ .cards { grid-template-columns:1fr; } }
.card { display:flex; flex-direction:column; background:#fff; border:1px solid var(--border);
  border-radius:18px; overflow:hidden; text-decoration:none; color:var(--text-body);
  transition:border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color:var(--accent); box-shadow:var(--shadow-card); transform:translateY(-2px); }
.card-cover { aspect-ratio:16/10; background:var(--surface); display:block; width:100%;
  object-fit:cover; }
.card-body { padding:18px 20px 20px; }
.card .eyebrow { margin-bottom:8px; }
.card h3 { font-size:19px; margin:0 0 8px; }
.card p { font-size:15px; color:var(--muted); line-height:1.5; margin-bottom:12px; }
.card-meta { font-size:13px; color:var(--muted); }
.card-meta span + span::before { content:'·'; margin:0 6px; }

/* ---------- путь по шагам ---------- */
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin:30px 0; }
@media (max-width:720px){ .steps { grid-template-columns:1fr; } }
.step { position:relative; padding-left:8px; }
.step-num { font-family:var(--serif); font-size:15px; font-weight:600; color:var(--accent);
  letter-spacing:.06em; margin-bottom:10px; }
.step h3 { font-size:20px; margin-bottom:8px; }
.step p { font-size:16px; color:var(--text-body); line-height:1.55; margin:0; }

/* ---------- строка цифр экспертности ---------- */
.facts { display:flex; flex-wrap:wrap; gap:14px 32px; margin:26px 0; }
.facts .fact { display:flex; align-items:baseline; gap:9px; }
.facts .fact b { font-family:var(--serif); font-size:22px; color:var(--ink); font-weight:600; }
.facts .fact span { font-size:15px; color:var(--muted); }

/* ---------- каталог: секция рубрики ---------- */
.catsec { padding-top:12px; margin-top:40px; scroll-margin-top:90px; }
.catsec h2 { margin-bottom:6px; }
.catsec .catsec-note { font-size:15px; color:var(--muted); margin-bottom:20px; }

@media (max-width:720px){
  .site-foot-grid { gap:18px; }
  .cards, .steps { gap:16px; }
}

/* обложки статей в карточках */
.card-cover{overflow:hidden;border-radius:10px 10px 0 0;aspect-ratio:1200/630;background:var(--surface-deep)}
.card-cover img{width:100%;height:100%;object-fit:cover;display:block}
