:root {
  color-scheme: dark;
  --bg: #061017;
  --bg-soft: #0a1821;
  --panel: rgba(15, 34, 45, .82);
  --panel-solid: #0e222d;
  --line: rgba(151, 197, 213, .17);
  --text: #ecf8fb;
  --muted: #91aab4;
  --accent: #5ee5c2;
  --accent-2: #6eb9ff;
  --warning: #ffd166;
  --shadow: 0 24px 80px rgba(0, 0, 0, .28);
  --radius: 22px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 4%, rgba(31, 141, 169, .19), transparent 30rem),
    radial-gradient(circle at 5% 26%, rgba(49, 211, 168, .10), transparent 28rem),
    linear-gradient(180deg, #07141c 0%, var(--bg) 42%, #050d12 100%);
  font: 400 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; }
.shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  color: #052219;
  background: var(--accent);
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(6, 16, 23, .72);
  backdrop-filter: blur(18px);
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled {
  border-color: var(--line);
  background: rgba(6, 16, 23, .92);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
  font-weight: 780;
  letter-spacing: .025em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(94, 229, 194, .48);
  border-radius: 12px;
  color: var(--accent);
  background: linear-gradient(145deg, rgba(94, 229, 194, .14), rgba(110, 185, 255, .08));
  box-shadow: inset 0 0 28px rgba(94, 229, 194, .08);
  font-size: 13px;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  width: 100%;
}
.nav a {
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s ease, background .2s ease;
}
.nav a:hover,
.nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, .055);
}
.nav .nav-status {
  margin-left: 7px;
  border: 1px solid var(--line);
  color: var(--text);
}
.status-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(94, 229, 194, .09);
}
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: var(--panel);
  cursor: pointer;
}
.menu-button span,
.menu-button::before,
.menu-button::after {
  width: 18px;
  height: 2px;
  display: block;
  margin: 4px auto;
  border-radius: 4px;
  background: currentColor;
  content: "";
}

.hero {
  position: relative;
  min-height: 670px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  align-items: center;
  gap: 70px;
  padding: 88px 0 100px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -.025em; }
h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7.4vw, 88px);
  font-weight: 790;
}
h1 .gradient {
  color: transparent;
  background: linear-gradient(100deg, var(--accent), #b6f4e5 45%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-copy {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 13px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 720;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  color: #042019;
  background: var(--accent);
  box-shadow: 0 14px 40px rgba(94, 229, 194, .16);
}
.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, .035);
}

.network-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(rgba(110, 185, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 185, 255, .055) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(94, 229, 194, .12), transparent 60%);
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: var(--shadow);
}
.network-visual::before,
.network-visual::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(94, 229, 194, .17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  content: "";
}
.network-visual::after {
  width: 340px;
  height: 340px;
  border-color: rgba(110, 185, 255, .11);
}
.core-node {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(94, 229, 194, .5);
  border-radius: 28px;
  color: var(--accent);
  background: #0b222a;
  box-shadow: 0 0 55px rgba(94, 229, 194, .18);
  transform: translate(-50%, -50%);
  font-weight: 760;
}
.edge-node {
  position: absolute;
  z-index: 3;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--muted);
  background: rgba(7, 22, 30, .92);
  font-size: 12px;
}
.edge-node::before {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}
.n1 { left: 8%; top: 17%; }
.n2 { right: 8%; top: 22%; }
.n3 { left: 10%; bottom: 18%; }
.n4 { right: 10%; bottom: 15%; }
.visual-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.section { padding: 96px 0; }
.section.compact { padding: 66px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 40px;
}
.section-head h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 56px);
}
.section-head p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
}
.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(16, 39, 50, .84), rgba(8, 23, 31, .8));
  box-shadow: 0 18px 55px rgba(0, 0, 0, .12);
}
.card::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(94, 229, 194, .035);
  content: "";
}
.card-number {
  display: block;
  margin-bottom: 50px;
  color: var(--accent);
  font: 650 12px/1 monospace;
}
.card h3 { margin-bottom: 12px; font-size: 22px; }
.card p { margin: 0; color: var(--muted); }
.card-link {
  position: absolute;
  left: 28px;
  bottom: 25px;
  z-index: 2;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 680;
}
.card-link:hover { text-decoration: underline; }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 29, 38, .64);
}
.metric { padding: 30px; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric strong {
  display: block;
  color: var(--text);
  font-size: 30px;
  line-height: 1.2;
}
.metric span { color: var(--muted); font-size: 13px; }

.page-hero {
  padding: 100px 0 68px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 76px);
}
.page-hero .lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}
.content-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 70px;
  padding: 72px 0 110px;
}
.side-note {
  position: sticky;
  top: 110px;
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(10, 29, 38, .6);
  font-size: 13px;
}
.prose { max-width: 800px; }
.prose section { padding: 0 0 58px; }
.prose h2 { margin-bottom: 17px; font-size: 34px; }
.prose h3 { margin: 26px 0 10px; font-size: 21px; }
.prose p,
.prose li { color: var(--muted); }
.prose ul {
  display: grid;
  gap: 8px;
  padding-left: 19px;
}
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.feature {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .025);
}
.feature strong { display: block; margin-bottom: 6px; }
.feature span { color: var(--muted); font-size: 13px; }

.status-board {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 29, 38, .72);
}
.status-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 25px 28px;
  border-bottom: 1px solid var(--line);
}
.status-summary .large-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(94, 229, 194, .09);
}
.status-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
}
.status-row:last-child { border-bottom: 0; }
.status-row span:last-child { color: var(--accent); font-size: 13px; }

.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 46px;
  border: 1px solid rgba(94, 229, 194, .2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 0%, rgba(110, 185, 255, .14), transparent 50%),
    linear-gradient(135deg, rgba(94, 229, 194, .08), rgba(10, 29, 38, .75));
}
.cta h2 { margin-bottom: 8px; font-size: 34px; }
.cta p { margin: 0; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(3, 10, 14, .55);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 45px;
  padding: 60px 0 44px;
}
.footer-copy {
  max-width: 360px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 14px;
}
.footer-column strong {
  display: block;
  margin-bottom: 15px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-column a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.footer-column a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 0 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-button { display: block; }
  .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 68px;
    width: auto;
    display: none;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #0a1821;
    box-shadow: var(--shadow);
  }
  .nav.open { display: grid; }
  .nav .nav-status { margin-left: 0; }
  .hero { grid-template-columns: 1fr; gap: 45px; padding-top: 70px; }
  .network-visual { min-height: 390px; }
  .grid.three { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .metric:nth-child(4) { border-top: 1px solid var(--line); }
  .content-layout { grid-template-columns: 1fr; gap: 35px; }
  .side-note { position: static; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, var(--max)); }
  .nav { left: 14px; right: 14px; }
  .hero { min-height: auto; padding: 62px 0 76px; }
  h1 { font-size: 47px; }
  .network-visual { min-height: 350px; }
  .edge-node { font-size: 10px; }
  .section { padding: 72px 0; }
  .section-head { display: block; }
  .section-head h2 { margin-bottom: 16px; }
  .grid.three,
  .grid.two,
  .feature-row { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .metric + .metric { border-top: 1px solid var(--line); border-left: 0; }
  .page-hero { padding: 72px 0 52px; }
  .page-hero h1 { font-size: 46px; }
  .content-layout { padding-top: 48px; }
  .cta { display: block; padding: 30px; }
  .cta .button { margin-top: 23px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { display: block; }
}

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