:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  --mxh-ink: #f4fbff;
  --mxh-muted: #b9cfda;
  --mxh-green: #42f5a7;
  --mxh-green-deep: #00b978;
  --mxh-cyan: #29d9ff;
  --mxh-panel: rgba(4, 27, 39, .88);
}

* { box-sizing: border-box; }

html,
body { width: 100%; min-height: 100%; margin: 0; overflow-x: clip; }

body {
  min-height: 100dvh;
  color: var(--mxh-ink);
  background:
    radial-gradient(circle at 72% 20%, rgba(31, 231, 168, .18), transparent 31rem),
    radial-gradient(circle at 8% 88%, rgba(31, 193, 255, .16), transparent 28rem),
    linear-gradient(145deg, #020c15 0%, #031b28 45%, #04171d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(75, 239, 200, .048) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 239, 200, .048) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(circle at 50% 48%, #000, transparent 78%);
  mask-image: radial-gradient(circle at 50% 48%, #000, transparent 78%);
}

.mxh-shell {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100vw - 44px));
  min-height: calc(100dvh - 44px);
  margin: 22px auto;
  padding: clamp(24px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(83, 240, 200, .22);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(5, 30, 46, .9), rgba(3, 21, 29, .94));
  box-shadow: 0 38px 120px rgba(0, 0, 0, .46), inset 0 1px rgba(255, 255, 255, .05);
  backdrop-filter: blur(18px);
}

.mxh-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(41, 217, 255, .05), transparent 28%, transparent 68%, rgba(66, 245, 167, .07));
}

.mxh-brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.mxh-brand a { display: inline-flex; max-width: min(238px, 48vw); }
.mxh-brand img { display: block; width: 100%; height: auto; object-fit: contain; }
.mxh-brand span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(75, 239, 190, .22);
  border-radius: 999px;
  color: #dfffee;
  background: rgba(16, 71, 59, .36);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mxh-brand span i,
.mxh-visual-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mxh-green);
  box-shadow: 0 0 0 5px rgba(66, 245, 167, .1), 0 0 18px var(--mxh-green);
  animation: mxhPulse 2.2s ease-in-out infinite;
}

.mxh-grid {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(390px, .78fr);
  align-items: center;
  gap: clamp(34px, 7vw, 92px);
  padding: clamp(46px, 8vh, 96px) 0 clamp(18px, 4vh, 42px);
}

.mxh-copy { min-width: 0; }
.mxh-eyebrow {
  margin: 0 0 18px;
  color: var(--mxh-green);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.mxh-copy h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6.6vw, 82px);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.mxh-copy h1 span { display: block; }

.mxh-lead {
  max-width: 665px;
  margin: 26px 0 0;
  color: var(--mxh-muted);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.72;
}

.mxh-activity {
  max-width: 680px;
  margin-top: 30px;
  padding: 18px 20px 15px;
  overflow: hidden;
  border: 1px solid rgba(78, 232, 194, .2);
  border-radius: 18px;
  background: rgba(5, 50, 52, .42);
  box-shadow: inset 0 1px rgba(255, 255, 255, .035);
}

.mxh-activity span {
  display: block;
  margin-bottom: 8px;
  color: #74e9d4;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mxh-activity strong {
  display: block;
  min-height: 24px;
  color: #f3fffb;
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.4;
  transition: opacity .26s ease, transform .26s ease;
}

.mxh-activity strong.is-changing { opacity: 0; transform: translateY(7px); }
.mxh-progress { height: 3px; margin-top: 15px; overflow: hidden; border-radius: 999px; background: rgba(159, 255, 223, .12); }
.mxh-progress i { display: block; width: 36%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, transparent, var(--mxh-green), var(--mxh-cyan), transparent); animation: mxhProgress 3.2s ease-in-out infinite; }

.mxh-actions { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 11px; }
.mxh-actions a {
  min-height: 50px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mxh-primary { color: #021a17 !important; background: linear-gradient(135deg, #42f5a7, #1edbe8); box-shadow: 0 15px 38px rgba(24, 224, 170, .2); }
.mxh-secondary { border-color: rgba(138, 239, 218, .22) !important; background: rgba(13, 48, 59, .78); }
.mxh-actions a:hover,
.mxh-actions a:focus-visible { transform: translateY(-2px); border-color: rgba(102, 255, 212, .64) !important; box-shadow: 0 18px 42px rgba(21, 219, 169, .23); outline: 3px solid rgba(66, 245, 167, .16); outline-offset: 3px; }
.mxh-footnote { margin: 16px 0 0; color: #849eaa; font-size: 11px; line-height: 1.55; }

.mxh-visual {
  position: relative;
  min-height: min(520px, 58vh);
  display: grid;
  place-items: center;
  isolation: isolate;
}

.mxh-visual::before,
.mxh-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.mxh-visual::before { width: min(470px, 95%); aspect-ratio: 1; background: radial-gradient(circle, rgba(51, 242, 177, .16), transparent 68%); filter: blur(8px); animation: mxhBreathe 4s ease-in-out infinite; }
.mxh-visual::after { width: min(384px, 78%); aspect-ratio: 1; border: 1px solid rgba(63, 234, 192, .14); box-shadow: inset 0 0 90px rgba(15, 219, 173, .08), 0 0 110px rgba(22, 210, 195, .1); }

.mxh-core {
  position: relative;
  z-index: 5;
  width: min(260px, 54%);
  aspect-ratio: 1;
  padding: 10px;
  border: 1px solid rgba(95, 255, 214, .52);
  border-radius: 50%;
  background: rgba(5, 40, 47, .74);
  box-shadow: 0 0 0 12px rgba(50, 236, 189, .04), 0 0 55px rgba(31, 232, 184, .32), 0 35px 90px rgba(0, 0, 0, .42);
  animation: mxhFloat 5s ease-in-out infinite;
}

.mxh-core::before,
.mxh-core::after,
.mxh-core span { content: ""; position: absolute; inset: -21px; border: 1px solid rgba(78, 242, 201, .2); border-radius: 50%; }
.mxh-core::after { inset: -36px; border-style: dashed; animation: mxhSpin 18s linear infinite; }
.mxh-core span { inset: -10px; border-color: rgba(43, 217, 255, .32); animation: mxhSpinReverse 12s linear infinite; }
.mxh-core img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.mxh-orbit { position: absolute; z-index: 2; border: 1px solid rgba(60, 229, 192, .2); border-radius: 50%; }
.mxh-orbit-one { width: min(450px, 92%); aspect-ratio: 1; animation: mxhSpin 28s linear infinite; }
.mxh-orbit-two { width: min(340px, 70%); aspect-ratio: 1; animation: mxhSpinReverse 19s linear infinite; }
.mxh-orbit i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--mxh-green); box-shadow: 0 0 18px var(--mxh-green); }
.mxh-orbit-one i:nth-child(1) { top: 7%; left: 27%; }
.mxh-orbit-one i:nth-child(2) { right: 5%; top: 46%; background: var(--mxh-cyan); box-shadow: 0 0 18px var(--mxh-cyan); }
.mxh-orbit-one i:nth-child(3) { bottom: 10%; left: 22%; }
.mxh-orbit-two i:nth-child(1) { top: 5%; right: 27%; }
.mxh-orbit-two i:nth-child(2) { bottom: 4%; left: 40%; background: var(--mxh-cyan); }

.mxh-scan { position: absolute; z-index: 4; width: min(356px, 72%); height: 2px; background: linear-gradient(90deg, transparent, rgba(66, 245, 167, .9), transparent); box-shadow: 0 0 24px rgba(66, 245, 167, .55); animation: mxhScan 4.1s ease-in-out infinite; }
.mxh-builder-blocks { position: absolute; z-index: 3; inset: 14% 8%; }
.mxh-builder-blocks i { position: absolute; width: 12px; height: 12px; border: 1px solid rgba(65, 242, 190, .68); background: rgba(29, 210, 161, .16); box-shadow: 0 0 18px rgba(51, 242, 190, .25); animation: mxhBlocks 3.6s ease-in-out infinite; }
.mxh-builder-blocks i:nth-child(1) { left: 8%; top: 25%; }
.mxh-builder-blocks i:nth-child(2) { right: 5%; top: 17%; animation-delay: -.8s; }
.mxh-builder-blocks i:nth-child(3) { left: 2%; bottom: 19%; animation-delay: -1.4s; }
.mxh-builder-blocks i:nth-child(4) { right: 8%; bottom: 13%; animation-delay: -2s; }
.mxh-builder-blocks i:nth-child(5) { right: 1%; top: 53%; animation-delay: -2.7s; }

.mxh-visual-status {
  position: absolute;
  z-index: 8;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  min-width: max-content;
  min-height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(71, 246, 199, .28);
  border-radius: 13px;
  background: rgba(2, 26, 34, .91);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .38);
  color: #dffff4;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mxh-ambient { position: fixed; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.mxh-ambient i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: rgba(66, 245, 167, .7); box-shadow: 0 0 18px rgba(66, 245, 167, .7); animation: mxhDrift 12s linear infinite; }
.mxh-ambient i:nth-child(1) { left: 8%; top: 78%; animation-delay: -2s; }
.mxh-ambient i:nth-child(2) { left: 19%; top: 23%; animation-delay: -7s; }
.mxh-ambient i:nth-child(3) { left: 45%; top: 85%; animation-delay: -4s; }
.mxh-ambient i:nth-child(4) { right: 9%; top: 69%; animation-delay: -9s; }
.mxh-ambient i:nth-child(5) { right: 22%; top: 17%; animation-delay: -5s; }
.mxh-ambient i:nth-child(6) { right: 46%; top: 9%; animation-delay: -10s; }

@keyframes mxhSpin { to { transform: rotate(360deg); } }
@keyframes mxhSpinReverse { to { transform: rotate(-360deg); } }
@keyframes mxhFloat { 50% { transform: translateY(-10px) scale(1.018); } }
@keyframes mxhBreathe { 50% { opacity: .68; transform: scale(1.08); } }
@keyframes mxhPulse { 50% { opacity: .45; transform: scale(.82); } }
@keyframes mxhProgress { from { transform: translateX(-120%); } to { transform: translateX(350%); } }
@keyframes mxhScan { 0%, 100% { transform: translateY(-125px); opacity: .1; } 50% { transform: translateY(125px); opacity: 1; } }
@keyframes mxhBlocks { 50% { transform: translateY(-10px) rotate(45deg); opacity: .42; } }
@keyframes mxhDrift { from { transform: translateY(24vh); opacity: 0; } 20%, 78% { opacity: .8; } to { transform: translateY(-55vh); opacity: 0; } }

@media (max-width: 850px) {
  .mxh-shell { width: calc(100vw - 24px); min-height: calc(100dvh - 24px); margin: 12px auto; padding: 22px; border-radius: 26px; }
  .mxh-brand { align-items: flex-start; }
  .mxh-brand a { max-width: 190px; }
  .mxh-brand span { max-width: 180px; height: auto; padding: 8px 11px; line-height: 1.35; }
  .mxh-grid { grid-template-columns: 1fr; gap: 10px; padding: 35px 0 10px; }
  .mxh-copy h1 { font-size: clamp(39px, 11vw, 62px); }
  .mxh-visual { min-height: 390px; grid-row: 1; }
  .mxh-copy { grid-row: 2; }
  .mxh-actions { display: grid; }
  .mxh-actions a { width: 100%; text-align: center; }
}

@media (max-width: 520px) {
  .mxh-shell { padding: 18px; }
  .mxh-brand { display: grid; }
  .mxh-brand a { max-width: 176px; }
  .mxh-brand span { justify-self: start; max-width: none; }
  .mxh-grid { padding-top: 24px; }
  .mxh-visual { min-height: 310px; }
  .mxh-core { width: min(190px, 56%); }
  .mxh-visual-status { bottom: 2%; }
  .mxh-copy h1 { max-width: 100%; font-size: clamp(36px, 11vw, 44px); text-wrap: wrap; }
  .mxh-lead { font-size: 15px; line-height: 1.65; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
