/* Lockproof — registro público de liquidez travada na Robinhood Chain.
   Sistema: papel + tinta + um selo verde. Prancheta técnica: fios de cabelo,
   tracejado, marcas de registro, cantos retos. Serifada leve para a voz,
   grotesca para a interface, monoespaçada para todo dado lido da chain. */

/* ── fontes locais (sem CDN de terceiro) ───────────────────────────────── */
@font-face {
  font-family: "Newsreader";
  src: url("/static/fonts/newsreader.woff2") format("woff2-variations");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Sans";
  src: url("/static/fonts/plexsans.woff2") format("woff2-variations");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/static/fonts/plexmono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/static/fonts/plexmono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
/* Dígitos subscritos (U+2080–2089): os subsets acima não os trazem, e sem
   estes 1 KB o "$0.0₁₅202" da coluna de dólares vira tofu. Um único arquivo de
   peso 400 serve as duas famílias — a dez pixels ninguém distingue o peso, e o
   unicode-range mantém o resto da página nas fontes de sempre. */
@font-face {
  font-family: "Plex Mono";
  src: url("/static/fonts/plexmono-sub.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+2080-2089;
}
@font-face {
  font-family: "Plex Sans";
  src: url("/static/fonts/plexmono-sub.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+2080-2089;
}

/* ── tokens ────────────────────────────────────────────────────────────── */
:root {
  --paper: #ffffff;
  --paper-sunk: #f7f8f7;
  --ink: #0a0f12;
  --ink-soft: rgba(10, 15, 18, 0.74);
  --ink-mut: rgba(10, 15, 18, 0.68);
  --rule: rgba(10, 15, 18, 0.17);
  --dash: rgba(10, 15, 18, 0.3);
  --seal: #0a6b4d;
  --seal-wash: rgba(10, 107, 77, 0.09);
  --warn: #8a5300;
  --warn-wash: rgba(138, 83, 0, 0.09);
  --stop: #a3231d;
  --stop-wash: rgba(163, 35, 29, 0.08);
  --band: #0a0f12;
  --band-ink: #f2f6f4;
  --band-soft: rgba(242, 246, 244, 0.62);
  --band-rule: rgba(242, 246, 244, 0.16);

  --frame: 1320px;
  --container: 1160px;
  --gutter: 28px;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

html.dark {
  --paper: #0b1013;
  --paper-sunk: #0f1519;
  --ink: #edf2ef;
  --ink-soft: rgba(237, 242, 239, 0.78);
  --ink-mut: rgba(237, 242, 239, 0.66);
  --rule: rgba(237, 242, 239, 0.2);
  --dash: rgba(237, 242, 239, 0.3);
  --seal: #34d399;
  --seal-wash: rgba(52, 211, 153, 0.11);
  --warn: #e0a34a;
  --warn-wash: rgba(224, 163, 74, 0.11);
  --stop: #f0736c;
  --stop-wash: rgba(240, 115, 108, 0.11);
  --band: #060a0c;
  --band-ink: #edf2ef;
  --band-soft: rgba(237, 242, 239, 0.6);
  --band-rule: rgba(237, 242, 239, 0.14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
}
html.dark {
  color-scheme: dark;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.62;
  font-feature-settings: "ss02" on;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
/* visually hidden, still announced: skip link, table captions, status messages */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip:focus-visible {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 50;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  clip-path: none;
  background: var(--paper);
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

/* prose links: a hairline under, never the browser underline */
p a:not(.btn),
li a:not(.btn),
dd a,
.note a,
.card a {
  border-bottom: 1px solid var(--dash);
}
p a:not(.btn):hover,
li a:not(.btn):hover,
dd a:hover,
.note a:hover,
.card a:hover {
  color: var(--seal);
  border-bottom-color: var(--seal);
}
:focus-visible {
  outline: 2px solid var(--seal);
  outline-offset: 2px;
}

/* ── voz ───────────────────────────────────────────────────────────────── */
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.1;
}
h1 {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
}
h2 {
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem);
}
h3 {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

strong,
b {
  font-weight: 600;
}
code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--paper-sunk);
  border: 1px solid var(--rule);
  padding: 0.1em 0.38em;
}

/* etiqueta: toda micro-legenda da interface fala em mono maiúsculo */
.eyebrow,
th,
.readout span,
.stat span,
.kv dt,
.badge,
.btn,
.top nav a,
.gauge-ends,
.gauge-caption {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.75rem;
  font-weight: 500;
}
.eyebrow {
  display: block;
  color: var(--ink-mut);
  margin-bottom: 1.25rem;
}
.mono {
  font-family: var(--mono);
  font-size: 0.84375rem;
  letter-spacing: -0.01em;
}
.mut {
  color: var(--ink-soft);
}
.ok {
  color: var(--seal);
}
.warn {
  color: var(--warn);
}
.bad {
  color: var(--stop);
}

/* ── moldura de prancheta ─────────────────────────────────────────────── */
.frame {
  position: relative;
  overflow: clip;
  min-height: 100vh;
}
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 1px dashed var(--dash);
  pointer-events: none;
  z-index: 2;
}
.frame::before {
  left: max(20px, calc((100% - var(--frame)) / 2));
}
.frame::after {
  right: max(20px, calc((100% - var(--frame)) / 2));
}

/* separador horizontal com marcas de registro nos cruzamentos */
.sep {
  position: relative;
  border-top: 1px dashed var(--dash);
}
.sep::before,
.sep::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 11px;
  height: 11px;
  z-index: 3;
  background:
    linear-gradient(var(--dash), var(--dash)) center / 1px 100% no-repeat,
    linear-gradient(var(--dash), var(--dash)) center / 100% 1px no-repeat;
}
.sep::before {
  left: calc(max(20px, calc((100% - var(--frame)) / 2)) - 5px);
}
.sep::after {
  right: calc(max(20px, calc((100% - var(--frame)) / 2)) - 5px);
}
@media (max-width: 719px) {
  .frame::before,
  .frame::after,
  .sep::before,
  .sep::after {
    display: none;
  }
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section {
  padding: 64px 0;
}
section.tight {
  padding: 40px 0;
}

/* ── cabeçalho ─────────────────────────────────────────────────────────── */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 70px;
}
.brand {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.012em;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}
/* The mark: a vault door in line art whose rim doubles as the dial. Colours
   come from the theme tokens, so it inverts with the page. */
.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
}
.bm-ink {
  fill: var(--ink);
  stroke: none;
}
.bm-door,
.bm-plate,
.bm-spokes,
.bm-knuckle {
  fill: none;
  stroke: var(--ink);
}
.bm-door {
  stroke-width: 1.8;
}
.bm-knuckle {
  stroke-width: 1.5;
}
.bm-plate {
  stroke-width: 0.9;
  opacity: 0.5;
}
.bm-spokes {
  stroke-width: 1.5;
  stroke-linecap: round;
  /* the handle turns on hover: a quarter turn lands the cross back on itself */
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.55s cubic-bezier(0.34, 0.8, 0.3, 1);
}
.brand:hover .bm-spokes,
.brand:focus-visible .bm-spokes {
  transform: rotate(90deg);
}
@media (prefers-reduced-motion: reduce) {
  .bm-spokes {
    transition: none;
  }
  .brand:hover .bm-spokes,
  .brand:focus-visible .bm-spokes {
    transform: none;
  }
}
.bm-lit {
  fill: none;
  stroke: var(--seal);
  stroke-width: 1.8;
}

.top nav {
  display: flex;
  gap: 18px;
  margin-left: 8px;
}
.top nav a {
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.14s ease, border-color 0.14s ease;
}
.top nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--seal);
}
.top form.search {
  margin-left: auto;
  display: flex;
}
.top form.search input {
  /* an address is 42 characters: size the field in ch so it tracks the mono
     font instead of a pixel guess, and give focus the full width when the
     viewport was too narrow to hold it at rest. */
  --addr: calc(42ch + 22px);
  width: clamp(200px, 28vw, var(--addr));
  font-family: var(--mono);
  font-size: 0.75rem;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-right: 0;
  transition: width 0.18s ease;
}
.top form.search input:focus {
  width: var(--addr);
}
.top form.search input::placeholder {
  color: var(--ink-mut);
}
.top form.search input:focus {
  outline: 0;
  border-color: var(--seal);
}
.theme {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  background: none;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
}
.theme:hover {
  color: var(--seal);
  border-color: var(--seal);
}

/* ── botões ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease;
}
.btn:hover {
  background: var(--seal);
  border-color: var(--seal);
  color: #fff;
}
.btn.ghost {
  background: none;
  color: var(--ink);
  border-color: var(--rule);
}
.btn.ghost:hover {
  background: none;
  color: var(--seal);
  border-color: var(--seal);
}

/* ── medidor de faixa: a assinatura ───────────────────────────────────────
   Desenhado em SVG com atributos, não com style inline: a política de
   segurança da página bloqueia estilo inline, e o mesmo desenho serve ao card. */
.gauge {
  margin: 0;
  width: 100%;
}
.gauge-ends,
.gauge-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-mut);
}
.gauge-ends {
  margin-bottom: 10px;
}
.gauge-caption {
  margin-top: 14px;
}
.gauge-scale {
  position: relative;
  height: 26px;
  border-left: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
}
.gauge-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.g-track {
  stroke: var(--rule);
  stroke-width: 1;
}
.g-fill {
  fill: var(--seal);
  opacity: 0.9;
}
.g-spot {
  stroke: var(--ink);
  stroke-width: 1.5;
}
.gauge[data-state="out"] .g-fill {
  fill: var(--stop);
  opacity: 0.3;
}
.gauge[data-state="out"] .g-spot {
  stroke: var(--stop);
}
.gauge[data-state="out"] .gauge-scale {
  border-color: var(--stop);
}
.gauge[data-state="out"] .gauge-caption {
  color: var(--stop);
}
.gauge[data-state="unknown"] .g-fill {
  fill: var(--rule);
}

/* miniatura dentro das tabelas */
.gauge.mini {
  display: inline-block;
  width: 76px;
  vertical-align: middle;
  margin-right: 8px;
}
.gauge.mini .gauge-ends,
.gauge.mini .gauge-caption {
  display: none;
}
.gauge.mini .gauge-scale {
  height: 11px;
}

/* ── leituras: os números grandes do instrumento ──────────────────────── */
.readout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin: 32px 0;
}
.readout > div {
  background: var(--paper);
  padding: 20px;
}
.readout b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.readout span {
  display: block;
  color: var(--ink-mut);
  line-height: 1.5;
}
.readout .em b {
  color: var(--seal);
}

/* variação em faixa escura (home) */
.band {
  background: var(--band);
  color: var(--band-ink);
}
.band .readout {
  background: var(--band-rule);
  border-color: var(--band-rule);
  margin: 0;
}
.band .readout > div {
  background: var(--band);
}
.band .readout span,
.band .mut {
  color: var(--band-soft);
}
.band h2 {
  color: var(--band-ink);
}
.band a {
  border-bottom: 1px solid var(--band-rule);
}

/* ── certificado (página de prova) ────────────────────────────────────── */
.cert {
  position: relative;
  border: 1px solid var(--rule);
  padding: 36px;
  margin: 8px 0 24px;
}
.cert::before,
.cert::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  background:
    linear-gradient(var(--seal), var(--seal)) center / 1px 100% no-repeat,
    linear-gradient(var(--seal), var(--seal)) center / 100% 1px no-repeat;
}
.cert::before {
  top: -6px;
  left: -6px;
}
.cert::after {
  bottom: -6px;
  right: -6px;
}
.cert-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cert h1 {
  font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.5rem);
  margin: 4px 0 6px;
}
.cert .sub {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  padding: 7px 12px;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
}
.status.on {
  color: var(--seal);
  background: var(--seal-wash);
}
.status.due {
  color: var(--warn);
  background: var(--warn-wash);
}
.status.off {
  color: var(--stop);
  background: var(--stop-wash);
}

/* registro de fatos */
.kv {
  display: grid;
  grid-template-columns: minmax(140px, 190px) 1fr;
  border-top: 1px solid var(--rule);
}
.kv dt {
  padding: 14px 16px 14px 0;
  color: var(--ink-mut);
  border-bottom: 1px solid var(--rule);
  line-height: 1.7;
}
.kv dd {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  min-width: 0;
  overflow-wrap: anywhere;
}
.kv dd a {
  border-bottom: 1px solid var(--rule);
}
.kv dd a:hover {
  border-bottom-color: var(--seal);
  color: var(--seal);
}
.kv .big {
  font-family: var(--mono);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}
.badge.lp {
  border-color: var(--seal);
  color: var(--seal);
}
.badge.tk {
  border-color: var(--warn);
  color: var(--warn);
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.actions a,
.actions .copy {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  padding: 10px 14px;
  border: 1px solid var(--rule);
  transition: border-color 0.14s ease, color 0.14s ease;
}
.actions .copy {
  background: none;
  color: inherit;
  cursor: pointer;
  font-weight: 500;
}
.actions a:hover,
.actions .copy:hover {
  border-color: var(--seal);
  color: var(--seal);
}

/* rodapé de cobertura: a regra da casa, visível */
.cov {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px dashed var(--dash);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-mut);
}

ul.guar {
  list-style: none;
}
ul.guar li {
  padding: 2px 0;
}

/* ── tabelas ───────────────────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--rule);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
th {
  color: var(--ink-mut);
  text-align: left;
  padding: 12px 22px 12px 0;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
td {
  padding: 13px 22px 13px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: middle;
  overflow-wrap: anywhere;
  max-width: 280px;
}
tr > *:last-child {
  padding-right: 0;
}
td.num,
th.num {
  text-align: right;
  font-family: var(--mono);
  font-size: 0.8125rem;
  white-space: nowrap;
}
tbody tr:hover td {
  background: var(--seal-wash);
}
td a {
  border-bottom: 1px solid var(--rule);
}
td a:hover {
  color: var(--seal);
  border-bottom-color: var(--seal);
}

/* ── paginação ────────────────────────────────────────────────────────── */
.pager {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed var(--dash);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pager-nums {
  display: flex;
  gap: 4px;
}
.pager a,
.pager .on,
.pager .off {
  display: inline-block;
  min-width: 30px;
  padding: 6px 8px;
  text-align: center;
  border: 1px solid transparent;
}
.pager-nums a,
.pager .on {
  border-color: var(--rule);
}
.pager .on {
  color: var(--seal);
  border-color: var(--seal);
}
.pager .off {
  color: var(--ink-mut);
  opacity: 0.45;
}
.pager a:hover {
  color: var(--seal);
  border-color: var(--seal);
}
.pager-count {
  margin-left: auto;
  color: var(--ink-mut);
  letter-spacing: 0.06em;
}

/* ── blocos de aviso ──────────────────────────────────────────────────── */
.note,
.err,
.card {
  border: 1px solid var(--rule);
  padding: 18px 20px;
  margin: 20px 0;
}
.note {
  border-left: 2px solid var(--warn);
}
.err {
  border-left: 2px solid var(--stop);
}
.card h2 {
  margin-bottom: 10px;
}
.card h3 {
  margin-bottom: 6px;
}

/* ── busca grande (home) ──────────────────────────────────────────────── */
.lookup {
  display: flex;
  max-width: 620px;
  margin-top: 28px;
}
.lookup input {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 0.8125rem;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-right: 0;
}
.lookup input::placeholder {
  color: var(--ink-mut);
}
.lookup input:focus {
  outline: 0;
}
.lookup:focus-within {
  outline: 2px solid var(--seal);
  outline-offset: 2px;
}

/* ── prosa de apoio ───────────────────────────────────────────────────── */
.lede {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.grid2 > div {
  background: var(--paper);
  padding: 24px;
}
.grid2 h3 {
  margin-bottom: 8px;
}
.grid2 p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* ── rodapé ───────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--rule);
  padding: 32px 0 48px;
  color: var(--ink-mut);
  font-family: var(--mono);
  font-size: 0.75rem;
}
footer .wrap {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}
footer a:hover {
  color: var(--seal);
}

/* ── espaçamento vertical do conteúdo ─────────────────────────────────── */
main h1 {
  margin-bottom: 12px;
}
main h2 {
  margin: 44px 0 14px;
}
main > section > .wrap > p,
main > section > .wrap > .table-wrap,
main > section > .wrap > table {
  margin-top: 14px;
}
.page-head {
  margin-bottom: 28px;
}

@media (max-width: 999px) {
  /* The nav used to be display:none here with nothing in its place, so a phone
     had zero links: no index, no launchpad, no help. It moves to its own row
     instead, still plain links, no disclosure to open and no JS. */
  .top .wrap {
    flex-wrap: wrap;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    row-gap: 8px;
  }
  .top .brand {
    order: 1;
  }
  .top .theme {
    order: 2;
    margin-left: auto;
  }
  .top form.search {
    order: 3;
    width: 100%;
    margin-left: 0;
  }
  .top nav {
    order: 4;
    width: 100%;
    gap: 14px;
    padding-top: 2px;
    border-top: 1px solid var(--rule);
    margin-top: 2px;
    padding-block-start: 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .top nav::-webkit-scrollbar {
    display: none;
  }
  .top form.search input,
  .top form.search input:focus {
    width: 100%;
  }
}
@media (max-width: 719px) {
  :root {
    --gutter: 20px;
  }
  /* the header stacks on a phone (see the 999px block); only the brand shrinks */
  .top .wrap {
    gap: 12px;
  }
  .brand {
    font-size: 1.3125rem;
    gap: 9px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .gauge-ends,
  .gauge-caption {
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    gap: 16px;
  }
  section {
    padding: 44px 0;
  }
  .cert {
    padding: 22px 18px;
  }
  .kv {
    grid-template-columns: 1fr;
  }
  .kv dt {
    padding: 12px 0 0;
    border-bottom: 0;
  }
  .kv dd {
    padding: 2px 0 12px;
  }
  .top form.search input,
  .top form.search input:focus {
    /* stacked header: the field owns its own row, so it never needs to grow */
    width: 100%;
  }
  /* the hero field is where people paste on a phone: stack it so the address
     gets the whole width, and tighten the mono so all 42 characters land. */
  .lookup {
    display: grid;
    grid-template-columns: 1fr;
  }
  .lookup input {
    font-size: 0.75rem;
    padding: 13px 12px;
    border-right: 1px solid var(--ink);
  }
  .lookup .btn {
    width: 100%;
    border-top: 0;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* ── utilitários de espaço (para não precisar de estilo inline) ────────── */
.mt-l {
  margin-top: 34px;
}
.mt-m {
  margin-top: 20px;
}
.mt-s {
  margin-top: 16px;
}
.mt-xs {
  margin-top: 8px;
}
.filters-label {
  margin-top: 30px;
  margin-bottom: 10px;
}
.filters {
  margin-top: 0;
}
.filters a {
  display: inline-block;
  margin: 0 16px 8px 0;
  border-bottom: 1px solid var(--rule);
}
.filters a:hover {
  color: var(--seal);
  border-bottom-color: var(--seal);
}
.filters a[aria-current="true"] {
  color: var(--seal);
  border-bottom-color: var(--seal);
}
a.seal {
  color: var(--seal);
  border-bottom: 1px solid var(--seal);
}
.theme svg {
  width: 15px;
  height: 15px;
}
