/* Nuvella legal and support site. Palette from docs/BRAND.md: evergreen ink on
   warm ivory, terracotta only as decoration (it is not an alert colour). */
:root {
  --bg: #F4F1E9;
  --surface: #FFFFFF;
  --ink: #192C29;
  --muted: #4A5A56;
  --rule: #DCE5D4;
  --link: #1F5C52;
  --accent: #C87650;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #192C29;
    --surface: #213A36;
    --ink: #F4F1E9;
    --muted: #C9D2CC;
    --rule: #34504B;
    --link: #F0B48F;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
header, main, footer { max-width: 720px; margin: 0 auto; padding: 0 16px; }
header { padding-top: 24px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.brand {
  font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.brand::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 6px;
  border-radius: 50%; background: var(--accent); vertical-align: middle; }
nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; padding: 6px 0; }
nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
main { padding-top: 16px; padding-bottom: 32px; }
h1 { font-size: 30px; line-height: 1.2; margin: 16px 0 4px; }
h2 { font-size: 21px; margin: 32px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 4px; }
p, li { color: var(--ink); }
.lede { font-size: 19px; color: var(--muted); }
.meta { color: var(--muted); font-size: 15px; margin-top: 0; }
a { color: var(--link); text-underline-offset: 2px; }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px;
  padding: 4px 16px; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
th, td { text-align: left; vertical-align: top; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--rule); }
th { font-weight: 600; }
.table-wrap { overflow-x: auto; }
footer { border-top: 1px solid var(--rule); padding-top: 16px; padding-bottom: 32px;
  font-size: 14px; color: var(--muted); }
footer a { color: var(--muted); }
