:root {
  color-scheme: light;
  --paper: #f4f0e8;
  --ink: #151515;
  --muted: #69665f;
  --line: #cec7ba;
  --accent: #d94f32;
  --green: #16745c;
  --card: #fbf9f4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(21, 21, 21, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 28px;
  color: var(--ink);
  font-family: "Avenir Next", "Noto Sans SC", "PingFang SC", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.2em;
}

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

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

.brand {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
}

.hero {
  padding: 90px 0 64px;
  border-bottom: 1px solid var(--ink);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
  font-size: clamp(2.8rem, 8vw, 6.8rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 48px;
  color: var(--muted);
  font-size: 0.88rem;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--ink);
}

.quote-card {
  padding: 38px 36px 32px 0;
}

.quote-card + .quote-card {
  padding-right: 0;
  padding-left: 36px;
  border-left: 1px solid var(--ink);
}

.quote-heading,
.quote-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.symbol,
.status,
.source-line {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
}

.quote-heading h2 {
  margin: 3px 0 0;
  font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 600;
}

.status {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.quote-main {
  justify-content: flex-start;
  align-items: baseline;
  margin: 28px 0 6px;
}

.quote-main strong {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.quote-main span {
  color: var(--muted);
}

.quote-main em {
  margin-left: auto;
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 700;
}

.positive {
  color: var(--accent);
}

.negative {
  color: var(--green);
}

.sparkline {
  width: 100%;
  height: 110px;
  margin: 18px 0;
  overflow: visible;
}

.sparkline polyline {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

dl div {
  padding: 12px 8px 12px 0;
}

dt {
  color: var(--muted);
  font-size: 0.72rem;
}

dd {
  margin: 2px 0 0;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
}

.source-line {
  margin: 14px 0 0;
}

.method {
  display: grid;
  grid-template-columns: 0.8fr 1fr 2fr;
  border-bottom: 1px solid var(--ink);
}

.method div {
  padding: 25px 24px 25px 0;
}

.method div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

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

.method span {
  color: var(--muted);
  font-size: 0.72rem;
}

.method strong {
  margin-top: 5px;
  font-size: 0.86rem;
}

.report-block,
.archive,
.not-found {
  padding: 72px 0;
  border-bottom: 1px solid var(--ink);
}

.report-block > :not(.table-scroll) {
  max-width: 850px;
}

.report-block h1,
.archive h1,
.not-found h1 {
  margin: 0 0 38px;
  font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.08;
}

.report-block h2 {
  margin: 58px 0 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
  font-size: 1.8rem;
}

.report-block p,
.report-block li {
  font-size: 1rem;
}

.report-block li + li {
  margin-top: 10px;
}

.table-scroll {
  margin: 24px 0 34px;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(251, 249, 244, 0.68);
  font-size: 0.82rem;
}

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

th {
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
}

.chart-note {
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: var(--card);
  color: var(--muted);
  font-size: 0.84rem !important;
}

.archive ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.archive li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.archive li span {
  color: var(--muted);
  font-size: 0.78rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 0.75rem;
}

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

  .hero {
    padding: 60px 0 44px;
  }

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

  .quote-card,
  .quote-card + .quote-card {
    padding: 30px 0;
    border-left: 0;
  }

  .quote-card + .quote-card {
    border-top: 1px solid var(--ink);
  }

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

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

  .method div,
  .method div + div {
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  footer {
    flex-direction: column;
  }
}
