/* The imprint and the privacy policy, in the home page's colours. The home page has its own stylesheet (home.css). */
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/site/InstrumentSans_400Regular.ttf?v=a22cb26e") format("truetype"); }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/site/InstrumentSans_500Medium.ttf?v=55c9b7e8") format("truetype"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/site/InstrumentSans_600SemiBold.ttf?v=cb223170") format("truetype"); }

:root {
  color-scheme: dark;
  --bg-top: #10141b;
  --bg-bottom: #06080b;
  --ink: #eef1f5;
  --soft: #8f98a5;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg-top: #eef1f5;
    --bg-bottom: #dce2e9;
    --ink: #111620;
    --soft: #566071;
  }
}

* { box-sizing: border-box; }
html { background: var(--bg-bottom); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-bottom);
  background-image: linear-gradient(to bottom, var(--bg-top), var(--bg-bottom));
  background-attachment: fixed;
  color: var(--ink);
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}
main, footer { width: 100%; max-width: 34rem; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
main { flex: 1; padding-top: 3.5rem; padding-bottom: 2rem; }

h1 { margin: 0 0 1.5rem; font-size: clamp(1.75rem, 7vw, 2.25rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; overflow-wrap: break-word; hyphens: auto; }
h2 { hyphens: auto; overflow-wrap: break-word; margin: 2.5rem 0 0.75rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.5rem; }
.muted { color: var(--soft); }
.muted a { color: inherit; }

a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

footer { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding-top: 1.5rem; padding-bottom: 2.5rem; color: var(--soft); font-size: 0.9375rem; }
footer a { color: var(--soft); }
footer a:hover, footer a:focus-visible { color: var(--ink); }

@media (min-width: 40rem) {
  main { padding-top: 5rem; }
  h1 { font-size: 2.25rem; }
}
