:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: #172033;
  background: #fff;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  line-height: 1.7;
  color: #253148;
  background: #fff;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  color: #fff;
  background: #111827;
}
.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  max-width: 55%;
  color: var(--brand);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 600;
}
.site-nav a {
  position: relative;
  padding: 23px 0;
}
.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--brand);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav-toggle {
  display: none;
  border: 0;
  padding: 8px 12px;
  color: #fff;
  background: var(--brand);
  border-radius: 6px;
  font: inherit;
}

.hero {
  overflow: hidden;
  color: #fff;
  background: linear-gradient(
    128deg,
    color-mix(in srgb, var(--brand) 92%, #07152b),
    color-mix(in srgb, var(--brand) 58%, #102d55)
  );
}
.hero-inner {
  display: grid;
  min-height: 610px;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: center;
  gap: 64px;
}
.hero-copy {
  padding: 80px 0;
}
.eyebrow,
.page-hero span,
.section-heading > span,
.contact-strip span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  opacity: 0.78;
}
.hero h1 {
  max-width: 780px;
  margin: 18px 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.16;
  letter-spacing: -0.02em;
}
.hero p {
  max-width: 680px;
  margin: 0;
  font-size: clamp(17px, 2vw, 21px);
  opacity: 0.9;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero-mark {
  display: grid;
  aspect-ratio: 1;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  text-align: center;
  box-shadow:
    0 0 0 34px rgba(255, 255, 255, 0.05),
    0 0 0 68px rgba(255, 255, 255, 0.025);
}
.hero-mark span {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
}
.hero-mark small {
  margin-top: 8px;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
  opacity: 0.7;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 700;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}
.button.primary {
  color: #fff;
  background: var(--brand);
}
.hero .button.primary {
  color: var(--brand);
  background: #fff;
}
.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.button.light {
  color: var(--brand);
  background: #fff;
}
.text-link {
  color: var(--brand);
  font-weight: 700;
}

.section {
  padding: 92px 0;
}
.muted-section {
  background: #f6f8fb;
}
.section-heading {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-heading.left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}
.section-heading > span {
  color: var(--brand);
}
.section-heading h2 {
  margin: 8px 0 10px;
  color: #172033;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
}
.section-heading p {
  margin: 0;
  color: #67738a;
}
.feature-grid,
.product-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.feature-card,
.contact-card {
  padding: 32px;
  border: 1px solid #e7ebf2;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
}
.feature-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-content: center;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  font-weight: 800;
}
.feature-card h3,
.contact-card h2 {
  margin: 20px 0 8px;
  font-size: 20px;
}
.feature-card p,
.contact-card p {
  margin: 0;
  color: #67738a;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}
.about-media {
  overflow: hidden;
  min-height: 420px;
  border-radius: 12px;
  background: #e9eef5;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
}
.about-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.about-media.placeholder {
  display: grid;
  place-content: center;
  color: var(--brand);
  font-size: 28px;
  font-weight: 800;
}
.about-copy > p {
  color: #59677e;
  font-size: 17px;
}

.product-card {
  overflow: hidden;
  border: 1px solid #e7ebf2;
  background: #fff;
  border-radius: 10px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.11);
}
.product-image {
  display: grid;
  aspect-ratio: 4 / 3;
  place-content: center;
  overflow: hidden;
  color: #8a96aa;
  background: #eef2f7;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.product-card:hover .product-image img {
  transform: scale(1.04);
}
.product-copy {
  padding: 24px;
}
.product-copy h2,
.product-copy h3 {
  margin: 7px 0 10px;
  color: #172033;
  font-size: 21px;
  line-height: 1.35;
}
.product-copy p {
  display: -webkit-box;
  min-height: 3.4em;
  margin: 0 0 14px;
  overflow: hidden;
  color: #67738a;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.category-label {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}
.section-action {
  margin-top: 40px;
  text-align: center;
}

.contact-strip {
  padding: 56px 0;
  color: #fff;
  background: var(--brand);
}
.contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.contact-strip h2 {
  margin: 6px 0 0;
  font-size: clamp(26px, 4vw, 38px);
}
.contact-strip-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 22px;
  font-weight: 800;
}

.page-hero {
  padding: 82px 0;
  color: #fff;
  text-align: center;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand) 92%, #07152b),
    color-mix(in srgb, var(--brand) 64%, #1d395b)
  );
}
.page-hero h1 {
  margin: 8px 0;
  font-size: clamp(34px, 5vw, 52px);
}
.page-hero p {
  margin: 0;
  opacity: 0.85;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 38px;
}
.category-nav a {
  padding: 8px 18px;
  border: 1px solid #dce2eb;
  border-radius: 999px;
}
.category-nav a[aria-current="page"],
.category-nav a:hover {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}
.empty-state {
  padding: 80px 24px;
  color: #67738a;
  text-align: center;
  border: 1px dashed #d7deea;
  border-radius: 10px;
}
.empty-state h2 {
  color: #172033;
}

.product-detail {
  padding-top: 42px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
  color: #748096;
  font-size: 14px;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
}
.detail-main-image,
.image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: #eef2f7;
}
.image-placeholder {
  display: grid;
  place-content: center;
  color: #8793a7;
}
.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.thumbnail-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}
.detail-copy h1 {
  margin: 8px 0 16px;
  color: #172033;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
}
.detail-copy .lead {
  color: #627087;
  font-size: 18px;
}
.price {
  color: var(--brand);
  font-size: 30px;
  font-weight: 800;
}
.feature-list {
  padding: 20px 0 20px 22px;
  border-top: 1px solid #e7ebf2;
  color: #45536a;
}
.detail-description {
  margin-top: 64px;
  padding-top: 34px;
  border-top: 1px solid #e7ebf2;
}
.detail-description h2 {
  font-size: 28px;
}
.detail-description p {
  color: #56647a;
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.contact-card > span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.contact-card a {
  color: var(--brand);
}
.status-page {
  display: grid;
  min-height: 62vh;
  padding: 60px 20px;
  place-content: center;
  text-align: center;
}
.status-page span {
  color: var(--brand);
  font-size: 72px;
  font-weight: 900;
  opacity: 0.2;
}
.status-page h1 {
  margin: -30px 0 8px;
  font-size: 36px;
}
.status-page .button {
  margin-top: 18px;
}

.site-footer {
  padding: 56px 0 22px;
  color: #c7d0df;
  background: #111827;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
.footer-inner strong {
  color: #fff;
  font-size: 20px;
}
.footer-inner p {
  max-width: 560px;
  margin: 8px 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.copyright {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, 680px);
  }
  .header-inner {
    min-height: 64px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    padding: 12px 20px 20px;
    border-bottom: 1px solid #e7ebf2;
    background: #fff;
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.08);
  }
  .site-nav.open {
    display: grid;
    gap: 0;
  }
  .site-nav a {
    padding: 12px 0;
  }
  .site-nav a::after {
    bottom: 7px;
  }
  .hero-inner {
    min-height: 520px;
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 70px 0;
  }
  .hero-mark {
    display: none;
  }
  .section {
    padding: 68px 0;
  }
  .feature-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-grid,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .about-media,
  .about-media img {
    min-height: 320px;
  }
  .contact-strip-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 18px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-actions,
  .contact-strip-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .feature-grid,
  .product-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .feature-card,
  .contact-card {
    padding: 24px;
  }
  .product-copy {
    padding: 20px;
  }
  .copyright {
    flex-direction: column;
    gap: 5px;
  }
}
