/* Shared by privacy.html and terms.html. Copied into place at build time by
   vercel.json's buildCommand, same as glass.css/theme.css — see docs/BRAND.md.
   Nothing here redeclares --accent or any --glass-* token. */

:root {
  --ink:  #f4f4f8;
  --dim:  #a5a5bd;
  --card: rgba(255, 255, 255, 0.05);
  --bd:   rgba(255, 255, 255, 0.12);
  --bg:   #0f0f16;
}
[data-theme="light"] {
  --ink:  #24211c;
  --dim:  #6b6357;
  --card: rgba(255, 255, 255, 0.6);
  --bd:   rgba(84, 72, 54, 0.18);
  --bg:   #faf7f2;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font, 'Manrope', system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }

.wrap { max-width: 760px; margin: 0 auto; padding: 34px 20px 90px; }

.legal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--bd);
  margin-bottom: 30px;
}
.legal-head a.brand {
  display: flex; align-items: center; gap: 9px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px;
}
.legal-head nav { display: flex; gap: 16px; font-size: 13px; color: var(--dim); }

h1 { font-size: 29px; font-weight: 800; margin: 0 0 8px; line-height: 1.2; }
.updated { font-size: 13px; color: var(--dim); margin: 0 0 8px; }

/* The plain-language box at the top of each document. Most people will read
   only this, so it has to be true on its own and not a marketing summary. */
.tldr {
  margin: 22px 0 34px;
  padding: 16px 18px;
  border: 1px solid var(--bd);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background: var(--card);
}
.tldr h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--dim); margin: 0 0 10px; border: none; padding: 0; }
.tldr ul { margin: 0; padding-left: 20px; }
.tldr li { margin-bottom: 7px; }

h2 {
  font-size: 19px; font-weight: 700;
  margin: 38px 0 12px; padding-top: 20px;
  border-top: 1px solid var(--bd);
}
h3 { font-size: 15.5px; font-weight: 700; margin: 24px 0 8px; }
p, li { font-size: 15px; line-height: 1.72; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }
strong { font-weight: 700; }

table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14px; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 9px 11px; border-bottom: 1px solid var(--bd); vertical-align: top; }
th { color: var(--dim); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }

.note {
  margin: 0 0 18px; padding: 13px 15px;
  border: 1px solid var(--bd); border-radius: 10px;
  background: var(--card); font-size: 14.5px; line-height: 1.65;
}

footer {
  margin-top: 54px; padding-top: 22px;
  border-top: 1px solid var(--bd);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: var(--dim);
}
/* Chrome links — the header's Privacy/Terms nav and the footer's Home/Help
   pair. Quiet like every other copy of this pair in the suite; accent stays for
   links inside the PROSE, where blue is doing real work telling you a sentence
   contains something to click. */
.legal-head nav a, footer a { color: inherit; text-decoration: none; transition: color .15s; }
.legal-head nav a:hover, footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 600px) {
  h1 { font-size: 24px; }
  .wrap { padding: 22px 16px 60px; }
}
