:root {
  color-scheme: light;
  --ink: #172c3d;
  --muted: #475764;
  --blue: #234f77;
  --blue-hover: #183b5a;
  --navy: #1a344d;
  --line: #d7e0e8;
  --wash: #f1f5f8;
  --paper: #fff;
  font-family: "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid #4c89bf; outline-offset: 4px; }
[id] { scroll-margin-top: 1.25rem; }

.wrap { width: min(1120px, calc(100% - 72px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: .5rem .75rem;
  transform: translateY(-200%);
  background: var(--paper);
}

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

.site-header { border-bottom: 1px solid var(--line); }

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand { display: inline-flex; align-items: baseline; gap: .8rem; text-decoration: none; }
.brand strong { color: var(--blue); font-size: 1.38rem; letter-spacing: .105em; }
.brand span { color: var(--muted); font-size: .92rem; }

.main-nav { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 2.1rem); }
.main-nav a { color: var(--muted); font-size: .93rem; text-decoration: none; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--blue); text-decoration: underline; text-underline-offset: .35em; }

.hero { padding-block: clamp(2.3rem, 5vw, 4.1rem); background: var(--wash); border-bottom: 1px solid var(--line); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(265px, .8fr); align-items: center; gap: clamp(1.5rem, 6vw, 5rem); }
.company-name { color: var(--blue); font-weight: 650; font-size: .94rem; }

.hero h1 {
  margin: .54rem 0 .82rem;
  font-size: clamp(1.78rem, 4.35vw, 3.15rem);
  font-weight: 730;
  line-height: 1.22;
  letter-spacing: -.035em;
}

.hero-description { max-width: 39rem; color: var(--muted); font-size: 1.075rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.45rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .43rem .95rem;
  border: 1px solid var(--blue);
  border-radius: 4px;
  color: #fff;
  background: var(--blue);
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
}

.button:hover { background: var(--blue-hover); }
.button-outline { color: var(--blue); background: transparent; border-color: #9cafbe; }
.button-outline:hover { color: var(--blue-hover); background: #e6edf3; border-color: var(--blue); }

.cooperation-overview {
  padding: 1.12rem 1.32rem;
  border-radius: 5px;
  color: #fff;
  background: var(--navy);
}

.cooperation-overview h2 { color: #dbe9f3; font-size: .95rem; font-weight: 550; }
.cooperation-overview a { display: block; margin-top: .66rem; padding-top: .66rem; border-top: 1px solid #577084; text-decoration: none; }
.cooperation-overview a:hover strong { text-decoration: underline; text-underline-offset: .22em; }
.cooperation-overview strong { display: block; font-size: 1.1rem; }
.cooperation-overview span { display: block; color: #d5e4ef; font-size: .9rem; }

.section { padding-block: clamp(2.2rem, 4.2vw, 3.45rem); }
.section h2 { font-size: clamp(1.5rem, 2.5vw, 1.95rem); line-height: 1.25; letter-spacing: -.025em; }
.section h3 { font-size: 1.15rem; line-height: 1.4; }

.capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem 2rem; margin-top: 1.35rem; }
.capabilities article { border-top: 2px solid var(--line); padding-top: .85rem; }
.capabilities p, .cooperation-options article > p { margin-top: .55rem; color: var(--muted); }

.project-section { background: var(--wash); border-block: 1px solid var(--line); }

.catalog-nav { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; margin-top: .72rem; }
.catalog-nav a { color: var(--blue); font-size: .9rem; text-underline-offset: .2em; }
.catalog-nav a:hover { color: var(--blue-hover); }

.catalog-group { margin-top: 1.45rem; }
.catalog-group + .catalog-group { margin-top: 2rem; }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: .95rem;
  margin-top: .62rem;
}

.catalog-card {
  min-width: 0;
  padding: .78rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
}

.catalog-image {
  display: grid;
  place-items: center;
  height: 142px;
  overflow: hidden;
  border-radius: 3px;
  background: #edf2f6;
}

.catalog-image img {
  display: block;
  width: min(230px, 100%);
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.reference-rf img, .reference-heat img {
  width: 100%;
  object-fit: cover;
}

.reference-stylus .catalog-image { background: #e1eaf1; }
.reference-stylus img { width: 55%; transform: rotate(-90deg); }
.reference-heat img { object-position: 50% 43%; }
.reference-mask .catalog-image { background: var(--paper); }
.reference-mask img { transform: scale(1.17); }

.sutang-poster .catalog-image { height: var(--poster-height, 142px); background: #f6eee6; }

.poster-crop {
  position: relative;
  height: 100%;
  aspect-ratio: 620 / 660;
  overflow: hidden;
}

/* Show the original poster's device area, using the crop measured on its 1086 by 1448 canvas. */
.poster-crop img {
  position: absolute;
  width: 175.16%;
  height: auto;
  left: -70.65%;
  top: -39.39%;
}

.sutang-hero-photo { --poster-height: 220px; }
.ed-project-figure .catalog-image { border: 1px solid var(--line); background: var(--paper); }
.ed-project-figure img { width: 100%; }

/* Display the front-view panel from the reference image. */
.ultrasound-source-crop {
  position: relative;
  height: 100%;
  aspect-ratio: 370 / 525;
  overflow: hidden;
}

.ultrasound-source-crop img {
  position: absolute;
  top: 0;
  left: -167.57%;
  width: 267.57%;
  height: auto;
}

.catalog-card .catalog-image {
  grid-template-rows: minmax(0, 1fr);
  height: auto;
  aspect-ratio: 16 / 10;
}

.catalog-figure figcaption { margin-top: .28rem; color: var(--muted); font-size: .8rem; }
.catalog-figure figcaption a { text-underline-offset: .2em; text-decoration-color: #8a9ba8; }
.catalog-figure figcaption a:hover { color: var(--blue); }

.catalog-copy { margin-top: .46rem; }
.catalog-copy h4 { margin: 0; color: var(--blue); font-size: 1.03rem; line-height: 1.45; }
.catalog-copy h4 a { text-underline-offset: .18em; text-decoration-color: #9aacba; }
.catalog-copy h4 a:hover { text-decoration-color: currentColor; }
.catalog-copy p { margin-top: .27rem; color: var(--muted); font-size: .91rem; line-height: 1.68; }

.project {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 336px);
  align-items: start;
  gap: 1.3rem 3.15rem;
  margin-top: 1.3rem;
}

.text-link { color: var(--blue); font-weight: 650; text-underline-offset: .24em; text-decoration-color: #7491a7; }
.text-link:hover { color: var(--blue-hover); text-decoration-color: currentColor; }

.photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.photo-pair a { display: block; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.photo-pair a:hover { border-color: var(--blue); }

.photo-pair img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--line); }
.desk-photo { object-position: 33% 53%; }
.device-photo { object-position: 63% 60%; }
.photo-pair figcaption { margin-top: .25rem; color: var(--muted); font-size: .88rem; }

.cooperation-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; margin-top: 1.25rem; }
.cooperation-options article { padding: 1.18rem 1.22rem; border: 1px solid var(--line); border-top: 2px solid var(--blue); }
.cooperation-options article .input-note { margin-top: .72rem; padding-top: .65rem; border-top: 1px solid var(--line); font-size: .94rem; }
.input-note strong { margin-right: .38rem; color: var(--ink); }

.contact-section { color: #fff; background: var(--navy); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .85rem 2rem; }
.contact-inner p { margin-top: .55rem; color: #d5e4ef; }
.contact-email { color: #fff; font-size: clamp(1.15rem, 2.2vw, 1.52rem); font-weight: 650; text-underline-offset: .2em; }
.contact-email:hover { color: #d5e4ef; }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-inner { min-height: 65px; flex-wrap: wrap; }

.product-hero { padding-block: clamp(2rem, 4vw, 3.5rem); }
.product-hero h1 { margin-top: .6rem; }
.product-hero .hero-description { max-width: 46rem; }
.back-link { font-size: .91rem; }
.product-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.3rem, 4vw, 3.25rem);
}

.product-intro .catalog-figure { width: min(100%, 23rem); }
.product-intro .catalog-image { height: 200px; }
.product-intro .ed-project-figure .catalog-image { height: 240px; }
.product-intro .reference-stylus img { width: min(175px, 85%); }
.project-status { margin: -.25rem 0 .45rem; color: var(--blue); font-size: .9rem; font-weight: 650; }

.details { display: grid; gap: .85rem; }
.details dt, .engineering dt { font-weight: 680; }
.details dd, .engineering dd { color: var(--muted); }
.details dd { margin-top: .15rem; }
.engineering { margin-top: 1.15rem; border-bottom: 1px solid var(--line); }
.engineering > div { display: grid; grid-template-columns: minmax(10rem, .64fr) minmax(0, 2fr); gap: .35rem 1.5rem; padding: .86rem 0; border-top: 1px solid var(--line); }


.case-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(315px, 1fr);
  align-items: center;
  gap: clamp(1.2rem, 4vw, 3.5rem);
}

.case-engineering {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 336px);
  align-items: start;
  gap: 1.1rem 2rem;
  margin-top: 1.15rem;
}
.case-engineering .engineering { margin-top: 0; }

.case-links { display: flex; flex-wrap: wrap; gap: .55rem 1.3rem; margin-top: .9rem; }
.case-links a { font-size: .93rem; }

.voice-flow {
  padding: .85rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
}

.voice-flow figcaption { color: var(--ink); font-weight: 680; }
.voice-flow ol { display: grid; gap: .48rem; margin: .55rem 0 0; padding: 0; list-style: none; }

.voice-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 4.65rem minmax(0, 1fr);
  align-items: baseline;
  gap: .38rem;
  padding: .32rem .55rem;
  border-left: 2px solid var(--blue);
  background: var(--wash);
  font-size: .9rem;
}

.voice-flow li:not(:last-child)::after {
  position: absolute;
  top: 100%;
  left: .96rem;
  height: .48rem;
  content: "";
  border-left: 1px solid #819bad;
}

.voice-flow strong { color: var(--blue); }
.voice-flow li span { color: var(--muted); }

.solution-hero h1 span { display: inline-block; margin-left: .18em; }

@media (max-width: 805px) {
  .wrap { width: calc(100% - 40px); }
  .hero-layout, .case-hero-layout, .product-intro, .case-engineering { grid-template-columns: 1fr; }
  .cooperation-overview, .voice-flow { max-width: 31rem; }
}

@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: .55rem; padding-block: .68rem .74rem; }
  .brand { justify-self: start; }
  .brand strong { font-size: 1.17rem; }
  .solution-hero h1 span { display: block; margin-left: 0; }
  .brand span { font-size: .83rem; }
  .main-nav { justify-content: space-between; gap: .5rem; }
  .main-nav a { font-size: .85rem; }
  .capabilities, .project, .cooperation-options { grid-template-columns: 1fr; gap: 1rem; }
  .photo-pair { max-width: 336px; }
  .engineering > div { grid-template-columns: 1fr; }
  .footer-inner { padding-block: .8rem; gap: .18rem .8rem; }
}
