:root {
  --bg: #070b16;
  --bg-soft: #0f1529;
  --panel: #111b33;
  --text: #e8eeff;
  --muted: #a8b7d8;
  --line: #283a63;
  --accent: #66e1ff;
  --accent-2: #b38cff;
  --accent-3: #29f0b4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
}

body {
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--text);
  min-height: 100vh;
  background:
    radial-gradient(900px 540px at 14% 0%, rgba(102, 225, 255, 0.13), transparent 62%),
    radial-gradient(820px 520px at 86% 10%, rgba(179, 140, 255, 0.15), transparent 64%),
    linear-gradient(180deg, rgba(15, 21, 41, 0.96) 0%, rgba(7, 11, 22, 1) 34%, rgba(7, 11, 22, 1) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 11, 22, 0) 0%, rgba(7, 11, 22, 0.18) 40%, rgba(7, 11, 22, 0.44) 100%);
}

.page-glow {
  position: fixed;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.14;
  pointer-events: none;
}

.page-glow-left {
  top: 8rem;
  left: -10rem;
  background: var(--accent);
}

.page-glow-right {
  top: 20rem;
  right: -12rem;
  background: var(--accent-2);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: radial-gradient(rgba(232, 238, 255, 0.9) 0.6px, transparent 0.6px);
  background-size: 4px 4px;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
}

code,
pre {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

code {
  color: #d7e6ff;
}

pre,
code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: 14px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(40, 58, 99, 0.9);
  border-radius: 18px;
  background: rgba(8, 13, 27, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.logo {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: lowercase;
}

.links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.links a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.links a:hover,
.footer-links a:hover,
.gh-link:hover {
  color: var(--text);
}

.gh-link,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.gh-link {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(102, 225, 255, 0.24);
  border-radius: 999px;
  background: rgba(17, 27, 51, 0.72);
  font-size: 0.92rem;
  font-weight: 700;
}

.gh-link:hover,
.btn:hover {
  transform: translateY(-1px);
}

.hero-wrap {
  padding: 4.8rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1.5rem;
  align-items: stretch;
}

.hero-copy,
.hero-stage {
  min-width: 0;
}

.hero-copy {
  padding: 2rem 0 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(102, 225, 255, 0.22);
  border-radius: 999px;
  background: rgba(17, 27, 51, 0.7);
  color: #cae6ff;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.lead {
  max-width: 58ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.btn {
  min-height: 3.25rem;
  padding: 0.95rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #041022;
  font-size: 0.98rem;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(41, 240, 180, 0.18);
}

.btn.ghost {
  border-color: rgba(168, 183, 216, 0.22);
  background: rgba(17, 27, 51, 0.62);
  color: var(--text);
  box-shadow: none;
}

.proof-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.proof-inline span,
.panel-badge,
.card-kicker,
.proof-label {
  color: #d1dfff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-inline span {
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(40, 58, 99, 0.92);
  border-radius: 999px;
  background: rgba(9, 15, 29, 0.66);
}

.hero-stage {
  display: grid;
  gap: 1rem;
}

.hero-panel,
.feature-card,
.install-card,
.timeline-step,
.shot,
.cta-panel,
.proof-item,
.metrics-band article {
  border: 1px solid rgba(40, 58, 99, 0.9);
  background:
    linear-gradient(180deg, rgba(17, 27, 51, 0.88) 0%, rgba(9, 15, 29, 0.92) 100%);
  box-shadow: inset 0 1px 0 rgba(232, 238, 255, 0.03);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 1.35rem;
}

.primary-panel {
  min-height: 24rem;
}

.primary-panel::after {
  content: "";
  position: absolute;
  inset: auto -10% -20% auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 225, 255, 0.22) 0%, transparent 66%);
}

.secondary-panel::after {
  content: "";
  position: absolute;
  top: -25%;
  right: -8%;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179, 140, 255, 0.18) 0%, transparent 70%);
}

.signal-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.1rem 0 1rem;
  color: #d9ecff;
  font-weight: 600;
}

.signal-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 0.35rem rgba(41, 240, 180, 0.14);
}

.hero-points,
.bullet-list,
.check-list {
  margin: 0;
  padding-left: 1.15rem;
}

.hero-points li,
.bullet-list li,
.check-list li,
.feature-card p,
.install-card h3,
.timeline-step p,
.proof-item strong,
.metrics-band p,
.footer-copy,
.section-copy,
.cta-panel p {
  color: var(--muted);
}

.hero-points li + li,
.bullet-list li + li,
.check-list li + li {
  margin-top: 0.65rem;
}

.hero-command {
  margin-top: 1.2rem;
  padding: 0.9rem;
  border: 1px solid rgba(102, 225, 255, 0.14);
  border-radius: 20px;
  background: rgba(7, 11, 22, 0.78);
}

.terminal-top {
  display: flex;
  gap: 0.38rem;
  margin-bottom: 0.85rem;
}

.terminal-top span {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  background: rgba(168, 183, 216, 0.24);
}

.terminal-top span:first-child {
  background: rgba(255, 107, 107, 0.8);
}

.terminal-top span:nth-child(2) {
  background: rgba(255, 214, 102, 0.8);
}

.terminal-top span:nth-child(3) {
  background: rgba(41, 240, 180, 0.85);
}

.hero-command pre,
.install-card pre {
  margin: 0;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(40, 58, 99, 0.88);
  border-radius: 18px;
  background: rgba(9, 15, 29, 0.95);
  color: #d9e5ff;
  font-size: 0.88rem;
  line-height: 1.7;
  white-space: pre-wrap;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  margin-top: 1rem;
}

.mini-grid div {
  padding: 1rem;
  border: 1px solid rgba(40, 58, 99, 0.72);
  border-radius: 18px;
  background: rgba(7, 11, 22, 0.42);
}

.mini-grid strong,
.feature-card h3,
.install-card h3,
.timeline-step h3,
.shot figcaption,
.cta-panel h2,
.metric-value {
  color: var(--text);
}

.mini-grid p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.proof-strip {
  padding: 1.4rem 0 0.2rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.proof-item {
  min-height: 100%;
  padding: 1.15rem 1.15rem 1.2rem;
  border-radius: 22px;
}

.proof-item strong {
  display: block;
  margin-top: 0.6rem;
  font-size: 1rem;
  line-height: 1.55;
}

.section {
  padding: 2rem 0;
}

.section-stack {
  display: grid;
  gap: 1.2rem;
}

.section-heading {
  display: grid;
  gap: 0.6rem;
  max-width: 50rem;
}

.split-heading {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 26rem);
  align-items: end;
  gap: 1rem 2rem;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-copy,
.cta-panel p,
.footer-copy {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.feature-grid,
.install-grid,
.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.install-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 1.4rem;
}

.feature-card::after,
.install-card::after,
.cta-panel::after {
  content: "";
  position: absolute;
  inset: auto -15% -35% auto;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 225, 255, 0.12) 0%, transparent 68%);
  pointer-events: none;
}

.feature-card-accent::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.2rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
}

.feature-card h3,
.install-card h3,
.timeline-step h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  line-height: 1.15;
}

.feature-card p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.check-list {
  list-style: decimal;
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.metrics-band article {
  padding: 1.2rem 1.15rem;
  border-radius: 22px;
}

.metric-value {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.metrics-band p {
  margin-bottom: 0;
  line-height: 1.6;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.timeline-step {
  position: relative;
  border-radius: 24px;
  padding: 1.3rem 1.15rem;
}

.timeline-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  padding: 0.42rem 0.6rem;
  border: 1px solid rgba(102, 225, 255, 0.2);
  border-radius: 999px;
  background: rgba(7, 11, 22, 0.56);
  color: #d8edff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.timeline-step p {
  margin-bottom: 0;
  line-height: 1.65;
}

.shot {
  border-radius: 26px;
  padding: 0.9rem;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(51, 75, 121, 0.92);
  border-radius: 18px;
}

.shot figcaption {
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem 2rem;
  align-items: center;
  overflow: hidden;
  border-radius: 32px;
  padding: 1.6rem;
}

.cta-panel h2 {
  max-width: 14ch;
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
}

.footer {
  padding: 1.2rem 0 2.8rem;
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.2rem 0 0;
  border-top: 1px solid rgba(40, 58, 99, 0.72);
}

.footer-copy {
  max-width: 34rem;
  margin-top: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

@media (max-width: 1040px) {
  .hero-grid,
  .split-heading,
  .timeline,
  .cta-panel,
  .metrics-band,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 0;
  }

  .cta-actions,
  .footer-links {
    justify-content: flex-start;
  }

  .cta-panel h2 {
    max-width: none;
  }
}

@media (max-width: 780px) {
  .container {
    width: calc(100% - 20px);
  }

  .nav-shell {
    padding-top: 10px;
  }

  .nav {
    padding: 12px 14px;
    border-radius: 16px;
  }

  .links {
    display: none;
  }

  .hero-wrap {
    padding: 3rem 0 1.25rem;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .lead,
  .section-copy,
  .cta-panel p,
  .footer-copy,
  .proof-item strong,
  .metrics-band p,
  .timeline-step p,
  .feature-card p,
  .mini-grid p {
    font-size: 0.96rem;
  }

  .feature-grid,
  .install-grid,
  .shots,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .btn,
  .gh-link {
    width: 100%;
  }

  .cta-row,
  .cta-actions {
    display: grid;
  }

  .hero-panel,
  .feature-card,
  .install-card,
  .shot,
  .cta-panel {
    border-radius: 24px;
  }

  .hero-command pre,
  .install-card pre {
    font-size: 0.8rem;
    line-height: 1.65;
  }

  .proof-inline {
    gap: 0.55rem;
  }

  .proof-inline span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
