* {
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4,
.breadcrumb,
.topbar-actions,
.hub-card,
.chapter-spur,
.slide-nav,
.content-meta,
.block-label {
  font-family: var(--font-ui);
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 16px;
  font-size: 2.25rem;
}

h2 {
  margin: 36px 0 14px;
  font-size: 1.45rem;
}

p {
  margin: 0 0 16px;
}

ul,
ol {
  margin: 0 0 18px 1.3rem;
  padding: 0;
}

