.header-actions {
  gap: clamp(12px, 1.5vw, 24px);
}

.header-actions .teacher-link {
  white-space: nowrap;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  width: min(100%, 610px);
}

.hero-actions .button {
  min-width: 0;
  min-height: clamp(54px, 5vw, 72px);
  padding: 12px 10px;
  gap: clamp(7px, 1.05vw, 16px);
  font-weight: 650;
  white-space: nowrap;
}

.hero-actions .button > svg {
  width: clamp(17px, 1.65vw, 24px);
  height: auto;
}

.hero-actions .tutor-entry {
  background: #f6f2fc;
  border-color: #ded4ec;
  color: #5a4185;
}

.hero-actions .tutor-entry:hover {
  background: #eee7f9;
}

.dual-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.7vw, 24px);
}

.dual-grid .portal {
  display: flex;
  flex-direction: column;
  min-height: 307px;
  height: 100%;
  padding: clamp(19px, 2.15vw, 34px);
}

.dual-grid .portal p {
  margin: 0 0 22px;
  max-width: 19em;
}

.dual-grid .portal-bottom {
  position: relative;
  margin-top: auto;
}

.dual-grid .portal-art {
  opacity: 0.23;
  top: 41%;
  right: 6%;
  width: 132px;
}

.tutor-portal {
  background: linear-gradient(115deg, #f6f1ff, #ebe9f9);
  color: #624a8a;
  border-color: #e4dbf3;
}

.tutor-art {
  display: grid;
  width: 92px;
  height: 66px;
  margin: 0 0 0 auto;
  place-items: center;
  border: 1px solid #8b70ae;
  border-radius: 23px;
  background: #fff;
  transform: rotate(-12deg);
  box-shadow: 11px 10px 0 #d2c3e6;
}

.tutor-art svg {
  width: 33px;
  height: 33px;
}

.closing-actions {
  flex-wrap: wrap;
}

@media (max-width: 850px) {
  .dual-grid {
    grid-template-columns: 1fr;
  }

  .dual-grid .portal {
    min-height: 250px;
  }

  .hero-actions {
    margin-inline: auto;
  }
}

@media (max-width: 390px) {
  .hero-actions .button {
    padding-inline: 5px;
    gap: 5px;
  }

  .hero-actions .button > svg {
    width: 15px;
  }
}
