:root {
  color-scheme: dark;
  --bg: #10120f;
  --bg-soft: #171a16;
  --panel: #1d211b;
  --panel-strong: #242921;
  --ink: #f2f2e9;
  --muted: #a7ad9f;
  --line: #343a30;
  --line-bright: #555f4d;
  --signal: #c9ff57;
  --signal-dark: #24310d;
  --violet: #8c96ff;
  --orange: #ff8b5d;
  --aqua: #6de3c1;
  --danger: #ff7777;
  --shell: 1180px;
  --radius: 16px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 72% 8%, rgba(140, 150, 255, 0.12), transparent 26rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: linear-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px);
  background-size: 32px 32px;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

code,
pre {
  font-family: var(--mono);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  border-radius: 8px;
  background: var(--signal);
  color: #10120f;
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.network-strip {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 1px solid rgba(201, 255, 87, 0.25);
  background: #171d10;
  color: #d9f4a1;
  padding: 6px 18px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(201, 255, 87, 0.1);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 18, 15, 0.86);
  padding: 0 max(24px, calc((100vw - var(--shell)) / 2));
  backdrop-filter: blur(18px);
}

.wordmark {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
}

.wordmark span {
  border: 1px solid var(--line-bright);
  border-radius: 5px;
  padding: 2px 6px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.wordmark strong {
  font-size: 1.08rem;
  letter-spacing: 0.12em;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.site-header nav a,
.header-action,
footer a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 680;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
footer a:hover,
footer a:focus-visible {
  color: var(--ink);
}

.header-action {
  justify-self: end;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  color: var(--ink);
  padding: 9px 15px;
}

.section-shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  padding-block: 92px 88px;
}

.kicker,
.micro-label {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kicker span {
  color: var(--signal);
  margin-right: 12px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin: 24px 0 28px;
  font-size: clamp(3.75rem, 7vw, 6.85rem);
  font-weight: 750;
  letter-spacing: -0.068em;
  line-height: 0.89;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

h3 {
  font-size: 1.45rem;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.hero-lede {
  max-width: 650px;
  color: #c4c9bd;
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 0.84rem;
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(201, 255, 87, 0.4);
  outline-offset: 3px;
}

.button-primary {
  background: var(--signal);
  color: #11150a;
}

.button-secondary {
  border-color: var(--line-bright);
  background: rgba(255, 255, 255, 0.025);
  color: var(--ink);
}

.network-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 72px 0 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--line);
}

.network-stats div {
  background: rgba(19, 22, 18, 0.95);
  padding: 15px 16px;
}

.network-stats dt,
.proof-facts dt,
.block-fields dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.network-stats dd,
.proof-facts dd,
.block-fields dd {
  margin: 5px 0 0;
  font-family: var(--mono);
}

.network-stats dd {
  font-size: 1.1rem;
  font-weight: 760;
}

.network-stats small {
  color: var(--signal);
  font-size: 0.62rem;
}

.proof-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: 22px;
  background:
    linear-gradient(140deg, rgba(140, 150, 255, 0.12), transparent 42%),
    var(--panel);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.32);
}

.proof-card::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--signal), var(--violet));
}

.proof-card header,
.block-card header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 24px 20px;
}

.proof-card header p {
  margin-bottom: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.proof-card header h2 {
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.status-chip,
.settled-mark,
.draft-mark {
  width: max-content;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(201, 255, 87, 0.11);
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-chip.status-rejected {
  background: rgba(255, 139, 93, 0.12);
  color: #ffad8d;
}

.proof-metric {
  padding: 22px 24px 14px;
  border-top: 1px solid var(--line);
}

.proof-metric span,
.proof-metric small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
}

.proof-metric strong {
  display: block;
  margin: 7px 0 2px;
  font-family: var(--mono);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.06em;
}

.proof-metric small span {
  display: inline;
  color: var(--signal);
}

.atom-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 24px;
}

.atom-row span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 255, 87, 0.34);
  border-radius: 50%;
  background: rgba(201, 255, 87, 0.07);
  color: var(--signal);
  font-family: var(--mono);
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  font-weight: 800;
}

.experiment-summary {
  padding: 4px 24px 24px;
  color: #c7ccc1;
  font-size: 0.84rem;
  line-height: 1.6;
}

.proof-scale {
  position: relative;
  height: 13px;
  margin: 18px 24px 12px;
  border-radius: 999px;
  background: #0e100d;
}

.proof-scale span {
  position: absolute;
  top: 0;
  height: 100%;
}

.scale-baseline {
  right: 0;
  width: 100%;
  border-radius: 999px;
  background: #484d45;
}

.scale-target {
  left: 0;
  width: 72%;
  border-radius: 999px;
  background: rgba(140, 150, 255, 0.55);
}

.scale-result {
  left: 0;
  width: 54%;
  border-radius: 999px;
  background: var(--signal);
  box-shadow: 0 0 24px rgba(201, 255, 87, 0.2);
}

.scale-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0 24px 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.59rem;
}

.scale-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.scale-legend b {
  color: #c5c9c0;
  font-weight: 500;
}

.scale-legend i {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
}

.legend-baseline {
  background: #737a6d;
}

.legend-result {
  background: var(--signal);
}

.proof-facts {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.7fr;
  gap: 1px;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.proof-facts div {
  min-width: 0;
  background: var(--panel);
  padding: 14px;
}

.proof-facts dd {
  overflow: hidden;
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-link {
  display: flex;
  justify-content: space-between;
  padding: 18px 24px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 720;
  text-decoration: none;
}

.card-link span {
  color: var(--signal);
}

.manifesto-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--signal);
  color: #171b0e;
}

.manifesto-band p {
  margin: 0;
  padding: 23px 26px;
  font-size: clamp(0.8rem, 1.3vw, 1rem);
  font-weight: 790;
  text-align: center;
}

.manifesto-band p + p {
  border-left: 1px solid rgba(18, 22, 10, 0.25);
}

.experiment-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(201, 255, 87, 0.08), transparent 25%),
    radial-gradient(circle at 90% 70%, rgba(140, 150, 255, 0.08), transparent 28%),
    #141712;
}

.method-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  background: var(--line);
  list-style: none;
}

.method-flow li {
  min-height: 250px;
  background: var(--panel);
  padding: 28px;
}

.method-flow li > span {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 800;
}

.method-flow h3 {
  margin: 54px 0 12px;
}

.method-flow p,
.finding-card > p,
.challenge-card > p,
.challenge-card li {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.experiment-result {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 20px;
}

.finding-card,
.challenge-card {
  padding: 28px;
}

.finding-card h3,
.challenge-card h3 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
}

.finding-mark {
  border-radius: 999px;
  background: rgba(109, 227, 193, 0.1);
  color: var(--aqua);
  padding: 6px 9px;
  font-family: var(--mono);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.inline-card-link {
  margin: 24px -28px -28px;
  border-top: 1px solid var(--line);
}

.receipt-links {
  margin: 24px -28px -28px;
  border-top: 1px solid var(--line);
}

.receipt-links .card-link + .card-link {
  border-top: 1px solid var(--line);
}

.challenge-card {
  border: 1px solid rgba(201, 255, 87, 0.32);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(201, 255, 87, 0.12), transparent 48%),
    var(--panel);
}

.challenge-card .micro-label {
  color: var(--signal);
}

.challenge-card ol {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding-left: 22px;
}

.challenge-card li::marker {
  color: var(--signal);
  font-family: var(--mono);
  font-weight: 800;
}

.challenge-card .button {
  width: 100%;
}

.challenge-card .challenge-boundary {
  margin: 18px 0 0;
  color: #92988c;
  font-size: 0.72rem;
}

.content-section {
  padding-block: 132px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, 0.5fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}

.section-heading .kicker {
  margin-bottom: 18px;
}

.section-heading > p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.bounty-grid,
.ledger-layout,
.recipe-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.panel,
.block-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.settled-bounty,
.composer,
.allocation-card {
  padding: 28px;
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 34px;
}

.settled-mark {
  background: rgba(109, 227, 193, 0.1);
  color: var(--aqua);
}

.draft-mark {
  background: rgba(140, 150, 255, 0.1);
  color: #b8beff;
}

.settled-bounty > p,
.composer > p,
.allocation-note,
.form-note {
  color: var(--muted);
  font-size: 0.85rem;
}

.settled-bounty code {
  color: #ced3c7;
  font-size: 0.75rem;
}

.metric-stack {
  display: grid;
  gap: 1px;
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--line);
}

.metric-stack div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #171a16;
  padding: 14px 16px;
}

.metric-stack span,
.escrow-row span,
.target-readout span,
.payout-preview span {
  color: var(--muted);
  font-size: 0.68rem;
}

.metric-stack strong,
.target-readout strong,
.payout-preview strong {
  font-family: var(--mono);
  font-size: 0.88rem;
}

.metric-stack .metric-win {
  background: rgba(201, 255, 87, 0.09);
}

.metric-win strong {
  color: var(--signal);
}

.escrow-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 20px;
}

.escrow-row strong {
  color: var(--aqua);
  font-size: 0.84rem;
}

.guardrail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.guardrail-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #bec4b8;
  padding: 7px 10px;
  font-family: var(--mono);
  font-size: 0.59rem;
}

.field-label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 25px;
  color: #c6cbc0;
  font-size: 0.76rem;
  font-weight: 690;
}

.field-label output {
  color: var(--signal);
  font-family: var(--mono);
}

input[type="range"] {
  width: 100%;
  height: 20px;
  margin-top: 9px;
  accent-color: var(--signal);
  cursor: pointer;
}

.target-readout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 20px;
  align-items: center;
  margin: 18px 0 6px;
  border-radius: 10px;
  background: #121511;
  padding: 15px;
}

.target-readout strong {
  grid-row: span 2;
  color: var(--signal);
  font-size: 1rem;
}

.target-readout small {
  color: #747c70;
  font-size: 0.6rem;
}

.payout-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--line);
}

.payout-preview div {
  background: #171a16;
  padding: 13px;
}

.payout-preview span,
.payout-preview strong {
  display: block;
}

.payout-preview strong {
  margin-top: 4px;
  font-size: 0.76rem;
}

.composer-button {
  width: 100%;
  margin-top: 24px;
}

.form-note {
  margin: 11px 0 0;
  font-size: 0.63rem;
  text-align: center;
}

.ledger-section,
.gap-section {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}

.block-card {
  position: relative;
  overflow: hidden;
  background: #0d100c;
}

.block-card::after {
  content: "";
  position: absolute;
  right: -85px;
  bottom: -85px;
  width: 210px;
  height: 210px;
  border: 46px solid rgba(201, 255, 87, 0.05);
  border-radius: 50%;
}

.block-index {
  border-bottom: 1px solid var(--line);
  color: var(--signal);
  padding: 13px 22px;
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.08em;
}

.block-card header {
  padding-bottom: 10px;
}

.block-card h3 {
  margin: 5px 0 0;
}

.block-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 12px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.block-fields div {
  min-width: 0;
  background: #151814;
  padding: 13px;
}

.block-fields dd {
  overflow: hidden;
  color: #c9cec3;
  font-size: 0.65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mint-callout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 20px;
  align-items: center;
  margin: 0 22px 22px;
  border-radius: 10px;
  background: var(--signal);
  color: #13170c;
  padding: 18px;
}

.mint-callout > span {
  font-size: 0.72rem;
  font-weight: 760;
}

.mint-callout strong {
  grid-row: span 2;
  font-family: var(--mono);
  font-size: 1.35rem;
}

.mint-callout strong small {
  color: #303c16;
  font-size: 0.62rem;
}

.mint-callout > small {
  color: #52632b;
  font-size: 0.62rem;
}

.allocation-list {
  display: grid;
  gap: 17px;
  margin: 28px 0;
}

.allocation-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
}

.allocation-row span {
  color: #c3c8bd;
  font-size: 0.7rem;
  text-transform: capitalize;
}

.allocation-row strong {
  font-family: var(--mono);
  font-size: 0.68rem;
}

.allocation-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #10120f;
}

.allocation-track i {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--allocation-color, var(--signal));
}

.allocation-note {
  margin-bottom: 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 0.72rem;
}

.event-chain {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin: 24px 0 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--line);
  padding: 0;
  list-style: none;
}

.event-chain li {
  position: relative;
  display: grid;
  gap: 3px;
  background: #121511;
  padding: 17px;
}

.event-chain li::after {
  content: "→";
  position: absolute;
  top: 20px;
  right: -7px;
  z-index: 2;
  color: #6a7165;
}

.event-chain li:last-child::after {
  content: none;
}

.event-chain span {
  color: #737b6e;
  font-family: var(--mono);
  font-size: 0.58rem;
}

.event-chain strong {
  font-size: 0.8rem;
}

.event-chain small {
  color: var(--muted);
  font-size: 0.63rem;
}

.event-chain .event-active {
  background: var(--signal-dark);
}

.event-chain .event-active span,
.event-chain .event-active strong {
  color: var(--signal);
}

.localnet-section {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 12%, rgba(140, 150, 255, 0.12), transparent 28%),
    #0e110d;
}

.localnet-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}

.localnet-stats div {
  background: #141713;
  padding: 18px 20px;
}

.localnet-stats dt {
  color: var(--muted);
  font-size: 0.62rem;
}

.localnet-stats dd {
  margin: 8px 0 0;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 1.45rem;
}

.localnet-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 20px;
}

.signed-mark,
.terminal-live {
  color: var(--aqua);
}

.transcript-card h3 {
  margin: 12px 0 22px;
}

.transcript-flow {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.transcript-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
}

.transcript-flow i {
  position: relative;
  width: 8px;
  height: 8px;
  border: 2px solid #15210d;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 1px rgba(201, 255, 87, 0.34);
}

.transcript-flow li:not(:last-child) i::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 2px;
  width: 1px;
  height: 37px;
  background: rgba(201, 255, 87, 0.25);
}

.transcript-flow span {
  color: #c7ccc2;
}

.transcript-flow strong {
  color: var(--aqua);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: capitalize;
}

.transcript-link {
  width: 100%;
  margin-top: 24px;
  text-align: center;
}

.state-card {
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  background: #090b09;
}

.state-terminal-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 13px 17px;
  color: #777f72;
  font-family: var(--mono);
  font-size: 0.61rem;
}

.terminal-live i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--aqua);
}

.state-terminal {
  padding: 24px;
}

.terminal-prompt,
.terminal-label {
  margin: 0;
  color: #8d9687;
  font-family: var(--mono);
  font-size: 0.64rem;
}

.terminal-prompt {
  color: var(--signal);
}

.state-facts {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
}

.state-facts div,
.balance-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  border-bottom: 1px solid rgba(242, 242, 233, 0.07);
  padding-bottom: 8px;
}

.state-facts dt,
.balance-list span {
  color: #747d70;
  font-family: var(--mono);
  font-size: 0.62rem;
}

.state-facts dd,
.balance-list strong {
  overflow: hidden;
  margin: 0;
  color: #d4d9cf;
  font-family: var(--mono);
  font-size: 0.63rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.balance-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.balance-list strong {
  color: var(--signal);
}

.localnet-boundary {
  margin: 20px 0 0;
  border-left: 2px solid #8c96ff;
  background: rgba(140, 150, 255, 0.06);
  padding: 14px 17px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.55;
}

.localnet-boundary strong {
  color: #c9ceff;
}

.market-section {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 18%, rgba(109, 227, 193, 0.08), transparent 30%),
    var(--bg);
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}

.market-stats div {
  background: #151914;
  padding: 18px 20px;
}

.market-stats dt {
  color: var(--muted);
  font-size: 0.62rem;
}

.market-stats dd {
  margin: 8px 0 0;
  color: var(--aqua);
  font-family: var(--mono);
  font-size: 1.3rem;
}

.market-layout,
.market-lab-layout {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 20px;
}

.market-lab-layout {
  grid-template-columns: 0.9fr 1.1fr;
  margin-top: 20px;
}

.auction-card,
.escrow-card,
.auction-lab,
.provider-card {
  padding: 28px;
}

.auction-card h3,
.escrow-card h3,
.auction-lab h3,
.provider-card h3 {
  margin: 0 0 24px;
}

.market-settled,
.market-conserved {
  color: var(--aqua);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.auction-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.auction-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(125px, 0.9fr) repeat(3, auto);
  gap: 16px;
  align-items: center;
  background: #141713;
  padding: 14px 16px;
}

.auction-row > span,
.auction-row > strong {
  font-family: var(--mono);
  font-size: 0.64rem;
}

.auction-row > span:first-child {
  color: #d7dcd1;
}

.auction-row .provider-name {
  color: var(--signal);
}

.auction-row small {
  color: #798174;
  font-size: 0.58rem;
}

.auction-row strong {
  color: var(--aqua);
}

.escrow-meter {
  display: flex;
  height: 14px;
  margin: 32px 0 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #0e110d;
}

.escrow-meter i:first-child {
  width: 59.73%;
  background: var(--aqua);
}

.escrow-meter i:last-child {
  width: 40.27%;
  background: var(--violet);
}

.escrow-facts {
  display: grid;
  gap: 0;
  margin: 18px 0 24px;
}

.escrow-facts div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.escrow-facts dt,
.escrow-card > p,
.provider-card > p {
  color: var(--muted);
  font-size: 0.7rem;
}

.escrow-facts dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.escrow-card > p,
.provider-card > p {
  margin-bottom: 0;
  line-height: 1.6;
}

.market-select-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.68rem;
}

.auction-lab select,
.bid-control input {
  width: 100%;
  border: 1px solid var(--line-bright);
  border-radius: 8px;
  outline: none;
  background: #111410;
  color: var(--ink);
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.auction-lab select:focus,
.bid-control input:focus {
  border-color: var(--signal);
}

.bid-control-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
}

.bid-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 14px;
  align-items: center;
}

.bid-control label {
  overflow: hidden;
  color: #c4cac0;
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-result {
  display: block;
  min-height: 54px;
  margin-top: 18px;
  border-left: 2px solid var(--signal);
  background: rgba(201, 255, 87, 0.06);
  color: #dbe8c0;
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 0.66rem;
  line-height: 1.5;
}

.provider-list {
  display: grid;
  gap: 14px;
  margin: 30px 0;
}

.provider-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
}

.provider-row span,
.provider-row strong {
  font-family: var(--mono);
  font-size: 0.65rem;
}

.provider-row i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--signal), var(--aqua));
}

.provider-row strong {
  color: var(--signal);
}

.automation-section {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 20%, rgba(201, 255, 87, 0.08), transparent 30%),
    #0d100c;
}

.automation-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}

.automation-stats div {
  background: #151914;
  padding: 18px 20px;
}

.automation-stats dt {
  color: var(--muted);
  font-size: 0.62rem;
}

.automation-stats dd {
  margin: 8px 0 0;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 1.3rem;
}

.automation-layout,
.automation-lab-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.automation-lab-layout {
  grid-template-columns: 0.9fr 1.1fr;
  margin-top: 20px;
}

.keeper-card,
.policy-card,
.automation-lab,
.keeper-rules {
  padding: 28px;
}

.keeper-card h3,
.policy-card h3,
.automation-lab h3,
.keeper-rules h3 {
  margin: 0 0 24px;
}

.keeper-live,
.policy-hash {
  color: var(--aqua);
  font-family: var(--mono);
  font-size: 0.61rem;
}

.keeper-live i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 4px rgba(109, 227, 193, 0.08);
}

.lineage-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.lineage-flow > div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #121511;
  padding: 15px;
}

.lineage-flow > i {
  color: var(--signal);
  font-style: normal;
}

.lineage-flow small,
.lineage-flow strong,
.lineage-flow span {
  display: block;
}

.lineage-flow small {
  color: var(--muted);
  font-size: 0.58rem;
}

.lineage-flow strong {
  overflow: hidden;
  margin: 7px 0;
  font-family: var(--mono);
  font-size: 0.65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lineage-flow span {
  color: #7f887b;
  font-size: 0.61rem;
}

.lineage-flow b {
  color: var(--signal);
  font-family: var(--mono);
}

.lineage-next {
  border-color: rgba(201, 255, 87, 0.35) !important;
  background: rgba(201, 255, 87, 0.05) !important;
}

.keeper-events {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--line);
  padding: 0;
  list-style: none;
}

.keeper-events li {
  background: #141713;
  padding: 12px;
}

.keeper-events span,
.keeper-events strong {
  display: block;
}

.keeper-events span {
  color: #777f73;
  font-family: var(--mono);
  font-size: 0.55rem;
}

.keeper-events strong {
  margin-top: 4px;
  color: #d1d6cc;
  font-size: 0.62rem;
  font-weight: 650;
}

.policy-facts {
  display: grid;
  gap: 0;
  margin: 0 0 20px;
}

.policy-facts div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.policy-facts dt,
.policy-card > p {
  color: var(--muted);
  font-size: 0.68rem;
}

.policy-facts dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.68rem;
}

.policy-card > p {
  margin-bottom: 0;
  line-height: 1.6;
}

.automation-result {
  min-height: 78px;
  margin-top: 24px;
  border-left: 2px solid var(--signal);
  background: rgba(201, 255, 87, 0.06);
  padding: 14px 16px;
}

.automation-result strong,
.automation-result span {
  display: block;
}

.automation-result strong {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.automation-result span {
  margin-top: 5px;
  color: #aab2a5;
  font-size: 0.65rem;
}

.keeper-rules ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
  padding: 0;
  list-style: none;
}

.keeper-rules li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  background: #141713;
  padding: 12px;
}

.keeper-rules li:last-child {
  grid-column: 1 / -1;
  background: var(--signal-dark);
}

.keeper-rules li > span {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.keeper-rules strong,
.keeper-rules small {
  display: block;
}

.keeper-rules strong {
  font-size: 0.7rem;
}

.keeper-rules small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.58rem;
}

.recipe-layout {
  grid-template-columns: 0.8fr 1.2fr;
}

.recipe-layers {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 0;
  list-style: none;
}

.recipe-layers li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 19px 4px;
}

.recipe-layers > li > span {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.recipe-layers strong,
.recipe-layers small {
  display: block;
}

.recipe-layers strong {
  font-size: 0.82rem;
}

.recipe-layers small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.66rem;
}

.code-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  background: #0b0d0a;
}

.code-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 15px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.63rem;
}

.code-toolbar button {
  border: 0;
  background: transparent;
  color: var(--signal);
  font-size: 0.62rem;
  cursor: pointer;
}

.code-panel pre {
  max-height: 430px;
  overflow: auto;
  margin: 0;
  padding: 24px;
  color: #cbd1c4;
  font-size: 0.7rem;
  line-height: 1.7;
  tab-size: 2;
}

.gap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gap-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #131612;
  padding: 19px;
}

.gap-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.gap-card h3 {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.gap-status {
  width: max-content;
  border-radius: 999px;
  padding: 4px 7px;
  font-family: var(--mono);
  font-size: 0.52rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gap-card[data-status="ready"] .gap-status {
  background: rgba(109, 227, 193, 0.1);
  color: var(--aqua);
}

.gap-card[data-status="prototype"] .gap-status,
.gap-card[data-status="partial"] .gap-status {
  background: rgba(140, 150, 255, 0.1);
  color: #b6bdff;
}

.gap-card[data-status="missing"] .gap-status {
  background: rgba(255, 119, 119, 0.08);
  color: #ff9b9b;
}

.gap-card p {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.next-build {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  margin-top: 20px;
  border: 1px solid rgba(201, 255, 87, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(201, 255, 87, 0.08), transparent 65%);
  padding: 34px;
}

.next-build h3 {
  margin: 8px 0 10px;
  font-size: 1.8rem;
}

.next-build p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.next-build ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  counter-reset: next;
  list-style: none;
}

.next-build li {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
  color: #d4d8cf;
  font-size: 0.76rem;
}

.next-build li::before {
  counter-increment: next;
  content: "0" counter(next);
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.56rem;
}

.design-laws {
  padding-block: 132px;
}

.design-laws h2 {
  margin-top: 18px;
}

.law-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.law-grid article {
  min-height: 210px;
  background: var(--bg);
  padding: 24px;
}

.law-grid span {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.61rem;
}

.law-grid h3 {
  margin: 62px 0 8px;
  font-size: 1.05rem;
}

.law-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.73rem;
}

footer {
  width: min(var(--shell), calc(100% - 48px));
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

footer > div:last-child {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.toast {
  position: fixed;
  z-index: 50;
  right: 20px;
  bottom: 20px;
  transform: translateY(130%);
  border: 1px solid var(--line-bright);
  border-radius: 10px;
  background: #242920;
  color: var(--ink);
  padding: 12px 16px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.4);
  font-size: 0.72rem;
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.toast.visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 78px;
  }

  .proof-card {
    width: min(620px, 100%);
  }

  .gap-grid,
  .law-grid,
  .market-layout,
  .market-lab-layout,
  .automation-layout,
  .automation-lab-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experiment-result {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .section-shell,
  footer {
    width: min(100% - 30px, var(--shell));
  }

  .site-header {
    min-height: 64px;
    padding-inline: 15px;
  }

  .header-action {
    padding: 8px 11px;
    font-size: 0.68rem;
  }

  .hero {
    gap: 54px;
    padding-block: 66px;
  }

  h1 {
    font-size: clamp(3.3rem, 17vw, 5.1rem);
  }

  .network-stats,
  .localnet-stats,
  .market-stats,
  .automation-stats,
  .manifesto-band,
  .bounty-grid,
  .ledger-layout,
  .localnet-layout,
  .market-layout,
  .market-lab-layout,
  .automation-layout,
  .automation-lab-layout,
  .recipe-layout,
  .section-heading,
  .next-build,
  .method-flow {
    grid-template-columns: 1fr;
  }

  .network-stats div,
  .manifesto-band p {
    min-height: 62px;
  }

  .manifesto-band p + p {
    border-top: 1px solid rgba(18, 22, 10, 0.25);
    border-left: 0;
  }

  .content-section,
  .design-laws {
    padding-block: 92px;
  }

  .section-heading {
    gap: 24px;
    margin-bottom: 44px;
  }

  .section-heading > p {
    max-width: 600px;
  }

  .event-chain {
    grid-template-columns: 1fr;
  }

  .event-chain li {
    grid-template-columns: 36px 1fr auto;
    align-items: center;
  }

  .event-chain li::after {
    content: "↓";
    top: auto;
    right: 18px;
    bottom: -9px;
  }

  .next-build {
    gap: 28px;
  }

  .method-flow li {
    min-height: 0;
  }

  .method-flow h3 {
    margin-top: 32px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-block: 28px;
  }

  footer > div:last-child {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .network-strip {
    font-size: 0.58rem;
  }

  .proof-facts,
  .block-fields,
  .localnet-stats,
  .market-stats,
  .automation-stats,
  .gap-grid,
  .law-grid {
    grid-template-columns: 1fr;
  }

  .proof-facts div {
    padding: 12px 16px;
  }

  .settled-bounty,
  .composer,
  .allocation-card,
  .next-build,
  .finding-card,
  .challenge-card {
    padding: 20px;
  }

  .auction-card,
  .escrow-card,
  .auction-lab,
  .provider-card {
    padding: 20px;
  }

  .keeper-card,
  .policy-card,
  .automation-lab,
  .keeper-rules {
    padding: 20px;
  }

  .auction-row {
    grid-template-columns: 1fr auto;
    gap: 5px 14px;
  }

  .auction-row .provider-name,
  .auction-row small {
    grid-column: 1;
  }

  .auction-row strong {
    grid-column: 2;
    grid-row: 1;
  }

  .provider-row {
    grid-template-columns: 1fr auto;
  }

  .provider-row i {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .lineage-flow,
  .keeper-rules ol,
  .keeper-events {
    grid-template-columns: 1fr;
  }

  .lineage-flow > i {
    transform: rotate(90deg);
    text-align: center;
  }

  .keeper-rules li:last-child {
    grid-column: auto;
  }

  .inline-card-link {
    margin: 22px -20px -20px;
  }

  .receipt-links {
    margin: 22px -20px -20px;
  }

  .metric-stack div,
  .escrow-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .payout-preview {
    grid-template-columns: 1fr;
  }

  .allocation-row {
    grid-template-columns: 66px 1fr;
  }

  .allocation-row strong {
    grid-column: 2;
  }

  .law-grid article {
    min-height: 160px;
  }

  .law-grid h3 {
    margin-top: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
