/* Shared styling for the legal pages (privacy.html, terms.html, delete-account.html) —
   same palette and type as index.html, in a reading layout. */
:root {
  --ink: #0B0E13; --ink-2: #0E1116; --surface: #131822; --surface-2: #1A2130;
  --border: rgba(255,255,255,.08); --border-2: rgba(255,255,255,.14);
  --text: #F2F4F7; --text-2: #C3C9D4; --text-3: #8B93A3;
  --lime: #D4FF3D; --accent: #9BC11A;
  --display: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(11,14,19,.8); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
/* The app's own mark and wordmark (see index.html) — one size, one weight, only the
   colour of "chat" differs. */
.brand-mark { width: 34px; height: 34px; border-radius: 11px; flex: none; display: block; background: var(--ink-2); box-shadow: 0 0 0 1px rgba(212,255,61,.2), 0 5px 16px rgba(212,255,61,.12); }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.5px; line-height: 1; white-space: nowrap; }
.wordmark .chat { color: var(--accent); }
.nav a.back { font-size: 14px; font-weight: 600; color: var(--text-2); }
main { padding: clamp(40px, 6vw, 72px) 0 80px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
h1 { font-family: var(--display); font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; margin: 10px 0 8px; text-wrap: balance; }
.updated { color: var(--text-3); font-size: 14px; margin-bottom: 36px; }
h2 { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin: 40px 0 10px; scroll-margin-top: 80px; }
h3 { font-family: var(--display); font-size: 16.5px; font-weight: 700; margin: 24px 0 6px; }
p, li { color: var(--text-2); }
p { margin: 0 0 14px; }
ul, ol { padding-left: 22px; margin: 0 0 14px; } li { margin: 6px 0; }
strong { color: var(--text); font-weight: 600; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px 22px; margin: 18px 0; }
.card p:last-child { margin-bottom: 0; }
.steps { list-style: none; padding: 0; margin: 16px 0; counter-reset: s; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; color: var(--text-2); }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--lime); color: var(--ink-2); font-family: var(--display); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 14px 0 20px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-2); }
th { color: var(--text-3); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.toc a { font-size: 13px; font-weight: 600; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; }
.toc a:hover { color: var(--lime); text-decoration: none; border-color: var(--border-2); }
footer { border-top: 1px solid var(--border); padding: 26px 0; font-size: 13px; color: var(--text-3); }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; }
footer a { color: var(--text-2); }
