:root {
  color-scheme: light;
  --ink: #161a1d;
  --muted: #5d666d;
  --paper: #ffffff;
  --soft: #f2f5f4;
  --line: #dce2df;
  --blue: #1769aa;
  --green: #2f785b;
  --amber: #b67a22;
  --content: 1180px;
}

* { box-sizing: border-box; }

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

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

a { color: inherit; }

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid rgba(220, 226, 223, .9);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 4px;
  color: #fff;
  background: var(--blue);
}

.site-nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
}

.site-nav a {
  color: #343a3f;
  text-decoration: none;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100vh - 72px));
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero > img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > img {
  object-fit: cover;
  object-position: center 45%;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(9, 16, 20, .88) 0%, rgba(9, 16, 20, .58) 48%, rgba(9, 16, 20, .14) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0 130px;
}

.eyebrow,
.section-index {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero .eyebrow { color: #a7ddc7; }

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.15;
}

.hero-content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, .86);
  font-size: 19px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
}

.primary-action:hover,
.primary-action:focus-visible {
  color: var(--ink);
  background: #fff;
}

.hero-next {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - var(--content)) / 2));
  bottom: 34px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  text-decoration: none;
}

.section {
  padding: 104px max(24px, calc((100vw - var(--content)) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  column-gap: 60px;
  align-items: end;
}

.section-heading .section-index { grid-column: 1 / -1; }

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
}

.section-heading > p:last-child,
.process-copy > p:last-child,
.about-copy > p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 74px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-item {
  min-height: 280px;
  padding: 34px 34px 42px 0;
}

.service-item + .service-item {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.service-number {
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
}

.service-item h3 {
  margin: 42px 0 14px;
  font-size: 24px;
}

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

.process {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  background: var(--soft);
}

.process-copy { align-self: start; }

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process-list li {
  display: grid;
  grid-template-columns: 36px 150px 1fr;
  gap: 20px;
  padding: 27px 0;
  border-bottom: 1px solid #cfd8d4;
  counter-increment: steps;
}

.process-list li::before {
  content: "0" counter(steps);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.process-list span { color: var(--muted); }

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.about-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 42px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.company-facts dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
}

.company-facts dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  color: #fff;
  background: #1b2327;
}

.contact .section-index { color: #8fc8ad; }

.contact-details {
  border-top: 1px solid rgba(255, 255, 255, .24);
}

.contact-details p {
  display: grid;
  grid-template-columns: 120px 1fr;
  margin: 0;
  padding: 19px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.contact-details span { color: rgba(255, 255, 255, .62); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px max(24px, calc((100vw - var(--content)) / 2));
  color: #596168;
  background: #f8f9f8;
  font-size: 13px;
}

.site-footer p { margin: 0; }

.site-footer a { text-underline-offset: 4px; }

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    min-height: 82px;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .brand { font-size: 14px; }

  .site-nav {
    max-width: 48%;
    gap: 12px 18px;
    justify-content: flex-end;
    flex-wrap: wrap;
    font-size: 12px;
  }

  .hero { min-height: 680px; }
  .hero-overlay { background: rgba(8, 15, 18, .64); }
  .hero-content { padding-bottom: 110px; }

  .section-heading,
  .process,
  .about,
  .contact {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

  .service-item,
  .service-item + .service-item {
    min-height: auto;
    padding: 28px 0 34px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-item:last-child { border-bottom: 0; }
  .service-item h3 { margin-top: 22px; }
}

@media (max-width: 560px) {
  .site-header {
    position: relative;
    display: block;
  }

  .site-nav {
    max-width: none;
    margin-top: 10px;
    justify-content: flex-start;
  }

  .hero { min-height: 610px; }
  .hero h1 { font-size: 38px; }
  .hero-content > p:not(.eyebrow) { font-size: 16px; }
  .section { padding-top: 74px; padding-bottom: 74px; }

  .process-list li {
    grid-template-columns: 32px 1fr;
    gap: 6px 14px;
  }

  .process-list span { grid-column: 2; }

  .company-facts { grid-template-columns: 1fr; }

  .contact-details p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer { flex-direction: column; }
}

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