:root {
  color-scheme: light;
  --ink: #122235;
  --muted: #627286;
  --line: #dce5ed;
  --panel: #ffffff;
  --soft: #f3f6f9;
  --primary: #07559f;
  --primary-dark: #06457f;
  --accent: #e60012;
  --cyan: #168fa7;
  --shadow: 0 18px 48px rgba(25, 51, 79, 0.08);
  --content-width: 1180px;
  --wide-width: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

main {
  overflow: clip;
}

::selection {
  color: #ffffff;
  background: var(--primary);
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

img {
  max-width: 100%;
}

a:focus-visible {
  outline: 3px solid rgba(7, 85, 159, 0.38);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 14px;
  z-index: 100;
  padding: 9px 14px;
  color: #ffffff;
  background: var(--primary-dark);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  border-bottom: 1px solid rgba(220, 229, 237, 0.88);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--wide-width);
  min-height: 72px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 154px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 7px;
  color: #526276;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav a:hover {
  color: var(--primary);
  background: #eef4f8;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  min-height: clamp(520px, calc(100svh - 120px), 680px);
  overflow: hidden;
  background: #edf4f8;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(239, 246, 250, 0.98) 0%,
    rgba(239, 246, 250, 0.92) 39%,
    rgba(239, 246, 250, 0.34) 58%,
    rgba(239, 246, 250, 0) 76%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--wide-width);
  min-height: inherit;
  margin: 0 auto;
  padding: 64px clamp(20px, 4vw, 48px);
}

.hero-copy {
  width: min(610px, 52%);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 600px;
  margin-bottom: 22px;
  font-size: 56px;
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 42px;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.36;
  letter-spacing: 0;
}

.lead {
  max-width: 600px;
  margin-bottom: 30px;
  color: #526478;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(7, 85, 159, 0.24);
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.secondary {
  color: var(--primary);
  border-color: rgba(7, 85, 159, 0.24);
  background: rgba(255, 255, 255, 0.82);
}

.capability-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.capability-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.capability-inner span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 14px 18px;
  border-right: 1px solid var(--line);
  color: #2b3d52;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.capability-inner span:first-child {
  border-left: 1px solid var(--line);
}

.product-section {
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  align-items: center;
  gap: clamp(42px, 6vw, 82px);
  max-width: var(--content-width);
  margin: 0 auto;
}

.product-copy {
  max-width: 610px;
}

.product-lead {
  max-width: 600px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 17px;
}

.product-points {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.product-points li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.product-points > li > span {
  padding-top: 3px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.product-points h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.product-points p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-action {
  margin-top: 28px;
}

.probe-console {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid #203c56;
  border-radius: 8px;
  color: #ffffff;
  background: #102436;
  box-shadow: 0 24px 54px rgba(18, 34, 53, 0.18);
}

.probe-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(204, 229, 244, 0.16);
  color: #b9ccda;
  font-size: 12px;
  font-weight: 800;
}

.probe-console-head > span:first-child,
.probe-status {
  white-space: nowrap;
}

.probe-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8bd5df;
}

.probe-status::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #41c3d2;
  box-shadow: 0 0 0 4px rgba(65, 195, 210, 0.12);
  content: "";
}

.probe-map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 278px;
  padding: 34px 28px;
}

.probe-map::before {
  position: absolute;
  top: 50%;
  right: 13%;
  left: 13%;
  height: 1px;
  background: rgba(73, 191, 207, 0.42);
  content: "";
}

.probe-endpoints {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.probe-endpoints:last-child {
  align-items: flex-end;
}

.probe-endpoints span {
  min-width: 88px;
  padding: 8px 10px;
  border: 1px solid rgba(185, 214, 231, 0.2);
  border-radius: 5px;
  color: #c8d7e2;
  background: #183249;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.probe-core {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 126px;
  height: 126px;
  border: 1px solid #4bc1cf;
  border-radius: 8px;
  background: #123a50;
  box-shadow: 0 0 28px rgba(65, 195, 210, 0.16);
}

.probe-core strong {
  color: #ffffff;
  font-size: 30px;
  line-height: 1.1;
}

.probe-core span {
  margin-top: 7px;
  color: #86d0da;
  font-size: 12px;
  font-weight: 700;
}

.probe-readouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid rgba(204, 229, 244, 0.16);
  background: #0d1d2c;
}

.probe-readouts > div {
  min-width: 0;
  padding: 18px 16px;
  border-right: 1px solid rgba(204, 229, 244, 0.13);
}

.probe-readouts > div:last-child {
  border-right: 0;
}

.probe-readouts dt {
  color: #8098aa;
  font-size: 12px;
}

.probe-readouts dd {
  margin: 3px 0 0;
  color: #ecf5f8;
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: 80px clamp(20px, 4vw, 48px);
  background: #ffffff;
  scroll-margin-top: 88px;
}

.section-heading {
  max-width: var(--content-width);
  margin: 0 auto 36px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--content-width);
  margin: 0 auto;
}

.service-card,
.model-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(25, 51, 79, 0.045);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 316px;
  padding: 25px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:hover {
  border-color: rgba(7, 85, 159, 0.26);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-card:nth-child(1) {
  border-top: 4px solid var(--cyan);
}

.service-card:nth-child(2) {
  border-top: 4px solid var(--accent);
}

.service-card:nth-child(3) {
  border-top: 4px solid #e39a26;
}

.service-card:nth-child(4) {
  border-top: 4px solid var(--primary);
}

.card-index {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.service-card p,
.model-card p {
  color: var(--muted);
}

.service-card p {
  font-size: 15px;
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: auto 0 0;
  padding: 22px 0 0;
  list-style: none;
}

.service-card li {
  padding: 4px 9px;
  border-radius: 999px;
  color: #536276;
  background: #f1f4f7;
  font-size: 13px;
  font-weight: 700;
}

.model-section {
  background: var(--soft);
}

#services,
#models {
  content-visibility: auto;
  contain-intrinsic-size: 1px 760px;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--content-width);
  margin: 0 auto;
}

.model-card {
  min-height: 232px;
  padding: 30px;
  background: #ffffff;
}

.model-card span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: #66758a;
  background: #ffffff;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--wide-width);
  min-height: 76px;
  margin: 0 auto;
  padding: 18px clamp(20px, 4vw, 48px);
}

.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.icp-link:hover,
.contact-link:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-link {
  flex: 0 0 auto;
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 1100px) {
  h1 {
    max-width: 520px;
    font-size: 48px;
  }

  .hero-copy {
    width: min(570px, 58%);
  }

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

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

  .product-copy {
    max-width: 720px;
  }

  .probe-console {
    min-height: 0;
  }

  .service-card {
    min-height: 286px;
  }
}

@media (max-width: 760px) {
  .site-header,
  .header-inner {
    min-height: 64px;
  }

  .header-inner {
    gap: 10px;
  }

  .brand img {
    width: 124px;
  }

  .nav a {
    min-height: 40px;
    padding: 0 9px;
  }

  .hero {
    min-height: 560px;
    min-height: clamp(520px, calc(100svh - 104px), 640px);
  }

  .hero::after {
    background: rgba(241, 247, 250, 0.84);
  }

  .hero-inner {
    align-items: flex-start;
    padding-top: 54px;
    padding-bottom: 46px;
  }

  .hero-copy {
    width: 100%;
    max-width: 580px;
  }

  .hero-visual img {
    object-position: 68% center;
  }

  h1 {
    max-width: 560px;
    margin-bottom: 18px;
    font-size: 38px;
    line-height: 1.16;
  }

  h2 {
    font-size: 34px;
  }

  .lead {
    margin-bottom: 26px;
    font-size: 16px;
  }

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

  .capability-inner span {
    min-height: 60px;
    padding: 12px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .capability-inner span:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .capability-inner span:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .section {
    padding-top: 60px;
    padding-bottom: 60px;
    scroll-margin-top: 74px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .service-grid,
  .model-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .model-card {
    min-height: 0;
  }

  .probe-map {
    grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr);
    gap: 12px;
    min-height: 240px;
    padding: 28px 18px;
  }

  .probe-core {
    width: 104px;
    height: 104px;
  }

  .probe-endpoints span {
    min-width: 78px;
    padding-right: 6px;
    padding-left: 6px;
  }

  .footer-inner,
  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    gap: 10px;
    min-height: 0;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .footer-meta {
    gap: 6px;
  }
}

@media (max-width: 420px) {
  .brand img {
    width: 100px;
  }

  .nav a {
    padding: 0 5px;
    font-size: 12px;
  }

  h1 {
    font-size: 34px;
  }

  .button {
    flex: 1 1 0;
    min-width: 0;
    padding-right: 14px;
    padding-left: 14px;
  }

  .probe-console-head {
    padding-right: 16px;
    padding-left: 16px;
  }

  .probe-map {
    grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr);
    gap: 8px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .probe-core {
    width: 88px;
    height: 88px;
  }

  .probe-core strong {
    font-size: 24px;
  }

  .probe-endpoints span {
    min-width: 0;
    width: 100%;
    font-size: 11px;
  }

  .probe-readouts > div {
    padding-right: 10px;
    padding-left: 10px;
  }

  .probe-readouts dd {
    font-size: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
