/* Lidveriq legal pages (Terms, Privacy): static, no scripts. */
:root {
  --bg: #f7f7fb;
  --card: #ffffff;
  --text: #1d1f2b;
  --muted: #5f6478;
  --line: #e4e5ef;
  --accent: #6f5df0;
  --accent-soft: #efecff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14151c;
    --card: #1c1d26;
    --text: #e9e9f1;
    --muted: #a0a3b5;
    --line: #2c2e3b;
    --accent: #a497ff;
    --accent-soft: #262340;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 2px; }
.top {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; text-decoration: none; }
.brand img { border-radius: 7px; }
.top nav { display: flex; gap: 18px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
main {
  max-width: 820px;
  margin: 0 auto 24px;
  padding: 36px 40px 40px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}
h1 { font-size: 34px; line-height: 1.2; margin: 0 0 6px; letter-spacing: -0.01em; }
.meta { color: var(--muted); margin: 0 0 24px; font-size: 14px; }
h2 { font-size: 21px; line-height: 1.3; margin: 34px 0 10px; scroll-margin-top: 16px; }
h3 { font-size: 17px; margin: 20px 0 6px; }
p, ul, dl { margin: 0 0 12px; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
dt { font-weight: 600; margin-top: 10px; }
dd { margin: 2px 0 0; color: var(--muted); }
.toc {
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 14px 20px;
  margin: 0 0 8px;
}
.toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 28px; font-size: 15px; }
.toc li { break-inside: avoid; }
.toc a { text-decoration: none; }
table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 15px; display: block; overflow-x: auto; }
th, td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; }
.foot { max-width: 820px; margin: 0 auto; padding: 0 16px 32px; color: var(--muted); font-size: 14px; text-align: center; }
.foot a { color: var(--muted); }
@media (max-width: 640px) {
  main { padding: 22px 16px 26px; border-radius: 0; border-left: 0; border-right: 0; }
  h1 { font-size: 27px; }
  .toc ol { columns: 1; }
}
@media print {
  body { background: #fff; color: #000; }
  .top nav, .toc, .foot { display: none; }
  main { border: 0; padding: 0; }
}
