/* /legal — the full InvestYog notice. Reuses dashboard.css's :root tokens
   (--page-bg, --card-bg, --border, --muted, --radius, --font-sans, ...);
   this file only adds the long-form reading layout those don't cover. */

.legal-body {
  background: var(--page-bg);
  padding: 32px 20px 64px;
}

.legal-shell {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 40px 32px;
}

.legal-header {
  text-align: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 8px;
}

/* logo, then badge underneath — same masthead stack as the login card */
.legal-home {
  display: block;
  line-height: 0;
  margin-bottom: 10px;
}

.legal-header h1 {
  margin: 14px 0 10px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.legal-lead {
  margin: 0 auto;
  max-width: 60ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  text-align: left;
}

.legal-shell section {
  margin-top: 26px;
}

.legal-shell section h2 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg);
}

.legal-shell section p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--fg);
}

.legal-shell a {
  color: var(--accent);
  word-break: break-word;
}

.legal-footer {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.legal-footer p {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--muted);
}

.legal-footer-links a { margin: 0 2px; }

@media (max-width: 640px) {
  .legal-body { padding: 16px 12px 48px; }
  .legal-shell { padding: 24px 20px; }
}
