:root {
  --navy-950: #071b33;
  --navy-900: #0b2545;
  --navy-800: #10355f;
  --blue-600: #1d5d91;
  --blue-500: #2f78ad;
  --blue-100: #dcebf5;
  --blue-50: #f2f7fb;
  --white: #ffffff;
  --ink: #17263a;
  --muted: #5b6b7c;
  --line: #d7e2eb;
  --shadow: 0 18px 50px rgba(11, 37, 69, 0.09);
  --container: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 8px 14px;
  transform: translateY(-160%);
  border-radius: 4px;
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(215, 226, 235, 0.85);
  background: rgba(255, 255, 255, 0.97);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  color: var(--navy-900);
}

.brand-name {
  overflow-wrap: anywhere;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  white-space: nowrap;
  color: #32465b;
  font-size: 15px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding-block: 25px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--blue-500);
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--navy-900);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(242, 247, 251, 0.98) 0%, rgba(255, 255, 255, 0.97) 62%, rgba(220, 235, 245, 0.84) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
  padding-block: 88px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin-bottom: 18px;
  color: var(--blue-600);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--navy-950);
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.hero-description {
  max-width: 680px;
  margin-bottom: 30px;
  color: #44596d;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--blue-500);
  color: var(--navy-800);
  font-weight: 700;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(4px);
}

.hero-visual {
  display: grid;
  place-items: center;
}

.visual-frame {
  position: relative;
  width: min(27vw, 330px);
  aspect-ratio: 1;
  border: 1px solid rgba(29, 93, 145, 0.23);
  border-radius: 34px 34px 34px 8px;
  background: rgba(255, 255, 255, 0.56);
}

.visual-circle,
.visual-line,
.visual-block {
  position: absolute;
  display: block;
}

.visual-circle {
  border-radius: 50%;
}

.visual-circle-large {
  top: 20%;
  right: 14%;
  width: 56%;
  aspect-ratio: 1;
  border: 28px solid var(--navy-900);
}

.visual-circle-small {
  right: 13%;
  bottom: 10%;
  width: 21%;
  aspect-ratio: 1;
  background: var(--blue-500);
}

.visual-block {
  bottom: 12%;
  left: 12%;
  width: 31%;
  height: 43%;
  border-radius: 7px 7px 7px 2px;
  background: var(--blue-100);
}

.visual-line {
  left: 12%;
  height: 3px;
  background: var(--blue-500);
}

.visual-line-one {
  top: 21%;
  width: 24%;
}

.visual-line-two {
  top: 28%;
  width: 15%;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-shape-one {
  top: -180px;
  right: -160px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(29, 93, 145, 0.12);
}

.hero-shape-two {
  right: 21%;
  bottom: -210px;
  width: 350px;
  height: 350px;
  background: rgba(220, 235, 245, 0.42);
}

.section {
  padding-block: 110px;
  scroll-margin-top: 76px;
}

.services-section {
  background: var(--white);
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading .section-kicker {
  margin-bottom: 10px;
}

.section-heading h2 {
  margin-bottom: 16px;
  color: var(--navy-950);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.heading-line {
  display: block;
  width: 42px;
  height: 3px;
  background: var(--blue-500);
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  min-height: 300px;
  padding: clamp(30px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px 26px 6px 6px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--navy-800);
}

.service-number {
  margin-bottom: 34px;
  color: var(--blue-500);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin-bottom: 18px;
  color: var(--navy-900);
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.35;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.about-section {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--white);
}

.about-section::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -220px;
  width: 430px;
  height: 430px;
  border: 80px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
}

.about-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(50px, 9vw, 120px);
  align-items: start;
}

.section-heading-light {
  margin-bottom: 0;
}

.section-heading-light .section-kicker {
  color: #95c1df;
}

.section-heading-light h2 {
  color: var(--white);
}

.section-heading-light .heading-line {
  background: #72afd7;
}

.about-content {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.about-content p {
  max-width: 700px;
  margin-bottom: 0;
  color: #e0eaf2;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 2;
}

.contact-section {
  background: var(--blue-50);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(50px, 9vw, 120px);
  align-items: start;
}

.contact-inner .section-heading {
  margin-bottom: 0;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 0;
  font-style: normal;
}

.contact-item {
  display: grid;
  grid-template-columns: minmax(112px, 0.46fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 23px 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.contact-label {
  color: var(--muted);
  font-size: 14px;
}

.contact-item strong,
.contact-item a {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--navy-900);
  font-size: 17px;
  font-weight: 700;
}

.contact-item a {
  text-decoration: underline;
  text-decoration-color: #a9c7dc;
  text-underline-offset: 5px;
}

.contact-item a:hover,
.contact-item a:focus-visible {
  color: var(--blue-600);
  text-decoration-color: currentColor;
}

.site-footer {
  background: var(--navy-950);
  color: #c6d3df;
}

.footer-inner {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
}

.footer-inner p {
  margin-bottom: 0;
  font-size: 14px;
}

.icp-number {
  color: #d8e3ec;
  white-space: nowrap;
}

.icp-number:hover,
.icp-number:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.not-found-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--blue-50);
}

.not-found-page .site-header {
  position: relative;
}

.not-found-main {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 560px;
  padding: 70px 24px;
  overflow: hidden;
}

.not-found-card {
  position: relative;
  z-index: 2;
  width: min(100%, 660px);
  padding: clamp(42px, 7vw, 74px);
  border: 1px solid var(--line);
  border-radius: 8px 32px 8px 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.error-code {
  margin-bottom: 8px;
  color: var(--blue-500);
  font-size: clamp(60px, 12vw, 100px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.not-found-card h1 {
  margin-bottom: 14px;
  color: var(--navy-950);
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.3;
}

.not-found-card p:not(.error-code) {
  margin-bottom: 30px;
  color: var(--muted);
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 26px;
  border: 1px solid var(--navy-900);
  border-radius: 4px;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 700;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.home-button:hover,
.home-button:focus-visible {
  border-color: var(--blue-600);
  background: var(--blue-600);
}

.not-found-decoration {
  position: absolute;
  width: 380px;
  height: 380px;
  border: 60px solid rgba(29, 93, 145, 0.07);
  border-radius: 50%;
}

.not-found-decoration-left {
  bottom: -190px;
  left: -140px;
}

.not-found-decoration-right {
  top: -220px;
  right: -150px;
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 126px;
  }

  .header-inner {
    min-height: auto;
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    gap: clamp(14px, 5vw, 32px);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    padding-block: 8px 13px;
  }

  .site-nav a::after {
    bottom: 7px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-block: 76px;
  }

  .hero-content {
    max-width: 720px;
  }

  .hero-visual {
    display: none;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-content {
    padding-top: 28px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 142px;
  }

  body {
    font-size: 15px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .brand {
    justify-content: flex-start;
  }

  .brand-name {
    font-size: 15px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 0;
    justify-content: stretch;
    text-align: center;
    font-size: 14px;
  }

  .hero {
    min-height: 520px;
  }

  .hero-inner {
    padding-block: 62px 70px;
  }

  .eyebrow,
  .section-kicker {
    letter-spacing: 0.1em;
  }

  .hero h1 {
    font-size: clamp(34px, 10.8vw, 48px);
    letter-spacing: -0.025em;
  }

  .hero-description {
    font-size: 16px;
  }

  .section {
    padding-block: 76px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .service-card {
    min-height: auto;
    padding: 30px 28px;
  }

  .service-number {
    margin-bottom: 22px;
  }

  .contact-item {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 20px;
  }

  .not-found-page .header-inner {
    min-height: 68px;
    padding-block: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
