/* verityrf.com. A plain page: light by default, dark when the system asks for it. */
:root {
  --ink: #1b2229;
  --muted: #5b6672;
  --paper: #ffffff;
  --panel: #f6f8fa;
  --rule: #d8dee4;
  --link: #0b62a4;
  --link-visited: #5b4a9a;
  --accent: #0b6fb8;
  --code-bg: #f1f4f7;
  --warn: #b7791f;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e3e8ed;
    --muted: #9aa6b2;
    --paper: #12171d;
    --panel: #192028;
    --rule: #2c3540;
    --link: #79bdf2;
    --link-visited: #b4a6e6;
    --accent: #4fb8ff;
    --code-bg: #1d252e;
    --warn: #e0b04a;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
}
a { color: var(--link); }
a:visited { color: var(--link-visited); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
figure { margin: 18px 0 22px; }
figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }

.wrap { max-width: 860px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }

/* Header */
header.site { border-bottom: 1px solid var(--rule); }
header.site .title { display: flex; align-items: center; gap: 12px; padding-top: 16px; padding-bottom: 10px; }
header.site .title img { width: 36px; height: 36px; flex: none; }
header.site .name { font-size: 1.35rem; font-weight: 600; color: var(--ink); text-decoration: none; }
header.site .tagline { margin: 0; color: var(--muted); font-size: 0.92rem; }
nav.site ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 2px; }
nav.site a {
  display: block; padding: 7px 10px 8px; color: var(--ink); text-decoration: none; font-size: 0.93rem;
  border-bottom: 2px solid transparent;
}
nav.site a:visited { color: var(--ink); }
nav.site a:hover { color: var(--link); }
nav.site a[aria-current="page"] { border-bottom-color: var(--accent); font-weight: 600; }

/* Page */
main.wrap { padding-top: 8px; padding-bottom: 40px; }
h1, h2, h3 { line-height: 1.25; font-weight: 600; }
h1 { font-size: 1.7rem; margin: 26px 0 10px; }
h2 { font-size: 1.3rem; margin: 34px 0 10px; padding-bottom: 4px; border-bottom: 1px solid var(--rule); }
h3 { font-size: 1.05rem; margin: 22px 0 6px; }
p, ul, ol { margin: 0 0 14px; }
li { margin-bottom: 4px; }
.lede { font-size: 1.08rem; }
.muted { color: var(--muted); }

.notice {
  border: 1px solid var(--rule); border-left: 4px solid var(--accent);
  background: var(--panel); padding: 10px 14px; margin: 18px 0; font-size: 0.95rem;
}
.notice.warn { border-left-color: var(--warn); }
.notice p:last-child { margin-bottom: 0; }

.shot img { display: block; border: 1px solid var(--rule); }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.shots.phone { grid-template-columns: repeat(3, minmax(0, 220px)); }
@media (max-width: 640px) { .shots { grid-template-columns: 1fr; } .shots.phone { grid-template-columns: 1fr 1fr; } }

/* Tables */
.table-scroll { overflow-x: auto; margin: 0 0 18px; }
table { border-collapse: collapse; width: 100%; font-size: 0.94rem; }
th, td { border: 1px solid var(--rule); padding: 6px 9px; text-align: left; vertical-align: top; }
th { background: var(--panel); font-weight: 600; }
td.num { white-space: nowrap; }

code, pre { font-family: ui-monospace, "SF Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace; font-size: 0.86rem; }
code { background: var(--code-bg); padding: 1px 4px; border-radius: 3px; }
pre { background: var(--code-bg); padding: 10px 12px; overflow-x: auto; border: 1px solid var(--rule); line-height: 1.45; }
pre code { background: none; padding: 0; }

footer.site { border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.86rem; padding: 18px 0 28px; }
footer.site p { margin: 0 0 8px; }
footer.site a { color: var(--muted); }
@media (max-width: 640px) { nav.site a { padding: 6px 8px 7px; } }
