body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
}
h1, h2, h3 {
  hyphens: manual;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--text-primary);
}
h1 {
  font-size: 27px;
  line-height: 1.22;
  font-weight: 900;
}
h2 {
  font-size: 23px;
  line-height: 1.3;
}
h3 {
  font-size: 18px;
  line-height: 1.35;
}
p {
  font-size: 16px;
  line-height: 1.7;
}
a {
  color: var(--text-secondary);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--accent-hover);
}
ul, ol, dl {
  padding: 0;
}
dd {
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  h1 {
    font-size: 38px;
    line-height: 1.16;
  }
  h2 {
    font-size: 30px;
  }
  h3 {
    font-size: 20px;
  }
}

@media (min-width: 1200px) {
  h1 {
    font-size: 44px;
    line-height: 1.12;
  }
  h2 {
    font-size: 34px;
  }
}
