:root {
  --bg: #f6f8fc;
  --card: #ffffff;
  --text: #172033;
  --muted: #5c667a;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --line: #e5e9f2;
  --shadow: 0 24px 70px rgba(23, 32, 51, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 7vw;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(229, 233, 242, 0.9);
  backdrop-filter: blur(14px);
}

.brand, .nav-links { display: flex; align-items: center; }
.brand { gap: 10px; font-weight: 800; letter-spacing: 0.2px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #06b6d4);
}
.nav-links { gap: 24px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--primary); }

.block {
  min-height: 78vh;
  padding: 92px 7vw;
  display: grid;
  align-items: center;
}
.hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  gap: 56px;
  background:
    radial-gradient(circle at 82% 18%, rgba(37, 99, 235, 0.16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 860px; margin-bottom: 24px; font-size: clamp(36px, 5.3vw, 68px); line-height: 1.08; letter-spacing: -0.05em; }
h2 { margin-bottom: 14px; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.16; letter-spacing: -0.04em; }
h3 { margin-bottom: 12px; font-size: 24px; }
.hero-text, .section-heading p, .service-card p, .timeline p, .site-footer p { color: var(--muted); }
.hero-text { max-width: 720px; margin-bottom: 34px; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
}
.btn-primary { color: #fff; background: var(--primary); box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { color: var(--primary); background: #eef4ff; }

.hero-card {
  min-height: 340px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(237,244,255,0.82));
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.card-label { color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.hero-card strong { margin: 12px 0; font-size: 34px; line-height: 1.12; }
.hero-card p { margin: 0; color: var(--muted); }

.section-heading { max-width: 760px; margin-bottom: 42px; }
.services { background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service-card {
  min-height: 280px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 14px 42px rgba(23, 32, 51, 0.06);
}
.icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  border-radius: 18px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), #06b6d4);
}

.process { background: linear-gradient(180deg, var(--bg), #eef4ff); }
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
}
.timeline li {
  position: relative;
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(229, 233, 242, 0.9);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
}
.timeline span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: var(--primary);
}
.timeline strong { display: block; margin-bottom: 10px; font-size: 20px; }
.timeline p { margin-bottom: 0; }

.site-footer {
  padding: 42px 7vw 34px;
  color: #e5e7eb;
  background: #111827;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
}
.site-footer h2 { margin-bottom: 10px; font-size: 24px; letter-spacing: 0; }
.site-footer p { margin: 0 0 6px; color: #aeb7c7; }
.filing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 280px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  text-align: center;
}
.icp-link, .police-link {
  color: #f9fafb;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.police-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.police-link img { flex: 0 0 auto; }
.icp-link:hover, .police-link:hover { color: #93c5fd; }

@media (max-width: 900px) {
  .site-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .block { min-height: auto; padding: 72px 20px; }
  .hero, .service-grid, .timeline, .footer-inner { grid-template-columns: 1fr; }
  .hero { gap: 30px; }
  .hero-card { min-height: 220px; }
  .timeline li { min-height: auto; }
  .footer-inner { align-items: stretch; }
  .filing { width: 100%; min-width: 0; }
}
