*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Roboto Variable", Roboto, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  color: #0a0a0a;
  background: #dbd8d4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  min-height: 100vh;
  background: #fcf5eb;
  padding: 14px 40px 40px;
}

.header {
  display: flex;
  align-items: center;
  height: 40px;
  margin-bottom: 24px;
  color: #25d366;
}

.brand-icon {
  display: flex;
  margin: -4px 6px 0 0;
}

.brand-wordmark {
  display: flex;
  margin-left: -2px;
}

.brand-icon svg,
.brand-wordmark svg {
  display: block;
}

.content {
  width: 872px;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 100px;
}

.card {
  background: #fff;
  border: 1px solid #000;
  border-radius: 25px;
}

.download-card {
  padding: 24px 48px;
  margin-bottom: 16px;
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.download-illu {
  flex-shrink: 0;
  display: flex;
}

.download-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.download-title {
  color: #1d1f1f;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 4px;
}

.download-desc {
  color: #1d1f1f;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  height: 52px;
  padding: 10px 24px;
  border: 1px solid #1d1f1f;
  border-radius: 26px;
  background: #25d366;
  color: #1d1f1f;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

.login-card {
  padding: 48px;
}

.login-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.login-left {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  min-height: 310px;
}

.login-title {
  color: #1d1f1f;
  font-size: 32px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 28px;
}

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #111b21;
  font-size: 18px;
  line-height: 24px;
}

.step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #000;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  line-height: 1;
}

.step-text {
  padding-top: 1px;
}

.wa-inline {
  display: inline-block;
  vertical-align: -3px;
  margin-left: 4px;
}

.help-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1d1f1f;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  text-decoration: underline 2px #25d366;
  text-underline-offset: 3px;
  cursor: pointer;
  margin-bottom: 0;
}

.keep-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 36px;
  color: #1d1f1f;
  font-size: 14px;
  line-height: 20px;
  cursor: default;
  user-select: none;
}

.checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid #1daa61;
  background: #1daa61;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checkbox svg {
  display: block;
}

.keep-text {
  color: #1d1f1f;
}

.info-icon {
  display: inline-flex;
  color: rgba(0, 0, 0, 0.45);
}

.login-right {
  flex: 0 0 auto;
  width: 228px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-box {
  width: 228px;
  height: 228px;
}

.qr {
  display: block;
  width: 228px;
  height: 228px;
  object-fit: contain;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1d1f1f;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  text-decoration: underline 2px #25d366;
  text-underline-offset: 3px;
  cursor: pointer;
}

.view[hidden] {
  display: none !important;
}

.phone-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.phone-title {
  color: #1d1f1f;
  font-size: 32px;
  font-weight: 400;
  line-height: normal;
  margin: 0 0 4px;
}

.phone-sub {
  color: #1d1f1f;
  font-size: 18px;
  font-weight: 400;
  line-height: 21px;
  margin: 0 0 32px;
}

.phone-form {
  width: 320px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.country-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 12px;
}

.country-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 52px;
  padding: 10px 20px 10px 24px;
  border: 1px solid #0a0a0a;
  border-radius: 24px;
  background: #fff;
  color: #1b8755;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  cursor: pointer;
  text-align: left;
}

.country-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.country-flag-img {
  display: block;
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 1px;
  flex-shrink: 0;
}

.country-chevron {
  flex-shrink: 0;
  color: #0a0a0a;
  transition: transform 0.15s ease;
}

.country-btn.is-open .country-chevron {
  transform: rotate(180deg);
}

.country-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  max-width: calc(100vw - 32px);
  height: 322px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(11, 20, 26, 0.05),
    0 2px 4px rgba(11, 20, 26, 0.08),
    0 8px 16px rgba(11, 20, 26, 0.12);
  overflow: hidden;
}

.country-menu[hidden] {
  display: none !important;
}

.country-search-wrap {
  position: relative;
  flex-shrink: 0;
  margin: 16px 16px 8px;
  height: 40px;
  padding: 0 12px 0 46px;
  border-radius: 100px;
  background: #f0f2f5;
  display: flex;
  align-items: center;
}

.country-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #0a0a0a;
  pointer-events: none;
}

.country-search {
  width: 100%;
  min-height: 22px;
  outline: none;
  border: 0;
  background: transparent;
  color: #0a0a0a;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  white-space: nowrap;
  overflow: hidden;
}

.country-search:empty::before {
  content: "";
}

.country-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 8px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}

.country-list::-webkit-scrollbar {
  width: 6px;
}

.country-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 3px;
}

.country-list::-webkit-scrollbar-track {
  background: transparent;
}

.country-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 8px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #0a0a0a;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.country-option:hover {
  background: rgba(194, 189, 184, 0.1);
}

.country-option.is-selected {
  background: rgba(194, 189, 184, 0.15);
}

.country-option-flag {
  display: block;
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.country-option-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.country-option-name {
  color: #0a0a0a;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-option-secondary {
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-option-code {
  flex-shrink: 0;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  padding-left: 8px;
}

.country-option-check {
  flex-shrink: 0;
  display: flex;
  color: #1daa61;
  padding-left: 8px;
}

.phone-input-wrap {
  width: 100%;
  margin-bottom: 8px;
}

.phone-input {
  width: 100%;
  height: 52px;
  padding: 14px 10px 15px 24px;
  border: 1px solid #0a0a0a;
  border-radius: 24px;
  background: #fff;
  color: #0a0a0a;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  outline: none;
}

.phone-input:focus {
  border-color: #1daa61;
}

.next-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin: 40px 0 24px;
  padding: 0 24px;
  border: 0;
  border-radius: 9999px;
  background: #1daa61;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.qr-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1d1f1f;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  text-decoration: underline 2px #25d366;
  text-underline-offset: 3px;
  cursor: pointer;
}

.keep-row.is-unchecked .checkbox {
  background: #fff;
  border-color: #8696a0;
}

.keep-row.is-unchecked .checkbox svg {
  display: none;
}

@media (max-width: 920px) {
  .phone-form {
    width: 100%;
  }
}

.footer {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-signup {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1d1f1f;
  font-size: 18px;
  line-height: 25.2px;
}

.start-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1d1f1f;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  text-decoration: underline 2px #25d366;
  text-underline-offset: 3px;
  cursor: pointer;
}

.footer-encrypt {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 16px;
  line-height: 17.6px;
}

.footer-terms {
  color: rgba(0, 0, 0, 0.6);
  font-size: 12px;
  line-height: 15.6px;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 920px) {
  .page {
    padding: 14px 16px 32px;
  }

  .content {
    padding-top: 16px;
  }

  .download-card {
    padding: 20px 24px;
  }

  .download-inner {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .login-card {
    padding: 32px 24px;
  }

  .login-body {
    flex-direction: column-reverse;
    align-items: center;
  }

  .login-left {
    max-width: 100%;
  }

  .help-link {
    margin-bottom: 28px;
  }
}
