/* avmx.app: the privacy page. The landing page (index.html) is built on the
   design kit in assets/ instead; these colours and fonts match it. Follows
   the device's light or dark setting. */

:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #6b6b6b;
  --line: rgb(17 17 17 / .12);
  --link: #1a4be0;
  --todo-bg: #fff4d6;
  --todo-line: #d9a400;
  --todo-text: #5c4400;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0d14;
    --ink: #e9edf3;
    --muted: #9aa3b2;
    --line: rgb(233 237 243 / .14);
    --link: #5ab9fc;
    --todo-bg: #3a2f0b;
    --todo-line: #c99a1a;
    --todo-text: #ffe08a;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 "Manrope", system-ui, sans-serif;
}

a { color: var(--link); text-underline-offset: 3px; }

.wrap { width: min(100% - 48px, 760px); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap,
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.site-header .wrap { min-height: 72px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
}
.brand img { border-radius: 7px; }

.site-header nav a,
.site-footer nav a { color: var(--ink); }

.prose { padding-block: 64px 48px; }
.prose h1 {
  margin: 0 0 4px;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.prose h2 {
  margin: 48px 0 8px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.prose p, .prose ul { margin: 0 0 16px; }
.prose li + li { margin-top: 6px; }

.muted { color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 24px;
  color: var(--muted);
  font-size: 14px;
}
.site-footer nav { display: flex; gap: 16px; }

/* Missing information, to fill in before launch. Shown loudly on purpose:
   none of these should be live. Search the site for "TODO". */

.todo {
  display: inline;
  padding: 1px 6px;
  border: 1px dashed var(--todo-line);
  border-radius: 4px;
  background: var(--todo-bg);
  color: var(--todo-text);
  font-size: 0.9em;
  font-weight: 500;
}

p.todo {
  display: block;
  padding: 12px 14px;
}
