/* Pet Sitter Report — legal & help pages on yata.cc */
:root {
  --primary: #2d6a4f;
  --primary-dark: #1b4332;
  --text: #1f2937;
  --text-secondary: #4b5563;
  --bg: #f8faf9;
  --border: #d8e2dc;
  --max: 42rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

header {
  background: var(--primary);
  color: #fff;
  padding: 1.5rem 1.5rem 1.35rem;
}

header h1 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

header p {
  margin: 0.4rem 0 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 0.88rem;
  opacity: 0.92;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.5rem 2.5rem;
  background: #fff;
  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-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 0.88rem;
}

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

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

.doc-meta {
  margin: 0 0 1.75rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

article h2 {
  margin: 2rem 0 0.65rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
}

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;
}

/* Help page — group content by app tab */
.help-section {
  margin: 0 0 1.75rem;
  padding: 1.15rem 1.2rem 0.35rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fbfdfc;
}

.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-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.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-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
