:root {
  --page-bg: #f5f7fa;
  --text: #333333;
  --muted: #777777;
  --light-text: #999999;
  --line: #e5e7eb;
  --shell: 1216px;
  --nav-h: 73px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page-bg);
}

body {
  min-width: 320px;
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

img,
svg {
  display: block;
}

.shell {
  width: min(var(--shell), calc(100vw - 40px));
  margin-inline: auto;
}

.site-header {
  height: var(--nav-h);
  background: #ffffff;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #5283fb 0%, #8c55f6 72%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.brand-name {
  color: #222222;
  font-size: 22px;
  font-weight: 700;
  line-height: 34px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 100%;
}

.nav-link {
  color: #767676;
  font-size: 14px;
  line-height: var(--nav-h);
  white-space: nowrap;
}

.nav-link.is-active {
  color: #303030;
}

.home-hero {
  height: 750px;
  background: url("./assets/banner-1.jpg") center top / cover no-repeat;
}

.hero-content {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  padding-top: 108px;
  text-align: center;
}

.hero-content h1 {
  margin: 0;
  color: #2f2f2f;
  font-size: 62px;
  font-weight: 400;
  line-height: 1.2;
}

.hero-content p {
  margin: 73px 0 0;
  color: #6d6d6d;
  font-size: 27px;
  line-height: 1.35;
}

.outline-button {
  display: inline-flex;
  width: 160px;
  height: 51px;
  align-items: center;
  justify-content: center;
  border: 1px solid #6f7276;
  border-radius: 6px;
  color: #858585;
  font-size: 18px;
  line-height: 1;
  background: #ffffff;
}

.hero-content .outline-button {
  position: absolute;
  top: 437px;
  left: 50%;
  margin-top: 0;
  transform: translateX(-50%);
}

.business-preview {
  height: 821px;
  padding-top: 93px;
  background: var(--page-bg);
  text-align: center;
}

.section-heading {
  text-align: center;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  color: #686868;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.2;
}

.section-heading p {
  margin: 14px 0 0;
  color: #777777;
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1.2;
}

.app-preview-card {
  width: 220px;
  height: 303px;
  margin: 66px auto 0;
  padding-top: 69px;
  border-radius: 22px;
  background: #ffffff;
}

.app-preview-card img {
  width: 140px;
  height: 140px;
  margin: 0 auto;
}

.app-preview-card h3 {
  margin: 23px 0 0;
  color: #7b7b7b;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
}

.business-more {
  margin-top: 55px;
}

.contact-section {
  height: 379px;
  background: #ffffff;
  text-align: center;
}

.contact-section > .section-heading {
  padding-top: 87px;
}

.contact-row,
.contact-card {
  display: flex;
  align-items: center;
  color: #5c5c5c;
  text-align: left;
}

.contact-row {
  justify-content: center;
  gap: 24px;
  margin-top: 91px;
}

.location-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  stroke: #626262;
  stroke-width: 4.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-row h3,
.contact-card h3 {
  margin: 0 0 4px;
  color: #555555;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.contact-row p,
.contact-card p {
  margin: 0;
  color: #676767;
  font-size: 16px;
  line-height: 1.5;
}

.site-footer {
  height: 119px;
  /* border-top: 1px solid var(--line); */
  background: var(--page-bg);
  color: #7b7b7b;
  text-align: center;
}

.site-footer p {
  margin: 0;
  padding-top: 49px;
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1.35;
}

.brand-hero {
  height: 750px;
  background: url("./assets/banner-2.jpg") center top / cover no-repeat;
}

.brand-hero-title {
  position: relative;
  padding-top: 226px;
}

.brand-hero-title h1 {
  margin: 0;
  color: #333333;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.25;
}

.brand-intro {
  height: 379px;
  padding-top: 84px;
  background: #ffffff;
}

.intro-text {
  width: min(1200px, calc(100vw - 80px));
  margin: 42px auto 0;
  color: #656565;
  font-size: 19px;
  line-height: 1.75;
  text-align: left;
}

.contact-panel-section {
  height: 362px;
  background: var(--page-bg);
}

.contact-panel-section > .section-heading {
  padding-top: 86px;
}

.contact-card {
  width: min(1216px, calc(100vw - 80px));
  height: 167px;
  justify-content: center;
  gap: 26px;
  margin: 41px auto 0;
  border-radius: 22px;
  background: #ffffff;
}

.business-page {
  height: 669px;
  padding-top: 103px;
  background: var(--page-bg);
}

.business-detail-card {
  display: flex;
  width: 590px;
  min-height: 240px;
  align-items: flex-start;
  gap: 24px;
  margin: 70px auto 0;
  padding: 37px 44px 39px 42px;
  border-radius: 22px;
  background: #ffffff;
}

.business-detail-card img {
  width: 118px;
  height: 118px;
  flex: 0 0 auto;
  margin-top: 0;
}

.business-detail-card h2 {
  margin: 6px 0 0;
  color: #575757;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.business-detail-card p {
  margin: 9px 0 0;
  color: #777777;
  font-size: 16px;
  line-height: 1.55;
}

.business-contact > .section-heading {
  padding-top: 53px;
}

.business-contact .contact-row {
  margin-top: 88px;
}

@media (max-width: 900px) {
  .site-nav {
    gap: 18px;
  }

  .hero-content h1 {
    font-size: 46px;
  }

  .hero-content p {
    font-size: 22px;
  }

  .business-detail-card {
    width: min(590px, calc(100vw - 40px));
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 64px;
  }

  .shell {
    width: min(var(--shell), calc(100vw - 24px));
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .brand-name {
    max-width: 160px;
    overflow: hidden;
    font-size: 18px;
    text-overflow: ellipsis;
  }

  .nav-link {
    font-size: 13px;
  }

  .home-hero,
  .brand-hero {
    height: 560px;
  }

  .hero-content {
    padding-top: 82px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

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

  .hero-content .outline-button {
    margin-top: 64px;
  }

  .business-preview,
  .business-page {
    height: auto;
    min-height: auto;
    padding: 70px 0 84px;
  }

  .business-detail-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-section,
  .contact-panel-section {
    height: auto;
    min-height: 0;
  }

  .contact-section > .section-heading,
  .contact-panel-section > .section-heading,
  .business-contact > .section-heading {
    padding-top: 72px;
  }

  .contact-row,
  .contact-card {
    width: calc(100vw - 40px);
    flex-direction: column;
    text-align: center;
  }

  .contact-row {
    margin: 64px auto 0;
    padding-bottom: 86px;
  }

  .contact-card {
    height: auto;
    padding: 36px 20px;
  }

  .contact-row p,
  .contact-card p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .site-footer {
    height: auto;
    min-height: 119px;
  }

  .site-footer p {
    padding: 34px 20px 32px;
    font-size: 14px;
  }
}
