:root {
  color-scheme: light;
  --ink: #0a1728;
  --ink-2: #102235;
  --muted: #667489;
  --paper: #f5f8fb;
  --panel: #ffffff;
  --line: rgba(10, 23, 40, 0.12);
  --teal: #28d0c4;
  --amber: #f4b24f;
  --blue: #1e66f5;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(5, 13, 25, 0.82), rgba(5, 13, 25, 0));
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: var(--teal);
}

nav a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.84);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 13, 25, 0.92), rgba(5, 13, 25, 0.58) 44%, rgba(5, 13, 25, 0.08)),
    linear-gradient(0deg, rgba(5, 13, 25, 0.68), rgba(5, 13, 25, 0.06) 58%);
}

.hero-content {
  position: relative;
  max-width: 790px;
  padding: 140px clamp(20px, 6vw, 76px) 78px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 6.9rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  line-height: 1.72;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid currentColor;
  font-weight: 800;
}

.button.primary {
  color: var(--ink);
  border-color: var(--teal);
  background: var(--teal);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.intro,
.solutions,
.systems,
.process,
.metrics,
.contact {
  padding: 88px clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 44px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.intro h2,
.section-heading h2,
.systems h2,
.process h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.3rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: 0;
}

.intro p:last-child,
.systems p,
.contact p {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.section-kicker {
  color: var(--blue);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.solution {
  min-height: 310px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.solution span {
  color: var(--teal);
  font-weight: 900;
}

.solution h3 {
  margin: 72px 0 14px;
  font-size: 1.28rem;
  line-height: 1.22;
}

.solution p,
.system-list p,
.steps p,
.metrics span {
  color: var(--muted);
  line-height: 1.68;
}

.systems {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 52px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(40, 208, 196, 0.12), transparent 40%),
    var(--ink);
}

.systems .section-kicker {
  color: var(--teal);
}

.systems p {
  color: rgba(255, 255, 255, 0.72);
}

.system-list {
  display: grid;
  gap: 14px;
}

.system-list article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.system-list h3,
.system-list p {
  margin: 0;
}

.system-list h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.process {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 40px;
  background: var(--white);
}

.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.steps span {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--ink-2);
}

.steps p {
  margin: 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.metrics div {
  display: grid;
  gap: 10px;
  min-height: 170px;
  align-content: center;
  padding: 28px;
  background: var(--paper);
}

.metrics strong {
  font-size: 1.25rem;
}

.contact {
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
}

.contact .section-kicker {
  color: var(--teal);
}

.contact p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.72);
}

.contact .button {
  margin-top: 28px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.82);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 980px) {
  .solution-grid,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  nav {
    display: none;
  }

  .hero {
    min-height: 740px;
  }

  .hero-content {
    padding-top: 120px;
    padding-bottom: 54px;
  }

  .intro,
  .systems,
  .process,
  .solution-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .solution {
    min-height: auto;
  }

  .solution h3 {
    margin-top: 42px;
  }

  .steps li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 2.85rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .intro,
  .solutions,
  .systems,
  .process,
  .contact {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .metrics div {
    min-height: 150px;
  }
}
