:root {
  --bg: #03070d;
  --bg-2: #07111b;
  --panel: rgba(9, 16, 27, 0.78);
  --panel-strong: rgba(12, 21, 35, 0.96);
  --panel-soft: rgba(255, 255, 255, 0.052);
  --line: rgba(157, 193, 221, 0.18);
  --line-strong: rgba(0, 229, 255, 0.34);
  --text: #f4fbff;
  --soft: #c8d9e8;
  --muted: #8298af;
  --cyan: #00e5ff;
  --mint: #38f2a0;
  --gold: #f6c85f;
  --violet: #8b5cf6;
  --rose: #ff4d8d;
  --red: #ff5a78;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --inner: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.13) 0%, transparent 28%),
    linear-gradient(220deg, rgba(139, 92, 246, 0.12) 0%, transparent 32%),
    linear-gradient(180deg, #07111b 0%, var(--bg) 52%, #010308 100%);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black, transparent 86%);
}

button,
input,
select,
textarea { font: inherit; }

button { cursor: pointer; }

a {
  color: inherit;
  text-decoration: none;
}

#meshCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.26;
  pointer-events: none;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 18px clamp(16px, 3vw, 42px) 68px;
}

.site-nav {
  position: sticky;
  top: 14px;
  z-index: 5;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 8, 14, 0.74);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34), var(--inner);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  display: block;
  filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.34));
}

.brand strong,
.brand small { display: block; }

.brand strong {
  font-size: 16px;
  letter-spacing: .02em;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  max-width: 100%;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--soft);
  white-space: nowrap;
  font-size: 14px;
}

.nav-links a:hover {
  border-color: rgba(0, 229, 255, 0.32);
  background: rgba(0, 229, 255, 0.08);
  color: #fff;
}

.top-actions,
.hero-actions,
.status-row,
.worker-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.icon-btn,
.wallet-btn,
.primary-btn,
.ghost-btn {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--inner);
}

.icon-btn {
  width: 46px;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.wallet-btn,
.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  font-weight: 850;
}

.primary-btn {
  border-color: rgba(0, 229, 255, 0.46);
  color: #031017;
  background: linear-gradient(135deg, var(--cyan), var(--mint) 62%, var(--gold));
  box-shadow: 0 16px 42px rgba(0, 229, 255, 0.16), var(--inner);
}

.primary-btn:disabled,
.ghost-btn:disabled {
  cursor: not-allowed;
  opacity: .52;
  color: var(--muted);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--inner);
}

.ghost-btn:hover,
.icon-btn:hover,
.wallet-btn:hover {
  border-color: rgba(0, 229, 255, 0.48);
  background: rgba(0, 229, 255, 0.09);
}

.wallet-btn { background: rgba(0, 229, 255, 0.08); }

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-btn {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(0, 229, 255, .28);
  border-radius: 8px;
  color: var(--soft);
  background: rgba(255, 255, 255, .045);
  box-shadow: var(--inner);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

.social-btn:hover {
  border-color: rgba(0, 229, 255, .58);
  color: #fff;
  background: rgba(0, 229, 255, .1);
  transform: translateY(-1px);
}

.wallet-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(246, 200, 95, .5);
}

main { padding-top: 28px; }

.site-footer {
  margin-top: 58px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--text);
  margin-bottom: 4px;
}

.hero-section {
  min-height: clamp(620px, calc(100vh - 152px), 820px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  padding: 28px 0 34px;
}

.hero-copy h1 {
  max-width: 850px;
  margin: 18px 0 20px;
  font-size: clamp(44px, 6.2vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
  background: linear-gradient(92deg, #fff 0%, #d8fbff 35%, #6dffd0 68%, #ffd985 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  max-width: 780px;
  margin: 0;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions { margin-top: 30px; }

.hero-actions .primary-btn,
.hero-actions .ghost-btn { min-width: 158px; }

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

.hero-proof div {
  min-height: 90px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  box-shadow: var(--inner);
}

.hero-proof strong,
.hero-proof span { display: block; }

.hero-proof strong {
  font-size: clamp(18px, 2vw, 27px);
  overflow-wrap: anywhere;
}

.hero-proof span {
  margin-top: 8px;
  color: var(--muted);
}

.eligibility-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(246, 200, 95, .26);
  border-radius: 8px;
  background: rgba(246, 200, 95, .055);
  box-shadow: var(--inner);
}

.eligibility-card span,
.eligibility-card strong {
  display: block;
}

.eligibility-card span {
  color: var(--gold);
  font-weight: 900;
}

.eligibility-card strong {
  color: var(--soft);
  text-align: right;
}

.eligibility-card.good {
  border-color: rgba(56, 242, 160, .34);
  background: rgba(56, 242, 160, .065);
}

.eligibility-card.good span { color: var(--mint); }

.eligibility-card.bad {
  border-color: rgba(255, 90, 120, .34);
  background: rgba(255, 90, 120, .065);
}

.eligibility-card.bad span { color: var(--red); }

.eyebrow {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.status-chip,
.state-pill,
.task-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.task-status-completed {
  border-color: rgba(56, 242, 160, .45);
  color: var(--mint);
  background: rgba(56, 242, 160, .08);
}

.task-status-running {
  border-color: rgba(0, 229, 255, .45);
  color: var(--cyan);
  background: rgba(0, 229, 255, .08);
}

.task-status-failed {
  border-color: rgba(255, 95, 115, .45);
  color: #ff8b99;
  background: rgba(255, 95, 115, .1);
}

.task-status-queued {
  border-color: rgba(246, 200, 95, .45);
  color: var(--gold);
  background: rgba(246, 200, 95, .08);
}

.status-chip.live,
.state-pill.good {
  border-color: rgba(56, 242, 160, 0.38);
  color: var(--mint);
}

.state-pill.danger {
  border-color: rgba(255, 90, 120, 0.38);
  color: var(--red);
}

.hero-stage {
  min-height: 530px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.11), transparent 40%),
    linear-gradient(315deg, rgba(246, 200, 95, 0.10), transparent 36%),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow), var(--inner);
}

.stage-grid {
  position: absolute;
  inset: 28px;
  background:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(135deg, black, transparent 86%);
}

.hero-logo {
  z-index: 3;
  width: 164px;
  height: 164px;
  filter: drop-shadow(0 0 54px rgba(0, 229, 255, 0.42));
}

.stage-card,
.network-card {
  position: absolute;
  z-index: 2;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 9, 16, 0.72);
  box-shadow: var(--inner);
  backdrop-filter: blur(16px);
}

.stage-card small,
.stage-card strong,
.stage-card span,
.network-card small,
.network-card strong { display: block; }

.stage-card small,
.stage-card span,
.network-card small {
  color: var(--muted);
  font-size: 12px;
}

.stage-card strong,
.network-card strong { margin: 4px 0; }

.task-card { left: 22px; top: 28px; }
.node-card { right: 22px; bottom: 88px; }
.network-card { left: 22px; bottom: 22px; }

.route-line {
  position: absolute;
  height: 2px;
  width: 210px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--mint), transparent);
  opacity: .8;
}

.route-a {
  transform: rotate(24deg);
  left: 112px;
  top: 178px;
}

.route-b {
  transform: rotate(24deg);
  right: 118px;
  bottom: 198px;
}

.compute-dot {
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 26px rgba(56, 242, 160, 0.58);
}

.d1 { left: 18%; top: 34%; }
.d2 { right: 19%; top: 22%; background: var(--violet); }
.d3 { left: 29%; bottom: 22%; background: var(--gold); }
.d4 { right: 24%; bottom: 32%; background: var(--cyan); }

.section {
  padding: 56px 0;
}

.feature-section { scroll-margin-top: 110px; }

.section-heading {
  max-width: 950px;
  margin-bottom: 24px;
}

.row-heading {
  max-width: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.section-note,
.hint,
.how-grid p,
.task-item p {
  color: var(--muted);
  line-height: 1.75;
}

.section-note {
  max-width: 840px;
  margin: 14px 0 0;
}

.how-grid,
.node-layout,
.two-col,
.whitepaper-layout {
  display: grid;
  gap: 18px;
}

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

.node-layout,
.two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

.whitepaper-layout { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }

.score-layout {
  display: grid;
  grid-template-columns: minmax(340px, .72fr) minmax(0, 1.28fr);
  gap: 18px;
}

.panel,
.how-grid article,
.whitepaper-points article,
.whitepaper-flow div,
.score-grid article,
.rule-table article,
.claim-card,
.api-box,
.public-addresses div,
.task-item,
.empty-task,
.hardware-grid article,
.node-grid article,
.miner-flow div,
.step-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow), var(--inner);
  backdrop-filter: blur(18px);
}

.panel { padding: 24px; }

.how-grid article {
  position: relative;
  min-height: 232px;
  padding: 24px;
  overflow: hidden;
}

.how-grid article::before,
.panel::before {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(90deg, var(--cyan), var(--mint), transparent);
  opacity: .52;
}

.panel {
  position: relative;
  overflow: hidden;
}

.how-grid span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 34px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: #031017;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  font-weight: 900;
}

.whitepaper-main {
  min-height: 100%;
  display: grid;
  align-content: center;
}

.whitepaper-main h3 {
  max-width: 620px;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.08;
}

.whitepaper-main p {
  max-width: 720px;
  color: var(--soft);
  line-height: 1.85;
}

.whitepaper-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.whitepaper-pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(0, 229, 255, .22);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(0, 229, 255, .07);
  font-size: 13px;
  font-weight: 800;
}

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

.whitepaper-points article {
  min-height: 190px;
  padding: 20px;
}

.whitepaper-points strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.whitepaper-points p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.whitepaper-flow div {
  min-height: 112px;
  padding: 16px;
}

.whitepaper-flow span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 8px;
  color: #031017;
  background: linear-gradient(135deg, var(--gold), var(--mint));
  font-weight: 900;
}

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

.whitepaper-flow small {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.score-formula {
  display: grid;
  align-content: center;
  gap: 14px;
}

.score-formula h3 {
  margin-bottom: 0;
  font-size: clamp(28px, 3.2vw, 44px);
}

.score-formula code {
  display: block;
  padding: 16px;
  border: 1px solid rgba(0, 229, 255, .22);
  border-radius: 8px;
  background: rgba(0, 229, 255, .06);
  color: #d7fff3;
  font-size: 16px;
  line-height: 1.6;
}

.score-formula p {
  color: var(--muted);
  line-height: 1.75;
}

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

.score-grid article {
  min-height: 172px;
  padding: 20px;
}

.score-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.score-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.score-rules {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.score-rule-card {
  display: grid;
  gap: 12px;
}

.score-rule-card h3 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 38px);
}

.score-rule-card code {
  display: block;
  padding: 16px;
  border: 1px solid rgba(56, 242, 160, .24);
  border-radius: 8px;
  background: rgba(56, 242, 160, .06);
  color: #d7fff3;
  line-height: 1.7;
}

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

.rule-table article {
  min-height: 166px;
  padding: 16px;
}

.rule-table strong,
.rule-table span,
.rule-table small {
  display: block;
}

.rule-table strong {
  font-size: 18px;
  margin-bottom: 8px;
}

.rule-table span {
  color: var(--soft);
  line-height: 1.55;
}

.rule-table small {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.score-note {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(246, 200, 95, .26);
  border-radius: 8px;
  background: rgba(246, 200, 95, .06);
}

.score-note strong {
  color: var(--gold);
}

.score-note p {
  margin: 0;
  color: var(--soft);
  line-height: 1.75;
}

.panel-head,
.compact-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.compact-head h3 { margin-bottom: 0; }

.miner-flow,
.node-grid,
.point-breakdown,
.hardware-grid,
.step-list,
.task-list,
.public-addresses,
.allocation-list,
.claim-stack {
  display: grid;
  gap: 12px;
}

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

.node-grid,
.point-breakdown { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.point-breakdown { margin-top: 12px; }

.point-breakdown article { padding: 12px; }

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

.miner-flow div {
  min-height: 108px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 16px;
}

.miner-flow span,
.step-list span {
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #031017;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  font-weight: 900;
}

.miner-flow span {
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
}

.miner-flow small,
.node-grid small,
.node-grid span,
.point-breakdown small,
.point-breakdown span,
.hardware-grid small,
.hardware-grid span,
.step-list small,
.public-addresses small,
.api-box small,
.claim-card span {
  color: var(--muted);
}

.node-grid article,
.point-breakdown article,
.hardware-grid article,
.claim-card,
.api-box,
.public-addresses div,
.task-item,
.empty-task {
  padding: 15px;
}

.node-grid strong,
.point-breakdown strong,
.hardware-grid strong,
.claim-card strong {
  display: block;
  margin: 7px 0;
  font-size: 22px;
  overflow-wrap: anywhere;
}

.point-breakdown strong { font-size: 18px; }

.model-card {
  position: relative;
}

.model-progress {
  width: 100%;
  height: 6px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.model-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--mint), var(--gold));
  transition: width .25s ease;
}

.proof-panel {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 12, 22, .72);
  padding: 14px;
}

.proof-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.proof-panel-head small {
  color: var(--cyan);
  font-weight: 900;
}

.proof-list {
  display: grid;
  gap: 8px;
  color: var(--soft);
}

.proof-list article {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(127, 161, 190, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
}

.proof-list span {
  color: var(--text);
  overflow-wrap: anywhere;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.proof-list small,
.proof-empty {
  color: var(--muted);
}

.worker-actions { margin: 18px 0; }

.worker-actions [hidden] {
  display: none !important;
}

.mode-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.mode-card {
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025)),
    rgba(3, 10, 20, .7);
  box-shadow: var(--inner);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.mode-card:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 229, 255, .38);
}

.mode-card.active,
.mode-card.featured.active {
  border-color: rgba(0, 229, 255, .44);
  background:
    linear-gradient(145deg, rgba(0, 229, 255, .16), rgba(49, 233, 174, .08)),
    rgba(3, 10, 20, .84);
}

.mode-card.active {
  box-shadow: 0 0 0 1px rgba(49, 233, 174, .2), var(--shadow), var(--inner);
}

.mode-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.mode-card h3 {
  margin: 0;
  font-size: 24px;
}

.mode-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.mode-label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(0, 229, 255, .34);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(0, 229, 255, .08);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.terminal {
  margin: 16px 0 0;
  padding: 18px;
  border: 1px solid rgba(0, 229, 255, .18);
  border-radius: 8px;
  background: rgba(1, 5, 10, 0.92);
  color: #b8ffe2;
  overflow: auto;
  line-height: 1.7;
  min-height: 196px;
}

.task-field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--soft);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  outline: none;
  background: rgba(255, 255, 255, 0.062);
}

select,
input {
  min-height: 48px;
  padding: 0 13px;
  color-scheme: dark;
}

select option {
  color: #f4fbff;
  background: #0a1220;
}

textarea {
  min-height: 210px;
  padding: 14px;
  resize: vertical;
  line-height: 1.65;
}

select:focus,
input:focus,
textarea:focus {
  border-color: rgba(0, 229, 255, 0.56);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, .08);
}

.full-btn { width: 100%; }

.task-list {
  max-height: 560px;
  overflow: auto;
}

.task-item header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.task-item p {
  margin: 0;
  white-space: pre-wrap;
}

.task-item small {
  display: block;
  margin-bottom: 8px;
  color: var(--mint);
  font-weight: 800;
}

.allocation {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.donut {
  width: 190px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--mint) 0 10%, var(--cyan) 10% 95%, var(--violet) 95% 100%);
  position: relative;
  box-shadow: 0 0 48px rgba(0, 229, 255, 0.17);
}

.donut::after {
  content: "Tax";
  position: absolute;
  inset: 25%;
  display: grid;
  place-items: center;
  border-radius: inherit;
  color: var(--soft);
  background: #07111b;
  border: 1px solid var(--line);
  font-weight: 900;
}

.allocation-list div {
  display: grid;
  grid-template-columns: 14px 48px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.allocation-list hr {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
}

.swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.swatch.holder { background: var(--mint); }
.swatch.node { background: var(--cyan); }
.swatch.ops { background: var(--violet); }
.swatch.reserve { background: var(--gold); }

code {
  color: #b8ffe2;
  overflow-wrap: anywhere;
}

.step-list div {
  min-height: 74px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 14px;
}

.step-list span {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 0.2s ease;
}

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

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

  .nav-links {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .hero-section,
  .node-layout,
  .two-col,
  .whitepaper-layout,
  .score-layout { grid-template-columns: 1fr; }

  .hero-section { min-height: auto; }

  .hero-stage { min-height: 440px; }

  .hero-proof,
  .eligibility-card,
  .how-grid,
  .whitepaper-flow,
  .mode-compare,
  .node-grid,
  .point-breakdown { grid-template-columns: repeat(2, minmax(0, 1fr)); }

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

@media (max-width: 760px) {
  .site-shell { padding-inline: 14px; }

  .site-nav,
  .row-heading,
  .panel-head { display: grid; }

  .brand { min-width: 0; }

  .top-actions,
  .hero-actions,
  .worker-actions { width: 100%; }

  .icon-btn,
  .wallet-btn,
  .primary-btn,
  .ghost-btn { width: 100%; }

  .hero-proof,
  .how-grid,
  .whitepaper-points,
  .whitepaper-flow,
  .score-grid,
  .rule-table,
  .score-note,
  .miner-flow,
  .mode-compare,
  .node-grid,
  .point-breakdown,
  .hardware-grid,
  .allocation { grid-template-columns: 1fr; }

  .hero-copy h1 { font-size: 42px; }

  .hero-stage { min-height: 360px; }

  .stage-card,
  .route-line,
  .compute-dot { display: none; }

  .hero-logo {
    width: 136px;
    height: 136px;
  }

  .donut {
    width: min(220px, 70vw);
    margin: 0 auto;
  }
}
