:root {
  --card: #121826;
  --ink: #f8fafc;
  --muted: #94a3b8;
  --line: #334155;
  --accent: #00d4ff;
  --accent-soft: rgba(0, 240, 255, 0.18);
  --landing-soft: #1a1f2e;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  /* Prevent layout/background shift when tabs toggle page height. */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1100px 420px at 82% -80px, rgba(0, 212, 255, 0.24), transparent 60%),
    radial-gradient(900px 360px at -6% 10%, rgba(0, 255, 212, 0.18), transparent 58%),
    linear-gradient(160deg, #000814 0%, #0a0e17 48%, #000814 100%);
  background-attachment: fixed;
}

.landing-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 22px 28px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.landing-kicker {
  margin-bottom: 6px;
  background: #00d4ff;
  color: #00101b;
}

.lab-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.landing-shell > .landing-sections {
  flex: 1 0 auto;
}

.lab-page > main {
  flex: 1 0 auto;
}

.landing-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px;
  border-radius: 20px;
  display: grid;
  gap: 22px;
  grid-template-columns: 1.5fr 1fr;
  align-items: start;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #121826, #1a1f2e);
  border: 1px solid rgba(0, 212, 255, 0.18);
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.35);
}

.landing-hero-single {
  grid-template-columns: minmax(0, 1fr);
}

.landing-hero-content h1 {
  margin: 8px 0 8px;
  font-size: 34px;
  line-height: 1.2;
  max-width: 18ch;
}

.landing-hero-content p {
  max-width: 680px;
  line-height: 1.65;
  color: #cbd5e1;
}

.landing-hero-actions {
  margin: 14px 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-inline-block {
  margin-top: 6px;
  display: grid;
  gap: 10px;
}

.landing-flow {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-step {
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  background: #101725;
  box-shadow: inset 0 0 0 1px rgba(0, 212, 255, 0.07);
}

.landing-step span {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #00d4ff;
  color: #00101b;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
}

.landing-step h3 {
  margin: 6px 0;
}

.landing-step p {
  margin: 0;
  color: #94a3b8;
}

.landing-hero .btn {
  display: inline-block;
  text-decoration: none;
}

.landing-hero-card {
  border-radius: 14px;
  background: linear-gradient(160deg, #121a2a, #0f1727);
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.landing-proof-row {
  display: grid;
  gap: 10px;
}

.landing-proof-row > div {
  display: grid;
  gap: 4px;
  background: rgba(26, 31, 46, 0.8);
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 255, 0.18);
  padding: 10px;
}

.landing-row-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.landing-row-item {
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 10px;
  background: rgba(15, 23, 39, 0.5);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.landing-row-item strong {
  color: #f8fafc;
}

.landing-row-item p {
  margin: 0;
  color: #cbd5e1;
}

.landing-row-item ol {
  margin: 0;
  padding-left: 18px;
  color: #cbd5e1;
  display: grid;
  gap: 5px;
}

.landing-hero-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.landing-faq {
  display: grid;
  gap: 10px;
}

.landing-faq-item {
  border: 1px solid rgba(2, 8, 23, 0.06);
  border-radius: 10px;
  padding: 11px 12px;
  background: #fafdfd;
}

.landing-faq-item h3 {
  margin: 0 0 6px;
}

.landing-faq-item p {
  margin: 0;
  color: var(--muted);
}

.landing-sections {
  max-width: 1240px;
  margin: 0 auto 22px;
  padding: 0 24px 18px;
  display: grid;
  gap: 14px;
}

.landing-flow-visual {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.flow-figure {
  margin: 0;
  display: grid;
  gap: 10px;
}

.flow-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.22);
  background: #0f172a;
}

.flow-figure figcaption {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.5;
}

.landing-block {
  border-radius: 16px;
  background: linear-gradient(180deg, #121826, #151d2d);
  padding: 14px;
  border: 1px solid rgba(0, 212, 255, 0.14);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.landing-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.landing-block h2 {
  margin-bottom: 8px;
}

.landing-block p {
  margin: 0 0 10px 0;
  color: #cbd5e1;
}

.landing-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.landing-card {
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(2, 8, 23, 0.06);
  box-shadow: 0 8px 14px rgba(15, 23, 42, 0.03);
}

.landing-card h3,
.landing-strip-item strong {
  margin-bottom: 6px;
}

.landing-card ol {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.landing-card p {
  color: var(--muted);
}

.landing-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.landing-strip-item {
  border: 1px solid rgba(2, 8, 23, 0.06);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.76);
}

.landing-strip-dark .landing-strip-item {
  border-color: rgba(0, 212, 255, 0.18);
  background: rgba(15, 23, 39, 0.5);
}

.landing-strip-dark .landing-strip-item span {
  color: #cbd5e1;
}

.landing-strip-item span {
  color: var(--muted);
}

.landing-strip-item strong {
  display: block;
}

.landing-examples {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.landing-example {
  border: 1px solid rgba(2, 8, 23, 0.06);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  padding: 10px;
}

.landing-example p {
  margin: 0;
  color: var(--muted);
}

.landing-example p + p {
  margin-top: 6px;
}

.landing-block.last-call {
  text-align: center;
}

.landing-block.accent {
  background: linear-gradient(180deg, #ecfffd, #f7fffe);
}

.landing-faq details {
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 10px;
  padding: 10px 12px;
  background: #0f1727;
}

.landing-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 8px;
}

.landing-faq p {
  margin: 0;
  color: #94a3b8;
}

.navbar,
.panel,
.status-bar,
.tabs {
  background: var(--card);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.navbar {
  padding: 12px;
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.token-ticker {
  display: grid;
  gap: 0;
  background: #121826;
  border-radius: 14px;
  padding: 8px 10px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.token-ticker-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #0f172a;
}

.token-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  min-width: max-content;
}

.token-ticker-track.animate {
  animation: tokenTickerRight var(--ticker-duration, 36s) linear infinite;
}

.token-ticker:hover .token-ticker-track.animate {
  animation-play-state: paused;
}

.token-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid #334155;
  background: #1a1f2e;
  color: #e2e8f0;
  padding: 6px 10px;
  white-space: nowrap;
  font-size: 12px;
  font-family: "Space Mono", monospace;
}

.token-chip-label {
  color: #f8fafc;
  font-weight: 700;
}

.token-chip-meta {
  color: #94a3b8;
}

.token-chip-metric {
  color: #00d4ff;
  font-weight: 700;
}

.token-chip.rank-1,
.token-chip.rank-2,
.token-chip.rank-3 {
  border-color: #00f0ff;
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.38);
}

.token-chip.rank-1 {
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.55);
}

.token-chip.empty {
  color: #94a3b8;
  border-style: dashed;
}

@keyframes tokenTickerRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  background: #00d4ff;
  color: #00101b;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: 20px;
}

h3 {
  margin: 0;
  font-size: 15px;
}

p {
  margin: 0;
  color: var(--muted);
}

.identity {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.pill {
  background: #1a1f2e;
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  display: inline-flex;
  gap: 8px;
}

.btn {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #00101b;
  padding: 8px 12px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-copy {
  width: 28px;
  height: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-copy svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.btn-copy.copied {
  border-color: #34d399;
  color: #047857;
  background: #ecfdf5;
}

.hidden {
  display: none !important;
}

.tabs {
  display: flex;
  gap: 8px;
  padding: 10px;
}

.tab-right {
  margin-left: auto;
}

.tab {
  border: 1px solid transparent;
  background: transparent;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-family: "Space Mono", monospace;
  font-size: 12px;
  color: #cbd5e1;
}

.tab.active {
  background: var(--accent-soft);
  border-color: #00f0ff;
  color: #00f0ff;
}

.tab.tab-create {
  background: var(--accent);
  border-color: var(--accent);
  color: #f8fafc;
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.35);
  font-weight: 700;
}

.tab.tab-create.active {
  background: #00f0ff;
  border-color: #00f0ff;
  color: #f8fafc;
}

.discover-tabs {
  display: inline-flex;
  gap: 8px;
}

.tab.mini {
  padding: 6px 10px;
  font-size: 11px;
}

.panel {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.hero-row {
  border: 0;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 14px;
  background: #f8fffe;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.hero-title {
  font-size: 20px;
  font-weight: 700;
}

.hero-meta {
  color: var(--muted);
  margin-top: 4px;
}

.hero-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.kpi-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.kpi-card {
  border: 0;
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 6px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.kpi-card span,
.kpi-card small {
  color: var(--muted);
}

.kpi-card strong {
  font-size: 24px;
}

.card-section {
  border: 0;
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 10px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.joined-tabs {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.joined-tab.active {
  border-color: #00f0ff;
  background: var(--accent-soft);
  color: #00f0ff;
}

.activity-subtabs {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.activity-subtab.active {
  border-color: #00f0ff;
  background: var(--accent-soft);
  color: #00f0ff;
}

.section-head {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.discover-window-btn.active {
  border-color: #00f0ff;
  background: var(--accent-soft);
  color: #00f0ff;
}

.nav-search {
  width: 100%;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
  position: relative;
  overflow: visible;
  align-items: start;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #121826;
  max-height: 320px;
  overflow: auto;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  z-index: 80;
}

.search-dropdown-item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.search-dropdown-item:last-child {
  border-bottom: 0;
}

.search-dropdown-item-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.search-dropdown-title {
  font-weight: 600;
}

.search-dropdown-meta {
  color: var(--muted);
  font-size: 12px;
}

.search-dropdown-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.onboarding-strip {
  display: grid;
  gap: 16px;
}

.onboarding-strip-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

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

.onboarding-step,
.trust-panel {
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: 12px;
  background: rgba(10, 16, 30, 0.45);
}

.onboarding-step {
  display: flex;
  gap: 12px;
  padding: 14px;
}

.onboarding-step.is-complete {
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.18);
}

.onboarding-step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Mono", monospace;
  background: #1e293b;
  color: #e2e8f0;
  flex: 0 0 auto;
}

.onboarding-step strong,
.trust-panel strong {
  display: block;
  margin-bottom: 4px;
}

.onboarding-step p,
.trust-panel p,
.trust-details li {
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.5;
}

.trust-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  margin-bottom: 4px;
}

.trust-details summary {
  cursor: pointer;
  color: #e2e8f0;
  font-weight: 600;
}

.trust-details ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.create-form {
  display: grid;
  gap: 12px;
}

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

.create-step {
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.45);
  color: #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: "Space Mono", monospace;
  font-size: 12px;
  cursor: pointer;
}

.create-step.is-active {
  border-color: rgba(0, 212, 255, 0.5);
  color: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(0, 212, 255, 0.2);
}

.create-step.is-complete {
  border-color: rgba(34, 197, 94, 0.45);
}

.create-step-copy {
  display: grid;
  gap: 6px;
  margin-bottom: 6px;
}

.create-step-copy p {
  color: #94a3b8;
  font-size: 13px;
  margin: 0;
}

.create-recommended-box,
.create-review-card {
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: 12px;
  background: rgba(10, 16, 30, 0.45);
  padding: 14px;
}

.create-recommended-box p,
.create-review-card p,
.create-review-card li {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.5;
}

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

.create-review-item {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.35);
}

.create-review-item span {
  display: block;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 6px;
}

.create-nav-row {
  justify-content: space-between;
}

.create-field-row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
  align-items: start;
}

.create-field-row > label {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cbd5e1;
  padding-top: 10px;
}

.create-field-main {
  display: grid;
  gap: 6px;
}

.field-help {
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.4;
}

.create-advanced {
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 10px;
  background: rgba(10, 16, 30, 0.4);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 13px;
}

.checkbox-inline input {
  width: auto;
  margin: 0;
}

.controls-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.controls-row label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

input,
select {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: "Space Mono", monospace;
  font-size: 13px;
  background: #1a1f2e;
  color: var(--ink);
}

.table-wrap {
  width: 100%;
  overflow: auto;
  border: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.table-wrap.limited-rows {
  max-height: min(62vh, calc(100vh - 300px));
}

.table-wrap.slim {
  max-height: 320px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

th {
  background: #1a1f2e;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5e1;
}

th.sortable {
  cursor: pointer;
  user-select: none;
}

th.sortable:hover {
  color: #00f0ff;
}

th.sortable.active-sort {
  color: #00d4ff;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.35);
}

tbody tr {
  cursor: pointer;
}

tbody tr:hover {
  background: rgba(0, 212, 255, 0.08);
}

tbody tr.selected {
  background: rgba(0, 240, 255, 0.18);
}

.table-link {
  color: #7eeeff;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}

.table-link:hover {
  color: #00f0ff;
  border-bottom-color: #00f0ff;
}

.table-open-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  font-size: 11px;
  border-radius: 8px;
  text-decoration: none;
}

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

.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.chart-head label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.chart-head select {
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #1a1f2e;
  font-family: "Space Mono", monospace;
  font-size: 12px;
}

.detail-card {
  border: 0;
  border-radius: 12px;
  padding: 12px;
  background: #1a1f2e;
  display: grid;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.detail-card.wide {
  grid-column: 1 / -1;
}

.activity-summary-list {
  display: grid;
  gap: 6px;
}

.activity-summary-list div {
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 12px;
}

.chart-grid {
  display: grid;
  gap: 12px;
}

.chart-card {
  border: 0;
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 8px;
  position: relative;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.chart-canvas {
  position: relative;
}

canvas {
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 10px;
  background: #121826;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.chart-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -110%);
  background: #111827;
  color: #f9fafb;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  padding: 6px 8px;
  border-radius: 8px;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  z-index: 10;
}

.chart-tooltip.hidden {
  display: none;
}

.about-article {
  max-width: 1080px;
  margin: 0 auto;
  border: 0;
  border-radius: 14px;
  background: #121826;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.about-hero-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.about-flow-figure {
  margin-top: 14px;
}

.about-header {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}

.about-kicker {
  margin: 0 0 6px 0;
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f766e;
}

.about-header h2 {
  margin: 0 0 10px 0;
}

.about-logo {
  width: min(100%, 220px);
  height: auto;
  display: block;
  margin: 8px 0 12px 0;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.about-subtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.about-section + .about-section {
  margin-top: 20px;
}

.about-section h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
}

.about-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.about-section p + p {
  margin-top: 10px;
}

.about-section ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.about-section li + li {
  margin-top: 6px;
}

.muted {
  color: var(--muted);
}

.status-bar {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 12px;
}

.status-time {
  color: var(--text-strong);
}

a {
  color: #0f766e;
}

mark {
  background: #fef3c7;
  color: #92400e;
  padding: 0 2px;
  border-radius: 3px;
}

@media (max-width: 900px) {
  .navbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .identity {
    justify-content: flex-start;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .about-article {
    padding: 18px;
  }

  .nav-search {
    grid-template-columns: 1fr;
  }

  .create-field-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .create-field-row > label {
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .token-ticker-track.animate {
    animation: none;
  }

  .token-ticker-viewport {
    overflow: auto;
  }
}
.landing-topbar {
  gap: 14px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(0, 212, 255, 0.22), rgba(0, 255, 212, 0.12));
  border: 1px solid rgba(0, 212, 255, 0.24);
  color: #e6fbff;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.topbar-copy {
  margin-top: 3px;
  font-size: 12px;
  color: #94a3b8;
}

.landing-mini-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.landing-mini-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
}

.landing-mini-nav a:hover {
  color: #ffffff;
}

.hero-lead {
  font-size: 18px;
}

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

.hero-signal-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(0, 212, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(0, 212, 255, 0.06), 0 16px 32px rgba(0, 0, 0, 0.28);
}

.hero-card-badge,
.section-badge {
  width: fit-content;
}

.hero-signal-stack {
  display: grid;
  gap: 10px;
}

.hero-signal-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: 12px;
  background: rgba(26, 31, 46, 0.92);
  border: 1px solid rgba(0, 212, 255, 0.14);
}

.hero-signal-row span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.18);
  color: #7eeaff;
  font-family: "Space Mono", monospace;
  font-size: 12px;
}

.hero-signal-row strong {
  display: block;
  margin-bottom: 4px;
}

.hero-signal-row p {
  margin: 0;
  color: #a8b4c7;
  line-height: 1.5;
}

.hero-card-note {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.16);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.section-heading h2 {
  line-height: 1.2;
}

.accent-block {
  background:
    radial-gradient(700px 220px at 100% -20%, rgba(0, 212, 255, 0.12), transparent 60%),
    linear-gradient(180deg, #121826, #151d2d);
}

.emphasis-item {
  background: rgba(0, 212, 255, 0.08);
}

.payout-mode-strip,
.scoring-strip {
  margin-top: 12px;
}

.landing-flow-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cta-block {
  text-align: center;
  background:
    radial-gradient(560px 200px at 50% -10%, rgba(0, 212, 255, 0.16), transparent 62%),
    linear-gradient(180deg, #121826, #111827);
}

.center-heading {
  justify-items: center;
}

.cta-copy {
  max-width: 680px;
  margin: 0 auto 10px;
}

.centered-actions {
  justify-content: center;
}

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

  .identity {
    justify-content: flex-start;
  }

  .landing-hero {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .landing-shell {
    padding: 16px 14px 20px;
  }

  .landing-sections {
    padding: 0 4px 12px;
  }

  .landing-flow-visual {
    padding: 0 4px;
  }

  .landing-hero,
  .landing-block,
  .navbar {
    padding: 16px;
  }

  .landing-hero-content h1 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .landing-proof-grid,
  .landing-flow,
  .landing-flow-four {
    grid-template-columns: 1fr;
  }

  .landing-mini-nav {
    justify-content: flex-start;
  }
}


.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #00d4ff, #62f6d4);
  color: #00101b;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.topbar-copy {
  margin-top: 2px;
  font-size: 13px;
}

.landing-mini-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.landing-mini-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
}

.landing-mini-nav a:hover {
  color: #fff;
}

.hero-lead,
.cta-copy,
.docs-note {
  font-size: 16px;
  line-height: 1.7;
}

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

.hero-signal-stack {
  display: grid;
  gap: 10px;
}

.hero-signal-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
}

.hero-signal-row > span {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.14);
  border: 1px solid rgba(0, 212, 255, 0.32);
  color: #7eeeff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Mono", monospace;
  font-size: 12px;
}

.hero-signal-row p,
.hero-card-note span {
  margin-top: 4px;
}

.hero-card-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 212, 255, 0.15);
  display: grid;
  gap: 4px;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.center-heading {
  text-align: center;
}

.centered-actions {
  justify-content: center;
}

.emphasis-item {
  background: rgba(0, 212, 255, 0.08);
}

.docs-shell {
  padding-bottom: 40px;
}

.docs-sections {
  gap: 16px;
}

.docs-strip {
  margin-top: 10px;
}

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

  .onboarding-steps {
    grid-template-columns: 1fr;
  }

  .create-stepper,
  .create-review-grid {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    grid-template-columns: 1fr;
  }

  .landing-proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .landing-shell,
  .lab-page,
  .landing-sections {
    padding-left: 16px;
    padding-right: 16px;
  }

  .landing-flow-visual {
    padding-left: 16px;
    padding-right: 16px;
  }

  .landing-hero-content h1 {
    font-size: 28px;
  }

  .landing-flow {
    grid-template-columns: 1fr;
  }
}

/* Contrast hardening for landing/docs content blocks */
.landing-shell .badge,
.landing-shell .section-badge,
.landing-shell .hero-card-badge {
  background: #00d4ff;
  color: #00101b !important;
  text-shadow: none;
}

.landing-shell .landing-strip-item,
.landing-shell .landing-card,
.landing-shell .landing-example {
  background: rgba(15, 23, 39, 0.72);
  border-color: rgba(0, 212, 255, 0.2);
  color: #e2e8f0;
}

.landing-shell .landing-strip-item strong,
.landing-shell .landing-card strong,
.landing-shell .landing-example strong {
  color: #f8fafc;
}

.landing-shell .landing-strip-item span,
.landing-shell .landing-card p,
.landing-shell .landing-card ol,
.landing-shell .landing-example p {
  color: #cbd5e1;
}

/* Shared footer across landing/docs/workspace */
.site-footer {
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #05070c, #080b12);
  border: 1px solid rgba(0, 212, 255, 0.12);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.site-footer-main {
  padding: 26px 18px 20px;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.site-footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #f8fafc;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Mono", monospace;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.site-footer-social a:hover {
  transform: translateY(-1px);
  border-color: #00d4ff;
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.34);
}

.site-footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
}

.site-footer-nav a:hover {
  color: #ffffff;
}

.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #030509;
  padding: 12px 16px;
  text-align: center;
  color: #cbd5e1;
  font-family: "Space Mono", monospace;
  font-size: 12px;
}

.site-footer-compact .site-footer-main {
  padding-top: 18px;
  padding-bottom: 14px;
}
