/* Shared by index.html and privacy.html. Same tokens as landing/styles.css on purpose - the two
   sites are one publisher and should not look like two - but this is a separate file rather than
   a shared one because the two are installed into different document roots by different branches
   of bootstrap.sh, and a symlink across them would break the moment one is deployed without the
   other. Four static files, no framework, no build step. */

:root {
  color-scheme: light dark;

  --bg: #fbfbfa;
  --panel: #ffffff;
  --ink: #1a1a19;
  --muted: #6b6b66;
  --line: #e4e4e0;
  --accent: #1c5d99;
  --radius: 10px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16161a;
    --panel: #1e1e23;
    --ink: #ececf0;
    --muted: #9a9aa4;
    --line: #303038;
    --accent: #6fa8dc;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.wordmark { font-weight: 650; letter-spacing: -0.01em; }

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 8px;
}

h1 {
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

h2 {
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 32px 0 8px;
}

p { margin: 0 0 14px; }

.muted { color: var(--muted); }
.lede { font-size: 17px; }

a { color: var(--accent); }
a:hover { text-decoration: none; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin: 24px 0;
}

.apps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.apps li { display: grid; gap: 2px; }
.apps .name { font-weight: 600; }
.apps .id { color: var(--muted); font-size: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* Definition-list layout for the privacy tables. Stacks on a phone rather than scrolling
   sideways, which is what a real table would do at this width. */
.rows { margin: 0; }
.rows dt { font-weight: 600; margin-top: 16px; }
.rows dd { margin: 2px 0 0; color: var(--muted); }

footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
  color: var(--muted);
  font-size: 14px;
}

footer a { color: var(--muted); }
