@font-face {
  font-family: "TaipeiSansTCBeta";
  src: url("assets/TaipeiSansTCBeta.ttf") format("truetype");
}

html {
  min-height: 100%;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  font-family: TaipeiSansTCBeta;
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: hsl(212, 21%, 12%);
  color: hsl(240, 5%, 96%);
  margin: 0;
  line-height: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

h1,
p {
  margin: 0;
}

h1 {
  font-size: inherit;
  font-weight: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

img,
svg {
  display: block;
}

.btn:after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  background: linear-gradient(
    90deg,
    hsla(0, 0%, 99%, 0.16),
    hsla(0, 0%, 99%, 0) 50%,
    hsla(0, 0%, 99%, 0)
  );
  background-size: 200%;
  background-position: 100%;
  transition: all 0.8s cubic-bezier(0.246, 0.75, 0.187, 1);
  border-radius: inherit;
}

.btn:hover:after {
  background-position: 0;
  border-radius: inherit;
}

.background-base {
  min-height: 1400px;
  width: 100%;
  position: absolute;
  z-index: -1;
}

#grid-bg {
  background: url("/assets/bg/grid-bg.svg") no-repeat;
}

#grain-background {
  background: url("/assets/bg/grain-bg.svg") repeat;
}

#grain-blur {
  top: -220px;
  background: url("") 50% center no-repeat;
}

#large-blur {
  left: -30px;
  top: -864px;
  border-radius: 750px;
  opacity: 0.2;
  background: radial-gradient(
    70.71% 70.71% at 50% 50%,
    rgba(117, 173, 255, 0.2) 0px,
    rgba(117, 173, 255, 0) 70%,
    rgba(117, 173, 255, 0) 100%
  );
}

#small-blur {
  background: url("/assets/bg/small-blur.svg") 50% center no-repeat;
}

.arrow {
  width: 1rem;
  height: 1rem;
}

.check {
  color: hsl(180 1% 48%);
  width: 1.5rem;
  height: 1.5rem;
}

* {
  border-color: hsl(187 10% 17%);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid #e5e7eb;
}

nav > div:first-of-type {
  margin-left: auto;
  margin-right: auto;

  max-width: 80rem;

  position: relative;

  padding-left: 32px;
  padding-right: 32px;

  padding-top: 18px;
  padding-bottom: 18px;

  display: flex;
  justify-items: center;
  justify-content: space-between;
}

nav div:first-of-type > div {
  display: flex;
  flex: 1 1 0%;
  justify-items: center;
}

nav div:first-of-type > div:first-of-type {
  justify-content: flex-start;
}

nav div:first-of-type > div:nth-of-type(2) {
  justify-content: flex-end;
}

#logo {
  display: flex;
  align-items: center;
}

#logo img {
  color: transparent;
  width: auto;
  display: block;
  max-width: 100%;
  height: auto;
}

#signin {
  display: flex;

  margin-right: 0;
  margin-left: calc(1rem);
}

#signin a {
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
  color: rgb(255 255 255);
  font-weight: 500;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  background-color: #fcfcfc33;
  border-radius: calc(16px - 2px);
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  height: 2.75rem;
  display: inline-flex;
  position: relative;
  text-decoration: inherit;
}

#discord {
  display: flex;

  margin-right: 0;
  margin-left: calc(1rem);
}

#discord a {
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
  color: rgb(255 255 255);
  font-weight: 500;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  background-color: #fcfcfc33;
  border-radius: calc(16px - 2px);
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  height: 2.75rem;
  display: inline-flex;
  position: relative;
  text-decoration: inherit;
}

#title {
  margin-left: auto;
  margin-right: auto;
  max-width: 76rem;
  padding-left: 32px;
  padding-right: 32px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4rem;
  margin-bottom: 3rem;
}

#title div {
  text-align: left;
  width: 100%;
}

#title h1 {
  font-size: 48px;
  line-height: 48px;
  letter-spacing: -1.6px;
  font-weight: 500;
}

#title p {
  margin-top: 1.5rem;
  font-size: 18px;
  line-height: 27px;
}

#plan {
  margin-left: auto;
  margin-right: auto;

  padding-left: 32px;
  padding-right: 32px;

  justify-content: space-between;

  display: flex;
  position: relative;

  align-items: center;
  flex-direction: column;

  max-width: 76rem;
}

#plan > div {
  gap: 2rem;
  grid-template-columns: repeat(1, minmax(0px, 1fr));
  display: grid;
  margin-left: auto;
  margin-right: auto;
  isolation: isolate;
}

#plan > div > div {
  backdrop-filter: blur(6px);
  background-color: hsl(180 18% 7% / 0.7);
  border-radius: 16px;
  overflow: hidden;
}

#plan > div > div > div:first-of-type {
  position: relative;
  border-bottom-right-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
  border-radius: 16px;
  gap: 1.25rem;
  flex-direction: column;
  display: flex;
}

#plan > div > div > div:first-of-type:before {
  content: "";
  position: absolute;
  inset: 0px;
  border-radius: 16px 16px 0px 0px;
  padding: 1px 1px 0px;
  background: linear-gradient(rgb(65, 75, 78) 49.5%, rgba(65, 75, 78, 0));
  mask: linear-gradient(rgb(255, 255, 255) 0px, rgb(255, 255, 255) 0px)
      content-box exclude,
    linear-gradient(rgb(255, 255, 255) 0px, rgb(255, 255, 255) 0px);
}

#plan > div > div > div:nth-of-type(2) {
  padding-left: 2rem;
  padding-right: 2rem;
  margin-top: 2rem;
}

#plan > div > div > div:nth-of-type(2) a {
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;

  color: rgb(255 255 255);
  font-weight: 500;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  background-color: #fcfcfc33;
  border-radius: calc(16px - 2px);
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 2.75rem;
  display: inline-flex;
  position: relative;
}

#plan > div > div > ul {
  padding: 2rem;
  gap: 1rem;
  flex-direction: column;
  display: flex;
}

#plan > div > div > ul li {
  display: flex;
  -moz-column-gap: 0.75rem;
  column-gap: 0.75rem;
}

#plan > div > div > ul li span {
  font-size: 1rem;
  line-height: 1.5rem;
}

.header {
  padding-top: 2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.header > div:first-of-type {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header img {
  color: transparent;
}
.header p {
  line-height: 30px;
  font-weight: 600;
  font-size: 20px;
}

.featured {
  position: relative;
}
.featured > div:nth-of-type(2) {
  position: relative;
  -webkit-text-fill-color: transparent;
  line-height: 21px;
  font-size: 14px;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  border-color: hsl(0 0% 100% / 0.1);
  border-width: 1px;
  border-radius: calc(16px - 8px);
  align-items: center;
  height: 29px;
  display: flex;
}
.featured > div:nth-of-type(2)::before {
  content: "";
  position: absolute;
  left: 8px;
  top: -1px;
  width: 48px;
  height: 1px;
}

.price {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  padding-left: 2rem;
  padding-right: 2rem;
}
.price div:first-of-type {
  letter-spacing: -1.6px;
  line-height: 96px;
  font-weight: 500;
  font-size: 80px;
}
.price div:nth-of-type(2) {
  font-weight: 500;
  font-size: 12px;
}

.split {
  padding-left: 2rem;
  padding-right: 2rem;
}
.split div {
  background-color: hsl(187 10% 17%);
  flex-shrink: 0;
  width: 100%;
  height: 1px;
}

.desc {
  line-height: 24px;
  font-size: 16px;
  padding-left: 2rem;
  padding-right: 2rem;
}

#yellow-highlight-bg {
  content: "";
  position: absolute;
  left: 50%;
  margin-left: -124px;
  width: 248px;
  height: 1px;
}

#hard-blur-bg {
  width: 88px;
  left: 50%;
  margin-left: -44px;
  height: 4px;
  position: absolute;
  top: -2px;
  opacity: 0.5;
  filter: blur(12px);
}

#vertical-hard-blur-bg {
  position: absolute;
  top: -140px;
  left: 50%;
  margin-left: -64px;
  width: 128px;
  height: 280px;
  border-radius: 280px;
  opacity: 0.1;
  filter: blur(48px);
}

#soft-blur-bg {
  position: absolute;
  top: -19px;
  left: 50%;
  margin-left: -192px;
  width: 384px;
  height: 37px;
  border-radius: 384px;
  opacity: 0.3;
  filter: blur(32px);
}

#builtwith {
  text-align: center;
  padding-left: 2rem;
  padding-right: 2rem;
  max-width: 80rem;
  margin-top: 6rem;
  margin-bottom: 6rem;
  margin-left: auto;
  margin-right: auto;
}

#builtwith span {
  font-size: 1rem;
  line-height: 1.5rem;
}

#builtwith div {
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
  display: flex;
  margin-top: 2rem;
}

#split {
  position: relative;
  width: 100%;
  height: 1px;
}
#split:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 124px);
  width: 248px;
  height: 1px;
}

#footer {
  color: hsl(180 1% 48%);
  line-height: 14px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding-top: 24px;
  padding-bottom: 24px;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  display: flex;
}

#footer > div {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}
#footer > div:nth-of-type(2) {
  flex-wrap: wrap;
}

#footer a {
  line-height: 14px;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

#footer a span {
  gap: 0.25rem;
  display: flex;
  align-items: center;
}

@media (min-width: 1024px) {
  #plan > div {
    grid-template-columns: repeat(3, minmax(0px, 1fr));
    max-width: none;
    margin-left: 0px;
    margin-right: 0px;
  }
}

@media (min-width: 768px) {
  #title h1 {
    font-size: 80px;
    line-height: 80px;
  }

  #title p {
    font-size: 20px;
    line-height: 30px;
  }

  #builtwith div {
    justify-content: space-between;
    gap: 0.25rem;
  }

  #footer > div:nth-of-type(2) {
    flex-wrap: nowrap;
  }
}
