/* House Sitter Report — legal & help (calm clay; not Pet green / not hot coral) */
:root {
  --primary: #a8725a;
  --primary-dark: #5c3d32;
  --primary-muted: #ede4dc;
  --text: #222222;
  --text-secondary: #3f3f3f;
  --muted: #6a6a6a;
  --bg: #f6f3ef;
  --surface: #ffffff;
  --border: #e0d8d0;
  --table-border: #c1c1c1;
  --max: 42rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

header {
  background: var(--primary);
  color: #fff;
  padding: 1.35rem 1.5rem 1.25rem;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}

header h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

header p {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  opacity: 0.95;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.5rem 2.5rem;
  background: var(--surface);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 1px 0 var(--border);
}

nav.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

nav.links a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
}

nav.links a:hover { text-decoration: underline; }

.doc-meta {
  margin: 0 0 1.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

article h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

article h2:first-child {
  margin-top: 0;
}

article p {
  margin: 0 0 0.85rem;
  color: var(--text-secondary);
}

article ul {
  margin: 0 0 0.85rem;
  padding-left: 1.35rem;
  color: var(--text-secondary);
}

article li {
  margin-bottom: 0.35rem;
}

article li:last-child {
  margin-bottom: 0;
}

article table.doc-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--table-border);
  font-size: 0.95rem;
  margin: 1rem 0 1.25rem;
}

article table.doc-table th,
article table.doc-table td {
  border: 1px solid var(--table-border);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

article table.doc-table thead th {
  background: #fff0f3;
  color: var(--primary-dark);
  font-weight: 700;
}

article table.doc-table tbody tr:nth-child(even) {
  background: #fffaf9;
}

.help-section {
  margin: 0 0 1.75rem;
  padding: 1.15rem 1.2rem 0.35rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fffaf9;
}

.help-section:last-child {
  margin-bottom: 0;
}

.help-section-label {
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.help-section h2:first-child {
  margin-top: 0;
}

.help-steps {
  margin: 0 0 0.85rem;
  padding-left: 1.35rem;
  color: var(--text-secondary);
}

.help-steps li {
  margin-bottom: 0.45rem;
}

.help-steps li:last-child {
  margin-bottom: 0;
}

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2rem;
  font-size: 0.82rem;
  color: var(--muted);
}
