/*
 * The public site's own stylesheet: the root page and every landing page.
 *
 * SEPARATE FROM legal/legal.css, which the three long documents keep. These
 * pages are a heading, a sentence and a control; the documents are ten thousand
 * words with a table of contents. Sharing one sheet would mean every landing
 * page carrying the typography of a policy.
 *
 * A FILE RATHER THAN A <style> BLOCK, and that is load-bearing. The landing
 * pages send `Content-Security-Policy: default-src 'none'; style-src 'self'`,
 * which permits this sheet and forbids an inline one — so the policy stays
 * strict enough to be worth sending.
 *
 * The palette is legal.css's, restated rather than imported: an @import would be
 * a second round trip on a page whose whole point is to render before the reader
 * has finished reading the mail that sent them.
 */
:root {
  color-scheme: dark;
  --canvas: #111310;
  --surface: #1b1e19;
  --ink: #f4f6ef;
  --muted: #afb5a7;
  --line: #3c4238;
  --lime: #b7f000;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
}

body {
  display: flex;
  min-width: 320px;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 2rem 1.25rem;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

main {
  width: 100%;
  max-width: 30rem;
}

.brand {
  color: var(--lime);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-decoration: none;
}

h1 {
  margin: 1.5rem 0 0;
  font-size: 1.75rem;
  line-height: 1.25;
}

p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.subject {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 600;
}

.open {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 0.875rem 2rem;
  border-radius: 999px;
  background: var(--lime);
  color: #111310;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.note {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}

nav {
  margin-top: 2rem;
  font-size: 0.875rem;
}

nav a {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  color: var(--muted);
}

a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
