/*
 * Shared styles for the standalone legal / about pages
 * (privacy.html, terms.html, cookies.html, about.html).
 *
 * These pages are HTML, not React, because:
 *  1. They need to be indexed by Stripe underwriting bots,
 *     search engines, and GDPR/PIPEDA compliance crawlers that
 *     don't wait for JS hydration.
 *  2. They change rarely and don't benefit from SPA routing.
 *  3. They should still be reachable if the main React bundle
 *     fails to load (legal docs MUST be accessible).
 */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  background: #faf8f5;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.legal-nav {
  padding: 20px 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.legal-nav-logo img { width: 32px; height: 32px; }

.legal-nav-logo span {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
}

.legal-nav-link {
  font-size: 14px;
  color: #666;
  text-decoration: none;
}

.legal-nav-link:hover { color: #1a1a1a; }

.legal-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 120px;
}

.legal-meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-container h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 44px;
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.legal-container h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  margin: 56px 0 16px;
  letter-spacing: -0.01em;
}

.legal-container h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 12px;
}

.legal-container p {
  font-size: 16px;
  color: #333;
  margin: 0 0 16px;
}

.legal-container ul, .legal-container ol {
  font-size: 16px;
  color: #333;
  padding-left: 24px;
  margin: 0 0 16px;
}

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

.legal-container a {
  color: #b76e79;
  text-decoration: underline;
}

.legal-container a:hover { color: #9a5560; }

.legal-container strong { font-weight: 600; color: #1a1a1a; }

.legal-container code {
  background: rgba(183, 110, 121, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  font-family: 'SF Mono', Menlo, monospace;
}

.legal-intro {
  padding: 20px 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin: 24px 0 40px;
  font-size: 15px;
  color: #555;
}

.legal-toc {
  padding: 20px 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin: 32px 0 48px;
}

.legal-toc-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  margin-bottom: 12px;
}

.legal-toc ul { padding-left: 20px; margin: 0; }

.legal-toc li { margin-bottom: 6px; font-size: 15px; }

.legal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 80px;
  padding: 40px;
  text-align: center;
  font-size: 13px;
  color: #888;
}

.legal-footer a { color: #888; text-decoration: none; margin: 0 12px; }

.legal-footer a:hover { color: #1a1a1a; }

@media (max-width: 640px) {
  .legal-nav { padding: 16px 20px; }
  .legal-container { padding: 40px 20px 80px; }
  .legal-container h1 { font-size: 32px; }
  .legal-container h2 { font-size: 22px; margin-top: 40px; }
}
