/* Residual Desk: one stylesheet, no external fonts or assets (CSP: self only). */
:root {
  --bg: #fbfaf7; --fg: #1c1d1f; --muted: #5d6066; --line: #dcd9d2;
  --accent: #1f5f4a; --accent-fg: #ffffff; --panel: #f1efe9; --bad: #9b2c2c;
  --measure: 46rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141517; --fg: #e8e6e1; --muted: #a3a6ab; --line: #34363a;
    --accent: #6fbf9f; --accent-fg: #0d1f19; --panel: #1d1f22; --bad: #f08a8a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 16px; }
a { color: var(--accent); }
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: baseline; padding-top: 1rem; padding-bottom: 1rem; }
.brand { font-weight: 700; text-decoration: none; color: var(--fg); margin-right: auto; }
nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .95rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
main { padding-top: 2rem; padding-bottom: 3rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 1rem; }
h2 { font-size: 1.3rem; margin: 2.25rem 0 .5rem; }
.table-wrap { overflow-x: auto; margin: 1rem 0; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .85rem; color: var(--muted); font-weight: 600; }
.pricing .price { white-space: nowrap; font-weight: 600; }
.callout { background: var(--panel); border-left: 4px solid var(--accent); padding: .75rem 1rem; font-weight: 600; }
.rd-form { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 1.25rem; margin: 1.5rem 0; display: grid; gap: .35rem; }
.rd-form label { font-weight: 600; font-size: .95rem; margin-top: .5rem; }
.rd-form .opt { font-weight: 400; color: var(--muted); }
.rd-form input, .rd-form textarea {
  font: inherit; color: var(--fg); background: var(--bg);
  border: 1px solid var(--line); border-radius: 6px; padding: .55rem .65rem; width: 100%;
}
.rd-form button {
  margin-top: 1rem; justify-self: start; font: inherit; font-weight: 600;
  background: var(--accent); color: var(--accent-fg); border: 0; border-radius: 6px; padding: .65rem 1.1rem; cursor: pointer;
}
.rd-form button[disabled] { opacity: .6; cursor: progress; }
.form-status { margin: .5rem 0 0; min-height: 1.6em; }
.form-status.err { color: var(--bad); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; padding: 1.5rem 0 2.5rem; }
