/* Shared by both language versions. Colours: docs/brand.md. */
:root {
  --blue: #005ca9;
  --text: #1d1d1b;
  --muted: #5f5f5f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--text);
  /* System fonts only: nothing is loaded from other servers (ADR-0004). */
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
}
.home { font-weight: 600; text-decoration: none; }
.lang { margin-left: auto; font-weight: 600; text-decoration: none; }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 40px;
  text-align: center;
}
/* Full width, so the logo's 100% means the screen width, not the image's own width. */
h1 { margin: 0; width: 100%; }
.logo { display: block; width: min(560px, 100%); height: auto; margin: 0 auto; }
.tagline { margin: 28px 0 0; font-size: 1.125rem; color: var(--muted); }

/* Text pages: legal pages, 404 */
.text { width: 100%; max-width: 42rem; text-align: left; }
.text h1 { font-size: 1.75rem; line-height: 1.25; margin-bottom: 0.75em; }
.text h2 { font-size: 1.125rem; margin: 1.75em 0 0.25em; }
.text p { margin: 0.5em 0; }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding: 20px 16px 28px;
  font-size: 0.9375rem;
}
