/* Shared styles for the legal pages (privacy, terms). Matches index.html. */
:root {
  --bg: #0b0d12; --panel: #12151c; --border: #232935;
  --text: #eef1f6; --muted: #9aa4b2; --dim: #6b7482;
  --accent: #4fd1c5; --accent2: #2b8f86; --ink: #06201d;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); overflow-x: hidden;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

header.top { position: sticky; top: 0; z-index: 50; background: rgba(11,13,18,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(35,41,53,0.7); }
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: var(--ink); }
.nav-cta { margin-left: auto; }
.signin-link { color: var(--muted); font-size: 14px; font-weight: 600; }

.doc { max-width: 760px; padding-top: 56px; padding-bottom: 80px; }
.kicker { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 10px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 0; }
.updated { color: var(--dim); font-size: 14px; margin: 12px 0 28px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; }
.toc a { font-size: 14px; color: var(--muted); }
.toc a:hover { color: var(--text); }
.doc section { padding-top: 36px; scroll-margin-top: 80px; }
.doc h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; }
.doc p { color: #c9d0da; margin: 0 0 14px; }
.doc ul, .doc ol { color: #c9d0da; margin: 0 0 14px; padding-left: 22px; }
.doc li { margin: 0 0 8px; }
.doc b { color: var(--text); }
.table { overflow-x: auto; margin: 4px 0 16px; border: 1px solid var(--border); border-radius: 12px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.doc th, .doc td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; color: #c9d0da; }
.doc th { color: var(--text); background: var(--panel); font-weight: 600; }
.doc tr:last-child td { border-bottom: 0; }

footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--dim); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .doc { padding-top: 36px; }
}
