/* Bonsai skin: washi paper, sumi ink, moss green, clay for failed checks.
   Loaded after explainer.css; only overrides its variables and brand pieces. */
:root {
  --page: #faf8f2;
  --surface: #f1eee4;
  --ink: #1a1a17;
  --ink-2: #45463f;
  --muted: #6b6c62;
  --line: #e2dfd3;
  --axis: #c3c0b0;
  --tree: #9a9f8c;
  --tree-soft: #d6d9cc;
  --accent: #4a6b3a;
  --accent-soft: rgba(74, 107, 58, 0.16);
  --c1: #1a1a17;
  --c2: #6f8f57;
  --c3: #cfd3c2;
  --second: #4a6b3a;
  --good: #45463f;
  --good-mark: #45463f;
  --bad: #a4532b;
  --bad-mark: #c9784d;
  --ring: rgba(26, 26, 23, 0.1);
  --leaf: #4a6b3a;
  --wood: #3b2f25;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #0f130f;
    --surface: #171c16;
    --ink: #e8eadf;
    --ink-2: #c3c7b6;
    --muted: #8c9183;
    --line: #262d24;
    --axis: #3f473b;
    --tree: #687160;
    --tree-soft: #2f362c;
    --accent: #9fbf83;
    --accent-soft: rgba(159, 191, 131, 0.16);
    --c1: #e8eadf;
    --c2: #9fbf83;
    --c3: #5d6656;
    --second: #9fbf83;
    --good: #c3c7b6;
    --good-mark: #c3c7b6;
    --bad: #e0a07a;
    --bad-mark: #c9784d;
    --ring: rgba(232, 234, 223, 0.1);
    --leaf: #8fb173;
    --wood: #d9cbb4;
  }
}
:root[data-theme="dark"] {
  --page: #0f130f;
  --surface: #171c16;
  --ink: #e8eadf;
  --ink-2: #c3c7b6;
  --muted: #8c9183;
  --line: #262d24;
  --axis: #3f473b;
  --tree: #687160;
  --tree-soft: #2f362c;
  --accent: #9fbf83;
  --accent-soft: rgba(159, 191, 131, 0.16);
  --c1: #e8eadf;
  --c2: #9fbf83;
  --c3: #5d6656;
  --second: #9fbf83;
  --good: #c3c7b6;
  --good-mark: #c3c7b6;
  --bad: #e0a07a;
  --bad-mark: #c9784d;
  --ring: rgba(232, 234, 223, 0.1);
  --leaf: #8fb173;
  --wood: #d9cbb4;
}

h1, h2, .mark .word { font-family: var(--serif); }
h1 { font-weight: 600; letter-spacing: -0.015em; }
h2 { font-weight: 600; letter-spacing: -0.005em; font-size: 28px; }

.mark { gap: 9px; }
.mark svg { width: 22px; height: 22px; color: var(--accent); }
.mark .word { font-size: 19px; font-weight: 600; letter-spacing: 0; color: var(--ink); }

/* The header's outside links read as links, like the section links beside
   them. Where the browser supports it, the header's rule fades in once the
   page scrolls, so the first screen has no line across its top. */
.top .lab { border: 0; border-radius: 0; padding: 0; }
.top .lab + .lab { margin-left: -6px; }
@supports (animation-timeline: scroll()) {
  .top { animation: top-rule linear both; animation-timeline: scroll(root); animation-range: 0 48px; }
  @keyframes top-rule { from { border-bottom-color: transparent; } }
}

/* The serif's middle dot, the decimal point in exponents such as 2²¹·⁵, is a
   heavy bullet at figure size; the cover's figures take that one character
   from a sans face instead. */
@font-face {
  font-family: "Bonsai figures";
  src: local("Helvetica Neue"), local("Segoe UI"), local("Roboto"), local("Arial");
  unicode-range: U+00B7;
}

/* Cover: the first screen. The name, the intro and two ways in on the
   left; the headline figures on the right, as plain rows without boxes, one
   hairline between the shared figures and the profiles. */
.cover { padding-top: var(--s7); }
.cover h1 {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(72px, 10vw, 128px); line-height: 0.92; letter-spacing: -0.03em;
  margin: 0 0 var(--s5) -0.05em; /* pull the B's stem onto the text's edge */
}
.cover .lede { font-size: 17px; line-height: 1.65; max-width: 34em; margin: 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin: var(--s6) 0 0; font-size: 15px; }
.actions a { color: var(--ink-2); text-decoration: none; }
.actions a:hover { color: var(--ink); }
.actions .go { color: var(--page); background: var(--ink); border-radius: 6px; padding: 9px 18px; font-weight: 550; transition: background 0.15s; }
.actions .go:hover { color: var(--page); background: var(--accent); }
.actions a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.cover .duo { gap: var(--s6); margin: var(--s7) 0 0; }
.cover .tiles { background: none; border: 0; border-radius: 0; overflow: visible; gap: var(--s5) var(--s6); }
.cover .duo > .tiles + .tiles { border-top: 1px solid var(--line); padding-top: var(--s6); }
.cover .tile { background: none; padding: 0; }
.cover .tile .k { font-size: 13px; color: var(--muted); }
.cover .tile .v {
  font-family: "Bonsai figures", var(--serif); font-weight: 400; font-size: clamp(30px, 2.5vw, 36px); line-height: 1.1; letter-spacing: -0.01em;
  margin: var(--s1) 0 0; font-variant-numeric: lining-nums tabular-nums;
}
/* A unit moves to its own line whole rather than breaking at SHA2-192s's hyphen. */
.cover .tile .v small { display: inline-block; white-space: nowrap; font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.cover .card { row-gap: var(--s5); }
.cover .card .head b { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.cover .card .v { font-size: clamp(26px, 2.1vw, 30px); }
.cover .tile .s { margin-top: var(--s1); }
.cover .meter { height: 2px; border-radius: 0; background: var(--line); margin-top: var(--s3); }
.cover .meter .fill { border-radius: 0; }
.cover .meter i { top: -5px; bottom: -5px; border-left: 1px solid var(--ink-2); }
.cover .meter-label { font-size: 12px; margin-top: 6px; }
/* The figures arrive after the page's data loads; let them settle in. */
@media (prefers-reduced-motion: no-preference) {
  .cover .duo > * { animation: settle 0.6s ease-out both; }
  .cover .duo > * + * { animation-delay: 0.08s; }
}
@keyframes settle { from { opacity: 0; } }

/* Phones stack the two profiles; a hairline marks where the second begins. */
@media (max-width: 560px) {
  .cover .card + .card { border-top: 1px solid var(--line); padding-top: var(--s6); }
}

/* Wide, tall-enough screens: the two halves side by side, filling the first
   screen below the header, as wide as the header, wider than the reading
   column. */
@media (min-width: 900px) and (min-height: 620px) {
  .cover {
    display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: clamp(48px, 5vw, 80px); align-items: center;
    min-height: calc(100svh - 52px); padding-block: var(--s6) var(--s7);
    margin-inline: calc((100% - min(1040px, 100vw - 32px)) / 2);
  }
  .cover .duo { margin: 0; }
}

footer .working { margin-bottom: 6px; }

