@font-face {
  font-family: "flux-architect";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/flux-architect.ttf") format("truetype");
}

/* Markdown paragraphs inherit the visual language of the original tutorial pages. */
.stage > p:not([class]) {
  max-width: 960px;
  margin: 12px auto 0;
  color: #343b49;
  font-size: 18px;
  line-height: 1.72;
}

.stage > p:not([class]) + p:not([class]) {
  margin-top: 9px;
}

.katex-display {
  margin: 12px 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0;
}

.eqn .katex-display {
  margin: 0;
}

.stage > p:has(> .katex-display) {
  max-width: none;
  padding-inline: 0;
}

header h1 {
  padding: 0 12px;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  color: #6f7685;
  font-size: 14px;
}

.article-meta a {
  color: inherit;
  text-decoration: none;
}

.article-meta a:hover {
  color: #ef476f;
  text-decoration: underline;
}

header {
  position: relative;
}

header .site-brand {
  position: absolute;
  top: 35px;
  left: 30px;
  color: #1f2430;
  font-family: "flux-architect", sans-serif;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -.15px;
  text-decoration: none;
}

header .site-brand:hover {
  color: #ef476f;
}

@media (max-width: 640px) {
  header {
    padding-top: 70px;
  }

  header .site-brand {
    top: 22px;
    left: 20px;
  }

  header h1 span {
    display: block;
    margin-top: 5px;
  }
}
