:root {
  --cream: #fbf6ee;
  --surface: #fffdf9;
  --ink: #3b2f2a;
  --muted: #7a6a60;
  --border: #eadfd2;
  --accent: #e8795a;
  /* The accent as link text; the fill color is too light to read on cream. */
  --accent-text: #b34e37;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.55 'Rubik', system-ui, -apple-system, sans-serif;
}

main {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

h1,
h2 {
  font-family: 'Varela Round', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: 40px;
  margin: 12px 0;
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.critter {
  width: 180px;
  height: 180px;
}

.creatures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 8px 0 20px;
}

.creatures figure {
  margin: 0;
}

.creatures svg {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.creatures figcaption {
  font-size: 14px;
  color: var(--muted);
}

.code {
  font-size: 34px;
  letter-spacing: 6px;
  font-weight: 700;
  margin: 16px 0 4px;
}

.button {
  display: block;
  width: 100%;
  margin: 12px 0;
  padding: 16px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--border);
}

footer {
  margin-top: 48px;
  font-size: 14px;
  text-align: center;
}

footer a,
article a {
  color: var(--accent-text);
}

article blockquote {
  margin: 0;
  padding: 8px 16px;
  border-left: 3px solid var(--border);
  color: var(--muted);
}
