/* Shared by privacy.html and terms.html. index.html keeps its CSS inline so it
   stays byte-comparable with the artifact copy. */

:root {
  --paper:     #F5F7F9;
  --surface:   #FFFFFF;
  --surface-2: #EDF1F5;
  --ink:       #131820;
  --ink-2:     #495566;
  --ink-3:     #7C8899;
  --rule:      #D5DCE4;
  --rule-firm: #B4BFCB;
  --accent:     #D4570C;
  --accent-ink: #A33F05;
  --accent-bg:  #FBEDE3;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0D1116; --surface: #141A21; --surface-2: #1B222B;
    --ink: #E9EEF4; --ink-2: #9DA9B8; --ink-3: #6E7B8B;
    --rule: #242C36; --rule-firm: #384453;
    --accent: #FF8038; --accent-ink: #FFA268; --accent-bg: #2A1710;
  }
}
:root[data-theme="dark"] {
  --paper: #0D1116; --surface: #141A21; --surface-2: #1B222B;
  --ink: #E9EEF4; --ink-2: #9DA9B8; --ink-3: #6E7B8B;
  --rule: #242C36; --rule-firm: #384453;
  --accent: #FF8038; --accent-ink: #FFA268; --accent-bg: #2A1710;
}

* { box-sizing: border-box; }

body {
  background: var(--paper); color: var(--ink);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}

.shell { max-width: 760px; margin: 0 auto; padding: 0 28px; }

.masthead {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--rule);
  flex-wrap: wrap;
}
.wordmark {
  display: flex; align-items: center; gap: 11px; text-decoration: none;
  color: var(--ink);
  font-family: Archivo, sans-serif; font-weight: 700; font-size: 1.06rem;
  letter-spacing: -0.02em;
}
.mark {
  width: 26px; height: 26px; border-radius: 3px; background: var(--accent);
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; gap: 3px; padding: 0 6px; flex: none;
}
.mark i { display: block; height: 2px; background: #fff; border-radius: 1px; }
.mark i:nth-child(1) { width: 100%; }
.mark i:nth-child(2) { width: 66%; }
.mark i:nth-child(3) { width: 86%; }
.wordmark-2 { color: var(--accent); font-weight: 600; }
.masthead .meta {
  font-family: "IBM Plex Mono", monospace; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}

h1, h2 {
  font-family: Archivo, ui-sans-serif, system-ui, sans-serif;
  margin: 0; letter-spacing: -0.02em; text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); font-weight: 700; line-height: 1.1; }
h2 { font-size: 1.15rem; font-weight: 600; margin: 40px 0 12px; }

main { padding: 56px 0 20px; }
p, li { color: var(--ink-2); }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 7px; }
a { color: var(--accent-ink); }

.updated {
  font-family: "IBM Plex Mono", monospace; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
  margin-top: 16px;
}

/* Loud on purpose — see scripts/check.mjs */
.tbd {
  background: var(--accent-bg); color: var(--accent-ink);
  border: 1px dashed var(--accent); border-radius: 2px;
  padding: 0.05em 0.35em; font-family: "IBM Plex Mono", monospace;
  font-size: 0.86em; white-space: normal;
}

.notice {
  border: 1px solid var(--accent); background: var(--accent-bg);
  color: var(--accent-ink); border-radius: 4px; padding: 16px 18px;
  margin: 0 0 34px; font-size: 0.92rem;
}
.notice p { color: inherit; margin: 0; }

footer {
  margin-top: 56px; padding: 26px 0 46px; border-top: 1px solid var(--rule);
  font-family: "IBM Plex Mono", monospace; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
footer a { color: var(--ink-3); text-decoration: none; }
footer a:hover { color: var(--accent-ink); text-decoration: underline; }

/* ── scope / sub-processor tables ────────────────────────────────────────
   A permission beside what it is used for, and nothing between them. Added
   for the privacy policy's Google disclosure; terms.html may use it too. */
.ltable { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 0.93rem; }
.ltable th, .ltable td {
  text-align: left; vertical-align: top; padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--rule);
}
.ltable th {
  font-family: "IBM Plex Mono", monospace; font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
  font-weight: 500;
}
.ltable td:first-child {
  font-family: "IBM Plex Mono", monospace; font-size: 0.82rem;
  color: var(--accent-ink); white-space: nowrap; padding-right: 22px;
}
.table-wrap { overflow-x: auto; }

/* The one statement a Google reviewer looks for. Set apart so it cannot be
   mistaken for ordinary prose, and so it is not buried in a paragraph. */
.callout {
  border: 1px solid var(--rule); border-left: 3px solid var(--accent);
  background: var(--surface); padding: 18px 20px; margin: 22px 0;
}
.callout p:last-child { margin-bottom: 0; }
