/* Standalone stylesheet for /privacy and /terms — these pages are rendered
   server-side outside the React bundle (see server/src/legal-content.ts),
   so they don't share client/src/styles.css. Colors/fonts are kept in sync
   with it by hand since there's no build-time link between the two. */

:root {
  --bg: #fff8ef;
  --bg-accent: #ffeed6;
  --ink: #3b2f2f;
  --ink-soft: #7a6a5f;
  --primary: #ff6b4a;
  --primary-dark: #e8542f;
  --radius: 20px;
  --shadow: 0 6px 16px rgba(59, 47, 47, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.legal-header {
  padding: 28px 0 8px;
}

.legal-home-link {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
}

.legal-home-link:hover {
  text-decoration: underline;
}

.legal-content {
  background: #fff;
  border-radius: var(--radius);
  border-top: 6px solid var(--primary);
  box-shadow: var(--shadow);
  padding: 32px 36px 40px;
  line-height: 1.6;
}

.legal-content h1 {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 1.9rem;
  margin: 0 0 4px;
}

.legal-content h2 {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin: 32px 0 8px;
}

.legal-content h3 {
  font-size: 1rem;
  margin: 20px 0 6px;
}

.legal-content p,
.legal-content li {
  font-size: 0.97rem;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content a {
  color: var(--primary-dark);
}

.legal-effective-date {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin: 0 0 24px;
}

.legal-footer {
  text-align: center;
  padding: 24px;
}

.legal-footer a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-decoration: none;
}

.legal-footer a:hover {
  text-decoration: underline;
}
