:root {
  color-scheme: dark;
  --bg: #08090b;
  --bg-2: #0d0f14;
  --panel: rgba(18, 20, 26, 0.82);
  --panel-solid: #12141a;
  --panel-soft: #171a22;
  --text: #f7f8fb;
  --muted: #9aa3b2;
  --muted-2: #6f7785;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --blue: #5b8cff;
  --green: #4ade80;
  --violet: #a78bfa;
  --amber: #fbbf24;
  --cyan: #22d3ee;
  --rose: #fb7185;
  --shadow: 0 34px 120px rgba(0, 0, 0, 0.56);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -12%, rgba(91, 140, 255, 0.22), transparent 34rem),
    radial-gradient(circle at 86% 10%, rgba(167, 139, 250, 0.11), transparent 30rem),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(to bottom, rgba(8, 9, 11, 0.18), rgba(8, 9, 11, 0.78)),
    radial-gradient(circle at 50% 20%, transparent, rgba(8, 9, 11, 0.64) 64%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 22px 0 96px;
}

.nav {
  position: sticky;
  top: 14px;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  width: min(900px, 100%);
  margin: 0 auto 58px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(13, 15, 20, 0.72);
  padding: 8px;
  backdrop-filter: blur(20px);
}

.brand,
.nav-links,
.actions,
.hero-stats,
.agent-trace {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 780;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.12);
}

.brand-logo {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: contain;
  box-shadow: 0 0 30px rgba(91, 140, 255, 0.22);
}

.nav-links {
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
}

.nav-links a,
.nav-cta {
  border-radius: 8px;
  padding: 8px 10px;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.nav-cta {
  justify-self: end;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 13px;
  font-weight: 760;
}

.hero {
  display: grid;
  gap: 54px;
  align-items: center;
  padding-top: 10px;
}

.hero-copy {
  display: flex;
  max-width: 940px;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  text-align: center;
}

.announcement {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  padding: 7px 12px;
  color: #c7cfdd;
  font-size: 13px;
  font-weight: 700;
}

.announcement span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.72);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 840;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(54px, 7.4vw, 100px);
  line-height: 0.9;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 3.3vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: 0;
}

.lede {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.48;
}

.actions {
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  white-space: nowrap;
}

.primary {
  background: linear-gradient(180deg, #f8fbff, #dbe6ff);
  color: #0b1020;
  box-shadow: 0 20px 70px rgba(91, 140, 255, 0.24);
}

.secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.045);
  color: #d8deea;
}

.fine-print {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.5;
}

.hero-stats {
  justify-content: center;
  gap: 0;
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.hero-stats div {
  min-width: 190px;
  padding: 14px 20px;
}

.hero-stats div + div {
  border-left: 1px solid var(--border);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

.product-frame,
.band,
.core-systems,
.workflow,
.split,
.download-panel,
.download-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
}

.product-frame {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-frame::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 0%, rgba(91, 140, 255, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 20%);
}

.window-bar {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 7px;
  border-bottom: 1px solid var(--border);
  padding: 13px 14px;
  background: rgba(8, 9, 11, 0.48);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #303540;
}

.window-bar span:nth-child(1) {
  background: #ff5f57;
}

.window-bar span:nth-child(2) {
  background: #ffbd2e;
}

.window-bar span:nth-child(3) {
  background: #28c840;
}

.preview-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 540px;
  grid-template-columns: 180px minmax(0, 1fr) 250px;
}

.preview-grid aside,
.preview-grid section {
  padding: 18px;
}

.preview-grid aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.preview-rail {
  border-right: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.16);
}

.preview-agent {
  border-left: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.16);
}

.preview-grid strong {
  color: var(--text);
}

.preview-rail span {
  border-radius: 8px;
  padding: 9px 10px;
}

.preview-rail span:nth-child(2) {
  background: rgba(91, 140, 255, 0.12);
  color: #e8eeff;
}

.preview-roadmap {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding-top: 46px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
}

.roadmap-line {
  position: absolute;
  left: 72px;
  top: 78px;
  bottom: 60px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--violet));
  box-shadow: 0 0 24px rgba(91, 140, 255, 0.48);
}

.roadmap-node {
  position: relative;
  z-index: 1;
  width: fit-content;
  min-width: 205px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(17, 20, 28, 0.9);
  padding: 10px 14px;
  color: #dbe2ef;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.18;
}

.roadmap-node::before {
  position: absolute;
  top: 50%;
  left: -42px;
  width: 42px;
  height: 1px;
  content: "";
  background: rgba(91, 140, 255, 0.72);
}

.roadmap-node:not(.active) {
  margin-left: 108px;
}

.roadmap-node.active {
  min-width: 260px;
  border-color: rgba(91, 140, 255, 0.72);
  background: rgba(91, 140, 255, 0.13);
  color: #f7faff;
  font-size: 15px;
}

.roadmap-node.active::before {
  display: none;
}

.agent-trace {
  gap: 8px;
  color: #d2d9e8;
  font-size: 13px;
}

.agent-trace span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
}

.mini-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 10px 12px;
  color: var(--text);
  font-weight: 760;
}

.band,
.workflow,
.split,
.download-panel {
  margin-top: 36px;
  padding: 44px;
}

.proof {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: center;
}

.proof p,
.split p,
.download-panel p,
article p,
.flow-list p {
  color: var(--muted);
  line-height: 1.62;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric-row div {
  min-height: 124px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 16px;
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  margin-bottom: 8px;
}

.metric-row span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.core-systems {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
  padding: 0;
  border: 0;
  background: transparent;
}

.core-systems article {
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(91, 140, 255, 0.16), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.022)),
    var(--panel-solid);
  min-height: 420px;
  padding: 42px;
}

.core-systems article:nth-child(2) {
  background:
    radial-gradient(circle at 18% 0%, rgba(167, 139, 250, 0.16), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.022)),
    var(--panel-solid);
}

.core-systems p {
  color: var(--muted);
  line-height: 1.62;
}

.core-systems ul {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.core-systems li {
  position: relative;
  color: var(--text);
  font-size: 15px;
  font-weight: 720;
  line-height: 1.42;
  padding-left: 22px;
}

.core-systems li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 20px rgba(91, 140, 255, 0.6);
  content: "";
}

.core-systems article:nth-child(2) li::before {
  background: var(--violet);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.6);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

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

.feature-grid article {
  min-height: 190px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    var(--panel-solid);
  padding: 24px;
}

.feature-grid article:nth-child(1),
.feature-grid article:nth-child(3) {
  grid-column: span 1;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 24px currentColor;
}

.blue {
  color: var(--blue);
  background: var(--blue);
}

.green {
  color: var(--green);
  background: var(--green);
}

.violet {
  color: var(--violet);
  background: var(--violet);
}

.amber {
  color: var(--amber);
  background: var(--amber);
}

.cyan {
  color: var(--cyan);
  background: var(--cyan);
}

.rose {
  color: var(--rose);
  background: var(--rose);
}

.workflow {
  background: transparent;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}

.flow-list li {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 24px;
}

.flow-list span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 12px 14px;
  color: var(--muted);
}

.download-panel {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(91, 140, 255, 0.18), transparent 32rem),
    rgba(255, 255, 255, 0.035);
}

.download-card {
  padding: 18px;
}

.download-card .button {
  width: 100%;
}

.steps {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr;
    justify-items: center;
    position: static;
  }

  .nav-cta {
    justify-self: center;
  }

  .hero-stats,
  .proof,
  .core-systems,
  .memory,
  .split,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .preview-rail,
  .preview-agent {
    border: 0;
    border-bottom: 1px solid var(--border);
  }

  .feature-grid,
  .flow-list,
  .metric-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .page {
    width: min(100% - 24px, 1220px);
    padding-bottom: 44px;
  }

  h1 {
    font-size: 44px;
  }

  .lede {
    font-size: 17px;
  }

  .actions,
  .hero-stats {
    flex-direction: column;
    width: 100%;
  }

  .actions .button,
  .hero-stats div {
    width: 100%;
  }

  .hero-stats div + div {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .band,
  .workflow,
  .memory,
  .split,
  .download-panel {
    padding: 22px;
  }
}
