:root {
  color-scheme: light;
  --green: #2f8f4a;
  --deep-green: #123f35;
  --mint: #68d4bd;
  --line: #dfe8e4;
  --paper: #ffffff;
  --text: #1d2b29;
  --muted: #667774;
  --bg: #eef3f0;
  --shadow: 0 10px 28px rgba(18, 63, 53, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  -webkit-font-smoothing: antialiased;
}

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-shell {
  width: 100%;
  max-width: 750px;
  min-width: 320px;
  min-height: 100dvh;
  margin: 0 auto;
  position: relative;
  background: #f7faf8;
  box-shadow: 0 0 0 1px rgba(18, 63, 53, 0.04);
  padding-bottom: 86px;
}

.hero-banner {
  position: relative;
  height: clamp(230px, 46vw, 350px);
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(6, 32, 30, 0.98) 0%, rgba(8, 39, 36, 0.94) 27%, rgba(8, 39, 36, 0.42) 46%, rgba(8, 39, 36, 0.04) 72%), url("assets/banner.jpg");
  background-size: 100% 100%, 1180px auto;
  background-position: center, 52% 70%;
  background-repeat: no-repeat;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 28, 26, 0.18), rgba(4, 28, 26, 0.1) 48%, rgba(4, 28, 26, 0.45));
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  z-index: 1;
  left: clamp(24px, 7vw, 52px);
  top: clamp(54px, 12vw, 92px);
  width: min(58%, 440px);
  color: #fff;
}

.hero-copy::before {
  content: "";
  display: block;
  width: min(270px, 62vw);
  height: 1px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, rgba(124, 223, 219, 0.9), rgba(255, 255, 255, 0.7), rgba(124, 223, 219, 0));
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 10vw, 76px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.42);
}

.hero-copy p {
  margin: 22px 0 0;
  padding-left: 16px;
  border-left: 3px solid #8fe8ff;
  font-size: clamp(16px, 4vw, 26px);
  line-height: 1.45;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.content-area {
  padding: 14px 12px 0;
}

.status-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(18, 63, 53, 0.06);
  font-size: 13px;
  color: var(--muted);
}

.status-strip strong {
  margin-left: auto;
  color: var(--deep-green);
  font-size: 12px;
  white-space: nowrap;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #33a45d;
  box-shadow: 0 0 0 4px rgba(51, 164, 93, 0.16);
  flex: 0 0 auto;
}

.accordion {
  border-top: 1px solid var(--line);
}

.trace-section {
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.trace-section summary {
  min-height: 56px;
  padding: 0 44px 0 52px;
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
  color: #0b251f;
  font-size: 17px;
  font-weight: 700;
  user-select: none;
}

.trace-section summary::-webkit-details-marker {
  display: none;
}

.trace-section summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid #6a7b78;
  border-bottom: 2px solid #6a7b78;
  position: absolute;
  right: 20px;
  top: 22px;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.trace-section[open] summary::after {
  transform: rotate(225deg);
  top: 26px;
}

.section-icon {
  position: absolute;
  left: 17px;
  top: 17px;
  width: 24px;
  height: 24px;
  color: var(--green);
}

.section-body {
  padding: 6px 18px 20px;
  background: #fff;
  font-size: 14px;
  line-height: 1.75;
}

.data-list p,
.source-block p {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin: 4px 0;
}

.data-list b,
.source-block b {
  flex: 0 0 auto;
  color: #0c332d;
  font-weight: 700;
}

.data-list span,
.source-block span {
  min-width: 0;
  color: #33433f;
}

.source-block + .source-block {
  margin-top: 12px;
}

.source-block h3 {
  margin: 0 0 6px;
  color: #0c332d;
  font-size: 15px;
}

.ordered-list {
  margin: 0;
  padding-left: 20px;
}

.ordered-list li {
  margin: 7px 0;
  padding-left: 2px;
}

.ordered-list li span {
  display: block;
  margin-top: 2px;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 18px;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 0 0 16px 16px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #74c96f;
  box-shadow: 0 0 0 4px rgba(116, 201, 111, 0.18);
  z-index: 1;
}

.timeline li::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 19px;
  width: 2px;
  height: calc(100% - 12px);
  background: #e3e8e5;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li:last-child::before {
  background: var(--green);
}

.timeline li:last-child::after {
  display: none;
}

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

.timeline strong {
  color: #111f1c;
  font-weight: 700;
}

.timeline span {
  color: #52625e;
  font-size: 13px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  width: 100%;
  max-width: 750px;
  min-width: 320px;
  height: 72px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 22px rgba(18, 63, 53, 0.08);
  backdrop-filter: blur(14px);
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #6a7875;
  font-size: 12px;
  font-weight: 700;
}

.bottom-nav svg {
  width: 24px;
  height: 24px;
}

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

.company-content {
  padding-bottom: 10px;
}

.article-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px 18px 20px;
  box-shadow: var(--shadow);
}

.article-panel h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: #101f1c;
  font-size: 18px;
  font-weight: 800;
}

.article-panel h2::before {
  content: "";
  width: 28px;
  height: 10px;
  background: linear-gradient(90deg, #2f8f4a 0 60%, #7ee6dc 60% 100%);
}

.article-panel p {
  margin: 0 0 12px;
  color: #2c3b38;
  font-size: 14px;
  line-height: 1.85;
  text-align: justify;
  text-indent: 2em;
}

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

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

.metric-box {
  min-height: 98px;
  padding: 14px;
  background: linear-gradient(145deg, #ffffff, #edf8f4);
  border: 1px solid #dcece6;
  box-shadow: 0 8px 20px rgba(18, 63, 53, 0.08);
}

.metric-box strong {
  display: block;
  color: var(--green);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
}

.metric-box span {
  display: block;
  margin-top: 6px;
  color: #51615d;
  font-size: 13px;
  line-height: 1.45;
}

.certificate {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: 26px 20px 88px;
  border: 1px solid #ccd8d4;
  background:
    linear-gradient(135deg, rgba(47, 143, 74, 0.08), transparent 42%),
    repeating-linear-gradient(0deg, rgba(18, 63, 53, 0.04) 0 1px, transparent 1px 26px),
    #fff;
}

.cert-label {
  position: absolute;
  right: 18px;
  top: 18px;
  color: rgba(47, 143, 74, 0.14);
  font-size: 52px;
  line-height: 1;
  font-weight: 900;
}

.certificate h2 {
  margin: 34px 0 18px;
  text-align: center;
  color: #102820;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 0;
}

.cert-result {
  margin: 0 auto 22px;
  max-width: 460px;
  text-align: center;
  color: #39504b;
  line-height: 1.7;
}

.cert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 18px;
}

.cert-grid p {
  display: flex;
  gap: 12px;
  margin: 0;
  padding-bottom: 7px;
  border-bottom: 1px dashed #cad8d3;
}

.cert-grid b {
  flex: 0 0 76px;
  color: #0d322a;
}

.cert-grid span {
  min-width: 0;
  color: #2c3c38;
}

.seal {
  position: absolute;
  right: 24px;
  bottom: 18px;
  width: 86px;
  height: 86px;
  border: 3px solid rgba(192, 43, 43, 0.74);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(192, 43, 43, 0.82);
  font-weight: 800;
  line-height: 1.4;
  transform: rotate(-12deg);
}

.report-card {
  border: 1px solid #d8e4e0;
  background: #fff;
  overflow: hidden;
}

.report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #123f35, #2f8f4a);
  color: #fff;
}

.report-head h2 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 900;
}

.report-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.report-head strong {
  flex: 0 0 auto;
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.qc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.45;
}

.qc-table th,
.qc-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #e4ebe8;
  border-right: 1px solid #e4ebe8;
  text-align: left;
  vertical-align: top;
}

.qc-table th:last-child,
.qc-table td:last-child {
  border-right: 0;
}

.qc-table th {
  color: #0c3029;
  background: #eef6f2;
  font-weight: 800;
  white-space: nowrap;
}

.qc-table td:last-child {
  color: var(--green);
  font-weight: 800;
  white-space: nowrap;
}

.report-note {
  margin: 0;
  padding: 12px 14px 14px;
  color: #687874;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .hero-banner {
    height: 236px;
    background-size: 100% 100%, 760px auto;
    background-position: center, 50% 70%;
  }

  .hero-copy {
    top: 48px;
    width: 66%;
  }

  .hero-copy::before {
    margin-bottom: 18px;
  }

  .hero-copy p {
    width: min(260px, 74vw);
  }

  .status-strip {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .status-strip strong {
    margin-left: 17px;
    width: 100%;
  }

  .trace-section summary {
    font-size: 16px;
  }

  .section-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .data-list p,
  .source-block p {
    display: block;
  }

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

  .qc-table {
    font-size: 11px;
  }

  .qc-table th,
  .qc-table td {
    padding: 8px 5px;
  }
}

@media (min-width: 680px) {
  .content-area {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-banner {
    background-size: 100% 100%, 1220px auto;
    background-position: center, 52% 70%;
  }
}
