@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* Brand colours: ink #1D1F20, steel #5980A6, deep steel #1C2D3E,
   light steel #A9C1D9 (on dark), steel text #3F6388. */
:root {
  --paper: #ffffff;
  --ink: #1d1f20;
  --muted: #5a5f63;
  --rule: #d9dce0;
  --accent: #5980a6;
  --link: #3f6388;
  --grid: rgb(89 128 166 / 0.09);
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1c2d3e;
    --ink: #f2f2f3;
    --muted: #a9b6c4;
    --rule: #3a4e63;
    --accent: #a9c1d9;
    --link: #a9c1d9;
    --grid: rgb(169 193 217 / 0.07);
  }
}

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

html {
  height: 100%;
  color-scheme: light dark;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}

/* Faint table rules behind the page, fading out toward the edges. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-position: center;
  background-size: 112px 36px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 20%, transparent 100%);
}

main {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem 2rem;
  text-align: center;
}

/* The logo lockup: symbol, then the wordmark set in Barlow Bold at -20 tracking.
   Proportions follow the supplied roopoll-color artwork. */
.lockup {
  display: flex;
  align-items: flex-end;
  gap: 0.304em;
  margin: 0;
  color: var(--ink);
  font: 700 clamp(3.5rem, 2.25rem + 7vw, 7rem) / 1 var(--font);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.lockup picture {
  display: block;
}

.lockup .symbol {
  display: block;
  width: 1.087em;
  height: 1.087em;
}

.lockup .wordmark {
  /* Lifts the baseline so the letters' ink is centred on the symbol. */
  margin-bottom: 0.288em;
  line-height: 0.75;
}

.lockup.small {
  margin-bottom: 2.5rem;
  font-size: 2rem;
}

h1.small {
  margin: 0;
  font: 700 clamp(2.25rem, 1.75rem + 3vw, 3.5rem) / 1.1 var(--font);
  letter-spacing: -0.02em;
}

.tagline {
  max-width: 28ch;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font: 500 clamp(1.25rem, 1.05rem + 1vw, 1.625rem) / 1.35 var(--font);
  text-wrap: balance;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 2.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.875rem;
  text-align: left;
  text-decoration: none;
  text-wrap: balance;
}

.status::before {
  content: "";
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  /* Barlow's line box sits its letters low, so drop the dot onto the x-height centre. */
  translate: 0 0.14em;
}

a.status:hover {
  border-color: var(--accent);
}

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

footer {
  padding: 1.5rem 1rem 2rem;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}
