/*
 * hash-explorer-pro — the brand shell's stylesheet.
 *
 * Every colour below is copied from `docs/brand/brand-guidelines.md` §1 (read 2026-12-03 from
 * provenance.io's own stylesheet), and the gradient is §2's recipe with its angle and stop positions
 * unchanged. A hex value outside this token block is a defect: no Tailwind default stands in for a
 * brand colour.
 *
 * Typography: `Inter` is named first because §3 records it as the safe OFL UI face, but no font file
 * is vendored here. `season-sans` / `season-serif` are licensed display faces whose licence status is
 * UNVERIFIED, and this page is served under `style-src 'self'`, so a host without Inter installed
 * falls back to `system-ui` rather than fetching a face or committing one.
 */
:root {
  --color-provenance-blue: #88c5ff;
  --color-provenance-beige: #e9e1bd;
  --color-provenance-black: #0b0b0b;
  --color-provenance-grey: #4b4b4b;
  --color-mint-green: #c2ffdd;
  --color-deep-green: #376047;
  --color-frost-white: #ebebeb;
  --color-mauve: #987083;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-frost-white);
}

body {
  margin: 0;
  color: var(--color-provenance-black);
  background: var(--color-frost-white);
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

.wrap {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
}

.brand-header {
  /* The one recorded recipe: angle and stop positions are part of the mark. */
  background-image: linear-gradient(
    121deg,
    var(--color-provenance-beige, #e9e1bd) 12.56%,
    var(--color-mint-green, #c2ffdd) 48.89%,
    var(--color-deep-green, #376047) 93.85%
  );
  color: var(--color-provenance-black);
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-deep-green);
}

.eyebrow {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-provenance-grey);
}

h1 {
  margin: 0.25rem 0 0.5rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  font-weight: 700;
}

h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 600;
}

.chain-identity {
  margin: 0;
  font-size: 1rem;
}

.chain-identity span,
#build-sha {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--color-frost-white);
  color: var(--color-provenance-black);
  border: 1px solid var(--color-provenance-grey);
  border-radius: 0.25rem;
  padding: 0.05rem 0.35rem;
}

main {
  padding: 1rem 0 2rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.error-state {
  border-left: 0.35rem solid var(--color-mauve);
  background: #fff;
  padding: 0.75rem 1rem;
  margin-top: 1.5rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-provenance-grey);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--color-frost-white);
  vertical-align: top;
}

thead th {
  background: var(--color-provenance-blue);
  color: var(--color-provenance-black);
  font-weight: 600;
}

tbody tr:last-child td {
  border-bottom: 0;
}

td[data-truth='unknown'] {
  color: var(--color-provenance-grey);
  font-style: italic;
}

footer {
  border-top: 1px solid var(--color-provenance-grey);
  padding: 1.5rem 0 3rem;
  font-size: 0.85rem;
  color: var(--color-provenance-grey);
}

footer p {
  max-width: 60rem;
}
