/* PeopleOwl legal pages — minimal stylesheet */

:root {
  --teal:       #1a3d4a;
  --teal-soft:  #2c5566;
  --cream:      #f5f1e8;
  --bg:         #faf8f2;
  --text:       #1a2630;
  --text-soft:  #5a6670;
  --rule:       #d8cfb8;
  --max-width:  680px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding: 24px 20px 80px;
  min-height: 100vh;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Header — brand mark */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
  overflow: hidden;
}

.brand-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: -0.01em;
}

.brand a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

/* Page title */
h1 {
  font-size: 28px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.subtitle {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 32px;
}

/* Section headings */
h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--teal);
  margin-top: 36px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

h2:first-of-type {
  margin-top: 0;
}

h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-top: 20px;
  margin-bottom: 8px;
}

/* Body */
p {
  margin-bottom: 14px;
}

ul, ol {
  margin-bottom: 14px;
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

strong {
  font-weight: 600;
  color: var(--text);
}

em {
  font-style: italic;
}

/* Capslock paragraphs (legal disclaimers) — slightly smaller, looks like a notice */
.caps {
  font-size: 14px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 18px 0;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  line-height: 1.5;
}

.caps strong {
  color: var(--teal);
}

/* Links */
a {
  color: var(--teal-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--teal);
}

/* Footer */
footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--text-soft);
}

footer p {
  margin-bottom: 6px;
}

footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

/* Form (opt-out page) */
.form-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.field .hint {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 8px;
  font-weight: 400;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--rule);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--teal);
}

.field textarea {
  min-height: 80px;
  resize: vertical;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.btn:hover {
  background: var(--teal-soft);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

/* Index page — list of doc cards */
.doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.doc-list li {
  margin-bottom: 0;
  border-bottom: 1px solid var(--rule);
}

.doc-list li:last-child {
  border-bottom: none;
}

.doc-list a {
  display: block;
  padding: 18px 4px;
  text-decoration: none;
  color: var(--text);
}

.doc-list a:hover {
  color: var(--teal);
}

.doc-list .doc-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 4px;
}

.doc-list .doc-desc {
  font-size: 14px;
  color: var(--text-soft);
}

/* FAQ on opt-out page */
.faq {
  margin-top: 32px;
}

.faq h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.faq p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 16px;
}

/* Notice — a callout for "draft" or "not yet active" warnings */
.notice {
  background: #fff8e8;
  border: 1px solid #e8d090;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  color: #7a5a10;
  margin: 24px 0;
}
