:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #111827;
  --muted: #667085;
  --line: #dde5ee;
  --blue: #2454d6;
  --blue-dark: #173c9d;
  --cyan: #0ea5b7;
  --soft: #f4f7fb;
  --panel: #ffffff;
  --shadow: 0 24px 60px rgba(16, 24, 40, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  background: #f8fafc;
  color: var(--ink);
  margin: 0;
}

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

.site-nav {
  align-items: center;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(221, 229, 238, 0.72);
  display: flex;
  gap: 28px;
  height: 76px;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-brand,
.hero-actions,
.preview-top,
.metric-row,
.commerce-section,
.cta-section {
  align-items: center;
  display: flex;
}

.site-brand {
  gap: 12px;
  font-size: 18px;
}

.site-brand span {
  align-items: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 12px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.site-nav nav {
  color: var(--muted);
  display: flex;
  gap: 22px;
  font-size: 15px;
}

.nav-cta,
.primary,
.secondary {
  border-radius: 12px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  padding: 13px 18px;
}

.nav-cta,
.primary {
  background: var(--blue);
  color: #fff;
}

.secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero {
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  min-height: calc(100vh - 76px);
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.hero-copy {
  align-self: center;
  max-width: 680px;
}

.eyebrow {
  color: var(--blue);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 18px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(42px, 5vw, 72px);
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 14px;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  gap: 14px;
  margin-top: 30px;
}

.product-preview {
  align-self: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 520px;
}

.preview-top {
  border-bottom: 1px solid var(--line);
  gap: 9px;
  height: 54px;
  padding: 0 20px;
}

.preview-top span {
  background: #d6dee8;
  border-radius: 999px;
  height: 10px;
  width: 10px;
}

.preview-top strong {
  margin-left: auto;
}

.preview-body {
  display: grid;
  grid-template-columns: 92px 1fr;
  min-height: 466px;
}

.preview-body aside {
  background: #172554;
  display: grid;
  gap: 14px;
  padding: 24px 18px;
  place-content: start;
}

.preview-body aside b {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  height: 42px;
  width: 56px;
}

.preview-body section {
  background: radial-gradient(circle at 50% 30%, rgba(36, 84, 214, 0.11), transparent 30%), #f8fafc;
  padding: 28px;
}

.metric-row {
  gap: 14px;
  margin-bottom: 28px;
}

.metric-row article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  flex: 1;
  padding: 18px;
}

.metric-row small {
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

.metric-row strong {
  font-size: 30px;
}

.flow-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  min-height: 310px;
  padding: 32px;
}

.node {
  border-radius: 12px;
  color: #fff;
  font-weight: 900;
  padding: 16px;
  width: 220px;
}

.node.menu {
  background: #8b5cf6;
}

.node.info {
  background: #2563eb;
  margin-left: 120px;
}

.node.done {
  background: #be123c;
  margin-left: 48px;
}

.line {
  border-bottom: 3px solid #aab8ca;
  border-right: 3px solid #aab8ca;
  height: 44px;
  margin-left: 110px;
  width: 120px;
}

.line.short {
  margin-left: 168px;
  width: 60px;
}

.feature-band {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 clamp(20px, 5vw, 72px) 80px;
}

.feature-band article,
.commerce-section,
.cta-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.06);
  padding: 30px;
}

.feature-band span {
  color: var(--blue);
  font-weight: 900;
}

.feature-band p,
.commerce-section p,
.cta-section p {
  font-size: 16px;
}

.commerce-section {
  gap: 48px;
  justify-content: space-between;
  margin: 0 clamp(20px, 5vw, 72px) 80px;
}

.commerce-section div {
  max-width: 560px;
}

.commerce-section ul {
  color: var(--muted);
  display: grid;
  gap: 14px;
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  min-width: 340px;
}

.cta-section {
  flex-direction: column;
  margin: 0 clamp(20px, 5vw, 72px) 72px;
  text-align: center;
}

.cta-section p {
  max-width: 720px;
}

@media (max-width: 980px) {
  .site-nav nav {
    display: none;
  }

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

  .product-preview {
    min-height: auto;
  }

  .commerce-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-nav {
    gap: 12px;
    height: auto;
    padding-bottom: 14px;
    padding-top: 14px;
  }

  .nav-cta {
    padding: 11px 12px;
  }

  .hero {
    padding-top: 52px;
  }

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

  .preview-body aside {
    display: none;
  }

  .metric-row {
    flex-direction: column;
  }

  .node,
  .node.info,
  .node.done {
    margin-left: 0;
    width: 100%;
  }

  .line,
  .line.short {
    margin-left: 24px;
  }
}
