/* Rebuttal — "The Court Record".
   Same palette as the app: bond paper, court ink, verdict green. Serif for
   argument, mono for anything labelled or scored. */

:root {
  --bg-top:  rgb(244, 241, 234);
  --bg-bot:  rgb(236, 231, 219);
  --card:    rgb(255, 254, 249);
  --fill:    rgb(233, 225, 203);
  --ink:     rgb(29, 27, 22);
  --subtle:  rgb(110, 105, 94);
  --rule:    rgba(29, 27, 22, 0.18);
  --primary: rgb(26, 120, 71);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 1.25rem 4rem;
  background: linear-gradient(var(--bg-top), var(--bg-bot)) fixed;
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}

header, main, footer { max-width: 44rem; margin: 0 auto; }

header {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--rule);
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--subtle);
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.tagline {
  margin: 0.35rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--subtle);
}

section { margin: 2.5rem 0; }

h2 {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--subtle);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.05rem;
  margin: 2rem 0 0.5rem;
}

.lede {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0;
}

dl { margin: 0; }

dt {
  font-weight: 700;
  color: var(--primary);
  margin-top: 1.1rem;
}

dd { margin: 0.15rem 0 0; color: var(--ink); }

ul { padding-left: 1.15rem; margin: 0; }
li { margin-bottom: 0.5rem; }

.notice {
  background: var(--fill);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
}
.notice h2 { border-bottom: none; padding-bottom: 0; margin-bottom: 0.4rem; }
.notice p { margin: 0; }

.contact { font-size: 1.1rem; font-weight: 600; }

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

/* Privacy policy */

.updated {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  color: var(--subtle);
}

.short-version {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0 2.5rem;
}
.short-version p:first-child { margin-top: 0; }
.short-version p:last-child { margin-bottom: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}
th, td {
  text-align: left;
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
th {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--subtle);
}

/* Wide tables scroll inside their own box rather than the whole page. */
.scroll { overflow-x: auto; }

footer {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
}
footer p { margin: 0.3rem 0; }
.entity { color: var(--subtle); }

.back {
  display: inline-block;
  margin-top: 2.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
}
