/* PurrSense Legal Pages — Shared Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #FF6B9D;
  --primary-soft: #FFF0F5;
  --text-dark: #1A1A2E;
  --text-mid: #555577;
  --text-light: #999BB0;
  --bg: #FAFAFA;
  --white: #FFFFFF;
  --border: #EEEEF5;
  --yellow-bg: #FFF8E1;
  --yellow-border: #FFE082;
  --yellow-text: #795548;
  --radius: 14px;
  --max-width: 780px;
}

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

/* Header */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.5px;
}
.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
nav a {
  font-size: 13px;
  color: var(--text-mid);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
nav a:hover, nav a.active { background: var(--primary-soft); color: var(--primary); }

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

.page-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.page-subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 40px;
}

/* Sections */
.section {
  margin-bottom: 36px;
}
.section h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-soft);
}
.section p, .section li {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}
.section ul, .section ol {
  padding-left: 20px;
  margin-top: 8px;
}
.section li { margin-bottom: 4px; }
.section p + p { margin-top: 10px; }

/* Placeholder boxes */
.placeholder {
  background: var(--yellow-bg);
  border: 1px solid var(--yellow-border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 8px 0 16px;
  font-size: 14px;
  color: var(--yellow-text);
  line-height: 1.6;
}
.placeholder::before {
  content: '✏️ ';
}

/* Info box */
.info-box {
  background: var(--primary-soft);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--text-mid);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
}
footer a { color: var(--primary); text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  main { padding: 32px 16px 60px; }
  .page-title { font-size: 22px; }
  nav a { font-size: 12px; padding: 5px 8px; }
}
