:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #5b6673;
  --line: #d9e0e8;
  --paper: #f7f9fb;
  --white: #ffffff;
  --accent: #0b79d0;
  --accent-strong: #084e94;
  --teal: #00a0a8;
  --shadow: 0 18px 50px rgba(16, 24, 32, 0.12);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 224, 232, 0.84);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent-strong), var(--teal));
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.25;
}

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

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #283441;
  font-size: 14px;
}

nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: var(--accent-strong);
  border-bottom-color: var(--accent);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: 72px 6vw 112px;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(6, 13, 22, 0.92) 0%, rgba(6, 13, 22, 0.78) 42%, rgba(6, 13, 22, 0.18) 78%),
    url("./assets/hero-chip.png");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  left: 6vw;
  right: 6vw;
  bottom: 42px;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.hero-copy {
  width: min(680px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: #40c5ce;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.04;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 14px 32px rgba(11, 121, 208, 0.28);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 92px 6vw;
}

.intro,
.split,
.contact-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(320px, 1.22fr);
  gap: 56px;
  align-items: start;
}

.intro {
  background: var(--white);
}

.intro p:last-child,
.contact-band p,
.advantage-list p,
.service-grid p {
  color: var(--muted);
  line-height: 1.85;
}

h2 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

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

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

.service-grid article {
  min-height: 260px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(16, 24, 32, 0.06);
}

.service-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-weight: 800;
}

.service-grid h3,
.advantage-list h3 {
  margin-bottom: 12px;
  font-size: 21px;
  letter-spacing: 0;
}

.split {
  background: #eef4f8;
}

.advantage-list {
  display: grid;
  gap: 22px;
}

.advantage-list > div {
  padding-bottom: 22px;
  border-bottom: 1px solid #cfdce7;
}

.advantage-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-band {
  margin: 0 6vw 72px;
  padding: 42px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-band .button {
  justify-self: end;
  white-space: nowrap;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 6vw;
  color: var(--muted);
  background: #101820;
  font-size: 13px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px 5vw;
  }

  nav {
    gap: 18px;
  }

  .hero {
    min-height: calc(100vh - 108px);
    padding: 54px 5vw 92px;
    background-image:
      linear-gradient(90deg, rgba(6, 13, 22, 0.92), rgba(6, 13, 22, 0.64)),
      url("./assets/hero-chip.png");
  }

  .intro,
  .split,
  .contact-band,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 5vw;
  }

  .contact-band {
    margin: 0 5vw 54px;
    padding: 28px;
  }

  .contact-band .button {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .brand small {
    font-size: 11px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions,
  footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-grid article {
    min-height: auto;
  }
}
