/* ═══════════════════════════════════════════════════════════════════════════
   components — hardware. Every panel is a machined plate: bezel, screws,
   engraved labels, an LED. The consistency is what sells it as one object.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── screws: four to a plate, each rotated a different amount, because real
      screws are never all aligned ─────────────────────────────────────────── */

.screw {
  position: absolute;
  width: 13px; height: 13px;
  border-radius: 50%;
  background:
    linear-gradient(145deg, #d8bd97, #6b5233 55%, #2b2114);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8);
  z-index: 3;
}

.screw::after {
  content: '';
  position: absolute;
  inset: 50% 2px auto 2px;
  height: 2px;
  background: #1a140b;
  transform: translateY(-50%) rotate(var(--turn, 34deg));
  border-radius: 1px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}

.screw--tl { top: 12px; left: 12px; --turn: 22deg; }
.screw--tr { top: 12px; right: 12px; --turn: -48deg; }
.screw--bl { bottom: 12px; left: 12px; --turn: 71deg; }
.screw--br { bottom: 12px; right: 12px; --turn: 8deg; }

/* ── nav ─────────────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(150%);
  background: rgba(4, 7, 10, 0.6);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.nav.is-stuck { background: rgba(4, 7, 10, 0.93); border-bottom-color: var(--line-soft); }

.nav__rail {
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 5px;
  background: linear-gradient(90deg,
    transparent 0%, var(--copper-void) 5%, var(--copper) 16%,
    var(--copper-pale) 29%, var(--copper) 44%, var(--copper-deep) 62%,
    var(--copper-lit) 80%, var(--copper-void) 94%, transparent 100%);
  opacity: 0.6;
}

.nav__rail::after {
  content: '';
  position: absolute;
  inset: 1px 0 auto 0;
  height: 1px;
  background: rgba(255, 233, 204, 0.5);
}

.nav__inner { display: flex; align-items: center; gap: clamp(0.8rem, 2.4vw, 2rem); height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__mark svg { width: 100%; height: 100%; overflow: visible; }

.brand__drop { animation: brand-drip 3.6s var(--ease-fluid) infinite; transform-origin: 29.5px 33px; }

@keyframes brand-drip {
  0%, 55%  { transform: translateY(-5px) scale(0.5); opacity: 0; }
  68%      { transform: translateY(0) scale(1); opacity: 1; }
  100%     { transform: translateY(7px) scale(0.6); opacity: 0; }
}

.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-size: 1.06rem; letter-spacing: -0.025em; }
.brand__text em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--water);
}

.nav__links { display: flex; gap: clamp(0.9rem, 2vw, 1.7rem); margin-left: auto; }

.nav__links a {
  position: relative;
  font-size: 0.9rem;
  color: var(--text-soft);
  padding: 0.45rem 0;
  transition: color 0.25s var(--ease-out);
}

/* The underline is a filling pipe, not a line: it grows from the left and
   leaves a bead at the end. */
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--water-deep), var(--water), var(--water-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--water-bright); }

.nav__build {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--faint);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.btn--valve {
  background: rgba(184, 115, 51, 0.1);
  border-color: rgba(184, 115, 51, 0.42);
  color: var(--copper-pale);
  padding-block: 0.64rem;
  font-size: 0.88rem;
}

.btn--valve:hover { border-color: var(--copper-lit); box-shadow: 0 0 0 4px rgba(184, 115, 51, 0.12); }

.btn__wheel {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  position: relative;
  transition: transform 0.6s var(--ease-snap);
}

.btn__wheel::before,
.btn__wheel::after {
  content: '';
  position: absolute;
  inset: 50% -4px auto -4px;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
}

.btn__wheel::after { transform: translateY(-50%) rotate(90deg); }
.btn--valve:hover .btn__wheel { transform: rotate(135deg); }

@media (max-width: 1000px) {
  .nav__links, .nav__build { display: none; }
  .nav__inner { justify-content: space-between; }
}

/* ── contract chip ───────────────────────────────────────────────────────── */

.ca {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2.1rem;
  padding: 0.5rem 0.5rem 0.5rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(18, 30, 33, 0.8), rgba(6, 11, 14, 0.8));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  max-width: 100%;
  min-width: 0;
}

.ca__label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  flex: none;
}

.ca__value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.82rem;
  color: var(--text-soft);
  background: none;
  border: 0;
  padding: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca__copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: none;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  background: var(--water-wash);
  color: var(--water-bright);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.ca__copy svg { width: 15px; height: 15px; }
.ca__copy:hover { background: rgba(0, 224, 122, 0.18); }
.ca__copy.is-done { background: var(--water); color: #02170d; }

/* ── ticker ──────────────────────────────────────────────────────────────── */

.ticker {
  position: relative;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  border-block: 1px solid rgba(148, 190, 178, 0.12);
  background: linear-gradient(180deg, rgba(14, 24, 26, 0.95), rgba(4, 8, 10, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 -1px 0 rgba(0, 0, 0, 0.7);
  overflow: hidden;
  height: 48px;
  display: flex;
  align-items: center;
}

.ticker__track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-run 46s linear infinite;
}

.ticker:hover .ticker__track { animation-play-state: paused; }

@keyframes ticker-run { to { transform: translateX(-50%); } }

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-inline: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--muted);
  border-right: 1px solid var(--line-soft);
}

.ticker__item b { color: var(--text); font-weight: 500; }
.ticker__item .up { color: var(--water); }
.ticker__item .hash { color: #62a3ff; }
.ticker__item .burn { color: var(--burn); }

.ticker__fade { position: absolute; top: 0; bottom: 0; width: 140px; pointer-events: none; }
.ticker__fade--l { left: 0; background: linear-gradient(90deg, var(--void), transparent); }
.ticker__fade--r { right: 0; background: linear-gradient(270deg, var(--void), transparent); }

/* ── stats ───────────────────────────────────────────────────────────────── */

.stats {
  list-style: none;
  padding: 0;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(212px, 1fr));
  border: var(--plate-edge);
  border-radius: var(--radius-lg);
  background: var(--plate-bg);
  box-shadow: var(--plate-shadow);
  overflow: hidden;
}

.stat { padding: 1.7rem clamp(1.1rem, 2vw, 1.95rem) 1.4rem; border-right: 1px solid var(--line-soft); position: relative; }
.stat:last-child { border-right: 0; }

.stat__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.stat__value {
  display: block;
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat__value em {
  font-style: normal;
  font-size: 0.44em;
  font-weight: 600;
  color: var(--water);
  letter-spacing: 0.02em;
  margin-left: 0.14em;
}

.stat__note { display: block; margin-top: 0.6rem; font-size: 0.81rem; color: var(--muted); }

/* A sparkline of the last epochs under each figure, so the number has a
   shape. Bars grow in when the row scrolls into view. */
.stat__spark {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 30px;
  margin-top: 1rem;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--line-soft);
}

.stat__spark i {
  flex: 1 1 0;
  height: var(--h, 20%);
  min-height: 2px;
  border-radius: 2px 2px 1px 1px;
  background: linear-gradient(180deg, var(--water-bright), var(--water) 40%, var(--water-deep));
  box-shadow: 0 0 8px rgba(0, 224, 122, 0.35);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.8s var(--ease-fluid) var(--d, 0ms);
}

.stat__spark--burn i  { background: linear-gradient(180deg, #ffb497, var(--burn) 40%, #8a3d1c); box-shadow: 0 0 8px rgba(255, 138, 91, 0.35); }
.stat__spark--build i { background: linear-gradient(180deg, var(--copper-pale), var(--copper-lit) 40%, var(--copper-deep)); box-shadow: 0 0 8px rgba(233, 189, 139, 0.3); }
.stats.is-in .stat__spark i { transform: scaleY(1); }

.stats__source { margin-top: 1rem; font-size: 0.76rem; color: var(--muted); font-family: var(--font-mono); }

@media (max-width: 760px) {
  .stat { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .stat:last-child { border-bottom: 0; }
}

/* ── the joint: a pipe run between sections ──────────────────────────────── */

.joint {
  position: relative;
  height: clamp(120px, 14vw, 200px);
  display: flex;
  justify-content: flex-start;
  padding-left: clamp(1.5rem, 8vw, 8rem);
  pointer-events: none;
}

.joint--right { justify-content: flex-end; padding-left: 0; padding-right: clamp(1.5rem, 8vw, 8rem); }
.joint__svg { width: 62px; height: 100%; overflow: visible; }

/* Reuses the fixture's own cylinder gradient (defined in the hero SVG, and
   SVG ids are document-global) so every pipe on the page is the same metal. */
.joint__casing { fill: #7a4720; fill: url(#cylV); }
.joint__flange, .joint__coupling { fill: #8f5423; fill: url(#ring); }
.joint__hi { fill: #ffe9cc; opacity: 0.3; }
.joint__bore { fill: #03080a; }

/* Grows downward from the top: the water is travelling down the page, so the
   column has to arrive from the section above rather than well up from below. */
.joint__water {
  fill: var(--water);
  transform-origin: 40px 0;
  transform: scaleY(var(--fill, 0));
  filter: drop-shadow(0 0 7px rgba(0, 224, 122, 0.8));
}


.joint__couplingHi { fill: #ffe9cc; opacity: 0.3; }

@media (max-width: 700px) { .joint { height: 70px; padding-inline: 1.25rem; } }

/* ── panels shared by the pressure test and the console ──────────────────── */

.panel__head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; }

.panel__title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper-lit);
}

.panel__led,
.fixture__led,
.console__leds i,
.ledger__headDots i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--water);
  box-shadow: 0 0 8px var(--water), inset 0 0 2px rgba(255, 255, 255, 0.8);
  flex: none;
  animation: led-blink 2.8s var(--ease-fluid) infinite;
}

@keyframes led-blink {
  0%, 100% { opacity: 1; }
  46%      { opacity: 0.28; }
}

.panel__text { font-size: 0.86rem; color: var(--muted); margin-bottom: 1.4rem; }

/* ── ledger ──────────────────────────────────────────────────────────────── */

.ledger {
  border: var(--plate-edge);
  border-radius: var(--radius-lg);
  background: var(--plate-bg);
  box-shadow: var(--plate-shadow);
  overflow: hidden;
}

.ledger__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #0d1719, #070d0f);
}

.ledger__headTitle {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  color: var(--copper-lit);
}

.ledger__headDots { display: inline-flex; gap: 6px; margin-left: auto; }
.ledger__headDots i:nth-child(2) { animation-delay: 0.4s; }
.ledger__headDots i:nth-child(3) { animation-delay: 0.8s; }

.ledger__scroll { overflow-x: auto; min-width: 0; position: relative; }
.ledger__table { width: 100%; border-collapse: collapse; min-width: 940px; }

.ledger__table th {
  text-align: left;
  padding: 0.95rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.ledger__table td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ledger__table tbody tr {
  transition: background 0.2s var(--ease-out);
  opacity: 0;
  transform: translateX(-10px);
  animation: row-in 0.55s var(--ease-out) forwards;
}

@keyframes row-in { to { opacity: 1; transform: none; } }

.ledger__table tbody tr:hover { background: var(--water-wash); }
.ledger__table tbody tr:last-child td { border-bottom: 0; }

.ledger__epoch { font-family: var(--font-mono); color: var(--copper-lit); font-weight: 700; }
.ledger__root  { font-family: var(--font-mono); font-size: 0.75rem; color: #62a3ff; }
.ledger__empty td { text-align: center; color: var(--muted); padding-block: 2.4rem; }

/* A stacked bar showing the four-way split of that row, to scale. */
.splitbar { display: flex; width: 108px; height: 8px; border-radius: 4px; overflow: hidden; background: #0b1214; }
.splitbar i { height: 100%; display: block; }
.splitbar i:nth-child(1) { background: var(--burn); }
.splitbar i:nth-child(2) { background: var(--drip); }
.splitbar i:nth-child(3) { background: var(--liquidity); }
.splitbar i:nth-child(4) { background: var(--build); }

.ledger__foot {
  padding: 0.95rem 1.2rem;
  font-size: 0.77rem;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  background: rgba(4, 8, 10, 0.5);
}

.tag-mock {
  display: inline-block;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 115, 51, 0.45);
  background: rgba(184, 115, 51, 0.12);
  color: var(--copper-lit);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── footer ─────────────────────────────────────────────────────────────── */

.footer { border-top: 1px solid var(--line-soft); padding-block: 2.8rem; background: var(--void); }
.footer__inner { display: grid; gap: 1.4rem; }
.footer__brand { display: flex; flex-direction: column; gap: 0.25rem; }
.footer__brand strong { font-size: 1.05rem; }
.footer__brand span { font-size: 0.86rem; color: var(--muted); }
.footer__links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__links a { font-size: 0.86rem; color: var(--text-soft); transition: color 0.25s var(--ease-out); }
.footer__links a:hover { color: var(--water-bright); }
.footer__legal { font-size: 0.75rem; color: var(--muted); max-width: 72ch; }
.footer__gen { display: block; margin-top: 0.45rem; font-family: var(--font-mono); font-size: 0.71rem; }


/* ── ledger detail rows ──────────────────────────────────────────────── */

.ledger__headMeta { font-family: var(--font-mono); font-size: 0.66rem; color: var(--faint); margin-left: 0.6rem; }
.ledger__row { cursor: default; }
.ledger__row.is-open td { background: rgba(0, 224, 122, 0.04); border-bottom-color: transparent; }

.ledger__toggle {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-soft);
  font: 700 0.95rem var(--font-mono);
  cursor: pointer;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.ledger__toggle:hover { border-color: var(--water-dim); color: var(--water-bright); }
.ledger__row.is-open .ledger__toggle { border-color: var(--water); color: var(--water-bright); }

.ledger__detail td { padding: 0 1.1rem 1.2rem; white-space: normal; background: rgba(0, 224, 122, 0.04); }
.ledger__detail { animation: none; opacity: 1; transform: none; }

.detail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(0, 224, 122, 0.16);
  border-radius: var(--radius);
  background: rgba(4, 8, 10, 0.6);
}

@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } }

.detail h4 {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper-lit);
  margin-bottom: 0.6rem;
}

.detail__facts { display: grid; gap: 0.45rem; }
.detail__facts div { display: grid; grid-template-columns: 62px 1fr; gap: 0.6rem; font-size: 0.8rem; }
.detail__facts dt { color: var(--muted); }
.detail__facts dd span { color: var(--faint); }

.detail__table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.detail__table th { text-align: left; font-weight: 500; color: var(--muted); padding: 0.2rem 0; border-bottom: 1px solid var(--line-soft); }
.detail__table td { padding: 0.3rem 0; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.detail__table .num { text-align: right; font-family: var(--font-mono); font-size: 0.78rem; }

.detail__actions { grid-column: 1 / -1; display: flex; gap: 0.6rem; flex-wrap: wrap; padding-top: 0.2rem; }

/* ── verifier ────────────────────────────────────────────────────────── */

.verify {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}

.verify__form {
  padding: 1.3rem 1.4rem;
  border: var(--plate-edge);
  border-radius: var(--radius-lg);
  background: var(--plate-bg);
  box-shadow: var(--plate-shadow);
}

.verify__row { display: flex; gap: 0.8rem; align-items: flex-end; flex-wrap: wrap; }

.field { display: grid; gap: 0.35rem; min-width: 0; }
.field--grow { flex: 1 1 320px; }

.field__label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.field__input {
  width: 100%;
  height: 46px;
  padding: 0 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(4, 8, 10, 0.75);
  color: var(--text);
  font: 500 0.92rem var(--font-mono);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.7);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.field__input:focus { outline: none; border-color: var(--water); box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.7), 0 0 0 4px var(--water-wash); }
.field__input::placeholder { color: var(--faint); font-weight: 400; }
select.field__input { padding-right: 2rem; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 16px) 20px, calc(100% - 11px) 20px; background-size: 5px 5px; background-repeat: no-repeat; }

.verify__go { height: 46px; }

.verify__samples { margin-top: 0.9rem; font-size: 0.8rem; color: var(--muted); display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }

.verify__sample {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-soft);
  font-size: 0.74rem;
  cursor: pointer;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.verify__sample:hover { border-color: var(--water-dim); color: var(--water-bright); }

.verify__result {
  border: var(--plate-edge);
  border-radius: var(--radius-lg);
  background: var(--plate-bg);
  box-shadow: var(--plate-shadow);
  padding: 1.3rem 1.4rem;
  min-height: 120px;
}

.verify__empty p { color: var(--muted); font-size: 0.9rem; }

.verify__status {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--text-soft);
  margin-bottom: 1.1rem;
}

.verify__status b { color: var(--text); }
.verify__status--ok   { border-color: rgba(0, 224, 122, 0.4);  background: var(--water-wash); }
.verify__status--ok b { color: var(--water-bright); }
.verify__status--no   { border-color: rgba(255, 92, 61, 0.45); background: rgba(255, 92, 61, 0.08); }
.verify__status--no b { color: #ff9a82; }
.verify__status--warn { border-color: rgba(184, 115, 51, 0.45); background: rgba(184, 115, 51, 0.1); }
.verify__status--busy { color: var(--muted); }

.verify__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.7rem 1.4rem; margin-bottom: 1.1rem; }
.verify__facts div { display: grid; gap: 0.2rem; min-width: 0; }
.verify__facts dt { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.verify__facts dd { font-size: 0.86rem; overflow-wrap: anywhere; }

.verify__proof h4 { font-size: 0.8rem; font-weight: 600; margin-bottom: 0.5rem; }
.verify__proof h4 span { color: var(--muted); font-weight: 400; }
.verify__hashes { list-style: none; padding: 0; display: grid; gap: 0.3rem; }
.verify__hashes li { display: grid; grid-template-columns: 34px 1fr; gap: 0.5rem; align-items: baseline; font-size: 0.74rem; }
.verify__hashes code { background: none; border: 0; padding: 0; color: #7fb4ff; overflow-wrap: anywhere; }
.verify__lvl { font-family: var(--font-mono); color: var(--faint); font-size: 0.66rem; }
.verify__cli { margin-top: 1rem; font-size: 0.78rem; color: var(--muted); }
.verify__cli code { overflow-wrap: anywhere; }

.verify__aside { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 1rem; align-items: start; }
@media (max-width: 960px) { .verify__aside { grid-template-columns: 1fr; } }
.notes-grid { display: grid; gap: 0.8rem; }

/* ── parameters ──────────────────────────────────────────────────────── */

.constants { margin-top: clamp(1.4rem, 3vw, 2.2rem); }
.constants__title { font-size: 1.05rem; margin-bottom: 0.3rem; }
.constants__note { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }

.constants__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border: var(--plate-edge);
  border-radius: var(--radius-lg);
  background: var(--plate-bg);
  box-shadow: var(--plate-shadow);
  overflow: hidden;
}

.constants__grid > div {
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  display: grid;
  gap: 0.2rem;
}

.constants__grid dt { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.constants__grid dd { font-family: var(--font-mono); font-size: 0.86rem; color: var(--text); }
.constants__grid dd span { display: block; font-family: var(--font-display); font-size: 0.78rem; color: var(--faint); margin-top: 0.1rem; }

/* ── notes ───────────────────────────────────────────────────────────── */

.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); max-width: 1040px; }
@media (max-width: 800px) { .notes { grid-template-columns: 1fr; } }
.notes h3 { font-size: 1.02rem; margin-bottom: 0.4rem; margin-top: 1.4rem; }
.notes h3:first-child { margin-top: 0; }
.notes p { font-size: 0.92rem; color: var(--text-soft); }

/* ── status ──────────────────────────────────────────────────────────── */

.status { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 1.2rem; align-items: start; }
@media (max-width: 960px) { .status { grid-template-columns: 1fr; } }

.status__table {
  width: 100%;
  border-collapse: collapse;
  border: var(--plate-edge);
  border-radius: var(--radius-lg);
  background: var(--plate-bg);
  box-shadow: var(--plate-shadow);
  overflow: hidden;
  font-size: 0.86rem;
}

.status__table th, .status__table td { padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.status__table tr:last-child th, .status__table tr:last-child td { border-bottom: 0; }
.status__table th { font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); width: 1%; }
.status__table td { overflow-wrap: anywhere; }
.status__table td:last-child { text-align: right; }
.status > * { min-width: 0; }

.status__next { list-style: none; padding: 1rem 1.2rem; margin: 0; display: grid; gap: 0.6rem; border: var(--plate-edge); border-radius: var(--radius-lg); background: var(--plate-bg); box-shadow: var(--plate-shadow); }
.status__next li { display: grid; grid-template-columns: 16px 1fr; gap: 0.7rem; align-items: start; font-size: 0.86rem; color: var(--text-soft); }
.status__next li::before { content: ''; width: 12px; height: 12px; margin-top: 0.3rem; border-radius: 50%; border: 2px solid var(--copper); }
.status__next li.is-done::before { border-color: var(--water); background: var(--water); box-shadow: 0 0 10px rgba(0, 224, 122, 0.5); }
.status__next li.is-live::before { border-color: var(--water-bright); animation: led-blink 2.4s var(--ease-fluid) infinite; }
.status__next li.is-done span { color: var(--muted); }

.footer__build { font-size: 0.7rem; color: var(--faint); overflow-wrap: anywhere; }

/* ═══════════════════════════════════════════════════════════════════════════
   clean pass — flat surfaces, no chrome
   ═══════════════════════════════════════════════════════════════════════════ */

.nav { background: rgba(12, 14, 14, 0.85); border-bottom: 1px solid var(--line-soft); backdrop-filter: blur(12px); }
.nav.is-stuck { background: rgba(12, 14, 14, 0.95); border-bottom-color: var(--line); }
.nav__inner { height: 64px; }
.brand__mark { width: 32px; height: 32px; }
.brand__mark img { border-radius: 8px; }
.brand__text strong { font-size: 1rem; }
.brand__text em { color: var(--muted); }
.nav__links a { font-size: 0.88rem; }
.nav__links a::after { height: 1px; background: var(--water); }
.nav__build { color: var(--faint); }

.ca { background: var(--panel); box-shadow: none; border-radius: var(--radius); }
.ca__copy { border-radius: 6px; color: var(--water-bright); }
.ca__copy.is-done { background: var(--water); color: #06170f; }

.stats { background: var(--panel); border: 1px solid var(--line); box-shadow: none; margin-top: clamp(2rem, 4vw, 3rem); }
.stat__value em { color: var(--muted); }
.stat__spark i { background: var(--water); box-shadow: none; opacity: 0.85; }
.stat__spark--burn i { background: var(--burn); box-shadow: none; }
.stat__spark--build i { background: var(--build); box-shadow: none; }
.stat__spark { border-bottom-color: var(--line-soft); }

.ledger { background: var(--panel); border: 1px solid var(--line); box-shadow: none; }
.ledger__head { background: transparent; border-bottom: 1px solid var(--line); }
.ledger__headTitle { color: var(--text); letter-spacing: 0.16em; }
.ledger__table th { background: transparent; color: var(--muted); }
.ledger__table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.ledger__row.is-open td { background: rgba(255, 255, 255, 0.025); }
.ledger__detail td { background: rgba(255, 255, 255, 0.025); }
.ledger__epoch { color: var(--text-soft); }
.ledger__root { color: #8ab4f8; }
.ledger__toggle { background: transparent; }
.ledger__toggle:hover, .ledger__row.is-open .ledger__toggle { border-color: var(--water); color: var(--water-bright); }
.detail { border: 1px solid var(--line); background: var(--void); }
.detail h4 { color: var(--muted); }
.splitbar { display: none; }
.tag-mock { border-color: rgba(217, 176, 122, 0.4); background: rgba(217, 176, 122, 0.08); color: var(--build); }
.ledger__foot { background: transparent; }

.verify__form, .verify__result { border: 1px solid var(--line); background: var(--panel); box-shadow: none; }
.field__input { background: var(--void); box-shadow: none; border-radius: 8px; }
.field__input:focus { box-shadow: 0 0 0 3px var(--water-wash); }
.verify__status--ok { border-color: rgba(25, 195, 125, 0.4); background: var(--water-wash); }
.verify__status--warn { border-color: rgba(217, 176, 122, 0.4); background: rgba(217, 176, 122, 0.08); }
.verify__status a { color: var(--water-bright); text-decoration: underline; }
.verify__hashes code { color: #8ab4f8; }

.status__table, .status__next { border: 1px solid var(--line); background: var(--panel); box-shadow: none; }
.status__next li::before { border-color: var(--muted); }
.status__next li.is-done::before { border-color: var(--water); background: var(--water); box-shadow: none; }
.status__next li.is-live::before { border-color: var(--water-bright); animation: none; }

.footer { border-top: 1px solid var(--line); }
.footer__links a:hover { color: var(--water-bright); }

/* quieter pass */
.brand__text em { font-family: var(--font-display); font-style: normal; font-size: 0.72rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.nav__build { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0; }
.ca__label, .stat__label, .field__label, .ledger__headTitle, .ledger__table th, .verify__facts dt, .constants__grid dt, .detail h4, .status__table th, .pill, .tag-mock, .verify__lvl {
  font-family: var(--font-display); letter-spacing: 0; text-transform: none; font-weight: 500;
}
.stat__label { font-size: 0.82rem; color: var(--muted); }
.ledger__headTitle { font-size: 0.9rem; font-weight: 600; }
.ledger__headMeta { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0; }
.ledger__table th { font-size: 0.78rem; }
.constants__grid dt { font-size: 0.8rem; }
.verify__facts dt { font-size: 0.78rem; }
.status__table th { font-size: 0.82rem; letter-spacing: 0; text-transform: none; }
.pill, .tag-mock { font-size: 0.72rem; letter-spacing: 0; text-transform: none; padding: 0.12rem 0.55rem; }
.detail h4 { font-size: 0.8rem; color: var(--muted); }
.field__label { font-size: 0.82rem; }
.stat__value { font-weight: 600; }
.stat__value em { font-size: 0.5em; font-weight: 500; }
.stats__source { font-family: var(--font-display); font-size: 0.8rem; }
.ledger__epoch { font-family: var(--font-display); font-weight: 500; }
.eyebrow { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0; }
.eyebrow__tag { color: var(--text); font-weight: 600; }
.eyebrow__sha { font-family: var(--font-mono); color: var(--muted); }
.footer__build { font-family: var(--font-mono); }
