/* One stylesheet, no preprocessor, no framework, no web fonts.
   A web font would be a third-party request, which would make the "loads
   nothing from anyone else's server" line on the page untrue. */

:root {
  --ink: #14161a;
  --ink-soft: #4a5058;
  --paper: #fdfdfc;
  --line: #dcdad4;
  --accent: #1c4f8b;
  --accent-ink: #ffffff;
  --self: #f3f6fb;
  --measure: 38rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8e6e1;
    --ink-soft: #a7a49d;
    --paper: #16181b;
    --line: #32363c;
    --accent: #7fb2f0;
    --accent-ink: #10141a;
    --self: #1e232b;
  }
}

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

body {
  margin: 0;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

.skip {
  position: absolute; left: -9999px;
}
.skip:focus {
  left: 1rem; top: 1rem; z-index: 10;
  background: var(--accent); color: var(--accent-ink);
  padding: .5rem .75rem; border-radius: 4px;
}

header.site, main, footer.site {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1.25rem;
}

header.site {
  display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap;
  padding-top: 2rem; padding-bottom: 1rem;
}
.wordmark {
  font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none;
}
.tagline { color: var(--ink-soft); font-size: .9rem; }

section { padding: 2.5rem 0; border-top: 1px solid var(--line); }
section:first-child { border-top: 0; padding-top: 1rem; }

h1 { font-size: 2.1rem; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .75rem; }
h2 { font-size: 1.35rem; line-height: 1.25; margin: 0 0 .75rem; letter-spacing: -.01em; }
h3 { font-size: 1rem; margin: 1.75rem 0 .35rem; }
p { margin: 0 0 1rem; }
.lede { font-size: 1.1rem; color: var(--ink-soft); }
.fine { font-size: .85rem; color: var(--ink-soft); }
a { color: var(--accent); }

.cta {
  display: inline-block; margin: .5rem 0;
  background: var(--accent); color: var(--accent-ink);
  padding: .7rem 1.15rem; border-radius: 5px;
  font-weight: 600; text-decoration: none;
}
.cta:hover { opacity: .9; }

/* Tables carry the two claims the page rests on, so they get to be readable
   before they get to be pretty. */
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-variant-numeric: tabular-nums; }
caption { caption-side: bottom; text-align: left; padding-top: .6rem; font-size: .85rem; color: var(--ink-soft); }
th, td { text-align: left; padding: .5rem .4rem; border-bottom: 1px solid var(--line); }
thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
tbody th { font-weight: 600; }
/* Right-alignment is for the numeric leaderboard and methodology tables only —
   the privacy page's prose table (Data / Why / Lawful basis) needs to stay
   left-aligned to read as sentences, not numbers. */
.board td, .methodology td { text-align: right; }
th:first-child, td:first-child { text-align: left; }
tr.self { background: var(--self); }

blockquote {
  margin: 1.5rem 0; padding: .25rem 0 .25rem 1rem;
  border-left: 3px solid var(--line); color: var(--ink-soft); font-style: italic;
}
.aside { font-size: .9rem; color: var(--ink-soft); }

.steps { padding-left: 1.2rem; }
.steps li { margin-bottom: .75rem; }

/* Form */
form { margin-top: 1rem; }
label { display: block; font-weight: 600; font-size: .9rem; margin: 1rem 0 .3rem; }
input[type=email], input[type=text], textarea {
  width: 100%; padding: .6rem .7rem; font: inherit;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 5px;
}
input:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
fieldset { border: 0; padding: 0; margin: 1rem 0 0; }
legend { font-weight: 600; font-size: .9rem; padding: 0; }
label.radio { font-weight: 400; display: flex; gap: .5rem; align-items: center; margin: .4rem 0 0; }
label.radio input { width: auto; }
button {
  margin-top: 1.25rem; font: inherit; font-weight: 600; cursor: pointer;
  background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 5px; padding: .7rem 1.4rem;
}

/* The honeypot. Off-screen rather than display:none — bots skip what is
   hidden and fill in what is merely out of view. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.legal h2 { margin-top: 2rem; }
.legal ul { padding-left: 1.2rem; }

footer.site {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem; padding-bottom: 3rem;
  font-size: .9rem; color: var(--ink-soft);
}
footer.site p { margin: 0 0 .4rem; }
