*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--t1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  margin: 0 0 0.5em;
}

code,
pre,
kbd,
samp {
  font-family: var(--font-mono);
}

/* The handoff's type scale (design-handoff/README.md "Type"): headings tight,
   body 13-15, meta 11-12.5. Utilities rather than element rules so a page can
   put an h1 in a card at .h2 size without fighting the cascade. */
.h1 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.15;
  margin: 0;
}

.h2 {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin: 0;
}

.lede {
  font-size: 14.5px;
  color: var(--t2);
  margin: 0;
}

.meta {
  font-size: 12.5px;
  color: var(--t3);
  margin: 0;
}

.mono {
  font-family: var(--font-mono);
}

.center {
  text-align: center;
}
