/* SEC-2026-07-02: Fonts for /human-design/ (Variant 5 pick).
   Display:    Marcellus         — античная воздушность
   Body:       Cormorant Garamond — тонкая, изящная, читаемая
   Navigation, buttons внутри системного UI остаются в system-sans, чтобы
   элементы управления не теряли ясность и не выглядели «набранными». */

/* Base body → Cormorant Garamond. */
body {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif !important;
  font-size: 17.5px;
  line-height: 1.68;
}
body p, body li {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 17.5px;
  line-height: 1.68;
  font-weight: 400;
}
body a {
  font-family: inherit;
}

/* Display — все заголовки в Marcellus. */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Marcellus', 'Cormorant Garamond', serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.005em;
}
header h1 {
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: 0.005em;
}
header p {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
  font-style: italic;
}
h2 { font-size: 30px; line-height: 1.25; }
h3 { font-size: 22px; line-height: 1.3; }

/* CTA-кнопка — Marcellus, чуть больше разрядка, торжественность. */
.cta {
  font-family: 'Marcellus', serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.03em;
  font-size: 16px;
}

/* Меню и системный UI остаются в san-serif ради читаемости кнопок. */
.calc-nav,
.calc-nav *,
.calc-tabs,
.calc-tabs *,
.calc-form,
.calc-form *,
.hd-engage,
.hd-engage *,
button,
input,
select,
textarea {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif !important;
}

/* Overwrite после кнопки: содержимое CTA всё-таки в display. */
.cta, a.cta { font-family: 'Marcellus', serif !important; }

/* Списки — тем же кроем что и параграфы. */
ul li, ol li {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 17.5px;
  line-height: 1.65;
}

/* details/summary — используем тот же серифный семейный, но чуть плотнее. */
details, summary {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
}
summary { font-weight: 600; font-size: 17px; }

/* Мобильные — уменьшаем display размеры чтобы не «съезжали». */
@media (max-width: 640px) {
  header h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
  body, body p, body li, ul li, ol li { font-size: 17px; }
  header p { font-size: 18px; }
}
