:root {
  color-scheme: dark;
  --ink: #edf5f7;
  --muted: #94a6ad;
  --line: rgba(180, 202, 208, .18);
  --paper: #0b1115;
  --panel: #111a20;
  --field: #0d161b;
  --primary: #2bd3a3;
  --cyan: #4bb7d8;
  --amber: #d6a44b;
  --red: #e06270;
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
  --shadow-soft: 0 1px 0 rgba(255, 255, 255, .03), 0 18px 40px rgba(0, 0, 0, .24);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(43, 211, 163, .16), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(75, 183, 216, .13), transparent 30%),
    linear-gradient(180deg, #0b1115, #0b1115 460px, #0e1519 1000px, #0b1115);
  line-height: 1.5;
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 17, 21, .92);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(43, 211, 163, .36);
  border-radius: 6px;
  background: linear-gradient(135deg, #13252b, #0b1115);
  color: var(--primary);
  font-weight: 900;
}
.brand strong, .brand small { display: block; }
.brand small, .eyebrow, .label, footer { color: var(--muted); }
nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }
nav a { position: relative; color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--ink); }
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .16s ease;
}
nav a:hover::after { transform: scaleX(1); }
main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: 32px;
  align-items: center;
  min-height: 590px;
  padding: 76px 0 60px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 70px -18px auto auto;
  width: min(46vw, 520px);
  height: 330px;
  border: 1px solid rgba(75, 183, 216, .16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(75, 183, 216, .08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(43, 211, 163, .08) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  pointer-events: none;
}
.hero-copy, .status-panel { position: relative; }
.hero h1, .section-head h2, .split h2 { margin: 0; line-height: 1.04; letter-spacing: 0; }
.hero h1 { max-width: 820px; font-size: clamp(42px, 7.6vw, 82px); }
.hero p, .split p { max-width: 700px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.hero-actions, .button-row, .input-row, .lookup, .ops-strip, .miner-notes { display: flex; gap: 10px; flex-wrap: wrap; }
.button, button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .03);
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.button.primary, button { border-color: rgba(43, 211, 163, .7); background: linear-gradient(135deg, var(--primary), #28a6c8); color: #071115; }
.button:hover, button:hover { border-color: var(--primary); transform: translateY(-1px); }
.button.primary:hover, button:hover { box-shadow: 0 12px 24px rgba(43, 211, 163, .18); }
.ops-strip { margin-top: 24px; }
.ops-strip span, .miner-notes span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, .04);
  font-size: 13px;
  font-weight: 800;
}
.status-panel, .command-panel, .coin-card, .platform-grid article, .worker-results, .table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(22, 37, 45, .96), rgba(17, 26, 32, .96));
  box-shadow: var(--shadow);
}
.status-panel { padding: 26px; }
.status-head { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-weight: 800; }
.pulse { width: 12px; height: 12px; border-radius: 999px; background: var(--amber); box-shadow: 0 0 0 4px rgba(214, 164, 75, .14); }
.pulse.online { background: var(--primary); box-shadow: 0 0 0 4px rgba(43, 211, 163, .14); }
.pulse.offline { background: var(--red); box-shadow: 0 0 0 4px rgba(224, 98, 112, .14); }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.metric-grid div { padding: 14px; border-radius: 6px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .04); }
dt, .label { font-size: 12px; font-weight: 850; text-transform: uppercase; }
dd { margin: 6px 0 0; font-size: 23px; font-weight: 850; overflow-wrap: anywhere; }
.section-band, .split { padding: 58px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.section-head h2, .split h2 { font-size: clamp(28px, 5vw, 48px); }
.section-copy { max-width: 800px; margin: -6px 0 22px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.platform-grid, .coin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.platform-grid article, .coin-card { padding: 22px; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.platform-grid article:hover, .coin-card:hover { transform: translateY(-2px); border-color: rgba(43, 211, 163, .32); box-shadow: var(--shadow-soft); }
.platform-grid strong, .coin-card h3 { display: block; margin: 8px 0; font-size: 21px; line-height: 1.2; }
.platform-grid p, .coin-card p, .worker-results, td { color: var(--muted); }
.coin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.coin-ticker { display: inline-grid; min-width: 48px; height: 34px; place-items: center; border: 1px solid rgba(43, 211, 163, .34); border-radius: 6px; color: var(--primary); font-weight: 900; }
.status-pill { display: inline-flex; align-items: center; min-height: 28px; border: 1px solid var(--line); border-radius: 999px; padding: 0 10px; color: var(--muted); font-size: 12px; font-weight: 850; }
.status-pill.online { border-color: rgba(43, 211, 163, .42); color: var(--primary); }
.coin-card dl { display: grid; gap: 12px; margin: 18px 0 0; }
.coin-card dd { font-size: 16px; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.command-panel { padding: 22px; }
label { display: block; margin: 0 0 8px; font-weight: 800; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 12px; background: var(--field); color: var(--ink); font: inherit; }
input:focus, textarea:focus { outline: 3px solid rgba(43, 211, 163, .16); border-color: var(--primary); }
textarea { margin-bottom: 12px; font-family: "SFMono-Regular", Consolas, monospace; resize: vertical; }
.input-row input, .lookup input { flex: 1 1 260px; }
.input-row, .lookup { margin-bottom: 18px; }
.worker-results { min-height: 86px; padding: 18px; box-shadow: var(--shadow-soft); }
.worker-results strong { color: var(--ink); overflow-wrap: anywhere; }
.tables { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
h3 { margin: 0 0 10px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--primary); font-size: 12px; text-transform: uppercase; background: rgba(255, 255, 255, .025); }
code { border-radius: 4px; padding: 2px 5px; background: rgba(255, 255, 255, .06); color: var(--primary); }
.roadmap-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: roadmap; }
.roadmap-list li { counter-increment: roadmap; min-height: 190px; border: 1px solid var(--line); border-radius: 8px; padding: 20px; background: rgba(255, 255, 255, .035); }
.roadmap-list li::before { content: counter(roadmap, decimal-leading-zero); display: block; margin-bottom: 22px; color: var(--primary); font-weight: 900; }
.roadmap-list strong, .roadmap-list span { display: block; }
.roadmap-list span { margin-top: 8px; color: var(--muted); }
footer { display: flex; justify-content: space-between; gap: 16px; width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0; border-top: 1px solid var(--line); font-size: 14px; }
@media (max-width: 940px) { .roadmap-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .site-header, footer { align-items: flex-start; flex-direction: column; }
  .hero, .split, .platform-grid, .coin-grid, .tables { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 44px; }
  .hero-actions, .button-row, .input-row, .lookup { align-items: stretch; flex-direction: column; }
  .button, button { width: 100%; }
  .metric-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .site-header { padding: 14px 18px; }
  main, footer { width: min(100%, calc(100% - 28px)); }
  .hero h1 { font-size: 40px; }
  .ops-strip span, .miner-notes span { width: 100%; justify-content: center; }
  .roadmap-list { grid-template-columns: 1fr; }
}
