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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: #fff;
  color: #111;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }
a:hover, a:focus-visible { color: #555; }

/* Home: one centred logo, small link at the bottom */
.home {
  display: flex;
  flex-direction: column;
}
.home main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.home h1 { margin: 0; line-height: 0; }
.logo-large {
  display: block;
  width: min(72vw, 560px);
  height: auto;
}
.home footer {
  padding: 16px;
  text-align: center;
  font-size: 13px;
}
.home footer a { color: #666; text-decoration: none; }
.home footer a:hover, .home footer a:focus-visible { color: #111; text-decoration: underline; }

/* Imprint and other text pages */
.page header { padding: 20px 24px; }
.logo-link { display: inline-block; line-height: 0; }
.logo-small { display: block; height: 22px; width: auto; }

.content {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 24px 64px;
}
.content h1 { font-size: 28px; line-height: 1.25; margin: 16px 0 32px; }
.content h2 { font-size: 17px; margin: 32px 0 6px; }
.content p { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 480px) {
  .page header { padding: 16px; }
  .content { padding: 16px 16px 48px; }
  .content h1 { font-size: 24px; margin-bottom: 24px; }
}
