/* ============================================================
   policies.css — shared styling for the legal/policy pages
   (terms.html, privacy.html, refund.html, cookies.html)
   Mirrors the app's dark theme so the pages feel part of the site.
   ============================================================ */
:root {
  --steel: #1a2633;
  --steel-mid: #2e3f52;
  --accent: #4db8d4;
  --accent-bright: #6ecce0;
  --text-primary: #e8f0f8;
  --text-secondary: #8aaec8;
  --text-muted: #567090;
  --border: rgba(100, 160, 200, 0.2);
  --card-bg: rgba(30, 45, 65, 0.8);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Geom', sans-serif;
  background: var(--steel);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.policy-wrap { max-width: 760px; margin: 0 auto; padding: 28px 22px 80px; }

/* top bar */
.policy-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px; margin-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.policy-brand { font-size: 18px; font-weight: 700; color: var(--text-primary); text-decoration: none; }
.policy-brand span { color: var(--accent); }
.policy-back { font-size: 13px; color: var(--text-secondary); text-decoration: none; }
.policy-back:hover { color: var(--text-primary); }

/* headings + text */
h1 { font-size: 28px; font-weight: 700; margin: 0 0 6px; }
.policy-meta {
  font-family: 'DM Mono', monospace; font-size: 12px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 34px;
}
h2 {
  font-size: 17px; font-weight: 700; color: var(--accent);
  margin: 30px 0 8px;
}
p { color: var(--text-secondary); margin: 0 0 14px; }
ul { color: var(--text-secondary); margin: 0 0 14px; padding-left: 20px; }
li { margin-bottom: 6px; }
a { color: var(--accent); }
strong { color: var(--text-primary); }

/* cross-links footer */
.policy-footer {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
}
.policy-footer .links { margin-bottom: 12px; display: flex; gap: 16px; flex-wrap: wrap; }
.policy-footer a { text-decoration: none; }
.policy-footer a:hover { text-decoration: underline; }
