body {
  height: 100dvh;
  padding: 0 min(208px, max(48px, (100vw - 1024px) / 2));
}

/* 헤더 */
#header {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  height: 120px;
  padding: 2rem 0;
  z-index: 10;
}

.logo {
  width: 128px;
  height: 40px;
}

.app-download {
  display: none;
  min-width: 7rem;
  height: 4rem;
  padding: 6px 12px;
  border-radius: 3rem;
  margin-left: auto;
  color: var(--mono-100);
  background-color: var(--main-300);
  font-size: 14px;
  font-weight: 500;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 3rem;
  height: 3rem;
  margin-right: 1rem;
  color: var(--main-300);
}

.mobile-menu span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 0.9px;
  background-color: var(--mono-900);
}

.mobile-menu span:nth-of-type(1) {
  animation: menu-bar1 0.75s forwards;
}

.mobile-menu span:nth-of-type(2) {
  opacity: 1;
}

.mobile-menu span:nth-of-type(3) {
  animation: menu-bar2 0.75s forwards;
}

.mobile-menu.active span:nth-of-type(1) {
  animation: active-menu-bar1 0.75s forwards;
}

.mobile-menu.active span:nth-of-type(2) {
  opacity: 0;
}

.mobile-menu.active span:nth-of-type(3) {
  animation: active-menu-bar2 0.75s forwards;
}

.mobile-nav {
  position: absolute;
  z-index: 10;
  top: 72px;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  gap: 1rem;
  height: calc(100dvh - 72px);
  padding: 5rem 3rem;
  background-color: var(--mono-200);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav a {
  height: 7rem;
  padding: 2rem;
  font-family: var(--font-nanum);
  font-size: 20px;
  text-align: center;
}

.mobile-nav a.active {
  color: var(--main-300);
  text-decoration: underline;
  text-decoration-thickness: 2.5px;
  text-underline-offset: 6px;
  text-decoration-color: var(--main-300);
}

.desktop-nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.desktop-nav a {
  color: var(--mono-600);
  font-size: 20px;
  font-weight: 700;
}

.desktop-nav a.active {
  color: var(--mono-900);
}

/* faq */
#faq-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  height: calc(100dvh - 120px);
  padding-top: 10rem;
}

#faq-main h2 {
  flex-shrink: 0;
  font-size: 5rem;
  font-family: var(--font-nanum);
  text-align: center;
}

.tab-list {
  overflow-x: auto;
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  max-width: 100%;
  padding: 0 3rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tab-list::-webkit-scrollbar {
  display: none;
}

.tab-list .tab-button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 4rem;
  padding: 0 12px;
  border-radius: 3rem;
  color: var(--mono-600);
  background-color: var(--mono-300);
  font-size: 14px;
  font-weight: 500;
  white-space: normal;
}

.tab-list .tab-button.active {
  color: var(--mono-100);
  background-color: var(--main-300);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1;
  width: 100%;
  padding-bottom: 5rem;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.faq-list::-webkit-scrollbar {
  display: none;
}

.faq-item {
  border-radius: 12px;
  background-color: var(--mono-100);
}

.faq-item .faq-checkbox {
  position: absolute;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
}

.faq-item .faq-question {
  height: 76px;
  padding: 0 20px;
}

.faq-item .faq-label {
  position: relative;
  display: block;
  width: 100%;
  padding: 0 44px;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  white-space: normal;
  cursor: pointer;
}

.faq-item .faq-label::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  background: url("../assets/icons/question.svg") no-repeat center;
  content: "";
}

.faq-item .faq-label::after {
  position: absolute;
  right: 0;
  top: 50%;
  width: 24px;
  height: 24px;
  background: url("../assets/icons/arrow.svg") no-repeat center;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.2s ease;
  content: "";
}

.faq-content {
  display: grid;
  overflow: hidden;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease;
}

.faq-content p {
  min-height: 0;
  color: var(--mono-700);
  font-size: 14px;
  font-weight: 500;
  padding: 0 64px;
  transition: padding 0.2s ease;
}

.faq-checkbox:checked + .faq-question + .faq-content {
  grid-template-rows: 1fr;
}

.faq-checkbox:checked + .faq-question + .faq-content p {
  padding-top: 0;
  padding-bottom: 24px;
}

.faq-checkbox:checked + .faq-question .faq-label::after {
  transform: translateY(-50%) rotate(180deg);
}

.no-data {
  align-self: center;
  margin-top: 2rem;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
}
