/**
 * The legal pages — privacy policy and terms.
 *
 * Its own stylesheet rather than a copy of landing.html's inline block: two
 * pages sharing one file cannot drift apart, and these are the pages a Google
 * reviewer reads. The variables and type scale are landing.html's, so the
 * pages look like the same product rather than a document bolted on.
 *
 * Long-form reading, so the measure is narrow (~72ch), the line height is
 * generous, and headings are anchored — a support reply can link to the exact
 * clause rather than "see the privacy policy".
 */

:root {
  --brand: #0101ff;
  --on-brand: #FFFFFF;
  --ink: #14161D;
  --muted: #5F6577;
  --line: #E5E8F0;
  --bg: #FFFFFF;
  --tint: #F6F8FE;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --brand: #3f80ff; --on-brand: #0C0E14;
    --ink: #E9EBF2; --muted: #949AAE; --line: #252A37;
    --bg: #0C0E14; --tint: #121623;
  }
}
html[data-theme="dark"] {
  --brand: #3f80ff; --on-brand: #0C0E14;
  --ink: #E9EBF2; --muted: #949AAE; --line: #252A37;
  --bg: #0C0E14; --tint: #121623;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }

header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.brand img { width: 25px; height: 25px; }
.brand span {
  font-family: 'Sora', sans-serif; font-weight: 700;
  letter-spacing: .16em; font-size: 13.5px; text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 10px; }
.link {
  color: var(--muted); text-decoration: none; font-size: 14.5px;
  padding: 8px 10px; border-radius: 7px;
}
.link:hover { color: var(--ink); }

.doc-head { padding: 40px 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
h1 {
  font-family: 'Sora', sans-serif; font-weight: 700;
  font-size: clamp(30px, 5vw, 42px); line-height: 1.1;
  letter-spacing: -.03em; margin: 0 0 14px;
}
.updated { color: var(--muted); font-size: 14px; margin: 0; }
.summary {
  background: var(--tint); border-radius: 12px; padding: 22px 24px;
  margin: 28px 0 8px; font-size: 15px;
}
.summary strong { font-weight: 500; }

h2 {
  font-family: 'Sora', sans-serif; font-weight: 600;
  font-size: clamp(19px, 2.6vw, 23px); letter-spacing: -.02em;
  margin: 42px 0 12px; scroll-margin-top: 20px;
}
h3 {
  font-family: 'Sora', sans-serif; font-weight: 600;
  font-size: 16.5px; margin: 26px 0 8px;
}
p { margin: 0 0 14px; max-width: 72ch; }
ul, ol { margin: 0 0 16px; padding-left: 22px; max-width: 72ch; }
li { margin-bottom: 8px; }
a { color: var(--brand); }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em; background: var(--tint); padding: 1px 5px; border-radius: 4px;
}

/* Data tables — what is collected, why, and how long it is kept. */
table { border-collapse: collapse; width: 100%; margin: 0 0 20px; font-size: 14.5px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--ink); border-bottom-width: 2px; }
td { color: var(--muted); }
td:first-child { color: var(--ink); }
.table-scroll { overflow-x: auto; }
.table-scroll table { min-width: 560px; }

/*
 * The three details only the operator knows — legal entity, address, contact.
 * Marked so they are impossible to publish by accident: a policy that says
 * "[COMPANY NAME]" to a Google reviewer is worse than no policy.
 */
.fill-me {
  background: #FFF3CD; color: #6B4E00;
  border-bottom: 2px solid #E5B800; padding: 0 4px; font-weight: 500;
}
.notice {
  border-left: 3px solid var(--brand); background: var(--tint);
  padding: 14px 18px; margin: 0 0 20px; font-size: 15px; border-radius: 0 8px 8px 0;
}

footer {
  border-top: 1px solid var(--line); margin-top: 56px; padding: 26px 0 44px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  color: var(--muted); font-size: 13.5px;
}
footer a { color: var(--muted); }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
