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

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

:root {
  --sage: #78945e;
  --blush: #d59898;
  --petal: #faf0ec;
  /* The logo images are flattened onto this colour; re-export them if it changes. */
  --warm-white: #fdfcf9;
  --deep-green: #40563d;
  --font-serif: Georgia, "Liberation Serif", "Times New Roman", serif;
  --font-sans: Lato, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--warm-white);
  color: var(--deep-green);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

a {
  color: var(--deep-green);
  text-decoration-color: var(--blush);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

a:hover {
  text-decoration-color: var(--sage);
}

a:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 4px;
  border-radius: 2px;
}

.site-footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.9375rem;
}

/* Start page */

.home {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem 0;
}

.home h1 {
  margin: 0;
}

.home .logo {
  width: min(80vw, 62vh, 460px);
}

/* Privacy policy */

.site-header {
  display: flex;
  justify-content: center;
  padding: 2rem 1.5rem 0;
}

.site-header a {
  border-radius: 50%;
}

.policy {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2rem;
}

.policy h1 {
  margin: 0 0 0.25rem;
  font-family: var(--font-serif);
  font-size: clamp(2.125rem, 6vw, 2.75rem);
  line-height: 1.15;
}

.policy h2 {
  margin: 2.25rem 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.policy .updated {
  margin-top: 0;
  font-size: 0.9375rem;
}

.policy .summary {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 0.5rem;
  background-color: var(--petal);
}

.policy .summary h2 {
  margin-top: 0;
}

.policy .summary ul {
  margin-bottom: 0;
}

.policy ul {
  padding-left: 1.25rem;
}

.policy li + li {
  margin-top: 0.25rem;
}

.policy li::marker {
  color: var(--sage);
}

.policy code {
  padding: 0.1em 0.3em;
  border-radius: 0.25em;
  background-color: var(--petal);
  font-family: ui-monospace, Consolas, Menlo, monospace;
  font-size: 0.9em;
}
