/* "How this site was built": a short, quiet reading page.
   Same type as the rest of the site: Raleway for reading, small mono
   labels in burnt orange for section names. */

.notes {
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 24px 120px;
}

.notes .notes__label { margin: 0 0 14px; font-family: var(--font-label); font-size: 12px; line-height: normal; color: var(--color-signal-text); }

.notes__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.32px;
  margin: 0;
}

.notes .notes__lead {
  margin: 20px 0 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.2px;
}

.notes__section { margin-top: 72px; }

.notes__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-text);
  font-weight: 400;
}
.notes__heading::before {            /* the site's triangle */
  content: "";
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid var(--color-signal);
}

.notes__list { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; gap: 32px; }
.notes__list li { counter-increment: n; display: grid; grid-template-columns: 32px 1fr; column-gap: 8px; }
.notes__list li::before {
  content: counter(n, decimal-leading-zero);
  grid-row: span 2;
  padding-top: 5px;
  font-family: var(--font-label);
  font-size: 12px;
  color: var(--color-text-muted);
}
.notes__list h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
}

.notes p,
.notes__bullets li {
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 1.6;
}
.notes__section p { margin: 0 0 14px; }
.notes__list p { margin: 0; }

.notes__bullets { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.notes .notes__date { margin-top: 18px; color: var(--color-text-muted); }

.notes a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--color-signal);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.notes a:hover { color: var(--color-signal-text); }

@media (max-width: 640px) {
  .notes { padding-top: 56px; }
  .notes__title { font-size: 26px; }
  .notes .notes__lead { font-size: 18px; }
  .notes__list li { grid-template-columns: 1fr; }
  .notes__list li::before { grid-row: auto; padding: 0 0 4px; }
}
