/* Feldstead — one stylesheet, system fonts only, no external requests. */

:root {
  --ink: #1c1c1a;
  --muted: #55534e;
  --rule: #c9c5bc;
  --paper: #f7f5f0;
  --measure: 34rem;
}

* { box-sizing: border-box; }

html {
  font-size: 112.5%; /* 18px */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Charter, "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  line-height: 1.55;
}

.page {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

/* Nameplate */
.nameplate {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.75rem;
  margin-bottom: 4.5rem;
}
.wordmark {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.descriptor {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  font-size: 1.9rem;
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 1.75rem;
}

h2 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
}

section { margin-bottom: 3rem; }
section.top { margin-bottom: 4rem; }

p { margin: 0 0 1.1rem; }

.terms { margin: 0; }
.terms dt { font-weight: 700; }
.terms dd { margin: 0 0 1.1rem; }

.contact {
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
}

.colophon {
  border-top: 2px solid var(--ink);
  margin-top: 4rem;
  padding-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.colophon p { margin: 0; }
.colophon a, .wordmark a { color: inherit; text-decoration: none; }

/* Unanswered items: visible on purpose until filled. */
.tbd { background: #ece7da; }

.lede { font-size: 1.1rem; }

a { color: var(--ink); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

@media (max-width: 30rem) {
  html { font-size: 106.25%; } /* 17px */
  .page { padding-top: 2rem; }
  .nameplate { margin-bottom: 3rem; }
  h1 { font-size: 1.6rem; }
}

@media print {
  @page { size: auto; margin: 18mm 20mm; }
  html { font-size: 11pt; }
  body { background: none; color: #000; }
  .page { max-width: none; padding: 0; }
  .nameplate { margin-bottom: 1.25rem; }
  h1 { font-size: 1.7rem; margin-bottom: 0.75rem; }
  .lede { font-size: 1.05rem; }
  section, section.top { margin-bottom: 1rem; break-inside: avoid; }
  h2 { margin-bottom: 0.35rem; }
  p, .terms dd { margin-bottom: 0.5rem; }
  .contact { padding-top: 0.75rem; }
  .colophon { margin-top: 1.25rem; color: #000; }
  .screen-only { display: none; }
  a { color: #000; text-decoration: none; }
}
