:root {
  --bg: #f5f2eb;
  --paper: #fffdfa;
  --paper-2: #f0ece2;
  --ink: #151814;
  --muted: #626961;
  --soft: #8f978d;
  --line: #ded7c8;
  --line-strong: #c8bea9;
  --border: #ded7c8;
  --surface-2: #f0ece2;
  --green: #0f4936;
  --green-2: #123e32;
  --green-soft: #e4ede7;
  --gold: #9b7337;
  --blue: #254f7d;
  --shadow: 0 18px 48px rgba(37, 31, 20, 0.1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "SF Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  letter-spacing: 0;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(15, 73, 54, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 73, 54, 0.03) 1px, transparent 1px),
    var(--bg);
  background-size: 34px 34px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(245, 242, 235, 0.92);
  border-bottom: 1px solid rgba(200, 190, 169, 0.8);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions,
.toolbar,
.filters,
.report-meta,
.report-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 7px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 800;
}

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

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.nav-links {
  gap: 20px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 720;
}

.nav-links a:hover {
  color: var(--green);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.86fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: clamp(48px, 7vw, 100px) clamp(18px, 4vw, 56px) clamp(34px, 5vw, 70px);
}

.hero-copy {
  max-width: 760px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.45rem, 4.7vw, 5.2rem);
  font-weight: 840;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.7rem);
  font-weight: 820;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-lede,
.section-note {
  color: #3f463f;
  line-height: 1.82;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.hero-lede {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: clamp(1rem, 1.26vw, 1.18rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--green);
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 780;
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.secondary {
  color: var(--green);
  background: rgba(255, 253, 250, 0.72);
}

.hero-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 52%, rgba(13, 39, 31, 0.62));
  pointer-events: none;
}

.hero-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
}

.hero-visual span,
.hero-visual strong {
  display: block;
}

.hero-visual span {
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.hero-visual strong {
  max-width: 300px;
  text-align: right;
  font-size: 0.98rem;
}

.signal-strip {
  display: grid;
  grid-template-columns: 0.55fr 1.2fr 1fr;
  margin: 0 clamp(18px, 4vw, 56px) clamp(48px, 6vw, 84px);
  overflow: hidden;
  background: rgba(255, 253, 250, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.signal-strip div {
  min-height: 94px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip span,
.report-meta,
.report-footer span,
.footer span {
  color: var(--muted);
}

.signal-strip span,
.signal-strip strong {
  display: block;
}

.signal-strip strong {
  margin-top: 14px;
  color: var(--green);
  font-size: 1.06rem;
}

.signal-strip #hero-count {
  font-family: var(--mono);
  font-size: 2.1rem;
  line-height: 1;
}

.insight-section,
.asset-system-section,
.themes-section,
.reports-section,
.method-section,
.disclaimer {
  padding: clamp(48px, 7vw, 88px) clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line-strong);
}

.section-kicker,
.section-head {
  margin-bottom: 24px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.72fr);
  gap: 30px;
  align-items: end;
}

.section-note {
  max-width: 720px;
  margin: 12px 0 0;
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.54fr);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.featured-content {
  padding: clamp(22px, 4vw, 44px);
}

.report-type {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 800;
}

.featured-content h3 {
  max-width: 740px;
  font-size: clamp(1.45rem, 2.4vw, 2.6rem);
  line-height: 1.24;
}

.featured-content p {
  max-width: 760px;
  color: #424940;
  line-height: 1.78;
}

.featured-content a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--green);
  font-weight: 800;
}

.featured-chart {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(22px, 4vw, 40px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    var(--green-2);
  background-size: 28px 28px;
}

.chart-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.chart-row span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 720;
}

.chart-row i {
  display: block;
  height: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 99px;
}

.chart-row i::before {
  display: block;
  width: var(--value);
  height: 100%;
  background: linear-gradient(90deg, #d5b06a, #f1dfaa);
  border-radius: inherit;
  content: "";
}

.theme-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.76fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.asset-system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.asset-system-grid article {
  min-height: 188px;
  padding: 20px;
  background: rgba(255, 253, 250, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.asset-system-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--gold);
  font-family: var(--mono);
  font-weight: 800;
}

.asset-system-grid p {
  margin-bottom: 0;
  color: #4a514a;
  line-height: 1.7;
}

.asset-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.dashboard-panel {
  min-height: 164px;
  padding: 20px;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    var(--green-2);
  background-size: 28px 28px;
  border-radius: 8px;
}

.dashboard-panel strong,
.dashboard-panel span {
  display: block;
}

.dashboard-panel span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.dashboard-bars {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.dashboard-bars i {
  display: block;
  height: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 99px;
}

.dashboard-bars i::before {
  display: block;
  width: var(--value);
  height: 100%;
  background: linear-gradient(90deg, #d2a958, #f1dfaa);
  border-radius: inherit;
  content: "";
}

.mini-matrix {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 6px;
  margin-top: 28px;
}

.mini-matrix i {
  aspect-ratio: 1;
  background: rgba(241, 223, 170, 0.42);
  border-radius: 4px;
}

.theme-image {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.theme-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.theme-grid,
.method-grid {
  display: grid;
  gap: 12px;
}

.theme-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.method-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.theme-grid article,
.method-grid article,
.empty {
  background: rgba(255, 253, 250, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.theme-grid article,
.method-grid article {
  min-height: 204px;
  padding: 20px;
}

.theme-grid span,
.method-grid span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--gold);
  font-family: var(--mono);
  font-weight: 800;
}

.theme-grid p,
.method-grid p {
  margin-bottom: 0;
  color: #4a514a;
  line-height: 1.7;
}

.reports-section {
  background: rgba(255, 253, 250, 0.3);
}

.toolbar {
  justify-content: flex-end;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.search-box span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 720;
}

.search-box input {
  width: min(300px, 42vw);
  min-width: 160px;
  padding: 8px 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.filters {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.chip {
  min-height: 34px;
  padding: 0 12px;
  color: var(--muted);
  background: rgba(255, 253, 250, 0.82);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 0.86rem;
  font-weight: 720;
}

.chip.active,
.chip:hover {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.report-grid {
  display: grid;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.report-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 28px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  transition:
    background 150ms ease,
    transform 150ms ease;
}

.report-card:last-child {
  border-bottom: 0;
}

.report-card:hover {
  background: #fbfaf6;
}

.report-meta {
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.report-card h3 {
  max-width: 760px;
  margin-bottom: 8px;
  font-size: clamp(1.05rem, 1.35vw, 1.32rem);
  line-height: 1.38;
}

.report-card p {
  max-width: 820px;
  margin-bottom: 12px;
  color: #4b514c;
  line-height: 1.68;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  margin: 0 6px 6px 0;
  padding: 0 8px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 760;
}

.asset-meta,
.signal-tags {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.asset-meta span {
  color: #566058;
  font-size: 0.88rem;
  line-height: 1.55;
}

.signal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.signal-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  color: var(--gold);
  background: #f3ead8;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 760;
}

.report-footer {
  align-items: end;
  justify-content: space-between;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  text-align: right;
}

.report-footer a {
  color: var(--green);
  font-weight: 800;
}

.copy-button {
  color: var(--green);
  background: transparent;
  border: 0;
  font-size: 0.86rem;
  font-weight: 780;
}

.report-footer span {
  font-size: 0.84rem;
}

.disclaimer {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  background: var(--green-2);
  color: #fff;
  border-top: 0;
}

.disclaimer strong {
  font-size: 1.1rem;
}

.disclaimer p {
  max-width: 980px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.empty {
  padding: 24px;
  color: var(--muted);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 56px) 40px;
  border-top: 1px solid var(--line);
}

.report-page {
  padding: clamp(28px, 5vw, 70px) clamp(18px, 4vw, 56px) 72px;
}

.report-article {
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(255, 253, 250, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.report-cover {
  padding: clamp(28px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.report-cover h1 {
  max-width: 940px;
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
}

.report-body {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 4vw, 44px) clamp(22px, 4vw, 56px) 56px;
}

.report-body section {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.report-body section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.report-body h2 {
  margin-bottom: 14px;
  font-size: clamp(1.28rem, 2vw, 1.9rem);
}

.report-body p,
.report-body li {
  color: #3f4944;
  line-height: 1.78;
}

.report-body ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.2em;
}

.matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.matrix div {
  padding: 16px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.matrix strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-2);
}

.share-kit {
  padding: 20px;
  background: #f7f2e7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.share-grid div {
  padding: 14px;
  background: rgba(255, 253, 250, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.share-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
}

.share-grid p {
  margin: 0;
}

@media (max-width: 1080px) {
  .hero-section,
  .theme-layout,
  .section-head,
  .featured-card {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .signal-strip,
  .asset-system-grid,
  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asset-dashboard {
    grid-template-columns: 1fr;
  }

  .signal-strip div:nth-child(2) {
    border-right: 0;
  }

  .signal-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px 4px;
  }

  .nav-links a {
    min-width: 0;
    font-size: 0.8rem;
    text-align: center;
  }

  .hero-section {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 34px;
    overflow: hidden;
  }

  .hero-copy,
  .hero-lede {
    width: 100%;
    max-width: calc(100vw - 72px);
  }

  h1 {
    max-width: calc(100vw - 72px);
    font-size: 1.82rem;
    line-height: 1.16;
    word-break: break-all;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-visual img {
    aspect-ratio: 4 / 3;
  }

  .hero-visual figcaption {
    align-items: start;
    flex-direction: column;
  }

  .hero-visual strong {
    text-align: left;
  }

  .signal-strip,
  .asset-system-grid,
  .theme-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-strip div:last-child {
    border-bottom: 0;
  }

  .theme-image img {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .toolbar,
  .search-box,
  .search-box input {
    width: 100%;
  }

  .report-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .report-footer {
    align-items: start;
    flex-direction: row;
    padding-left: 0;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    border-left: 0;
    text-align: left;
  }

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

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

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