/* Legal pages — Terms of Service and Privacy Policy.
   These are documents, not marketing. Small, dense, grey, no ornament: the
   house dark-and-gold styling is deliberately absent so the pages read the way
   every other terms page on the web reads. Shared by terms.html and privacy.html;
   the two used to carry near-identical copies of a <style> block that had already
   drifted apart. */

:root {
  --bg:    #ffffff;
  --text:  #333333;
  --head:  #111111;
  --muted: #666666;
  --rule:  #d9d9d9;
  --link:  #1a4d8f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  padding: 0 16px 60px;
}

.wrap { max-width: 820px; margin: 0 auto; }

/* Header — a label, not a masthead. */
header.doc {
  padding: 24px 0 12px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 18px;
}
.home {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 16px;
  font-size: 12px; color: var(--muted); text-decoration: none;
}
.home:hover { text-decoration: underline; }
.home img { height: 14px; width: auto; }

h1 { font-size: 20px; font-weight: bold; color: var(--head); line-height: 1.25; }
.updated { margin-top: 4px; font-size: 12px; color: var(--muted); }

/* The lede is an ordinary first paragraph. */
p.lede { margin: 14px 0; font-size: 13px; color: var(--text); }
p.lede b { font-weight: bold; }

h2 {
  font-size: 14px; font-weight: bold; color: var(--head);
  margin: 20px 0 4px;
}
h2 .n { display: inline; margin-right: 6px; font-weight: bold; }

p { margin: 8px 0; }

a { color: var(--link); }
a:hover { color: #0d2f5c; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

ul { margin: 8px 0 8px 22px; }
li { margin: 4px 0; }

strong, li strong, p strong { font-weight: bold; color: var(--text); }

/* A callout is a paragraph that happens to be boxed. No colour, no emphasis. */
.callout {
  margin: 12px 0; padding: 10px 12px;
  background: #f4f4f4; border: 1px solid var(--rule);
}

/* Data-processing table (privacy). Plain rules, no styling of its own. */
.proc-wrap { overflow-x: auto; }
table.proc {
  width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 12.5px;
}
table.proc th, table.proc td {
  text-align: left; padding: 6px 10px; vertical-align: top;
  border: 1px solid var(--rule);
}
table.proc th { font-weight: bold; color: var(--head); background: #f4f4f4; }
table.proc td:first-child { white-space: nowrap; }

footer.doc {
  margin-top: 32px; padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 12px; color: var(--muted);
}
footer.doc a { color: var(--muted); margin-right: 10px; }
