:root {
  color-scheme: dark;
  --bg: #08111f;
  --bg-soft: #0d1a2c;
  --panel: #101d30;
  --panel-strong: #16263b;
  --ink: #f4f7fb;
  --muted: #a9b7ca;
  --line: rgba(169, 183, 202, 0.22);
  --accent: #63e6be;
  --accent-strong: #1fbf91;
  --blue: #6aa7ff;
  --code: #d7f7ec;
  --shadow: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(99, 230, 190, 0.08), transparent 38rem),
    linear-gradient(135deg, #08111f 0%, #101d30 58%, #0b1728 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

code,
kbd,
pre {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

code {
  color: var(--code);
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8em;
  min-height: 1.6em;
  padding: 0 0.35em;
  border: 1px solid rgba(244, 247, 251, 0.18);
  border-radius: 5px;
  background: rgba(244, 247, 251, 0.08);
  color: var(--ink);
  font-size: 0.82em;
  line-height: 1;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 50;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: var(--accent);
  color: #061016;
  font-weight: 800;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.project-return-banner {
  min-height: 50px;
  padding: 0.55rem clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 17, 31, 0.96);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.project-return-banner a {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 900;
}

.project-return-banner p {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 17, 31, 0.84);
  backdrop-filter: blur(18px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  font-weight: 900;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(99, 230, 190, 0.36);
  border-radius: 8px;
  background: rgba(99, 230, 190, 0.1);
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
}

.nav {
  gap: 0.5rem;
}

.nav a {
  min-height: 38px;
  padding: 0.55rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible {
  border-color: var(--line);
  background: rgba(244, 247, 251, 0.06);
  color: var(--ink);
}

.hero,
.section,
.final-cta {
  padding-inline: clamp(18px, 4vw, 56px);
}

.hero {
  min-height: calc(100vh - 118px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
  padding-block: clamp(48px, 7vw, 92px);
}

.hero-copy {
  max-width: 740px;
}

.badge-row,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.36rem 0.68rem;
  border: 1px solid rgba(99, 230, 190, 0.28);
  border-radius: 999px;
  background: rgba(99, 230, 190, 0.1);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.badge-muted {
  border-color: rgba(169, 183, 202, 0.24);
  background: rgba(169, 183, 202, 0.08);
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 1rem 0 1.25rem;
  max-width: 790px;
  font-size: clamp(3.1rem, 7.2vw, 6.8rem);
  letter-spacing: 0;
  line-height: 0.92;
}

h2 {
  margin-bottom: 1rem;
  max-width: 820px;
  font-size: clamp(2rem, 4.6vw, 4.3rem);
  letter-spacing: 0;
  line-height: 1;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.4vw, 1.3rem);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1rem;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #061016;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(244, 247, 251, 0.05);
  color: var(--ink);
}

.cta-row {
  margin-top: 1.55rem;
}

.microcopy {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.terminal-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(169, 183, 202, 0.26);
  border-radius: 10px;
  background: #03070d;
  box-shadow: 0 32px 90px var(--shadow);
}

.terminal-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.terminal-shot figcaption {
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(169, 183, 202, 0.18);
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  padding-block: clamp(56px, 8vw, 110px);
  border-top: 1px solid rgba(169, 183, 202, 0.14);
}

.split-section,
.install-section,
.status-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.copy-stack {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.copy-stack p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 840px;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.workflow-list li {
  min-height: 190px;
  padding: 1.2rem;
  background: var(--panel);
}

.workflow-list span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
}

.workflow-list small {
  color: var(--muted);
  font-size: 0.94rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--line);
}

.feature-grid article {
  min-height: 210px;
  padding: 1.2rem;
  background: var(--panel);
}

.feature-index {
  display: inline-flex;
  margin-bottom: 1.8rem;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  font-weight: 800;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.install-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.command-panel {
  overflow: hidden;
  border: 1px solid rgba(99, 230, 190, 0.28);
  border-radius: 10px;
  background: #03070d;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
}

.command-panel pre {
  margin: 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  overflow-x: auto;
  color: var(--code);
  font-size: clamp(0.86rem, 1.2vw, 1rem);
  line-height: 1.7;
}

.status-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  list-style: none;
  color: var(--muted);
}

.status-list li {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 247, 251, 0.04);
}

.status-list strong {
  color: var(--ink);
}

.final-cta {
  padding-block: clamp(64px, 9vw, 120px);
  border-top: 1px solid rgba(169, 183, 202, 0.14);
  background: linear-gradient(135deg, rgba(99, 230, 190, 0.12), rgba(106, 167, 255, 0.08));
}

.final-cta h2 {
  max-width: 900px;
}

@media (max-width: 1000px) {
  .hero,
  .split-section,
  .install-section,
  .status-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .workflow-list,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .project-return-banner,
  .site-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-return-banner p {
    text-align: left;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .workflow-list,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .workflow-list li,
  .feature-grid article {
    min-height: auto;
  }
}
