html, body {
  margin: 0;
  min-height: 100%;
  background: #0c0f14;
  color: #edf2f7;
  font: 15px/1.45 Inter, Arial, sans-serif;
}

body {
  overflow-wrap: anywhere;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px;
}

.hero,
.section-head,
.button-row,
.lane-card-footer {
  display: flex;
  gap: 12px;
}

.hero,
.section-head {
  justify-content: space-between;
  align-items: flex-start;
}

.hero {
  margin-bottom: 18px;
}

.hero-actions,
.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wallet-router {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 18px;
}

.eyebrow {
  margin: 0 0 4px;
  color: #7dc2ff;
  font-size: 12px;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 8px;
  font-size: 34px;
  font-weight: 650;
}

h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.lede,
.muted,
li,
label {
  color: #aebacc;
}

.muted {
  font-size: 13px;
}

.button,
select,
input {
  min-height: 40px;
  border-radius: 6px;
  font: inherit;
}

.button {
  display: inline-flex;
  align-items: center;
  border: 1px solid #32445d;
  background: #203049;
  color: #edf2f7;
  padding: 0 12px;
  text-decoration: none;
  cursor: pointer;
}

.button-secondary {
  background: #131924;
}

.grid {
  display: grid;
  gap: 14px;
}

.top-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel,
.lane-card,
.stack-item,
.log {
  border: 1px solid #243040;
  border-radius: 8px;
  background: #141a23;
}

.panel {
  padding: 18px;
  margin-top: 16px;
}

.panel-highlight {
  border-color: #6f5b2c;
  background: #171814;
}

.capsule-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.span-all {
  grid-column: 1 / -1;
}

.capsule-form label {
  display: grid;
  gap: 8px;
}

select,
input {
  border: 1px solid #32445d;
  background: #0f141d;
  color: #edf2f7;
  padding: 0 12px;
}

.button-row {
  grid-column: 1 / -1;
}

.log {
  margin: 14px 0 0;
  padding: 14px;
  min-height: 84px;
  white-space: pre-wrap;
  background: #0d1118;
  color: #cfe4ff;
}

.stack,
.lane-grid {
  display: grid;
  gap: 12px;
}

.stack-item {
  padding: 12px;
}

.stack-item strong,
.lane-card strong {
  display: block;
  color: #edf2f7;
}

.lane-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lane-card {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.lane-card-footer {
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.tone-good {
  border-color: #2f664f;
}

.tone-warn {
  border-color: #6f5b2c;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  border: 1px solid #2f664f;
  background: #16251d;
  color: #def5e7;
  font-size: 12px;
}

.chip.warn {
  border-color: #6f5b2c;
  background: #2c2414;
  color: #f4e1b0;
}

ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.footer-note {
  margin: 20px 0 0;
  padding: 8px 2px 18px;
  color: #7dc2ff;
  text-align: center;
}

@media (max-width: 980px) {
  .top-grid,
  .wallet-router,
  .lane-grid,
  .capsule-form {
    grid-template-columns: 1fr;
  }

  .hero {
    flex-direction: column;
  }
}
