:root {
  color-scheme: dark;
  --bg: #071117;
  --bg-soft: #0b1820;
  --panel: #0f2029;
  --line: rgba(184, 209, 220, 0.15);
  --line-strong: rgba(184, 209, 220, 0.28);
  --text: #f2f5f3;
  --muted: #9eb0b7;
  --copper: #d6925d;
  --copper-soft: rgba(214, 146, 93, 0.14);
  --green: #7ec9a6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 78% 12%, rgba(42, 102, 114, 0.18), transparent 30rem),
    linear-gradient(180deg, #09151c 0%, var(--bg) 48rem);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--copper);
  color: var(--copper);
  font-family: Georgia, serif;
  letter-spacing: -0.05em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.brand small,
.as-of {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.as-of {
  margin: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 80px;
  align-items: end;
  min-height: 520px;
  padding: 88px 0 72px;
}

.kicker,
.eyebrow {
  margin: 0 0 18px;
  color: var(--copper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: "STSong", "Songti SC", Georgia, serif;
  font-size: clamp(48px, 6.3vw, 84px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.06em;
}

.hero h1 em {
  color: var(--copper);
  font-style: normal;
}

.hero-description {
  max-width: 720px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.library-stats {
  margin: 0;
  border-top: 1px solid var(--line-strong);
}

.library-stats > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 22px 2px;
  border-bottom: 1px solid var(--line);
}

.library-stats dt {
  color: var(--muted);
  font-size: 13px;
}

.library-stats dd {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
}

.library-stats dd span {
  margin-left: 6px;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
}

.library-stats .date-stat {
  color: var(--copper);
}

.library {
  padding: 80px 0 96px;
  border-top: 1px solid var(--line);
}

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

.section-heading .kicker {
  margin-bottom: 10px;
}

.section-heading h2,
.method-note h2 {
  margin: 0;
  font-family: "STSong", "Songti SC", Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.section-heading > p {
  color: var(--muted);
  font-size: 13px;
}

.toolbar {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  margin: 38px 0 30px;
}

.search {
  display: flex;
  flex: 0 1 420px;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.search > span:first-child {
  color: var(--copper);
  font-size: 22px;
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.search input::placeholder {
  color: #71858d;
}

.filters {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  overflow-x: auto;
  scrollbar-width: thin;
}

.filter-button {
  flex: none;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.active {
  border-color: var(--copper);
  background: var(--copper-soft);
  color: #f2c19a;
}

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

.report-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.035), transparent 45%),
    var(--panel);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.report-card::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(214, 146, 93, 0.18);
  border-radius: 50%;
  content: "";
}

.report-card:hover {
  z-index: 1;
  border-color: rgba(214, 146, 93, 0.55);
  background:
    linear-gradient(140deg, rgba(214, 146, 93, 0.07), transparent 45%),
    #11252f;
  transform: translateY(-4px);
}

.card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.card-link:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: -4px;
}

.card-topline,
.company-line,
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sequence {
  color: #60747c;
  font-family: Georgia, serif;
  font-size: 13px;
}

.rating {
  padding: 6px 10px;
  border: 1px solid rgba(126, 201, 166, 0.38);
  border-radius: 99px;
  background: rgba(126, 201, 166, 0.08);
  color: var(--green);
  font-size: 11px;
}

.company-line {
  align-items: start;
  margin-top: 44px;
}

.company-line .eyebrow {
  margin-bottom: 10px;
}

.company-line h2 {
  margin: 0;
  font-family: "STSong", "Songti SC", Georgia, serif;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.arrow {
  color: var(--copper);
  font-size: 28px;
  transition: transform 180ms ease;
}

.report-card:hover .arrow {
  transform: translate(3px, -3px);
}

.verdict {
  margin: 28px 0 0;
  color: #f0c09a;
  font-size: 15px;
  font-weight: 650;
}

.summary {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.tag {
  padding: 5px 8px;
  border: 1px solid var(--line);
  color: #91a6ae;
  font-size: 11px;
}

.card-footer {
  position: absolute;
  right: 28px;
  bottom: 26px;
  left: 28px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: #71858d;
  font-size: 11px;
}

.empty-state {
  padding: 80px 20px;
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  text-align: center;
}

.empty-state button {
  padding: 10px 16px;
  border: 1px solid var(--copper);
  background: var(--copper-soft);
  color: #f2c19a;
  cursor: pointer;
}

.method-note {
  display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  gap: 70px;
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.method-note > div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}

.method-note p:last-child {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: #71858d;
  font-size: 11px;
  line-height: 1.6;
}

footer p {
  margin: 0;
}

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

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: auto;
  }

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

  .search {
    flex-basis: auto;
  }

  .filters {
    justify-content: flex-start;
  }

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

  .method-note,
  .method-note > div {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 78px;
  }

  .as-of {
    display: none;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .library {
    padding: 62px 0;
  }

  .section-heading {
    align-items: start;
  }

  .report-card {
    min-height: 470px;
    padding: 23px 21px;
  }

  .company-line h2 {
    font-size: 36px;
  }

  .card-footer {
    right: 21px;
    bottom: 22px;
    left: 21px;
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .report-card,
  .arrow {
    transition: none;
  }
}
