:root {
  --ink: #142033;
  --muted: #607086;
  --line: #dce4ef;
  --soft: #f5f8fc;
  --blue: #2563eb;
  --blue-soft: #eaf1ff;
  --green: #0f9f72;
  --green-soft: #e8f7f1;
  --orange: #f59e0b;
  --orange-soft: #fff4df;
  --purple: #7547ff;
  --purple-soft: #f0ecff;
  --red: #e05252;
  --red-soft: #ffecec;
  --surface: #ffffff;
  --shadow: 0 18px 50px rgba(31, 45, 72, 0.10);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(37, 99, 235, 0.13), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(15, 159, 114, 0.12), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  line-height: 1.7;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 228, 239, 0.88);
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.brand span {
  display: block;
  line-height: 1.2;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--blue);
  text-decoration: none;
}

.wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 42px;
  padding: 70px 0 46px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #115e48;
  background: var(--green-soft);
  border: 1px solid rgba(15, 159, 114, 0.18);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.02;
  margin: 24px 0 20px;
  letter-spacing: 0;
}

.lead {
  color: var(--muted);
  font-size: 20px;
  max-width: 720px;
  margin: 0;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.25);
}

.button:hover {
  color: #fff;
  text-decoration: none;
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.phone-preview {
  aspect-ratio: 9 / 16;
  border-radius: 34px;
  border: 10px solid #182033;
  background:
    linear-gradient(rgba(15, 31, 55, 0.18), rgba(15, 31, 55, 0.08)),
    url("./flows/01_app_run_overview.png") center / cover;
  overflow: hidden;
  position: relative;
}

.phone-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.78));
}

.preview-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(220, 228, 239, 0.9);
}

.preview-caption strong {
  display: block;
  font-size: 20px;
}

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

.section {
  padding: 54px 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.section-intro {
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 18px;
  max-width: 820px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(31, 45, 72, 0.06);
}

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

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

.card ul,
.policy ul,
.policy ol {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  color: #1d3557;
  background: var(--blue-soft);
  font-size: 13px;
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.step-number {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #fff;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

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

.flow-card {
  padding: 0;
  overflow: hidden;
}

.flow-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.flow-card .card-body {
  padding: 18px;
}

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

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

.spec-table th {
  width: 230px;
  color: var(--ink);
  background: var(--soft);
}

.spec-table td {
  color: var(--muted);
}

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

.notice {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  background: var(--orange-soft);
  color: #724209;
}

.policy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.policy h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 5vw, 52px);
}

.policy h2 {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 26px;
}

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

.site-footer {
  margin-top: 54px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  color: var(--muted);
}

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

code {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 7px;
  color: #0f3d8a;
  background: var(--blue-soft);
  font-family: Consolas, "Courier New", monospace;
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 38px;
  }

  .hero-panel {
    max-width: 480px;
  }

  .grid.cards,
  .grid.two,
  .flow-grid {
    grid-template-columns: 1fr;
  }

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

  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }

  .spec-table th {
    border-bottom: 0;
    padding-bottom: 6px;
  }

  .spec-table td {
    padding-top: 6px;
  }
}

