:root {
  --ink: #18202a;
  --muted: #65727d;
  --paper: #f6f4ed;
  --panel: #fffdfa;
  --line: #ded8c7;
  --green: #1f7a63;
  --blue: #2d6cdf;
  --red: #c65336;
  --gold: #d79a2b;
  --shadow: 0 18px 50px rgba(37, 31, 20, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "PingFang SC", "Noto Sans SC", sans-serif;
  background:
    linear-gradient(90deg, rgba(24, 32, 42, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(24, 32, 42, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
}

a {
  color: inherit;
}

.report-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.report-hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.back-link {
  width: max-content;
  margin-bottom: 52px;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.kicker {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: 4.8rem;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.8;
}

.hero-copy strong {
  color: var(--ink);
}

.hero-grid,
.market-grid,
.strategy-grid,
.swot-grid {
  display: grid;
  gap: 16px;
}

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

.hero-grid article,
.market-card,
.competitor-card,
.strategy-grid article,
.swot-grid article,
.lead-panel,
.recommendation-panel {
  background: rgba(255, 253, 250, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-grid article {
  min-height: 128px;
  padding: 20px;
  border-radius: 8px;
}

.hero-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-grid strong {
  font-size: 1.12rem;
  line-height: 1.5;
}

.toc {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  background: rgba(246, 244, 237, 0.94);
  backdrop-filter: blur(16px);
}

.toc a {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.section-band {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.section-title {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 24px;
}

.section-title span {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 800;
}

.section-title h2 {
  margin-bottom: 0;
  font-size: 2.45rem;
  line-height: 1.16;
}

.lead-panel {
  padding: 28px;
  border-radius: 8px;
}

.lead-panel p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.lead-panel p:last-child {
  margin-bottom: 0;
}

.position-line {
  margin-top: 24px;
  padding: 28px;
  border-left: 8px solid var(--green);
  background: #e8f2ec;
  color: var(--green);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.35;
}

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

.market-card,
.strategy-grid article,
.swot-grid article,
.recommendation-panel {
  padding: 22px;
  border-radius: 8px;
}

.market-card h3,
.strategy-grid h3,
.swot-grid h3,
.recommendation-panel h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.market-card p,
.market-card li,
.strategy-grid li,
.swot-grid p,
.recommendation-panel p,
.recommendation-panel li {
  color: var(--muted);
  line-height: 1.75;
}

ul,
ol {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 8px;
}

.competitor-list {
  display: grid;
  gap: 16px;
}

.competitor-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  padding: 24px;
  border-radius: 8px;
}

.competitor-card h3 {
  margin: 12px 0;
  font-size: 1.55rem;
}

.competitor-card p {
  color: var(--muted);
  line-height: 1.75;
}

.tag {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.tag.domestic {
  background: var(--red);
}

.tag.global {
  background: var(--blue);
}

dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

dt {
  color: var(--green);
  font-weight: 800;
}

dd {
  margin: -6px 0 8px;
  color: var(--muted);
  line-height: 1.7;
}

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

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

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

th {
  background: #efe8d8;
  color: var(--ink);
}

td {
  color: var(--muted);
  line-height: 1.6;
}

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

blockquote {
  margin: 24px 0 0;
  padding: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.45;
}

.source-section {
  padding-top: 52px;
}

.source-section h2 {
  font-size: 1.8rem;
}

.source-section li {
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 960px) {
  h1 {
    font-size: 3.2rem;
  }

  .hero-grid,
  .market-grid,
  .competitor-card,
  .strategy-grid,
  .swot-grid {
    grid-template-columns: 1fr;
  }

  .report-hero {
    min-height: auto;
    padding: 56px 0;
  }
}

@media (max-width: 640px) {
  .report-shell {
    width: min(100% - 20px, 760px);
  }

  h1 {
    font-size: 2.35rem;
  }

  .section-title {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section-title h2 {
    font-size: 1.9rem;
  }

  .position-line,
  blockquote {
    font-size: 1.28rem;
  }
}
