/* Khzenti legal pages. "Lilac and ink" (DESIGN.md), light only, one column.
   Inlined into privacy.html and terms.html at publish time, or served next
   to them -- see README.md. */
:root {
  --base: #EEE9FF;
  --surface: #FFFFFF;
  --surface-alt: #F6F3FF;
  --border: #DDD5F5;
  --ink: #15122B;
  --ink-muted: #6C6685;
  --violet: #4B2ED6;
  --coral: #FF6A5C;
  --peach: #FFC9B3;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 24px 16px 64px;
  background: var(--base);
  color: var(--ink);
  font-family: Urbanist, Nunito, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
body[dir="rtl"] { font-family: Cairo, "Noto Naskh Arabic", -apple-system, "Segoe UI", Tahoma, Arial, sans-serif; }
main { max-width: 680px; margin: 0 auto; }
.card {
  background: var(--surface);
  border-radius: 20px;
  padding: 28px 24px;
  margin-bottom: 16px;
}
header.card { padding-bottom: 20px; }
.brand { font-size: 15px; font-weight: 800; letter-spacing: -0.2px; margin: 0 0 4px; }
.stamp {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; letter-spacing: 0.4px; text-transform: uppercase;
  color: var(--ink-muted); margin: 0;
}
body[dir="rtl"] .stamp { font-family: inherit; letter-spacing: 0; }
h1 { font-size: 30px; line-height: 1.15; letter-spacing: -0.5px; margin: 12px 0 8px; }
h2 { font-size: 19px; line-height: 1.3; margin: 32px 0 8px; }
h2:first-of-type { margin-top: 8px; }
h3 { font-size: 16px; margin: 20px 0 6px; }
p, li { margin: 0 0 12px; }
ul { padding-inline-start: 22px; margin: 0 0 12px; }
li::marker { color: var(--ink-muted); }
a { color: var(--violet); text-decoration: underline; text-underline-offset: 2px; }
strong { font-weight: 800; }
.lede { font-size: 17px; color: var(--ink); }
.muted { color: var(--ink-muted); font-size: 14px; }
.note { background: var(--surface-alt); border-radius: 14px; padding: 14px 16px; margin: 16px 0; }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.flag { background: var(--peach); border-radius: 14px; padding: 14px 16px; margin: 16px 0; }
.flag p:last-child { margin-bottom: 0; }
.langs { display: flex; gap: 8px; margin: 0 0 4px; }
.langs button {
  font: inherit; font-size: 13px; font-weight: 800;
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
  background: var(--surface-alt); color: var(--ink); border: 1px solid var(--border);
}
.langs button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.toc { font-size: 15px; }
.toc ol { padding-inline-start: 20px; margin: 0; }
.toc li { margin-bottom: 4px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0 0 12px; display: block; overflow-x: auto; }
th, td { text-align: start; padding: 9px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-weight: 800; }
tbody tr:last-child td { border-bottom: none; }
footer { max-width: 680px; margin: 0 auto; text-align: center; }
footer p { color: var(--ink-muted); font-size: 13px; }
[hidden] { display: none !important; }
@media (min-width: 600px) { body { padding: 40px 24px 80px; } .card { padding: 32px; } h1 { font-size: 34px; } }
