:root {
  --ink: #172123;
  --ink-soft: #273436;
  --muted: #647173;
  --muted-light: #8d9899;
  --paper: #f3f6f4;
  --surface: #ffffff;
  --line: #d9e0dd;
  --line-dark: #3c4949;
  --teal: #0b7568;
  --teal-dark: #07584f;
  --green: #2d7b55;
  --red: #d4584b;
  --amber: #c3821e;
  --blue: #2c78a4;
  --shadow: 0 10px 28px rgba(23, 33, 35, 0.08);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", system-ui, sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

button,
input,
select {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.nav-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 36px;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  line-height: 1.25;
}

.brand-copy strong {
  font-size: 15px;
}

.brand-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 9px;
}

.primary-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 28px;
}

.primary-nav a {
  height: 100%;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
}

.primary-nav a:hover,
.primary-nav a.active {
  border-bottom-color: var(--teal);
  color: var(--ink);
}

.latest-link {
  margin-left: auto;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
}

.language-menu {
  position: relative;
  flex: 0 0 auto;
}

.language-menu summary {
  min-width: 72px;
  min-height: 36px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  cursor: pointer;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 11px;
  list-style: none;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu[open] summary {
  border-color: var(--teal);
  color: var(--teal);
}

.language-menu ul {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  z-index: 50;
  width: 170px;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 33, 35, 0.14);
  list-style: none;
}

.language-menu li + li {
  margin-top: 2px;
}

.language-menu a {
  display: block;
  padding: 7px 9px;
  border-radius: 3px;
  color: var(--muted);
  font-size: 12px;
}

.language-menu a:hover,
.language-menu a[aria-current="page"] {
  background: #e7f3f0;
  color: var(--teal);
  font-weight: 700;
}

.page-intro {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 38px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}

.intro-heading {
  max-width: 760px;
}

.kicker,
.section-index {
  margin: 0 0 12px;
  color: var(--teal);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
}

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

h1 {
  margin-bottom: 16px;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", system-ui, sans-serif;
  font-size: 38px;
  line-height: 1.25;
}

.intro-copy {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.update-block {
  min-width: 190px;
  padding: 14px 0 3px 20px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.update-block span {
  color: var(--muted);
  font-size: 12px;
}

.update-block strong {
  margin: 2px 0;
  font-size: 17px;
}

.update-label {
  text-transform: uppercase;
}

.market-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.market-strip {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 68px;
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr)) minmax(260px, 1.6fr);
}

.market-stat,
.coverage-note {
  min-height: 112px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.market-stat:first-child {
  border-left: 1px solid var(--line);
}

.market-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.market-stat strong {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 26px;
  line-height: 1.2;
}

.market-stat span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.coverage-note {
  display: flex;
  align-items: center;
  gap: 13px;
}

.coverage-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.signal-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(45, 123, 85, 0.12);
}

.reports-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-heading h2,
.framework-heading h2 {
  margin-bottom: 0;
  font-size: 26px;
  line-height: 1.3;
}

.result-count {
  margin: 0;
  color: var(--muted);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 13px;
}

.report-toolbar {
  min-height: 64px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto 180px;
  gap: 10px;
}

.search-field input,
.select-field select {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f8faf9;
  outline: none;
}

.search-field input {
  padding: 0 14px;
}

.search-field input:focus,
.select-field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11, 117, 104, 0.1);
}

.select-field select {
  padding: 0 34px 0 12px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}

.segment,
.filter-chip {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.segment {
  min-width: 66px;
  padding: 7px 13px;
  border-radius: 3px;
  color: var(--muted);
  font-size: 13px;
}

.segment.active {
  background: var(--ink);
  color: #fff;
}

.filter-row {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.filter-chip {
  min-width: max-content;
  padding: 5px 10px;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 12px;
}

.filter-chip:hover,
.filter-chip.active {
  border-bottom-color: var(--teal);
  color: var(--ink);
}

.report-list {
  display: grid;
  gap: 14px;
}

.report-card {
  min-height: 306px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(420px, 1.5fr);
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.report-card:hover {
  border-color: #aab8b4;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.report-visual {
  position: relative;
  min-height: 306px;
  overflow: hidden;
  background: #e5e9e8;
}

.report-visual img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 38% center;
}

.report-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(transparent, rgba(23, 33, 35, 0.68));
}

.visual-caption {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 13px;
  left: 16px;
  color: #fff;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 11px;
}

.report-body {
  padding: 25px 28px 22px;
  display: flex;
  flex-direction: column;
}

.report-meta {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 11px;
}

.type-badge,
.status-badge,
.risk-badge {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 700;
}

.type-badge {
  background: var(--ink);
  color: #fff;
}

.status-badge {
  background: rgba(45, 123, 85, 0.12);
  color: var(--green);
}

.risk-badge {
  background: rgba(212, 88, 75, 0.11);
  color: var(--red);
}

.report-body h3 {
  margin-bottom: 8px;
  font-family: "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 23px;
  line-height: 1.35;
}

.report-subtitle {
  margin-bottom: 11px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
}

.report-summary {
  max-width: 700px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
}

.metric-row {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  padding: 12px 10px;
  border-right: 1px solid var(--line);
}

.metric:first-child {
  padding-left: 0;
}

.metric:last-child {
  border-right: 0;
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
}

.metric span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.report-actions {
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.report-actions p {
  margin: 0;
  color: var(--muted);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 11px;
}

.report-link {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.empty-state {
  padding: 56px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.framework-section {
  margin-top: 84px;
  background: var(--ink);
  color: #fff;
}

.framework-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 68px;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(540px, 1.7fr);
  gap: 88px;
}

.framework-heading p:last-child {
  max-width: 330px;
  margin: 18px 0 0;
  color: #aeb9b8;
  font-size: 14px;
}

.section-index.light {
  color: #62c7b8;
}

.framework-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.framework-list li {
  min-height: 138px;
  padding: 4px 24px 24px;
  border-left: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
}

.framework-list li:nth-child(n+3) {
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}

.framework-list li > span {
  color: #62c7b8;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 11px;
}

.framework-list strong {
  font-size: 15px;
}

.framework-list p {
  margin: 7px 0 0;
  color: #aeb9b8;
  font-size: 12px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-inner strong {
  font-size: 14px;
}

.footer-inner p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 900px) {
  .primary-nav {
    display: none;
  }

  .page-intro {
    align-items: flex-start;
  }

  .market-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .coverage-note {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .report-card {
    grid-template-columns: 1fr;
  }

  .report-visual {
    min-height: 240px;
  }

  .framework-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 680px) {
  .nav-inner,
  .page-intro,
  .market-strip,
  .reports-section,
  .framework-inner,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .nav-inner {
    min-height: 60px;
    gap: 12px;
  }

  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .latest-link {
    width: 24px;
    height: 36px;
    flex: 0 0 24px;
    display: grid;
    place-items: center;
  }

  .latest-link > span:first-child {
    display: none;
  }

  .latest-link > span:last-child {
    font-size: 20px;
    line-height: 1;
  }

  .language-menu ul {
    width: 158px;
  }

  .page-intro {
    padding: 38px 0 28px;
    flex-direction: column;
    gap: 24px;
  }

  h1 {
    font-size: 29px;
  }

  .intro-copy {
    font-size: 14px;
  }

  .update-block {
    width: 100%;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .market-strip {
    margin-bottom: 48px;
    grid-template-columns: 1fr;
  }

  .market-stat,
  .coverage-note {
    min-height: 84px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .coverage-note {
    border-top: 0;
  }

  .report-toolbar {
    grid-template-columns: 1fr;
  }

  .segment {
    min-width: 0;
  }

  .report-card {
    min-height: 0;
  }

  .report-visual {
    min-height: 190px;
  }

  .report-body {
    padding: 21px 18px;
  }

  .report-body h3 {
    font-size: 20px;
  }

  .card > svg {
    min-width: 700px;
  }

  .metric-row {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .metric:nth-child(2n) {
    border-right: 0;
  }

  .metric:first-child {
    padding-left: 10px;
  }

  .metric:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .framework-inner {
    padding: 48px 0;
  }

  .framework-list {
    grid-template-columns: 1fr;
  }

  .framework-list li,
  .framework-list li:nth-child(n+3) {
    min-height: 0;
    padding: 20px 12px;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .footer-inner {
    min-height: 150px;
    padding: 28px 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}
