:root {
  color-scheme: dark;
  --bg: #070b12;
  --bg-soft: #0a101a;
  --surface: rgba(16, 24, 39, .86);
  --surface-solid: #101827;
  --surface-raised: #151f31;
  --surface-hover: #19263a;
  --border: rgba(144, 173, 211, .14);
  --border-strong: rgba(104, 229, 255, .25);
  --text: #f5f8fc;
  --text-soft: #c7d2df;
  --muted: #8c9db3;
  --blue: #168bff;
  --blue-bright: #4facff;
  --cyan: #68e5ff;
  --gold: #e5a93d;
  --green: #63e6a5;
  --red: #ff6b7a;
  --purple: #9c8cff;
  --shadow: 0 26px 70px rgba(0, 0, 0, .32);
  --shadow-small: 0 12px 30px rgba(0, 0, 0, .22);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1220px;
  --header-height: 78px;
  --font-display: 'Segoe UI', Arial, system-ui, sans-serif;
  --font-body: 'Segoe UI', Arial, system-ui, sans-serif;
  --font-mono: 'Cascadia Mono', 'Consolas', ui-monospace, monospace;
}

html[data-theme='light'] {
  color-scheme: light;
  --bg: #eff5fb;
  --bg-soft: #e7f0f9;
  --surface: rgba(255, 255, 255, .86);
  --surface-solid: #ffffff;
  --surface-raised: #f5f9fd;
  --surface-hover: #eaf3fc;
  --border: rgba(27, 69, 112, .13);
  --border-strong: rgba(22, 139, 255, .3);
  --text: #0b1624;
  --text-soft: #34465a;
  --muted: #687b91;
  --shadow: 0 26px 70px rgba(36, 75, 115, .15);
  --shadow-small: 0 12px 30px rgba(36, 75, 115, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% -20%, rgba(22, 139, 255, .13), transparent 42%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: .38;
  background-image:
    linear-gradient(rgba(104, 229, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 229, 255, .025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
code { font-family: var(--font-mono); }
::selection { background: rgba(22, 139, 255, .45); color: white; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  transform: translateY(-150%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { position: relative; padding: 88px 0; }
.alt-section { background: rgba(122, 158, 199, .035); border-block: 1px solid var(--border); }

.ambient { position: fixed; z-index: -2; pointer-events: none; filter: blur(110px); opacity: .18; border-radius: 50%; }
.ambient-one { width: 360px; height: 360px; background: var(--blue); right: -150px; top: 22%; }
.ambient-two { width: 300px; height: 300px; background: var(--cyan); left: -180px; top: 55%; opacity: .1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(7, 11, 18, .72);
  backdrop-filter: blur(20px) saturate(130%);
  transition: border-color .2s, background .2s;
}
html[data-theme='light'] .site-header { background: rgba(239, 245, 251, .78); }
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner { width: min(var(--container), calc(100% - 40px)); height: 100%; margin: auto; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; color: var(--text); }
.brand img { width: 245px; height: auto; }
.brand .logo-light { display: none; }
html[data-theme='light'] .brand .logo-dark { display: none; }
html[data-theme='light'] .brand .logo-light { display: block; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 5px; margin-left: auto; }
.desktop-nav a { padding: 10px 12px; border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 600; transition: .2s; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--text); background: var(--surface-raised); }
.header-actions { display: flex; align-items: center; gap: 9px; margin-left: 12px; }
.status-pill { display: flex; align-items: center; gap: 8px; min-width: 118px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-size: 12px; font-weight: 600; color: var(--muted); }
.status-pill.online { color: var(--green); border-color: rgba(99, 230, 165, .25); }
.status-pill.offline { color: var(--red); border-color: rgba(255, 107, 122, .25); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 13%, transparent); }
.icon-button { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; transition: .2s; }
.icon-button:hover { transform: translateY(-1px); border-color: var(--border-strong); background: var(--surface-hover); }
.icon-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mobile-menu-button { display: none; }
.mobile-menu { position: absolute; top: var(--header-height); inset-inline: 20px; padding: 12px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-solid); box-shadow: var(--shadow-small); }
.mobile-menu a { display: block; padding: 11px 12px; border-radius: 8px; color: var(--text-soft); font-weight: 600; }
.mobile-menu a:hover { background: var(--surface-raised); color: var(--text); }

.hero { padding-top: 100px; padding-bottom: 38px; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 760px; height: 760px; top: -400px; left: 52%; border-radius: 50%; border: 1px solid rgba(104, 229, 255, .11); box-shadow: 0 0 0 80px rgba(104, 229, 255, .018), 0 0 0 160px rgba(104, 229, 255, .012); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr); align-items: center; gap: 72px; }
.eyebrow, .section-kicker { color: var(--cyan); font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(99, 230, 165, .1), 0 0 20px rgba(99, 230, 165, .55); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .55; transform: scale(.85); } }
.hero h1 { margin: 0; font-family: var(--font-display); font-size: clamp(54px, 6.2vw, 86px); line-height: .97; letter-spacing: -.055em; }
.hero h1 span { color: var(--blue-bright); text-shadow: 0 0 40px rgba(22, 139, 255, .2); }
.hero-lead { max-width: 660px; margin: 27px 0 0; color: var(--text-soft); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-microcopy { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 25px; color: var(--muted); font-size: 12px; font-weight: 600; }
.hero-microcopy span { display: flex; align-items: center; gap: 7px; }
.hero-microcopy span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }

.button { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border: 1px solid transparent; border-radius: 13px; cursor: pointer; font-weight: 700; font-size: 14px; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, var(--blue), #086bd9); box-shadow: 0 12px 28px rgba(22, 139, 255, .23); }
.button-primary:hover { box-shadow: 0 16px 34px rgba(22, 139, 255, .33); }
.button-secondary { border-color: var(--border); background: var(--surface-raised); color: var(--text); }
.button-secondary:hover { border-color: var(--border-strong); }
.button-ghost { color: var(--muted); border-color: var(--border); background: transparent; }
.button-full { width: 100%; }
.button[disabled] { opacity: .55; pointer-events: none; }

.hero-device { perspective: 1200px; }
.device-shell { position: relative; padding: 22px; border: 1px solid rgba(132, 158, 190, .2); border-radius: 31px; background: linear-gradient(145deg, #1b2637, #0b111b 55%, #151f2b); box-shadow: 0 50px 95px rgba(0, 0, 0, .48), inset 0 1px 1px rgba(255, 255, 255, .08); transform: rotateY(-5deg) rotateX(2deg); }
html[data-theme='light'] .device-shell { background: linear-gradient(145deg, #d9e3ed, #f8fbfe 55%, #cbd9e6); box-shadow: 0 45px 80px rgba(38, 73, 108, .22); }
.device-screws i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #475466; box-shadow: inset 0 0 0 2px #17202c; }
.device-screws i:nth-child(1) { top: 9px; left: 12px; }.device-screws i:nth-child(2) { top: 9px; right: 12px; }.device-screws i:nth-child(3) { bottom: 9px; left: 12px; }.device-screws i:nth-child(4) { bottom: 9px; right: 12px; }
.device-screen { min-height: 335px; padding: 22px; border: 2px solid #286693; border-radius: 18px; color: #d8fbff; background: radial-gradient(circle at 50% 20%, #07569c, #062d5f 63%, #031f46); box-shadow: inset 0 0 35px rgba(42, 186, 255, .22), 0 0 35px rgba(22, 139, 255, .2); font-family: var(--font-mono); overflow: hidden; }
.device-screen::before { content: ''; position: absolute; inset: 46px 22px 52px; pointer-events: none; opacity: .18; background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(255,255,255,.1) 4px); }
.screen-header { display: flex; justify-content: space-between; color: #8ceeff; font-size: 11px; letter-spacing: .13em; }
.screen-main { padding: 47px 0 35px; text-align: center; }
.screen-label, .screen-row span { display: block; color: #78cee9; font-size: 10px; letter-spacing: .13em; }
.screen-main strong { display: block; margin-top: 7px; font-size: clamp(32px, 4vw, 50px); letter-spacing: -.08em; text-shadow: 0 0 18px rgba(104, 229, 255, .34); }
.screen-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(104, 229, 255, .24); border: 1px solid rgba(104, 229, 255, .18); }
.screen-row div { padding: 15px; background: rgba(4, 42, 83, .9); }
.screen-row strong { display: block; margin-top: 4px; font-size: 19px; }
.screen-ticker { margin-top: 18px; padding-top: 13px; border-top: 1px dashed rgba(104, 229, 255, .35); color: #a9f5ff; font-size: 10px; white-space: nowrap; overflow: hidden; }
.screen-ticker span { display: inline-block; min-width: 100%; animation: ticker 13s linear infinite; }
@keyframes ticker { from { transform: translateX(100%); } to { transform: translateX(-100%); } }
.device-board { display: flex; justify-content: center; gap: 13px; padding-top: 19px; }
.device-board span { width: 26px; height: 9px; border-radius: 3px; background: linear-gradient(90deg, #846b36, #e7bd64, #765d2f); box-shadow: inset 0 1px rgba(255,255,255,.25); }

.wallet-quick-card { margin-top: 72px; padding: 22px 25px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-small); backdrop-filter: blur(18px); }
.wallet-search { display: grid; grid-template-columns: 165px 1fr; align-items: center; gap: 20px; }
.wallet-search label { font-family: var(--font-display); font-weight: 700; }
.wallet-search-controls { display: grid; grid-template-columns: 1fr auto; gap: 11px; }
.input-shell { display: flex; align-items: center; gap: 11px; height: 47px; padding: 0 15px; border: 1px solid var(--border); border-radius: 13px; background: var(--bg-soft); transition: border-color .2s, box-shadow .2s; }
.input-shell:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22, 139, 255, .1); }
.input-shell svg { width: 19px; flex: 0 0 auto; fill: none; stroke: var(--muted); stroke-width: 1.7; }
.input-shell input { width: 100%; border: 0; outline: 0; color: var(--text); background: transparent; font-family: var(--font-mono); font-size: 13px; }
.input-shell input::placeholder { color: var(--muted); font-family: var(--font-body); }
.input-shell.large { height: 52px; }

.metrics-section { padding: 28px 0 12px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric-card { min-width: 0; display: flex; align-items: center; gap: 15px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-small); transition: transform .2s, border-color .2s; }
.metric-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.metric-icon { width: 45px; height: 45px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; }
.metric-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.metric-icon.blue { color: var(--blue-bright); background: rgba(22, 139, 255, .12); }.metric-icon.cyan { color: var(--cyan); background: rgba(104, 229, 255, .1); }.metric-icon.gold { color: var(--gold); background: rgba(229, 169, 61, .11); }.metric-icon.green { color: var(--green); background: rgba(99, 230, 165, .1); }
.metric-card > div:last-child { min-width: 0; }
.metric-card span, .mini-metric span { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.metric-card strong { display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-mono); font-size: 22px; white-space: nowrap; }
.metric-card small, .mini-metric small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.panel { border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-small); backdrop-filter: blur(16px); }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, .75fr); gap: 20px; }
.chart-panel, .connect-panel, .setup-panel { padding: 27px; }
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.panel-header h2, .panel-header h3 { margin: 4px 0 0; font-family: var(--font-display); font-size: 24px; line-height: 1.2; }
.chart-legend { display: flex; gap: 15px; color: var(--muted); font-size: 11px; }
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.chart-legend i { width: 17px; height: 3px; border-radius: 2px; }.legend-blue { background: var(--blue); }.legend-cyan { background: var(--cyan); }
.chart-wrap { position: relative; height: 300px; }
.line-chart { width: 100%; height: 100%; overflow: visible; }
.chart-grid line { stroke: var(--border); stroke-width: 1; }
.chart-labels text { fill: var(--muted); font-family: var(--font-mono); font-size: 10px; }
.chart-line { filter: drop-shadow(0 0 7px color-mix(in srgb, currentColor 26%, transparent)); }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.chart-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; padding-top: 19px; border-top: 1px solid var(--border); }
.chart-summary div { min-width: 0; }
.chart-summary span { display: block; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.chart-summary strong { display: block; margin-top: 4px; overflow: hidden; color: var(--text-soft); font-family: var(--font-mono); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.coin-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(229, 169, 61, .24); border-radius: 999px; color: var(--gold); background: rgba(229, 169, 61, .08); font-family: var(--font-mono); font-size: 11px; font-weight: 600; }
.coin-badge img { width: 19px; height: 19px; }
.connection-list { margin-bottom: 21px; }
.connection-row { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; align-items: center; min-height: 50px; border-bottom: 1px solid var(--border); }
.connection-row > span { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.connection-row code { overflow: hidden; color: var(--text-soft); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.copy-button { padding: 6px 8px; border: 0; border-radius: 7px; color: var(--blue-bright); background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.copy-button:hover { background: rgba(22, 139, 255, .1); }
.panel-note { margin: 15px 2px 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

.activity-strip { border-block: 1px solid var(--border); background: rgba(22, 139, 255, .04); }
.activity-inner { min-height: 52px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; }
.activity-label { display: flex; align-items: center; gap: 8px; color: var(--cyan); font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.activity-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.activity-marquee { min-width: 0; overflow: hidden; color: var(--text-soft); font-family: var(--font-mono); font-size: 11px; white-space: nowrap; }
.activity-updated { color: var(--muted); font-size: 10px; white-space: nowrap; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 30px; }
.section-heading h2 { margin: 4px 0 0; font-family: var(--font-display); font-size: clamp(36px, 4vw, 50px); line-height: 1; letter-spacing: -.045em; }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 14px; }
.miner-search { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; padding: 16px; border-radius: var(--radius-lg); }
.miner-message { display: grid; place-items: center; min-height: 340px; margin-top: 20px; padding: 40px; text-align: center; }
.empty-illustration { position: relative; width: 110px; height: 82px; margin-bottom: 17px; }
.empty-illustration span { position: absolute; border: 2px solid var(--blue); border-radius: 10px; background: rgba(22,139,255,.05); }
.empty-illustration span:nth-child(1) { width: 64px; height: 50px; left: 23px; top: 15px; }.empty-illustration span:nth-child(2) { width: 28px; height: 28px; left: 0; top: 0; }.empty-illustration span:nth-child(3) { width: 23px; height: 23px; right: 4px; bottom: 0; border-color: var(--cyan); }
.miner-message h3 { margin: 0; font-family: var(--font-display); font-size: 24px; }.miner-message p { margin: 7px 0 0; color: var(--muted); }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 29px 2px 17px; }
.dashboard-heading > div { min-width: 0; }
.dashboard-heading h3 { display: inline; margin: 0 0 0 10px; font-family: var(--font-mono); font-size: 14px; color: var(--text-soft); }
.status-chip, .table-status { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; color: var(--green); background: rgba(99, 230, 165, .1); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.status-chip.offline { color: var(--red); background: rgba(255, 107, 122, .1); }
.icon-text-button { display: inline-flex; align-items: center; gap: 7px; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 12px; }
.icon-text-button:hover { color: var(--text); }.icon-text-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.mini-metric { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.mini-metric strong { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 20px; overflow: hidden; text-overflow: ellipsis; }
.miner-content-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 20px; margin-top: 20px; }
.miner-chart-panel, .workers-panel { padding: 25px; }
.miner-chart-wrap { height: 270px; }.muted { color: var(--muted); font-size: 11px; }
.worker-list { display: grid; gap: 9px; }
.worker-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 14px; border: 1px solid var(--border); border-radius: 13px; background: var(--bg-soft); }
.worker-row strong { display: block; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }.worker-row small { color: var(--muted); font-family: var(--font-mono); font-size: 10px; }.worker-row .worker-rate { text-align: right; font-family: var(--font-mono); font-size: 11px; }.worker-row .worker-rate span { display: block; color: var(--green); }
.empty-row { margin: 0; padding: 20px; color: var(--muted); text-align: center; font-size: 13px; }

.table-panel { overflow: hidden; }
.table-scroll { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 17px 22px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
th { color: var(--muted); background: rgba(109, 147, 188, .035); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
td { color: var(--text-soft); font-size: 13px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(22, 139, 255, .025); }
.rank { color: var(--muted); font-family: var(--font-mono); }.rank.top { color: var(--gold); font-weight: 700; }
.address-cell { max-width: 320px; font-family: var(--font-mono); font-size: 11px; }.numeric-cell { font-family: var(--font-mono); white-space: nowrap; }
.align-right { text-align: right; }.table-loading { height: 120px; color: var(--muted); text-align: center; }
.external-link { color: var(--blue-bright); border-bottom: 1px solid rgba(79, 172, 255, .26); }
.effort { display: inline-flex; min-width: 57px; justify-content: center; padding: 5px 8px; border-radius: 7px; font-family: var(--font-mono); font-size: 10px; }
.effort.good { color: var(--green); background: rgba(99, 230, 165, .1); }.effort.normal { color: var(--gold); background: rgba(229, 169, 61, .1); }.effort.hard { color: var(--red); background: rgba(255, 107, 122, .1); }
.progress { width: 90px; height: 6px; border-radius: 999px; overflow: hidden; background: var(--surface-raised); }.progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.block-highlight { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin-bottom: 17px; padding: 25px 28px; border-color: rgba(229, 169, 61, .2); background: linear-gradient(120deg, rgba(229, 169, 61, .075), var(--surface) 43%); }
.block-highlight span { display: block; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }.block-highlight strong { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 21px; }.block-highlight small { display: block; margin-top: 3px; color: var(--muted); }
.block-cube { position: relative; width: 55px; height: 55px; }.block-cube i { position: absolute; width: 35px; height: 35px; border: 2px solid var(--gold); background: rgba(229, 169, 61, .07); transform: rotate(30deg) skewX(-30deg) scaleY(.86); }.block-cube i:nth-child(1) { left: 10px; top: 0; }.block-cube i:nth-child(2) { left: 0; top: 17px; opacity: .7; }.block-cube i:nth-child(3) { left: 20px; top: 17px; opacity: .45; }

.connect-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.setup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-bottom: 26px; border: 1px solid var(--border); border-radius: 15px; overflow: hidden; background: var(--border); }
.setup-grid div { min-width: 0; padding: 15px 17px; background: var(--bg-soft); }.setup-grid span { display: block; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }.setup-grid strong { display: block; margin-top: 5px; overflow: hidden; font-family: var(--font-mono); font-size: 12px; text-overflow: ellipsis; }
.setup-panel h4 { margin: 0 0 13px; font-family: var(--font-display); font-size: 16px; }
.port-list { display: grid; gap: 9px; }
.port-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 14px 15px; border: 1px solid var(--border); border-radius: 13px; background: var(--bg-soft); }
.port-row > div { min-width: 0; }.port-row code { display: block; overflow: hidden; color: var(--cyan); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.port-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }.recommended { padding: 4px 7px; border-radius: 6px; color: var(--green); background: rgba(99, 230, 165, .1); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.setup-steps { display: grid; gap: 12px; }
.step-card { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.step-card > span { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 13px; color: var(--cyan); background: rgba(104,229,255,.05); font-family: var(--font-mono); font-size: 11px; }.step-card h3 { margin: 0; font-family: var(--font-display); font-size: 16px; }.step-card p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }.step-card code { color: var(--cyan); }
.bitsy-equivalent { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px; margin-top: 20px; padding: 27px; border-color: rgba(104, 229, 255, .2); background: linear-gradient(120deg, rgba(104, 229, 255, .065), var(--surface) 45%); }
.bitsy-equivalent span { color: var(--cyan); font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }.bitsy-equivalent strong { display: block; margin-top: 3px; font-family: var(--font-display); font-size: clamp(25px, 3vw, 38px); }.bitsy-equivalent p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.bitsy-pulse { position: relative; width: 64px; height: 64px; display: grid; place-items: center; }.bitsy-pulse i { position: absolute; border: 1px solid var(--cyan); border-radius: 50%; animation: ripple 2.2s infinite; }.bitsy-pulse i:nth-child(1) { width: 17px; height: 17px; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); animation: none; }.bitsy-pulse i:nth-child(2) { width: 40px; height: 40px; }.bitsy-pulse i:nth-child(3) { width: 64px; height: 64px; animation-delay: .6s; }
@keyframes ripple { 50% { opacity: .25; transform: scale(.9); } }

.faq-container { max-width: 950px; }
.faq-list { display: grid; gap: 10px; }
details { border: 1px solid var(--border); border-radius: 15px; background: var(--surface); overflow: hidden; }
summary { position: relative; padding: 19px 50px 19px 20px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 20px; top: 50%; translate: 0 -50%; color: var(--blue-bright); font-family: var(--font-mono); font-size: 20px; }
details[open] summary::after { content: '−'; }
details p { margin: 0; padding: 0 20px 20px; color: var(--muted); font-size: 13px; }

.site-footer { padding: 60px 0 110px; border-top: 1px solid var(--border); background: rgba(0, 0, 0, .08); }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 35px; }.footer-brand img { width: 210px; }.footer-grid p { max-width: 500px; margin: 0; color: var(--muted); font-size: 12px; }.footer-links { display: flex; gap: 17px; color: var(--text-soft); font-size: 12px; font-weight: 600; }.footer-links a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 35px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; }
.mobile-bottom-nav { display: none; }
.toast { position: fixed; z-index: 999; right: 20px; bottom: 20px; max-width: min(360px, calc(100% - 40px)); padding: 12px 16px; border: 1px solid var(--border-strong); border-radius: 12px; color: var(--text); background: var(--surface-solid); box-shadow: var(--shadow-small); opacity: 0; pointer-events: none; transform: translateY(14px); transition: .25s; font-size: 12px; }
.toast.visible { opacity: 1; transform: none; }.toast.error { border-color: rgba(255,107,122,.35); }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .mobile-menu-button { display: grid; }
  .hero-grid { grid-template-columns: 1fr .82fr; gap: 40px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-metrics { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 850px) {
  :root { --header-height: 68px; }
  .site-header { height: var(--header-height); }
  .brand img { width: 205px; }
  .status-pill { display: none; }
  .hero { padding-top: 68px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { width: 100%; min-width: 0; max-width: 100%; text-align: center; }
  .eyebrow, .hero-actions, .hero-microcopy { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-device { max-width: 540px; margin-inline: auto; width: 100%; }
  .device-shell { transform: none; }
  .wallet-search { grid-template-columns: 1fr; gap: 10px; }
  .wallet-search label { font-size: 14px; }
  .overview-grid, .miner-content-grid, .connect-layout { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .dashboard-metrics { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }.footer-brand, .footer-links { justify-content: center; }.footer-grid p { margin-inline: auto; }
}

@media (max-width: 620px) {
  .container, .header-inner { width: min(100% - 28px, var(--container)); }
  .section { padding: 65px 0; }
  .brand img { width: 178px; }
  .hero { padding-top: 48px; }
  .hero h1 { max-width: 100%; font-size: clamp(41px, 12vw, 53px); overflow-wrap: normal; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; }.hero-actions .button { width: 100%; }
  .hero-microcopy { gap: 10px 15px; }
  .device-screen { min-height: 285px; padding: 18px; }.screen-main { padding: 35px 0 28px; }.screen-main strong { font-size: 34px; }
  .wallet-quick-card { margin-top: 44px; padding: 18px; }.wallet-search-controls { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-card { padding: 18px; }
  .chart-panel, .connect-panel, .setup-panel { padding: 20px; }
  .chart-summary { grid-template-columns: repeat(2, 1fr); }
  .activity-inner { grid-template-columns: auto 1fr; }.activity-updated { display: none; }
  .miner-search { grid-template-columns: 1fr; }.miner-search .button { width: 100%; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; }.dashboard-heading h3 { display: block; margin: 8px 0 0; overflow-wrap: anywhere; }
  .dashboard-metrics { grid-template-columns: 1fr; }
  .block-highlight { grid-template-columns: auto 1fr; }.block-highlight .button { grid-column: 1 / -1; }
  .setup-grid { grid-template-columns: 1fr; }
  .port-row { grid-template-columns: minmax(0,1fr) auto; }.port-row .recommended { display: none; }
  .bitsy-equivalent { grid-template-columns: 1fr; text-align: center; }.bitsy-pulse { margin-inline: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .mobile-bottom-nav { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: max(10px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4, 1fr); padding: 7px; border: 1px solid var(--border); border-radius: 17px; background: color-mix(in srgb, var(--surface-solid) 92%, transparent); box-shadow: var(--shadow); backdrop-filter: blur(20px); }
  .mobile-bottom-nav a { display: grid; place-items: center; gap: 2px; padding: 6px 3px; border-radius: 11px; color: var(--muted); font-size: 9px; font-weight: 600; }.mobile-bottom-nav a:hover { color: var(--text); background: var(--surface-raised); }.mobile-bottom-nav svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .site-footer { padding-bottom: 130px; }
  .toast { bottom: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
