:root {
  --background: #f6f7f4;
  --foreground: #111111;
  --card: #ffffff;
  --secondary: #eef1eb;
  --muted-foreground: #767676;
  --disabled-foreground: #8a8a8a;
  --primary: #15803d;
  --primary-foreground: #ffffff;
  --soft-green: #dcfce7;
  --border: #e7eae5;
  --info: #2563eb;
  --level-0: #0e7490;
  --level-3: #8a5cf6;
  --primary-glow: rgba(21, 128, 61, 0.16);
  --shadow-sm: 0 1px 3px 0 rgba(17, 17, 17, 0.04),
    0 1px 2px -1px rgba(17, 17, 17, 0.04);
  --shadow-lg: 0 4px 10px -2px rgba(17, 17, 17, 0.06),
    0 2px 4px -2px rgba(17, 17, 17, 0.04);
  --shadow-xl: 0 8px 18px -4px rgba(17, 17, 17, 0.07),
    0 4px 8px -4px rgba(17, 17, 17, 0.05);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #080808;
    --foreground: #f5f5f5;
    --card: #151515;
    --secondary: #0f0f10;
    --muted-foreground: #858585;
    --disabled-foreground: #7a7a7a;
    --primary: #1ed760;
    --primary-foreground: #080808;
    --soft-green: rgba(30, 215, 96, 0.14);
    --border: rgba(245, 245, 245, 0.1);
    --info: #5ea1ff;
    --level-0: #06b6d4;
    --level-3: #8a5cf6;
    --primary-glow: rgba(30, 215, 96, 0.12);
    --shadow-sm: none;
    --shadow-lg: none;
    --shadow-xl: 0 0 12px rgba(30, 215, 96, 0.12);
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100dvh;
  margin: 0;
  color: var(--foreground);
  background: linear-gradient(
    180deg,
    var(--background) 0%,
    var(--secondary) 100%
  );
  font-family: Inter, "HarmonyOS Sans SC", "PingFang SC",
    "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.header,
.hero,
.footer,
.container,
.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--border);
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.brand-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.brand-subtitle {
  margin: 2px 0 0;
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.3;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--foreground);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

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

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

.main {
  flex: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: 42px 0 56px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

h1 {
  max-width: 780px;
  margin: 18px 0 0;
  font-size: clamp(36px, 6.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.lead {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--muted-foreground);
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.8;
}

.entity-bar {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted-foreground);
}

.entity-bar strong {
  color: var(--foreground);
  font-weight: 700;
}

.section {
  padding: 42px 0 56px;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px;
}

.section-subtitle {
  color: var(--muted-foreground);
  font-size: 15px;
  margin: 0 0 24px;
  line-height: 1.7;
}

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

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 14.5px;
  line-height: 1.75;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.info-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
}

.info-item dt {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-bottom: 4px;
}

.info-item dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--foreground);
}

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

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list strong {
  min-width: 84px;
  color: var(--muted-foreground);
  font-weight: 600;
  font-size: 14px;
}

.feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.feature:last-child {
  border-bottom: 0;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--secondary);
  color: var(--foreground);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
}

.feature h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.feature p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 14.5px;
  line-height: 1.7;
}

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 680px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
}

.notice p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 14.5px;
  line-height: 1.7;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.stat {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
}

.stat strong {
  display: block;
  color: var(--foreground);
  font-size: 22px;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.4;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding: 28px 0 36px;
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.65;
  border-top: 1px solid var(--border);
}

.footer-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.footer-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  margin-right: 12px;
}

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

.footer-icp {
  color: var(--muted-foreground);
  text-decoration: none;
}

.footer-icp:hover {
  color: var(--foreground);
}

.legal-content h2 {
  font-size: 20px;
  margin: 32px 0 10px;
}

.legal-content h2:first-child {
  margin-top: 8px;
}

.legal-content p,
.legal-content li {
  color: var(--muted-foreground);
  font-size: 15px;
  line-height: 1.85;
}

.legal-content ul {
  padding-left: 20px;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .header,
  .hero,
  .footer,
  .container,
  .section {
    width: min(100% - 24px, 1120px);
  }

  .header {
    align-items: flex-start;
    padding-top: 14px;
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    order: 3;
    gap: 16px;
    padding-top: 8px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand-subtitle {
    display: none;
  }

  h1 {
    font-size: clamp(30px, 10vw, 46px);
  }

  .lead {
    font-size: 15.5px;
  }

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

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
