/* Единая типографическая система сайта.
   PT Serif — только смысловые заголовки и имя адвоката.
   Onest — текст, интерфейс, подписи, кнопки и формы. */
:root {
  --font-heading: "PT Serif", Georgia, serif;
  --font-body: "Onest", Arial, sans-serif;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-body);
}

body {
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
.logo-text .name,
.brand b {
  font-family: var(--font-heading);
  font-weight: 700;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

button,
input,
select,
textarea {
  font-size: inherit;
  line-height: inherit;
}

small,
.label,
.eyebrow,
.doc-type,
.phone-label,
nav,
summary {
  font-family: var(--font-body);
}

@media (max-width: 560px) {
  body {
    line-height: 1.62;
  }
}
