/*
 * The published beta documents: set like a printed notice, to be read
 * start to finish. One column, type doing the work, hairlines between
 * parts.
 */
:root {
  --paper: #fbfaf7;
  --ink: #1c1b19;
  --muted: #6b6760;
  --rule: rgba(28, 27, 25, 0.14);
  --link: #1f4f8f;
  --alarm: #b3261e;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161614;
    --ink: #ecebe6;
    --muted: #a19d95;
    --rule: rgba(236, 235, 230, 0.16);
    --link: #8db4e8;
    --alarm: #f2998f;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.075rem;
  line-height: 1.65;
}

.document {
  width: min(40rem, 100% - 2.5rem);
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.9rem;
}

.masthead a { color: var(--ink); font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }

h1 {
  margin: 2.25rem 0 0.4rem;
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.document-version {
  margin: 0 0 1.75rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
}

section { padding-top: 0.25rem; }
section + section { border-top: 1px solid var(--rule); margin-top: 2rem; padding-top: 1.5rem; }

h2 {
  margin: 0 0 0.6rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  letter-spacing: -0.005em;
}

h2 + .document-version { margin: -0.35rem 0 0.9rem; }

h3 { margin: 1.4rem 0 0.35rem; font-family: var(--sans); font-size: 0.95rem; }

p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

dl { margin: 0 0 1rem; }
dt { font-family: var(--sans); font-weight: 600; font-size: 0.95rem; margin-top: 0.9rem; }
dd { margin: 0.1rem 0 0; }

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

.lede { font-size: 1.2rem; line-height: 1.5; }

.path { font-family: var(--sans); font-size: 0.95em; font-weight: 600; white-space: nowrap; }

.colophon {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
}

.colophon a { color: var(--muted); margin-right: 1rem; }

/* The Interest page's form. */
form { font-family: var(--sans); font-size: 0.95rem; display: grid; gap: 1rem; margin: 1.25rem 0; }
label { display: grid; gap: 0.3rem; font-weight: 600; }
label .optional { font-weight: 400; color: var(--muted); }
input[type="email"], input[type="text"], select, textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 0.45rem 0;
  border-radius: 0;
}
textarea { border: 1px solid var(--rule); padding: 0.5rem; min-height: 6rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--link); outline-offset: 2px; }
label.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; }
button {
  justify-self: start;
  font: inherit;
  font-weight: 700;
  padding: 0.65rem 1.2rem;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  cursor: pointer;
}
button:disabled { opacity: 0.55; cursor: default; }
.status { color: var(--alarm); margin: 0; }
