/* Trust: custody in layers.
   Rock tones carry history (memories laid down over time); manila carries provenance (the tag
   that says where a memory came from); tamper red means one thing only: stale.
   Big Shoulders Display for headings and tags, Public Sans for reading. Both are served from
   /fonts (SIL Open Font License; licenses beside them), so pages make no third-party requests. */
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 900; font-display: swap; src: url("/fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/public-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/public-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/public-sans-latin-400-italic.woff2") format("woff2"); }
:root {
  color-scheme: light;
  --steel: #e1e5e6;      /* the ground */
  --sheet: #f2f4f4;      /* raised surfaces */
  --ink: #15191d;        /* case ink */
  --muted: #475158;
  --faint: #6c767c;
  --rule: #c3cbce;
  --shale: #3e4a52;
  --slate: #6f7c84;
  --clay: #b9a48a;
  --clay-deep: #8d7b63;
  --manila: #e3b860;     /* provenance tags; text on it is always --tag-ink */
  --manila-edge: #c99d45;
  --tag-ink: #3d2c08;
  --tag-label: #6b4e14;
  --red: #c4122f;        /* stale, and nothing else */
  --red-text: #a00f27;
  /* what happened (validated categorical, light): writes, recalls, the judge */
  --k-write: #a06a00; --k-recall: #2a6db5; --k-judge: #1f8f62;
  /* other states, always with a glyph and a word */
  --s-contested: #c25a00; --s-superseded: #8a959b; --s-retracted: #15191d;
  --display: "Big Shoulders Display", "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --steel: #171b1f; --sheet: #1f252a; --ink: #e4e8ea; --muted: #a8b2b8; --faint: #87929a; --rule: #354048;
    --shale: #55646e; --slate: #7d8b93; --clay: #a8957c; --clay-deep: #8d7b63;
    --red: #e5334f; --red-text: #ff7a8e;
    --k-write: #b47e0e; --k-recall: #4f93da; --k-judge: #2fae78;
    --s-contested: #f08a3c; --s-superseded: #6f7b82; --s-retracted: #e4e8ea;
  }
}

/* The tag: a manila label with a punched hole, used wherever a memory says where it came from. */
.tag {
  position: relative; background: var(--manila); color: var(--tag-ink);
  clip-path: polygon(0 12px, 12px 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  padding: 14px 16px 14px 32px; box-shadow: 0 16px 26px -16px rgba(21, 25, 29, .45);
}
.tag::before { content: ""; position: absolute; left: 11px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--steel); box-shadow: inset 0 0 0 2px var(--manila-edge); }
.tag dt { color: var(--tag-label); }
.tag a, .tag button.link { color: var(--tag-ink); }
/* Tamper tape across a stale tag. */
.tape { display: block; margin: 12px -16px -2px -36px; padding: 6px 20px; background: var(--red); color: #fff; transform: rotate(-3deg); font: 800 17px/1.2 var(--display); letter-spacing: .01em; text-align: center; }

/* The mark: three layers and a tag. */
.trust-mark { display: inline-flex; align-items: center; gap: 10px; font: 900 28px/1 var(--display); color: var(--ink); text-decoration: none; }
.trust-mark svg { flex: none; }
