:root {
  color-scheme: light;
  --ink: #132238;
  --muted: #607086;
  --blue: #2454d6;
  --blue-dark: #153e9d;
  --line: #d9e3f0;
  --surface: rgba(255, 255, 255, .9);
  --soft: #f6f9ff;
  --shadow: 0 18px 55px rgba(30, 55, 90, .12);
  font-family: "PingFang SC", "Microsoft YaHei", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(36, 84, 214, .12), transparent 30%),
    linear-gradient(135deg, #eef4ff 0%, #f8fbff 42%, #fff7ed 100%);
}
a { color: inherit; }
.shell { width: min(100% - 36px, 1160px); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 251, 255, .82);
  border-bottom: 1px solid rgba(217, 227, 240, .9);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .1px;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #2454d6, #8b5cf6);
  box-shadow: 0 8px 20px rgba(36, 84, 214, .25);
  font-size: 15px;
}
nav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 14px; }
nav a, .text-link { color: #33445c; text-decoration: none; font-weight: 700; }
nav a:hover, .text-link:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.button {
  appearance: none;
  border: 0;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 0 18px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  text-decoration: none;
}
.button-small { min-height: 38px; padding: 0 13px; font-size: 14px; border-radius: 999px; }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 12px 26px rgba(36, 84, 214, .22); }
.button-secondary { color: var(--blue); background: #fff; border: 1px solid #cbd8e8; box-shadow: none; }
.button:disabled { opacity: .66; cursor: wait; }

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 28px;
  align-items: center;
  padding: 70px 0 54px;
}
.hero-copy, .hero-card, .product-card, .form-card, .summary-card, .modal-card {
  background: var(--surface);
  border: 1px solid rgba(217, 227, 240, .95);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.hero-copy { padding: clamp(28px, 4vw, 44px); }
.eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  color: #234bb4;
  background: #e9f0ff;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 850;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -2.2px;
}
.hero-intro {
  max-width: 690px;
  color: #4c5e74;
  font-size: 18px;
  line-height: 1.75;
}
.hero-actions, .card-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.trust-row span {
  color: #32445c;
  background: #fff;
  border: 1px solid #dbe5f1;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 700;
}

.hero-card { padding: clamp(24px, 3vw, 34px); }
.card-label { color: var(--muted); font-size: 13px; font-weight: 800; margin-bottom: 18px; }
.hero-card h2, .product-card h3 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin-bottom: 14px;
}
.hero-card p, .product-card p, .section-head p, .next-section > div > p, .summary-card li {
  color: var(--muted);
  line-height: 1.7;
}
.route-preview {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 22px;
  padding: 18px;
  border-radius: 18px;
  background: var(--soft);
  border: 1px solid #dbe5f1;
}
.route-preview span {
  color: #1f3553;
  background: #fff;
  border: 1px solid #cad8eb;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 850;
}
.route-preview i { flex: 1; min-width: 18px; height: 1px; background: #cad8eb; }

.section { padding: 76px 0; border-top: 1px solid rgba(217, 227, 240, .82); }
.section-head {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: end;
  margin-bottom: 26px;
}
.section-head.compact { display: block; max-width: 720px; }
.section-head h2, .next-section h2 {
  font-size: clamp(30px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -1.4px;
  margin-bottom: 0;
}
.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 28px;
  padding: clamp(26px, 4vw, 42px);
}
.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding: 14px 14px 14px 42px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #dbe5f1;
  color: #33445c;
  line-height: 1.55;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #12805c;
  background: #e9f5ef;
  font-weight: 900;
  font-size: 12px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.workflow-grid article {
  min-height: 220px;
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #dbe5f1;
}
.workflow-grid span, .steps-list > li > span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
}
.workflow-grid h3 { margin: 58px 0 10px; font-size: 22px; }
.workflow-grid p { color: var(--muted); line-height: 1.65; margin: 0; }

.next-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: start;
}
.form-card { padding: 24px; }
label { display: block; margin: 14px 0 8px; font-weight: 850; }
textarea, input {
  width: 100%;
  border: 1px solid #cbd8e8;
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  outline: none;
}
textarea:focus, input:focus { border-color: #8aa8ff; box-shadow: 0 0 0 4px rgba(36, 84, 214, .12); }
.form-foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
}
.form-foot p, .form-message { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0; }

.product-hero { padding: 72px 0 48px; }
.product-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 22px;
}
.summary-card { padding: 26px; }
.summary-card span { display: block; color: var(--muted); font-size: 13px; font-weight: 850; margin-bottom: 12px; }
.summary-card ul { margin: 0; padding-left: 20px; }
.steps-list { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.steps-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #dbe5f1;
}
.steps-list h3 { margin-bottom: 6px; }
.steps-list p { color: var(--muted); line-height: 1.6; margin: 0; }

.site-footer { padding: 34px 0; border-top: 1px solid rgba(217, 227, 240, .9); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; color: var(--muted); font-size: 14px; }
.footer-inner p { margin: 0; }

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, .38);
}
.modal-card {
  width: min(560px, 100%);
  padding: 22px;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 12px;
}
.modal-head h2 { margin-bottom: 8px; font-size: 28px; }
.modal-head p { color: var(--muted); line-height: 1.6; margin: 0; }
.modal-close {
  flex: 0 0 auto;
  white-space: nowrap;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #d7e0ec;
  border-radius: 12px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

@media (max-width: 900px) {
  nav { display: none; }
  .hero, .section-head, .product-card, .workflow-grid, .next-section, .product-hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 42px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 24px, 1160px); }
  .header-inner { flex-wrap: wrap; padding: 12px 0; }
  .header-actions { width: 100%; justify-content: stretch; }
  .header-actions .button { flex: 1; }
  h1 { font-size: 40px; letter-spacing: -1.2px; }
  .hero-copy, .hero-card, .product-card, .form-card, .summary-card { border-radius: 20px; padding: 20px; }
  .section { padding: 52px 0; }
  .form-foot { align-items: stretch; flex-direction: column; }
}
