/* Shared by privacy.html, data.html and terms.html: plain pages that work without the app or a login.
   Colors are the app's tokens (docs/design/theme.css), light and dark. */
@font-face {
  font-family: 'Lato';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/lato-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/lato-latin-700-normal.woff2') format('woff2');
}
:root {
  color-scheme: light dark;
  --bg: #fafafc;
  --text: #17171f;
  --secondary: #4b4b5c;
  --muted: #686879;
  --accent: #2d5b8a;
  --border: #e3e3eb;
  /* The logo's own colors (src/ui/Logo.tsx). */
  --logo-name: #1f3352;
  --logo-tagline: #4b4b5c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f14;
    --text: #f1f1f5;
    --secondary: #c3c3cf;
    --muted: #9b9bab;
    --accent: #84b4e6;
    --border: #2b2b35;
    --logo-name: #f1f1f5;
    --logo-tagline: #b9c7da;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    1rem/1.6 'Lato',
    ui-sans-serif,
    system-ui,
    sans-serif;
}
main {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 16px 64px;
}
h1 {
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0 0 4px;
}
h2 {
  font-size: 1.125rem;
  margin: 32px 0 8px;
}
p,
li {
  color: var(--secondary);
}
ul {
  padding-left: 1.25rem;
}
li {
  margin: 4px 0;
}
a {
  color: var(--accent);
}
.updated {
  color: var(--muted);
  font-size: 0.8125rem;
  margin: 0 0 24px;
}
/* The logo lockup, the same proportions as src/ui/Logo.tsx; --logo-scale sizes it all. */
.home {
  --logo-scale: 0.42;
  display: inline-flex;
  align-items: center;
  gap: calc(26px * var(--logo-scale));
  margin-bottom: 24px;
  text-decoration: none;
  white-space: nowrap;
}
.home img {
  display: block;
  width: calc(112px * var(--logo-scale));
  height: calc(112px * var(--logo-scale));
}
.home span {
  display: flex;
  flex-direction: column;
  gap: calc(6px * var(--logo-scale));
}
.home b {
  font-size: calc(75px * var(--logo-scale));
  line-height: 0.9;
  color: var(--logo-name);
}
.home small {
  padding-left: calc(4px * var(--logo-scale));
  font-size: calc(31.5px * var(--logo-scale));
  line-height: calc(38px * var(--logo-scale));
  letter-spacing: 0.04em;
  color: var(--logo-tagline);
}
footer {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8125rem;
}
/* data.html: the table of where your words go. Scrolls sideways inside itself if it must. */
.table {
  overflow-x: auto;
  margin: 8px 0 16px;
}
table {
  width: 100%;
  min-width: 340px;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.45;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 8px 8px 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--secondary);
}
thead th {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 400;
}
tbody th {
  color: var(--text);
  font-weight: 700;
}
