/* The design system's colours, type and spacing (packages/ui/src/styles/tokens.css), copied for
   this one page so it needs nothing else; the font files are copied in by info.Dockerfile. */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/Figtree-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/Figtree-Bold.woff2") format("woff2");
}

:root {
  --paper: #ffffff;
  --ink: #0f1111;
  --ink-2: #4a5050;
  --line: #d5d9d9;
  --signal: #0b6e7f;
  --signal-ink: #075766;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 22px;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 48px 16px;
}

main {
  max-width: 440px;
}

h1 {
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 16px;
  color: var(--ink-2);
}

.lead {
  font-size: 19px;
  line-height: 24px;
  font-weight: 700;
  color: var(--ink);
}

a {
  color: var(--signal);
}

a:hover {
  color: var(--signal-ink);
}
