:root {
  --bg: #f6f8f3;
  --surface: #ffffff;
  --surface-soft: #f0f4eb;
  --ink: #14241d;
  --muted: #586b62;
  --primary: #0f6b4d;
  --primary-strong: #094a35;
  --accent: #f7903d;
  --accent-soft: #fff1e5;
  --line: #dde5db;
  --shadow: 0 20px 60px rgba(20, 36, 29, 0.08);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.7;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  color: #fff;
  background: var(--primary);
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(221, 229, 219, 0.82);
  background: rgba(246, 248, 243, 0.9);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(140deg, var(--primary), #35a16a);
  border-radius: 13px;
}

.brand small {
  display: block;
  margin-top: -4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.nav-cta {
  padding: 10px 20px;
  color: #fff;
  background: var(--primary);
}

.nav-cta:hover,
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(15, 107, 77, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  content: "";
  background: var(--ink);
}

.hero {
  padding: 70px 0 64px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  color: var(--primary);
  background: #e7f2ea;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
}

h1 {
  margin: 22px 0 20px;
  font-size: clamp(38px, 5.4vw, 58px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.hero h1 span {
  color: var(--primary);
}

.hero-desc {
  max-width: 570px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.btn {
  min-height: 54px;
  padding: 0 25px;
}

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

.btn-secondary {
  color: var(--primary-strong);
  border: 1px solid var(--line);
  background: var(--surface);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-row span::before {
  width: 18px;
  height: 18px;
  color: var(--primary);
  content: "✓";
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  line-height: 18px;
  background: #dcf1e4;
  border-radius: 50%;
}

.vault-visual {
  position: relative;
  min-height: 530px;
  padding: 38px;
  border: 1px solid #e5ecdf;
  border-radius: 42px;
  background: radial-gradient(circle at 80% 10%, #ffe1ca 0, transparent 32%),
    linear-gradient(145deg, #edf4e9, #ffffff 62%);
  box-shadow: var(--shadow);
}

.wallet-card {
  position: absolute;
  top: 78px;
  left: 54px;
  right: 54px;
  padding: 27px;
  color: #fff;
  background: linear-gradient(140deg, #102e24, #0f6b4d);
  border-radius: 27px;
  box-shadow: 0 28px 44px rgba(16, 46, 36, 0.23);
}

.wallet-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 42px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
}

.chip {
  width: 47px;
  height: 36px;
  background: linear-gradient(135deg, #eebe74, #fff2be);
  border-radius: 9px;
}

.masked-key {
  margin-bottom: 14px;
  font-size: 22px;
  letter-spacing: 0.12em;
}

.wallet-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.safety-note {
  position: absolute;
  right: 28px;
  bottom: 70px;
  width: 232px;
  padding: 22px;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.safety-note strong {
  display: block;
  margin: 10px 0 3px;
}

.safety-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.lock-icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  color: var(--primary);
  background: #e7f2ea;
  border-radius: 13px;
}

.stats {
  padding-bottom: 58px;
}

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

.stat {
  padding: 25px 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
}

.stat strong {
  display: block;
  color: var(--primary);
  font-size: 29px;
  line-height: 1.2;
}

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

.section {
  padding: 74px 0;
}

.section-white {
  background: var(--surface);
}

.section-header {
  max-width: 700px;
  margin-bottom: 42px;
}

.section-header h2,
.article-head h1,
.cta-panel h2 {
  margin: 12px 0 15px;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.section-header p,
.article-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

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

.feature-card {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
}

.feature-card .number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--primary);
  background: #e8f4ec;
  border-radius: 12px;
  font-weight: 700;
}

.feature-card h3 {
  margin: 0 0 9px;
  font-size: 20px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.security-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 62px;
}

.check-list {
  display: grid;
  gap: 13px;
}

.check-item {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: #fbfcfa;
  border-radius: 15px;
}

.check-item b {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 27px;
  height: 27px;
  color: var(--primary);
  background: #e7f2ea;
  border-radius: 50%;
}

.check-item strong {
  display: block;
  margin-bottom: 2px;
}

.check-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.warning {
  margin-top: 20px;
  padding: 18px 20px;
  color: #844719;
  background: var(--accent-soft);
  border-radius: 15px;
  font-size: 14px;
}

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

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 242px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
}

.article-card small {
  color: var(--primary);
  font-weight: 600;
}

.article-card h3 {
  margin: 12px 0 9px;
  font-size: 21px;
  line-height: 1.4;
}

.article-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  margin-top: auto;
  color: var(--primary);
  font-weight: 600;
}

.faq-list {
  max-width: 850px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  color: var(--ink);
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
}

.faq-button::after {
  content: "+";
  color: var(--primary);
  font-size: 25px;
}

.faq-button[aria-expanded="true"]::after {
  content: "−";
}

.faq-panel {
  padding: 0 30px 22px 0;
  color: var(--muted);
}

.cta {
  padding: 74px 0;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 52px 58px;
  color: #fff;
  background: var(--primary-strong);
  border-radius: var(--radius);
}

.cta-panel p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.73);
}

.cta-panel .btn {
  flex: 0 0 auto;
  color: var(--primary-strong);
  background: #fff;
}

.site-footer {
  padding: 50px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 34px;
  padding-bottom: 40px;
}

.footer-about {
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
}

.footer-title {
  margin: 0 0 13px;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.article-hero {
  padding: 66px 0 42px;
}

.article-head {
  max-width: 790px;
}

.breadcrumb {
  display: flex;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--primary);
}

.content-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: 48px;
  padding: 25px 0 80px;
}

.toc {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
}

.toc strong {
  display: block;
  margin-bottom: 12px;
}

.toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
}

.toc a:hover {
  color: var(--primary);
}

.prose {
  padding: 4px 0;
}

.prose h2 {
  margin: 39px 0 12px;
  font-size: 28px;
  line-height: 1.35;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 26px 0 8px;
  font-size: 20px;
}

.prose p,
.prose li {
  color: #405249;
  font-size: 16px;
}

.prose ul,
.prose ol {
  padding-left: 23px;
}

.prose li {
  padding: 4px 0;
}

.callout {
  margin: 25px 0;
  padding: 19px 22px;
  border-left: 4px solid var(--primary);
  background: #edf5ef;
  border-radius: 0 14px 14px 0;
}

.callout.warning-callout {
  color: #71401d;
  border-color: var(--accent);
  background: var(--accent-soft);
}

.comparison {
  width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.comparison th,
.comparison td {
  padding: 13px 15px;
  border: 1px solid var(--line);
  text-align: left;
}

.comparison th {
  background: var(--surface-soft);
}

.legal-panel {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
}

@media (max-width: 960px) {
  .hero-grid,
  .security-grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 38px;
  }

  .vault-visual {
    min-height: 460px;
  }

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

  .toc {
    position: static;
  }

  .cta-panel {
    display: block;
  }

  .cta-panel .btn {
    margin-top: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .nav-wrap {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    right: 16px;
    left: 16px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 13px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 17px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 9px 13px;
  }

  .nav-cta {
    margin-top: 5px;
  }

  .hero {
    padding: 42px 0 45px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 44px);
  }

  .hero-desc {
    font-size: 16px;
  }

  .vault-visual {
    min-height: 375px;
    padding: 20px;
  }

  .wallet-card {
    top: 34px;
    right: 22px;
    left: 22px;
    padding: 21px;
  }

  .safety-note {
    right: 20px;
    bottom: 27px;
    width: calc(100% - 62px);
  }

  .stats-grid,
  .cards,
  .articles {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 53px 0;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .cta {
    padding: 50px 0;
  }

  .cta-panel {
    padding: 35px 27px;
  }

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .copyright {
    flex-direction: column;
  }

  .article-hero {
    padding: 42px 0 24px;
  }
}
