:root {
  --paper: #ffffff;
  --ink: #16181c;
  /* both greys clear WCAG AA 4.5:1 on --paper at their rendered sizes */
  --muted: #5c6069;
  --faint: #6b7078;
  --rule: #d4d7dc;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #101113;
    --ink: #ecedef;
    --muted: #9498a0;
    --faint: #7d818a;
    --rule: #33363b;
  }
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem;
}

.card {
  width: 100%;
  max-width: 47rem;
  text-align: center;
}

.wordmark {
  margin: 0;
  font-size: clamp(1.5rem, 5.5vw, 2.125rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  /*
   * Letter-spacing adds a trailing gap, pulling centred glyphs half a space left.
   * Under text-align:center a text-indent shifts text by half its value, so the
   * indent must equal the full letter-spacing to recentre.
   */
  text-indent: 0.16em;
}

.rule {
  display: block;
  width: 3rem;
  height: 2px;
  margin: 1.75rem auto;
  background: var(--ink);
}

.tagline {
  margin: 0;
  font-size: clamp(0.75rem, 2.6vw, 0.875rem);
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  text-indent: 0.13em;
}

.email {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
}

.services {
  margin: 3.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.services dt {
  font-size: 0.9375rem;
  font-weight: 600;
}

.services dd {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

.legal {
  max-width: 36rem;
  margin: 3.5rem auto 0;
  font-size: 0.75rem;
  line-height: 1.75;
  color: var(--faint);
}

/* Links */

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover,
a:focus-visible {
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 1px;
}

@media (max-width: 46rem) {
  .services {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    max-width: 24rem;
    margin-inline: auto;
  }
}
