/* Shared styling for the Terms and Privacy pages. Deliberately standalone from
   style.css: those styles are built around the app shell (fixed panels, no page
   scroll), which fights a plain long-form document. */

:root {
  --bg: #0e0f13;
  --bg-elev: #16181f;
  --border: #2b2d38;
  --text: #eef0f6;
  --text-dim: #9497a8;
  --text-faint: #6a6d7d;
  --accent: #7c5cff;
  --good: #34d9c8;
  --radius-sm: 8px;
  --radius-md: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

.doc-head {
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
}
.doc-head-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand span {
  background: linear-gradient(135deg, #7c5cff 0%, #34d9c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.back-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}
.back-link:hover { color: var(--text); border-color: #3a3d4d; }

main {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 22px 80px;
}

h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.updated {
  color: var(--text-faint);
  font-size: 14px;
  margin: 0 0 34px;
}

h2 {
  font-size: 20px;
  margin: 38px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  letter-spacing: -0.01em;
}
h3 { font-size: 16px; margin: 22px 0 6px; color: var(--text); }

p, li { color: var(--text-dim); }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 7px; }

strong, b { color: var(--text); font-weight: 600; }
a { color: var(--accent); }
a:hover { color: #9a80ff; }

/* Pulled-out note for the things people most need to actually notice. */
.callout {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 0 0 20px;
}
.callout p:last-child { margin-bottom: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 18px;
  font-size: 14.5px;
  display: block;
  overflow-x: auto;
}
th, td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th { color: var(--text); font-weight: 600; white-space: nowrap; }
td { color: var(--text-dim); }

footer {
  border-top: 1px solid var(--border);
  margin-top: 50px;
  padding-top: 22px;
  font-size: 14px;
  color: var(--text-faint);
}
footer a { margin-right: 16px; }

@media (max-width: 600px) {
  h1 { font-size: 26px; }
  main { padding: 28px 18px 60px; }
}
