:root {
  --ink: #172a2f;
  --muted: #5f7278;
  --paper: #ffffff;
  --soft: #f5f8f7;
  --line: #dce7e5;
  --teal: #0e817a;
  --teal-dark: #0d5d60;
  --green: #5b9b6c;
  --gold: #c18a3c;
  --clay: #a85449;
  --sky: #e5f2f4;
  --shadow: 0 18px 45px rgba(29, 55, 61, 0.11);
  --container: min(1200px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.narrow {
  max-width: 920px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 231, 229, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: var(--container);
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--green));
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-text {
  display: grid;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-text small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  color: #31454b;
  font-size: 15px;
  font-weight: 600;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 4px;
  left: 16px;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--teal-dark);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: min(620px, calc(100svh - 92px));
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url("assets/images/hero-bioprinting.png");
  background-position: center right;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 251, 250, 0.97) 0%, rgba(246, 251, 250, 0.9) 38%, rgba(246, 251, 250, 0.44) 72%, rgba(246, 251, 250, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(214, 232, 226, 0.28));
}

.hero-inner {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  padding: 72px 0 82px;
}

.eyebrow,
.section-heading span {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 620px;
  margin: 24px 0 0;
  color: #36525a;
  font-size: 20px;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  color: #ffffff;
  background: var(--teal-dark);
  box-shadow: 0 14px 28px rgba(13, 93, 96, 0.2);
}

.button.secondary {
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(14, 129, 122, 0.24);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 860px;
  margin: 54px 0 0;
  padding: 0;
}

.hero-points div {
  min-width: 0;
  border-left: 3px solid var(--teal);
  padding-left: 16px;
}

.hero-points dt {
  font-weight: 800;
  color: var(--ink);
}

.hero-points dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 82px 0;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.2;
  letter-spacing: 0;
}

.about-section,
.compatibility-section,
.vision-section {
  background: var(--soft);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 48px;
  align-items: start;
}

.about-copy p,
.vision-section p,
.product-copy p,
.support-lead {
  margin: 0;
  color: #40565d;
  font-size: 17px;
}

.about-copy p + p,
.product-copy p + p {
  margin-top: 18px;
}

.principles {
  display: grid;
  gap: 14px;
}

.principles div {
  padding: 20px 22px;
  border-left: 4px solid var(--teal);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.principles strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.principles span {
  color: var(--muted);
  font-size: 14px;
}

.domain-grid {
  display: grid;
  gap: 28px;
}

.domain-card {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(36, 63, 70, 0.08);
}

.domain-card:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) 44%;
}

.domain-card:nth-child(even) img {
  order: 2;
}

.domain-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.domain-content {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.domain-number {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.domain-content h3,
.feature-grid h3,
.application-grid h3,
.support-list h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0;
}

.domain-content p:not(.domain-number),
.feature-grid p,
.application-grid p,
.support-list p {
  margin: 14px 0 0;
  color: var(--muted);
}

.brand-line {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #39535a;
  font-weight: 700;
}

.product-section {
  background: #ffffff;
}

.product-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: 54px;
  align-items: center;
}

.product-media {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.product-main-image {
  width: 100%;
  aspect-ratio: 1.16 / 1;
  object-fit: contain;
  padding: 12px;
  background: #ffffff;
}

.product-copy .eyebrow {
  margin-bottom: 12px;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.35;
}

.product-copy h2 {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

.product-slogan {
  margin-top: 16px;
  color: var(--teal-dark);
  font-size: 24px;
  font-weight: 900;
}

.quote {
  display: inline-block;
  padding: 10px 16px;
  border-left: 4px solid var(--clay);
  background: #fff7f4;
  color: #70372f;
  font-weight: 800;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 54px;
}

.feature-grid article,
.application-grid article,
.support-list article {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.feature-grid article {
  background: linear-gradient(180deg, #ffffff, #f5faf9);
}

.feature-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(29, 55, 61, 0.07);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  color: #ffffff;
  background: var(--teal-dark);
  font-weight: 800;
}

tbody tr:last-child td {
  border-bottom: 0;
}

td {
  color: #42585f;
}

td:first-child {
  color: var(--ink);
  font-weight: 800;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.application-grid article {
  border-top: 4px solid var(--green);
  box-shadow: 0 18px 42px rgba(36, 63, 70, 0.07);
}

.application-grid article:nth-child(2) {
  border-top-color: var(--gold);
}

.application-grid article:nth-child(3) {
  border-top-color: var(--clay);
}

.support-section {
  background: #f9fbfb;
}

.support-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.support-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.support-list article {
  background: #ffffff;
}

.vision-section p {
  text-align: center;
}

.contact-section {
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 18px;
}

.contact-grid a,
.contact-grid address {
  min-width: 0;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-style: normal;
}

.contact-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.contact-grid strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.site-footer {
  color: rgba(255, 255, 255, 0.86);
  background: #183033;
}

.footer-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #ffffff;
  font-weight: 800;
}

@media (max-width: 980px) {
  :root {
    --container: min(100vw - 28px, 760px);
  }

  .header-inner {
    min-height: 76px;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 14px;
    left: 14px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    justify-content: flex-start;
    padding: 10px 12px;
  }

  .site-nav a::after {
    right: 12px;
    left: 12px;
  }

  .hero {
    min-height: auto;
    background-position: 62% center;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(246, 251, 250, 0.98), rgba(246, 251, 250, 0.72));
  }

  .hero-inner {
    padding: 64px 0 70px;
  }

  .hero-points,
  .about-layout,
  .product-intro,
  .support-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .application-grid,
  .support-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .domain-card,
  .domain-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .domain-card:nth-child(even) img {
    order: 0;
  }

  .domain-card img {
    min-height: 260px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100vw - 24px);
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text small {
    display: none;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-points,
  .feature-grid,
  .application-grid,
  .support-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .contact-grid strong {
    font-size: 18px;
  }

  th,
  td {
    padding: 14px 16px;
  }
}
