/*
 * The privacy policy and terms of use (cloudflare/privacy.html, cloudflare/terms.html): long text
 * in one readable column, in the landing page's colors and system fonts.
 */

:root {
  color-scheme: light dark;
  --paper: #ffffff;
  --wash: #f1f5ff;
  --ink: #18234f;
  --ink-soft: #4a5378;
  --line: rgba(24, 35, 79, 0.12);
  --link: #2a5bd7;
  --beak: #ff9d45;
  --todo: #fff1a8;
  --display: ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0c1230;
    --wash: #131b42;
    --ink: #eef2ff;
    --ink-soft: #a9b3d6;
    --line: rgba(238, 242, 255, 0.14);
    --link: #9bbcff;
    --todo: #6b5a00;
  }
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 3px solid var(--beak);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 48px, 760px);
  margin-inline: auto;
}

.top {
  display: flex;
  align-items: center;
  padding-block: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font: 800 1.25rem/1 var(--display);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
}

.legal {
  padding-block: 24px 72px;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  margin-top: 48px;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h2 + * {
  margin-top: 12px;
}

p,
ul {
  margin: 16px 0 0;
}

ul {
  padding-left: 1.25em;
}

li + li {
  margin-top: 8px;
}

.updated {
  margin-top: 12px;
  color: var(--ink-soft);
}

/* The short version, before the details. */
.summary {
  margin-top: 32px;
  padding: 20px 24px 24px;
  border-radius: 20px;
  background: var(--wash);
}

.summary h2 {
  margin-top: 0;
  font-size: 1.1875rem;
}

/* Details the operator still has to fill in. Nothing here should be left before launch. */
mark[data-todo] {
  padding: 0 4px;
  border-radius: 4px;
  background: var(--todo);
  color: inherit;
}

.foot {
  padding-block: 28px 40px;
  border-top: 2px solid var(--line);
}

.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.foot p {
  margin: 0;
}

@media (max-width: 520px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .summary {
    padding-inline: 18px;
  }
}
