/* Privacy and Terms. Same stock and the same two families as the landing —
   these pages are read by App Review and by anyone who wants to check we are
   serious, so they get the typography, not a bare document. */

.legal-page {
  padding: 32px 0 88px;
}

.legal-container {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.legal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--rule);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.15s ease;
}

.legal-back:hover { color: var(--ochre-text); }

.legal-header {
  padding-bottom: 26px;
  margin-bottom: 34px;
  border-bottom: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-title {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.1;
}

.legal-meta {
  font-size: 14px;
  font-weight: 600;
  color: var(--ochre-text);
}

.legal-content {
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legal-content h2 {
  margin-top: 26px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
}

.legal-content h3 {
  margin-top: 14px;
  font-size: 18px;
  color: var(--ink);
}

.legal-content ul,
.legal-content ol {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-content strong { color: var(--ink); font-weight: 600; }

.legal-content a {
  color: var(--ochre-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  padding: 18px 20px;
  background: var(--paper-2);
  border-left: 3px solid var(--ochre);
  border-radius: 0 3px 3px 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
}

.legal-foot {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
  color: var(--ink-3);
}

.legal-foot a { transition: color 0.15s ease; }
.legal-foot a:hover { color: var(--ink); }
