/* Shared by every page except index.html. index.html keeps its CSS inline so it
   stays byte-comparable with the artifact copy. */

/* The homepage's palette, so every page reads as one site. Light only, as the
   homepage is: the design was drawn for one theme. */
:root {
  color-scheme: light;
  --paper:      #F5F7F9;
  --surface:    #FFFFFF;
  --surface-2:  #EDF1F5;
  --ink:        #131820;
  --ink-2:      #495566;
  --ink-3:      #5B6676;
  --rule:       #D5DCE4;
  --rule-firm:  #B4BFCB;
  /* #D4570C under white text is ~3.9:1. Darkened so buttons pass 4.5:1. */
  --accent:     #B84A0A;
  --accent-ink: #8F3907;
  --accent-bg:  #FDF0E7;
  --accent-rule:#F3D3BC;
  --good:       #1F6E43;
}

* { 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 and footer: full-width bands with a 1200px row, as on the
   homepage. Only the content between them uses the narrower .shell. */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.masthead { border-bottom: 1px solid var(--rule); background: var(--paper); }
.masthead .wrap {
  padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 16px;
}
.wordmark {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  color: var(--ink);
  font-family: Archivo, sans-serif; font-weight: 700; font-size: 1.06rem;
  letter-spacing: -0.02em;
}
.mark {
  width: 28px; height: 28px; border-radius: 4px; 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: 500; }
.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; border-top: 1px solid var(--rule); }
footer .wrap {
  padding-top: 24px; padding-bottom: 32px; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 16px; align-items: center;
}
footer .lbl {
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px;
  font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
}
footer nav { display: flex; flex-wrap: wrap; gap: 12px 20px; font-size: 0.82rem; }
footer nav a { color: var(--ink-2); text-decoration: none; }
footer nav a:hover { color: var(--accent-ink); }

/* ── 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; }

/* ── site nav, so every page wears the same band as the home page ───────── */
.site-nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  font-size: 0.9rem;
}
.site-nav a { color: var(--ink-2); text-decoration: none; }
.site-nav a:hover { color: var(--accent-ink); }
.site-nav .btn, .site-nav .btn:hover { color: #fff; }
.btn {
  font-family: "IBM Plex Sans", sans-serif; font-weight: 500; font-size: 0.9rem;
  padding: 10px 16px; border-radius: 4px; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; min-height: 40px; transition: 120ms ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Sub-headings inside a long section, added for section 4. */
main h3 {
  font-family: Archivo, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem; font-weight: 600; color: var(--ink);
  margin: 28px 0 10px; letter-spacing: -0.01em;
}
