:root {
  color-scheme: dark;
  --bg: #060e1a;
  --panel: #0a1628;
  --panel-2: #0d1f3c;
  --text: #f3f7ff;
  --muted: #94a3b8;
  --quiet: #4a6080;
  --cyan: #00b4d8;
  --cyan-dark: #0077b6;
  --danger: #ef4444;
  --line: rgba(255, 255, 255, 0.1);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", Arial, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(6, 14, 26, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.brand img {
  width: 126px;
  height: auto;
}

.brand span,
.eyebrow,
.signal-row,
.metric-grid p,
.footer p {
  font-family: "JetBrains Mono", monospace;
}

.brand span {
  color: var(--cyan);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-left: 14px;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

nav a:hover,
.footer a:hover {
  color: var(--cyan);
}

.nav-cta,
.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 2px;
  font-weight: 800;
}

.nav-cta,
.button.secondary {
  border: 1px solid rgba(0, 180, 216, 0.55);
  color: var(--cyan);
}

.button.primary,
.contact-form button {
  border: 0;
  background: var(--cyan);
  color: var(--bg);
  box-shadow: 0 18px 45px rgba(0, 180, 216, 0.18);
}

.section,
.hero,
.metrics,
.proof-strip,
.pricing-note,
.ai-band,
.ops-band {
  padding: 96px max(24px, calc((100vw - var(--max)) / 2));
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 58px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 32%, rgba(0, 180, 216, 0.2), transparent 30%),
    linear-gradient(120deg, #060e1a 0%, #0a1628 55%, #0d1f3c 100%);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.danger {
  color: var(--danger);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  font-size: clamp(48px, 7.4vw, 92px);
  line-height: 0.98;
}

h2 {
  max-width: 850px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
}

h3 {
  font-size: 20px;
  line-height: 1.18;
}

.lead,
.section-lead,
.section-heading p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.lead {
  max-width: 760px;
  margin: 28px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  color: var(--quiet);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-row span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 180, 216, 0.75);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip article {
  min-height: 170px;
  padding: 30px;
  background: var(--panel);
}

.proof-strip strong {
  display: block;
  margin-bottom: 14px;
  color: var(--cyan);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
}

.proof-strip span {
  color: var(--muted);
  line-height: 1.55;
}

.pricing-note {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(0, 180, 216, 0.12), transparent 58%),
    #071221;
}

.pricing-note h2 {
  max-width: 560px;
  font-size: clamp(30px, 4vw, 52px);
}

.pricing-note p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.flow-panel {
  position: relative;
  min-height: 520px;
}

.flow-card {
  position: absolute;
  width: min(330px, 90%);
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(13, 31, 60, 0.78);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
}

.flow-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--quiet);
  font-size: 12px;
  text-transform: uppercase;
}

.flow-card strong {
  display: block;
  color: var(--text);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.1;
}

.flow-card.top {
  top: 20px;
  right: 40px;
}

.flow-card.middle {
  top: 190px;
  left: 0;
  border-color: rgba(0, 180, 216, 0.5);
}

.flow-card.bottom {
  right: 0;
  bottom: 28px;
}

.flow-line {
  position: absolute;
  height: 1px;
  width: 260px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.55;
}

.flow-line.one {
  top: 160px;
  right: 104px;
  transform: rotate(28deg);
}

.flow-line.two {
  top: 310px;
  left: 105px;
  transform: rotate(-18deg);
}

.flow-line.three {
  right: 65px;
  bottom: 190px;
  transform: rotate(18deg);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.section {
  border-bottom: 1px solid var(--line);
}

.dark-band {
  background:
    radial-gradient(circle at 80% 30%, rgba(0, 180, 216, 0.11), transparent 30%),
    var(--panel);
}

.callout {
  margin-top: 34px;
  padding: 22px;
  border-left: 2px solid var(--danger);
  background: rgba(239, 68, 68, 0.08);
}

.callout strong {
  display: block;
  color: var(--danger);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 50px;
}

.callout span,
.list-stack p,
.card-grid p,
.pillars p,
.check-list {
  color: var(--muted);
  line-height: 1.65;
}

.list-stack {
  display: grid;
  gap: 16px;
}

.list-stack article,
.card-grid article,
.pillars article,
.metric-grid article,
.contact-form {
  border: 1px solid var(--line);
  background: rgba(13, 31, 60, 0.68);
}

.list-stack article {
  padding: 24px;
}

.quote {
  max-width: 980px;
  margin: 32px 0 44px;
  padding-left: 24px;
  border-left: 2px solid var(--cyan);
  color: var(--text);
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.45;
}

.quote strong {
  color: var(--cyan);
}

.pillars,
.card-grid,
.metric-grid,
.work-grid,
.ops-grid {
  display: grid;
  gap: 18px;
}

.pillars,
.card-grid.four,
.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.three,
.work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillars article,
.card-grid article,
.metric-grid article,
.work-grid article,
.ops-grid article {
  padding: 26px;
}

.work-grid article,
.ops-grid article {
  border: 1px solid var(--line);
  background: rgba(13, 31, 60, 0.58);
}

.work-grid h3,
.ops-grid h3 {
  color: var(--text);
}

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

.pillars span {
  display: block;
  margin-bottom: 28px;
  color: rgba(0, 180, 216, 0.45);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 48px;
  font-weight: 800;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading p {
  margin: 0;
}

.metrics {
  text-align: center;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.metric-grid {
  margin-top: 40px;
  text-align: left;
}

.metric-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 0.95;
}

.metrics-line {
  max-width: 850px;
  margin: 46px auto 0;
  color: var(--text);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
}

.ai-band,
.ops-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 76% 42%, rgba(0, 180, 216, 0.14), transparent 32%),
    var(--bg);
}

.ai-band p:last-child,
.ops-band p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.ops-band {
  align-items: start;
  background: var(--panel);
}

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

.process {
  display: grid;
  grid-template-columns: repeat(7, minmax(160px, 1fr));
  gap: 12px;
  padding: 0;
  margin: 44px 0 0;
  list-style: none;
  overflow-x: auto;
}

.process li {
  position: relative;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(13, 31, 60, 0.7);
}

.process li::before {
  content: counter(list-item, decimal-leading-zero);
  display: block;
  margin-bottom: 28px;
  color: rgba(0, 180, 216, 0.45);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.process strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.15;
}

.process span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(13, 31, 60, 0.45);
}

.comparison {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  text-align: left;
}

.comparison th,
.comparison td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--muted);
  vertical-align: top;
}

.comparison thead th {
  color: var(--text);
  background: rgba(0, 180, 216, 0.08);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 18px;
}

.comparison tbody th {
  color: var(--text);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 700;
}

.comparison td:last-child,
.comparison th:last-child {
  color: #cfefff;
  background: rgba(0, 180, 216, 0.06);
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 54px;
  background: var(--panel);
}

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

.check-list li::before {
  content: "✓";
  margin-right: 12px;
  color: var(--cyan);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
  outline: none;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding: 42px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--muted);
}

.footer img {
  width: 130px;
}

.footer strong {
  color: var(--cyan);
}

.footer div:last-of-type {
  display: flex;
  gap: 20px;
}

.footer > p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--quiet);
  font-size: 12px;
}

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

  nav {
    display: none;
  }

  .hero,
  .split,
  .contact,
  .section-heading,
  .pricing-note,
  .ai-band,
  .ops-band {
    grid-template-columns: 1fr;
  }

  .flow-panel {
    min-height: 420px;
  }

  .proof-strip,
  .card-grid.three,
  .card-grid.four,
  .pillars,
  .metric-grid,
  .work-grid,
  .ops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .brand img {
    width: 108px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .section,
  .hero,
  .metrics,
  .proof-strip,
  .pricing-note,
  .ai-band,
  .ops-band {
    padding: 72px 18px;
  }

  .hero {
    min-height: auto;
  }

  .lead,
  .section-lead,
  .section-heading p {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .flow-panel {
    display: none;
  }

  .proof-strip,
  .card-grid.three,
  .card-grid.four,
  .pillars,
  .metric-grid,
  .work-grid,
  .ops-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    gap: 1px;
  }

  .proof-strip article {
    min-height: auto;
  }

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

  .footer div:last-of-type {
    flex-direction: column;
    gap: 10px;
  }
}
