/* The button: a cobalt block with the heavy rule and a small hard shadow, for the one thing a
   form or a page is there to do. */
.button {
  background: var(--color-cobalt);
  border: var(--rule-heavy);
  border-radius: 0;
  box-shadow: var(--shadow-hard-small);
  color: var(--color-paper);
  cursor: pointer;
  display: inline-block;
  font-family: var(--font-family-display);
  font-size: var(--step--1);
  font-weight: var(--font-weight-black);
  letter-spacing: var(--letter-spacing-label);
  line-height: var(--line-height-tight);
  padding: var(--space-2xs) var(--space-s);
  text-decoration: none;
  text-transform: uppercase;
}

/* Pressed: the block moves onto its shadow, the one bit of motion a button gets. */
.button:active {
  box-shadow: none;
  translate: var(--shadow-offset-small) var(--shadow-offset-small);
}

/* A button that reads as a link, for an action that is not the point of the page: signing out
   from the masthead. Its color comes from wherever it sits. */
.button-plain {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  padding: 0;
  text-decoration: underline;
  text-transform: inherit;
}
