/* policy.css — shared styles for all policy/landing pages.
   Used by privacy.html, terms.html, ai-disclosure.html, sms-consent.html,
   data-policy.html, security-policy.html, incident-response.html.

   G-A11Y-6 / G-SEC-CSP follow-up: removing inline <style> blocks lets us
   drop 'unsafe-inline' from CSP style-src. */

body.policy-screen {
  background: var(--surface-base);
  color: var(--text-primary);
}

.policy-shell {
  max-width: 720px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.policy-shell h1 {
  font-family: 'Oswald', sans-serif;
  margin-bottom: 1rem;
}

.policy-shell h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.policy-shell h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.policy-shell p,
.policy-shell li {
  line-height: 1.6;
}

.policy-shell ul {
  padding-left: 1.5rem;
}

.policy-shell .meta {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.policy-shell .draft-banner {
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid #D4A853;
  color: #D4A853;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.policy-shell table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
}

.policy-shell th,
.policy-shell td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.policy-shell th {
  background: var(--surface-raised);
  font-weight: 600;
}

.policy-shell code {
  background: var(--surface-raised);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.95em;
}

.policy-shell .meta-related {
  margin-top: 3rem;
}

/* sms-consent.html only */
.policy-shell .consent-example {
  border-left: 3px solid var(--accent-blue);
  padding-left: 1rem;
  font-style: italic;
}
