:root {
  --bg: #000000;
  --panel: #050505;
  --line: #1c1c1c;
  --line-strong: #2a2a2a;
  --text: #ffffff;
  --muted: #888888;
  --accent: #26D579;
  --blue: #2f7cff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --shell: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Inter", sans-serif;
  background: var(--bg);
  overflow-x: hidden;
}

body::before,
body::after,
.page-grid {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.page-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: 0.34;
}

body::before {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  left: 5.5%;
  right: 5.5%;
}

body::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 12%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin: 0 auto;
}

.section-frame {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 40px), var(--shell));
  margin: 14px auto 0;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(3, 3, 3, 0.84);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: flex;
  align-items: center;
}

.brand-mark img {
  height: 46px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong,
.nav a,
.button,
h1,
h2,
h3 {
  font-weight: 700;
}

.brand-copy small,
.nav a,
.hero-text,
.section-copy,
.project-card p,
.system-card p,
.contact-block p,
.stats-row span,
.footer-brand p,
.footer-links a {
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav a {
  padding: 10px 14px;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav-divider {
  width: 1px;
  height: 16px;
  background: var(--line-strong);
  margin: 0 4px;
}

.nav-link-secondary {
  color: var(--text) !important;
}

.nav-cta {
  background: var(--text);
  color: #000 !important;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  transition: opacity 180ms ease;
}

.nav-cta:hover {
  opacity: 0.9;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: 34px 0 40px;
}

.status-badge,
.pill,
.info-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.9rem;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(26, 226, 161, 0.4);
  animation: pulse 2s infinite;
}

h1 {
  max-width: 16ch;
  margin: 18px 0 0;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 span {
  color: var(--accent);
}

.hero-text {
  max-width: 58ch;
  margin: 20px 0 0;
  font-size: 1.08rem;
  line-height: 1.6;
}

.hero-command,
pre,
code {
  font-family: "JetBrains Mono", monospace;
}

.hero-command {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #060606;
  color: #d4dae5;
  overflow: auto;
}

.prompt {
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #03110c;
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.globe-stage {
  position: relative;
  width: 100%;
  min-height: 520px;
}

.hero-glow {
  position: absolute;
  top: 50%;
  right: 2%;
  width: 62%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.15;
  filter: blur(52px);
  transform: translateY(-50%);
}

.globe-shell {
  position: absolute;
  top: 50%;
  right: -5%;
  width: min(100%, 750px);
  aspect-ratio: 1 / 1;
  transform: translateY(-50%);
}

.globe-core {
  position: absolute;
  inset: 0;
  overflow: visible;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.globe-canvas {
  position: absolute;
  inset: 0;
}

.globe-canvas {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 28px rgba(93, 105, 255, 0.22));
}

.globe-ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  opacity: 0.7;
  pointer-events: none;
}

.ring-a {
  inset: -2% -6%;
  transform: rotate(26deg);
}

.ring-b {
  inset: -8% 8%;
  transform: rotate(-24deg);
}

.map-panel {
  border: none;
  background: transparent;
  box-shadow: none;
}

.map-surface {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1008 / 653;
  width: 100%;
}

.map-node {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 2px var(--accent);
  animation: pulse 2.8s ease-out infinite;
}

.n1 {
  top: 35%;
  left: 25%;
}

.n2 {
  top: 44%;
  left: 51%;
  animation-delay: 0.6s;
}

.n3 {
  top: 58%;
  left: 74%;
  animation-delay: 1.2s;
}

.n4 {
  top: 28%;
  left: 45%;
  animation-delay: 0.3s;
}

.n5 {
  top: 62%;
  left: 32%;
  animation-delay: 1.8s;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.stats-row article {
  padding: 0;
  border: none;
}

.stats-row strong {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
  font-size: 3.2rem;
  letter-spacing: -0.04em;
}

.stats-row strong small {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 600;
}

.stats-row span {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
  display: block;
  max-width: 220px;
  margin: 0 auto;
}

.logo-strip,
.projects-section,
.systems-section,
.stats-section {
  padding: 34px 0 0;
}

.contact-section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-block {
  text-align: left;
}

.contact-block .section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.contact-block h2 {
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 420px;
}

.contact-block p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 600px;
}

.contact-block .hero-actions {
  justify-content: flex-start;
  gap: 16px;
}

.stats-header {
  margin-bottom: 24px;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.logo-grid article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 96px;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
  color: #f0f2f7;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.stack-logo {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  object-fit: contain;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.section-header h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-copy {
  max-width: 46ch;
  line-height: 1.72;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-meta {
  padding: 20px 24px 0;
  border-right: 0;
  background: transparent;
}

.project-meta a {
  color: var(--accent);
}

.pill {
  width: fit-content;
  min-height: 28px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 6px;
}

.pill.outline {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: #fff;
}

.pill.text {
  border: none;
  background: transparent;
  padding: 0;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: -0.02em;
  text-transform: none;
  font-weight: 700;
}

.pill.ai-ready,
.pill.soon {
  margin-left: 8px;
  padding: 4px 10px;
  min-height: auto;
  border: 1px solid rgba(38, 213, 121, 0.2);
  background: rgba(38, 213, 121, 0.05);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
}

.pill.soon {
  border-color: rgba(255, 175, 54, 0.2);
  background: rgba(255, 175, 54, 0.05);
  color: #ffaf36;
}

.project-body {
  display: flex;
  flex-direction: column;
  padding: 16px 24px 24px;
}

.project-body h3 {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  margin: 0 0 16px;
}

.project-body p {
  line-height: 1.6;
  font-size: 0.95rem;
  color: var(--muted);
}

.services-header {
  text-align: center;
  margin-top: 80px;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

.systems-grid::before {
  content: '';
  position: absolute;
  inset: -60px 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 120px 120px;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  pointer-events: none;
  z-index: -1;
}

.system-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}

.code-showcase {
  background: #020202;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0;
  overflow: hidden;
}

.code-showcase h3,
.code-showcase p {
  padding: 0 32px;
}

.code-showcase h3 {
  margin-top: 24px;
  font-size: 1.5rem;
}

.code-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 32px 32px 0;
}

.code-window {
  margin: 24px 32px 32px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
  overflow: hidden;
  border-bottom: 24px solid transparent;
  /* space for custom scrollbar */
}

pre {
  margin: 0;
  padding: 24px 32px 32px;
  overflow-x: auto;
  overflow-y: hidden;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #c9d1d9;
  line-height: 1.6;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.85rem;
}

pre::-webkit-scrollbar {
  height: 12px;
}

pre::-webkit-scrollbar-track {
  background: transparent;
  margin: 0 16px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

pre::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  border: 3px solid #000;
}

.syn-keyword {
  color: #f9f9f9;
}

.syn-function {
  color: #d2a8ff;
}

.syn-string {
  color: #a5d6ff;
}

.syn-comment {
  color: #8b949e;
  font-style: italic;
}

.syn-type {
  color: #7ee787;
}

.syn-var {
  color: #79c0ff;
}

.info-card {
  background:
    linear-gradient(180deg, rgba(26, 226, 161, 0.04), transparent 30%),
    #050505;
}

.services-wide {
  margin-top: 16px;
}

.service-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: #d7deea;
}



.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.footer-desc {
  max-width: 280px;
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.system-status {
  margin-top: 16px;
  font-size: 0.85rem;
  padding: 6px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.footer-links-col,
.footer-payment {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links-col strong,
.footer-payment strong {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.footer-links-col a {
  color: var(--muted);
  transition: color 200ms ease;
}

.footer-links-col a:hover {
  color: var(--text);
}

.sponsor-logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pay-badge {
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--panel);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.pay-badge.crypto {
  color: #ffaf36;
  border-color: rgba(255, 175, 54, 0.3);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(26, 226, 161, 0.4);
  }

  70% {
    box-shadow: 0 0 0 18px rgba(26, 226, 161, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(26, 226, 161, 0);
  }
}

@media (max-width: 1100px) {

  .hero,
  .section-header,
  .project-list,
  .systems-grid,
  .footer-grid,
  .project-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: start;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .hero-visual,
  .globe-stage {
    min-height: 420px;
  }

  .globe-shell {
    right: 2%;
    width: min(72%, 380px);
  }

  .stats-row,
  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-meta {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-body {
    flex-direction: column;
  }
}

@media (max-width: 820px) {

  .shell,
  .topbar {
    width: min(calc(100% - 22px), var(--shell));
  }

  .topbar {
    top: 8px;
    padding: 12px 14px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }

  .topbar.is-open .nav {
    display: flex;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.4rem, 11vw, 3.8rem);
  }

  .stats-row,
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .stats-row article {
    border-right: 0;
    border-bottom: 0;
  }

  .stats-row article:last-child {
    border-bottom: 0;
  }

  .hero-visual,
  .globe-stage {
    min-height: 300px;
  }

  .globe-shell {
    right: 0;
    width: min(72%, 260px);
  }

  .hero-glow {
    right: 0;
    width: 76%;
  }

  .footer-grid {
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}