:root {
  --ink: #111827;
  --muted: #5f6673;
  --line: #dce2ea;
  --panel: #ffffff;
  --soft: #f4f7fb;
  --primary: #6d38e8;
  --primary-dark: #4c1db5;
  --cyan: #0f9ab6;
  --amber: #b7791f;
  --green: #12805c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #eef3f8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #edf3f8 0%, #ffffff 46%, #f4f7fb 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(220, 226, 234, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: white;
  background: linear-gradient(135deg, var(--primary), #198fb0);
  font-weight: 800;
  font-size: 20px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--ink);
}

.header-cta,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 700;
}

.header-cta,
.primary {
  color: white;
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(109, 56, 232, 0.22);
}

.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 80px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
}

.graph-node {
  position: absolute;
  border: 1px solid rgba(109, 56, 232, 0.22);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  padding: 10px 14px;
  color: #394150;
  font-size: 13px;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.08);
}

.node-a { left: 8%; top: 18%; }
.node-b { left: 29%; top: 33%; }
.node-c { left: 14%; bottom: 18%; }
.node-d { right: 32%; top: 16%; }
.node-e { right: 10%; bottom: 24%; }

.graph-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(109, 56, 232, 0.55), transparent);
  transform-origin: left center;
}

.line-a { width: 290px; left: 15%; top: 29%; transform: rotate(25deg); }
.line-b { width: 360px; left: 30%; top: 38%; transform: rotate(-18deg); }
.line-c { width: 340px; left: 20%; bottom: 27%; transform: rotate(-11deg); }
.line-d { width: 300px; right: 12%; top: 32%; transform: rotate(44deg); }

.hero-copy,
.product-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.lede {
  max-width: 760px;
  color: #394150;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.product-panel {
  border: 1px solid rgba(220, 226, 234, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 28px 90px rgba(17, 24, 39, 0.14);
  overflow: hidden;
}

.panel-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.panel-toolbar strong {
  color: var(--green);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.metric-grid div {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.metric-grid div:last-child {
  border-right: 0;
}

.metric-grid small,
.task-row small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.metric-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 30px;
}

.task-list {
  padding: 12px;
}

.task-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 10px;
}

.task-row + .task-row {
  border-top: 1px solid #edf1f5;
}

.status {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 5px;
  background: var(--muted);
}

.status.complete { background: var(--green); }
.status.waiting { background: var(--amber); }
.status.running { background: var(--cyan); }

pre {
  margin: 0;
  padding: 18px;
  overflow: auto;
  color: #dbeafe;
  background: #111827;
  font-size: 12px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px 20px;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.trust-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: 8px 13px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 80px);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 36px;
}

.section-heading p,
.split p,
.cta-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.compact {
  max-width: 760px;
}

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

.feature-grid article,
.ops-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 24px;
  min-height: 230px;
  box-shadow: 0 16px 44px rgba(17, 24, 39, 0.06);
}

.feature-grid p,
.ops-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  margin-bottom: 18px;
  color: white;
  background: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #394150;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--green);
}

.flow-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  background: #111827;
  box-shadow: 0 28px 90px rgba(17, 24, 39, 0.16);
}

.flow-card div {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.flow-card span {
  width: 2px;
  height: 22px;
  margin-left: 24px;
  background: linear-gradient(var(--primary), var(--cyan));
}

.dark-card {
  margin-inline: clamp(20px, 5vw, 80px);
  padding-inline: clamp(24px, 5vw, 56px);
  border-radius: 18px;
  color: white;
  background: #111827;
}

.dark-card p {
  color: #cbd5e1;
}

.deploy-list {
  display: grid;
  gap: 12px;
}

.deploy-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
}

.deploy-list span {
  color: #cbd5e1;
}

.cta-section {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) 20px;
  text-align: center;
}

.cta-section .primary {
  margin-top: 16px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 80px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: white;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .product-panel {
    max-width: 680px;
  }

  .feature-grid,
  .ops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    min-width: 0;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: 44px;
  }

  .feature-grid,
  .ops-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  footer {
    flex-direction: column;
  }
}
