:root {
  --bg: #041018;
  --bg-2: #071927;
  --panel: rgba(10, 31, 45, 0.76);
  --panel-strong: rgba(11, 42, 60, 0.92);
  --line: rgba(121, 236, 255, 0.18);
  --text: #eefbff;
  --muted: #9bb9c7;
  --cyan: #58e8ff;
  --teal: #57ffc2;
  --blue: #5f8dff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(88, 232, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 85% 15%, rgba(87, 255, 194, 0.12), transparent 28rem),
    linear-gradient(180deg, var(--bg), #02070b 58%, #030a10);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(88, 232, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 232, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.88), transparent 82%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }

.site-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.nav {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 14px 0 54px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4, 16, 24, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.28);
}
.brand, .nav-links { display: flex; align-items: center; gap: 14px; }
.brand { font-weight: 800; letter-spacing: 0.02em; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(88,232,255,0.22), rgba(87,255,194,0.16));
  border: 1px solid var(--line);
}
.nav-links { font-size: 0.92rem; color: var(--muted); }
.nav-links a { padding: 8px 10px; border-radius: 999px; }
.nav-links a:hover { color: var(--text); background: rgba(88,232,255,0.08); }
.nav-button { color: var(--text) !important; border: 1px solid var(--line); }

.section { margin: 92px 0; }
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
  gap: 52px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  font-size: 0.75rem;
}
h1, h2, h3 { line-height: 1.05; margin: 0; }
h1 { font-size: clamp(3rem, 8vw, 6.8rem); letter-spacing: -0.08em; }
h2 { font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -0.055em; }
h3 { font-size: 1.1rem; }
p { color: var(--muted); font-size: 1.03rem; }

.ascii {
  color: rgba(88,232,255,0.9);
  font-size: clamp(0.54rem, 1.4vw, 0.92rem);
  line-height: 1.08;
  margin: 0 0 18px;
  text-shadow: 0 0 22px rgba(88,232,255,0.38);
}
.hero { min-height: 74vh; }
.hero-subtitle { font-size: 1.24rem; max-width: 720px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0; }
.badge-row img { height: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid var(--line);
}
.button.primary {
  color: #001319;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  box-shadow: 0 18px 55px rgba(88,232,255,0.24);
}
.button.secondary { background: rgba(255,255,255,0.04); }
.hero-visual { position: relative; }
.hero-visual > img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow), 0 0 90px rgba(88,232,255,0.18);
}
.terminal-card {
  border: 1px solid var(--line);
  background: rgba(2, 11, 17, 0.86);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.45);
  overflow: hidden;
}
.floating-terminal {
  position: absolute;
  left: -26px;
  bottom: -36px;
  width: min(390px, 92%);
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--line);
}
.terminal-header span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.terminal-header strong { margin-left: 8px; color: var(--muted); font-size: 0.8rem; }
.terminal-card code { display: block; padding: 18px; color: #bdf8ff; }
.terminal-card code span { color: var(--teal); }

.section-heading { max-width: 760px; margin-bottom: 26px; }
.copy-panel, .code-card, .feature-card, .image-band, .pipeline, .hardware-list {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), rgba(5, 18, 28, 0.78));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.copy-panel { padding: 28px; }
.copy-panel p:last-child { margin-bottom: 0; }
.install-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 18px;
}
.code-card { padding: 22px; overflow: hidden; }
.code-card h3 { margin-bottom: 14px; color: var(--text); }
.code-card pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  border-radius: 16px;
  background: rgba(0,0,0,0.42);
  border: 1px solid rgba(88,232,255,0.12);
  color: #c8f8ff;
  font-size: 0.9rem;
}
.code-card.wide { grid-row: span 2; }
.stack p { max-width: 620px; }
.text-link { color: var(--cyan); font-weight: 800; }
.stack-code pre { max-height: 460px; }

.image-band {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 22px;
}
.image-band img { border-radius: 20px; border: 1px solid var(--line); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card { padding: 24px; transition: transform 180ms ease, border-color 180ms ease; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(88,232,255,0.42); }
.feature-card span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 15px;
  color: var(--teal);
  background: rgba(87,255,194,0.08);
  border: 1px solid rgba(87,255,194,0.22);
  font-size: 1.4rem;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { margin: 0; }
.pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr auto repeat(3, 1fr) auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 22px;
}
.pipeline div {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  border-radius: 18px;
  background: rgba(88,232,255,0.07);
  border: 1px solid rgba(88,232,255,0.18);
  font-weight: 800;
}
.pipeline span { color: var(--cyan); font-size: 1.6rem; }
.hardware-list { padding: 24px; }
.hardware-list p { margin: 0 0 10px; }
.hardware-list p:last-child { margin-bottom: 0; }
.hardware-list strong { color: var(--text); }
.server-image {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 0 60px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer strong { color: var(--text); }
.footer p { margin: 8px 0 0; }
.footer nav { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.footer a { color: var(--cyan); }

@media (max-width: 900px) {
  .nav { align-items: flex-start; border-radius: 24px; }
  .nav, .nav-links { flex-direction: column; }
  .nav-links { align-items: flex-start; }
  .section-grid, .image-band, .install-grid { grid-template-columns: 1fr; }
  .code-card.wide { grid-row: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline span { transform: rotate(90deg); justify-self: center; }
  .floating-terminal { position: relative; left: auto; bottom: auto; margin: -34px auto 0; }
  .footer { flex-direction: column; }
  .footer nav { justify-content: flex-start; }
}
