html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  min-height: 100vh;
  margin: 0;
  background: #ff4d1f;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}

.head {
  position: sticky;
  top: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 5vw, 24px);
  background: #ff4d1f;
}
.head__logo {
  color: #17141a;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  font-family: inherit;
  letter-spacing: 0.04em;
}
.head__user {
  display: flex;
  align-items: center;
}
.head__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff7e6;
  flex: 0 0 auto;
}
.head__name {
  display: inline-block;
  max-width: 104px;
  margin-right: 8px;
  overflow: hidden;
  white-space: nowrap;
  color: #17141a;
  font-weight: 600;
  font-size: 13px;
  line-height: 32px;
  font-family: inherit;
  opacity: 1;
  transform: scaleX(1);
  transform-origin: left;
  transition: max-width 300ms ease-out, margin-right 300ms ease-out, opacity 300ms ease-out, transform 300ms ease-out;
}
.head.is-scrolled .head__name {
  max-width: 0;
  margin-right: 0;
  opacity: 0;
  transform: scaleX(0);
}

.head.is-demo .head__name {
  animation: name-collapse 2s ease-out infinite;
}

@keyframes name-collapse {
  0%, 15% {
    max-width: 104px;
    margin-right: 8px;
    opacity: 1;
    transform: scaleX(1);
  }
  45%, 70% {
    max-width: 0;
    margin-right: 0;
    opacity: 0;
    transform: scaleX(0);
  }
  95%, 100% {
    max-width: 104px;
    margin-right: 8px;
    opacity: 1;
    transform: scaleX(1);
  }
}
.page {
  padding: 24px 24px 0;
}

.page__line {
  height: 12px;
  margin: 0 0 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.28);
}
.page__line.short {
  width: 60%;
}

@media (prefers-reduced-motion: reduce) {
  .head__name {
    transition: none;
  }
  .head.is-demo .head__name {
    animation: none !important;
    max-width: 104px;
    margin-right: 8px;
    opacity: 1;
    transform: scaleX(1);
  }
}
