* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-body);
  letter-spacing: 0;
}

body {
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

/* Unbounded — заголовки страниц и разделов. Он широкий, поэтому заголовки
   записей в узких карточках (h3) набраны Golos Text: иначе слова рвутся. */
h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

h3 {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  margin-bottom: var(--space-3);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--color-accent-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

code,
.technical-label {
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
}

.eyebrow {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-bottom: var(--space-2);
  color: var(--color-accent-text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
}

a.eyebrow--back {
  text-decoration: none;
}

a.eyebrow--back:hover {
  color: var(--color-text);
}

.page-lead,
.page-heading__description,
.secondary-text {
  color: var(--color-ink-soft);
}

.page-lead {
  max-width: 62ch;
  margin-bottom: 0;
  font-size: 15px;
}

.display-sample {
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.technical-label {
  color: var(--color-text-secondary);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
