:root {
  --ink: #071011;
  --surface: #0c1718;
  --surface-2: #111f21;
  --line: rgba(225, 255, 250, 0.13);
  --text: #effbf8;
  --muted: #95aaa6;
  --mint: #2de2c4;
  --violet: #8d6cff;
  --lime: #b5f45d;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-display: "Space Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 10; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.nav { height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 700 18px/1 var(--font-display); letter-spacing: .12em; }
.brand-mark { display: grid; place-items: center; width: 34px; aspect-ratio: 1; color: var(--ink); background: var(--mint); border-radius: 8px 8px 3px 8px; font-weight: 800; letter-spacing: 0; transform: skew(-5deg); }
.nav nav { display: flex; gap: 36px; color: var(--muted); font-size: 14px; font-weight: 700; }
.nav nav a:hover { color: var(--text); }
.nav-cta { border: 1px solid var(--line); padding: 10px 16px; border-radius: 9px; font-size: 14px; font-weight: 700; }
.nav-cta:hover { border-color: var(--mint); color: var(--mint); }

.hero { min-height: 700px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 60px; padding-block: 78px 94px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--mint); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.live-dot { width: 8px; height: 8px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 5px rgba(181,244,93,.1), 0 0 20px var(--lime); }
.live-dot.offline { background: #ff6b6b; box-shadow: 0 0 0 5px rgba(255,107,107,.1), 0 0 20px #ff6b6b; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: .98; }
h1 { margin-top: 25px; font-size: clamp(64px, 8vw, 110px); letter-spacing: -.065em; max-width: 750px; }
h1 span { color: transparent; -webkit-text-stroke: 1px rgba(239,251,248,.6); }
.hero-lead { max-width: 620px; margin: 30px 0 36px; color: var(--muted); font-size: 19px; line-height: 1.7; }
.server-address { display: flex; align-items: center; justify-content: space-between; max-width: 620px; min-height: 92px; padding: 18px 18px 18px 22px; border: 1px solid rgba(45,226,196,.4); border-radius: 14px; background: linear-gradient(115deg, rgba(45,226,196,.1), rgba(141,108,255,.05)); box-shadow: 0 18px 60px rgba(0,0,0,.24); }
.address-label { display: block; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.server-address strong { display: block; margin-top: 3px; font: 600 clamp(19px, 3vw, 25px)/1.2 var(--font-display); }
.copy-button { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border: 0; border-radius: 9px; background: var(--mint); color: var(--ink); cursor: pointer; font-size: 14px; font-weight: 800; }
.copy-button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.copy-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.platform-row { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--muted); font-size: 11px; letter-spacing: .1em; }
.platform-row b { color: var(--text); font-size: 12px; }
.platform-row i { width: 1px; height: 13px; margin-inline: 8px; background: var(--line); }

.hero-panel { position: relative; min-height: 510px; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 50% 36%, rgba(45,226,196,.13), transparent 39%), linear-gradient(145deg, #0d1b1c, #081112); box-shadow: 0 40px 100px rgba(0,0,0,.38); }
.panel-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.status-orbit { position: absolute; inset: 45px 35px 120px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(45,226,196,.3); border-radius: 42% 58% 56% 44% / 45% 41% 59% 55%; animation: spin 18s linear infinite; }
.orbit-one { width: 300px; height: 300px; }
.orbit-two { width: 230px; height: 230px; border-color: rgba(141,108,255,.35); animation-duration: 12s; animation-direction: reverse; }
.core { display: grid; place-items: center; width: 132px; height: 132px; background: linear-gradient(145deg, var(--mint), #179a8c); color: var(--ink); clip-path: polygon(26% 0, 100% 14%, 90% 85%, 20% 100%, 0 36%); filter: drop-shadow(0 0 34px rgba(45,226,196,.38)); }
.core b { font: 800 56px/1 var(--font-display); }
.panel-status { position: absolute; inset: auto 24px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.panel-status > div { padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: rgba(7,16,17,.8); backdrop-filter: blur(8px); }
.panel-status span { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.panel-status strong { display: block; margin-top: 5px; font: 600 18px/1.2 var(--font-display); }
@keyframes spin { to { transform: rotate(360deg); } }

.stats-band { border-block: 1px solid var(--line); background: var(--surface); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { padding: 30px 28px; border-left: 1px solid var(--line); }
.stats-grid > div:last-child { border-right: 1px solid var(--line); }
.stats-grid strong { display: block; font: 600 30px/1 var(--font-display); }
.stats-grid span { display: block; margin-top: 10px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; }

.systems { padding-block: 130px; }
.section-heading { display: grid; grid-template-columns: .65fr 1.2fr 1fr; align-items: end; gap: 45px; margin-bottom: 64px; }
.section-heading > div { align-self: start; display: flex; gap: 14px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.section-index { color: var(--mint); font: 600 12px/1 var(--font-display); }
.section-heading h2, .join h2 { font-size: clamp(48px, 6vw, 76px); letter-spacing: -.055em; }
.section-heading p, .join-copy p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { position: relative; min-height: 320px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; transition: transform .25s ease, border-color .25s ease; }
.feature:hover { transform: translateY(-4px); border-color: rgba(45,226,196,.42); }
.feature-large { grid-row: span 2; min-height: 654px; background: linear-gradient(160deg, rgba(45,226,196,.14), var(--surface) 46%); }
.feature-wide { grid-column: span 2; min-height: 320px; background: linear-gradient(120deg, var(--surface), rgba(141,108,255,.1)); }
.feature-number { position: absolute; top: 22px; right: 23px; color: #58706c; font: 600 12px/1 var(--font-display); }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 72px; border: 1px solid rgba(45,226,196,.25); border-radius: 12px; color: var(--mint); background: rgba(45,226,196,.08); font: 500 24px/1 var(--font-display); }
.feature-large .feature-icon { margin-top: 126px; }
.feature h3 { font-size: 28px; letter-spacing: -.035em; }
.feature p { max-width: 470px; margin: 17px 0 24px; color: var(--muted); }
.feature code { display: inline-block; padding: 6px 9px; border-radius: 6px; color: var(--mint); background: rgba(45,226,196,.08); font-family: var(--font-display); font-size: 13px; }

.join { padding-block: 125px; background: var(--mint); color: var(--ink); }
.join-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.join .section-index { color: #087c6b; }
.join-copy p { max-width: 520px; margin-top: 28px; color: rgba(7,16,17,.68); }
.join-steps { border-top: 1px solid rgba(7,16,17,.2); }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: center; padding-block: 23px; border-bottom: 1px solid rgba(7,16,17,.2); }
.step > b { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(7,16,17,.35); border-radius: 50%; font: 600 13px/1 var(--font-display); }
.step strong, .step span { display: block; }
.step strong { font-size: 16px; }
.step span { color: rgba(7,16,17,.6); font-size: 14px; }
.big-copy { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding: 20px 22px; border: 0; border-radius: 11px; background: var(--ink); color: var(--text); cursor: pointer; text-align: left; }
.big-copy span { font: 600 19px/1 var(--font-display); }
.big-copy b { color: var(--mint); font-size: 11px; letter-spacing: .1em; }

footer { min-height: 150px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; color: var(--muted); font-size: 12px; }
footer p { text-align: center; }
footer > span { text-align: right; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 20; padding: 12px 17px; border: 1px solid rgba(45,226,196,.35); border-radius: 9px; color: var(--ink); background: var(--mint); font-size: 13px; font-weight: 800; opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 920px) {
  .nav nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-panel { min-height: 440px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid > div:nth-child(3) { border-top: 1px solid var(--line); }
  .stats-grid > div:nth-child(4) { border-top: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr 1fr; }
  .section-heading > div { grid-column: 1 / -1; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-large { grid-row: auto; min-height: 380px; }
  .feature-large .feature-icon { margin-top: 0; }
  .feature-wide { grid-column: span 2; }
  .join-inner { grid-template-columns: 1fr; gap: 60px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav { height: 78px; }
  .nav-cta { display: none; }
  .hero { min-height: auto; gap: 40px; padding-block: 54px 70px; }
  h1 { font-size: clamp(58px, 18vw, 84px); }
  .hero-lead { font-size: 17px; }
  .server-address { align-items: stretch; flex-direction: column; gap: 16px; }
  .copy-button { justify-content: center; }
  .hero-panel { min-height: 380px; }
  .status-orbit { inset: 25px 20px 110px; transform: scale(.82); }
  .panel-status { inset: auto 14px 14px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid > div { padding: 24px 17px; }
  .systems { padding-block: 90px; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; }
  .section-heading > div { grid-column: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature-large, .feature-wide { grid-column: auto; min-height: 320px; }
  .join { padding-block: 88px; }
  .big-copy { align-items: flex-start; flex-direction: column; gap: 10px; }
  footer { grid-template-columns: 1fr; gap: 14px; padding-block: 40px; }
  footer p, footer > span { text-align: left; margin: 0; }
}

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