body {
  background: #eaf1eb;
}

.dff-site {
  width: min(100%, 1280px);
  margin: 0 auto;
  box-shadow: none;
}

.floating-support {
  position: fixed;
  z-index: 20;
  right: max(16px, calc((100vw - 1280px) / 2));
  top: 50%;
  display: grid;
  width: 176px;
  padding: 14px;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 40px #14211c1c;
}

.support-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 11px;
  font-size: 11px;
  font-weight: 800;
}

.support-heading span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.support-heading i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px #07975a20;
}

.support-heading small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
}

.support-qr {
  display: block;
  width: 144px;
  height: 144px;
  margin: 0 auto 10px;
  object-fit: cover;
}

.support-account {
  display: grid;
  gap: 3px;
  margin-bottom: 10px;
}

.support-account span {
  color: var(--muted);
  font-size: 9px;
}

.support-account strong {
  font: 700 16px var(--display);
}

.support-actions {
  display: grid;
  gap: 6px;
}

.support-phone,
.copy-wechat {
  display: block;
  width: 100%;
  padding: 8px 9px;
  border: 0;
  background: var(--deep-green);
  color: #fff;
  cursor: pointer;
  font: 600 10px var(--cn);
  text-align: center;
}

.copy-wechat:hover,
.support-phone:hover {
  background: var(--green);
}

.copy-status {
  display: block;
  min-height: 13px;
  margin-top: 5px;
  color: var(--green);
  font-size: 9px;
  text-align: center;
}

@media (min-width: 1000px) {
  .dff-header {
    position: relative;
    width: min(100%, 1200px);
    height: 82px;
    margin: 0 auto;
    padding: 16px 30px;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    grid-template-rows: auto auto auto;
    align-items: center;
    column-gap: 35px;
    padding: 72px max(48px, calc((100% - 1120px) / 2)) 64px;
    text-align: left;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .hero h1 {
    font-size: clamp(42px, 4.5vw, 64px);
  }

  .hero-summary {
    max-width: 470px;
    margin-right: 0;
    margin-left: 0;
  }

  .hero-note {
    margin-right: 0;
  }

  .hero-device {
    grid-column: 2;
    grid-row: 1 / span 3;
    min-height: 570px;
    margin: 0;
  }

  .phone-frame {
    width: min(340px, 82%);
  }

  .hero-cta {
    grid-column: 1;
    grid-row: 2;
    width: fit-content;
    min-width: 270px;
    padding-right: 25px;
    padding-left: 25px;
  }

  .hero-caption {
    grid-column: 1;
    grid-row: 3;
  }

  .content-section {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 76px 40px;
  }

  .feature-grid,
  .module-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .feature-card {
    min-height: 170px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .module-card {
    min-height: 180px;
    padding: 17px;
  }

  .showcase-content {
    display: grid;
    grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
    align-items: center;
    gap: 38px;
  }

  .showcase-content .section-title {
    margin-bottom: 0;
  }

  .dashboard-body {
    min-height: 290px;
  }

  .steps-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps-list li {
    min-height: 145px;
    align-items: flex-start;
    flex-direction: column;
  }

  .steps-list li > b {
    margin: auto 0 0;
  }

  .trial-banner {
    margin-top: 17px;
    padding: 21px 24px;
  }

  .cases-section {
    display: grid;
    grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 36px;
  }

  .cases-section .section-title {
    margin-bottom: 0;
  }

  .coverage-map {
    height: 360px;
  }

  .contact-section {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 35px;
    width: min(100%, 1280px);
    margin: 0 auto;
    padding: 48px max(48px, calc((100% - 1120px) / 2));
  }

  .contact-card img {
    width: 118px;
    height: 118px;
  }

  .dff-footer {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 20px 30px;
  }
}

@media (min-width: 700px) and (max-width: 1599px) {
  .dff-site {
    padding-bottom: 76px;
  }

  .dff-header {
    padding: 18px 28px;
  }

  .hero {
    padding: 100px 35px 48px;
  }

  .hero-device {
    min-height: 490px;
  }

  .phone-frame {
    width: min(300px, 70%);
  }

  .content-section {
    max-width: 820px;
    margin: 0 auto;
    padding-right: 32px;
    padding-left: 32px;
  }

  .floating-support {
    top: auto;
    right: auto;
    bottom: 12px;
    left: 50%;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 8px;
    width: min(520px, calc(100vw - 24px));
    padding: 9px 11px;
    transform: translateX(-50%);
  }

  .support-heading {
    grid-column: 2;
    margin: 0;
  }

  .support-heading small {
    display: none;
  }

  .support-qr {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 48px;
    height: 48px;
    margin: 0;
  }

  .support-account {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
  }

  .support-actions {
    grid-column: 3;
    grid-row: 1 / span 2;
    display: flex;
    gap: 5px;
  }

  .support-phone,
  .copy-wechat {
    width: auto;
    padding: 9px 8px;
    font-size: 9px;
    white-space: nowrap;
  }

  .copy-status {
    position: absolute;
    right: 8px;
    bottom: -15px;
  }
}

@media (min-width: 1600px) {
  .floating-support {
    right: max(16px, calc((100vw - 1280px) / 2 - 188px));
  }
}

@media (max-width: 699px) {
  .dff-site {
    width: 100%;
    padding-bottom: 76px;
  }

  .floating-support {
    top: auto;
    right: auto;
    bottom: 8px;
    left: 50%;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    width: calc(100vw - 16px);
    padding: 8px;
    transform: translateX(-50%);
  }

  .support-heading {
    grid-column: 2;
    margin: 0;
    font-size: 10px;
  }

  .support-heading small {
    display: none;
  }

  .support-heading i {
    display: none;
  }

  .support-qr {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    margin: 0;
  }

  .support-account {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
  }

  .support-account span {
    font-size: 8px;
  }

  .support-account strong {
    font-size: 12px;
  }

  .support-actions {
    grid-column: 3;
    grid-row: 1 / span 2;
    display: flex;
    gap: 4px;
  }

  .support-phone,
  .copy-wechat {
    width: auto;
    padding: 8px 7px;
    font-size: 8px;
    white-space: nowrap;
  }

  .copy-status {
    position: absolute;
    right: 8px;
    bottom: -14px;
    min-height: 12px;
    margin: 0;
  }
}

@media (max-width: 380px) {
  .support-actions {
    flex-direction: column;
  }

  .support-phone,
  .copy-wechat {
    padding: 5px 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
