:root {
  --background: #f4efe6;
  --paper: #f8f3ea;
  --ink: #171513;
  --muted: #5e554d;
  --rule: #d8cdbd;
  --accent: #6f1d1b;
  --max: 76ch;
  --wide: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.62;
}

body {
  margin: 0;
  background: var(--background);
}

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

a:hover,
a:focus {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: var(--paper);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--rule);
}

.skip-link:focus {
  left: 1rem;
  z-index: 10;
}

.site-header {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.15rem 1.25rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--rule);
}

.brand {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-end;
  font-size: 0.88rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.active {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.22em;
}

main {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 4rem 1.25rem 5rem;
}

.report {
  max-width: var(--max);
}

.report-wide {
  max-width: 88ch;
}

.eyebrow {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  letter-spacing: -0.055em;
  max-width: 12ch;
}

.field-note h1,
.narrow-title {
  font-size: clamp(2rem, 5vw, 4.1rem);
  max-width: 15ch;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  margin-top: 3.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.18rem;
  margin-top: 2.25rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

.lede {
  font-size: clamp(1.15rem, 2.25vw, 1.45rem);
  line-height: 1.45;
  color: var(--ink);
}

.muted {
  color: var(--muted);
}

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 3rem 0;
}

.indented-list {
  margin: 1.5rem 0 2rem 1.5rem;
  padding: 0 0 0 1rem;
  border-left: 1px solid var(--rule);
}

.indented-list p {
  margin: 0.35rem 0;
}

.numbered-section {
  border-top: 1px solid var(--rule);
  padding-top: 1.65rem;
  margin-top: 1.65rem;
}

.section-number {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button,
button {
  display: inline-block;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 0.68rem 0.95rem;
  font-family: inherit;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus,
button:hover,
button:focus {
  border-color: var(--accent);
  color: var(--accent);
}

.text-link {
  display: inline-block;
  padding: 0.68rem 0;
}

.case-index {
  margin-top: 2.5rem;
  border-top: 1px solid var(--rule);
}

.case-row {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.case-row a {
  text-decoration-thickness: 1px;
}

.case-number,
.case-date,
.date-stamp {
  color: var(--muted);
  font-size: 0.9rem;
}

.open-questions {
  margin: 2rem 0;
  padding: 1rem 0 0 1.25rem;
  border-left: 1px solid var(--rule);
}

.price {
  font-size: 2.25rem;
  line-height: 1;
  margin: 1rem 0;
}

.form-shell {
  max-width: 72ch;
}

.form-intro {
  margin-bottom: 3rem;
}

.form-question {
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
}

.form-question label,
.form-question legend {
  display: block;
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.form-question .help {
  color: var(--muted);
  margin-bottom: 1rem;
}

textarea,
input {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 0.75rem 0;
  border-radius: 0;
}

textarea {
  min-height: 8rem;
  border: 1px solid var(--rule);
  padding: 0.9rem;
  resize: vertical;
}

textarea:focus,
input:focus {
  outline: 2px solid transparent;
  border-color: var(--accent);
  box-shadow: 0 1px 0 var(--accent);
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  max-width: var(--max);
}

@media (max-width: 820px) {
  html {
    font-size: 16px;
  }

  .site-header {
    display: block;
  }

  .site-nav {
    justify-content: flex-start;
    margin-top: 0.75rem;
  }

  main {
    padding-top: 2.75rem;
  }

  .case-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
