/* PetVet Legal Pages — Compact Apple-inspired style */
:root {
  --bg: #000;
  --text: #f5f5f7;
  --text-secondary: #a1a1a6;
  --link: #2997ff;
  --link-hover: #0a84ff;
  --divider: #2c2c2e;
  --card-bg: #1c1c1e;
  --max-width: 680px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

/* Header bar */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--divider);
}

.bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.home {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
}

.home:hover { color: var(--link); }

.logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.muted { 
  color: var(--text-secondary); 
  font-size: 13px;
}

/* Main content */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 48px;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 16px 0 8px;
}

h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin: 28px 0 10px;
  letter-spacing: -0.005em;
}

p {
  margin: 8px 0;
  line-height: 1.45;
}

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

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Table of contents */
.toc {
  background: var(--card-bg);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc strong {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.toc a {
  font-size: 14px;
  padding: 4px 0;
  display: block;
}

/* Sections */
section {
  margin: 24px 0;
  padding-top: 16px;
}

section:first-of-type {
  margin-top: 16px;
}

/* Lists */
ul, ol {
  margin: 10px 0 10px 20px;
  padding: 0;
}

li {
  margin: 6px 0;
  line-height: 1.45;
}

/* Card callouts */
.card {
  background: var(--card-bg);
  border: 1px solid var(--divider);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 12px 0;
}

.card p {
  margin: 6px 0;
}

.card strong {
  color: var(--text);
}

/* Footer */
footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
}

/* Mobile */
@media (max-width: 640px) {
  body { font-size: 13px; }
  h1 { font-size: 24px; }
  h2 { font-size: 17px; }
  main { padding: 20px 16px 40px; }
  .bar { padding: 10px 16px; }
}
