﻿:root {
  color-scheme: light;
  --ink: #16211f;
  --muted: #63706b;
  --paper: #fbfaf6;
  --field: #eef4ee;
  --field-strong: #dfe9df;
  --line: #d8ddd6;
  --red: #d31145;
  --red-dark: #9f1239;
  --gold: #b38a42;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(22, 33, 31, 0.11);
  font-family:
    "Aptos",
    "Segoe UI",
    "Noto Sans SC",
    "Microsoft YaHei",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
}

button,
input,
a {
  font: inherit;
}

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

.icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.icon svg {
  width: 100%;
  height: 100%;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(216, 221, 214, 0.8);
  background: var(--paper);
}

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

.brand-lockup span:last-child {
  display: block;
}

.brand-lockup strong {
  color: #17263c;
  font-family:
    "Noto Serif SC",
    "Source Han Serif SC",
    "Songti SC",
    serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  object-fit: contain;
}

.library-shell,
.detail-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0 72px;
}

.hero-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(280px, 36vh, 390px);
  margin-bottom: 34px;
  border: 1px solid rgba(216, 221, 214, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #1c2623;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 22, 20, 0.86), rgba(12, 22, 20, 0.52) 43%, rgba(12, 22, 20, 0.14)),
    linear-gradient(0deg, rgba(12, 22, 20, 0.28), rgba(12, 22, 20, 0.12));
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 660px;
  padding: clamp(26px, 5vw, 58px);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-family: "Aptos", "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

.hero-copy h1,
.detail-header h1 {
  margin: 0;
  font-family:
    "Noto Serif SC",
    "Source Han Serif SC",
    "Songti SC",
    serif;
  font-size: clamp(42px, 5.6vw, 74px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 580px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-family: "Aptos", "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.72;
}

.source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "Aptos", "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.58);
}

.controls-panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.controls-panel h2,
.footer-panel h2,
.info-block h2 {
  margin: 0;
  font-family:
    "Noto Serif SC",
    "Source Han Serif SC",
    "Songti SC",
    serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(360px, 100%);
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.company-tabs {
  margin-bottom: 12px;
}

.category-tabs {
  margin-bottom: 22px;
}

.filter-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #4a5753;
  background: rgba(255, 255, 255, 0.54);
  cursor: pointer;
}

.filter-tabs button.active {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

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

.product-card,
.info-block,
.side-card,
.footer-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 22px;
  color: inherit;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(211, 17, 69, 0.28);
  box-shadow: 0 18px 40px rgba(22, 33, 31, 0.1);
}

.product-card:focus-visible {
  outline: 3px solid rgba(211, 17, 69, 0.26);
  outline-offset: 3px;
}

.card-topline,
.tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-topline {
  justify-content: space-between;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--red-dark);
  font-family: "Aptos", "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.company-logo {
  max-width: 62px;
  max-height: 28px;
  object-fit: contain;
}

.product-card h3 {
  margin: 28px 0 7px;
  font-family:
    "Noto Serif SC",
    "Source Han Serif SC",
    "Songti SC",
    serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.official-name,
.product-summary,
.detail-header p,
.info-block p,
.footer-panel p {
  color: var(--muted);
  font-family: "Aptos", "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

.official-name {
  min-height: 28px;
  margin: 0;
  font-weight: 700;
}

.product-summary {
  margin: 18px 0;
}

.tag-row {
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tag-row span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #52615c;
  background: var(--field);
  font-family: "Aptos", "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-family: "Aptos", "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
}

.detail-header {
  display: block;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(238, 244, 238, 0.82), rgba(255, 255, 255, 0.84)),
    var(--field);
}

.detail-header h1 {
  margin-top: 14px;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.02;
}

.detail-heading {
  min-width: 0;
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.detail-company-logo {
  width: 82px;
  max-width: 22vw;
  margin-top: 8px;
  flex: 0 0 auto;
  object-fit: contain;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  margin-top: 18px;
  min-width: 0;
}

.detail-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.info-block {
  padding: clamp(22px, 4vw, 34px);
  min-width: 0;
}

.info-block h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.info-block dl {
  display: grid;
  gap: 1px;
  margin: 24px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.highlight-card {
  min-height: 220px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(238, 244, 238, 0.68), rgba(255, 255, 255, 0.7));
}

.highlight-index {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-family: "Aptos", "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.highlight-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.highlight-card p,
.section-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-family: "Aptos", "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
}

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-family: "Aptos", "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.62;
}

th {
  color: var(--ink);
  background: var(--field);
  font-weight: 800;
  white-space: nowrap;
}

td {
  color: #3f4d49;
}

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

.info-block dl div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.64);
}

.info-block dt,
.info-block dd {
  margin: 0;
  font-family: "Aptos", "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.info-block dt {
  color: var(--ink);
  font-weight: 800;
}

.info-block dd {
  color: var(--muted);
  line-height: 1.65;
}

.detail-side {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.side-card {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.side-card svg {
  color: var(--red);
}

.side-card strong {
  font-size: 18px;
}

.side-card span {
  color: var(--muted);
  font-family: "Aptos", "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

.side-card.muted {
  background: var(--field);
}

.quick-facts dl {
  display: grid;
  gap: 1px;
  margin: 4px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.quick-facts dl div {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.68);
}

.quick-facts dt,
.quick-facts dd {
  margin: 0;
  font-family: "Aptos", "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.quick-facts dt {
  color: var(--muted);
  font-size: 12px;
}

.quick-facts dd {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.data-section h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.source-link {
  width: 100%;
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
}

.source-link.disabled {
  color: var(--muted);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.64);
}

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

.library-shell .product-footer {
  margin-top: 34px;
}

.footer-panel {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 260px;
  padding: 26px;
}

.footer-panel p {
  margin: 0;
}

.footer-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 34px);
}

.footer-panel svg {
  color: var(--red);
}

.team-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(211, 17, 69, 0.24);
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(255, 255, 255, 0.76);
  font-family: "Aptos", "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.disclaimer-panel {
  background: linear-gradient(180deg, rgba(238, 244, 238, 0.68), rgba(255, 255, 255, 0.72));
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .detail-layout,
  .product-footer,
  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .detail-side {
    order: -1;
  }

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

  .controls-panel {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .library-shell,
  .detail-shell {
    width: min(100% - 28px, 1180px);
    padding-top: 22px;
  }

  .brand-lockup strong {
    white-space: normal;
  }

  .hero-copy h1,
  .detail-header h1 {
    font-size: 42px;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }

  .detail-company-logo {
    width: 68px;
    max-width: 24vw;
    margin-top: 7px;
  }

  .info-block dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

