:root {
  --brand: #2563eb;
  --brand-2: #7c3aed;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f6f8fc;
  --max: 1160px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .07);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
ul { padding-left: 20px; }

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

.nav-toggle { display: none; }

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

.header-inner { display: flex; align-items: center; gap: 18px; height: 64px; position: relative; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; white-space: nowrap; }

.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; color: #fff; font-size: 14px; font-weight: 800; letter-spacing: 1px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.site-nav { display: flex; gap: 2px; margin-left: auto; }
.site-nav a { padding: 8px 10px; border-radius: 9px; color: #334155; font-size: 14px; white-space: nowrap; }
.site-nav a:hover { background: #eff6ff; color: var(--brand); }
.site-nav a.active { background: #e5edff; color: var(--brand); font-weight: 600; }

.header-cta {
  padding: 9px 16px; border-radius: 10px; color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap;
  background: linear-gradient(135deg, var(--brand), #4f46e5);
}

.nav-burger { display: none; flex-direction: column; gap: 4px; padding: 8px; cursor: pointer; margin-left: auto; }
.nav-burger span { width: 20px; height: 2px; background: #334155; border-radius: 2px; }

@media (max-width: 1000px) {
  .site-nav {
    display: none; position: absolute; top: 64px; left: -20px; right: -20px; flex-direction: column;
    padding: 12px 20px 18px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(15, 23, 42, .08);
  }
  #nav-toggle:checked ~ .site-header .site-nav { display: flex; }
  .nav-burger { display: flex; }
  .header-cta { display: none; }
}

.hero {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1200px 520px at 12% -10%, #dbeafe 0%, transparent 60%),
    radial-gradient(900px 420px at 92% 0%, #ede9fe 0%, transparent 55%),
    linear-gradient(180deg, #f8fbff, #f1f5fb);
}
.hero h1 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.25; margin: 0 0 16px; letter-spacing: .4px; }
.hero .lede { font-size: 17px; color: #475569; max-width: 760px; margin: 0 0 8px; }
.eyebrow {
  display: inline-block; padding: 4px 12px; border-radius: 999px; background: #e0edff;
  color: var(--brand); font-size: 13px; font-weight: 600; margin-bottom: 14px;
}
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; color: #475569; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), #4f46e5); color: #fff; box-shadow: 0 8px 18px rgba(37, 99, 235, .25); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { background: #fff; border-color: var(--line); color: #1e293b; }

.crumbs { font-size: 13px; color: #94a3b8; padding: 16px 20px 0; }
.crumbs a { color: #64748b; }

.section { padding: 56px 0; }
.section h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 10px; }
.section .sub { color: var(--muted); margin: 0 0 28px; max-width: 780px; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius, 16px);
  padding: 22px; box-shadow: var(--shadow); transition: all .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(15, 23, 42, .1); border-color: #c7d7f7; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: #475569; font-size: 14.5px; }
.card a.more { display: inline-block; margin-top: 12px; color: var(--brand); font-weight: 600; font-size: 14px; }
.card .tag {
  display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px;
  background: #eff6ff; color: var(--brand); font-size: 12px; font-weight: 600;
}

.steps { display: grid; gap: 14px; grid-template-columns: repeat(5, 1fr); counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -12px; left: 16px; width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.step b { display: block; margin: 6px 0; font-size: 15px; }
.step span { color: #64748b; font-size: 13.5px; }

table.table {
  width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; font-size: 14.5px;
}
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid #eef2f7; text-align: left; vertical-align: top; }
.table th { background: #f1f5fb; font-weight: 600; color: #334155; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }

.faq-list { max-width: 860px; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; padding: 16px 44px 16px 18px; font-weight: 600; list-style: none; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 18px; top: 14px; color: var(--brand); font-weight: 700; font-size: 18px; }
details.faq[open] summary::after { content: "\2212"; }
details.faq .faq-body { padding: 0 18px 16px; color: #475569; font-size: 14.5px; }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 36px; border-radius: 20px; color: #fff;
  background: linear-gradient(135deg, #1d4ed8, #6d28d9);
}
.cta-band h2 { margin: 0 0 6px; font-size: 24px; color: #fff; }
.cta-band p { margin: 0; color: #dbeafe; max-width: 600px; }
.cta-band .btn-ghost { background: #fff; color: #1d4ed8; border: 0; }
.cta-band .btn-alt { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .4); }

.notice { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; padding: 14px 16px; color: #9a3412; font-size: 14px; }

.site-footer { background: #0b1220; color: #cbd5e1; margin-top: 56px; padding: 48px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.site-footer a { color: #cbd5e1; display: block; margin-bottom: 8px; font-size: 13.5px; }
.site-footer a:hover { color: #93c5fd; }
.site-footer p { color: #94a3b8; font-size: 13px; margin: 0 0 10px; max-width: 420px; }
.footer-bottom {
  border-top: 1px solid #1e293b; margin-top: 32px; padding-top: 18px; color: #64748b;
  font-size: 12.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

.form { display: grid; gap: 12px; }
.form .row { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.form label { font-size: 13px; color: #475569; font-weight: 600; display: block; margin-bottom: 6px; }
.form input, .form select {
  width: 100%; height: 46px; padding: 0 12px; font-size: 14px; font-family: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
.form input:focus, .form select:focus { outline: none; border-color: #93c5fd; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.toast { display: none; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.toast.show { display: block; }
.badge { display: inline-block; background: #eff6ff; color: #2563eb; border-radius: 8px; padding: 2px 9px; font-size: 12px; font-weight: 600; }
.lead-form { max-width: 620px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }

@media (max-width: 960px) {
  .cols-3, .cols-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cols-2, .cols-3, .cols-4, .steps { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .hero { padding: 44px 0 40px; }
  .cta-band { padding: 26px; }
}

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; }
@media (max-width: 720px) {
  .table-scroll .table { min-width: 620px; }
}
