:root {
  --bg: #ffffff;
  --ink: #222222;
  --muted: #666666;
  --rule: #dddddd;
  --link: #2255cc;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1b1d;
    --ink: #dedede;
    --muted: #9a9a9a;
    --rule: #3a3a3d;
    --link: #7aa2f7;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 2.5rem 1.25rem 5rem;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}

main {
  max-width: 800px;
  margin: 0 auto;
}

h1 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  margin: 0 0 1.5rem;
}

.intro {
  margin: 0 0 2.75rem;
}

.entry {
  margin: 0 0 2rem;
}

.entry h2 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.3rem;
}

.entry h2 a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.entry h2 a:hover,
.entry h2 a:focus {
  color: var(--link);
}

.byline {
  color: var(--muted);
  margin: 0;
}

.context {
  color: var(--muted);
  margin: 0;
}

/* top margin lives here so an entry with no vouch yet ends tight */
.vouch {
  margin: 0.6rem 0 0;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.submit {
  border-top: 1px solid var(--rule);
  padding-top: 2.25rem;
  margin-top: 3.5rem;
}

.submit h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.submit > p {
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.field {
  margin: 0 0 1.1rem;
  max-width: 34rem;
}

label {
  display: block;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

label .opt {
  text-transform: none;
  letter-spacing: 0;
}

input,
textarea {
  width: 100%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.55rem 0.65rem;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--link);
  outline-offset: -1px;
  border-color: transparent;
}

textarea {
  min-height: 5.5rem;
  resize: vertical;
}

button {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--link);
  border: 0;
  border-radius: 2px;
  padding: 0.7rem 1.4rem;
  cursor: pointer;
}

button:hover { opacity: 0.85; }

footer {
  border-top: 1px solid var(--rule);
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* honeypot: off-screen, never focusable, no JS */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
