:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7f8;
  color: #172231;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #d9e0e8;
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 66px;
  padding: 12px clamp(18px, 4vw, 48px);
  position: relative;
  z-index: 5;
}

.brand {
  color: #143e62;
  font-size: 1.05rem;
  font-weight: 850;
  min-width: 0;
  text-decoration: none;
}

nav,
.header-controls,
.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

nav {
  justify-content: center;
}

nav a {
  color: #47586f;
  font-size: 0.92rem;
  font-weight: 820;
  text-decoration: none;
}

.header-controls {
  justify-content: end;
}

.header-login,
.primary-action {
  background: #2266cc;
  border: 0;
  color: #ffffff;
}

.language-toggle,
.secondary-action {
  background: #ffffff;
  border: 1px solid #b9c6d5;
  color: #223348;
}

.header-login,
.primary-action,
.secondary-action,
.language-toggle {
  border-radius: 6px;
  font-weight: 820;
  line-height: 1.15;
  padding: 10px 13px;
  text-decoration: none;
}

.language-toggle {
  cursor: pointer;
  font: inherit;
}

main {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(18px, 4.5vw, 46px);
}

.hero {
  color: #ffffff;
  display: grid;
  min-height: min(660px, calc(100vh - 98px));
  overflow: hidden;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(8, 23, 36, 0.92) 0%, rgba(8, 23, 36, 0.78) 45%, rgba(8, 23, 36, 0.25) 100%),
    linear-gradient(0deg, rgba(8, 23, 36, 0.34), rgba(8, 23, 36, 0));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

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

.hero-copy {
  align-self: end;
  max-width: 780px;
  padding: clamp(28px, 6vw, 68px);
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: #4d657b;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #cce5f0;
}

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

h1 {
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: 1.02;
  margin-bottom: 18px;
  max-width: 760px;
}

h2 {
  color: #162130;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
  margin-bottom: 12px;
}

.lede,
.section-heading p,
.promo-feature p {
  color: #d8e5ee;
  font-size: 1.05rem;
  line-height: 1.5;
}

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

.section-heading p {
  color: #53637a;
}

.overview-band,
.workflow-band {
  background: #ffffff;
  border: 1px solid #d9e0e8;
  display: grid;
  gap: 18px;
  margin: 28px 0;
  padding: clamp(22px, 4vw, 34px);
}

.proof-grid,
.workflow-grid {
  display: grid;
  gap: 14px;
}

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

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

.proof-grid article,
.workflow-grid article {
  background: #f8fafb;
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 16px;
}

.proof-grid strong,
.workflow-grid strong {
  color: #18253a;
  font-size: 1.04rem;
}

.proof-grid span,
.workflow-grid span {
  color: #596a7f;
  line-height: 1.45;
}

.contact-band {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(8, 32, 53, 0.96), rgba(18, 91, 101, 0.9)),
    linear-gradient(90deg, transparent 0 32%, rgba(255, 255, 255, 0.08) 32% 33%, transparent 33% 65%, rgba(255, 255, 255, 0.08) 65% 66%, transparent 66%);
  color: #ffffff;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 28px 0 0;
  padding: clamp(22px, 4vw, 34px);
}

.contact-band .eyebrow {
  color: #bfe4d6;
}

.contact-band h2 {
  color: #ffffff;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}

.contact-band p:not(.eyebrow) {
  color: #dbe8f1;
  line-height: 1.45;
  margin: 0;
  max-width: 760px;
}

.contact-band a {
  background: #ffffff;
  border-radius: 6px;
  color: #05294d;
  display: inline-block;
  font-weight: 900;
  padding: 11px 13px;
  text-decoration: none;
  white-space: nowrap;
}

.promo-feature {
  align-items: center;
  background: #112338;
  color: #ffffff;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  margin: 28px 0;
  overflow: hidden;
  padding: 20px;
}

.promo-feature h2 {
  color: #ffffff;
}

.promo-feature video {
  aspect-ratio: 16 / 9;
  background: #0e1d2e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: block;
  width: 100%;
}

button:focus,
a:focus,
video:focus {
  outline: 3px solid #d6e8ff;
}

@media (max-width: 960px) {
  .site-header,
  .promo-feature,
  .proof-grid,
  .workflow-grid,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: start;
  }

  nav,
  .header-controls {
    justify-content: start;
  }

  main {
    max-width: 100vw;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    min-height: 600px;
  }
}

@media (max-width: 620px) {
  .hero {
    margin-left: -16px;
    margin-right: -16px;
    min-height: 620px;
  }

  .hero::before {
    background: linear-gradient(0deg, rgba(8, 23, 36, 0.94) 0%, rgba(8, 23, 36, 0.8) 58%, rgba(8, 23, 36, 0.36) 100%);
  }

  .hero-copy {
    padding: 28px 16px;
  }

  .primary-action,
  .secondary-action {
    flex: 1 1 210px;
    text-align: center;
  }
}
