@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
	color-scheme: dark;
	--fuel: #02e555;
	--on-fuel: #07140d;
	--ink: #f4f7f5;
	--muted: #929a95;
	--line: #2f2f2f;
	--panel: #171717;
	--background: #0c0c0c;
	--track: #262626;
	--danger: #ff8d7b;
	--on-danger: #07140d;
	--warning: #f59e0b;
	--on-warning: #07140d;
	--font-title: "Space Grotesk", system-ui, sans-serif;
	--font-body: "Space Grotesk", system-ui, sans-serif;
	--font-small: "IBM Plex Mono", monospace;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--background);
}
:root[data-theme="light"] {
	color-scheme: light;
	--fuel: #087a36;
	--on-fuel: #fff;
	--ink: #171717;
	--muted: #737373;
	--line: #e5e5e5;
	--panel: #fff;
	--background: #fafafa;
	--track: #e8e8e8;
	--danger: #b42318;
	--on-danger: #fff;
	--warning: #a15c00;
	--on-warning: #fff;
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	min-width: 0;
	background: var(--background);
	font-family: var(--font-body);
	font-weight: 500;
	letter-spacing: -0.02em;
}
a {
	color: inherit;
}
main {
	width: min(1200px, calc(100% - 48px));
	margin-inline: auto;
}
header,
footer {
	width: 100%;
	margin: 0;
	padding-inline: 24px;
}
header {
	position: sticky;
	top: 0;
	z-index: 50;
	min-height: 66px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--line);
	background: var(--background);
}
header p,
footer {
	color: var(--muted);
	font-size: 13px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 25px;
	font-weight: 600;
	text-decoration: none;
}
.brand img {
	width: 22px;
	height: 22px;
}
nav {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-left: auto;
	font-size: 13px;
}
.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: 18px;
}
nav a {
	color: var(--muted);
	text-decoration: none;
}
nav a:hover {
	color: var(--fuel);
}
#site-nav a.active > span {
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--fuel);
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}
#theme-toggle {
	display: grid;
	width: 34px;
	height: 34px;
	padding: 0;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--ink);
	background: transparent;
	cursor: pointer;
}
#theme-toggle svg {
	width: 18px;
	height: 18px;
}
#theme-toggle .sun-icon {
	fill: currentColor;
}
#theme-toggle .moon-icon,
:root[data-theme="light"] #theme-toggle .sun-icon {
	display: none;
}
:root[data-theme="light"] #theme-toggle .moon-icon {
	display: block;
}
#nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 0;
	color: var(--ink);
	background: transparent;
}
#nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	margin: 4px 0;
	background: currentColor;
	transition:
		transform 160ms ease,
		opacity 160ms ease;
}
section[id] {
	scroll-margin-top: 86px;
}
.intro {
	padding: 76px 0 52px;
	border-bottom: 1px solid var(--line);
}
.eyebrow {
	margin: 0 0 10px;
	color: var(--fuel);
	font:
		500 12px "IBM Plex Mono",
		monospace;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
h1,
h2,
p {
	margin-top: 0;
}
h1 {
	max-width: 780px;
	margin-bottom: 16px;
	font-size: clamp(48px, 7vw, 92px);
	line-height: 0.96;
	letter-spacing: -0.055em;
}
.intro > p:last-child {
	max-width: 620px;
	margin: 0;
	color: var(--muted);
	font-size: 18px;
}
.summary {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-bottom: 1px solid var(--line);
}
.summary article {
	min-width: 0;
	padding: 24px 18px;
	border-right: 1px solid var(--line);
}
.summary article:first-child {
	padding-left: 0;
}
.summary article:last-child {
	border-right: 0;
}
.summary span,
.summary small {
	display: block;
	color: var(--muted);
	font-size: 12px;
}
.summary strong {
	display: block;
	margin: 6px 0;
	font:
		500 22px "IBM Plex Mono",
		monospace;
	overflow-wrap: anywhere;
}
.panel {
	padding: 48px 0;
	border-bottom: 1px solid var(--line);
}
.section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}
.section-head h2 {
	margin: 0;
	font-size: 34px;
	letter-spacing: -0.035em;
}
.section-head > p {
	max-width: 280px;
	margin: 0;
	color: var(--muted);
	text-align: right;
}
.distribution {
	display: grid;
	gap: 2px;
}
.tier {
	display: grid;
	grid-template-columns: 150px 1fr 100px 180px;
	gap: 16px;
	align-items: center;
	min-height: 48px;
	border-top: 1px solid var(--line);
}
.tier:last-child {
	border-bottom: 1px solid var(--line);
}
.tier-name {
	font-weight: 600;
}
.tier-name strong,
.tier-name small {
	display: block;
}
.tier-name small {
	margin-top: 2px;
	color: var(--muted);
	font:
		400 11px "IBM Plex Mono",
		monospace;
}
.tier-bar {
	height: 8px;
	background: var(--track);
}
.tier-bar i {
	display: block;
	height: 100%;
	min-width: 2px;
	background: var(--fuel);
}
.tier-count,
.tier-balance {
	font:
		500 12px "IBM Plex Mono",
		monospace;
	text-align: right;
}
.tier-count {
	color: var(--muted);
}
.category > summary {
	cursor: pointer;
	list-style: none;
}
.category > summary::-webkit-details-marker {
	display: none;
}
.category > summary .tier-title::after {
	content: " +";
	color: var(--fuel);
}
.category[open] > summary .tier-title::after {
	content: " −";
}
.category-breakdown {
	padding: 8px 0 18px;
	border-top: 1px solid var(--line);
}
.category-breakdown > p {
	margin: 8px 0 14px;
	color: var(--muted);
	font-size: 13px;
}
.category-breakdown > div {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) 90px 140px 150px;
	gap: 16px;
	padding: 9px 0;
	border-top: 1px solid var(--line);
	font-size: 13px;
}
.category-breakdown strong {
	overflow-wrap: anywhere;
}
.category-breakdown span {
	color: var(--muted);
	font-family: "IBM Plex Mono", monospace;
	text-align: right;
}
.methodology {
	max-width: 760px;
	margin: 18px 0 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
}
.holder-head label {
	display: grid;
	gap: 6px;
	color: var(--muted);
	font:
		500 11px "IBM Plex Mono",
		monospace;
	text-transform: uppercase;
}
input {
	width: min(320px, 40vw);
	padding: 11px 13px;
	border: 1px solid var(--line);
	border-radius: 0;
	outline: 0;
	color: var(--ink);
	background: var(--panel);
	font: inherit;
}
input:focus {
	border-color: var(--fuel);
}
.status {
	color: var(--muted);
}
.pagination {
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin: 18px 0 0;
	font:
		500 12px "IBM Plex Mono",
		monospace;
}
.pagination button,
.pagination span {
	min-height: 40px;
	padding: 10px 14px;
	border: 1px solid var(--line);
	color: var(--ink);
	background: var(--panel);
	font: inherit;
}
.pagination span {
	border-inline: 0;
	color: var(--muted);
}
.page-numbers,
.page-controls {
	display: flex;
	align-items: center;
}
.page-numbers {
	gap: 4px;
}
.page-numbers button {
	min-width: 40px;
	padding-inline: 10px;
}
.page-numbers button[aria-current="page"] {
	border-color: var(--fuel);
	color: var(--on-fuel);
	background: var(--fuel);
}
.pagination button:not(:disabled) {
	cursor: pointer;
}
.pagination button:not(:disabled):hover,
.pagination button:focus-visible {
	border-color: var(--fuel);
	color: var(--fuel);
}
.pagination button:disabled {
	color: var(--muted);
	opacity: 0.45;
}
.table-wrap {
	overflow-x: auto;
}
table {
	width: 100%;
	border-collapse: collapse;
}
th,
td {
	padding: 15px 12px;
	border-top: 1px solid var(--line);
	text-align: right;
}
th {
	color: var(--muted);
	font:
		500 11px "IBM Plex Mono",
		monospace;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
th:first-child,
td:first-child {
	width: 65px;
	padding-left: 0;
	text-align: left;
}
th:nth-child(2),
td:nth-child(2) {
	text-align: left;
}
td {
	font:
		400 13px "IBM Plex Mono",
		monospace;
}
.holder-link {
	display: grid;
	gap: 3px;
	color: var(--ink);
	text-decoration: none;
}
.holder-link strong {
	color: var(--ink);
	font:
		400 15px "Space Grotesk",
		sans-serif;
}
.holder-link small {
	color: var(--muted);
}
.holder-link:hover strong {
	color: var(--fuel);
}
.balance {
	color: var(--fuel);
	font-weight: 500;
}
.staking-summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 24px 0 42px;
	border: 1px solid var(--line);
}
.staking-stat {
	min-width: 0;
	padding: 16px;
	border-right: 1px solid var(--line);
}
.staking-stat:nth-child(3n) {
	border-right: 0;
}
.staking-stat:nth-child(-n + 3) {
	border-bottom: 1px solid var(--line);
}
.staking-stat span,
.staking-stat small {
	display: block;
	color: var(--muted);
	font-size: 11px;
}
.staking-stat strong {
	display: block;
	margin: 6px 0;
	font:
		500 16px "IBM Plex Mono",
		monospace;
	overflow-wrap: anywhere;
}
.validator-head {
	margin-bottom: 12px;
}
.validator-head h3 {
	margin: 0;
	font-size: 25px;
}
.validator-name {
	display: grid;
	gap: 3px;
	max-width: 280px;
	color: var(--ink);
	text-decoration: none;
}
.validator-name strong,
.validator-name small {
	overflow-wrap: anywhere;
}
.validator-name small {
	color: var(--muted);
}
a.validator-name:hover strong,
a.validator-name:focus-visible strong {
	color: var(--fuel);
}
.sort-button {
	padding: 0;
	border: 0;
	color: var(--muted);
	background: transparent;
	font: inherit;
	white-space: nowrap;
	cursor: pointer;
}
.sort-button:hover,
.sort-button:focus-visible,
th[aria-sort]:not([aria-sort="none"]) .sort-button {
	color: var(--fuel);
}
.status-pill {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 4px 9px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font: 500 10px var(--font-small);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.status-pill.active {
	border-color: var(--fuel);
	color: var(--on-fuel);
	background: var(--fuel);
}
.status-pill.jailed {
	color: var(--on-danger);
	background: var(--danger);
}
.status-pill.unbonding {
	color: var(--on-warning);
	background: var(--warning);
}
.status-pill.unbonded {
	color: var(--muted);
	background: var(--panel);
}
.chain-backing {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 28px 0;
}
.chain-backing article {
	padding: 18px;
	border: 1px solid var(--line);
}
.chain-backing h3 {
	margin: 0 0 10px;
	font-size: 17px;
}
.chain-backing article > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 0;
	border-top: 1px solid var(--line);
}
.chain-backing article > div > span:first-child,
.chain-backing small {
	color: var(--muted);
	font-size: 11px;
}
.chain-backing article > div > span:last-child,
.chain-backing strong,
.chain-backing small {
	display: block;
	text-align: right;
}
.chain-backing strong {
	font:
		500 13px "IBM Plex Mono",
		monospace;
}
.chain-layout {
	display: grid;
	grid-template-columns: minmax(220px, 320px) 1fr;
	align-items: center;
	gap: 48px;
	margin: 24px 0;
}
.chain-chart {
	width: 100%;
	max-width: 320px;
	aspect-ratio: 1;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px var(--line);
}
.chain-legend > div {
	display: grid;
	grid-template-columns: 10px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 13px 0;
	border-top: 1px solid var(--line);
}
.chain-legend i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
}
.chain-legend b,
.chain-legend small,
.chain-legend strong {
	display: block;
}
.chain-legend small {
	color: var(--muted);
	font-size: 11px;
}
.chain-legend > div > span:last-child {
	text-align: right;
}
.chain-legend strong {
	font:
		500 14px "IBM Plex Mono",
		monospace;
}
.flow-summary {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 24px;
	border: 1px solid var(--line);
}
.flow-summary-card {
	min-width: 0;
	padding: 16px;
	border-right: 1px solid var(--line);
}
.flow-summary-card:last-child {
	border-right: 0;
}
.flow-summary-card span,
.flow-summary-card small {
	display: block;
	color: var(--muted);
	font-size: 11px;
}
.flow-summary-card strong {
	display: block;
	margin: 6px 0;
	font:
		500 16px "IBM Plex Mono",
		monospace;
	overflow-wrap: anywhere;
}
.flow-summary-card.net-in strong {
	color: var(--fuel);
}
.flow-summary-card.net-out strong {
	color: var(--danger);
}
.flow-table th:first-child,
.flow-table td:first-child {
	width: auto;
}
.flow-value {
	display: grid;
	gap: 3px;
}
.flow-value strong,
.flow-value small,
.flow-value em {
	display: block;
}
.flow-value small,
.flow-value em {
	color: var(--muted);
	font-size: 11px;
	font-style: normal;
}
.flow-value.net-in strong,
.flow-value.net-in em {
	color: var(--fuel);
}
.flow-value.net-out strong,
.flow-value.net-out em {
	color: var(--danger);
}
footer {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-block: 24px 40px;
}

@media (max-width: 760px) {
	main {
		width: min(100% - 28px, 1200px);
	}
	header,
	footer {
		padding-inline: 14px;
	}
	body.nav-open {
		overflow: hidden;
	}
	header {
		min-height: 58px;
		padding-block: 7px;
	}
	.brand,
	.header-actions {
		position: relative;
		z-index: 2;
	}
	.header-actions {
		margin-left: auto;
	}
	#nav-toggle {
		display: block;
	}
	#theme-toggle:focus-visible,
	#nav-toggle:focus-visible,
	#site-nav a:focus-visible {
		outline: 2px solid var(--fuel);
		outline-offset: 4px;
	}
	#site-nav {
		position: fixed;
		inset: 0;
		z-index: 1;
		display: none;
		width: 100%;
		min-height: 100vh;
		min-height: 100dvh;
		padding: 94px 24px 32px;
		overflow-y: auto;
		counter-reset: nav-item;
		background: var(--background);
	}
	#site-nav a {
		display: grid;
		grid-template-columns: 38px minmax(0, 1fr);
		padding: 17px 4px;
		border-top: 1px solid var(--line);
		color: var(--ink);
		font-size: clamp(26px, 8vw, 36px);
		font-weight: 600;
		line-height: 1.05;
		counter-increment: nav-item;
	}
	#site-nav a:last-child {
		border-bottom: 1px solid var(--line);
	}
	#site-nav a::before {
		grid-row: 1 / 3;
		padding-top: 4px;
		color: var(--fuel);
		font:
			500 11px "IBM Plex Mono",
			monospace;
		content: "0" counter(nav-item);
	}
	#site-nav a::after {
		grid-column: 2;
		margin-top: 7px;
		color: var(--muted);
		font-size: 13px;
		font-weight: 400;
		content: attr(data-description);
	}
	header.nav-open #site-nav {
		display: grid;
		align-content: center;
		animation: nav-enter 180ms ease-out;
	}
	header.nav-open #nav-toggle span:first-child {
		transform: translateY(6px) rotate(45deg);
	}
	header.nav-open #nav-toggle span:nth-child(2) {
		opacity: 0;
	}
	header.nav-open #nav-toggle span:last-child {
		transform: translateY(-6px) rotate(-45deg);
	}
	.intro {
		padding: 48px 0 36px;
	}
	h1 {
		font-size: clamp(43px, 15vw, 64px);
	}
	.intro > p:last-child {
		font-size: 16px;
	}
	.summary {
		grid-template-columns: 1fr 1fr;
	}
	.summary article,
	.summary article:first-child {
		padding: 18px 10px 18px 0;
		border-bottom: 1px solid var(--line);
	}
	.summary article:nth-child(2n) {
		padding-left: 12px;
		border-right: 0;
	}
	.summary article:nth-last-child(-n + 2) {
		border-bottom: 0;
	}
	.summary strong {
		font-size: 16px;
	}
	.panel {
		padding: 36px 0;
	}
	.section-head {
		display: block;
	}
	.section-head > p {
		margin-top: 8px;
		text-align: left;
	}
	.tier {
		grid-template-columns: 120px 1fr 72px;
		gap: 9px;
		padding: 10px 0;
	}
	.tier-balance {
		grid-column: 2 / -1;
		grid-row: 2;
		text-align: left;
	}
	.staking-summary {
		grid-template-columns: 1fr 1fr;
	}
	.staking-stat:nth-child(3n) {
		border-right: 1px solid var(--line);
	}
	.staking-stat:nth-child(2n) {
		border-right: 0;
	}
	.staking-stat:nth-child(-n + 4) {
		border-bottom: 1px solid var(--line);
	}
	.chain-backing {
		grid-template-columns: 1fr;
	}
	.chain-layout {
		display: block;
	}
	.chain-chart {
		width: min(100%, 240px);
		margin: 0 auto 28px;
	}
	.chain-legend > div {
		grid-template-columns: 10px minmax(0, 1fr) auto;
		gap: 10px;
	}
	.flow-summary {
		grid-template-columns: 1fr 1fr;
	}
	.flow-summary-card:nth-child(2) {
		border-right: 0;
	}
	.flow-summary-card:nth-child(-n + 2) {
		border-bottom: 1px solid var(--line);
	}
	.category-breakdown {
		padding: 4px 0 18px;
	}
	.category-breakdown > div {
		grid-template-columns: minmax(80px, 1fr) 72px 62px 96px;
		gap: 6px;
		font-size: 10px;
	}
	.category-breakdown strong {
		font-size: 11px;
	}
	.holder-head label {
		margin-top: 20px;
	}
	.pagination {
		align-items: stretch;
	}
	.page-numbers {
		flex: 1 0 100%;
	}
	.page-numbers button {
		flex: 1 1 0;
		min-width: 0;
		padding-inline: 0;
	}
	.page-controls {
		margin-left: auto;
	}
	input {
		width: 100%;
	}
	table,
	thead,
	tbody,
	tr,
	td {
		display: block;
		width: 100%;
	}
	thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}
	tbody {
		display: grid;
		gap: 10px;
	}
	tr {
		padding: 13px;
		border: 1px solid var(--line);
		background: var(--panel);
	}
	td,
	td:first-child,
	td:nth-child(2) {
		display: flex;
		justify-content: space-between;
		gap: 12px;
		width: 100%;
		padding: 8px 0;
		border: 0;
		border-bottom: 1px solid var(--line);
		text-align: right;
	}
	td:last-child {
		border-bottom: 0;
	}
	td::before {
		content: attr(data-label);
		color: var(--muted);
		font:
			500 10px "IBM Plex Mono",
			monospace;
		letter-spacing: 0.05em;
		text-transform: uppercase;
	}
	td:nth-child(2) {
		align-items: start;
	}
	.validator-table thead {
		position: static;
		display: block;
		width: 100%;
		height: auto;
		overflow: visible;
		clip: auto;
	}
	.validator-table thead tr {
		display: flex;
		gap: 6px;
		padding: 0 0 10px;
		border: 0;
		background: transparent;
	}
	.validator-table thead th {
		display: none;
	}
	.validator-table thead th:nth-child(n + 3):nth-child(-n + 6) {
		display: block;
		flex: 1 1 0;
		width: auto;
		padding: 8px 4px;
		border: 1px solid var(--line);
		text-align: center;
	}
	.holder-link {
		max-width: calc(100% - 70px);
		text-align: right;
		overflow-wrap: anywhere;
	}
	footer {
		display: grid;
	}
}

p,
footer {
	letter-spacing: -0.02em;
}

h1,
h2,
h3,
.section-head h2,
.brand,
.tier-title {
	font-family: var(--font-title);
	font-weight: 500;
	letter-spacing: 0;
}
h1 {
	font-weight: 700;
}
#site-nav a,
.intro > p:last-child,
.section-head > p,
#site-nav a::after {
	font-family: var(--font-title);
	font-weight: 500;
	letter-spacing: 0;
}
strong,
b,
.tier-name,
.category-breakdown strong,
.chain-legend b,
.validator-name strong {
	font-weight: 500;
}
.eyebrow,
small,
th,
td,
.tier-name small,
.tier-count,
.tier-balance,
.category-breakdown span,
.holder-head label,
.summary span,
.summary strong,
.staking-stat span,
.staking-stat strong,
.chain-backing article > div > span:first-child,
.chain-backing strong,
.chain-legend strong,
.flow-summary-card span,
.flow-summary-card strong,
.flow-value strong,
.flow-value em,
.pagination,
button {
	font-family: var(--font-small);
	font-weight: 500;
	letter-spacing: 0.05em;
}
.category-breakdown strong,
.chain-legend b,
.validator-name strong {
	font-family: var(--font-body);
	letter-spacing: -0.02em;
}
.holder-link strong {
	font-family: var(--font-body);
	font-weight: 400;
	letter-spacing: -0.02em;
}

@keyframes nav-enter {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
}

@media (prefers-reduced-motion: reduce) {
	header.nav-open #site-nav {
		animation: none;
	}
}
