:root {
  color-scheme: dark;
  font-family: "Segoe UI", "Inter", system-ui, sans-serif;
  --background: #040b11;
  --surface: #08151f;
  --surface-high: #0d202b;
  --border: #1f3b43;
  --muted: #a1b5c0;
  --text: #edf8fb;
  --green: #65ff9d;
  --green-ink: #092217;
  --cyan: #7debdc;
  --shell: min(1264px, calc(100% - 88px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: radial-gradient(ellipse at 50% 0, #071a21, var(--background) 55%); color: var(--text); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, select:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; inset-block-start: 10px; inset-inline-start: 12px; z-index: 8; background: var(--green); color: var(--green-ink); padding: 12px; border-radius: 5px; }
.shell { width: var(--shell); margin-inline: auto; }
.masthead { background: #050d13e8; border-block-end: 1px solid #18323b; }
.header-inner, .header-actions, .header-nav, .wordmark { display: flex; align-items: center; }
.header-inner { min-height: 72px; justify-content: space-between; gap: 24px; }
.wordmark { gap: 13px; min-width: max-content; }
.wordmark img { object-fit: contain; width: 41px; height: 27px; }
.wordmark b, .wordmark small { display: block; line-height: 1.1; }
.wordmark b { font-size: 15px; letter-spacing: .31em; font-weight: 660; }
.wordmark small { color: var(--green); font-size: 9px; letter-spacing: .44em; margin-top: 5px; font-weight: 600; }
.header-nav { gap: clamp(16px, 3vw, 38px); color: #abd0d4; font-size: 13px; font-weight: 600; }
.header-nav a:hover { color: var(--green); }
.header-actions { gap: 12px; }
.language { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; border: 1px solid var(--border); border-radius: 6px; padding-inline: 10px 6px; }
.language-icon { flex: 0 0 14px; border: 1px solid #7aa49f; border-radius: 50%; width: 14px; height: 14px; position: relative; }
.language-icon::before { content: ""; position: absolute; inset: 0 3px; border-inline: 1px solid #7aa49f; border-radius: 50%; }
.language-icon::after { content: ""; position: absolute; inset-inline: 1px; inset-block-start: 5px; border-block-start: 1px solid #7aa49f; }
.language select { font: inherit; font-size: 13px; color: var(--text); background: #07131a; border: 0; width: min(12vw, 111px); min-width: 78px; min-height: 36px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 11px; text-align: center; min-height: 46px; padding: 10px 16px; border: 1px solid transparent; border-radius: 6px; font-size: 14px; line-height: 1.2; font-weight: 720; overflow-wrap: anywhere; transition: background 160ms, border-color 160ms, box-shadow 160ms; }
.button-primary { color: var(--green-ink); background: #66ff9b; border-color: #6aff9e; box-shadow: 0 5px 23px #44ff8623; }
.button-primary:hover { background: #9affba; box-shadow: 0 5px 28px #44ff8640; }
.button-outline { color: #d4f4df; background: #08181be8; border-color: #3a8b63; }
.button-outline:hover { background: #112e25; border-color: var(--green); }
.header-start { min-height: 40px; padding: 7px 12px; font-size: 12px; }
.arrow { flex: 0 0 auto; font-size: 15px; }
[dir="rtl"] .arrow { transform: scaleX(-1); }
.hero { isolation: isolate; position: relative; display: flex; align-items: center; min-height: 423px; overflow: hidden; margin-block-start: 24px; border: 1px solid #265143; border-radius: 13px; background: #040d16; }
.hero-scene { position: absolute; z-index: -3; inset: 0; background: #06131d url("/assets/mining-landscape.png") right 60% / cover no-repeat; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #050c14 2%, #050c14eb 25%, #050c1480 50%, #050c1413 78%), linear-gradient(0deg, #020b14b2, transparent 46%); pointer-events: none; }
[dir="rtl"] .hero::before { background: linear-gradient(270deg, #050c14 2%, #050c14e8 26%, #050c1480 53%, #050c1413 82%), linear-gradient(0deg, #020b149f, transparent 42%); }
[dir="rtl"] .hero-scene { transform: scaleX(-1); }
.hero-symbol { z-index: -2; pointer-events: none; position: absolute; width: min(62%, 765px); height: auto; inset-inline-end: 1%; inset-block-start: 4%; filter: drop-shadow(0 4px 25px #11f27646); }
.hero-copy { padding: 35px 0; padding-inline-start: clamp(25px, 5vw, 68px); width: min(61%, 640px); }
.eyebrow { display: flex; align-items: center; gap: 8px; width: fit-content; color: #a4d9bc; font-size: 11px; font-weight: 650; letter-spacing: .16em; }
.eyebrow > span:first-child { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 13px var(--green); }
.hero h1 { margin: 17px 0 14px; font-size: clamp(34px, 5vw, 72px); line-height: .99; font-weight: 760; letter-spacing: -.05em; overflow-wrap: anywhere; }
.hero h1 small { display: block; margin-top: 10px; color: var(--green); font: inherit; letter-spacing: -.065em; white-space: nowrap; font-size: .8em; }
.headline-divider { color: #446f65; font-weight: 350; margin-inline: .08em; }
.hero-copy p { color: #b9cbd3; margin: 0 0 23px; font-size: clamp(14px, 1.4vw, 18px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.market-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 0; margin: 16px 0 27px; border: 1px solid #18363d; border-radius: 8px; background: #07141ddd; }
.market-strip div { display: flex; flex-direction: column-reverse; padding: 14px 20px; text-align: center; overflow-wrap: anywhere; }
.market-strip div + div { border-inline-start: 1px solid #203540; }
.market-strip dt { color: var(--muted); font-size: 12px; margin-top: 3px; }
.market-strip dd { margin: 0; font-size: clamp(18px, 2vw, 24px); line-height: 1.2; font-weight: 680; font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.directory-heading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 5px 15px; margin-block-end: 13px; }
.directory-heading h2 { margin: 0; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.026em; line-height: 1.15; }
.snapshot-time { font-size: 12px; color: var(--muted); }
.pool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pool-card { --card-accent: var(--green); min-width: 0; display: grid; grid-template-rows: auto 1fr auto auto auto; padding: 18px; background: radial-gradient(ellipse at 0 0, #10302894, transparent 55%), linear-gradient(125deg,#0b1a25,#081520); border: 1px solid #24434a; border-block-start-color: #42886a; border-radius: 10px; }
.solo-card { --card-accent: var(--cyan); background: radial-gradient(ellipse at 0 0, #113339a1, transparent 60%), linear-gradient(125deg,#0b1a25,#081520); border-block-start-color: #497971; }
.card-heading { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; align-items: center; }
.pool-coin { padding: 3px; border-radius: 8px; width: 45px; height: 45px; overflow: hidden; background: #061515; border: 1px solid #2b664c; }
.pool-coin img { width: 100%; height: 100%; object-fit: contain; }
.pool-name h3 { unicode-bidi: isolate; text-align: start; margin: 0; font-size: 21px; line-height: 1.13; font-weight: 720; letter-spacing: -.025em; }
.pool-name h3 span { color: var(--card-accent); }
.coin-ticker { font-size: 10px; letter-spacing: .12em; color: #96b6be; }
.pool-status { max-width: 168px; margin: 0; padding: 5px 8px; display: inline-flex; align-items: center; gap: 6px; border-radius: 5px; background: #20333b; color: #bed4da; font-size: 10px; font-weight: 660; line-height: 1.25; overflow-wrap: anywhere; }
.pool-status[data-state="ready"] { background: #0d2e24; color: #a5fbd0; }
.pool-status[data-state="reconciling"],
.pool-status[data-state="waiting"] { background: #332919; color: #edc77e; }
.pool-status[data-state="blocked"] { background: #391f24; color: #ffd2d3; }
.status-dot { display: inline-block; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pool-description { margin: 11px 0 12px; color: #a9bfca; font-size: 13px; line-height: 1.4; }
.card-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 0 0 14px; padding: 0 0 13px; border-block-end: 1px solid #1d3742; }
.card-stats div { display: flex; flex-direction: column-reverse; }
.card-stats div + div { padding-inline-start: 9px; border-inline-start: 1px solid #1d3742; }
.card-stats dt { margin-top: 4px; color: #a5b9c5; font-size: 11px; font-weight: 570; line-height: 1.3; overflow-wrap: anywhere; }
.card-stats dd { margin: 0; color: #e3f4f8; font-size: clamp(16px, 1.7vw, 22px); line-height: 1.1; font-weight: 740; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; unicode-bidi: isolate; }
.card-stats .fee { color: var(--card-accent); }
.pool-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.pool-actions .button { min-width: 0; }
.card-footer { display: flex; align-items: baseline; justify-content: space-between; gap: 7px 12px; flex-wrap: wrap; margin-block-start: 11px; color: #a1b9c6; font-size: 11px; line-height: 1.35; }
.card-footer a { color: #a4efc0; text-underline-offset: 3px; }
.card-footer a:hover { text-decoration: underline; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px 18px; flex-wrap: wrap; margin-block: 24px 0; padding-block: 16px 20px; border-block-start: 1px solid #19333b; color: #90a9b4; font-size: 11px; }
.site-footer span:first-child { font-weight: 650; letter-spacing: .23em; }

@media (max-width: 980px) {
  :root { --shell: calc(100% - 44px); }
  .header-nav { gap: 17px; }
  .hero { min-height: 385px; }
}
@media (max-width: 760px) {
  :root { --shell: calc(100% - 28px); }
  .header-inner { min-height: 58px; gap: 10px; }
  .header-nav, .header-start { display: none; }
  .wordmark { gap: 9px; }
  .wordmark img { width: 32px; height: 22px; }
  .wordmark b { font-size: 13px; }
  .wordmark small { font-size: 8px; }
  .language select { width: 98px; }
  .hero { align-items: flex-end; min-height: 0; margin-top: 14px; border-radius: 10px; padding-top: 126px; }
  .hero-symbol { width: min(78%, 470px); inset-inline-end: 4%; inset-block-start: 3%; }
  .hero-scene { background-position: 68% 58%; }
  .hero::before, [dir="rtl"] .hero::before { background: linear-gradient(0deg, #050c14 1%, #050c14eb 36%, #050c1473 68%, #050c1428 100%); }
  .hero-copy { padding: 10px 16px 16px; width: 100%; }
  .eyebrow { font-size: 9px; letter-spacing: .1em; }
  .hero h1 { font-size: clamp(31px, 8vw, 49px); margin: 10px 0 8px; }
  .hero h1 small { margin-top: 4px; font-size: .83em; }
  .hero-copy p { margin-block-end: 12px; font-size: 13px; }
  .hero-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .button { padding: 8px; min-height: 44px; font-size: 12px; gap: 6px; }
  .hero-actions .arrow, .pool-actions .arrow { font-size: 13px; }
  .market-strip { margin: 10px 0 19px; }
  .market-strip div { padding: 10px 4px; }
  .market-strip dt { font-size: 10px; }
  .market-strip dd { font-size: 17px; }
  .directory-heading { margin-bottom: 10px; }
  .snapshot-time { font-size: 10px; }
  .pool-grid { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .pool-card { padding: 12px; }
  .pool-coin { width: 38px; height: 38px; }
  .pool-name h3 { font-size: 18px; }
  .pool-status { max-width: 116px; font-size: 9px; }
  .pool-description { margin-block: 8px 10px; font-size: 12px; }
  .card-stats { margin-bottom: 10px; padding-bottom: 10px; }
  .card-stats dt { font-size: 10px; }
  .card-footer { margin-top: 8px; font-size: 10px; }
  .site-footer { margin-top: 17px; }
}
@media (max-width: 360px) {
  :root { --shell: calc(100% - 20px); }
  .hero { padding-top: 106px; }
  .hero-copy { padding-inline: 12px; }
  .pool-status { max-width: 98px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

