/* Colours measured with scripts/contrast.py: text 7:1 or better on white and
   on --tint; --accent is a non-text bar at 3.3:1. */
:root {
  color-scheme: light;
  --ink: #1F1A24;
  --muted: #55505C;
  --brand: #3F0B78;
  --accent: #FE5000;
  --tint: #F6F2FB;
  --rule: #E4DDEE;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.masthead {
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid var(--rule);
  padding: 1.25rem 0;
}

.masthead img { display: block; height: 2.25rem; width: auto; margin: 0 auto; }

main { padding-top: 2.5rem; padding-bottom: 2rem; }

h1 {
  color: var(--brand);
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h2 {
  color: var(--brand);
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 2rem 0 0.5rem;
}

.hero { text-align: center; }

.lede { font-size: 1.1875rem; margin: 0 0 2rem; }

.clients {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.25rem 0 1.5rem;
  text-align: center;
}

.clients h2 {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.clients ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.clients li { margin: 0; }

.clients img { display: block; max-width: 100%; height: auto; }

p, ul { margin: 0 0 1rem; }

ul { padding-left: 1.25rem; }

li { margin-bottom: 0.25rem; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95em;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.check {
  background: var(--tint);
  border-left: 4px solid var(--brand);
  border-radius: 4px;
  margin: 2rem 0;
  padding: 1rem 1.25rem 0.25rem;
}

.check h2 { margin-top: 0; }

a { color: var(--brand); text-underline-offset: 0.15em; }

a:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

footer {
  color: var(--muted);
  text-align: center;
  font-size: 0.9375rem;
  padding-bottom: 2.5rem;
}

/* Inside the padding, so the rule lines up with the text. */
footer::before {
  content: "";
  display: block;
  border-top: 1px solid var(--rule);
  margin-bottom: 1.5rem;
}

.nowrap { white-space: nowrap; }
