@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ground: #f4f5f2;
  --card: #ffffff;
  --ink: #1c2220;
  --ink-muted: #545c58;
  --line: #d9ddd7;
  --harbour: #1e5b85;
  --on-harbour: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #121614;
    --card: #1a201d;
    --ink: #eceeec;
    --ink-muted: #a9b1ad;
    --line: #2e3532;
    --harbour: #7fb3da;
    --on-harbour: #121614;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.55 "Figtree", system-ui, sans-serif;
}
main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}
h1, h2, h3, .wordmark {
  font-family: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  line-height: 1.2;
}
h1 { font-size: 2.1rem; margin: 0.5rem 0 0.75rem; }
h2 { font-size: 1.35rem; margin: 2.25rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.25rem; }
p, li { max-width: 40rem; }
ul { padding-left: 1.25rem; }
li { margin: 0.3rem 0; }
a { color: var(--harbour); font-weight: 600; }
a:focus-visible { outline: 3px solid var(--harbour); outline-offset: 2px; }
.wordmark {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--harbour);
  text-decoration: none;
}
.muted { color: var(--ink-muted); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}
table { border-collapse: collapse; width: 100%; margin: 0.75rem 0; }
th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px solid var(--line);
}
th { font-weight: 700; }
footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.95rem;
}
footer a { margin-right: 1rem; }
.hero { padding-top: 3rem; }
.hero h1 { font-size: 2.6rem; }
@media (max-width: 30rem) {
  h1 { font-size: 1.75rem; }
  .hero h1 { font-size: 2.1rem; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border-bottom: none; padding: 0.15rem 0; }
  tr { border-bottom: 1px solid var(--line); padding: 0.5rem 0; }
}
