:root {
  --design-width: 1920;
  --design-height: 1080;
  --accent: #e62429;
  --text: #1a1a1a;
  --muted: #666;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #fff;
}

body {
  overflow: hidden;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
}

button,
a {
  color: inherit;
  font: inherit;
}

.viewport {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #fff;
}

.canvas {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  background: #fff;
  transform: translateX(-50%) scale(var(--page-scale, 1));
  transform-origin: top center;
}

.topbar {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 1920px;
  height: 104px;
  background: #fff;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.brand {
  position: absolute;
  top: 20px;
  left: 230px;
  width: 340px;
  height: 62px;
  text-decoration: none;
}

.brand__logo {
  position: absolute;
  inset: 0 auto auto 0;
  width: 62px;
  height: 62px;
  object-fit: cover;
}

.brand__copy {
  position: absolute;
  top: 8px;
  left: 62px;
  display: flex;
  flex-direction: column;
  width: 260px;
  color: #333;
  font-size: 20px;
  font-weight: 900;
  line-height: 22px;
  letter-spacing: 1.2px;
  white-space: nowrap;
}

.brand__copy strong {
  font-weight: 900;
}

.topbar__actions {
  position: absolute;
  top: 35px;
  left: 1565px;
  display: flex;
  align-items: center;
  gap: 46px;
}

.icon-button {
  display: grid;
  width: 33px;
  height: 33px;
  overflow: hidden;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.icon-button:nth-child(2) {
  width: 34px;
}

.icon-button img {
  display: block;
  width: 33px;
  height: 33px;
}

.icon-button:nth-child(2) img {
  width: 34px;
  height: 33px;
}

.icon-button:hover,
.icon-button:focus-visible {
  opacity: 0.65;
}

.hero {
  position: absolute;
  top: 96px;
  left: 0;
  width: 1920px;
  height: 400px;
  overflow: hidden;
  background: linear-gradient(90deg, #fff5f5, #fff);
}

.hero__background {
  position: absolute;
  top: -25px;
  left: -179px;
  width: 2206px;
  height: 483px;
  object-fit: cover;
  pointer-events: none;
}

.hero__title {
  position: absolute;
  top: 131px;
  left: 692px;
  width: 537px;
  height: 142px;
  margin: 0;
  color: var(--text);
  font-size: 48.813px;
  font-weight: 700;
  line-height: 54.359px;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}

.hero__title span {
  display: block;
}

.hero__title span + span {
  margin-top: 31px;
}

.hero__title em {
  color: var(--accent);
  font-style: normal;
}

.products {
  position: absolute;
  top: 496px;
  left: 0;
  width: 1920px;
  height: 470px;
}

.product-card {
  position: absolute;
  top: 36px;
  width: 459px;
  height: 439px;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.product-card--sales {
  left: 239px;
}

.product-card--finance {
  left: 730px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.product-card--services {
  left: 1221px;
}

.product-card__icon {
  position: absolute;
  top: 56px;
  left: 189px;
  width: 80px;
  height: 80px;
  overflow: hidden;
  background: #ffebeb;
  border-radius: 50%;
}

.product-card__icon img {
  position: absolute;
  display: block;
}

.product-card__icon--sales img {
  top: 7.5px;
  left: 10px;
  width: 60px;
  height: 60px;
}

.product-card__icon--finance img {
  top: 15px;
  left: 15px;
  width: 50px;
  height: 50px;
}

.product-card__icon--services img {
  top: 13.75px;
  left: 13.75px;
  width: 52.5px;
  height: 52.5px;
}

.product-card h2 {
  position: absolute;
  top: 158px;
  left: 0;
  width: 100%;
  margin: 0;
  color: var(--text);
  font-size: 26px;
  font-weight: 700;
  line-height: 51px;
  letter-spacing: 0;
  text-align: center;
}

.product-card p {
  position: absolute;
  top: 239px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0;
}

.product-card--sales p {
  left: 138px;
  width: 241px;
}

.product-card--finance p {
  top: 245px;
  left: 135px;
  width: 240px;
}

.product-card--services p {
  top: 237px;
  left: 147px;
  width: 210px;
}

.product-card > a {
  position: absolute;
  top: 377px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 79px;
  height: 27px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 500;
  line-height: 17px;
  text-decoration: none;
  transform: translateX(-50%);
}

.product-card > a:hover,
.product-card > a:focus-visible,
.footer a:hover,
.footer a:focus-visible {
  text-decoration: underline;
}

.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1920px;
  height: 87px;
  color: #888;
  border-top: 1px solid #eee;
}

.footer p {
  margin: 0;
}

.footer__nav {
  position: absolute;
  top: 13px;
  left: 1506px;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 173px;
  height: 21px;
  font-size: 16px;
  line-height: 17px;
  white-space: nowrap;
}

.footer__nav a {
  color: #888;
  text-decoration: none;
}

.footer__nav span {
  color: #999;
}

.footer__record,
.footer__copyright {
  position: absolute;
  top: 51px;
  font-size: 14px;
  line-height: 16px;
  white-space: nowrap;
}

.footer__record {
  left: 1253px;
}

.footer__copyright {
  left: 1440px;
}

.wecom-modal {
  position: absolute;
  z-index: 100;
  inset: 0;
  width: 1920px;
  height: 1080px;
  background: rgba(0, 0, 0, 0.5);
}

.wecom-modal[hidden] {
  display: none;
}

.wecom-modal__dialog {
  position: absolute;
  top: 231px;
  left: 571px;
  width: 778px;
  height: 618px;
  background: #fff;
  border-radius: 24px;
}

.wecom-modal__close {
  position: absolute;
  z-index: 1;
  top: 24px;
  right: 20px;
  width: 32px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.wecom-modal__close::before,
.wecom-modal__close::after {
  position: absolute;
  top: 8px;
  left: 15px;
  width: 2px;
  height: 24px;
  content: "";
  background: #111;
  border-radius: 2px;
}

.wecom-modal__close::before {
  transform: rotate(45deg);
}

.wecom-modal__close::after {
  transform: rotate(-45deg);
}

.wecom-modal__close:hover,
.wecom-modal__close:focus-visible {
  opacity: 0.6;
}

.wecom-modal__qr {
  position: absolute;
  top: 72px;
  left: 208px;
  width: 360px;
  height: 363px;
  object-fit: cover;
}

.wecom-modal h2 {
  position: absolute;
  top: 490px;
  left: 101px;
  width: 587px;
  margin: 0;
  color: #000;
  font-size: 32px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0;
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  .icon-button,
  .product-card > a,
  .footer a,
  .wecom-modal__close {
    transition: opacity 120ms ease, color 120ms ease;
  }
}
