/* terms.realpos.net - the public messaging-policy site. One stylesheet for every page. */
:root {
  --ink: #10131a;
  --muted: #596273;
  --line: #dfe3ea;
  --bg: #f6f7f9;
  --card: #ffffff;
  --accent: #1d4ed8;
  --accent-soft: #eef2ff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 44px 16px 72px; }
header { border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 32px; }
.brand {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin: 0 0 10px;
  text-decoration: none; display: inline-block;
}
h1 { font-size: 29px; line-height: 1.25; margin: 0 0 12px; letter-spacing: -.015em; }
.lede { color: var(--muted); margin: 0; font-size: 17px; }
.updated { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
h2 { font-size: 19px; margin: 36px 0 12px; letter-spacing: -.01em; }
p { margin: 0 0 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.card + .card { margin-top: 14px; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.key { border-left: 4px solid var(--accent); }
ul, ol { margin: 0 0 14px; padding-left: 20px; }
li { margin-bottom: 9px; }
li:last-child { margin-bottom: 0; }
strong { font-weight: 650; }
figure { margin: 0; }
figure img { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; border-radius: 8px; }
figcaption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 16px; }
/* The live guest display, framed so its own dark styling stays out of this page's. The min-heights are
   the fallback for when the height script cannot run; the script replaces them with the real height. */
.demo { padding: 14px; }
.demo iframe { display: block; width: 100%; border: 0; border-radius: 10px; min-height: 640px; }
.demo figcaption { padding: 0 8px 4px; }
@media (max-width: 760px) { .demo iframe { min-height: 820px; } }
ol.steps { padding-left: 0; list-style: none; counter-reset: s; }
ol.steps li { counter-increment: s; position: relative; padding: 0 0 20px 46px; margin: 0; }
ol.steps li:last-child { padding-bottom: 0; }
ol.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
ol.steps strong { display: block; }
ol.steps span { color: var(--muted); }
pre.msg {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  overflow-x: auto;
  font: 14px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre;
  color: var(--ink);
}
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { width: 210px; color: var(--muted); font-weight: 600; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
nav.pages { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
nav.pages a {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--line); background: var(--card);
  border-radius: 10px; padding: 16px 18px; flex: 1 1 220px;
}
nav.pages a:hover { border-color: var(--accent); }
nav.pages b { display: block; color: var(--accent); margin-bottom: 4px; }
nav.pages span { color: var(--muted); font-size: 14px; }
footer { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer a { margin-right: 14px; }
@media (max-width: 560px) {
  h1 { font-size: 24px; }
  th { width: auto; display: block; border-bottom: 0; padding-bottom: 0; }
  td { display: block; padding-top: 2px; }
}
