.docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  margin-top: 32px;
  align-items: start;
}
.docs-toc {
  position: sticky;
  top: 24px;
}
.docs-toc nav {
  flex-direction: column;
  gap: 2px;
}
.docs-toc strong {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--muted);
  padding: 12px 16px;
}
.docs-toc a {
  line-height: 1.5;
}
.docs-toc a:hover {
  background: var(--panel);
  color: var(--lime);
}
.docs-content {
  min-width: 0;
  max-width: 900px;
}
.docs-content section {
  scroll-margin-top: 24px;
  padding: 36px;
}
.docs-content h2 {
  font-size: 28px;
  margin-top: 16px;
}
.docs-content h3 {
  margin-top: 22px;
}
.docs-content p {
  line-height: 1.8;
  margin: 16px 0;
}
.docs-content p strong {
  color: var(--ink);
}
.docs-content table {
  table-layout: fixed;
}
.docs-content th,
.docs-content td {
  white-space: normal;
  line-height: 1.65;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.docs-content caption {
  text-align: left;
  padding: 16px 12px;
  color: var(--muted);
}
.docs-note,
.docs-example {
  background: #131b13;
  border-left: 3px solid var(--lime);
  padding: 18px 24px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
}
.docs-example h3 {
  margin-top: 0;
}
.docs-steps {
  padding-left: 26px;
}
.docs-steps li {
  padding-left: 10px;
  margin: 24px 0;
  line-height: 1.7;
}
.docs-steps li::marker {
  color: var(--lime);
  font-weight: 700;
}
.docs-steps p {
  margin: 6px 0;
}
.docs-content details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.docs-content summary {
  cursor: pointer;
  font-weight: 600;
  line-height: 1.6;
}
.docs-content details p {
  padding-left: 18px;
}
.docs-glossary dt {
  font-weight: 700;
  margin-top: 22px;
  color: var(--lime);
}
.docs-glossary dd {
  margin: 8px 0 0;
  line-height: 1.75;
  color: var(--muted);
}
@media (max-width: 1200px) {
  body:has(.docs-layout) .topbar {
    flex-wrap: wrap;
  }
  body:has(.docs-layout) .topbar nav {
    order: 3;
    width: 100%;
    overflow: auto;
  }
}
@media (max-width: 800px) {
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .docs-toc {
    position: static;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
  }
  .docs-toc nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .docs-toc strong {
    grid-column: 1/-1;
  }
  .docs-content section {
    padding: 24px 20px;
  }
  .docs-content h2 {
    font-size: 25px;
  }
}
@media (max-width: 420px) {
  .docs-toc nav {
    grid-template-columns: 1fr;
  }
  .docs-note,
  .docs-example {
    padding: 16px;
  }
  .docs-content table {
    font-size: 14px;
  }
  .docs-content th,
  .docs-content td {
    padding: 12px 7px;
  }
}
:root {
  color-scheme: dark;
  --bg: #111511;
  --panel: #1b211c;
  --line: #333e34;
  --muted: #aebbad;
  --lime: #c6fa54;
  --ink: #f4f7ee;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  background: var(--lime);
  color: #19210e;
  border: 0;
  border-radius: 8px;
  min-height: 44px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button:hover,
.button:hover {
  filter: brightness(1.08);
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}
.skip {
  position: fixed;
  top: -80px;
  background: var(--lime);
  color: black;
  padding: 15px;
  z-index: 20;
}
.skip:focus {
  top: 0;
}
.topbar {
  max-width: 1440px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 48px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -1px;
}
.brand img {
  width: 38px;
  height: 38px;
}
.brand span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
  font-weight: 500;
  display: block;
  margin-top: 3px;
}
nav {
  display: flex;
  gap: 6px;
}
nav a {
  padding: 12px 16px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}
nav a.active {
  background: var(--panel);
  color: var(--lime);
}
main {
  max-width: 1344px;
  margin: auto;
  padding: 36px 48px 70px;
}
.eyebrow {
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.pagehead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 22px 0 30px;
}
h1 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -1.8px;
  margin: 7px 0 10px;
  line-height: 1.12;
}
h2 {
  font-size: 22px;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 17px;
  margin: 0 0 10px;
}
p {
  line-height: 1.6;
  color: var(--muted);
  margin: 8px 0;
}
.demo {
  border: 1px solid #52652d;
  background: #29371b;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  color: #daedba;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
}
.metric {
  background: var(--panel);
  padding: 25px;
}
.value {
  font-size: 32px;
  letter-spacing: -1px;
  font-weight: 650;
  margin: 12px 0;
}
.unit {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0;
}
.label {
  font-size: 14px;
  color: var(--muted);
}
.small {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: 24px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
  min-width: 0;
}
.panel.light {
  background: var(--lime);
  color: #182210;
  border: 0;
}
.light p,
.light .label,
.light .small {
  color: #3e5225;
}
.light button {
  background: #192310;
  color: var(--lime);
}
.panelhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.panelhead h2 {
  margin: 0;
}
.badge {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.badge.lime {
  color: var(--lime);
  border-color: #647d39;
}
.fixture {
  font-size: 27px;
  font-weight: 650;
  margin: 26px 0;
}
.rule {
  border-top: 1px solid var(--line);
  margin: 23px 0;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 14px 0;
}
.progress {
  height: 7px;
  background: #303a30;
  border-radius: 10px;
  overflow: hidden;
  margin: 14px 0;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--lime);
}
.choice {
  display: block;
  width: 100%;
  text-align: left;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 12px 0;
  background: #171d18;
  color: var(--ink);
  cursor: pointer;
}
.choice.selected {
  border-color: var(--lime);
  box-shadow: inset 3px 0 var(--lime);
}
.choice input {
  accent-color: var(--lime);
  width: 18px;
  height: 18px;
  min-height: 0;
  display: inline-block;
  margin-right: 8px;
}
.choice strong {
  font-size: 17px;
}
.choice .row {
  margin: 0 0 12px;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label.field {
  display: block;
  margin: 15px 0;
  font-size: 14px;
  color: var(--muted);
}
input,
select,
textarea {
  display: block;
  width: 100%;
  background: #101611;
  color: var(--ink);
  border: 1px solid #546153;
  border-radius: 7px;
  padding: 12px;
  margin-top: 8px;
  min-height: 44px;
}
textarea {
  min-height: 90px;
  resize: vertical;
}
input[type='checkbox'] {
  width: auto;
  min-height: auto;
  display: inline;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.5;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.empty {
  padding: 35px 15px;
  text-align: center;
}
.tablewrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
td,
th {
  text-align: left;
  padding: 17px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
th {
  color: var(--muted);
  font-weight: 500;
}
td a {
  color: var(--lime);
}
.muted {
  color: var(--muted);
}
.error {
  border: 1px solid #b66a66;
  background: #3b2322;
  padding: 18px;
  border-radius: 8px;
  margin: 16px 0;
  overflow-wrap: anywhere;
}
#notice:not(:empty) {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  padding: 18px 24px;
  background: #33482b;
  border: 1px solid #7da768;
  border-radius: 10px;
  max-width: min(640px, 90vw);
  box-shadow: 0 10px 40px #0008;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 30px;
}
.amount {
  font-size: 48px;
  letter-spacing: -2px;
  margin: 25px 0;
  font-weight: 700;
}
.details {
  overflow-wrap: anywhere;
}
.listitem {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
dialog {
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  max-width: 580px;
  width: calc(100% - 32px);
  padding: 28px;
}
dialog::backdrop {
  background: #000a;
}
pre {
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 300px;
  overflow: auto;
}
.full {
  width: 100%;
}
@media (max-width: 1000px) {
  .topbar {
    padding: 20px 24px;
    flex-wrap: wrap;
  }
  nav {
    order: 3;
    width: 100%;
    overflow: auto;
  }
  main {
    padding: 24px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    grid-template-columns: 1fr;
  }
  .brand span {
    display: none;
  }
}
@media (max-width: 560px) {
  .topbar {
    gap: 12px;
  }
  .brand {
    font-size: 24px;
  }
  nav a {
    padding: 10px;
    font-size: 14px;
  }
  main {
    padding: 20px 16px;
  }
  .pagehead {
    align-items: flex-start;
    flex-direction: column;
  }
  .metric {
    padding: 18px 15px;
  }
  .metric .value {
    font-size: 26px;
  }
  .panel {
    padding: 22px 18px;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .fixture {
    font-size: 23px;
  }
  footer {
    flex-direction: column;
  }
  .row {
    flex-wrap: wrap;
  }
  .amount {
    font-size: 40px;
  }
}
/* Public launch state uses real empty states, never sample balances or rounds. */
.light .button.secondary {
  color: #151912;
  border-color: #55682f;
}
.launch-banner {
  margin: 18px 0 0;
  padding: 16px 20px;
  border: 1px solid var(--line, #38412f);
  border-radius: 12px;
  color: var(--muted, #afb7a5);
}
.launch-banner strong {
  color: var(--lime, #c6fa54);
  margin-right: 8px;
}
.arena-launch {
  padding: 70px 0 55px;
  max-width: 1020px;
}
.arena-launch h1 {
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin: 22px 0 28px;
}
.arena-launch h1 span {
  color: var(--lime, #c6fa54);
}
.arena-launch p {
  max-width: 700px;
  font-size: 21px;
  line-height: 1.6;
  color: var(--muted, #afb7a5);
}
.launch-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.launch-steps .panel {
  margin: 0;
}
.launch-steps h2 {
  font-size: 23px;
  margin: 24px 0 16px;
}
.launch-steps p {
  color: var(--muted, #afb7a5);
  line-height: 1.65;
  min-height: 80px;
}
.launch-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
}
@media (max-width: 800px) {
  .launch-steps {
    grid-template-columns: 1fr;
  }
  .launch-steps p {
    min-height: 0;
  }
  .launch-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .arena-launch {
    padding-top: 45px;
  }
}
