:root {
  color-scheme: light;
  --brand-ink: #10161a;
  --brand-ink-2: #18222a;
  --brand-blue: #22a8ff;
  --brand-blue-2: #0f8fe4;
  --brand-cyan: #7dd8ff;
  --brand-mint: #20d6a3;
  --brand-violet: #6d7cff;
  --brand-white: #ffffff;
  --bg: #f4f7fa;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-raised: #ffffff;
  --line: #dce5ec;
  --line-strong: #bfd0dd;
  --text: #10161a;
  --text-muted: #607180;
  --text-soft: #8a9aa7;
  --success: #13a06f;
  --success-bg: #e5f8f1;
  --warning: #d89000;
  --warning-bg: #fff6dd;
  --danger: #d94747;
  --danger-bg: #fff0f0;
  --shadow: 0 18px 54px rgba(16, 22, 26, 0.1);
  --shadow-strong: 0 26px 80px rgba(16, 22, 26, 0.18);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;
  --font-ui: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 8%, rgba(34, 168, 255, 0.16), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(244, 247, 250, 0));
  content: "";
}

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: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 22, 26, 0.94);
  color: var(--brand-white);
  backdrop-filter: blur(16px);
}

.brand,
.top-nav,
.hero-actions,
.panel-topline,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  background: var(--brand-ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.brand-mark img {
  display: block;
  width: 28px;
  height: 28px;
}

.top-nav {
  gap: 6px;
}

.top-nav a,
.header-action {
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 620;
  padding: 8px 11px;
}

.top-nav a:hover,
.header-action:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.header-action {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(28px, 5vw, 70px);
  min-height: calc(100vh - 71px);
  padding: clamp(48px, 8vw, 106px) clamp(18px, 4vw, 56px) 70px;
  background:
    linear-gradient(130deg, rgba(16, 22, 26, 0.98), rgba(16, 22, 26, 0.86)),
    radial-gradient(circle at 72% 22%, rgba(34, 168, 255, 0.46), transparent 35%),
    var(--brand-ink);
  color: var(--brand-white);
}

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

.eyebrow,
.product-kicker,
.readout-label {
  margin: 0 0 12px;
  color: var(--brand-cyan);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 830px;
  margin-bottom: 22px;
  font-size: clamp(40px, 6.7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 14px;
  font-size: clamp(23px, 2.8vw, 34px);
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.8vw, 19px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 17px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.button:hover {
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-1px);
}

.button.primary {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  box-shadow: 0 10px 26px rgba(34, 168, 255, 0.28);
  color: #fff;
}

.button.primary:hover {
  background: var(--brand-blue-2);
}

.system-panel {
  align-self: center;
  min-height: 552px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-lg);
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    rgba(16, 22, 26, 0.46);
  background-size: 34px 34px;
  box-shadow: var(--shadow-strong);
  padding: 18px;
  backdrop-filter: blur(12px);
}

.panel-topline {
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-mono);
  font-size: 12px;
}

.status-dot {
  color: var(--brand-mint);
}

.orbit-map {
  position: relative;
  min-height: 350px;
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--r-lg);
  background: rgba(16, 22, 26, 0.52);
}

.orbit-map::before,
.orbit-map::after {
  position: absolute;
  inset: 52px;
  border: 1px solid rgba(125, 216, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.orbit-map::after {
  inset: 94px;
  border-color: rgba(255, 255, 255, 0.16);
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 138px;
  height: 138px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: #10161a;
  box-shadow: 0 0 70px rgba(34, 168, 255, 0.2);
  text-align: center;
}

.core-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  align-self: end;
  height: 54px;
}

.core-wave span {
  width: 8px;
  border-radius: var(--r-pill);
  background: #fff;
}

.core-wave span:nth-child(1) {
  height: 18px;
}

.core-wave span:nth-child(2) {
  height: 34px;
}

.core-wave span:nth-child(3) {
  height: 46px;
}

.core-wave span:nth-child(4) {
  height: 28px;
  background: var(--brand-blue);
}

.orbit-core strong {
  align-self: start;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
}

.orbit-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 760;
  padding: 10px 12px;
}

.orbit-node:nth-child(1) {
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-node:nth-child(2) {
  right: 30px;
  bottom: 76px;
}

.orbit-node:nth-child(3) {
  left: 30px;
  bottom: 76px;
}

.orbit-node.active {
  border-color: rgba(34, 168, 255, 0.82);
  background: rgba(34, 168, 255, 0.18);
  box-shadow: 0 0 0 4px rgba(34, 168, 255, 0.12);
}

.node-icon {
  display: grid;
  min-width: 34px;
  height: 28px;
  place-items: center;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.1);
  color: var(--brand-cyan);
  font-family: var(--font-mono);
  font-size: 10px;
}

.panel-readout {
  min-height: 116px;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.panel-readout strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 22px;
}

.panel-readout p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.products,
.workflow-band,
.final-cta {
  padding: 82px clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.products .eyebrow,
.workflow-band .eyebrow,
.final-cta .eyebrow,
.product-kicker {
  color: var(--brand-blue);
}

.product-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(18px, 4vw, 42px);
}

.product-card.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
}

.product-card.reverse .product-visual {
  order: 2;
}

.product-content p:not(.product-kicker) {
  max-width: 760px;
  color: var(--text-muted);
  font-size: 16px;
}

.product-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-soft);
}

.call-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 16px;
}

.call-visual span {
  border: 1px solid rgba(34, 168, 255, 0.15);
  border-radius: var(--r-md);
  background:
    linear-gradient(135deg, rgba(34, 168, 255, 0.12), rgba(255, 255, 255, 0.72)),
    #fff;
}

.call-visual span::after {
  display: block;
  width: 44px;
  height: 44px;
  margin: 28px auto 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-ink), var(--brand-blue));
  content: "";
}

.crm-visual {
  padding: 20px;
}

.crm-row {
  height: 42px;
  margin-bottom: 14px;
  border: 1px solid rgba(34, 168, 255, 0.12);
  border-radius: var(--r-md);
  background: linear-gradient(90deg, rgba(34, 168, 255, 0.18), rgba(125, 216, 255, 0.06)), #fff;
}

.crm-row:nth-child(2) {
  width: 82%;
}

.crm-row:nth-child(3) {
  width: 92%;
}

.crm-row:nth-child(4) {
  width: 68%;
}

.nocode-visual {
  min-height: 280px;
}

.flow-block,
.flow-line {
  position: absolute;
  display: block;
}

.flow-block {
  width: 112px;
  height: 58px;
  border: 1px solid rgba(34, 168, 255, 0.35);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 22, 26, 0.08);
}

.flow-block::after {
  position: absolute;
  inset: 18px 18px auto;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--brand-blue);
  content: "";
}

.flow-block.start {
  top: 48px;
  left: 32px;
}

.flow-block.logic {
  top: 112px;
  left: 50%;
  transform: translateX(-50%);
  border-color: rgba(216, 144, 0, 0.34);
}

.flow-block.logic::after {
  background: var(--warning);
}

.flow-block.api {
  right: 32px;
  bottom: 48px;
  border-color: rgba(19, 160, 111, 0.34);
}

.flow-block.api::after {
  background: var(--success);
}

.flow-line {
  height: 2px;
  background: rgba(96, 113, 128, 0.24);
  transform-origin: left center;
}

.flow-line.one {
  top: 102px;
  left: 140px;
  width: 140px;
  transform: rotate(18deg);
}

.flow-line.two {
  right: 128px;
  bottom: 116px;
  width: 140px;
  transform: rotate(23deg);
}

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

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--brand-ink-2);
}

.feature-list li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(34, 168, 255, 0.14);
  content: "";
}

.text-link {
  color: var(--brand-blue-2);
  font-weight: 760;
}

.text-link:hover {
  color: var(--brand-blue);
}

.workflow-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-band > div:first-child {
  max-width: 900px;
  margin-bottom: 34px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.workflow-grid > div {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-soft);
  padding: 22px;
}

.step-number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--brand-blue);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 760;
}

.workflow-grid h3 {
  font-size: 23px;
}

.workflow-grid p {
  color: var(--text-muted);
}

.final-cta {
  text-align: center;
}

.final-cta h2 {
  margin: 0 auto 24px;
  max-width: 760px;
}

.final-cta .button {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 8px 22px rgba(16, 22, 26, 0.06);
}

.final-cta .button.primary {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  color: #fff;
}

.centered {
  justify-content: center;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--brand-ink);
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero,
  .product-card,
  .product-card.reverse {
    grid-template-columns: 1fr;
  }

  .product-card.reverse .product-visual {
    order: 0;
  }

  .system-panel {
    min-height: 500px;
  }

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

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 54px);
  }

  .system-panel {
    min-height: 460px;
    padding: 12px;
  }

  .orbit-map {
    min-height: 300px;
  }

  .orbit-map::before {
    inset: 36px;
  }

  .orbit-map::after {
    inset: 72px;
  }

  .orbit-node {
    padding: 10px;
    font-size: 12px;
  }

  .orbit-node:nth-child(2) {
    right: 12px;
    bottom: 52px;
  }

  .orbit-node:nth-child(3) {
    left: 12px;
    bottom: 52px;
  }

  .orbit-core {
    width: 112px;
    height: 112px;
  }

  .core-wave {
    height: 45px;
  }

  .product-visual {
    min-height: 230px;
  }

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