:root {
  --ecs-navy: #0f172a;
  --ecs-blue: #1d4ed8;
  --ecs-teal: #0f766e;
  --ecs-yellow: #facc15;
  --ecs-white: #ffffff;
  --ecs-light: #f8fafc;
  --ecs-line: #e2e8f0;
  --ecs-text: #334155;
}

.ecs-hero {
  position: relative;
  display: flex;
  min-height: min(720px, 78svh);
  align-items: center;
  overflow: hidden;
  background: var(--ecs-navy);
  color: var(--ecs-white);
}

.ecs-hero-media,
.ecs-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ecs-hero-media {
  object-fit: cover;
  object-position: center;
}

.ecs-hero-shade {
  background: rgba(15, 23, 42, .72);
}

.ecs-hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.ecs-eyebrow,
.ecs-kicker {
  margin-bottom: .65rem;
  color: var(--ecs-yellow);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ecs-hero h1 {
  max-width: 900px;
  margin-bottom: 1.25rem;
  color: var(--ecs-white);
  font-size: 4.4rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.ecs-hero-lead {
  max-width: 760px;
  margin-bottom: 1.8rem;
  color: rgba(255, 255, 255, .9);
  font-size: 1.18rem;
  line-height: 1.75;
}

.ecs-hero-actions,
.ecs-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

.ecs-section-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--ecs-line);
  background: var(--ecs-white);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
}

.ecs-section-nav-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem 1.25rem;
  padding: .85rem 0;
}

.ecs-section-nav a {
  color: var(--ecs-navy);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}

.ecs-section-nav a:hover,
.ecs-section-nav a:focus {
  color: var(--ecs-blue);
}

.ecs-supply-band {
  border-bottom: 1px solid var(--ecs-line);
  background: var(--ecs-navy);
  color: var(--ecs-white);
}

.ecs-supply-layout {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(320px, 1.25fr);
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0;
}

.ecs-supply-layout h2 {
  margin: 0;
  color: var(--ecs-white);
  font-size: 1.65rem;
  font-weight: 800;
}

.ecs-supply-layout p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  line-height: 1.75;
}

.ecs-solution-section,
.ecs-integration-section,
.ecs-process-section,
.ecs-faq-section {
  scroll-margin-top: 90px;
  padding: 5.25rem 0;
}

.ecs-section-muted,
.ecs-process-section {
  border-top: 1px solid var(--ecs-line);
  border-bottom: 1px solid var(--ecs-line);
  background: var(--ecs-light);
}

.ecs-solution-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ecs-line);
  border-radius: 8px;
  background: var(--ecs-light);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .14);
}

.ecs-solution-section h2,
.ecs-heading h2,
.ecs-cta-layout h2 {
  margin-bottom: 1rem;
  color: var(--ecs-navy);
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.ecs-solution-section p,
.ecs-heading > p:last-child,
.ecs-cta-layout p {
  color: var(--ecs-text);
  line-height: 1.75;
}

.ecs-feature-list {
  display: grid;
  gap: .9rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.ecs-feature-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: .7rem;
  align-items: start;
  color: var(--ecs-text);
  line-height: 1.55;
}

.ecs-feature-list i {
  margin-top: .15rem;
  color: var(--ecs-teal);
}

.ecs-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.ecs-option-grid article {
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid var(--ecs-line);
  border-left: 4px solid var(--ecs-blue);
  border-radius: 8px;
  background: var(--ecs-white);
}

.ecs-option-grid h3 {
  margin-bottom: .45rem;
  color: var(--ecs-navy);
  font-size: 1rem;
  font-weight: 800;
}

.ecs-option-grid p {
  margin: 0;
  font-size: .93rem;
}

.ecs-note {
  margin: 1.5rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--ecs-yellow);
  background: var(--ecs-light);
  font-size: .93rem;
}

.ecs-integration-section {
  background: var(--ecs-navy);
}

.ecs-integration-section .ecs-heading h2,
.ecs-integration-section .ecs-heading > p:last-child {
  color: var(--ecs-white);
}

.ecs-integration-section .ecs-heading > p:last-child {
  color: rgba(255, 255, 255, .78);
}

.ecs-heading {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.ecs-link-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: var(--ecs-white);
  color: var(--ecs-text);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.ecs-link-card:hover,
.ecs-link-card:focus {
  transform: translateY(-3px);
  color: var(--ecs-text);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .22);
}

.ecs-link-card > i {
  margin-bottom: 1rem;
  color: var(--ecs-blue);
  font-size: 1.75rem;
}

.ecs-link-card h3 {
  color: var(--ecs-navy);
  font-size: 1.1rem;
  font-weight: 800;
}

.ecs-link-card p {
  flex: 1;
  font-size: .94rem;
  line-height: 1.6;
}

.ecs-link-card span {
  color: var(--ecs-blue);
  font-size: .92rem;
  font-weight: 800;
}

.ecs-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ecs-process-grid li {
  display: grid;
  min-width: 0;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: .85rem;
  padding: 1.25rem;
  border: 1px solid var(--ecs-line);
  border-radius: 8px;
  background: var(--ecs-white);
}

.ecs-process-grid > li > span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ecs-blue);
  color: var(--ecs-white);
  font-weight: 800;
}

.ecs-process-grid h3 {
  margin: 0 0 .4rem;
  color: var(--ecs-navy);
  font-size: 1.05rem;
  font-weight: 800;
}

.ecs-process-grid p {
  margin: 0;
  color: var(--ecs-text);
  font-size: .92rem;
  line-height: 1.6;
}

.ecs-faq-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--ecs-line);
}

.ecs-faq-list details {
  border-bottom: 1px solid var(--ecs-line);
}

.ecs-faq-list summary {
  position: relative;
  padding: 1.25rem 3rem 1.25rem 0;
  color: var(--ecs-navy);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.ecs-faq-list summary::-webkit-details-marker {
  display: none;
}

.ecs-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 1rem;
  right: 0;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ecs-line);
  border-radius: 50%;
  color: var(--ecs-blue);
  font-size: 1.3rem;
}

.ecs-faq-list details[open] summary::after {
  content: "-";
}

.ecs-faq-list details p {
  max-width: 820px;
  padding: 0 2.5rem 1.25rem 0;
  color: var(--ecs-text);
  line-height: 1.7;
}

.ecs-cta-section {
  padding: 4rem 0;
  background: var(--ecs-navy);
  color: var(--ecs-white);
}

.ecs-cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.ecs-cta-layout h2 {
  color: var(--ecs-white);
}

.ecs-cta-layout p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .8);
}

@media (max-width: 991.98px) {
  .ecs-hero {
    min-height: 72svh;
  }

  .ecs-hero-content {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .ecs-supply-layout,
  .ecs-cta-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .ecs-solution-section,
  .ecs-integration-section,
  .ecs-process-section,
  .ecs-faq-section {
    padding: 4rem 0;
  }

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

@media (max-width: 767.98px) {
  .ecs-hero {
    min-height: 70svh;
  }

  .ecs-hero h1 {
    font-size: 2.25rem;
  }

  .ecs-hero-lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .ecs-hero-actions,
  .ecs-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .ecs-hero-actions .btn,
  .ecs-cta-actions .btn {
    width: 100%;
    white-space: normal;
  }

  .ecs-section-nav {
    position: static;
  }

  .ecs-section-nav-inner {
    justify-content: flex-start;
    gap: .5rem;
  }

  .ecs-section-nav a {
    padding: .45rem .65rem;
    border: 1px solid var(--ecs-line);
    border-radius: 8px;
  }

  .ecs-supply-layout {
    padding: 2rem 0;
  }

  .ecs-solution-section h2,
  .ecs-heading h2,
  .ecs-cta-layout h2 {
    font-size: 1.65rem;
  }

  .ecs-option-grid,
  .ecs-process-grid {
    grid-template-columns: 1fr;
  }

  .ecs-solution-image {
    margin-bottom: .5rem;
  }

  .ecs-faq-list summary {
    padding-right: 2.7rem;
  }
}

@media (max-width: 420px) {
  .ecs-hero h1 {
    font-size: 2rem;
  }

  .ecs-process-grid li {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 1rem;
  }

  .ecs-process-grid > li > span {
    width: 38px;
    height: 38px;
  }
}
