/* "The docket." Ledger-green plaque, ivory paper, brass, Caslon.
   Calm institutional authority: the steady hand for a nine-month job. */
@font-face {
  font-family: "Display";
  src: url("/assets/fonts/display.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #faf9f4;
  --paper-on-green: #f2efe4;
  --ink: #1c1b18;
  --green: #1e4d3b;
  --green-deep: #16382b;
  --brass: #a8802d;
  --rule: #dcd8cb;
  --muted: #63604f;
  --display: "Display", Georgia, "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; }
main, .masthead, .hero, .foot { max-width: 42rem; margin: 0 auto; padding: 0 1.25rem; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* green plaque */
.band { background: var(--green); color: var(--paper-on-green); }
.masthead {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 1.2rem; padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(242, 239, 228, .25);
}
.wordmark { font-family: var(--display); font-size: 1.2rem; letter-spacing: .02em; }
.tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); white-space: nowrap; }
@media (max-width: 32rem) { .tag { display: none; } }

.hero { padding-top: 3rem; padding-bottom: 3.25rem; }
h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.12;
  max-width: 17em;
}
.subhead { margin-top: 1.3rem; max-width: 36rem; font-size: 1.1rem; color: var(--paper-on-green); }
.reimb { margin-top: .8rem; font-size: .88rem; color: var(--paper-on-green); opacity: .85; }

/* CTA */
.cta, .get button {
  display: block; width: 100%;
  margin-top: 1.9rem;
  padding: 1rem 1.4rem;
  background: var(--brass);
  color: #fff;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.cta:hover, .get button:hover { background: #8f6b22; }
.cta.ink { background: var(--green); color: var(--paper-on-green); }
.cta.ink:hover { background: var(--green-deep); }

/* signature: the docket */
.docket {
  margin: -1.6rem auto 0;  /* overlaps the green plaque like a filed document */
  position: relative;
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 4px double var(--brass);
  box-shadow: 0 10px 24px rgba(28, 27, 24, .10);
  padding: 1.1rem 1.25rem 1.25rem;
}
.docket-head {
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  padding-bottom: .6rem; border-bottom: 1px solid var(--rule); margin-bottom: .3rem;
}
.docket ol { list-style: none; padding: 0; counter-reset: task; }
.entry {
  counter-increment: task;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .7rem;
  padding: .6rem 0; border-bottom: 1px solid var(--rule);
  font-size: .92rem;
}
.entry:last-child { border-bottom: 0; }
.entry::before { content: counter(task, decimal-leading-zero); font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.box { width: .8rem; height: .8rem; border: 1.5px solid var(--ink); flex: none; align-self: center; }
.entry.done .box { background: var(--brass); border-color: var(--brass); }
.entry.done .what { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--brass); }
.what { flex: 1 1 14rem; }
.chip {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--green); border: 1px solid var(--green); border-radius: 2px;
  padding: .1rem .35rem; white-space: nowrap; align-self: center;
}

/* ledger sections */
.sec { border-top: 3px double var(--rule); margin-top: 2.5rem; padding-top: 2rem; padding-bottom: .5rem; }
main .sec:first-of-type { border-top: 0; }
.eyebrow { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin-bottom: 1.2rem; }
.prose { max-width: 36rem; }

.ledger { list-style: none; padding: 0; max-width: 36rem; }
.ledger li { padding: .65rem 0 .65rem 1.4rem; border-bottom: 1px solid var(--rule); position: relative; }
.ledger li::before { content: "§"; position: absolute; left: 0; color: var(--brass); font-family: var(--display); }
.ledger li:last-child { border-bottom: 0; }

.faq { max-width: 36rem; }
.faq dt { font-family: var(--display); font-size: 1.15rem; margin-top: 1.4rem; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: .4rem 0 0; }

/* form */
.get form { max-width: 36rem; }
.get input[type="email"] {
  width: 100%;
  padding: .95rem 1rem;
  font: inherit;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}
.get button { margin-top: .75rem; }
.hp { position: absolute; left: -9999px; height: 1px; width: 1px; opacity: 0; }
.fine { margin-top: .8rem; font-size: .8rem; color: var(--muted); }

/* footer */
.foot {
  display: flex; justify-content: space-between;
  border-top: 3px double var(--rule);
  margin-top: 3rem; padding-top: 1.1rem; padding-bottom: 2.5rem;
  font-size: .8rem; color: var(--muted);
}
.foot a { color: var(--muted); }

@media (min-width: 46rem) {
  .hero { padding-top: 4.25rem; padding-bottom: 4rem; }
  .cta { display: inline-block; width: auto; min-width: 24rem; }
}
