:root {
  color-scheme: dark;
  --page: #080a0d;
  --surface: #101419;
  --surface-soft: #171d24;
  --surface-raised: #202731;
  --ink: #edf2f7;
  --ink-soft: #b7c1ce;
  --muted: #7d8795;
  --line: rgba(189, 204, 224, 0.18);
  --line-strong: rgba(189, 204, 224, 0.32);
  --blue: #5b9cf5;
  --blue-deep: #2f6fc5;
  --teal: #34d399;
  --amber: #e8a838;
  --rose: #ef6b6b;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  --content-max: 1240px;
  --page-gutter: clamp(24px, 5vw, 96px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--page);
  color: var(--ink);
  margin: 0;
  min-height: 100vh;
}

body,
button,
input,
select {
  font: inherit;
}

section[id] {
  scroll-margin-top: 92px;
}

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

svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 18px;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background:
    linear-gradient(180deg, rgba(8, 10, 13, 0.9), rgba(8, 10, 13, 0.72)),
    rgba(8, 10, 13, 0.76);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  left: 0;
  min-height: 72px;
  padding: 0 max(var(--page-gutter), calc((100vw - var(--content-max)) / 2));
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand-link {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  justify-self: start;
  min-width: 0;
}

.brand-logo {
  display: block;
  height: auto;
  max-height: 44px;
  object-fit: contain;
  width: clamp(150px, 13vw, 188px);
}

.brand-mark {
  align-items: center;
  background: linear-gradient(145deg, var(--blue-deep), var(--blue));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(47, 111, 197, 0.28);
  color: #f8fbff;
  display: inline-flex;
  flex: 0 0 auto;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.brand-icon {
  fill: currentColor;
  height: 22px;
  stroke: none;
  width: 22px;
}

.brand-link strong,
.brand-link small {
  display: block;
  line-height: 1.2;
}

.brand-link strong {
  font-size: 15px;
}

.brand-link small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(189, 204, 224, 0.12);
  border-radius: 999px;
  display: inline-flex;
  gap: 4px;
  justify-content: center;
  padding: 4px;
}

.site-nav a,
.header-action {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink-soft);
  display: inline-flex;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
}

.header-action {
  justify-self: end;
}

.site-nav a:hover,
.header-action:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: var(--ink);
}

.site-nav a.demo-nav-action {
  background: rgba(232, 168, 56, 0.18);
  border-color: rgba(232, 168, 56, 0.42);
  color: #ffd98a;
  font-weight: 800;
}

.site-nav a.demo-nav-action:hover {
  background: rgba(232, 168, 56, 0.26);
  border-color: rgba(232, 168, 56, 0.58);
  color: #ffe6ae;
}

.header-action {
  background: rgba(91, 156, 245, 0.12);
  border-color: rgba(91, 156, 245, 0.36);
  color: var(--ink);
}

.hero-section {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, var(--content-max));
  justify-content: center;
  min-height: min(82svh, 840px);
  overflow: hidden;
  padding: 120px var(--page-gutter) 72px;
  position: relative;
}

.hero-image,
.hero-scrim {
  inset: 0;
  position: absolute;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  width: 100%;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(8, 10, 13, 0.98) 0%, rgba(8, 10, 13, 0.9) 27%, rgba(8, 10, 13, 0.48) 58%, rgba(8, 10, 13, 0.72) 100%),
    linear-gradient(180deg, rgba(8, 10, 13, 0.32) 0%, rgba(8, 10, 13, 0.12) 52%, var(--page) 100%);
}

.hero-content {
  max-width: 680px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.eyebrow {
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 12px;
}

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

h1 {
  font-size: 68px;
  letter-spacing: 0;
  line-height: 1;
  text-wrap: balance;
}

h2 {
  font-size: 34px;
  letter-spacing: 0;
  line-height: 1.15;
}

h3 {
  font-size: 17px;
  letter-spacing: 0;
  line-height: 1.2;
}

.hero-copy {
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.55;
  margin-top: 20px;
  max-width: 610px;
}

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

.button {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  white-space: nowrap;
}

.button.primary {
  background: var(--blue);
  border-color: var(--blue-deep);
  color: #f8fbff;
}

.button.demo-button {
  background: var(--amber);
  border-color: rgba(232, 168, 56, 0.9);
  color: #17130a;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.button:hover {
  filter: brightness(1.08);
}

.hero-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 40px 0 0;
  max-width: 660px;
}

.hero-metrics div {
  backdrop-filter: blur(10px);
  background: rgba(16, 20, 25, 0.66);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 88px;
  padding: 16px;
}

.hero-metrics dt {
  color: var(--amber);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.hero-metrics dd {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.35;
  margin: 8px 0 0;
}

.signal-band,
.workflow-section,
.services-section,
.closing-section {
  border-top: 1px solid var(--line);
  padding-inline: var(--page-gutter);
  position: relative;
}

.signal-band {
  background: #0c1116;
}

.workflow-section {
  background: var(--page);
}

.services-section {
  background: #0f141a;
}

.closing-section {
  background: #0a0d11;
}

.section-inner {
  margin: 0 auto;
  max-width: var(--content-max);
  padding: 74px 0;
}

.split-layout {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
}

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

.signal-item,
.workflow-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-width: 0;
  padding: 18px;
}

.signal-item strong {
  color: var(--ink);
  display: block;
  font-size: 16px;
  margin-bottom: 10px;
}

.signal-item p,
.workflow-step p,
.section-heading p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.section-heading {
  max-width: 680px;
}

.section-heading.compact {
  max-width: 460px;
}

.section-heading p:not(.eyebrow) {
  margin-top: 14px;
}

.workflow {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.workflow-step {
  min-height: 220px;
}

.workflow-step span {
  align-items: center;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.34);
  border-radius: 50%;
  color: var(--teal);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  margin-bottom: 28px;
  width: 38px;
}

.workflow-step h3 {
  margin-bottom: 10px;
}

.service-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list li {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: flex;
  font-size: 14px;
  font-weight: 800;
  min-height: 58px;
  padding: 0 14px;
  position: relative;
}

.service-list li::before {
  background: var(--rose);
  border-radius: 50%;
  content: "";
  height: 8px;
  margin-right: 10px;
  width: 8px;
}

.service-list li:nth-child(2n)::before {
  background: var(--blue);
}

.service-list li:nth-child(3n)::before {
  background: var(--teal);
}

.service-list li:nth-child(5n)::before {
  background: var(--amber);
}

.closing-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.closing-inner h2 {
  max-width: 720px;
}

@media (max-width: 920px) {
  :root {
    --page-gutter: clamp(18px, 5vw, 42px);
  }

  section[id] {
    scroll-margin-top: 78px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    padding: 0 var(--page-gutter);
  }

  .brand-logo {
    width: clamp(132px, 38vw, 168px);
  }

  .site-nav {
    display: none;
  }

  .hero-section {
    min-height: min(88svh, 860px);
    padding: 108px var(--page-gutter) 52px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(8, 10, 13, 0.98) 0%, rgba(8, 10, 13, 0.82) 58%, rgba(8, 10, 13, 0.48) 100%),
      linear-gradient(180deg, rgba(8, 10, 13, 0.2) 0%, rgba(8, 10, 13, 0.22) 56%, var(--page) 100%);
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .split-layout,
  .signal-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

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

  .section-inner {
    padding: 56px 0;
  }
}

@media (max-width: 560px) {
  :root {
    --page-gutter: 18px;
  }

  .site-header {
    gap: 10px;
  }

  .brand-link small {
    display: none;
  }

  .header-action {
    min-height: 36px;
    padding: 0 10px;
  }

  .hero-section {
    min-height: min(92svh, 840px);
    padding-top: 92px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 24px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-metrics,
  .service-list {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    margin-top: 24px;
  }

  .hero-metrics div {
    min-height: 76px;
  }

  .workflow-step {
    min-height: 0;
  }

  .closing-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
