@font-face {
  font-family: 'BTSE';
  font-display: swap;
  font-weight: 100;
  src: url('BTSE-Light.woff') format('woff');
}
@font-face {
  font-family: 'BTSE';
  font-display: swap;
  font-weight: 400;
  src: url('BTSE-Regular.woff') format('woff');
}
@font-face {
  font-family: 'BTSE';
  font-display: swap;
  font-weight: 500;
  src: url('BTSE-Medium.woff') format('woff');
}
@font-face {
  font-family: 'BTSE';
  font-display: swap;
  font-weight: 700;
  src: url('BTSE-Bold.woff') format('woff');
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family:
    BTSE, 'Helvetica Neue', Helvetica, Arial, 'PingFang TC', 'PingFang SC',
    'Microsoft JhengHei', 'Microsoft YaHei', sans-serif;
  background-color: #f0f4f8;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

.wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

.bg-l {
  position: absolute;
  top: -690px;
  left: calc(50% - 1340px);
  width: 1440px;
  pointer-events: none;
  user-select: none;
}

.bg-r {
  position: absolute;
  right: calc(50% - 724px);
  bottom: -38px;
  width: 420px;
  pointer-events: none;
  user-select: none;
}

.header {
  position: relative;
  z-index: 1;
  padding: 16px 24px;
}

.logo {
  display: block;
  width: 79px;
  height: 22px;
  color: #0a51b6;
}

.content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  text-align: center;
}

.illustration {
  width: 320px;
  max-width: 100%;
}

.title {
  margin-top: 24px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.5;
  color: #1b2338;
}

.description {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #465566;
}

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 24px 32px 48px;
}

.x-link {
  display: inline-flex;
  color: #1b2338;
  text-decoration: none;
}

.x-link:hover {
  opacity: 0.7;
}

.copyright {
  font-size: 12px;
  color: #7e8f9f;
}

@media (max-width: 1023px) {
  .header {
    padding: 12px 16px;
  }

  .logo {
    width: 68px;
    height: 19px;
  }
}

@media (max-width: 767px) {
  .content {
    padding: 24px;
  }

  .illustration {
    width: 204px;
    height: 140px;
  }

  .title {
    font-size: 24px;
  }
}
