/* The legal pages at getpoulpe.com.
   The ground and the colour scheme are the design system's, from
   assets/tokens.css, which design/make.py writes; the logo is its finished
   light or dark file, picked by the page. */

html {
  background: var(--pp-bg);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: var(--pp-text);
  font-family: var(--pp-font-text);
  font-size: var(--pp-size-4);
  line-height: var(--pp-leading);
}

img {
  display: block;
  width: min(300px, 100vw - 2 * var(--pp-space-6));
  height: auto;
}

a {
  color: var(--pp-accent-text);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--pp-accent-hover);
}

a:focus-visible {
  outline: 2px solid var(--pp-accent);
  outline-offset: 4px;
}

.brand, .doc {
  width: min(680px, 100% - 2 * var(--pp-space-6));
  margin-inline: auto;
}

.brand {
  padding-block: var(--pp-space-7);
}

.brand a {
  display: inline-block;
}

.brand img {
  width: 160px;
}

.doc {
  flex: 1;
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 0 var(--pp-space-6);
  font-size: var(--pp-size-7);
  line-height: var(--pp-leading-tight);
}

h2 {
  margin: var(--pp-space-7) 0 var(--pp-space-4);
  font-size: var(--pp-size-5);
  line-height: var(--pp-leading-snug);
}

p, ul {
  margin: 0 0 var(--pp-space-5);
}

ul {
  padding-left: var(--pp-space-6);
}

li + li {
  margin-top: var(--pp-space-3);
}

.lede, .doc-foot, footer {
  color: var(--pp-text-muted);
}

.doc-foot {
  margin-top: var(--pp-space-7);
  font-size: var(--pp-size-3);
}

footer {
  padding: var(--pp-space-6);
  font-size: var(--pp-size-2);
  text-align: center;
}

footer a {
  color: inherit;
}
