:root {
  --ink: #141a20;
  --muted: #5c6974;
  --paper: #f5f7f8;
  --surface: #ffffff;
  --line: #cdd6dd;
  --line-dark: rgba(255, 255, 255, 0.2);
  --teal: #0f766e;
  --teal-dark: #115e59;
  --teal-soft: #d9f2ed;
  --amber: #9a5b00;
  --amber-soft: #fff1cf;
  --blue: #315999;
  --green: #216e39;
  --purple: #6246a3;
  --charcoal: #111820;
  --shadow: 0 18px 50px rgba(20, 26, 32, 0.14);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 14px 34px;
  color: #f6fbfb;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-solid {
  border-bottom: 1px solid rgba(17, 24, 32, 0.12);
  background: rgba(17, 24, 32, 0.94);
  box-shadow: 0 12px 32px rgba(17, 24, 32, 0.22);
}

.brand,
.nav,
.hero-actions,
.site-footer,
.metrics-strip,
.audience-grid {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #8fe7d7;
  font-size: 13px;
}

.nav {
  justify-content: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(17, 24, 32, 0.34);
}

.nav a,
.header-cta {
  min-height: 34px;
  border-radius: 999px;
  padding: 8px 13px;
  color: #e9f3f5;
  font-size: 13px;
  font-weight: 750;
}

.nav a:hover,
.header-cta:hover {
  background: rgba(255, 255, 255, 0.12);
}

.header-cta {
  justify-self: end;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  filter: saturate(0.86) contrast(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.94), rgba(17, 24, 32, 0.76) 42%, rgba(17, 24, 32, 0.18)),
    linear-gradient(0deg, rgba(17, 24, 32, 0.82), rgba(17, 24, 32, 0) 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(760px, calc(100% - 48px));
  min-height: 92vh;
  padding: 120px 0 72px;
  margin-left: max(24px, calc((100vw - 1180px) / 2));
  color: #f4fbfb;
}

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

.hero .eyebrow {
  color: #8fe7d7;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(56px, 8vw, 108px);
  line-height: 0.94;
}

h2 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 650px;
  color: #d7e4e8;
  font-size: clamp(19px, 2.4vw, 27px);
  line-height: 1.35;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 800;
}

.primary-action {
  background: var(--teal);
  color: #ffffff;
}

.primary-action:hover {
  background: var(--teal-dark);
}

.secondary-action {
  border: 1px solid var(--line-dark);
  color: #f4fbfb;
}

.secondary-action:hover {
  background: rgba(255, 255, 255, 0.1);
}

.metrics-strip {
  position: relative;
  z-index: 2;
  justify-content: center;
  gap: 0;
  width: min(1180px, calc(100% - 48px));
  margin: -46px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.metrics-strip div {
  flex: 1 1 0;
  min-height: 92px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.metrics-strip div:last-child {
  border-right: 0;
}

.metrics-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.metrics-strip strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

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

.section-heading.compact {
  max-width: 560px;
  margin-bottom: 0;
}

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

.product-grid,
.audience-grid {
  display: grid;
  gap: 16px;
}

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

.feature-card {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(20, 26, 32, 0.06);
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  margin-bottom: 44px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
}

.feature-card p,
.optimization-preview p,
.question-list p {
  color: var(--muted);
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.question-list {
  display: grid;
  gap: 10px;
}

.question-list div {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px 16px;
}

.question-list span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 12px;
  font-weight: 850;
}

.question-list p {
  margin: 0;
  font-size: 18px;
  font-weight: 760;
}

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

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.pipeline div {
  min-height: 78px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
  color: var(--ink);
  font-weight: 800;
}

.pipeline div:nth-child(2n) {
  border-left-color: var(--blue);
}

.pipeline div:nth-child(3n) {
  border-left-color: var(--amber);
}

.optimization-preview {
  display: grid;
  gap: 22px;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--shadow);
}

.optimization-copy {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: end;
}

.optimization-copy p {
  margin: 0;
}

.optimization-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.optimization-points span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: 8px 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.optimization-preview img {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--charcoal);
}

.audience-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.audience-grid {
  flex-wrap: wrap;
  gap: 10px;
}

.audience-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 760;
}

.site-footer {
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
  background: var(--surface);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span,
.site-footer a {
  color: var(--muted);
}

.not-found {
  display: grid;
  align-content: center;
  width: min(760px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
}

.not-found h1 {
  color: var(--ink);
}

.not-found p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.not-found .primary-action {
  width: fit-content;
  margin-top: 14px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .product-grid,
  .pipeline,
  .split-section,
  .optimization-copy,
  .audience-section {
    grid-template-columns: 1fr;
  }

  .section-heading.compact {
    margin-bottom: 22px;
  }

  .optimization-points {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding: 12px 18px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    min-height: 32px;
    padding: 7px 10px;
  }

  .hero-content {
    width: min(100% - 36px, 760px);
    margin-left: 18px;
  }

  h1 {
    font-size: 54px;
  }

  .metrics-strip {
    display: grid;
    width: calc(100% - 32px);
  }

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

  .metrics-strip div:last-child {
    border-bottom: 0;
  }

  .section {
    width: calc(100% - 32px);
    padding: 64px 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 18px;
  }
}
