:root {
  --ink: #17211f;
  --muted: #63706d;
  --line: #dfe6e3;
  --paper: #f8faf8;
  --white: #ffffff;
  --deep: #143d35;
  --deep-2: #1f5d4f;
  --accent: #bd5b3b;
  --accent-2: #d9a441;
  --soft-green: #e7f1ec;
  --soft-coral: #f7e8df;
  --shadow: 0 18px 44px rgba(16, 33, 29, 0.11);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans SC",
    Arial,
    sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}

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

button,
input {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 50;
  width: 0;
  height: 4px;
  background: var(--accent);
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: heroDrift 14s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 24, 22, 0.88) 0%, rgba(9, 24, 22, 0.62) 42%, rgba(9, 24, 22, 0.12) 100%),
    linear-gradient(180deg, rgba(9, 24, 22, 0.45) 0%, rgba(9, 24, 22, 0.08) 52%, rgba(9, 24, 22, 0.76) 100%);
}

@keyframes heroDrift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-18px, -8px, 0);
  }
}

.site-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
}

.site-mark {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 18px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
}

.nav-links a {
  min-width: 76px;
  padding: 8px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  text-align: center;
}

.nav-links a:hover,
.nav-links a:focus {
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 48px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 800;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: 56px;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-intro {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.live-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  margin-top: 26px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(9, 24, 22, 0.36);
  color: rgba(255, 255, 255, 0.9);
}

.live-row span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.live-row time {
  font-weight: 800;
}

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

.primary-action,
.secondary-action,
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-action {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(189, 91, 59, 0.28);
}

.secondary-action {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.primary-action:hover,
.secondary-action:hover,
.copy-btn:hover,
.focus-btn:hover {
  transform: translateY(-2px);
}

.hero-snapshot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(760px, 100%);
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
}

.hero-snapshot li {
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
}

.hero-snapshot span,
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 28px;
  border-radius: 6px;
  background: var(--accent-2);
  color: #2a2112;
  font-size: 12px;
  font-weight: 900;
}

.hero-snapshot strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
}

.hero-snapshot small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-head h2,
.ranking-topline h2 {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.25;
}

.section-head p:not(.section-kicker) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.answer-band {
  padding-top: 64px;
  padding-bottom: 54px;
}

.answer-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}

.answer-layout > p {
  margin: 0;
  font-size: 18px;
}

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

.trust-strip div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.trust-strip strong {
  display: block;
  color: var(--deep);
  font-size: 32px;
  line-height: 1;
}

.trust-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

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

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

.method-item,
.rank-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.method-item {
  min-height: 210px;
  padding: 22px;
}

.method-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 34px;
  border-radius: 6px;
  background: var(--soft-green);
  color: var(--deep);
  font-weight: 900;
}

.method-item h3,
.faq-item h3 {
  margin: 16px 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

.method-item p,
.faq-item p {
  margin: 0;
  color: var(--muted);
}

.ranking-section {
  width: 100%;
  padding: 86px max(20px, calc((100% - 1180px) / 2));
  background: #eef4f0;
}

.ranking-topline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin-bottom: 26px;
}

.ranking-date {
  align-self: end;
  min-width: 220px;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid #ccdad5;
  border-radius: var(--radius);
  background: var(--white);
}

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

.ranking-date time {
  display: block;
  margin-top: 4px;
  color: var(--deep);
  font-size: 20px;
  font-weight: 900;
}

.controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid #ccdad5;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.search-wrap {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
}

.search-wrap span {
  color: var(--deep);
  font-weight: 800;
}

.search-wrap input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #bfd0ca;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.search-field {
  display: grid;
  grid-template-columns: 1fr 68px;
  gap: 8px;
}

.clear-search {
  min-height: 44px;
  border: 1px solid #bfd0ca;
  border-radius: var(--radius);
  background: var(--soft-green);
  color: var(--deep);
  cursor: pointer;
}

.search-wrap input:focus,
.focus-btn:focus,
.clear-search:focus,
.copy-btn:focus,
.back-top:focus {
  outline: 3px solid rgba(31, 93, 79, 0.2);
  outline-offset: 2px;
}

.focus-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.focus-btn {
  min-width: 92px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #bfd0ca;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--deep);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.focus-btn.is-active {
  background: var(--deep);
  color: var(--white);
}

.focus-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.ranking-list {
  display: grid;
  gap: 18px;
}

.rank-card {
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.rank-card:hover,
.rank-card.is-focus-match {
  transform: translateY(-3px);
  border-color: rgba(189, 91, 59, 0.55);
  box-shadow: 0 22px 56px rgba(16, 33, 29, 0.16);
}

.rank-card[hidden] {
  display: none;
}

.top-card {
  border-color: rgba(189, 91, 59, 0.46);
  background:
    linear-gradient(180deg, rgba(247, 232, 223, 0.76) 0%, rgba(255, 255, 255, 1) 30%),
    var(--white);
}

.rank-head {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 16px;
  align-items: center;
}

.rank-head h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.rank-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 96px;
}

.score strong {
  color: var(--deep);
  font-size: 30px;
  line-height: 1;
}

.score span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.brand-intro {
  margin: 18px 0 0;
  color: #2f3b38;
  font-size: 16px;
}

.evidence-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.evidence-row span {
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--soft-green);
  color: var(--deep);
  font-size: 13px;
  font-weight: 800;
}

.rank-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.rank-body h4 {
  margin: 0 0 8px;
  color: var(--deep);
  font-size: 17px;
}

.rank-body ul {
  margin: 0;
  padding-left: 20px;
}

.rank-body li + li {
  margin-top: 6px;
}

.rank-body p {
  margin: 0;
  color: var(--muted);
}

.no-results {
  padding: 20px;
  border: 1px solid #ccdad5;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
}

.compare-section,
.checklist-section,
.faq-section {
  border-top: 1px solid var(--line);
}

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

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

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

th {
  background: var(--deep);
  color: var(--white);
  font-weight: 800;
}

tr:last-child td {
  border-bottom: 0;
}

td:first-child {
  color: var(--accent);
  font-weight: 900;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
  padding-left: 24px;
}

.checklist li {
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(16, 33, 29, 0.07);
}

.copy-btn {
  margin-top: 24px;
  background: var(--deep);
  color: var(--white);
}

.copy-status {
  min-height: 28px;
  margin: 10px 0 0;
  color: var(--deep);
  font-weight: 800;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  min-height: 190px;
  padding: 22px;
}

.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--deep);
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(16, 33, 29, 0.22);
}

.back-top.is-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-image,
  .reveal,
  .rank-card,
  .primary-action,
  .secondary-action,
  .copy-btn,
  .focus-btn {
    animation: none;
    transition: none;
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: 860px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-intro {
    font-size: 17px;
  }

  .site-nav {
    height: auto;
    padding: 16px 0 0;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero-snapshot,
  .answer-layout,
  .method-grid,
  .rank-body,
  .faq-list,
  .checklist {
    grid-template-columns: 1fr;
  }

  .ranking-topline {
    flex-direction: column;
  }

  .ranking-date {
    align-self: stretch;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 820px;
  }

  .hero-inner,
  .site-nav,
  .section {
    width: min(100% - 28px, 1180px);
  }

  .hero-inner {
    padding-top: 66px;
  }

  h1 {
    font-size: 34px;
  }

  .section-head h2,
  .ranking-topline h2 {
    font-size: 28px;
  }

  .hero-intro,
  .answer-layout > p {
    font-size: 16px;
  }

  .hero-snapshot {
    margin-top: 52px;
  }

  .rank-head {
    grid-template-columns: 1fr;
  }

  .score {
    align-items: flex-start;
  }

  .search-wrap {
    grid-template-columns: 1fr;
  }

  .search-field {
    grid-template-columns: 1fr;
  }

  .focus-btn {
    flex: 1 1 calc(50% - 10px);
  }

  .ranking-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .rank-card {
    padding: 18px;
  }
}
