:root {
  --brand: #1a56db;
  --brand-soft: #eef2ff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-dark: #0b1220;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 8px 24px -8px rgba(15, 23, 42, .18);
  --wrap: 1120px;
  --font: "Inter", system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  background: var(--bg); line-height: 1.7; font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); margin: 0 0 12px;
}
h1, h2, h3, h4 { margin: 0; letter-spacing: -.01em; line-height: 1.3; }
h1 { font-size: 44px; font-weight: 750; }
h2 { font-size: 30px; font-weight: 700; }
h3 { font-size: 17px; font-weight: 650; }
p { margin: 0 0 14px; }
.lead { font-size: 17px; color: var(--ink-2); }
.muted { color: var(--muted); }

/* ── header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, #1a56db, #0ea5e9);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px;
  box-shadow: 0 4px 12px -2px rgba(26, 86, 219, .45);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.25; }
.brand-copy strong { font-size: 15.5px; font-weight: 700; }
.brand-copy span { font-size: 12px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink-2); font-size: 14px; font-weight: 500; padding: 8px 12px;
  border-radius: 8px; text-decoration: none;
}
.nav a:hover { background: var(--bg-soft); color: var(--ink); }
.nav .nav-cta {
  margin-left: 8px; background: var(--brand); color: #fff; font-weight: 600;
  padding: 9px 18px; box-shadow: var(--shadow-sm);
}
.nav .nav-cta:hover { background: #1548b8; color: #fff; }
.nav-toggle { display: none; }

/* ── hero ── */
.hero {
  position: relative; overflow: hidden; color: #e6edf7;
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(26, 86, 219, .45), transparent 60%),
    radial-gradient(700px 380px at 88% 8%, rgba(14, 165, 233, .28), transparent 60%),
    var(--bg-dark);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 78%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 92px; padding-bottom: 96px; }
.hero h1 { color: #fff; max-width: 760px; text-wrap: balance; }
.hero .lead { color: #b6c6de; max-width: 620px; margin-top: 18px; font-size: 17.5px; }
.hero-eyebrow { color: #7dd3fc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px; border-radius: 10px; font-size: 15px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; transition: .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: #fff; color: #0b1220; }
.btn-primary:hover { background: #e8eefb; }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #e6edf7; }
.btn-ghost:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: #1548b8; }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: #cbd5e1; background: var(--bg-soft); }

.hero-stats {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stats .stat { padding: 26px 28px 0 0; }
.hero-stats .stat + .stat { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.1); }
.hero-stats strong { display: block; font-size: 26px; font-weight: 750; color: #fff; letter-spacing: -.02em; }
.hero-stats span { font-size: 13px; color: #93a7c4; }

/* ── sections ── */
section.block { padding: 84px 0; }
section.block.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }

/* ── service cards ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 26px 26px 22px; display: flex; flex-direction: column;
  transition: .2s ease; box-shadow: var(--shadow-sm);
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #c7d5ee; }
.svc-icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 18px;
}
.svc-icon svg { width: 21px; height: 21px; }
.svc h3 { margin-bottom: 8px; }
.svc p { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.svc-foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.svc-price { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.svc-price small { font-size: 12.5px; font-weight: 400; color: var(--muted); margin-left: 3px; }
.svc-term { font-size: 12.5px; color: var(--muted); }

/* ── process ── */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 20px 0 0; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: 13px; font-weight: 700; color: var(--brand);
  letter-spacing: .08em; margin-bottom: 14px;
}
.step::after {
  content: ""; position: absolute; top: 6px; left: 34px; right: 8px; height: 1px;
  background: linear-gradient(to right, #c7d5ee, transparent);
}
.step:last-child::after { display: none; }
.step h4 { font-size: 15px; font-weight: 650; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ── capability list ── */
.caps { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.cap-list { list-style: none; padding: 0; margin: 0; }
.cap-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cap-list li:first-child { padding-top: 0; }
.cap-list li:last-child { border-bottom: 0; }
.cap-list .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft);
  color: var(--brand); display: grid; place-items: center; margin-top: 3px;
}
.cap-list .tick svg { width: 13px; height: 13px; }
.cap-list b { display: block; font-size: 15px; font-weight: 650; margin-bottom: 2px; }
.cap-list span { font-size: 14px; color: var(--muted); }
.panel {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 26px; box-shadow: var(--shadow-sm);
}
.panel + .panel { margin-top: 18px; }
.panel h4 { font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.stack { display: flex; flex-wrap: wrap; gap: 8px; }
.stack span {
  font-size: 13px; color: var(--ink-2); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px;
}
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.metric { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #fff; }
.metric strong { display: block; font-size: 22px; font-weight: 750; letter-spacing: -.02em; }
.metric span { font-size: 12.5px; color: var(--muted); }

/* ── faq ── */
.faq { max-width: 820px; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  padding: 0 22px; margin-bottom: 12px;
}
.faq details[open] { border-color: #c7d5ee; box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 15px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 20px; font-weight: 400; color: var(--muted);
  transition: transform .2s ease; flex: none;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); font-size: 14px; margin: 0 0 20px; max-width: 680px; }

/* ── cta ── */
.cta-band {
  background: linear-gradient(135deg, #0b1220, #13294f);
  color: #fff; border-radius: 18px; padding: 52px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-band h2 { color: #fff; font-size: 27px; margin-bottom: 10px; }
.cta-band p { color: #a9bcd8; margin: 0; max-width: 520px; }
.cta-band .btn { flex: none; }

/* ── footer ── */
.site-footer { background: #0b1220; color: #93a7c4; padding: 56px 0 30px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand-copy span { color: #7d92b0; }
.site-footer h5 { margin: 0 0 14px; font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .06em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #93a7c4; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: 13px; color: #7d92b0;
}
.footer-bottom a { color: #93a7c4; }

/* ── legal pages ── */
.legal-hero {
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
  padding: 56px 0 44px;
}
.legal-hero h1 { font-size: 34px; }
.legal-hero p { color: var(--muted); margin: 12px 0 0; max-width: 680px; }
.legal { padding: 56px 0 72px; }
.legal .wrap { max-width: 880px; }
.legal h2 { font-size: 20px; margin: 38px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); font-size: 14.6px; }
.legal ul { padding-left: 22px; margin: 0 0 14px; }
.legal li { margin-bottom: 8px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0 18px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--muted); font-weight: 600; background: var(--bg-soft); }
.legal .updated { color: var(--muted); font-size: 13px; margin-top: 40px; }

@media (max-width: 960px) {
  h1 { font-size: 34px; }
  h2 { font-size: 25px; }
  .hero .wrap { padding-top: 64px; padding-bottom: 72px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .step::after { display: none; }
  .caps { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  h1 { font-size: 29px; }
  h2 { font-size: 22px; }
  section.block { padding: 56px 0; }
  .site-header .wrap { height: 60px; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 60px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 12px 16px 18px; gap: 2px;
    box-shadow: var(--shadow-md);
  }
  .nav.open .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
  .nav-toggle {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px;
    border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink);
  }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; gap: 24px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .stat { padding: 20px 16px 0 0; }
  .hero-stats .stat + .stat { padding-left: 16px; }
  .hero-stats strong { font-size: 21px; }
  .metric-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { padding: 32px 24px; }
  .legal-hero { padding: 40px 0 32px; }
  .legal { padding: 36px 0 56px; }
}
