:root {
  color-scheme: light;
  --ink: #172332;
  --muted: #617184;
  --line: #dce8f3;
  --paper: #ffffff;
  --soft: #f3f8fd;
  --brand: #1f78c8;
  --brand-dark: #155996;
  --brand-soft: #e7f2fc;
  --aqua: #39a7b4;
  --warm: #d79d42;
  --shadow: 0 16px 38px rgba(31, 120, 200, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.68;
}

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: 12px;
  height: 58px;
  padding: 0 max(18px, env(safe-area-inset-left)) 0 max(18px, env(safe-area-inset-right));
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(220, 232, 243, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--aqua));
  color: #fff;
  font-size: 15px;
}

.nav {
  display: flex;
  flex: 0 0 auto;
  gap: 13px;
  color: #405064;
  font-size: 14px;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(650px, calc(100svh - 58px));
  overflow: hidden;
  background: #e6f2fb;
}

.hero-image,
.hero-shade,
.hero-content {
  grid-area: 1 / 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.76) 47%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(0deg, rgba(243, 248, 253, 0.48), rgba(243, 248, 253, 0.04));
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 58px 22px 54px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

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

h1 {
  max-width: 710px;
  margin-bottom: 16px;
  font-size: clamp(35px, 7.8vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(25px, 5.8vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.28;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 26px;
  color: #506174;
  font-size: 17px;
}

.hero-actions,
.contact-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 128px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
}

.button.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 22px rgba(31, 120, 200, 0.24);
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 62px 0;
}

.intro {
  max-width: 850px;
  text-align: center;
}

.intro p:not(.eyebrow),
.section-head + p {
  color: var(--muted);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(920px, calc(100% - 40px));
  margin: 0 auto 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.metrics div {
  display: grid;
  gap: 4px;
  min-height: 104px;
  place-items: center;
  padding: 18px 8px;
  background: #fff;
  text-align: center;
}

.metrics strong {
  color: var(--brand);
  font-size: 30px;
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-size: 13px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.signal-list,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.signal-list article,
.product-card {
  min-height: 218px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(20, 68, 61, 0.07);
}

.signal-list span,
.tag {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.signal-list p,
.product-card p,
.system-list p,
.process p,
.cta p,
.footer {
  color: var(--muted);
}

.band {
  padding: 62px max(20px, env(safe-area-inset-left)) 62px max(20px, env(safe-area-inset-right));
  background: var(--soft);
}

.band > * {
  width: min(1120px, 100%);
  margin-left: auto;
  margin-right: auto;
}

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

.product-card {
  min-height: 236px;
}

.product-card.featured {
  border-color: rgba(31, 120, 200, 0.34);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.tag {
  margin-bottom: 14px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
}

.system-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.system-list div {
  min-height: 210px;
  padding: 24px;
  background: #fff;
}

.process ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process li {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.process li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 24px;
  color: var(--warm);
  font-weight: 900;
}

.process span {
  display: block;
  margin-bottom: 8px;
  font-weight: 900;
}

.cta {
  width: min(880px, calc(100% - 40px));
  margin: 20px auto 0;
  padding: 46px 26px;
  border-radius: 8px;
  background: #123d68;
  color: #fff;
  text-align: center;
}

.cta .eyebrow {
  color: #9ed3ff;
}

.cta p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.78);
}

.cta .contact-box {
  justify-content: center;
  margin-top: 22px;
}

.footer {
  padding: 34px 20px calc(34px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 13px;
}

.footer p {
  margin: 4px 0;
}

@media (max-width: 900px) {
  .signal-list,
  .system-list,
  .process ol {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 760px) {
  .site-header {
    height: 54px;
  }

  .brand {
    font-size: 15px;
  }

  .nav {
    gap: 10px;
    font-size: 13px;
  }

  .hero {
    min-height: 600px;
  }

  .hero-image {
    object-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.88) 51%, rgba(255, 255, 255, 0.08) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.06));
  }

  .hero-content {
    justify-content: flex-end;
    padding: 42px 20px 42px;
  }

  h1 {
    max-width: 9.5em;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 16px;
  }

  .button {
    flex: 1 1 142px;
  }

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

  .intro {
    text-align: left;
  }

  .metrics {
    grid-template-columns: 1fr;
    width: calc(100% - 36px);
  }

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

  .signal-list,
  .product-grid,
  .system-list,
  .process ol {
    grid-template-columns: 1fr;
  }

  .signal-list article,
  .product-card,
  .system-list div {
    min-height: auto;
    padding: 22px;
  }

  .band {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .process li::before {
    margin-bottom: 18px;
  }

  .cta {
    width: calc(100% - 36px);
    padding: 40px 20px;
  }
}

@media (max-width: 390px) {
  .brand span:last-child {
    max-width: 134px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav {
    gap: 8px;
  }
}
