:root {
  --bg: #ffffff;
  --bg-soft: #f5f9ff;
  --bg-blue: #eef6ff;
  --text: #071a3a;
  --muted: #52637a;
  --line: #dbe7f5;
  --brand: #0868df;
  --brand-dark: #064fa8;
  --brand-soft: #e5f1ff;
  --shadow: 0 18px 45px rgba(8, 59, 119, 0.12);
  --radius: 8px;
  --container: 1160px;
  font-family:
    "Inter",
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  word-break: normal;
}

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

img,
svg {
  display: block;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 231, 245, 0.9);
  backdrop-filter: blur(14px);
}

.site-header.compact {
  position: static;
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #b8d6fa;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #eff7ff);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--brand);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.brand strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #172a49;
  font-size: 15px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 24px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.section {
  padding: 88px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 72px;
  background:
    linear-gradient(90deg, rgba(8, 104, 223, 0.04), rgba(255, 255, 255, 0) 55%),
    linear-gradient(rgba(8, 104, 223, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 104, 223, 0.06) 1px, transparent 1px),
    #fff;
  background-size: auto, 44px 44px, 44px 44px, auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: 56px;
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.04;
  letter-spacing: 0;
  max-width: 100%;
}

.hero-lede {
  margin: 24px 0 0;
  color: #0b2b5a;
  font-size: clamp(22px, 2.4vw, 31px);
  font-weight: 700;
  line-height: 1.35;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.hero-text {
  max-width: 580px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 26px rgba(8, 104, 223, 0.22);
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.secondary {
  background: #fff;
  border-color: #b8d6fa;
  color: var(--brand-dark);
}

.hero-media {
  position: relative;
  min-width: 0;
}

.hero-media img {
  width: min(860px, 58vw);
  max-width: 100%;
  height: auto;
  margin-left: -30px;
  border-radius: var(--radius);
  filter: drop-shadow(0 24px 38px rgba(13, 49, 92, 0.15));
}

.section-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head.align-left {
  margin-left: 0;
  text-align: left;
}

.section-head h2,
.split h2,
.legal-content h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-head p,
.split p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  overflow-wrap: anywhere;
}

.services {
  background: #fff;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.service-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.service-item > div {
  min-width: 0;
}

.service-item:last-child {
  border-right: 0;
}

.service-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: var(--brand);
}

.service-icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.service-item h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.process {
  background:
    linear-gradient(180deg, var(--bg-blue), #fff);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 58px;
  align-items: start;
  min-width: 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-width: 0;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.timeline li {
  min-height: 230px;
  padding: 26px 20px;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.timeline li:last-child {
  border-right: 0;
}

.timeline span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  box-shadow: inset 0 0 0 1px #b8d6fa;
  font-weight: 800;
}

.timeline strong {
  display: block;
  font-size: 18px;
}

.timeline p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.compliance {
  background: #fff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 64px;
  align-items: center;
  min-width: 0;
}

.compliance-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #fff, #f3f8ff);
  box-shadow: var(--shadow);
}

.compliance-panel ul {
  margin: 0;
  padding: 28px 32px;
  list-style: none;
}

.compliance-panel li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--line);
  color: #263a56;
}

.compliance-panel li:last-child {
  border-bottom: 0;
}

.compliance-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: inset 0 0 0 5px #fff;
}

.contact {
  background: var(--bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  align-items: start;
  min-width: 0;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.contact-list div {
  min-height: 120px;
  padding: 26px;
  background: #fff;
  min-width: 0;
}

.contact-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.contact-list strong {
  display: block;
  color: var(--text);
  font-size: 17px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-list a {
  color: var(--brand-dark);
}

.site-footer {
  padding: 34px 0;
  background: #06245a;
  color: #fff;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  max-width: 680px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.legal-page {
  padding: 56px 0 92px;
  background: linear-gradient(180deg, var(--bg-soft), #fff 220px);
}

.legal-content {
  max-width: 860px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.legal-content .updated {
  margin: 10px 0 28px;
  color: var(--muted);
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: 22px;
}

.legal-content p {
  margin: 0 0 14px;
  color: #263a56;
}

.legal-content a {
  color: var(--brand-dark);
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero-grid,
  .process-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 68px;
  }

  .hero-media img {
    width: 100%;
    margin-left: 0;
  }

  .service-list,
  .timeline,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .service-item,
  .timeline li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-item:last-child,
  .timeline li:last-child {
    border-bottom: 0;
  }

  .timeline li {
    min-height: auto;
  }

  .split {
    gap: 34px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav {
    min-height: 66px;
  }

  .brand strong {
    font-size: 18px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links.static {
    position: static;
    display: flex;
    flex-direction: row;
    box-shadow: none;
    border: 0;
    padding: 0;
  }

  .nav-links a {
    padding: 12px 10px;
  }

  .nav-links a::after {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 54px 0 46px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.12;
    word-break: keep-all;
  }

  .hero-lede {
    font-size: 22px;
  }

  .hero-text {
    font-size: 16px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .section-head p,
  .split p,
  .service-item p,
  .timeline p,
  .compliance-panel li,
  .contact-list strong {
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    min-width: 0;
  }

  .service-item {
    grid-template-columns: 52px 1fr;
    padding: 26px 20px;
    gap: 16px;
  }

  .service-icon {
    width: 52px;
    height: 52px;
  }

  .service-icon svg {
    width: 28px;
    height: 28px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-content {
    padding: 28px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
