:root {
  --ink: #132538;
  --muted: #627385;
  --navy: #102b46;
  --blue: #1f6eb3;
  --blue-soft: #eaf3fb;
  --green: #177357;
  --green-soft: #e9f6f0;
  --red: #a02e31;
  --red-soft: #fff0f0;
  --gold: #9c6a00;
  --line: #c9d5e0;
  --paper: #f5f2ea;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(16, 43, 70, 0.1);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(16, 43, 70, 0.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 43, 70, 0.027) 1px, transparent 1px),
    #fbfcfd;
  background-size: 28px 28px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--blue);
  text-underline-offset: 0.22em;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 3px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(201, 213, 224, 0.8);
  background: rgba(251, 252, 253, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 8px 20px rgba(16, 43, 70, 0.22);
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

nav a {
  color: #32485d;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--blue);
}

.header-download {
  padding: 8px 14px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

main {
  overflow: clip;
}

.hero,
.section,
footer {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(350px, 0.65fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding-block: 86px 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 26px;
  color: var(--navy);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(3.4rem, 7.2vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h1 span {
  color: var(--blue);
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 30px;
  color: #405468;
  font-size: clamp(1.04rem, 1.6vw, 1.24rem);
}

.hero-actions,
.quick-fill,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(16, 43, 70, 0.2);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
}

.as-of {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-panel {
  padding: 18px;
  border: 1px solid rgba(201, 213, 224, 0.84);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.number-card {
  min-height: 260px;
  padding: 30px;
  border-radius: 22px;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(145deg, var(--navy), #174f7b);
}

.number-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7.5rem;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.number-card span,
.number-card small {
  display: block;
}

.number-card span {
  margin-top: 18px;
  font-size: 1.25rem;
  font-weight: 800;
}

.number-card small {
  margin-top: 4px;
  color: #cfe0ef;
}

.number-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.number-grid div {
  min-height: 100px;
  padding: 16px;
  border-radius: 18px;
  background: var(--paper);
}

.number-grid strong,
.number-grid span {
  display: block;
}

.number-grid strong {
  color: var(--navy);
  font-size: 1.35rem;
}

.number-grid span {
  color: var(--muted);
  font-size: 0.82rem;
}

.section {
  padding-block: 94px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.6fr);
  column-gap: 44px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(2.2rem, 4vw, 4.15rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.verdict-section {
  padding: 66px;
  border-radius: 36px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.verdict-section .section-heading h2,
.verdict-section .section-heading > p:last-child {
  color: var(--white);
}

.verdict-section .section-heading > p:last-child {
  color: #bed1e1;
}

.verdict-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.verdict-card {
  display: flex;
  flex-direction: column;
  min-height: 480px;
  padding: 30px;
  border-radius: 24px;
  background: var(--white);
}

.verdict-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-weight: 800;
}

.status {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.yes .status {
  color: var(--green);
  background: var(--green-soft);
}

.no .status {
  color: var(--red);
  background: var(--red-soft);
}

.verdict-card h3 {
  margin: 30px 0 14px;
  color: var(--navy);
  font-size: 1.75rem;
}

.verdict-card p,
.verdict-card li {
  color: #43576a;
}

.verdict-card ul {
  padding-left: 1.25rem;
}

.verdict-card a {
  margin-top: auto;
  font-weight: 800;
}

.plain-language {
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: #dbe8f2;
  background: rgba(255, 255, 255, 0.06);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.steps-grid article {
  min-height: 260px;
  padding: 32px;
  background: var(--white);
}

.steps-grid span {
  color: #97a8b8;
  font-family: Georgia, serif;
  font-size: 2rem;
}

.steps-grid h3 {
  margin: 55px 0 8px;
  color: var(--navy);
  font-size: 1.45rem;
}

.steps-grid p {
  color: var(--muted);
}

.data-section,
.methods-section {
  position: relative;
}

.data-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 220px 180px 110px;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
}

label > span,
.search-field > span {
  display: block;
  margin-bottom: 7px;
  color: #506478;
  font-size: 0.8rem;
  font-weight: 750;
}

input,
select {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #b8c7d4;
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible,
.table-shell:focus-visible {
  outline: 3px solid rgba(31, 110, 179, 0.28);
  outline-offset: 2px;
}

.result-count {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 8px;
  border-radius: 10px;
  color: var(--white);
  background: var(--navy);
}

.result-count strong {
  font-size: 1.3rem;
}

.result-count span {
  font-size: 0.78rem;
}

.table-shell {
  overflow: auto;
  max-height: 680px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 35px rgba(16, 43, 70, 0.06);
}

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

th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 14px 16px;
  color: var(--navy);
  background: #e6eef5;
  text-align: left;
}

td {
  padding: 13px 16px;
  border-top: 1px solid #d9e1e8;
  color: #35495d;
  vertical-align: top;
}

td:first-child {
  color: var(--blue);
  font-weight: 800;
}

tbody tr:hover {
  background: #f7fafc;
}

.empty-state {
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 24px;
}

.chip-list button,
.quick-fill button {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #40566a;
  background: var(--white);
  cursor: pointer;
}

.chip-list button[aria-pressed="true"] {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
}

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

.method-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
}

.method-card .method-category {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.method-card h3 {
  margin: 30px 0 10px;
  color: var(--navy);
  font-size: 1.32rem;
}

.method-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.method-card strong {
  display: block;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #e0e6ec;
  color: #3d5266;
  font-size: 0.88rem;
}

.calculator-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 7vw, 90px);
  align-items: center;
  padding-inline: 64px;
  border-radius: 36px;
  background: var(--paper);
}

.calculator-copy h2 {
  color: var(--navy);
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(2.4rem, 4.6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.calculator-copy > p:not(.eyebrow) {
  color: #516477;
}

.quick-fill {
  margin-top: 24px;
}

.quick-fill button {
  border-color: #b6c3ce;
  background: rgba(255, 255, 255, 0.7);
}

.calculator-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.input-suffix {
  position: relative;
}

.input-suffix input {
  padding-right: 46px;
}

.input-suffix span {
  position: absolute;
  top: 50%;
  right: 14px;
  margin: 0;
  transform: translateY(-50%);
  color: var(--muted);
}

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

.calculator-result {
  margin-top: 22px;
  padding: 20px;
  border-radius: 16px;
  color: var(--white);
  background: var(--navy);
}

.calculator-result > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
}

.calculator-result > div span {
  color: #c5d6e5;
}

.calculator-result > p {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.fine-print {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.source-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sources;
  columns: 2;
  column-gap: 56px;
}

.source-list li {
  position: relative;
  break-inside: avoid;
  margin-bottom: 16px;
  padding: 0 0 16px 42px;
  border-bottom: 1px solid #dbe3ea;
  color: var(--muted);
  font-size: 0.9rem;
  counter-increment: sources;
}

.source-list li::before {
  content: counter(sources, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--green);
  font-family: Georgia, serif;
  font-weight: 800;
}

.source-list a {
  display: block;
  color: var(--navy);
  font-weight: 800;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

details {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

summary {
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin: 15px 0 0;
  color: var(--muted);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
  padding: 42px 0 54px;
  border-top: 1px solid var(--line);
}

footer p {
  max-width: 680px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-actions {
  align-items: flex-start;
  justify-content: flex-end;
}

.footer-actions a {
  font-weight: 750;
}

@media (max-width: 1050px) {
  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-panel {
    max-width: 680px;
    transform: none;
  }

  .data-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .result-count {
    justify-content: flex-start;
    padding-inline: 14px;
  }

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

  .calculator-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 62px;
    gap: 12px;
    padding-inline: 16px;
  }

  .brand > span:last-child {
    display: none;
  }

  .header-download {
    margin-left: auto;
  }

  .hero,
  .section,
  footer {
    width: min(100% - 28px, 1240px);
  }

  .hero {
    padding-block: 64px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .number-card {
    min-height: 220px;
  }

  .number-card strong {
    font-size: 6rem;
  }

  .section {
    padding-block: 66px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p:last-child {
    margin-top: 16px;
  }

  .verdict-section,
  .calculator-section {
    width: 100%;
    padding-inline: 18px;
    border-radius: 0;
  }

  .verdict-grid,
  .steps-grid,
  .method-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .verdict-card {
    min-height: 0;
  }

  .steps-grid article {
    min-height: 220px;
  }

  .data-toolbar {
    grid-template-columns: 1fr;
  }

  .source-list {
    columns: 1;
  }

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

  .calculator-result > div {
    display: block;
  }

  .calculator-result strong {
    display: block;
    margin-top: 3px;
  }

  footer {
    display: block;
  }

  .footer-actions {
    margin-top: 20px;
    justify-content: flex-start;
  }
}

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