/* Shared styling for the hosted legal pages (privacy.html, terms.html).
   Dark map style + cyan accent, matching the app. */
:root {
  --bg: #0B1220;
  --card: #121C2E;
  --border: #1F2D45;
  --text: #E6EDF7;
  --text-sub: #9AAAC2;
  --accent: #22D3EE;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; }
header { border-bottom: 1px solid var(--border); padding-bottom: 24px; margin-bottom: 32px; }
.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 14px var(--accent);
}
.brand span { font-weight: 700; letter-spacing: 0.02em; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; font-weight: 700; }
h2 {
  font-size: 19px; margin: 36px 0 10px; font-weight: 650;
  color: var(--accent); scroll-margin-top: 20px;
}
h3 { font-size: 16px; margin: 22px 0 6px; font-weight: 650; }
p, li { color: var(--text-sub); }
li { margin-bottom: 7px; }
ul { padding-left: 22px; }
strong { color: var(--text); font-weight: 650; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.meta { color: var(--text-sub); font-size: 14px; margin: 0; }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 20px; margin: 24px 0;
}
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p:first-child { margin-top: 0; }
table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--text); font-weight: 650; }
td { color: var(--text-sub); }
footer {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-sub); font-size: 14px;
}
@media (max-width: 560px) {
  .wrap { padding: 28px 18px 64px; }
  h1 { font-size: 25px; }
  table, thead, tbody, th, td, tr { display: block; }
  thead { display: none; }
  td { border: none; padding: 3px 0; }
  tr { border-bottom: 1px solid var(--border); padding: 12px 0; display: block; }
  td:first-child { color: var(--text); font-weight: 650; }
}
