/* Shared chrome for the legal pages. Design tokens from components/theme.js so
   the pages read as part of the product rather than a bolted-on afterthought. */

:root {
  --ink: #2a3242;
  --body: #454e63;
  --muted: #6e7787;
  --faint: #98a1b2;
  --canvas: #f6f7fa;
  --surface: #ffffff;
  --border: #e3e8f0;
  --accent: #c9b6f2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 48px 20px 96px;
  background: var(--canvas);
  color: var(--body);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 680px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.06);
}

.back a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.back a:hover {
  color: var(--ink);
}

h1 {
  margin: 20px 0 4px;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.4px;
  color: var(--ink);
}

h2 {
  margin: 36px 0 10px;
  font-size: 20px;
  line-height: 1.35;
  color: var(--ink);
}

h3 {
  margin: 24px 0 6px;
  font-size: 16px;
  color: var(--ink);
}

.meta {
  margin: 0 0 28px;
  color: var(--faint);
  font-size: 14px;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

strong {
  color: var(--ink);
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* The two statements that matter most: what the sensitive answers are for, and
   that this is not therapy. */
.callout {
  margin: 18px 0;
  padding: 16px 18px;
  background: var(--canvas);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  color: var(--ink);
}

@media (max-width: 520px) {
  body {
    padding: 24px 14px 64px;
  }

  main {
    padding: 28px 20px;
    border-radius: 16px;
  }

  h1 {
    font-size: 26px;
  }
}
