:root {
  --ink: #17202a;
  --muted: #5d6875;
  --line: #d9e1e8;
  --paper: #ffffff;
  --soft: #f3f7fb;
  --brand: #1f7ae0;
  --brand-dark: #0d2b4f;
  --accent: #23b7d9;
  --accent-soft: #e4f3ff;
  --shadow: 0 18px 45px rgba(18, 44, 73, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

p {
  margin: 0;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
}

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

.narrow {
  width: min(820px, calc(100% - 40px));
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.top-banner {
  background: #101821;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

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

.top-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.top-banner a {
  margin-left: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.top-banner a:hover {
  color: #fff;
}

.masthead {
  background: #fff;
}

.masthead-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 7px 12px rgba(13, 43, 79, 0.18));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 24px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.masthead-contact {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.masthead-contact strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.masthead-contact a {
  margin-left: 10px;
  color: #1f7ae0;
  font-size: 21px;
}

.nav-band {
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav a {
  position: relative;
  padding: 17px 18px;
  color: #3d4854;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  background: var(--brand);
}

.hero {
  padding: 76px 0 62px;
  background: linear-gradient(180deg, #f7faf9, #ffffff);
}

.hero-banner {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 20, 40, 0.98) 0%, rgba(8, 34, 67, 0.92) 48%, rgba(16, 97, 178, 0.54) 100%),
    radial-gradient(circle at 78% 28%, rgba(35, 183, 217, 0.32), transparent 30%),
    linear-gradient(135deg, #061426 0%, #0d2b4f 48%, #1f7ae0 100%);
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 48%, #000 100%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-banner::before {
  content: "";
  position: absolute;
  right: 8%;
  top: 20%;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(35, 183, 217, 0.36);
  border-radius: 50%;
  box-shadow:
    0 0 0 58px rgba(31, 122, 224, 0.08),
    0 0 80px rgba(35, 183, 217, 0.16);
  opacity: 0.85;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: 56px;
}

.hero-banner .hero-grid {
  grid-template-columns: minmax(0, 0.62fr) minmax(280px, 0.38fr);
}

.hero-copy h1 {
  margin-top: 14px;
  max-width: 760px;
  font-size: clamp(44px, 6vw, 82px);
}

.hero-copy h2 {
  margin-top: 20px;
  color: inherit;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
}

.hero-copy p {
  margin-top: 22px;
  max-width: 680px;
  font-size: 18px;
}

.hero-banner .hero-copy h1,
.hero-banner .hero-copy h2 {
  color: #fff;
}

.hero-banner .hero-copy p {
  color: rgba(255, 255, 255, 0.86);
}

.hero-banner .eyebrow {
  color: #82ddff;
}

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

.hero-visual {
  min-height: 360px;
  display: grid;
  place-items: center;
}

.hero-banner .hero-visual {
  display: none;
}

.hero-visual img {
  filter: drop-shadow(0 24px 34px rgba(21, 48, 57, 0.16));
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  border: 1px solid var(--brand);
}

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

.button-ghost {
  background: transparent;
  color: var(--brand-dark);
  border-color: #a7bbb8;
}

.hero-banner .button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

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

.eyebrow {
  display: inline-flex;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section {
  padding: 76px 0;
}

.muted {
  background: var(--soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(26px, 3vw, 40px);
}

.section-head p {
  margin-top: 14px;
  font-size: 16px;
}

.card-grid {
  display: grid;
  gap: 22px;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.side-panel,
.contact-card {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 22px rgba(28, 48, 60, 0.06);
}

.card {
  padding: 26px;
}

.card span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.card h2,
.card h3 {
  margin-top: 12px;
  font-size: 22px;
}

.card h3 a:hover,
.list-item a:hover,
.back-link:hover,
.site-footer a:hover {
  color: var(--brand);
}

.card p {
  margin-top: 14px;
}

.case-card h3 {
  min-height: 1.18em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-card p {
  min-height: 5.1em;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.card ul,
.check-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.card li,
.check-list li {
  position: relative;
  margin-top: 10px;
  padding-left: 22px;
  color: #40505d;
}

.card li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: var(--brand);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-list article {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.feature-list h3 {
  font-size: 20px;
}

.feature-list p {
  margin-top: 10px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tags em {
  padding: 5px 9px;
  background: var(--accent-soft);
  color: #0d4f76;
  font-size: 12px;
  font-style: normal;
}

.process-showcase {
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7f7 100%);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 40px;
  align-items: start;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-card {
  position: relative;
  min-height: 154px;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(28, 48, 60, 0.06);
}

.process-card::after {
  content: "";
  position: absolute;
  top: 26px;
  right: -10px;
  width: 18px;
  height: 2px;
  background: var(--accent);
  z-index: 1;
}

.process-card:nth-child(4)::after,
.process-card:nth-child(8)::after {
  display: none;
}

.process-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  background: var(--brand-dark);
  color: #fff;
  font-size: 13px;
}

.process-card h3 {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: keep-all;
}

.process-card p {
  margin-top: 10px;
  font-size: 14px;
}

.process-visual {
  min-height: 360px;
  padding-top: 183px;
  display: grid;
  place-items: start center;
}

.process-visual img {
  width: min(100%, 520px);
  filter: drop-shadow(0 22px 30px rgba(20, 35, 43, 0.12));
}

.cta-band {
  padding: 58px 0;
  background: var(--brand-dark);
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

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

.cta-grid h2 {
  margin: 8px 0 12px;
  font-size: clamp(25px, 3vw, 38px);
}

.page-hero {
  padding: 78px 0 54px;
  background: linear-gradient(180deg, #f5f8f7, #ffffff);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-top: 12px;
  font-size: clamp(34px, 5vw, 54px);
}

.page-hero p {
  margin-top: 18px;
  font-size: 18px;
}

.detail-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 38px;
  align-items: start;
}

.detail-grid > .prose:only-child {
  grid-column: 1 / -1;
}

.side-panel,
.contact-card {
  padding: 28px;
}

.side-panel h2,
.contact-card h2,
.prose h2 {
  font-size: 24px;
}

.side-panel p,
.contact-card p,
.prose p {
  margin-top: 14px;
}

.side-panel .button {
  margin-top: 22px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.steps article {
  padding: 22px;
  border-left: 3px solid var(--brand);
  background: #fff;
}

.steps strong {
  color: var(--accent);
}

.steps h3 {
  margin-top: 10px;
  font-size: 20px;
}

.steps p {
  margin-top: 10px;
}

.facts {
  margin: 18px 0 0;
}

.facts div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
}

.facts dd {
  margin: 0;
}

.list {
  display: grid;
  gap: 18px;
}

.list-item {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.list-item time,
.article time {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.list-item h2 {
  margin-top: 8px;
  font-size: 26px;
}

.list-item p {
  margin-top: 12px;
}

.article {
  padding: 72px 0;
}

.article h1 {
  margin-top: 14px;
  font-size: clamp(32px, 5vw, 50px);
}

.article p {
  margin-top: 22px;
  font-size: 17px;
}

.article .lead {
  color: #33414d;
  font-size: 20px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--brand);
  font-weight: 700;
}

.job-card strong {
  display: block;
  margin-top: 18px;
  color: var(--brand-dark);
}

.career-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.job-card {
  display: flex;
  flex-direction: column;
}

.job-card h2 {
  min-height: 2.4em;
}

.job-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.job-meta div {
  min-width: 0;
  padding: 10px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.job-meta dt {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.job-meta dd {
  margin: 4px 0 0;
  color: #324554;
  font-size: 14px;
}

.job-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.job-skills em {
  padding: 6px 9px;
  background: var(--accent-soft);
  color: #0d4f76;
  font-size: 12px;
  font-style: normal;
}

.site-footer {
  padding: 52px 0 22px;
  background: #121b22;
  color: #fff;
}

.site-footer p,
.site-footer small {
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr;
  gap: 40px;
}

.footer-brand {
  margin-bottom: 18px;
}

.site-footer h2 {
  margin-bottom: 14px;
  font-size: 16px;
}

.site-footer a {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.copyright {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

@media (max-width: 900px) {
  .masthead-inner,
  .cta-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .masthead-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero-grid,
  .split,
  .process-layout,
  .detail-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-banner {
    min-height: 560px;
  }

  .hero-banner::after {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
      linear-gradient(180deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 42px 42px;
  }

  .hero-visual {
    min-height: auto;
  }

  .card-grid.two,
  .card-grid.three,
  .process-grid,
  .career-list,
  .feature-list,
  .steps {
    grid-template-columns: 1fr;
  }

  .process-card::after {
    display: none;
  }

  .process-visual {
    min-height: auto;
  }

  .section {
    padding: 58px 0;
  }
}

@media (max-width: 560px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .brand {
    min-width: 0;
  }

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

  .top-banner-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
  }

  .top-banner a {
    margin-left: 0;
    margin-right: 14px;
  }

  .site-nav a {
    padding: 12px 9px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 32px;
  }

  .hero-banner .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy h2 {
    font-size: 24px;
  }

  .button {
    width: 100%;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
