:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #2563eb;
  --brand-2: #0ea5e9;
  --soft: #f8fafc;
  --radius: 12px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}

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

.nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

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

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: #cbd5e1;
}

.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.hero {
  padding: 72px 0 48px;
  text-align: center;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero p {
  max-width: 660px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.stats {
  padding: 8px 0 24px;
}

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

.stat {
  padding: 20px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat strong {
  display: block;
  font-size: 28px;
  letter-spacing: -0.02em;
}

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

.stats-note {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.section {
  padding: 64px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: 30px;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.feature-copy p {
  margin: 0 0 14px;
  color: var(--muted);
}

.feature-demo {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quote {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.quote mark {
  padding: 1px 3px;
  border-radius: 4px;
  background: #dbeafe;
  color: #1e3a8a;
}

.link-line {
  width: 2px;
  height: 26px;
  margin-left: 14px;
  border-left: 2px dashed var(--brand);
}

.task-mini {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.task-mini h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

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

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

.card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

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

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

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 24px 24px 24px 64px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 24px;
  left: 20px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

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

.privacy {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.privacy-list li {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--muted);
}

.faq-list {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--muted);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--muted);
}

.cta {
  padding: 72px 0;
  text-align: center;
}

.cta h2 {
  margin: 0 0 20px;
  font-size: 32px;
  letter-spacing: -0.02em;
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

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

.dl-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.dl-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

.dl-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dl-head img {
  width: 36px;
  height: 36px;
}

.dl-head h2 {
  margin: 0;
  font-size: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.badge.ready {
  background: #dcfce7;
  color: #166534;
}

.badge.building {
  background: #fef3c7;
  color: #92400e;
}

.badge.planned {
  background: #f1f5f9;
  color: #475569;
}

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

.dl-spec {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.dl-card .btn {
  margin-top: auto;
}

.web-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.web-card h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.code {
  margin: 0;
  padding: 14px 16px;
  overflow: auto;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: ui-monospace, Consolas, "Courier New", monospace;
  font-size: 13px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.spec-table th {
  background: var(--soft);
  font-weight: 500;
}

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

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

  .header-inner {
    height: 56px;
  }

  .hero {
    padding: 48px 0 36px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 15px;
  }

  .stats-grid,
  .card-grid,
  .steps,
  .privacy-list,
  .dl-grid,
  .feature-split {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .cta h2 {
    font-size: 24px;
  }
}
