:root {
  --ink: #14213d;
  --muted: #596579;
  --line: #d8e2ef;
  --paper: #f7fafc;
  --white: #ffffff;
  --green: #1b7f5f;
  --teal: #0f766e;
  --gold: #b7791f;
  --red: #c2410c;
  --shadow: 0 18px 45px rgba(20, 33, 61, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

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

p, li, dd, td, th, strong, small, a {
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand-logo {
  display: block;
  width: 164px;
  height: auto;
}

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

.brand strong,
.brand small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 20px;
  color: #344054;
  font-size: 14px;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(44px, 8vw, 92px) clamp(18px, 5vw, 72px) 34px;
  background:
    linear-gradient(135deg, rgba(27, 127, 95, 0.11), rgba(183, 121, 31, 0.08)),
    linear-gradient(180deg, #fff, #f2f8f7);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(52px, 8vw, 92px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  color: #344054;
  font-size: clamp(17px, 2vw, 20px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--green);
  border-radius: 8px;
  font-weight: 700;
}

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

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

.hero-panel,
.metrics article,
.cards article,
.calculator,
.keyword-grid > div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: clamp(22px, 4vw, 34px);
}

.panel-head,
.toolbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-head {
  margin-bottom: 18px;
  font-weight: 800;
}

.panel-head time { color: var(--muted); font-size: 14px; }

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
}

.summary-grid div {
  padding: 14px;
  background: #f5f8fb;
  border: 1px solid #e7eef7;
  border-radius: 8px;
}

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

dd {
  margin: 3px 0 0;
  font-weight: 800;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px) 12px;
}

.parameter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.parameter-grid article {
  min-height: 176px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.parameter-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.parameter-grid strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 24px;
  line-height: 1.2;
}

.parameter-grid small {
  display: block;
  color: var(--muted);
}

.parameter-grid .pending strong {
  color: var(--gold);
  font-size: 20px;
}

.source-stack {
  display: grid;
  gap: 5px;
  margin-top: 12px;
}

.source-stack a {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}

.metrics article { padding: 18px; }

.metrics span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.metrics strong {
  display: block;
  margin: 8px 0 2px;
  font-size: 28px;
}

.metrics small { color: var(--muted); }

.section {
  padding: clamp(44px, 7vw, 80px) clamp(18px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.section-title {
  max-width: 860px;
  margin-bottom: 24px;
}

.toolbar {
  justify-content: flex-start;
  margin-bottom: 14px;
}

select,
input {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c9d6e6;
  border-radius: 8px;
}

.toolbar select {
  width: min(240px, 100%);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

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

th {
  color: #fff;
  background: #264653;
  font-weight: 700;
}

tbody tr:nth-child(even) { background: #f8fbfd; }

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

.cards .section-title,
.seo .section-title { grid-column: 1 / -1; }

.cards article,
.keyword-grid > div { padding: 22px; }

.profit {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  background: #eef7f4;
}

.calculator {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
}

.calculator label {
  color: var(--muted);
  font-size: 14px;
}

.calculator output {
  grid-column: 1 / -1;
  padding: 18px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-size: 22px;
  font-weight: 800;
}

.trend {
  background: #fff;
}

.trend .section-title p:not(.eyebrow) {
  color: #344054;
}

.trend-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 18px;
  align-items: stretch;
}

.chart-shell {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background:
    linear-gradient(#e5edf6 1px, transparent 1px),
    linear-gradient(90deg, #e5edf6 1px, transparent 1px);
  background-size: 100% 52px, 92px 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.chart-line {
  position: absolute;
  inset: 48px 36px 70px;
  border-bottom: 5px solid var(--gold);
  border-left: 5px solid transparent;
  transform: skewY(-8deg);
}

.chart-bars {
  position: absolute;
  inset: 34px 24px 62px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.chart-bar {
  position: relative;
  flex: 1;
  min-width: 16px;
  background: linear-gradient(180deg, #2a9d8f, #1b7f5f);
  border-radius: 6px 6px 0 0;
}

.chart-bar em {
  position: absolute;
  left: 50%;
  top: -24px;
  transform: translateX(-50%);
  color: var(--ink);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.chart-bar span {
  position: static;
  display: block;
  transform: translateY(24px);
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  white-space: nowrap;
}

.chart-shell > span {
  position: absolute;
  left: 28px;
  bottom: 20px;
  color: #344054;
  font-weight: 700;
}

.forecast-panel {
  padding: 20px;
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.forecast-panel h3 {
  color: var(--ink);
}

.forecast-panel p {
  color: #344054;
  font-size: 14px;
}

.forecast-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.forecast-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #e5edf6;
  color: #344054;
  font-size: 14px;
}

.forecast-row strong {
  color: var(--green);
  white-space: nowrap;
}

.seo {
  background: #f4f0e8;
}

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

.notice {
  padding-top: 38px;
  padding-bottom: 38px;
  background: #20313a;
  color: #fff;
}

.notice p {
  max-width: 980px;
  color: #e7eef7;
}

.source-link {
  display: inline-block;
  color: var(--teal);
  font-weight: 700;
}

.table-note {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  color: #fff;
  background: var(--green);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.news-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.news-list a {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.news-list a:hover { color: var(--teal); }

.footer {
  padding: 22px clamp(18px, 5vw, 72px);
  color: #667085;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer p { margin: 0; }

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .nav a {
    flex: 0 0 auto;
    padding: 6px 10px;
    background: #f4f7fa;
    border: 1px solid #e4edf5;
    border-radius: 999px;
  }

  .hero,
  .split,
  .profit,
  .trend-layout { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .parameter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards,
  .keyword-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
    width: 100%;
  }

  .brand-logo {
    width: min(132px, 54vw);
    max-height: 34px;
    object-fit: contain;
    object-position: left center;
  }

  .nav {
    gap: 8px;
    font-size: 13px;
  }

  .hero {
    padding: 24px 14px 18px;
    gap: 16px;
  }

  h1 {
    margin-bottom: 12px;
    font-size: 42px;
  }

  h2 {
    font-size: 25px;
  }

  h3 {
    font-size: 18px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .button {
    min-height: 42px;
  }

  .hero-panel {
    padding: 16px;
  }

  .panel-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .summary-grid,
  .metrics,
  .parameter-grid,
  .calculator { grid-template-columns: 1fr; }

  .metrics {
    gap: 10px;
    padding: 14px;
  }

  .metrics article,
  .parameter-grid article,
  .cards article,
  .keyword-grid > div {
    padding: 16px;
  }

  .metrics strong,
  .parameter-grid strong {
    font-size: 21px;
    line-height: 1.25;
  }

  .parameter-grid article {
    min-height: auto;
    display: block;
  }

  .parameter-grid small {
    margin-top: 8px;
    line-height: 1.5;
  }

  .section {
    padding: 34px 14px;
  }

  .section-title {
    margin-bottom: 16px;
  }

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

  .toolbar select {
    width: 100%;
  }

  .table-wrap {
    margin-inline: -14px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  table {
    min-width: 760px;
  }

  th, td {
    padding: 11px 12px;
    font-size: 13px;
  }

  .calculator {
    padding: 16px;
  }

  .calculator output {
    padding: 14px;
    font-size: 17px;
  }

  .chart-shell {
    min-height: 238px;
    margin-inline: -2px;
  }

  .forecast-panel {
    padding: 16px;
  }

  .forecast-row {
    font-size: 13px;
  }

  .chart-bars {
    inset: 44px 12px 72px;
    gap: 4px;
  }

  .chart-bar {
    min-width: 10px;
  }

  .chart-bar em {
    top: -20px;
    font-size: 10px;
  }

  .chart-bar span {
    display: block;
    font-size: 9px;
  }

  .chart-shell > span {
    left: 16px;
    right: 16px;
    bottom: 16px;
    font-size: 12px;
  }

  .source-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .source-stack a {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 4px 7px;
    background: #eef7f4;
    border: 1px solid #d3ebe5;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.25;
  }

  .news-list a {
    font-size: 13px;
  }

  .hero-actions .button { width: 100%; }
  .footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 380px) {
  h1 { font-size: 42px; }

  .eyebrow {
    font-size: 12px;
  }

  .summary-grid div {
    padding: 12px;
  }

  .metrics strong,
  .parameter-grid strong {
    font-size: 20px;
  }
}
