:root {
  color-scheme: light;
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  color: #16202a;
  background: #ffffff;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: #ffffff;
}

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

a:focus-visible {
  outline: 3px solid #ffb000;
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 12px max(24px, calc((100vw - 1160px) / 2));
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid #dbe2e8;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #ffffff;
  font-size: 12px;
  background: #1559d6;
  border-radius: 4px;
}

nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
}

nav a:hover {
  color: #1559d6;
}

.primary-action {
  display: inline-flex;
  min-height: 40px;
  padding: 9px 16px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 650;
  background: #1559d6;
  border: 1px solid #1559d6;
  border-radius: 4px;
}

.primary-action:hover {
  color: #ffffff;
  background: #0d47b5;
}

.hero {
  min-height: 540px;
  padding: 92px max(24px, calc((100vw - 1160px) / 2));
  background-color: #f4f7fa;
  background-image: url("/assets/product-blueprint.png");
  background-repeat: no-repeat;
  background-position: calc(50% + 420px) center;
  background-size: 560px auto;
  border-bottom: 1px solid #dbe2e8;
}

.hero-content {
  max-width: 660px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #0b7356;
  font-weight: 750;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 650px;
  margin: 0;
  color: #101820;
  font-size: 54px;
  line-height: 1.12;
}

.hero-summary {
  max-width: 590px;
  margin: 24px 0 0;
  color: #44515d;
  font-size: 19px;
  line-height: 1.8;
}

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

.secondary-action {
  display: inline-flex;
  min-height: 40px;
  padding: 9px 16px;
  align-items: center;
  justify-content: center;
  color: #16202a;
  font-weight: 650;
  background: #ffffff;
  border: 1px solid #aeb9c3;
  border-radius: 4px;
}

.secondary-action:hover {
  border-color: #1559d6;
}

.products,
.company {
  padding: 72px max(24px, calc((100vw - 1160px) / 2));
}

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

.section-heading h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.25;
}

.section-heading > p:last-child {
  margin: 14px 0 0;
  color: #5b6772;
  font-size: 16px;
  line-height: 1.7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 250px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #ced6dd;
  border-top: 4px solid #1559d6;
  border-radius: 6px;
}

.product-wecom {
  border-top-color: #0b8f6a;
}

.product-yxt {
  border-top-color: #c94537;
}

.product-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  background: #1559d6;
  border-radius: 6px;
}

.product-wecom .product-mark {
  background: #0b8f6a;
}

.product-yxt .product-mark {
  background: #c94537;
}

.product-card h3 {
  margin: 22px 0 8px;
  font-size: 21px;
}

.product-card p {
  margin: 0;
  color: #5b6772;
  line-height: 1.7;
}

.product-status {
  margin-top: 24px;
  color: #67737e;
  font-size: 14px;
  font-weight: 650;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 36px max(24px, calc((100vw - 1160px) / 2));
  color: #ffffff;
  background: #16202a;
}

.capabilities div {
  display: grid;
  gap: 7px;
  padding: 12px 28px;
  border-left: 1px solid #50606e;
}

.capabilities div:first-child {
  border-left: 0;
}

.capabilities strong {
  font-size: 18px;
}

.capabilities span {
  color: #d0d8de;
  line-height: 1.5;
}

.company {
  background: #f7f9f8;
}

.company-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 920px;
  margin: 32px 0 0;
  overflow: hidden;
  background: #ced6dd;
  border: 1px solid #ced6dd;
  border-radius: 6px;
}

.company-details div {
  min-height: 108px;
  padding: 22px;
  background: #ffffff;
}

.company-details dt {
  color: #67737e;
  font-size: 13px;
}

.company-details dd {
  margin: 10px 0 0;
  font-weight: 650;
  line-height: 1.5;
}

footer {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 18px max(24px, calc((100vw - 1160px) / 2));
  color: #66727d;
  font-size: 13px;
  border-top: 1px solid #dbe2e8;
}

footer a:hover {
  color: #1559d6;
}

@media (max-width: 900px) {
  .hero {
    min-height: 500px;
    background-position: calc(100% + 240px) center;
    background-size: 500px auto;
  }

  h1 {
    max-width: 520px;
    font-size: 44px;
  }

  .hero-summary {
    max-width: 520px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 60px;
    padding: 10px 16px;
  }

  .brand span {
    max-width: 112px;
    font-size: 14px;
    line-height: 1.25;
  }

  nav {
    gap: 12px;
  }

  nav > a:not(.nav-action) {
    display: none;
  }

  .hero {
    min-height: 590px;
    padding: 64px 18px 220px;
    background-position: center calc(100% + 42px);
    background-size: 370px auto;
  }

  h1 {
    font-size: 38px;
    overflow-wrap: anywhere;
  }

  .hero-summary {
    font-size: 17px;
    line-height: 1.7;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .products,
  .company {
    padding: 54px 18px;
  }

  .section-heading h2 {
    font-size: 29px;
  }

  .capabilities,
  .company-details {
    grid-template-columns: 1fr;
  }

  .capabilities {
    padding: 22px 18px;
  }

  .capabilities div,
  .capabilities div:first-child {
    padding: 18px 4px;
    border-top: 1px solid #50606e;
    border-left: 0;
  }

  .capabilities div:first-child {
    border-top: 0;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
