/* Simple pages (terms, 404): the site's tokens, a quiet nav, readable prose.
   The landing page has its own stylesheet; this one is for everything else. */

@font-face {
  font-family: 'Magnet';
  src: url('/assets/fonts/Magnet-Medium.woff2') format('woff2'),
       url('/assets/fonts/Magnet-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 32px auto 0;
  padding: 0 20px 12px;
  font-size: 14px;
}

.page-logo { display: inline-flex; align-items: center; line-height: 0; }
.page-logo img { height: 26px; width: auto; display: block; }

.page-nav a { color: var(--clr-body); text-decoration: none; }
.page-nav a:hover { color: var(--clr-ink); }

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 96px;
}

.prose h1 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--clr-ink);
}

.prose h2 {
  margin: 40px 0 14px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--clr-ink);
}

.prose h3 {
  margin: 28px 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--clr-ink);
}

.prose p, .prose li { font-size: 16px; line-height: 1.7; }
.prose p { margin: 0 0 14px; }
.prose ol, .prose ul { margin: 0 0 20px; padding-left: 28px; }
.prose li { margin-bottom: 8px; }
.prose strong { font-weight: 600; color: var(--clr-ink); }
.prose a { color: var(--clr-brand); }

.prose-meta {
  margin: 0 0 40px;
  padding-bottom: 28px;
  font-size: 15px;
  color: var(--clr-quiet);
  border-bottom: 1px solid var(--clr-panel-line);
}

.definition-term { margin: 16px 0 4px !important; font-weight: 600; color: var(--clr-ink); }
.section-number { font-weight: 600; margin-right: 8px; }

.btn {
  display: inline-block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--clr-brand);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

/* Centred single message, for the 404. */
.page-center {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.page-center h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  color: var(--clr-ink);
}
.page-center p { margin: 0 0 24px; color: var(--clr-body); }

@media (max-width: 600px) {
  .prose h1 { font-size: 32px; }
  .page-center h1 { font-size: 44px; }
}
