*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #fff;
  color: #1a1a1a;
}

button {
  font-family: inherit;
}

img {
  max-width: 100%;
}

@font-face {
  font-family: Satoshi;
  src: url("font/Satoshi-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Satoshi;
  src: url("font/Satoshi-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Satoshi;
  src: url("font/Satoshi-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.cw {
  min-height: 100vh;
  background: #fff;
  color: #1a1a1a;
  font-family: Satoshi, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.cw h1,
.cw h2,
.cw p {
  margin: 0;
}

.cw-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 24px;
  background: #fff;
}

.cw-logo {
  display: flex;
  color: #1a1a1a;
  flex: none;
}

.cw-logo img {
  width: 141px;
  height: 38px;
}

.cw-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.cw-nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
}

.cw-nav svg,
.cw-icon svg,
.cw-btn svg {
  width: 12px;
  height: 12px;
}

.cw-icon svg,
.cw-btn svg {
  width: 20px;
  height: 20px;
}

.cw-header__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.cw-icon {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cw-login,
.cw-register {
  height: 40px;
  min-width: 61px;
  padding: 0 16px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  box-sizing: border-box;
}

.cw-login {
  background: rgba(0, 0, 0, 0.05);
  color: #1a1a1a;
}

.cw-register {
  background: #5227ff;
  color: #fff;
}

.cw-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 90px 24px 0;
  text-align: center;
}

.cw-hero h1 {
  font-size: 84px;
  line-height: 84px;
  font-weight: 700;
  letter-spacing: 0;
}

.cw-hero p {
  margin-top: 32px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 400;
}

.cw-actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
}

.cw-btn {
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 14px;
  cursor: pointer;
}

.cw-btn--dark {
  background: #1a1a1a;
  color: #fff;
}

.cw-btn--soft {
  background: rgba(0, 0, 0, 0.05);
  color: #1a1a1a;
}

.cw-dl {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #5227ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cw-dl svg {
  width: 16px;
  height: 16px;
}

.cw-hero__phone {
  width: 486px;
  height: 397px;
  margin-top: 52px;
  object-fit: contain;
}

.cw-hover {
  position: relative;
}

.cw-card,
.cw-sheet {
  position: absolute;
  z-index: 30;
  top: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cw-hover:hover .cw-card,
.cw-hover:focus-within .cw-card,
.cw-hover:hover .cw-sheet,
.cw-hover:focus-within .cw-sheet {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cw-hover:hover .cw-btn--dark,
.cw-hover:focus-within .cw-btn--dark {
  background: #5227ff;
}

.cw-card {
  right: 0;
  width: 248px;
  margin-top: 8px;
  padding: 22px 20px 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(20, 20, 40, 0.12);
  text-align: center;
  color: #1a1a1a;
}

.cw-card::before,
.cw-sheet__panel::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.cw-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
}

.cw-qr {
  position: relative;
  display: inline-flex;
  width: 148px;
  height: 148px;
}

.cw-qr img:first-child {
  width: 148px;
  height: 148px;
  background: #fff;
}

.cw-qr__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
}

.cw-more {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin: 16px 28px 14px;
  border-radius: 20px;
  background: #5227ff;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.cw-card p {
  margin: 0;
  color: #8d8d8d;
  font-size: 13px;
  line-height: 20px;
}

.cw-sheet {
  left: 50%;
  transform: translateX(-50%);
  padding-top: 12px;
}

.cw-sheet--end {
  left: auto;
  right: 0;
  transform: none;
}

.cw-sheet__panel {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  background: #111;
  color: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.cw-sheet__panel::after {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: #111;
}

.cw-sheet--end .cw-sheet__panel::after {
  left: auto;
  right: 36px;
  transform: none;
}

.cw-sheet__qr {
  width: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cw-sheet__qr .cw-qr,
.cw-sheet__qr .cw-qr img:first-child {
  width: 120px;
  height: 120px;
}

.cw-sheet__qr span {
  font-size: 13px;
  line-height: 18px;
  text-align: center;
}

.cw-sheet__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cw-sheet__list a {
  min-width: 176px;
  height: 58px;
  padding: 0 16px;
  border-radius: 18px;
  background: #f3f3f3;
  color: #1a1a1a;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
}

.cw-sheet__list svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.cw-sheet__list span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cw-sheet__list small {
  font-size: 12px;
  line-height: 16px;
  color: #6b6b6b;
}

.cw-sheet__list b {
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}

.cw-band {
  height: 500px;
  margin-top: 0;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 186px;
  padding: 0 24px;
}

.cw-band--flip {
  background: #fff;
}

.cw-band img {
  width: 410px;
  height: 410px;
  object-fit: contain;
  flex: none;
}

.cw-band div {
  width: 535px;
}

.cw-band h2 {
  font-size: 57px;
  line-height: 68px;
  font-weight: 700;
}

.cw-band p {
  margin-top: 32px;
  font-size: 16px;
  line-height: 24px;
}

@media (max-width: 1100px) {
  .cw-nav {
    display: none;
  }

  .cw-hero h1 {
    font-size: 40px;
    line-height: 48px;
  }

  .cw-hero p {
    font-size: 16px;
    line-height: 24px;
  }

  .cw-hero__phone,
  .cw-band img {
    width: min(100%, 410px);
    height: auto;
  }

  .cw-band,
  .cw-band--flip {
    height: auto;
    flex-direction: column;
    gap: 24px;
    padding: 48px 24px;
  }

  .cw-band--flip {
    flex-direction: column-reverse;
  }

  .cw-band div {
    width: min(100%, 535px);
  }

  .cw-band h2 {
    font-size: 32px;
    line-height: 40px;
  }
}
