/* Minimal standalone stylesheet for policy pages (privacy.html,
   refund-policy.html). These pages sit outside the app shell — new users
   read them before ever signing in — so they intentionally don't depend on
   styles.css (which targets the logged-in dashboard layout). Colors below
   are copied from styles.css's :root variables to stay visually consistent
   with the app without coupling the two files together. */

:root {
  --bg: #eef4fa;
  --surface: #ffffff;
  --line: #d8e2f1;
  --text: #10284d;
  --text-soft: #5e759d;
  --primary: #264987;
  --primary-dark: #1c3b73;
  --accent: #f3a600;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.legal-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
  background: var(--primary-dark);
}

.legal-topbar a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
}

.legal-topbar svg {
  width: 26px;
  height: 26px;
}

.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-wrap h1 {
  font-size: 1.9rem;
  margin-bottom: 4px;
}

.legal-updated {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.legal-wrap h2 {
  font-size: 1.15rem;
  margin-top: 34px;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.legal-wrap p,
.legal-wrap li {
  color: var(--text);
  font-size: 0.97rem;
}

.legal-wrap ul {
  padding-left: 20px;
}

.legal-callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 22px 0;
  font-size: 0.92rem;
}

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

.legal-footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-soft);
}
