/* Legal pages (/privacy, /terms).
   Tokens come from styles.css — this file only adds the long-form reading
   layout, which the landing page has no use for. Keep the two files separate so
   a token change in styles.css still reaches these pages. */

.legal-nav {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.legal {
  padding: 48px 0 72px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.7;
}

.legal h1 {
  color: var(--text);
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.legal h2 {
  color: var(--text);
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}

.legal h3 {
  color: var(--text);
  font-size: 16px;
  margin: 24px 0 8px;
}

.legal p { margin: 0 0 14px; }

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

.legal li { margin-bottom: 8px; }

.legal strong { color: var(--text); }

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

.legal-meta {
  color: var(--text-3);
  font-size: 14px;
  margin-bottom: 28px !important;
}

/* The same disclaimer the landing footer carries. It is repeated here because
   a policy page is often opened directly from an app store listing, with the
   rest of the site never seen. */
.legal-note {
  margin-top: 40px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text-3);
  font-size: 14px;
}

.legal-foot {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
}

.legal-foot a {
  color: var(--text-2);
  text-decoration: none;
}

.legal-foot a:hover { color: var(--primary); }

.legal-copy { margin-top: 8px; }
